@font-face {
  font-family: 'UAFSans Bold';
  src: url('../fonts/UAFSans-Bold.ttf');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'UAFSans SemiBold';
  src: url('../fonts/UAFSans-SemiBold.ttf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'UAFSans Medium';
  src: url('../fonts/UAFSans-Medium.ttf');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'UAFSans Regular';
  src: url('../fonts/UAFSans-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'UAF Sans OnBoard';
  src: url('../fonts/UAFSans-OnBoard.ttf');
  font-style: normal;
}

@font-face {
  font-family: 'UAF Sans OnBoardStencil';
  src: url('../fonts/UAFSans-OnBoardStencil.ttf');
  font-style: normal;
}


@font-face {
  font-family: 'Volja Regular';
  src: url('../fonts/Volja-Regular.otf');
  font-style: normal;
}



:root {
    --logo-font: Volja Regular, helveticaneue, Helvetica, Roboto, Arial, Utkal, sans-serif;
    --main-font: UAFSans Regular, helveticaneue, Helvetica, Roboto, Arial, Utkal, sans-serif;
    --secondary-font: Volja Regular, helveticaneue, Helvetica, Roboto, Arial, Utkal, sans-serif;
    --secondary-gold-color: #FFBA00;
    --secondary-color: rgb(1, 120, 184);
    --primary-color: #003D5E;
    --accent-color: #62BAEC;
    --basic-white: #fff;
    --zsu-primary-color: #6a653a;
}

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--basic-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    margin: 0 0 1rem;
}

body {
    font-family: var(--main-font);
    font-size: 14px;
    letter-spacing: 0.03em;
    color: var(--primary-text-color);
    scroll-behavior: smooth;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#footer-container {
    margin-top: 100px;
    width: 100%;
}

#carouselIndicators {
    width: 100%;
    max-height: calc(100vh - 250px);
}

.carousel-inner {
    width: 100%;
    max-height: calc(100vh - 250px);
}

.carousel-academy-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.academy-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.academy-logo img {
    width: 12vw;
}

.academy-title {
    max-width: 80vw;
    padding: 26px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    margin: 4vw 0px 2vw;
    font-size: 36px;
    font-family: 'Volja Black';
    color: var(--primary-color);
    text-align: center;
}

.action-button {
    background-color: #F39200;
    border: none;
    color: var(--basic-white);
    font-family: 'Volja Black';
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.action-button:hover {
    text-decoration: none;
    color: var(--basic-white);
    background-color: var(--secondary-gold-color);
}

.action-button.carousel-action {
    border-radius: 40px;
    height: 80px;
    width: 360px;
    font-size: 20px;
}

.action-button.full-info {
    width: 240px;
    height: 48px;
    border-radius: 40px;
    margin-top: 20px;
}

.news-container {
    margin: 72px auto;
}

.fs-medium {
    font-size: 1.3rem;
}

.fs-normal {
    font-size: 1rem;
}


.content-row {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    gap: 40px;

    .figure {
        text-align: center;

        &.ndi-figure {
            width: 48%;
            min-height: 600px;
        }
    }

    .paragraph.flex-box,
    p.flex-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card {
        background: var(--secondary-color);
        color: var(--basic-white);
        padding: 12px;
        text-align: center;
        border-radius: 20px;
        margin: 4px;
        max-width: 224px;
        min-height: 132px;
        justify-content: center;

        &:hover {
            text-decoration: none;
            color: var(--basic-white);
            background-color: rgba(1, 120, 184, 0.8);
        }
    }

    &.wrap {
        flex-wrap: wrap;
        gap: 20px;
    }

    &.navigation-cards.wrap {
        gap: 4px;
    }
}

.title-fw {
    width: 100%;
}



.zsu-color {
    background-color: var(--zsu-primary-color);
}

.mt-82 {
    margin-top: 82px;
}

.mt-72 {
    margin-top: 72px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-unset {
    margin-bottom: unset;
}

.mb-8 {
    margin-bottom: 8px;
}

.content-section {
    width: 100%;
    font-size: 16px;
}

.mr-36 {
    margin-right: 36px;
}

.mr-10 {
    margin-right: 10px;
}

.ml-20 {
    margin-left: 20px;
}


img.paragraph {
    max-width: 100%;
}

.navbar-toggler {
    margin-left: 24px;
}

.subdep-container {
    border-top: 2px solid var(--secondary-gold-color);
    border-radius: 20px;
    padding: 16px;
}

hr.vertical {
    height: 16px;
    width: 0;
    border: 1px solid var(--secondary-gold-color);
    margin: unset;
}

.w-medium-image {
    zoom: calc(100% / 1.2);
}


.fs-xsm {
    font-size: 12px;
}

.ff-vb {
    font-family: 'Volja Black';
}

.w-30p {
    width: 30%;
}

.w-50p {
    width: calc(50% - 48px);
}

.mw-70vw {
    max-width: 70vw;
}

.hero-card {
    max-width: 60vw;
}


.mw-10vw {
    max-width: 10vw;
}

.documents {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.documents .document {
    background-color: var(--secondary-color);
    color: var(--basic-white);
    text-align: center;
    border-radius: 8px;
    margin: 8px;
    padding: 8px;
    min-height: 200px;
    max-width: 240px;
}

.documents .document:hover {
    text-decoration: none;
    color: var(--basic-white);
    background-color: rgba(1, 120, 184, 0.8);
}

.documents .document.education-activity {
    background-color: var(--secondary-gold-color);
    color: var(--primary-color);
    font-weight: bold;
}

.documents .document.education-activity:hover {
    color: var(--primary-color);
    text-decoration: none;
    background-color: rgba(255, 186, 0, 0.8);
}

.documents .document.education-activity img {
    width: 60px;
    height: 64px;
}


.contact-icon {
    color: var(--secondary-gold-color);
    font-size: 2rem;
    min-width: 2rem;
    text-align: center;
}

.postbox-icon {
    width: 4rem;        
}

.zoom-icon {
    background-color: rgb(11, 92, 255);
    color: white;
    padding: 8px;
    border-radius: 10px;
    margin-right: 8px;
}

.web-link {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.documents .document img {
    margin: 20px 0px;
}

.documents .document.h-160 {
    height: 160px;
    min-height: unset;
}

.documents .document.w-200 {
    width: 200px;
    max-width: unset;
    min-width: unset;
}

.documents .document-line {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 2px 0;
    align-items: center;
    padding: 8px;
}

.documents .document-line:hover,
.documents .document-line:active,
.documents .document-line:focus {
    text-decoration: none;
    color: var(--basic-white);
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.documents .document-line img {
    margin-right: 16px;
    max-height: 48px;
}

.page-container {
    display: flex;
    flex-direction: column;
    gap: 82px;
}


.navigation-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin: 32px auto;
    width: fit-content;

    .navigation-item {
        &.card {
            background-color: var(--secondary-color);
            color: var(--basic-white);
            text-align: center;
            border-radius: 8px;
            margin: 4px;
            padding: 8px;
            height: 162px;
            width: 172px;
            font-size: 16px;
            font-family: 'UAFSans Medium';

            &:hover {
                text-decoration: none;
                color: var(--basic-white);
                background-color: rgba(1, 120, 184, 0.8);
            }
        }

        img {
            margin: 20px 0px;
            max-height: 48px;
            filter: invert(74%) sepia(20%) saturate(3540%) hue-rotate(358deg) brightness(130%) contrast(106%);
        }
    }
}

.btn-check {
    visibility: hidden;
}

.filter-btn {
    border-radius: 20px;
    height: 30px;
    align-content: center;
    border-bottom: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    min-width: 100px;
    text-align: center;
}

.filter-btn:not(:first-child) {
    margin-left: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--basic-white);
    background-color: var(--secondary-gold-color);
    border: 1px solid var(--secondary-gold-color);
}

.filter-btn.active:hover {
    border-bottom: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: unset;
}


.site-link {
    background-color: var(--secondary-gold-color);
    border-radius: 20px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 16px;
    display: flex;
    flex-direction: row;
}

.site-link a {
    color: var(--basic-white);
    font-family: var(--secondary-font);
    font-size: 14px;
    text-decoration: none;
}

.site-link img {
    filter: invert(100%) sepia(92%) saturate(0%) hue-rotate(211deg) brightness(130%) contrast(101%);   
}

.site-link img,
.site-link i {
    margin-right: 16px;
}


.site-link:hover {
    text-decoration: none;
    background-color: rgba(255, 186, 0, 0.8);
}

.form-floating .form-select {
    height: unset;
}

.form-floating>label {
    z-index: unset;
}

.breadcrumb-container {
    background-color: var(--secondary-color);
    padding-top: 1.5vh;
    padding-left: 8vw;
}

.breadcrumb-container.toggleClass,
#carouselIndicators.toggleClass {
    margin-top: 256px;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--secondary-gold-color);
}

.third-party {
    width: 100%;
    height: 70vh;
}

.phones-list .row,
.ndi-table .row
{
    border-bottom: 1px solid var(--primary-color);
    padding: 8px;
}

.phones-list .row>*,
.ndi-table .row>* {
    margin-top: 8px;
}

.modal-dialog {
    max-width: 60vw;

    & .modal-header {
        border: none;
        padding: unset;

        button {
            position: absolute;
            height: 32px;
            width: 32px;
            border-radius: 4px;
            background: rgba(255, 186, 0, 0.8);
            right: 24px;
            top: 24px;
            z-index: 10;
            color: var(--basic-white);
            font-size: xx-large;
            border: none;
            line-height: 34px;
            box-sizing: border-box;
        }
    }

    & img {
        width: 100%;
    }
}

.container {
    &.table {
        border: 1px solid black;

        & .row {
            &:not(:last-child) {
                border-bottom: 1px solid black;
            }

            & > div:not(:last-child) {
                border-right:  1px solid black;;
            }
        }
    }
}

#online-tv-container {
    height: 90vh;
}

.online-tv-button {
    min-width: 130px;
    height: 28px;
    border-radius: 40px;
    background-color: #F39200;
    border: none;
    color: var(--basic-white);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

@media screen and (min-width:1200px) and (max-width: 1460px) {
    .academy-title {
        font-size: 28px;
    }

    .fs-medium {
        font-size: 1rem;
    }

    .action-button.carousel-action {
        height: 72px;
    }

    .third-party {
        width: 100%;
        height: 60vh;
    }

    .mobile .justify-content-center {
        justify-content: start;
    }

    .mobile .w-50p {
        width: 100%;
    }

    .mobile .mw-10vw {
        max-width: unset;
    }


}

@media screen and (max-width: 1200px) {
    .academy-title {
        font-size: 24px;
    }

    .carousel-action {
        font-size: 14px;
        width: 240px;
        height: 60px;
    }

    .fs-medium {
        font-size: 0.85rem;
    }

    .content-section {
        font-size: 0.85rem;
    }

    .content-row {
        display: flex;
        margin-bottom: 16px;
        align-items: center;
        flex-direction: column;
        gap: unset;

        .figure-img {
            max-width: 100%;
        }

        &.wrap {
            flex-direction: row;
            gap: 20px;
        }
    }

    .w-medium-image {
        zoom: calc(100% / 1.4);
    }

    .third-party {
        width: 100%;
        min-height: 60vh;
    }

    .mobile .w-50p {
        width: 100%;
    }

    .mobile .mw-10vw {
        max-width: unset;
    }
}

@media screen and (max-width: 991px) {

    #carouselIndicators,
    .navigation-container {
        display: none;
    }

    .academy-title {
        font-size: 20px;
    }

    .carousel-action {
        font-size: 14px;
        width: 240px;
        height: 60px;
    }

    .fs-medium {
        font-size: 0.85rem;
    }

    ul,
    ol {
        margin: 1rem 0 0;
    }


    .w-medium-image {
        zoom: calc(100% / 1.5);
    }

    .paragraph,
    p {
        padding: 0 16px;
        padding-top: 16px;
        margin: unset;
    }

    .content-row {
        &.wrap {
            gap: 8px;
        }
    }

    .navigation-cards {
        .card {
            padding: 16px;
            width: 60vw;
            min-height: fit-content;
            margin: 4px;
        }
    }

    .mobile .content-row {
        align-items: start;
    }


    .paragraph.flex-box,
    p.flex-box {
        margin-top: 16px;
    }

    .w-30p {
        width: 100%;
    }

    .third-party {
        width: 100%;
        height: 60vh;
    }

    .mobile .w-50p {
        width: 100%;
    }

    .mobile .mw-10vw {
        max-width: unset;
    }

    .ss-hide {
        display: none;
    }

    #photogalleryCarousel {
        padding: 24px 8px;
    }

    .modal {
        top: 20%;
        left: 50%;
        transform: translate(-50%, -20%);
        padding-left: 0px;

        .modal-dialog {
            max-width: 100vw;
        }
    }

    .hero-card {
        max-width:90vw;
    }

    .news-container.toggleClass {
        margin-top: 170px;
    }
}

@media screen and (max-width: 728px) {
    .navigation-cards {
        .card {
            padding: 16px;
            max-width: 100vw;
            width: 100%;
            min-height: fit-content;
            margin: 4px;
        }
    }

    #photogalleryCarousel {
        padding: 24px 8px;
    }
}