/* 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-left: 0.125em;
    margin-right: 0.125em;
    color: inherit;
}
a > .fa-after {
    margin-left: 0.25em;
    margin-right: 0;
}

.ce-bodytext a > .fa {
    display: inline;
    margin-right: calc(var(--font-size-base) * .25);
}

a.btn > .fa {
    margin-right: 0.25em;
}
a.btn-primary > .fa {
    color: rgb(255, 255, 255);
}

[data-icon="fa-file-o"][href$="pdf"] i::before {
    content: '\f1c1';
}
[data-icon="fa-file-o"][href$="docx"] i::before,
[data-icon="fa-file-o"][href$="doc"] i::before {
    content: '\f1c2';
}
[data-icon="fa-file-o"][href$="xlsx"] i::before,
[data-icon="fa-file-o"][href$="xls"] i::before {
    content: '\f1c3';
}
[data-icon="fa-file-o"][href$="pptx"] i::before,
[data-icon="fa-file-o"][href$="ppt"] i::before {
    content: '\f1c4';
}

[data-icon="fa-file-o"][href$="psd"] i::before,
[data-icon="fa-file-o"][href$="tiff"] i::before,
[data-icon="fa-file-o"][href$="tif"] i::before,
[data-icon="fa-file-o"][href$="bmp"] i::before,
[data-icon="fa-file-o"][href$="jpg"] i::before,
[data-icon="fa-file-o"][href$="png"] i::before {
    content: '\f1c5';
}
[data-icon="fa-file-o"][href$="zip"] i::before {
    content: '\f1c6';
}
[data-icon="fa-file-o"][href$="webm"] i::before,
[data-icon="fa-file-o"][href$="mov"] i::before,
[data-icon="fa-file-o"][href$="mp4"] i::before {
    content: '\f1c8';
}

.ul-no-bullet {
    list-style: none;
    padding-left: 0;
}

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

.c-bold { font-weight: 600 !important; }
.c-bold.fa::before {
    font-weight: 600;
}

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

.c-important { color: rgb(204,0,0); }

.c-nowrap {
    white-space: nowrap;
}

/* (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: .125rem solid transparent;
    border-radius: 100vh;
    padding: 0.5rem 1rem;
    font-size: calc(var(--font-size-base) * 20 / 22);
    /*! line-height: inherit; */
    transition: all 0.125s ease-in-out;
    font-weight: 700;
    margin-top: .3125rem;
}

.btn + .btn {
    margin-left: .3125rem;
}

.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: var(--color-light);
    background-color: var(--color-yellow);
}

.btn-primary:focus, .btn-primary.focus ,
.btn-primary:hover, .btn-primary.hover {
    color: var(--color-white);
    background-color: var(--color-orange);
}

.btn-primary:active, .btn-primary.active {
    color: var(--color-white);
    background-color: var(--color-orange);
}

.btn-primary:disabled, .btn-primary.disabled {
    opacity: .1;
}

.btn-secondary {
    color: var(--color-yellow-text);
    background-color: transparent;
    border-color: var(--color-yellow);
}

.btn-secondary:focus, .btn-secondary.focus ,
.btn-secondary:hover, .btn-secondary.hover {
    background-color: transparent;
    color: rgb(51, 51, 51);
    border-color: var(--color-orange);
    color: var(--color-orange);
    color: var(--color-yellow-text-hover);
}

.btn-secondary:active, .btn-secondary.active {
    color: #292b2c;
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.btn-secondary:disabled, .btn-secondary.disabled {
    opacity: .1;
}

.btn-link {
}

.btn-link,
.btn-link:active, .btn-link.active,
.btn-link:disabled, .btn-link.disabled {
}

.btn-link, 
.btn-link:focus, .btn-link.focus,
.btn-link:hover, .btn-link.hover,
.btn-link:active, .btn-link.active {
}

.btn-link:hover, .btn-link.hover {
}

.btn-link:disabled, .btn-link.disabled {
    color: rgb(153, 153, 153);
}

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

@media all and (min-width: 82.5em) {
    
    .btn {
        /*! font-size: calc(var(--font-size-base) * 20 / 22); */
    }
    
}
