/* BE and FE - do not wrap styles in @media {} for BE use! */

.align-center { text-align: center; }
.align-left { text-align: left; }
.align-justify { text-align: justify; }
.align-right { text-align: right; }

/*

.fa-rotate-45::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  display: inline-block;
}

.fa-rotate-315::before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  display: inline-block;
}

.fa:not(i) {
    display:inline;
    font-style:inherit;
    font-weight:inherit;
    font-family:inherit;
}

a > .fa {
    margin-right: 0.25em;
}

.fa:not(i)::before,
.link-download::before,
.link-mail::before {
    display: inline-block;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    padding-right: 0.25em;
    text-decoration: none;
} 

.link-mail::before {
    content: '\f003';
}

.link-download::before {
    content: '\f019';
}
.link-download[href$="pdf"]::before {
    content: '\f1c1';
}
.link-download[href$="docx"]::before,
.link-download[href$="doc"]::before {
    content: '\f1c2';
}
.link-download[href$="xlsx"]::before,
.link-download[href$="xls"]::before {
    content: '\f1c3';
}
.link-download[href$="pptx"]::before,
.link-download[href$="ppt"]::before {
    content: '\f1c4';
}

.link-download[href$="psd"]::before,
.link-download[href$="tiff"]::before,
.link-download[href$="tif"]::before,
.link-download[href$="bmp"]::before,
.link-download[href$="jpg"]::before,
.link-download[href$="png"]::before {
    content: '\f1c5';
}
.link-download[href$="zip"]::before {
    content: '\f1c6';
}
.link-download[href$="webm"]::before,
.link-download[href$="mov"]::before,
.link-download[href$="mp4"]::before {
    content: '\f1c8';
}
.link-external::after,
.link-external-blank::after {
    display: inline-block;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    padding-left: 0.25em;
    text-decoration: none;
}

.link-external::after,
.link-external-blank::after {
    content: '\f08e';
}

*/

.p-big { font-size: 125%; }
.p-tiny { font-size: 87.5%; }

.c-tiny { font-size: 87.5%; }

/* (partial) bootstrap btn rules */

a.btn {
    text-decoration: none !important;
    text-shadow: none !important;
}

.btn {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: 0.25rem;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.btn:focus, .btn:hover {
    text-decoration: none;
}

.btn:focus, .btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
    box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
}

 .btn:disabled, .btn.disabled {
    cursor: not-allowed;
    opacity: .65;
}

.btn:active, .btn.active {
    background-image: none;
}

a.btn.disabled,
fieldset[disabled] a.btn {
    pointer-events: none;
}

.btn-primary {
    color: rgb(255,255,255);
    background-color: rgb(0,88,167);
    border-color: rgb(0,88,167);
}

.btn-primary:hover, .btn-primary.hover {
    color: rgb(255,255,255);
    background-color: #025aa5;
    border-color: #01549b;
}

.btn-primary:active, .btn-primary.active {
    color: rgb(255,255,255);
    background-color: #025aa5;
    background-image: none;
    border-color: #01549b;
}

.btn-primary:disabled, .btn-primary.disabled {
    background-color: #0275d8;
    border-color: #0275d8;
}

.btn-secondary {
    color: rgb(0,88,167);
    background-color: rgb(255,255,255);
    border-color: rgb(0,88,167);
}

.btn-secondary:hover, .btn-secondary.hover {
    color: rgb(0,88,167);
    background-color: #e6e6e6;
    border-color: rgb(0,88,167);
}

.btn-secondary:active, .btn-secondary.active {
    color: rgb(0,88,167);
    background-color: #e6e6e6;
    background-image: none;
    border-color: rgb(0,88,167);
}

.btn-secondary:disabled, .btn-secondary.disabled {
    background-color: rgb(255,255,255);
    border-color: #ccc;
}

.btn-link {
    font-weight: normal;
    color: rgb(0,88,167);
    border-radius: 0;
}

.btn-link,
.btn-link:active, .btn-link.active,
.btn-link:disabled, .btn-link.disabled {
    background-color: transparent;
}

.btn-link, 
.btn-link:hover, .btn-link.hover,
.btn-link:active, .btn-link.active {
    border-color: transparent;
}

.btn-link:hover, .btn-link.hover {
    color: rgb(0,88,167);
    text-decoration: underline !important;
    background-color: transparent;
}

.btn-link:disabled, .btn-link.disabled {
    color: rgb(0,88,167);
}

.btn-link:disabled:focus, .btn-link:disabled:hover {
    text-decoration: none;
}
