:root {
    --mainColor: #306FB6;
    --secondColor: #E96F19;
    --bgColor: #F3F1EC;
    --txtColor: #333333;
    --whiteColor: #fff;
    --darkColor: #000;
    --blueColor: #003896;
    --borderColor: #03A9F3;
    --pinkColor: #F2184F;
}

::selection {
    /* background-color: #ffcc00; */
    background-color: var(--secondColor); /* Background color of the selected text */
    color: #fff; /* Text color of the selected text */
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

body {
    font-size: 17px;
    line-height: 24px;
    background: #f3f4f6;
    overflow-x: hidden;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    /* font-family: "Montserrat", sans-serif; */
    /* font-family: "Montserrat"; */
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--mainColor);
}

.container {
    padding: 0 15px;
    width: 100%;
    max-width: 1630px;
    margin: auto;
}

.section {
    margin-top: 48px;
}

/* header */
.top-header {
    background-color: var(--secondColor)
}

.top-header-container {
    display: flex;
    justify-content: space-between;
}

.top-menu-list {
    display: flex;
}

.top-menu-item {
    padding: 15px 0;
    position: relative;
}

.top-menu-item + .top-menu-item {
    margin-left: 15px;
}

.top-menu-link {
    font-size: 20px;
    line-height: 30px;
    display: inline-block;
    color: var(--whiteColor);
}

.top-menu-item .top-menu-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    background-color: var(--bgColor);
    transition: all .4s ease-in-out;
    will-change: width, transform;
}

.top-menu-item:hover .top-menu-link::before {
    width: 96%;
    transition: all .4s ease-in-out;
}

.top-right-block {
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.top-contacts {
    font-size: 20px;
    line-height: 30px;
    color: var(--whiteColor);
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 35px;
}

.top-contacts a {
    color: var(--bgColor);
}

.top-search {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.abs_button {
    /* margin-left: 15px; */
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    color: #fefefe;
    position: relative;
    min-width: 48px;
}

.abs_search_button {
    position: absolute;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    /* width: 48px; */
}

.top_expanding {
    display: none;
    width: 0px;
    height: 40px;
    padding: 10px 0;
    margin-top: -15px;
    position: absolute;
    right: 0;
}

.search-btn {
    background: var(--mainColor);
    cursor: pointer;
    color: var(--whiteColor);
    border: 0px;
    text-shadow: 0 -1px 0 rgba(84, 110, 122, 0.2);
    padding: 6px 12px;
    border: 1px solid #90A4AE;
    text-shadow: 0 -1px 0 rgba(236, 239, 241, 0.2);
    display: inline-block;
    border-radius: 2px;
    font-size: 13px;
    font-weight: normal;
    border-radius: 4px;
    /* margin-bottom: 10px; */
}

.expandings input[type="text"] {
    background: #fff;
    padding: 6px;
    border: 1px solid #ccc;
    /* margin-bottom: 10px; */
    width: 200px;
    padding-right: 22px;
    border-radius: 4px;
}

.language-list {
    display: flex;
    margin-left: 6px;
    margin-right: 30px;
}

.language-item {
    margin: 0 6px;
}

.language-link  {
    color: var(--bgColor);
    font-weight: bold;
    transition: all .5s ease;
}

.language-link:hover,
.language-link.active  {
    color: var(--mainColor);
    background-color: unset;
}

/* middle header */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #fff; /* Adjust to match your design */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add some shadow */
    transform: translateY(0);
    opacity: 1;
}

.header-block {
    padding: 24px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    margin-right: 12px;
    width: 120px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
}

.main-title {
    font-size: 32px;
    line-height: 44px;
    color: var(--mainColor);
}

.social-network {

}

.social-list {
    display: flex;
}

.social-item {
    margin: 0 4px;
}

.social-link {
    color: var(--mainColor);
    font-size: 24px;
    transition: all .3s ease-in-out;
}

.social-link:hover {
    color: var(--secondColor);
}

/* menu */

.navigation-block {
    /* transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; */
    /* transform: translateY(0); */
    /* opacity: 1; */
    background-color: var(--mainColor);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    /* position: relative; */
    z-index: 10001;
}

.nav-outer {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-list {
    display: flex;
}

.menu-item + .menu-item {
    /* margin-left: 24px; */
}

.menu-item {
    position: relative;
    transition: all .9s ease-in-out;
}

.menu-link {
    font-size: 20px;
    line-height: 30px;
    color: var(--whiteColor);
    display: inline-block;
    padding: 0 12px;
    transition: all .4s ease-in-out;
}

.menu-link.active_menu {
    color: var(--secondColor);
}

/* .menu-link:hover {
    border-radius: 9999px;
	background-color: rgba(230,69,30, .6);
} */

.menu-item .menu-link:after {
    content: '';
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background-color: var(--secondColor);
    transition: all .4s ease-in-out;
    will-change: width, transform;
}

.menu-item:hover .menu-link:after {
    width: 94%;
}

.sub_menu-list .sub_menu-item:hover {
    opacity: 0.8;
}

.sub_menu-list .menu-link:after {
    display: none;
}

.sub_menu-list .menu-link {
    font-size: 0;
    line-height: 0;
    padding: 0;
}

.sub_menu-list {
    opacity: 0;
    height: 0;
    overflow: hidden;
    position: absolute;
    z-index: 3;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    background-color: var(--mainColor);
    width: 300px; /* Set a fixed width to prevent left-to-right animation */
}

.menu-item:hover .sub_menu-list {
    opacity: 1;
    height: auto;
}

.menu-item:hover .sub_menu-list .menu-link {
    font-size: 18px;
    line-height: 36px;
    padding: 0 12px;
}

.mobile-toggle {
    display: none;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid var(--whiteColor);
    background-color: var(--mainColor);
}

.mobile-close-btn {
    opacity: 0;
}

.apply {
    display: none;
    font-size: 20px;
    line-height: 30px;
    width: 175px;
    height: 100%;
    text-align: center;
    padding: 24px;

    cursor: pointer;
    transition: all .7s ease;
    background-color: var(--secondColor);
    will-change: font-weight, background-color;
}

.apply:hover {
    font-weight: bolder;
    transition: all .5s ease;

    background-color: rgba(230,69,30, .7);
}

.apply a {
    color: var(--whiteColor);
}

.section > h2, .section h2.title {
    position: relative;
    padding-left: 24px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--blueColor);
}

.section > h2::before, .section h2.title::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    left: 12px;
    background-color: var(--secondColor);
}

/* hero section */
.hero-section {
    position: relative;
}

.hero-item {
    display: flex !important;
    flex-direction: column;
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.filling-block {
    width: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.6); /* Color of the block */
    opacity: 0.85; /* Start partially opaque for visibility */
}

.animate-filling-block {
    animation: fill-right 4.5s forwards; /* forwards ensures the block stays filled */
}

@keyframes fill-right {
    0% {
        width: 0;
        opacity: 0.85;
    }
    100% {
        width: 100%; /* Block fills the entire width of the container */
        opacity: 0.1; /* Fade out slightly as it fills */
    }
}

.opacity-block {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    opacity: 1; /* Start fully opaque */
    transform: translateX(0); /* Start fully covering the slide */
}


.animate-opacity-block {
    transform: translateX(100%); /* Slide out to the right */
    opacity: 0; /* Fade out */
}


@keyframes fadeOut {
    0% {
        width: 100%; /* Full coverage initially */
        opacity: 0.5; /* Semi-transparent */
    }
    100% {
        width: 0%; /* Ends with full reveal of the image */
        opacity: 0; /* Fully transparent */
    }
}




@keyframes fill-right {
    0% {
        width: 0;
    }
    100% {
        width: 100%; /* Block fills the entire width of the container */
    }
}




.hero-block {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.hero-block_right {
    right: 15px;
    align-items: flex-end;
    text-align: right;
}

.hero-block_left {
    left: 15px;
    align-items: flex-start;
    /* text-align: right; */
}

.hero-block_center {
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
    /* text-align: right; */
}

.hero-block h1,
.hero-block h2,
.hero-block h5,
.hero-block p {
    position: relative;
    color: var(--whiteColor);
    width: max-content;
}

.hero-block h1 {
    width: 80vw;
    font-size: 48px;
    line-height: 60px;
    padding: 8px 12px 8px 8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    background-color: rgba(3, 42, 76, 0.4);
}

.hero-block h2 {
    font-size: 36px;
    line-height: 48px;
    padding: 8px 12px 8px 8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-block h5 {
    font-size: 24px;
    line-height: 36px;
    padding: 8px 12px 8px 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-block_center h1,
.hero-block_center h2,
.hero-block_center h5 {
    border-radius: 9999px;
    border-left-width: 5px;
    border-right-width: 10px;
    border-left-style: solid;
    border-right-style: solid;
    border-left-color: var(--secondColor);
    border-right-color: var(--secondColor);
    padding: 10px;
}

.hero-block h1::after,
    /* .hero-block h2::after,  */
.hero-block h5::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0;
    left: 100%;
    background-color: var(--secondColor);
}

.hero-block_right h1::after,
    /* .hero-block h2::after,  */
.hero-block_right h5::after {
    right: 0;
}

.hero-block_left h1::after,
    /* .hero-block h2::after,  */
.hero-block_left h5::after {
    left: 0;
}

.hero-block_center h1::after,
    /* .hero-block h2::after,  */
.hero-block_center h5::after {
    width: 0;
}

.hero-block p {
    max-width: 25vw;
    white-space: wrap;
    color: var(--whiteColor);
}

.apply-now a {
    color: var(--whiteColor);
}

.apply-now:hover {
    background-color: var(--secondColor);
}

.thumbnail-slider {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.thumbnail-slider .slick-track {
    transform: unset !important;
    width: max-content !important;
}

.thumbnail-item {
    margin: 0 5px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border: 2px solid var(--whiteColor);
    border-radius: 50%;
    transition: all .3s ease-in-out;
}

.thumbnail-item:hover,
.thumbnail-item.slick-current {
    border: 2px solid var(--secondColor);
}

.thumbnail-item img {
    width: 100px;
    height: auto;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail-item.slick-current img {
    border-color: #333;
}

/* for animation */
/* Start with elements invisible */
.hero-block h1,
.hero-block h2,
.hero-block p,
.hero-block h5 {
    opacity: 0;
}

/* Animation classes */
.animate-h1 {
    animation: slideInFromTop 0.8s ease forwards;
}

.animate-h2 {
    animation: slideInFromLeft 0.8s ease 0.3s forwards;
}

.animate-p {
    animation: slideInFromCenter 0.3s ease 0.3s forwards;
}

.animate-h5 {
    animation: slideInFromBottom 0.8s ease 0.6s forwards;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromCenter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-block h1.animate-h1 {
    animation: slideInFromTop 0.8s ease forwards;
}

.hero-block h2.animate-h2 {
    animation: slideInFromLeft 0.8s ease 0.3s forwards;
}

.hero-block p.animate-p {
    animation: slideInFromCenter 0.8s ease 0.3s forwards;
}

.hero-block h5.animate-h5 {
    animation: slideInFromBottom 0.8s ease 0.6s forwards;
}



/* footer */
.footer-container {
    overflow: hidden;
    background-color: var(--mainColor);
}

.top-side {
    padding: 24px 0 24px;
    max-width: 1630px;
}

.footer-menu-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-menu-item {
    padding-top: 24px;
}

.footer-menu-item:first-child {
    max-width: 320px;
    text-align: center;
}

.footer-menu-item a {
    color: var(--whiteColor);
}

.footer-menu-item a:hover {
    color: rgba(236, 239, 241, 0.6);
}

.bottom-side {
    font-size: 14px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1630px;
    padding-top: 12px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.bottom-side::before {
    content: '';
    position: absolute;
    left: -100vw;
    top: 0;
    width: 200vw;
    height: 1px;
    background-color: var(--whiteColor);
}

.footer-menu-item p:first-child,
.footer-logo-link div {
    text-transform: uppercase;
}

.footer-menu-item p:first-child {
    /* text-decoration: underline; */
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--whiteColor);
    position: relative;
    display: inline-block;
    transition: all .4s ease-in-out;
}

.footer-menu-item p:first-child::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: var(--whiteColor);
    transition: all .4s ease-in-out;
}

.footer-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-link > div {
    margin-bottom: 16px;
    max-width: 320px;
    text-align: center;
    text-transform: uppercase;
}

.footer-menu-link p:only-child {
    text-transform: capitalize;
}

.sitemap-menu-list {
    display: flex;
    flex-wrap: wrap;
}

.sitemap-menu-item {
    padding: 0 8px;
}

.sitemap-menu-link {
    color: var(--whiteColor);
}

.right-side {
    color: var(--whiteColor);
}

.scrollToTopBtn {
    position: fixed;
    width: 36px;
    height: 36px;
    background-color: var(--mainColor);
    right: 15px;
    bottom: 15px;
    border: 2px solid transparent;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all ease .3s;
}

.scrollToTopBtn:hover {
    background-color: var(--blueColor);
}

.scrollToTopBtn::before,
.scrollToTopBtn::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    transition: .3s ease-in-out;
    border-radius: 4px;
}

.scrollToTopBtn::before {
    top: -5px;
    left: -5px;
    border-top: 1px solid var(--secondColor);
    border-left: 1px solid var(--secondColor);
}

.scrollToTopBtn::after {
    right: -5px;
    bottom: -5px;
    border-bottom: 1px solid var(--secondColor);
    border-right: 1px solid var(--secondColor);
}

.scrollToTopBtn:hover::before,
.scrollToTopBtn:hover::after {
    width: calc(100% + 9px);
    height: calc(100% + 9px);
}

.scrollToTopBtn:hover svg path {
    fill: var(--whiteColor);
}

/* degree list */
.list-degree {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item-degree {
    width: 20vw;
    display: inline-flex;
    position: relative;
    /* margin: 4px; */
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .3);
}

.link-degree {
    position: absolute;
    display: inline-flex;
    bottom: 0;
    left: 0;
    padding: 6px;
    font-size: 22px;
    font-weight: bold;
    color: var(--darkColor);
    white-space: nowrap;
    background: #fff;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    width: 100%;
}

.img-degree {
    max-width: 100%;
}

/* test event inhomepage */
.events {
    /* margin: 30px auto;
    max-width: 1240px; */
}

.titlerow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.titlerow .title {
    font-weight: bold;
    color: var(--blueColor);
}

.white-arrow .arrow-box {
    background: #fff;
    min-width: 41px;
}

.full-btn-arrow .arrow-box .arrow {
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
    margin: 13px 9px;
}

.white-arrow .arrow-box .arrow {
    border-top: 3px solid #8FB5E1;
    border-right: 3px solid #8FB5E1;
}

.full-btn-arrow {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    background: #8FB5E1;
}

.white-arrow:hover .arrow-box .arrow {
    border-color: var(--blueColor);
}

.events ul {
    padding: 0;
    display: flex;
    margin: 0;
    list-style: none;
}

.container-white, .white-box {
    background: #fff;
    color: #fff;
}

.events ul a {
    text-decoration: none;
    overflow: auto;
}

.events ul > span {
    width: 3px;
    background: rgba(143, 181, 225, 0.4);
    margin: 20px 0;
}

.events ul li {
    padding: 25px 30px;
    display: flex;
    overflow-wrap: anywhere;
}

.events ul li:hover {
    border: 3px solid #8FB5E1;
    padding: 22px 27px;
    display: flex;
}

.events ul li .date {
    min-width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 16px;
    text-align: center;
    color: var(--blueColor);
    border-radius: 4px;
}

.events ul li .date div:first-of-type {
    font-weight: bold;
    font-size: 42px;
    line-height: 53px;
    margin-bottom: 15px;
    margin-top: 20px;
    line-height: 15px;
}

.events ul li .date div:nth-of-type(2) {
    font-weight: bold;
    font-size: 20px;
    line-height: 15px;
}

.events ul li .text-block {
    width: 267px;
}

.events ul li .item-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    color: var(--blueColor);
}

.events ul li .item-text {
    overflow: hidden;
    display: none;
    font-size: 14px;
    line-height: 20px;
    color: #555;
}

.events ul li p {
    margin: 0;
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    text-align: right;
    color: rgba(0, 0, 0, 0.5);
}

/* end event list */

/* important */
.important {
    /* background-image: url('../images/bg/bg2.jpg'); */
    /* background-image: url('../images/bg2.jpg'); */
    /* background-position: 50% 162px; */
}

.divider, .parallax {
    background-repeat: repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.parallax {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: repeat-y;
    background-position: top center;
}

.layer-overlay::before {
    background: rgba(17, 17, 17, .5) none repeat scroll 0 0;
    content: " ";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.overlay-theme-colored-9:before {
    background-color: rgba(48, 111, 182, 0.9) !important;
}

.divider .container {
    padding-top: 70px;
    padding-bottom: 70px;
    padding: 70px 15px;
    display: flex;
    justify-content: space-between;
}

.figures-list {
    /* margin-right: -15px;
    margin-left: -15px; */
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.figures-item {
    width: 25%;
}

.funfact {
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.text-center {
    text-align: center;
}

.funfact i {
    font-size: 45px;
}

.text-theme-color-2, .widget .twitter-feed li::after, .work-gallery .gallery-bottom-part .title {
    color: var(--secondColor);
}

[class^="pe-7s-"], [class*=" pe-7s-"] {
    display: inline-block;
    position: absolute;
    right: 0;
    font-family: 'Pe-icon-7-stroke';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.funfact h2 {
    position: relative;
    margin: 24px 0;
}

.funfact h5 {
    display: inline-block;
    margin: 24px 0;
}

.font-38 {
    font-size: 2.71428571rem !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.text-white {
    color: #fff !important;
}

.text-uppercase {
    text-transform: uppercase;
}

/* news list */

.news-list {

}

.news-item {
    padding: 0 12px;
}

.news-homepage-item {
    height: 100%;
    border: 3px solid transparent;
    -webkit-transition: border 0.1s linear;
    -moz-transition: border 0.1s linear;
    -o-transition: border 0.1s linear;
    transition: border 0.1s linear;
}

.news-homepage-item:hover {
    border-color: #8FB5E1;
    -webkit-transition: border 0.1s linear;
    -moz-transition: border 0.1s linear;
    -o-transition: border 0.1s linear;
    transition: border 0.1s linear;
}

.news-homepage-item a {
    background: #fff;
    height: 100%;
}

.news-homepage-title {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    color: #003896;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.news-homepage-item .img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 200px;
}

.news-homepage-item.announcement-homepage-item .img {
    background-size: contain;
}

.news-homepage-item .news-homepage-title .texttitle {
    display: block;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 100%;
    padding: 16px 20px 40px 20px;
}

/* gallery */
.gallery-list {
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    width: calc(100% / 3);
    overflow: hidden;
}

.gallery-link {
    position: relative;
}

.gallery-link::before {
    content: '';
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all .3s ease;
    background-color: rgba(0, 0, 0, .3);
}

.gallery-img {
    max-width: 100%;
    width: 100%;
    display: flex;
}

.gallery-title {
    /* display: none; */
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 36px;
    color: var(--whiteColor);
    transform: translate(-50%, -50%);
}

.gallery-item-block:hover .gallery-link::before  {
    opacity: 1;
}

.gallery-item-block:hover .gallery-title  {
    /* display: block; */
    opacity: 1;
}

.video {
    position: relative;
}

.video::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(143, 181, 225, 0.4);
}

.video h3 {
    font-size: 36px;
    line-height: 48px;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--whiteColor);
}

.video #player {
    width: 100%;
}

.playButton {
    cursor: pointer;
    width: 90%;
    height: 90%;
    position: absolute;
    z-index: 9;
    left: 50%;
    top: 50%;
    border: 0;
    background-color: unset;
    transform: translate(-50%, -50%);
}

/* single news */
.single-news-block {
    display: flex;
    flex-wrap: wrap;
}

.single-news-container {
    width: calc(100% - 320px);
    padding-right: 30px;
    margin-top: 24px;
}

.single-news-title {
    font-size: 36px;
    line-height: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--secondColor);
}

.single-news-desc {
    font-size: 18px;
    line-height: 27px;
    color: var(--mainColor);
    margin-top: 24px;
}

/* last news */

.last-news-block {
    margin-top: 24px;
    max-width: 320px;
}

.last-news-block h3 {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 44px;
    color: var(--mainColor);
}

.last-news-list {
    display: flex;
    flex-wrap: wrap;
}

.last-news-item {
    position: relative;
    transition: all .3s ease-in-out;
    margin-bottom: 24px;
}

.last-news-item:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    opacity: 0;
    transition: all 1.3s ease-in-out;
    background-color: var(--secondColor);
}

.last-news-item:hover:after {
    width: 100%;
    opacity: 1;
    transition: all .3s ease-in-out;
}

.last-news-block-wrapper {
    /* margin-top: 24px; */
}

.last-news-img {
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 200px;
}

.last-news-texttitle {
    font-weight: 700;
    color: var(--secondColor);
}

.last-news-texttitle:hover {
    font-weight: 700;
    color: var(--secondColor);
}

/* breadcrumb */
.path-list {
    display: flex;
}

.path-item:not(:last-child) {
    padding-right: 12px;
}

.padth-link {
    color: var(--mainColor);
    transition: all .3 ease-in-out;
}

.padth-link:hover {
    color: var(--secondColor);
    text-decoration: underline;
}

.padth-link:hover:after {
    /* color: var(--secondColor);
    text-decoration: underline; */
}


.path-item:last-child .padth-link {
    pointer-events: none;
    cursor: default;
}

.path-item:not(:last-child) .padth-link::after {
    content: '/';
    margin-left: 6px;
}

/* referal  block */
.referal-title {
    text-align: center;
    font-size: 28px;
    line-height: 42px;
    color: var(--mainColor);
}

.referal-list-block {
    margin-top: 24px;
}

.referal-list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.referal-item {
    margin: 12px;
    border-radius: 999px;
    background-color: #EDB111;
    transition: all .3s ease-in-out;
}

.referal-item:first-child,
.referal-item:last-child {
    background-color: var(--secondColor);
}

.referal-item:hover {
    background-color: var(--secondColor);
}

.referal-link {
    padding: 12px 24px;
    display: inline-block;
    text-align: center;
    color: var(--whiteColor);
}

.referal-img-block {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px;
}

/* news , anouncement list */
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-ld, .col-ld-1, .col-ld-10, .col-ld-11, .col-ld-12, .col-ld-2, .col-ld-3, .col-ld-4, .col-ld-5, .col-ld-6, .col-ld-7, .col-ld-8, .col-ld-9, .col-ld-auto, .col-md, .col-mb-1, .col-mb-10, .col-mb-11, .col-mb-12, .col-mb-2, .block-width-small, .col-mb-4, .col-mb-5, .col-mb-6, .col-mb-7, .col-mb-8, .col-mb-9, .col-mb-auto, .col-dt, .col-dt-1, .col-dt-10, .col-dt-11, .block-width, .col-dt-2, .col-dt-3, .col-dt-4, .col-dt-5, .col-dt-6, .col-dt-7, .col-dt-8, .col-dt-9, .col-dt-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

.news-wrap [class|="col"] {
    margin-bottom: 30px;
}

/* chairs list */
.faculty-list {
    margin-bottom: 48px;
}

.categoryNav ul li {
    display: inline-block;
    margin: 0 10px 10px 0;
    box-sizing: border-box;
    letter-spacing: normal;
    text-align: left;
    vertical-align: top;
}

.faculty-list ul li {
    width: calc(25% - 14px);
    transition: all .5s ease;
}

.faculty-list ul li:hover {
    box-shadow: 0 3px 3px 0 rgba(230,69,30, .6);
}

.categoryNav ul li a {
    display: block;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s ease 0s;
}

.faculty-list ul li a {
    border: 1px solid #d7d7d7;
    background: #fff;
}

.faculty-list ul li p {
    height: 152px;
    overflow: hidden;
    text-align: center;
}

.faculty-list ul li dl {
    padding: 10px 15px 25px 19px;
    border: none;
}

.categoryNav ul li dl dt {
    padding: 0 0 0 12px;
    font-size: 1.12rem;
    font-weight: bold;
    /* word-break: break-all; */
    background: url(https://www.u-tokyo.ac.jp/content/400002143.png) no-repeat 0 11px;
}



.row {
    display: flex;
    margin-right: -15px;
    margin-left: -15px;
}

.news-wrap {
    padding: 0;
    flex-wrap: wrap;
}

.news-homepage-item {
    height: 100%;
    box-sizing: border-box;
    border: 3px solid transparent;
    -webkit-transition: border 0.1s linear;
    -moz-transition: border 0.1s linear;
    -o-transition: border 0.1s linear;
    transition: border 0.1s linear;
}

.news-homepage-item .news-homepage-title {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    color: #003896;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.news-homepage-item .img {
    background-position: center;
    background-size: cover;
    width: 100%;
    min-height: 200px;
}

.news-homepage-title .textbox {
    box-sizing: border-box;
}

.news-homepage-item .news-homepage-title .texttitle {
    display: block;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 100%;
    padding: 16px 20px 40px 20px;
}

.news-item-date {
    font-weight: normal;
    font-size: 18px;
    line-height: 140%;
    text-align: right;
    color: #8FB5E1;
    margin: 7px 16px 8px 169px;
    bottom: 0px;
    position: absolute;
    right: 16px;
}

.margin_40 {
    margin: 40px 0;
}

.buttons {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    color: #157fc4;
    margin-bottom: 0;
    font: normal 16px / 40px "PT Sans", PTsans, Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    background: #DCECF6;
    border: 0;
    text-decoration: none;
    white-space: nowrap;
    /* height: 40px; */
    padding: 0 20px;
    border-radius: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.btn-view-more {
    padding: 5px 69px;
    margin: 0;
    background: none;
    color: #254692;
    border: 1px solid #254692;
    transition: all .3s ease;
}

.btn-view-more:hover {
    background: #254692;
    color: #fff;
}

/* event list */
.em-card-group {
    display: flex;
    flex-wrap: wrap;
}

.em-card.em-event.em-event-instance {
    padding: 10px;
    width: calc(100% / 3);
    transition: all .3s ease;
}

.em-card-innerblock {
    padding: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.em-card-innerblock:hover {
    box-shadow: 0 20px 30px -6px rgba(6, 14, 58, 0.16);
    transform: translateY(-10px);
}

.img_card {
    max-width: 100%;
}

.em-card_text {
    padding: 4px 10px;
    width: 100%;
}

.em-card_title a {
    color: var(--mainColor);
}

.em-link-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto;
}

.em-link {
    padding: 12px 24px;
    border: 2px solid var(--mainColor);
    border-radius: 9999px;
    color: var(--txtColor);
    transition: all .5s ease-in-out;
    will-change: background-color, color; /* Specifying properties likely to change */
}

.em-link:hover {
    background-color: var(--mainColor);
    color: var(--whiteColor);
}

.em-link:hover .fas.fa-long-arrow-alt-right {
    transform: scale(1.2);
}

/* kingster page header */
.kingster-body * {
    border-color: #e6e6e6;
}

.kingster-page-title-wrap {
    background-image: url(https://philipsuni.ac.cy/wp-content/uploads/2018/08/page-title.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.kingster-page-title-wrap .kingster-page-title-overlay {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.kingster-page-title-wrap .kingster-page-title-overlay {
    opacity: 0;
}

.kingster-page-title-wrap .kingster-page-title-overlay {
    background-color: var(--whiteColor);
}

.kingster-page-title-wrap .kingster-page-title-container {
    position: relative;
}

.kingster-body-front .gdlr-core-container, .kingster-body-front .kingster-container {
    padding-left: 20px;
    padding-right: 20px;
}

.kingster-container {
    max-width: 1630px;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
}

.kingster-page-title-wrap.kingster-style-medium .kingster-page-title-content {
    padding-top: 126px;
    padding-bottom: 116px;
}

.kingster-page-title-wrap.kingster-style-medium .kingster-page-title {
    font-size: 48px;
    margin-bottom: 0px;
    color: var(--bgColor);
    font-weight: 700;
    line-height: 1.2;
}

/* chair, faculty */

.chair-block {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
}

.chair-left-secion {
    width: 75%;
    padding-right: 24px;
    margin-bottom: 48px;
}

.chair-text-box-item-content {
    margin-bottom: 12px;
}

.chair-title-item-title {
    margin-bottom: 18px;
    font-size: 24px;
}

.chair-title-item-title ~ .chair-title-item-title {
    margin-top: 18px;
}

.chair-right-secion {
    width: 25%;
}

.chair-sidebar-right {
    padding: 24px;
    color: var(--whiteColor);
    background-color: var(--mainColor);
    border-radius: 24px;
    margin-bottom: 48px;
}

.chair-sidebar-right a {
    color: var(--whiteColor);
}

.chair-sidebar-right a:hover {
    color: var(--secondColor);
}

/* person list */
.core-personnel-item {
    display: flex;
    flex-wrap: wrap;
}

.core-personnel-list-column {
    width: calc(100% / 5);
    margin-top: 36px;
}

.core-personnel-list-image  {
    border-radius: 4px;
    height: 150px;
    display: inline-block;
}

.core-personnel-list-image a {
    display: inline-block;
}

.core-personnel-list-image,
.core-personnel-list-image img {
    transition: all .3s ease;
    overflow: hidden;
}

.core-zoom-on-hover:hover img {
    transform: scale(1.1);
}

.core-personnel-list-title a {
    color: var(--mainColor);
}

.core-personnel-list-button {
    padding: 12px 24px;
    margin-top: 12px;
    margin-bottom: 6px;
    display: inline-block;
    border-radius: 12px;
    transition: all .3s ease;

    color: var(--whiteColor);
    background-color: var(--secondColor);
}

.core-personnel-list-button:hover {
    background-color: var(--mainColor);
}

/* person page */
.core-wrapper-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.core-column-first {
    width: 35%;
}

.core-column-second {
    width: 65%;
    padding-left: 12px;
}

.core-lightgallery {
    position: relative;
    display: inline-block;
}

.core-lightgallery img {
    max-width: 100%;
}

.core-lightgallery .core-image-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all .4s ease-in;
}

.core-lightgallery .core-image-overlay .core-image-overlay-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--whiteColor);
}

.core-lightgallery:hover .core-image-overlay {
    opacity: 1;
}


.core-lightgallery .core-image-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all .4s ease-in;
}

.core-lightgallery .core-image-overlay .core-image-overlay-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--whiteColor);
}

.core-lightgallery:hover .core-image-overlay {
    opacity: 1;
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    position: relative;
}

.modal-body img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.modal-header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    z-index: 1001;
}

.action-buttons button {
    padding: 10px;
    margin-left: 5px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all .4s ease-in;
}

.action-buttons button:hover {
    color: var(--whiteColor);
    background-color: var(--secondColor);
}

.modal-header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

.kingster-type-email {
    display: inline-block;
    margin-top: 24px;
    transition: all .3s ease;
    color: var(--mainColor);
}

.kingster-type-email:hover {
    text-decoration: underline;
    color: var(--blueColor);
}

.core-column-second .core-element + .core-element {
    padding-bottom: 24px;
    padding-top: 24px;
    border-bottom: 4px solid var(--mainColor);
}

/* programs block */
.core-prograp-container {
    display: flex;
    flex-wrap: wrap;
}

.core-prograp-container .core-column-first {
    width: 20%;
    padding: 6px 12px;
}

.core-feature-box-item .core-feature-box {
    position: relative;
    overflow: hidden;
    padding: 50px 40px 40px;
    background-color: #c4860b;
    transition: all .5s ease-in-out;
}

.core-column-first:hover .core-feature-box {
    background-color: rgba(0, 0, 0, 0.6);
}

.core-feature-box-item .core-feature-box-background {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-position: center;
    background-size: cover;
}

.core-feature-box-item .core-feature-box-content {
    position: relative;
}

.core-feature-box-item .core-feature-box-item-title {
    color: var(--whiteColor);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: all .5s ease-in-out;
}

.core-feature-box-item:hover .core-feature-box-item-title {
    transform: scale(1.05);
    text-decoration: underline;
}

.core-feature-box-item .core-feature-box-link {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0);
}

/* gallery block */
.gridOverflow.go-masonry {
    --gridGap: 8px;
    --itemMinWidth: 30%;
    --itemRounding: 25% 88% 10% 88% / 18% 9px 15% 9px;
    --linkActionIcon: "»";
    --masonryItemHeight: 180px;
}

.go_gridItem {
    border-radius: 0;
    width: 25%;
    /* max-width: 25%; */
}

/* sidebar */

.sidebar_menu {
    min-width: 320px
}

/* tabs and accordion */
.tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    background: #575757;
    padding: 4px;
    border-radius: 6px;
}

.overflow-container {
    overflow-x: auto;
    width: 75%;
}

.tabs-block, .not_tabs-block {
    /* height: 50vh; */
    padding: 30px 70px 20px;
    width: 100%;
}

.tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    background: var(--mainColor);
    padding: 4px;
    border-radius: 6px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 5px;
    border-radius: 4px;
}

.tabs li {
    padding: 5px 15px;
    margin: 4px;
    color: #fff;
    border: 1px solid #fff;
    /* background-color: var(--secondaryColor); */

    cursor: pointer;
    margin-right: 5px;
    border-radius: 12px;
    transition: all .3s ease;
}

.tabs li:hover, .tabs li.active {
    color: #575757;
    background-color: #fff;
    border: 1px solid #fff;
}

/* .toggle-content {
    display: none;
	position: relative;
	border: 2px solid gray;
	border-radius: 4px;
	overflow-x: auto;
    overflow-y: hidden;
	height: 0;
	transition: height 0.5s ease;
} */

.toggle-content {
    display: none;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease; /* Smooth transition for height changes */
    border: 2px solid gray;
    border-radius: 4px;
}

.toggle-content:empty {
    border: 2px solid #fff;
}

.toggle-content.open {
    display: block;
    height: auto;
    transition: height 0.5s ease; /* Smooth transition for height changes */
    border: 2px solid gray !important;
}

.tab-block {
    position: relative;
    margin-bottom: 24px;
    margin-top: 24px;
    min-height: 4vh;
}

/* .tab-caption {
	position: absolute;
    z-index: 2;
    font-size: 18px;
    top: -18px;
    left: 0;
	width: 100%;
    padding: 4px 12px;
    font-weight: 100;
    cursor: pointer;
    border-radius: 12px;
    transition: all .3s ease;
	display: flex;
	justify-content: space-between;

    color: #fff;
    background-color: #575757;
}

.tab-caption:hover {
    color: #fff;
    background-color: var(--secondColor) !important;
} */

.tab-caption {
    position: relative;
    z-index: 2;
    font-size: 18px;
    top: -18px;
    padding: 4px 12px;
    font-weight: 100;
    cursor: pointer;
    border-radius: 12px;
    transition: all .3s ease;
    display: flex;
    justify-content: space-between;
    color: #fff;
    background-color: #575757;
}

/* new tab */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.active, .accordion:hover {
    background-color: #ccc;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Hide all tab contents by default */
.tab-content {
    display: none;
}

/* Only show the active tab content */
.tab-content.active {
    display: block;
}


/* Hover effect for tab caption */
.tab-caption:hover {
    color: #fff;
    background-color: var(--secondColor) !important;
}

.overflow-container {
    overflow-x: auto;
    width: 75%;
}

.overflow-container::-webkit-scrollbar {
    height: 12px;
    width: 12px;
}

.overflow-container::-webkit-scrollbar-track {
    background-color: #000000A8;
    border-radius: 12px;
}

.overflow-container::-webkit-scrollbar-thumb {
    background-color: #FFFFFF80;

    border: 3px solid transparent;
    border-radius: 9px;
    background-clip: content-box;
}

.navigation-buttons #prevBtn,
.navigation-buttons #nextBtn {
    /* background: url(../images/arrow.svg) 0 0 / 100% no-repeat; */

    padding: 5px 10px;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    transition: all .5s ease;
}

.navigation-buttons #prevBtn:hover,
.navigation-buttons #nextBtn:hover {
    /* background: url(../images/arrow.svg) 0 0 / 100% no-repeat; */

    color: var(--bgColor);
    background-color: var(--mainColor);
}

.navigation-buttons #prevBtn {
    /* transform: rotate(-90deg); */
}

.navigation-buttons #nextBtn {
    /* transform: rotate(90deg); */
}

.people-list {
    display: flex;
    /* justify-content: space-around; */
    padding: 20px 0;
}

.poeple-item {
    text-align: center;
    font-weight: bold;
    margin: 5px;
    width: 100%;
    max-width: 280px;
}

.poeple-item a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.poeple-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid rgb(128, 128, 128, .8);
}

.people-block {
    padding: 100px 70px 70px;
}

.people-details {
    display: flex;
}

.people-left_side {
    padding-right: 12px;
}

.people-right_side {
    width: 100%;
}

.people-image_block {
    width: 100%;
    max-width: 250px;
}

.people-image_block img {
    max-width: 100%;
}

.people-name {
    font-weight: bold;
}

.people-desc > * {
    margin-bottom: 18px;
}

.people-desc > *::first-line {
    text-transform: uppercase;
    font-weight: 700;
    color: rgb(32, 44, 69);
}

.not_tabs-block .people-list {
    flex-wrap: wrap;
}

.not_tabs-block .poeple-item {
    width: 20%;
    min-width: 280px;
    max-width: 320px;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid rgb(32, 44, 69);
    border-radius: 6px;
    transition: all .3s ease;
}

.not_tabs-block .poeple-item:hover {
    box-shadow: 0 2px 3px rgba(0,0,0, .5)
}

.not_tabs-block .poeple-img {

}

/* lessons */
.teach-prograp-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.teach-prograp-container .teach-column-first {
    width: 25%;
    min-width: 324px;
    max-width: 324px;
    height: 324px;
    padding: 12px;
}

.teach-column-content, .teach-element, .teach-feature-box-item  {
    height: 100%;
}

.teach-feature-box-item .teach-feature-box {
    position: relative;
    /* z-index: -1; */
    overflow: hidden;
    /* padding: 120px 40px 120px; */
    padding: 12px;
    height: 100%;
    background-color: rgb(32, 44, 69);
    transition: all .5s ease-in-out;
}

.teach-column-first:hover .teach-feature-box {
    background-color: rgba(0, 0, 0, 0.6);
}

.teach-feature-box-item .teach-feature-box-background {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-position: center;
    background-size: cover;
}

.teach-feature-box-item .teach-feature-box-content {
    /* position: relative; */
}

.teach-feature-box {
    border-radius: 12px;
}

.teach-feature-box-item .teach-feature-box-item-title {
    color: var(--whiteColor);
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    transition: all .9s ease-in-out;
    position: absolute;
    text-decoration: underline;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* width: 50%; */
    cursor: pointer;
}

.teach-feature-box-item .teach-feature-box-link {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0);
}

.helped-list {
    padding: 48px 12px 8px;
}

.addmission_desc {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 48px;
    padding-inline: 12px;
    text-align: justify;
    color: var(--mainColor);
}

/* search */

.result_block {
    max-width: 848px;
    margin: 48px auto 24px;
}

.search_block {
    position: relative;
    border-bottom: 2px solid;
}

.search_input {
    border: 0;
    font-size: 24px;
    padding: 12px 24px;
    color: var(--mainColor);
    background: #f3f4f6;
    width: calc(100% - 64px);
}

.search_clear {
    display: none;
    position: absolute;
    top: 50%;
    right: 36px;
    transform: translateY(-50%);
    cursor: pointer;
}

.search_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    cursor: pointer;
}

.result_title {
    font-family: Canela Deck Web;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -.2px;
    line-height: 1.05;
    text-align: center;
}

.result_list {
    display: none;
    min-height: 5vw;
}

.result_item {
    border: none;
    border-bottom: 1px solid var(--mainColor);
    margin: 0 0 35px;
    padding: 0 0 35px;
    position: relative;
    transition: all .3s ease-in-out;
}

.result_item:first-child {
    padding: 35px 0 35px;
    border-top: 1px solid var(--mainColor);
}

.result_link {
    color: var(--mainColor);
    font-size: 18px;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    font-weight: 700;
    height: auto;
    letter-spacing: -.1px;
    line-height: 1.5;
    line-height: 1.4;
    overflow: visible;
}

.result_desc {
    color: var(--mainColor);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    left: -3px;
    line-height: 1.5;
    margin: 14px 0 0;
    position: relative;
}

.result_item:hover .result_link {
    text-decoration: underline;
}

/* structure list */
.structure_block {
    margin-block: 48px;
}

.structure_list {
    padding-inline: 20px;
    list-style: revert;
}

.structure_item {
    list-style: revert;
}

.structure_item .structure_item {
    padding-left: 12px;
}

.structure_link {
    font-weight: bold;
    color: var(--mainColor);
}

/* contact block */
.contact_block {
    display: flex;
    flex-wrap: wrap;
}

.contact_item {
    width: calc(100% / 3);
    padding-inline: 15px;
    padding-block: 12px;
}

.card-pricing {
    padding: 20px 30px;
    background: #fff;
    color: #000;
    font-size: 20px;
    height: 100%;
}

.card-pricing h3 {
    font-size: 48px;
    min-height: 100px;
    margin: 0 0 15px 0;
    line-height: 50px;
    color: #003896;
}

.mapblockinfo {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translate(0, -50%);
    width: 410px;
    background: #FFFFFF;
    border: 3px solid #003896;
    box-sizing: border-box;
    color: #000;
    font-size: 20px;
    padding: 30px;
}

.mapblockinfo b {
    font-size: 24px;
    line-height: 29px;
    color: #003896;
}

/* single event */

.event_container {
    position: relative;
}

.event_block {
    color: rgba(0, 0, 0, 0.87);
    transition: 450ms cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-shadow: 0px 0px 0px 0px;
    border-radius: 2px;
    z-index: 1;
    padding: 0px 0px 15px;
    border-bottom: 2px solid rgb(194, 194, 194);
}

.flex_cont {
    display: flex;
    flex-flow: wrap;
}

.event_img_cont {
    width: 100%;
    padding: 10px 30px 10px 10px;
    flex: 1 1 0%;
}

.default-event_img {
    background-color: #8d5100;
    padding-bottom: 60%;
    margin-bottom: 16px;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.event_info {
    margin: 10px;
    flex: 1 1 0%;
}

.even_info_wrapped {
    margin-bottom: 16px;
    margin-left: 16px;
}

.event_text {
    padding: 0px;
    font-weight: 500;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
}

.event_title_block {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}

.event_title {
    padding: 0px;
    font-size: 30px;
    line-height: 36px;
}

.event_details {
    color: rgba(0, 0, 0, 0.87);
    display: block;
    font-size: 16px;
    line-height: 16px;
    position: relative;
    transition: 450ms cubic-bezier(0.23, 1, 0.32, 1);
    margin-left: 0px;
    padding: 25px 16px 16px 72px;
}

.event_svg_block {
    color: rgb(66, 66, 66);
    background: transparent;
    user-select: none;
    display: block;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    position: absolute;
    top: 12px;
    margin: 12px;
    left: 0px;
    padding: 0px;
}

.event_svg_item {
    display: inline-block;
    color: rgb(66, 66, 66);
    fill: rgb(66, 66, 66);
    height: 24px;
    width: 24px;
    user-select: none;
    transition: 450ms cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 24px;
    margin: 0px;
}

.event_text_block {
    font-size: 14px;
    line-height: 16px;
    height: auto;
    margin: 4px 0px 0px;
    color: rgba(0, 0, 0, 0.54);
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event_text_block > * {
    margin: 2px 0px;
    white-space: normal;
    color: rgb(66, 66, 66);
}

.event_footer_block {
    border-bottom: 2px solid rgb(194, 194, 194);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.event_footer_title {
    margin: 25px 0px 12px;
}

/* document */
.home_post_item {
    display: inline-block;
    background: url(images/icon-fon.png) no-repeat;
    width: 294px;
    margin: 27px;
    /* background-size: 273px; */
    height: 145px;
}

.home_post_item5 {
    display: flex;
    justify-content: space-between;
}

.category_thumb {
    float: left;
    /* display: inline-block; */
    position: relative;
    top: -5px;
    left: -3px;
}

.home_cat_title a {
    color: #098459;
    text-transform: uppercase;
    font-size: 13px;
    padding-bottom: 5px;
    border-bottom: 1px solid #098459;
    margin: 8px 10px 0px 5px;
    display: inline-block;
    width: 177px;
    font-weight: bold;
    text-align: left;
}

span.home_cat_description {
    padding: 0px 8px 0px 8px;
    width: 179px;
    overflow: hidden;
    line-height: 17px;
    height: 86px;
    font-size: 14px;
    display: inline-block;
}

.doc_block {
    display: flex;
}

/* magazine list */
.magazine-container {
    background-color: var(--darkColor);
}

.magazine-list {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
}

.magazine-link {
    display: inline-block;
    padding: 4px;
    width: calc(100% / 6);
    position: relative;
}

.magazine-item {
    margin: 8px;
    padding: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    background: transparent;
    /* width: 304px; */
    /* height: 340px; */
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.magazine-link::after {
    content: "";
    width: 2px;
    height: 94%;
    position: absolute;
    top: 3%;
    left: 100%;
    background-color: #3d3c3c;
}

.magazine-content {
    min-height: 350px;
    width: 100%;
}

.magazine-img {
    max-width: 100%;
}

.magazine-date {
    font-size: 13px;
}

.magazine-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* Limit to 3 lines */
    -webkit-box-orient: vertical; /* Specifies vertical orientation for the box */
    overflow: hidden; /* Hide the overflowing content */
    text-overflow: ellipsis; /* Add ellipsis (...) */
    min-height: 72px;
    max-height: 72px;
}

.magazine-block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.magazine-img-wrapper {
    width: 300px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.magazine-text-wrapper {
    width: calc(100% - 300px);
    padding-left: 24px;
}

.magazine-text {
    margin-bottom: 24px;
}

.magazine-pfd-dowload {
    font-weight: bold;
    color: var(--secondColor);
}

/* page */
.hero-container {
    position: relative;
}

.hero-images {
    max-width: 100%;
}

.hero-title {
    padding: 4px;
    width: calc(100% - 32px);
    max-width: 1600px;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    background-color: rgba(255, 255, 255, .5);
}

.page-title {
    margin: 24px 0;
    text-align: center;
}

.page-text {
    margin: 24px 0;
}

@media screen and (min-width: 1381px) {
    .categoryNav ul li p img {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (min-width: 568px) {
    .block-width {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .block-width {
        width: 25%;
    }
}

@media (max-width: 1500px) {
    .magazine-link {
        width: calc(100% / 5);
    }
    .magazine-content {
        min-height: 300px;
    }
}

@media (max-width: 1366px) {
    .go_gridItem {
        max-width: 50%;
    }
    .link-degree {
        font-size: 18px;
    }
}

@media screen and (max-width: 1280px) {
    .menu-link {
        font-size: 20px;
        line-height: 32px;
        padding: 0 8px;
    }
    .events ul {
        flex-wrap: wrap;
    }
    .events ul a {
        width: calc(50% - 6px);
    }
    .events ul li .text-block {
        width: calc(100% - 64px);
    }
    .news-item {
        /*width: 50%;*/
    }
    .core-personnel-list-column {
        width: calc(100% / 4);
    }
    .mapblockinfo {
        margin: 24px auto;
        max-width: 300px;
        padding: 12px;
        position: static;
        transform: translate(0, 0);
    }
}

@media (max-width: 1124px) {
    .magazine-link {
        width: calc(100% / 4);
    }
}

@media (max-width: 1080px) {
    .top-menu-link {
        font-size: 20px;
        line-height: 24px;
    }
    .main-title {
        font-size: 24px;
        line-height: 36px;
    }
    .menu-link {
        font-size: 18px;
        line-height: 27px;
    }
}

@media (max-width: 992px) {
    .menu-list {
        /*display: none;*/
        /*padding: 64px 12px 12px;*/
        /*background-color: #000;*/
        /*position: fixed;*/
        /*z-index: 101;*/
        /*width: 320px;*/
        /*height: 100vh; */
        /*left: 0;*/
        /*top: 0;*/
        /*transform: translateX(-320px);*/
        /*transition: transform .9s ease-in-out;*/
    }
    .menu-list.active {
        transform: translateX(0); /* Slide in from the left */
        display: block;
    }
    .nav-outer {
        padding: 4px 0;
    }
    .menu-list {
        /*display: unset;*/
    }
    /* .top-menu-item .top-menu-link:after, .top-menu-item:not(:last-child) .top-menu-link:after {
        content: '';
        padding-right: 15px;
        border-right: 2px solid var(--whiteColor);
    } */
    .menu-item:not(:last-child) .menu-link:after {
        content: none;
    }
    .mobile-toggle {
        display: block;
    }
    .mobile-close-btn {
        cursor: pointer;
        width: 36px;
        height: 36px;
        padding: 4px;
        position: fixed;
        z-index: 101;
        top: 8px;
        border: 2px solid #fff;
        border-radius: 4px;
        background: #000;
    }
    .mobile-close-btn img {
        width: 12px;
    }
    /* Initially hide the close button with visibility and opacity */
    #mobile-close {
        visibility: hidden;
        opacity: 0;
        transition: opacity .3s ease-in-out, visibility 0s .3s; /* Slight delay on visibility */
    }
    #mobile-close.visible {
        visibility: visible;
        opacity: 1;
        transition: opacity .3s ease-in-out;
    }
    .apply {
        padding: 12px;
        font-size: 18px;
    }
    .social-network {
        display: none;
    }
    .figures-item {
        width: 50%;
    }
    .gallery-item {
        width: calc(100% / 2);
    }
    .faculty-list ul li {
        width: calc((100% / 3) - 14px);
    }
    .core-personnel-list-column {
        width: calc(100% / 3);
    }
    .core-column-first {
        width: 100%;
    }
    .core-column-second {
        width: 100%;
        margin-top: 12px;
    }
    .core-prograp-container .core-column-first {
        width: 50%;
    }
    .single-news-container {
        width: 100%;
    }
    .last-news-block {
        max-width: 100%;
    }
    .last-news-item {
        width: calc(100% / 3);
        padding: 4px;
    }
    .teach-prograp-container .teach-column-first {
        width: calc(50% - 6px);
    }
    .go_gridItem {
        max-width: unset;
    }
    .contact_item {
        width: 100%;
    }
    .flex_cont {
        display: block;
    }
    .event_img_cont {
        padding: 0;
    }
    .block-width-small {
        /* width: 25%; */
    }
    .sidebar_menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 12px;
    }
    .doc_block {
        flex-wrap: wrap;
    }
    .magazine-link {
        width: calc(100% / 3);
    }
}

@media (max-width: 768px) {
    .hero-block h1 {
        font-size: 32px;
        line-height: 48px;
    }
    .hero-block h2 {
        font-size: 24px;
        line-height: 36px;
    }
    .hero-block p {
        width: 100%;
        max-width: 100%;
    }
    .em-card.em-event.em-event-instance {
        width: 50%;
    }
    .faculty-list ul li {
        width: calc(50% - 14px);
    }
    .chair-left-secion,
    .chair-right-secion {
        width: 100%;
    }
    .core-personnel-list-column {
        width: calc(100% / 2);
    }
    .teach-prograp-container .teach-column-first {
        width: 100%;
    }
    .magazine-text-wrapper {
        width: 100%;
        padding-left: 0;
        margin-top: 24px;
    }
    .magazine-link {
        width: calc(100% / 2);
    }
}

@media (max-width: 600px) {
    .header-logo {
        width: 100px;
        height: auto;
    }
    .main-title {
        font-size: 16px;
        line-height: 24px;
    }
    .apply {
        padding: 12px;
        font-size: 18px;
    }
    .top-menu-link, .top-contacts {
        font-size: 16px;
        line-height: 20px;
    }
    .top-menu-item .top-menu-link:after, .top-menu-item:not(:last-child) .top-menu-link:after {
        padding-right: 8px;
    }
    .top-menu-item + .top-menu-item {
        margin-left: 8px;
    }
    .footer-menu-item:first-child {
        margin: auto;
    }
    .events ul a {
        width: calc(100% - 6px);
        margin: auto;
    }
    .figures-item {
        width: 100%;
    }
    .news-item {
        /*width: 100%;*/
        padding: 12px 0;
    }
    .gallery-item {
        width: 100%;
    }
    .video h3 {
        font-size: 20px;
        line-height: 32px;
        top: unset;
        transform: translate(-50%, 0);
        bottom: 24px;
    }
    .em-card.em-event.em-event-instance {
        width: 100%;
    }
    .faculty-list ul li {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .kingster-page-title-wrap.kingster-style-medium .kingster-page-title {
        font-size: 24px;
    }
    .core-personnel-list-column {
        width: 100%;
    }
    .action-buttons button {
        padding: 6px 4px;
        font-size: 12px;
    }
    .core-prograp-container .core-column-first {
        width: 100%;
    }
    .last-news-item {
        width: 100%;
        padding: 0;
    }
    .referal-link {
        padding: 8px;
        font-size: 12px;
    }
    .tabs-block, .not_tabs-block {
        padding: 12px;
    }
    .gridOverflow.go-masonry {
        --itemMinWidth: 45%;
        --masonryItemHeight: 39vw;
    }
}

@media (max-width: 480px) {
    .hero-block h1 {
        font-size: 24px;
        line-height: 36px;
    }
    .hero-block h2 {
        font-size: 18px;
        line-height: 30px;
    }
    .hero-block h5 {
        font-size: 16px;
        line-height: 28px;;
    }
    .thumbnail-item {
        width: 24px;
        height: 24px;
    }

    .footer-menu-item {
        /* width: 100%; */
        padding: 24px 4px;
    }
    .magazine-link {
        width: 100%;
    }
    .magazine-link::after {
        content: "";
        width: 94%;
        height: 2px;
        position: absolute;
        top: unset;
        left: 3%;
        background-color: #3d3c3c;
    }
}

@media (max-width: 390px) {
    .top-menu-link, .top-contacts {
        font-size: 13px;
        line-height: 17px;
    }
    .top-menu-item .top-menu-link:after {
        padding-right: 6px;
    }
    .top-menu-item + .top-menu-item {
        margin-left: 6px;
    }
}

@media (max-width: 375px) {
    .header-logo {
        width: 80px;
    }
    .main-title {
        font-size: 14px;
        line-height: 18px;
    }
    .apply {
        padding: 10px;
        font-size: 16px;
    }
}