/* 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:not(i) {
    display:inline;
    font-style:inherit;
    font-weight:inherit;
    font-family:inherit;
}

.item.fa {
    font-family: inherit;
    text-rendering: auto;
    -moz-osx-font-smoothing: unset;
}

a > .fa {
    padding-left: 0.25em;
}

.ce-layout-box a:not(.btn) {
    color: rgb(166,28,38);
    text-shadow: none;
}

.ce-header.news-header a:not(.btn) ,
.ce-layout-box .ce-header > * > a:not(.btn) {
    color: inherit;
}

.ce-header.news-header a:not(.btn):focus ,
.ce-header.news-header a:not(.btn):hover ,
.ce-layout-box .ce-header > * > a:not(.btn):focus ,
.ce-layout-box .ce-header > * > a:not(.btn):hover {
    color: rgb(255,255,255);
}

.fa:not(i)::before,
.link-download::before,
.link-mail::before {
    display: inline-block;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    padding-left: 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';
}


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

.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(166,28,38); }


/* (partial) bootstrap btn rules */

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

.btn {
    display: inline-block;
    font-weight: 600;
    font-size: 1em;
    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: .75rem 1.5rem;
    line-height: 1.25;
    box-shadow: 0 .25em .5em rgba(0, 0, 0, .1);
    transition: all 0.25s ease;
    margin-top: .75rem;
    border-radius: var(--radius-medium);
}

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

.btn:focus, .btn.focus {
    outline: 0;
    /*! box-shadow: 0 0 .125em .125em rgba(166,28,38, 0.75); */
}

.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-darkpurple);
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
    box-shadow: var(--shadow-24);
}

.page-stage .btn-primary {
    color: var(--color-darkpurple);
    background-color: var(--color-offwhite);
    border-color: var(--color-offwhite);
    box-shadow: var(--shadow-24);
}

.page-stage .btn-primary:focus, 
.page-stage .btn-primary.focus,
.page-stage .btn-primary:hover, 
.page-stage .btn-primary.hover {
    color: var(--color-offwhite);
    background-color: var(--color-darkpurple);
    border-color: var(--color-darkpurple);
}

.btn-primary:focus, 
.btn-primary.focus,
.btn-primary:hover, 
.btn-primary.hover {
    color: var(--color-offwhite);
    background-color: var(--color-darkpurple);
    border-color: var(--color-darkpurple);
}

.btn-primary:active, .btn-primary.active {
    box-shadow: none;
}

.btn-primary:disabled, .btn-primary.disabled {
    background-color: rgb(240,240,240);
    border-color: rgb(240,240,240);
    box-shadow: none;
    color: rgb(190,190,190);
}

.btn-secondary {
    /*! color: rgb(255,255,255); */
    background-color: rgb(255,255,255);
    border-color: rgb(255,255,255);
}

.btn-secondary:hover, .btn-secondary.hover {
    color: rgb(255,255,255);
    background-color: rgb(51, 51, 51);
    border-color: rgb(51, 51, 51);
    background-color: rgb(31,163,196);
    border-color: rgb(31,163,196);
}

.btn-secondary:active, .btn-secondary.active {
    box-shadow: none;
}

.btn-secondary:disabled, .btn-secondary.disabled {
    background-color: rgb(240,240,240);
    border-color: rgb(240,240,240);
    box-shadow: none;
    color: rgb(190,190,190);
}

.btn-link {
    color: rgb(166,28,38);
    box-shadow: none;
}

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

.btn-link:hover, .btn-link.hover,
.btn-link:active, .btn-link.active {
    border-color: rgb(166,28,38);
    color: rgb(255, 255, 255);
    background-color: rgb(166,28,38);
}

.btn-link:active, .btn-link.active {
    box-shadow: none;
}

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

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