@import "global_setting.css";

/* element */
.l_index_banner--element {
    position: absolute;
    width: 100%;
    padding-top: 250px;
    z-index: 100;
    pointer-events: none;
}

.l_index_banner--element img {
    width: 100%;
}

/* banner  */

.l_index_top--wrap{
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

.l_index_banner--link img{
    width: 100%;
}

.l_index_search{
    position: absolute;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    height: 60px;
    width: 80%;
    max-width: 890px;
    margin-top: -30px;
    margin-right: auto;
    margin-left: auto;
    padding: 6px;

    background: white;
    box-shadow: 0px 10px 25px rgba(64, 93, 162, 0.25);
    border-radius: 4px;
    z-index: 50;
}

.l_index_search--inner{
    display: flex;
    align-items: center;
    width: 100%;
}

.l_index_search--dropdown-menu{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    width: 20%;
}

.l_search_dropdown{
    height: 100%;
    width: 100%;
}

#l_search_dropdown-menu{
    height: 100%;
    width: 100%;
    color: var(--gray-600);
}

.l_search_dropdown-menu-expand{
    width: 20%;
    margin-top: 24px;
    padding: 8px;
    border: none;
    box-shadow: 0px 10px 25px rgba(64, 93, 162, 0.25);
}

.dropdown-item{
    color: var(--gray-600);
    text-align: center;
    border-radius: 4px;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: var(--primary-600);
}

.l_index_search--input{
    width: 80%;
    margin-left: 16px;
    padding: 0px 24px;
    border-left: 1px solid var(--gray-300);
}

.l_index_search--input input{
    height: 80%;
    width: 100%;
    border: none;
}

.l_index_search--input input:focus{
    box-shadow: none;
}

.l_index_search--button{
    height: 48px;
    width: 48px;
    background: var(--primary-600);
    border: none;
    border-radius: 4px;
}

.l_index_search--button:hover{
    background: var(--primary-500);
}

.l_index_search--button img{
    height: 24px;
    width: 24px;
    margin: auto;
}

.l_index_keyword{
    display: flex;
    justify-content: center;
    margin-top: 52px;
    color: var(--primary-600);
}

.l_index_keyword a{
    margin: 0px 8px;
    color: var(--primary-600);
}

.l_index_keyword a:hover{
    color: var(--primary-500);
}

.l_index_shortcut{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
    padding: 8px 0px;
    gap: 48px;

    background: var(--primary-50);
    border-radius: 8px;
}

.l_index_shortcut-item{
    display: flex;
    flex-direction: column;
    align-items: center;

    color: var(--gary-600);
    transition: transform 300ms;
}

.l_index_shortcut-item:hover{
    color: var(--gary-600);
    transform: translateY(-4px);
    transition: transform 300ms;
}

.l_index_shortcut-item img{
    height: 32px;
    width: 32px;
    margin-bottom: 4px;
}

/* section */
.l_index_section-wrap{
    padding: 48px 0px;
}

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

.l_index_title-left{
    display: flex;
    align-items: center;
}

.l_index_title-left p{
    color: var(--gray-800);
    margin-right: 5rem;
}

.l_index_title-link{
    display: flex;
    align-items: center;
    color: var(--primary-600);
}

.l_index_title-link:hover{
    color: var(--primary-600);
    opacity: 80%;
}

.l_index_title-link img{
    margin-left: 8px;
}

/* event button */
.l_index_tabs{
    display: flex;
    align-items: center;
    gap: 24px;
}

.l_index_tabs-item-active p, .l_index_tabs-item p{
    margin: 4px 12px;
}

.l_index_tabs-underline-active, .l_index_tabs-underline{
    border-bottom: 3px solid var(--primary-600);
    border-radius: 5px 5px 0px 0px;
}

.l_index_tabs-item-active p{
    color: var(--gray-800);
}

.l_index_tabs-item p{
    color: var(--gray-500);
}

.l_index_tabs-underline{
    opacity: 0%;
}

.l_index_tabs-item:hover p{
    color: var(--gray-800);
}

.l_index_tabs-item:hover .l_index_tabs-underline{
    opacity: 100%;
}

/* carousels */

.slider .slider--body .slider--carousels {
    display: flex;
    align-items: center;
    position: relative;
}

.slider .slider--body .slider--carousels-prev {
    height: 42px;
    width: 42px;
    border-radius: 50px;
    background-color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -21px;
    z-index: 9;
    cursor: pointer;
}

.slider .slider--body .slider--carousels-prev img {
    height: 10px;
    width: 10px;
}

.slider .slider--body .slider--carousels-next {
    height: 42px;
    width: 42px;
    border-radius: 50px;
    background-color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -21px;
    z-index: 9;
    cursor: pointer;
}

.slider .slider--body .slider--carousels-next img {
    height: 10px;
    width: 10px;
}

.slider--carousels-prev:hover, .slider--carousels-next:hover{
    background-color: var(--primary-500) !important;
}

.owl-dots{
    display: none;
}

/* download */
.l_index_download-wrap{
    width: 100%;
    margin-top: 48px;
    background-position: center;
    background-image: url(../images/index/l_index_bg.svg);
}

.l_index_download-img img{
    width: 100%;
}

.l_index_download-inner{
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.l_index_download-content h5{
    color: var(--primary-600);
    margin-bottom: 24px;
}

.l_index_download-content p{
    color: var(--gray-800);
    margin-bottom: 32px;
}

.l_index_download-content a{
    height: auto;
    margin-right: 16px;
    transition: transform 300ms;
}

.l_index_download-content img{
    transition: transform 300ms;
}

.l_index_download-content img:hover{
    transform: translateY(-4px) !important;
    transition: transform 300ms;
}

/* rwd -tablet */
@media screen and (max-width:1024px) {
    .l_index_download-wrap{
        display: none;
    }
}

/* mobile */

.m_search_wrap{
    padding: 0px 20px;
    padding-top: 20px;
}

.m_index_search{
    display: flex;
    align-items: center;
    background-color: var(--primary-50);
    border-radius: 50px;
}

.m_index_search--dropdown-menu{
    padding: 0px 16px;
}

#m_search_dropdown-menu{
    color: var(--primary-600);
}

.m_search_dropdown-menu-expand{
    margin-top: 8px;
    padding: 8px;
    border: none;
    box-shadow: 0px 10px 25px rgba(64, 93, 162, 0.25);
}

@media screen and (max-width:768px)
 {
    .dropdown-menu{
        min-width: 5rem;
    }
}

.m_index_search--input{
    display: flex;
    align-items: center;
}

.m_index_search--input img{
    height: 20px;
    margin-right: 8px;
    padding-left: 12px;
    border-left: 1px solid var(--primary-200);
}

.m_index_search--input input{
    width: 100%;
    border: none;
    background-color: var(--primary-50);
}

.m_index_search--input input:focus{
    background-color: var(--primary-50);
    border: none;
    box-shadow: none;
}

/* mobile shortcut*/
.m_index_shortcut{
    position: relative;
    margin: 24px 0px;
}

.m_index_shortcut--arrow{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    height: 100%;
    width: 5.0rem;

    background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.m_index_shortcut--arrow img{
    margin:auto;
    height: auto;
    max-width: 100%;
}

.m_index_shortcut-scrollbar{
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 0px 56px 0px 24px;
    overflow: auto;
    white-space: nowrap;
}

.m_index_shortcut-scrollbar::-webkit-scrollbar{
    display: none;
}

.m_index_shortcut-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m_index_shortcut-item, .m_index_shortcut-item:hover{
    color: var(--gary-600);
}

.m_index_shortcut-img{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    background-color: var(--primary-50);
    border-radius: 50px;
}

.m_index_shortcut-img img{
    height: 32px;
    width: 32px;
}

/* mobile banner */
.m_index_banner-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 240px;
    padding: 4px 16px 16px 16px;
}

.m_index_banner{
    box-shadow: 0px 4px 10px rgba(64, 93, 162, 0.25);
    border-radius: 8px;
}

.m_index_banner img{
    height: 100%;
}

/* mobile banner tabs */
.m_index_tabs-list{
    position: sticky;
    top: 0;
    padding: 4px 24px 0px 24px;
    background-color: white;
    border-bottom: 1px solid var(--primary-200);
    z-index: 1000;
}

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

.m_index_tabs-item-active, .m_index_tabs-item{
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 8px 12px;
}

.m_index_tabs-item-active{
    color: var(--gray-800);
    border-bottom: 2px solid var(--primary-600);
}

.m_index_tabs-item{
    color: var(--gray-500);
}

/* mobile content */
.m_index_content{
    height: auto;
    min-height: 100vh;
    padding: 16px;
    background-color: var(--primary-50);
}

.m_index_event-filter{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.m_index_event-filter .body2{
    color: var(--gray-600);
}

.event-filter-toggle-inner input{
    opacity: 0%;
    width: 0;
    height: 0;
}

.m_index_event-filter-toggle{
    padding: 0px 20px;
    width: 68px;
}

.event-filter-toggle {
   position: absolute;
   cursor: pointer;
   height: 25px;
   width: 46px;
   border-radius: 50px;
   background-color: var(--primary-200);
   -webkit-transition: .4s;
   transition: .4s;
}

.event-filter-toggle:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    top: 2px;
    bottom: 2px;
    border-radius: 50px;
    background-color: white;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.21);
    -webkit-transition: .4s;
    transition: .4s;
}
.event-filter-toggle:before:after{
    background-color: white;
}

input:checked + .event-filter-toggle {
    background-color: var(--primary-600);
}

input:focus + .event-filter-toggle {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .event-filter-toggle:before{
    background-color: white;
    border-color: #111;
    transform: translateX(20px) rotate(350deg);
    color: #fff;
}
