/*============================================ TOPBAR ============================================*/
.layout-topbar-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    float: none;
}
.layout-topbar .topbar-item-top {
    border-left: 1px solid #cdd5e6;
    margin: 0;
    /*width: 107px;*/
    justify-content: center;
    align-items: center;
    padding: 14px 0;
    width: 100%;
}
.topbar-right{
    display:flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    max-width: 375px;
    margin-left: 2em;
}
.icon-topbar {
    height: 23px;
    text-align: center;
    margin-bottom: 14px;
}
.layout-topbar .icon-topbar img {
    height: 100%;
}
.chevronn {
    height: 21px;
    width: 23px;
    clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    background: #0f3587;
    position: relative;
    transform: rotate(180deg);
    margin: auto;
}
.chevronn::after {
    content: '';
    height: 23px;
    width: 25px;
    clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(50% 60%, 0% 100%, 100% 100%);
    background: white;
    position: absolute;
    left: -1px;
}
.topbar-item-top button {
    border: none;
    border-radius: 50%;
    background-color: #123a89;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topbar-item-top button img {
    width: 60%;
}
.layout-topbar .layout-topbar-top {
    align-items: stretch;
    margin: 0;
    padding: 0;
    width: 100%;
}
.layout-topbar-wrap {
    justify-content: space-between;
}
.topbar-item-top .chevronn {
    margin-top: 12px;
    margin-bottom: -13px;
}
.article .icon-topbar img {
    height: 93%;
}
.course .icon-topbar img {
    height: 80%;
    margin-top: 8%;
}
.layout-topbar .topbar-item-top.category {
    position: relative;
}
.layout-topbar .topbar-item-top.category:hover .topbar-category {
    max-height: 1000px;
}
.topbar-category {
    max-height: 0;
    position: absolute;
    overflow: hidden;
    top: 100%;
    background-color: #003884;
    color: white;
    width: max-content;
    z-index: 1;
    transition: 500ms ease 0s;
}
.topbar-category a {
    color: white;
}
.topbar-category ul {
    list-style: none;
    padding: .5em 0;
}
.topbar-category ul li {
    margin: .5em 1em;
}
.topbar-category ul li a:hover {
    color: #ffffff;
}
.topbar-item-top button:hover {
    background-color: rgb(255, 135, 101);
    cursor: pointer;
}
/*#topbar-menu-top {
    width: fit-content;
}*/
.layout-topbar .topbar-item-top:first-child {
    /*border: none;*/
}
.topbar-item-top.cart .icon-cart-pc::before {
    width: 26px;
    height: 26px;
    position: absolute;
    margin: auto;
    image-rendering: -webkit-optimize-contrast;
}
.topbar-item-top.cart .cart-num {
    top: -4px;
    right: -1px;
    min-width: 23px;
    width: 23px;
    height: 23px;
}
.cart-num .dot-cart {
    line-height: 19px;
}
.layout-topbar .topbar-item-top.login {
    border-left: none;
    max-width: 44px;
}
.wrap-topbar-cart {
    position: relative;
}
.layout-topbar .topbar-top{
    padding: .5em 0;
    border-bottom: 1px solid #f1e8e6;
}
.link-contact {
    display: inline-block;
    padding: .45em 2em;
    border: 1px solid;
    border-radius: 7px;
    margin-left: 0;
    color: #535353;
    -webkit-box-shadow: 0 0 4px 2px rgb(0, 0, 0 , 0.07);
    -moz-box-shadow: 0 0 4px 2px rgb(0, 0, 0 , 0.07);
    box-shadow: 0 0 4px 2px rgb(0, 0, 0 , 0.07);
    font-size: 16px;
}
.link-contact:hover{
    background-color: #cdd5e6;
    color: #fff;
    transition: 500ms ease 0s;
}
.link-aidcollege:before {
    content: '';
    border-right: 1px solid #535353;
    border-top: 1px solid #535353;
    transform: rotate( 45deg);
    height: 5px;
    width: 5px;
    margin-right: .5em;
    margin-bottom: 2px;
    display: inline-block;
    font-size: 16px;
}
.link-aidcollege:hover{
    color: #3a88d6;
    transition: 500ms ease 0s;
}
.link-aidcollege {
    color: #535353;
}
.layout-topbar .topbar-bottom{
    padding: 1.3em 0;
}
.topbar-bottom .menu-style {
    padding: .65em;
    color: #fff;
    border-radius: 5px;
    font-size: 15px;
    -webkit-box-shadow: 0 0 4px 2px rgb(0, 0, 0 , 0.07);
    -moz-box-shadow: 0 0 4px 2px rgb(0, 0, 0 , 0.07);
    box-shadow: 0 0 4px 2px rgb(0, 0, 0 , 0.07);
    text-align: center;
}
.topbar-bottom .menu-style:hover{
    opacity: .6;
    transition: 500ms ease 0s;
}
.topbar-bottom .menu-style.menu-1{
    background-color: #f53d8c;
    width: 25%;
    margin-right: 0.5em;
}
.topbar-bottom .menu-style.menu-2{
    background-color: #78c022;
    width: 18%;
    margin-right: 0.5em;
}
.topbar-bottom .menu-style.menu-3{
    background-color: #3a88d6;
    width: 20.5%;
    margin-right: 0.5em;
}
.topbar-bottom .menu-style.menu-4{
    background-color: #fcb23b;
    width: 18%;
}
.topbar-bottom .menu-style.menu-5{
    background-color: #644ca4;
    width: 14%;
    margin-right: 0.5em;
}
.topbar-bottom .menu-style.menuStaff-1{
    background-color: #f53d8c;
    width: 25%;
}
.topbar-bottom .menu-style.menuStaff-2{
    background-color: #78c022;
    width: 21%;
}
.topbar-bottom .menu-style.menuStaff-3{
    background-color: #3a88d6;
    width: 21%;
}
.topbar-bottom .menu-style.menuStaff-4{
    background-color: #fcb23b;
    width: 20%;
}
.layout-topbar-wrap.topbar-new-menu{
    display: flex;
}
.layout-topbar-wrap.topbar-new-menu a{
    flex: 1;
    height: 46px;
}

/*============================================ END TOPBAR ============================================*/

/*============================================ FOOTER ============================================*/
.layout-footer{
    border-top: 1px solid #f1e8e6;
}
.footer-content{
    display: flex;
    /*padding-top: 2em;*/
    align-items: center;
    justify-content: space-between;
    color: #787878;
    width: 90%;
}
.layout-footer .link a{
    text-decoration: underline;
    color: #787878;
}
.topbar-bottom .menu-style.menu-1 p{
    margin-top: 0.2em;
}
.topbar-bottom .menu-style.menu-2 p{
    margin-top: 0.2em;
}
.topbar-bottom .menu-style.menu-3 p{
    margin-top: 0.2em;
    padding: 0 1.9em;
}
.topbar-bottom .menu-style.menu-4 p{
    margin-top: 0.9em;
}
/*============================================ END FOOTER ============================================*/


/*ipad pro*/
@media only screen and (max-width: 1024px) {
    /*============================================ TOPBAR (1024px) ============================================*/
    .layout-topbar-wrap {
        width: 95%;
    }
    /*============================================ END TOPBAR (1024px) ============================================*/


    /*============================================ FOOTER (1024px) ============================================*/

}

/* iPad */
@media screen and (max-width: 768px) {
    /*============================================ TOPBAR (768PX) ============================================*/
    .header-logo img {
        height: 45px;
        width: auto;
    }
    .mobile-top-bar {
        justify-content: space-between;
        height: 62px;
    }
    .layout-topbar .topbar-item-top {
        margin: auto 0;
        width: 33.333%;
        border: none;
        text-align: center;
    }
    .layout-topbar-top {
        flex-wrap: wrap;
    }
    .icon-topbar {
        height: 38px;
    }
    .topbar-item-top .chevronn {
        display: inline-block;
        width: 15px;
        height: 14px;
        margin-bottom: -7px;
        margin-left: 1em;
    }
    .topbar-item-top .chevronn::after {
        width: 17px;
        height: 16px;
    }
    .layout-topbar .layout-topbar-top {
        justify-content: center;
    }
    .topbar-item-top button {
        margin: auto;
    }
    .wrap-topbar-cart {
        display: table;
        margin: auto;
    }
    .topbar-item-top.cart .cart-num {
        top: 12px;
    }
    .layout-topbar .topbar-item-top.cart {
        padding: 0 0 .5em;
        max-width: 90px;
    }
    .layout-topbar .topbar-item-top.login {
        padding: 0 0 .5em;
        max-width: 90px;
    }
    .topbar-bottom .menu-style.menu-1, .topbar-bottom .menu-style.menu-3{
        width: 47%;
        margin-bottom: .6em;
    }
    .topbar-bottom .menu-style.menu-2, .topbar-bottom .menu-style.menu-4{
        width: 46%;
        margin-bottom: .6em;
    }
    .layout-topbar-wrap2 {
        flex-wrap: wrap;
    }

    /*============================================ END TOPBAR (768PX) ============================================*/

    /*============================================ FOOTER (768PX) ============================================*/
    .bottom-link-new a {
        width: 25%;
    }
    .bottom-link-new a:nth-child(6n) {
        width: 25%;
    }
    .footer-btm .bottom-menu li {
        margin: 0.5em 2em 0 0;
    }
    /*============================================ END FOOTER (768PX) ============================================*/
}

/* Smarthphone */
@media screen and (max-width: 40.063em) {
    /*============================================ TOPBAR (SM) ============================================*/
    .header-logo img {
        height: 45px;
    }
    .icon-topbar {
        height: 33px;
    }
    .mobile-top-bar {
        height: 52px;
    }
    .layout-topbar-wrap2{
        display: flex;
        flex-direction: column;
    }
    .topbar-bottom .menu-style.menu-1,
    .topbar-bottom .menu-style.menu-2,
    .topbar-bottom .menu-style.menu-3,
    .topbar-bottom .menu-style.menu-4,
    .topbar-bottom .menu-style.menu-5{
        width: auto;
        margin-bottom: .5em;
        margin-right: 0.5em;
    }
    .link-aidcollege, .link-contact{
        font-size: 14px;
    }
    .link-contact{
        margin-left: 0;
    }
    .layout-topbar-wrap{
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .link-contact {
        padding: .45em 1.5em;
    }
    /*============================================ END TOPBAR (SM) ============================================*/

    /*============================================ FOOTER (SM) ============================================*/
    .footer-content {
        flex-wrap: wrap;
        width: auto;
        padding: 0 1em 1em;
    }
    .wrap-footer-1 {
        flex-flow: column;
        padding-bottom: 15px;
    }
    .bottom-link-new a {
        width: 50%;
    }
    .bottom-link-new a:nth-child(6n) {
        width: 50%;
    }
    .jhia-footer-logo {
        max-width: 195px;
        margin: 0;
    }
    a.link-logo-footer {
        margin-bottom: 1.3em;
    }
    .footer-guide-wrap {
        margin: 1.5em auto 0;
    }
    .footer-guide-wrap img {
        height: 22px;
    }
    .footer-guide-wrap {
        margin-right: auto;
    }
    .footer-guide-wrap .guide:first-of-type {
        margin-left: 0;
    }
    .wrap-bottom-menu {
        flex-flow: column;
        margin: .5em 0 0.5em;
    }
    .footer-sns-wrap {
        margin-top: 2.2em;
        margin-bottom: .7em;
    }
    .bottom-link-new p {
        margin: 0 0.5em;
    }
    .bottom-link-new {
        padding: 0;
    }
    .footer-line {
        padding: 0;
    }
    .footer-btm .bottom-menu li {
        margin: 0.5em 1.5em 0 0;
    }
    .bottom-link-text {
        text-align: center;
        margin-bottom: 2em;
    }
    p.copyright {
        text-align: center;
    }
    /*============================================ END FOOTER (SM) ============================================*/
}