/*
 * Font Awesome compatibility layer.
 * The project ships Font Awesome 4 locally, while many templates use FA5
 * classes such as .fas/.far/.fab. This keeps icons visible if the CDN fails.
 */
.fa,
.fas,
.far {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fab {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-lg { font-size: 1.33333333em; line-height: .75em; vertical-align: -15%; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
.fa-4x { font-size: 4em; }
.fa-5x { font-size: 5em; }

.fa-spin {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

/* FA5 names mapped to the closest FA4 glyphs available locally. */
.fa-calendar-alt:before,
.fa-calendar-check:before { content: "\f073"; }
.fa-clock:before,
.fa-clock-o:before { content: "\f017"; }
.fa-newspaper:before,
.fa-newspaper-o:before { content: "\f1ea"; }
.fa-chart-bar:before { content: "\f080"; }
.fa-chart-line:before { content: "\f201"; }
.fa-chart-pie:before { content: "\f200"; }
.fa-clipboard-list:before { content: "\f0ea"; }
.fa-cloud-upload-alt:before { content: "\f0ee"; }
.fa-comment-dots:before,
.fa-comment-slash:before { content: "\f075"; }
.fa-dollar-sign:before { content: "\f155"; }
.fa-external-link-alt:before { content: "\f08e"; }
.fa-file-alt:before,
.fa-file-excel:before { content: "\f15c"; }
.fa-file-export:before { content: "\f019"; }
.fa-file-import:before { content: "\f093"; }
.fa-file-invoice:before,
.fa-file-signature:before { content: "\f0f6"; }
.fa-headset:before { content: "\f025"; }
.fa-layer-group:before { content: "\f1b3"; }
.fa-linkedin-in:before { content: "\f0e1"; }
.fa-facebook:before,
.fa-facebook-f:before,
.fab.fa-facebook:before,
.fab.fa-facebook-f:before { content: "\f09a"; font-family: FontAwesome !important; }
.fa-youtube:before,
.fa-youtube-play:before { content: "\f167"; }
.fa-phone-alt:before,
.fa-phone:before { content: "\f095"; }
.fa-share-alt:before,
.fa-share:before { content: "\f1e0"; }
.fa-link:before { content: "\f0c1"; }
.fa-chevron-down:before { content: "\f078"; }
.fa-map-marked-alt:before,
.fa-map-marker-alt:before { content: "\f041"; }
.fa-palette:before { content: "\f1fc"; }
.fa-pen:before,
.fa-pen-nib:before { content: "\f040"; }
.fa-percentage:before { content: "\f295"; }
.fa-receipt:before { content: "\f0f6"; }
.fa-route:before { content: "\f018"; }
.fa-shapes:before { content: "\f1b2"; }
.fa-shield-alt:before,
.fa-user-shield:before { content: "\f132"; }
.fa-shipping-fast:before { content: "\f0d1"; }
.fa-sign-in-alt:before { content: "\f090"; }
.fa-sign-out-alt:before { content: "\f08b"; }
.fa-sync-alt:before { content: "\f021"; }
.fa-tachometer-alt:before { content: "\f0e4"; }
.fa-ticket-alt:before { content: "\f145"; }
.fa-trash-alt:before { content: "\f1f8"; }
.fa-trash-restore:before { content: "\f0e2"; }
.fa-user-check:before,
.fa-user-edit:before,
.fa-user-lock:before { content: "\f007"; }
.fa-warehouse:before { content: "\f1b2"; }
.fa-wallet:before { content: "\f0d6"; }
.fa-box:before,
.fa-box-open:before,
.fa-boxes:before { content: "\f1b2"; }
.fa-check-double:before { content: "\f00c"; }

/* TikTok SVG icon fallback for templates still using .fa-tiktok */
.fa-tiktok,
.fab.fa-tiktok {
    display: inline-block !important;
    font: inherit !important;
    font-style: normal !important;
    font-weight: 400 !important;
    width: 1em;
    height: 1em;
    line-height: 1;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25v178.72A162.55,162.55,0,1,1,185,188.31v89.89a74.62,74.62,0,1,0,52.23,71.18V0h88a121.18,121.18,0,0,0,1.86,22.17A122.18,122.18,0,0,0,448,209.91z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='black' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25v178.72A162.55,162.55,0,1,1,185,188.31v89.89a74.62,74.62,0,1,0,52.23,71.18V0h88a121.18,121.18,0,0,0,1.86,22.17A122.18,122.18,0,0,0,448,209.91z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fa-tiktok:before,
.fab.fa-tiktok:before {
    content: none !important;
    display: none !important;
}
