:where([class^="ri-"])::before { content: "\f3c2"; }
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}
.hero-section {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0) 100%), url('https://readdy.ai/api/search-image?query=Modern%20university%20campus%20with%20historic%20architecture%2C%20blue%20sky%2C%20golden%20sunlight%20illuminating%20classical%20buildings%2C%20students%20walking%20across%20a%20green%20quad%2C%20academic%20atmosphere%2C%20professional%20photography%2C%20high%20resolution%2C%20natural%20lighting%2C%20depth%20of%20field&width=1920&height=800&seq=1&orientation=landscape');
    background-size: cover;
    background-position: center;
}
.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 51, 153, 0.1), 0 10px 10px -5px rgba(0, 51, 153, 0.04);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 51, 153, 0.1), 0 10px 10px -5px rgba(0, 51, 153, 0.04);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 51, 153, 0.1), 0 10px 10px -5px rgba(0, 51, 153, 0.04);
}
.timeline-item.active {
    border-color: #FFD700;
    background-color: rgba(255, 215, 0, 0.1);
}
.timeline-item:hover {
    border-color: #FFD700;
    background-color: rgba(255, 215, 0, 0.1);
}
.stat-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003399;
}
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #003399;
    border-radius: 4px;
    position: relative;
}
input[type="checkbox"]:checked {
    background-color: #003399;
}
input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.language-switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}
.language-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.language-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #003399;
    transition: .4s;
    border-radius: 34px;
}
.language-slider:before {
    position: absolute;
    content: "UA";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 40px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50px;
    color: #003399;
    font-weight: 600;
    font-size: 12px;
}
.language-slider:after {
    position: absolute;
    content: 'EN';
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 40px;
    right: 4px;
    bottom: 4px;
    transition: .4s;
}
/*input:checked + .language-slider {*/
/*    background-color: #003399;*/
/*}*/
input:checked + .language-slider:before {
    transform: translateX(42px);
    content: "EN";
}
input:checked + .language-slider:after {
    transform: translateX(-42px);
    content: "UA";
}
.search-container input {
    border: 1px solid #C4C1C1;
    outline: none;
    padding-left: 40px;
    width: 90%;
    height: 56px;
}
.search-container .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
#quickLinks {
    max-height: 24px;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
}

#quickLinks.expanded {
    max-height: 500px;
}

#toggleLinksBtn {
    visibility: hidden;
}

#toggleLinksBtn span:before {
    content: attr(data-more);
    display: block;
}

#toggleLinksBtn.expanded span:before {
    content: attr(data-less);
    display: block;
}

#toggleLinksBtn.expanded .ri-arrow-down-s-line{
    transform: rotate(180deg);
}

lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
}

/* gradient */
lite-youtube::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    top: 0;
    /* Pixel-perfect port of YT's gradient PNG, using https://github.com/bluesmoon/pngtocss plus optimizations */
    background-image: linear-gradient(180deg, rgb(0 0 0 / 67%) 0%, rgb(0 0 0 / 54%) 14%, rgb(0 0 0 / 15%) 54%, rgb(0 0 0 / 5%) 72%, rgb(0 0 0 / 0%) 94%);
    height: 99px;
    width: 100%;
    font-family: "YouTube Noto",Roboto,Arial,Helvetica,sans-serif;
    color: hsl(0deg 0% 93.33%);
    text-shadow: 0 0 2px rgba(0,0,0,.5);
    font-size: 18px;
    padding: 25px 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

lite-youtube:hover::before {
    color: white;
}

/* responsive iframe with a 16:9 aspect ratio
    thanks https://css-tricks.com/responsive-iframes/
*/
lite-youtube::after {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9));
}
lite-youtube > iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

/* play button */
lite-youtube > .lyt-playbtn {
    display: block;
    /* Make the button element cover the whole area for a large hover/click target… */
    width: 100%;
    height: 100%;
    /* …but visually it's still the same size */
    background: no-repeat center/68px 48px;
    /* YT's actual play button svg */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
    position: absolute;
    cursor: pointer;
    z-index: 1;
    filter: grayscale(100%);
    transition: filter .1s cubic-bezier(0, 0, 0.2, 1);
    border: 0;
}

lite-youtube:hover > .lyt-playbtn,
lite-youtube .lyt-playbtn:focus {
    filter: none;
}

/* Post-click styles */
lite-youtube.lyt-activated {
    cursor: unset;
}
lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lyt-playbtn {
    opacity: 0;
    pointer-events: none;
}

.lyt-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media screen and (max-width: 1450px) {
    #toggleLinksBtn {
        visibility: visible;
    }
}

@media screen and (max-width: 985px) {
    .calendar_wrapper {
        margin: 0;
    }
    .calendar_inner {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    .calendar_wrapper, .cover_calendar.cover_2, #calendar, .ui-datepicker.ui-datepicker-multi {
        width: 100% !important;
    }
    .ui-datepicker.ui-datepicker-multi {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .ui-datepicker-multi .ui-datepicker-group {
        margin: 0;
    }
    .ui-datepicker-multi .ui-datepicker-group:first-child, .ui-datepicker-multi .ui-datepicker-group:nth-child(4) {
        margin-left: 0;
    }
    .calendar_year {
        margin-inline: auto;
        text-align: center;
        margin-top: 0;
    }
    .next_year_count, .prev_year_count{
        text-align: center;
    }
    .prev_year {transform: rotate(90deg)}
    .next_year{transform: rotate(90deg)}
}

@media screen and (max-width: 768px) {
    .training-program-container {
        display: flex;
        flex-direction: column;
    }
    #education-form--container-1{
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    .speciality > .left-cell.table-cell {
        max-width: 100%;
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
    .speciality.mobile > .main-content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 720px) {
    .c_settings_inner {
        height: auto;
    }
    .c_settings_first, .c_settings_second, .c_settings_third, .c_settings_inner {
        width: 100%;
    }
    .c_settings_first {
        border-bottom: 1px solid rgb(219, 234, 236);
    }
    .c_settings_first, .c_settings_third {
        display: flex;
        flex-wrap: wrap;
    }
    .c_settings_first_one, .c_settings_third_one {
        border-bottom: none;
        border-right: 1px solid rgb(219, 234, 236);
    }
    .c_settings_first > *, .c_settings_third > * {
        flex: 1 48%;
    }
    .c_settings_type_1, .c_settings_type_2 {
        text-align: center;
    }
    .c_settings_third {
        border-top: 1px solid rgb(219, 234, 236);
    }
    .c_setting_container {
       display: flex;
       flex-direction: column;
   }
}

@media screen and (max-width: 425px) {
    width: 75px;
}