/* search */

#search {
    display: none;
}

.search {
    position: fixed;
    top: 20px;
    right: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 30px;
    height: 50px;
    border-radius: 50%;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 200;
}

.search span {
    position: relative;
    display: block;
    width: 50%;
    height: 3px;
    background-color: #fff;
    float: left;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
}

.search span:nth-of-type(1) {
    transform: translate(-2px, -2px);
    width: 20px;
    height: 20px;
    background: none;
    border: #fff solid 3px;
    border-radius: 100%;
}

.search span:nth-of-type(2) {
    transform: translate(2px, -8px);
    rotate: 45deg;
    width: 25%;
    border-radius: 20px;
}

.search-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.search-ico i {
    position: relative;
    display: block;
    width: 50%;
    height: 1px;
    background-color: #fff;
    float: left;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
}

.search-ico i:nth-of-type(1) {
    transform: translate(-2px, -2px);
    width: 20px;
    height: 20px;
    background: none;
    border: #fff solid 1px;
    border-radius: 100%;
}

.search-ico i:nth-of-type(2) {
    transform: translate(4px, -8px);
    rotate: 45deg;
    width: 17%;
}

.search-sc option {
    color: #333
}

#search:checked~.search span:nth-of-type(1) {
    border: var(--main-color) solid 3px;
}

#search:checked~.search span:nth-of-type(2) {
    background: var(--main-color);
}

.search-box {
    position: fixed;
    left: 0;
    top: -100%;
    width: 100vw;
    height: 0;
    margin: 0;
    padding: 0;
    /* background-color: rgba(255, 0, 0, 0.6); */
    transition: height 300ms ease;
    z-index: 90;
    opacity: 0;
    overflow: hidden;
}

.search-box.active {
    left: 0;
    top: calc(50% - 60px);
    transition: height .5s ease;
    transition: opacity .5s ease;
    transition: top .5s ease;
    z-index: 997;
    height: 94px;
    opacity: 1;
    display: block;
}

.search-box.active .layer {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000d4;
    z-index: -1;
    transition: top 500ms ease-in-out;
    z-index: 997;
}

.search-box.active .layer {
    top: 0;
}

.search-box.active .layer:after {
    top: 0;
}

.s-input {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
    z-index: 998;
}

.s-input select,
.s-input input {
    border: none;
    height: 100%;
    outline: none;
    height: 60px;
}

.s-input select {
    width: 150px;
    background: none;
    color: #fff;
    border-bottom: #fff solid 2px;
    margin-right: 5px;
}

.s-input input[type="button"] {
    width: 60px;
    background: none;
    color: #fff;
    border-radius: 0;
    border-bottom: #fff solid 2px;
    position: relative;
    z-index: 6;
}

.s-input input[type="text"] {
    width: calc(100% - 210px);
    background: none;
    color: #fff;
    border-bottom: #fff solid 2px;
}

.s-input input[type="text"]::placeholder {
    color: #fff;
}


/* header {
    background-color: #eee;
} */

.responsive-menu {
    /* position: relative; */
}

.main-menu,
.main-menu>li>ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0;
}

.main-menu li,
.main-menu>li>ul li {
    font-size: .875rem;
    /* cursor: pointer; */
    list-style: none;
}

.main-menu>li span {
    width: 20px;
    height: 20px;
    margin-left: auto;
    /* background-color: red; */
}

.main-menu>li span:hover {
    color: #fff;
}

.main-menu>li span::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    color: #666;
}

.main-menu>li a {
    display: inline-block;
}


/* .main-menu>li a {
	display: block;
} */

.main-menu>li.active .main-menu>li>ul {
    opacity: 1;
    pointer-events: auto;
    margin-top: 0;
    z-index: 20;
}


/* .main-menu .expand {
	display: none;
} */

.main-menu>li>ul li a {
    display: inline-block;
}

.toggle-menu {
    display: none;
}

.main-menu>li>ul:nth-last-child(2) {
    width: 200px;
    top: auto;
    left: auto;
    transform: translateX(-50px);
}


/* for fixed menu */

.fixed .logo {
    position: fixed;
    left: 20px;
    top: 0;
    width: 288px;
    z-index: 101;
    transform: translateY(0);
}

.fixed .search span:nth-of-type(1) {
    border-color: #0A1B35;
}

.fixed .search span:nth-of-type(2) {
    background-color: #0A1B35;
    border-radius: 20px;
}

.fixed .menu span i {
    background-color: #0A1B35!important;
    border-radius: 20px;
}

.fixed .menu {
    color: #0A1B35
}


/* end */

header {
    /* background: #333333; */
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
}

nav {
    display: inline-block;
    vertical-align: middle;
    /* position: relative; */
    /* background: #333333; */
    font-size: 1rem;
    box-sizing: border-box;
    width: 85%;
}

.toggle-menu {
    color: #ffffff;
    padding-right: 1rem;
    float: right;
}

.toggle-menu span {
    display: inline-block;
    vertical-align: middle;
    padding-left: 0.3rem;
}

.toggle-menu svg {
    display: inline-block;
    vertical-align: middle;
}

.logo0 {
    max-width: 225px;
    z-index: 82;
    transform: translateY(0px);
    position: relative;
}

.logo {
    display: inline-block;
    vertical-align: middle;
    color: #ffffff;
    font-size: 2rem;
    padding: 0.8rem 1rem;
    box-sizing: border-box;
    width: 280px;
}

.logo img,
.logo0 img {
    width: 100%;
    height: auto;
}

.main-menu>li>ul {
    background: rgba(255, 255, 255, .95);
    border-radius: 10px;
    box-shadow: 0px 20px 60px rgb(0 0 0 / 20%);
}


/* .main-menu>li {
    padding: 1rem 2rem;
} */

.main-menu .gapline::after {
    content: "";
    border-right: #eee solid 1px;
    height: 15px;
    width: 1px;
    transform: translateX(1.75vw);
    display: inline-block;
}

.main-menu>li>ul {
    padding: 1rem;
}

.main-menu li a {
    color: #440d75;
    text-decoration: none;
}

.main-menu li ul a {
    transform: translateX(0px);
    transition: transform ease .5s, color ease .3s;
    font-size: .75rem;
}

.main-menu li ul a:hover {
    transform: translateX(10px);
    /* color: rgba(255, 255, 255, 0.75) */
    color: #f09233;
}

.main-menu>li>a {
    color: #fff;
    font-weight: 500;
    /* padding: 1.4rem 0; */
}


/* menu */

.menu {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: auto;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 200;
    height: 50px;
    color: #fff;
    gap: 5px;
}

.menu span {
    position: relative;
    display: flex;
    width: 20px;
    height: 20px;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.menu span i {
    border-radius: 20px;
}

.menu span i:nth-of-type(1) {
    transform: translateY(-5px);
    width: 100%;
    height: 3px;
    background-color: #fff;
    transform-origin: center center;
    transition: transform 250ms ease;
}

.menu span i:nth-of-type(2) {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transform-origin: center center;
    transition: transform 250ms ease;
}

.menu span i:nth-of-type(3) {
    transform: translateY(5px);
    width: 100%;
    height: 3px;
    background-color: #fff;
    transform-origin: center center;
    transition: transform 250ms ease;
}

#menu {
    display: none;
}

#menu:checked~.menu {
    color: var(--main-color);
}


/* #menu:checked~.menu span {
background-color: white;
transition: transform 250ms ease;
} */

#menu:checked~.menu span i:nth-of-type(1) {
    transform: translateY(1px) rotate(45deg);
    background-color: var(--main-color)!important;
}

#menu:checked~.menu span i:nth-of-type(2) {
    display: none;
}

#menu:checked~.menu span i:nth-of-type(3) {
    transform: translateY(-2px) rotate(-45deg);
    background-color: var(--main-color)!important;
}

header {
    background: #4f4f72d9;
    min-height: 90px;
}

.nav {
    height: auto;
    width: 100%;
    padding-top: 0px;
    /* position: fixed; */
    left: 0;
    /* top: -126px; */
    /* transition: top 0.2s ease-in-out; */
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 100;
}

#menu:checked~.nav {
    left: 0;
    top: 0;
    box-shadow: 0px 20px 60px rgb(0 0 0 / 20%);
    border-bottom: #eee solid 1px;
}

.nav .main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* position: relative; */
}


/* .nav .main-menu li:hover>a {
	color: var(--main-color);
} */

.main-menu>li>.ul-multiple li {
    margin-bottom: 0;
}

.main-menu li li {
    margin-bottom: 10px;
}

@media only screen and (min-width: 1001px) {
    .main-menu>li>ul {
        opacity: 0;
        pointer-events: none;
        /* margin-top: 20px; */
        transition: ease-out .2s transform;
        position: absolute;
        top: 100%;
        left: auto;
        right: auto;
        width: 100%;
        min-width: 200px;
        text-align: left;
        /* transform: translate(-10px, 10px); */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }
    /* .main-menu>li:nth-child(1)>ul>li:nth-child(1) {
        order: 1;
    }
    .main-menu>li:nth-child(1)>ul>li:nth-child(2) {
        order: 3;
    }
    .main-menu>li:nth-child(1)>ul>li:nth-child(3) {
        order: 2;
    }
    .main-menu>li:nth-child(1)>ul>li:nth-child(4) {
        order: 4;
    }
    .main-menu>li:nth-child(1)>ul>li:nth-child(5) {
        order: 5;
    }
    .main-menu>li:nth-child(1)>ul>li:nth-child(6) {
        order: 6;
    } */
    .main-menu li li {
        margin-bottom: 0px;
        padding: 0;
    }
    .main-menu>li>.ul-multiple {
        width: 100%;
        left: 0!Important;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .main-menu>li>.ul-multiple>li ul li {
        list-style-type: none;
    }
    .main-menu>li>.ul-multiple>li {
        width: 33.33%;
    }
    .main-menu>li>.ul-multiple>li>ul {
        max-height: 350px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 0.5rem 0.5rem 1rem;
    }
    .main-menu>li:hover>ul {
        opacity: 1;
        pointer-events: auto;
        margin-top: 20px;
        z-index: 20;
        left: 0;
        top: auto;
        display: flex;
        justify-content: flex-start;
        column-gap: 3%;
        row-gap: 1rem;
    }
    .main-menu>li:hover>ul>li {
        width: 30%;
    }
}

.main-menu>li ul span {
    display: none;
}

footer {
    position: relative;
    z-index: 90;
}

@media only screen and (max-width: 1000px) {
    header {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        position: sticky;
    }
    header::after {
        content: "";
        background: #4f4f72d9;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 80;
    }
    .logo {
        width: 50%;
        max-width: 185px;
        z-index: 82;
        transform: translateY(0px);
    }
    .menu {
        display: flex;
        margin-left: auto;
    }
    #menu:checked~.nav {
        left: 0px;
        top: 0;
        z-index: 80;
        /* opacity: 1; */
    }
    .nav {
        height: auto;
        max-height: 90vh;
        width: 100%;
        padding-top: 100px;
        background: rgba(48, 48, 89, 0.75);
        /* background: rgb(0 189 212); */
        position: fixed;
        left: 0;
        top: -100%;
        transition: top 0.2s ease-in-out;
        overflow-y: auto;
        box-shadow: 0px 20px 60px rgb(0 0 0 / 20%);
        padding-bottom: 30px;
    }
    .nav .main-menu {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        position: relative;
    }
    .nav .main-menu li,
    .nav .main-menu li a {
        width: 100%;
    }
    .main-menu>li ul {
        display: none;
        position: unset;
        opacity: 1;
        width: 100%;
    }
    .main-menu>li.active>ul {
        display: unset!important;
        max-height: 150px;
        overflow: auto;
    }
    .main-menu>li>ul {
        background: rgba(255, 255, 255, .05);
    }
    .main-menu li {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        padding: .2rem 1rem;
    }
    .main-menu>li span::after {
        color: #fff
    }
    .main-menu>li a {
        color: #fff;
        width: calc(100% - 5px)!important;
        padding: 0
    }
    .search-box {
        width: 100%;
        margin-bottom: .5rem;
        position: relative;
        z-index: 81;
    }
    .main-menu>li>ul {
        /* transform: translate(-10px, 10px); */
    }
    /* .main-menu .close {
		height: 0;
		opacity: 0;
		padding: 0;
		transition: opacity .3s, height .5s ease-out;
		display: none;
	} */
    .main-menu .open {
        height: auto;
        padding: 1rem;
        opacity: 1;
    }
    .main-menu>li span.active {
        transform: rotate(180deg);
        transition: transform .3s ease;
    }
    .main-menu>li span:active::after {
        color: #fff;
    }
    .main-menu>li span.active::after {
        color: #fff;
    }
    .main-menu>li ul span {
        display: inline-block;
    }
    .menu {
        display: flex;
    }
    .main-menu .d-none,
    .main-menu .gapline::after {
        display: none!important;
    }
    .menu {
        display: flex;
    }
}


/* index strat */


/* banner start */

.banner {
    /* height: calc( 100vh - 170px); */
    height: 100%;
    /* min-height: 768px; */
}


/* banner end */

#about {
    height: 50vh;
    display: flex;
    align-items: center;
    padding-bottom: 3.1rem;
    background: none;
    background-size: cover;
    background-position: center center;
    transition: background .3s ease;
    position: relative;
    z-index: 90;
}

#about:hover {
    background-size: cover;
    background-position: center center;
    /* background: url(../../static/images/about-bg.png); */
}

.showlist {
    overflow: hidden;
}

.showlist .swiper-slide>div {
    border-radius: var(--border-radius);
    color: #fff;
    padding: 1rem!important;
    height: 285px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-direction: column;
    justify-content: space-between;
    display: flex;
}

.showlist .swiper-slide>div:hover {
    justify-content: end;
}

.showlist .swiper-slide>div h3 {
    transform: translateY(90px);
    transition: all ease .6s;
    font-size: 1.5rem;
}

.showlist .swiper-slide>div:hover h3 {
    transform: translateY(0);
    height: calc( 100% - 130px)
}

.showlist .swiper-slide>div p {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    padding: 15px 15px 15px 15px;
    color: #333;
    margin: 0;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all ease .6s;
    /* height: 113px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical; */
    line-height: 1.3;
}

.showlist .swiper-slide>div:hover p {
    opacity: 1;
    transform: translateY(0);
}

#about .rightbox {
    border-radius: var(--border-radius);
    background: var(--light-color);
    /* border: var(--main-color) solid 1px; */
    width: 100%;
    height: 100%;
    color: #fff;
}


/* index end */


/* menu hack */

.main-menu>li:nth-last-child(2)>ul {
    width: 200px;
    top: auto;
    left: auto;
    transform: translateX(-50px);
}

.main-menu>li:nth-last-child(2)>ul>li {
    width: 100%
}

.nohref {
    cursor: default;
}

.main-menu>li>ul .nohref:hover,
.main-menu>li>ul .nohref {
    color: #440d75
}