/*
 Theme Name:     Divi child Theme
 Description:    Divi Child Theme
 Author:         Firstcom Solutions
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

#homepage-featured-courses .products .product .wrapper{
    display: flex;
    flex-direction: column;
}

.swal-modal .swal-footer{
    text-align: center;
}

.swal-button.swal-button--confirm{
    background: #004a78 !important;
    border-radius: 0 !important;
    border: 1px solid #004a78 !important;
    color: #fff;
}

body .custom-pagination span:hover, body .custom-pagination span.current, .woocommerce-pagination span.current, .woocommerce-pagination a.current {
    color: #fff !important;
    opacity: 1 !important;
    background: #004a78 !important;
}

.swal-button:focus{
    box-shadow: 0 0!important;
}

#wpcf7-f5-p23-o1 .wpcf7-response-output{
    display: none !important;
}

#homepage-featured-courses .products .product .wrapper .custom-div {
    margin-bottom: 0rem!important;
}

#homepage-featured-courses .products .product .wrapper .links{
    margin: auto auto 1rem!important;
    position: relative!important;
    transform: none!important;
    left: inherit!important;
    bottom: inherit!important;
}

#homepage-featured-courses .products .product .btn-register{
    width: auto !important;
}

.et_pb_post.not_found{
    min-height: 350px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.woocommerce-terms-and-conditions-checkbox-text{
    margin-left: 1rem;
}

_:-ms-fullscreen, :root #services-listing .services-container .services .boxes .box .image{
    display: block;
}

.woocommerce #content-area .single-product-container .product-info .entry-summary .xoo-wl-btn-container .xoo-wl-inline-form .xoo-wl-form .xoo-aff-fields .xoo-aff-group .xoo-aff-input-group .xoo-aff-required{
    line-height: 12px!important;
}

_:-ms-fullscreen, :root .woocommerce #content-area .single-product-container .product-info .entry-summary .xoo-wl-btn-container .xoo-wl-inline-form .xoo-wl-form .xoo-aff-fields .xoo-aff-group .xoo-aff-input-group .xoo-aff-required{
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

_:-ms-fullscreen, :root .events-wrapper .custom-grid .events-container .boxes .info{
    display: block;
}

.woocommerce #content-area .single-product-container .entry-summary .btn-register:not(:last-of-type){
    display: none!important;
}

.woocommerce #content-area .single-product-container .product-info .entry-summary .xoo-wl-btn-container .xoo-wl-inline-form .xoo-wl-form .xoo-wl-submit-btn{
    padding-top: 9px!important;
    padding-bottom: 9px!important;
}

.woocommerce #content-area .related.products .products{
    display:block!important;
}

.woocommerce #content-area .related.products .products .product .woocommerce-LoopProduct-link:focus{
    outline: 0;
}

.woocommerce #content-area .related.products .products .product{
    width: 100%!important;
}

.form-row.create-account .input-checkbox{
    float: left !important;
    margin: 8px 0 !important;
}

.form-row.create-account span{
    margin-left: 20px !important;
}

body #main-header .et_menu_container #et-top-navigation #mobile_menu {
    top: 80px;
}

#post-135 .return-to-shop{
    margin-top: 2rem;
}

.woocommerce-form__label-for-checkbox, .wc_payment_method label{
    cursor: pointer;
}

.wc_payment_method.payment_method_omise{
    display: flex;
    align-items: baseline;
}

.wc_payment_method.payment_method_omise label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.wc_payment_method.payment_method_omise label img{
    width: 55px!important;
    float: left;
    margin: -2px 0 0 1em!important;
}

#page-container{
    margin-top: 0 !important;
}

#left-area .shoppage-container ul.products{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-column.woocommerce-column--shipping-address{
    margin-top: 2rem;
}

.woocommerce #content-area .single-product-container .product-info .images{
    display: block !important;
}

body #content-area .woocommerce-orders-table tbody tr td .woocommerce-button{
    margin-left: 1rem;
}

body #content-area .woocommerce-orders-table tbody tr td .woocommerce-button:first-child{
    margin-left: 0;
}

.subsidy-single-wrapper .et_pb_section{
    padding: 0 !important;
    background-color: transparent!important;
    margin-bottom: 4rem;
    display: none;
}

.subsidy-single-wrapper{
    margin-top: 2rem;
}

.subsidy-single-wrapper .et_pb_section .et_pb_row{
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.et_pb_button_module_wrapper .et_pb_button{
    font-weight: 500!important;
    font-size: calc(14px + (14 - 12) * (100vw - 375px) / (1900 - 375))!important;
    padding: 9px 12px !important;
}

@media (min-width: 360px){
    .wc_payment_method.payment_method_omise label > img:first-child {
        margin-left: 3em!important;
    }
}

@media (min-width: 375px){
    .wc_payment_method.payment_method_omise label img {
        width: 65px!important;
    }
}

@media (min-width: 412px){
    .wc_payment_method.payment_method_omise label > img:first-child {
        margin-left: 5em!important;
    }
}

@media (min-width: 540px){
    .wc_payment_method.payment_method_omise label > img:first-child {
        margin-left: 1em!important;
    }
}

@media (max-width: 767px){
    .woocommerce #content-area .single-product-container .product-info .entry-summary .xoo-wl-btn-container .xoo-wl-inline-form .xoo-wl-form .xoo-aff-fields .xoo-aff-group .xoo-aff-input-group .xoo-aff-required {
        padding: 10px 15px!important;
        width: 150px!important;
        min-width: 150px!important;
    }
}

@media (min-width: 768px){
    .subsidy-single-wrapper {
        margin-top: 2.5rem;
    }
    
    .subsidy-single-wrapper .et_pb_section{
        margin-bottom: 5rem;
    }
}

@media (max-width: 991px){
    .subsidy-single-wrapper .et_pb_section:nth-child(even) .et_pb_row .et_pb_column.et_pb_column_1_2:first-child{
        order: 2;
        margin-bottom: 0 !important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(even) .et_pb_row .et_pb_column.et_pb_column_1_2:last-child{
        margin-bottom: 30px !important;
    }
}

@media (min-width: 992px){
    
    #main-content .shoppage-container .woocommerce-ordering .orderby{
        min-width: 200px!important;
    }
    
    .subsidy-single-wrapper .et_pb_section .et_pb_row .et_pb_column.et_pb_column_1_2{
        width: 50% !important;
        margin-right: 0 !important;
    }
    
    body #main-header .et_menu_container #et-top-navigation #top-menu li .sub-menu{
        margin-top: 19.1rem!important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(odd) .et_pb_row .et_pb_column.et_pb_column_1_2:last-child{
        padding-left: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    #homepage-testimonials .slick-slide p.author{
        position: relative;
        z-index: 4;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(even) .et_pb_row .et_pb_column.et_pb_column_1_2:first-child{
        padding-right: 2rem;
    }
    
    .subsidy-single-wrapper .et_pb_button_module_wrapper{
        margin-top: 2.5rem;
    }
}

@media (min-width: 1200px){
    .subsidy-single-wrapper .et_pb_section .et_pb_row {
        width: 96% !important;
    }
    #homepage-categories .slick-slider .box .front:before {
        top: -74px!important;
    }
    
    body #main-header .et_menu_container #et-top-navigation #top-menu li .sub-menu {
        margin-top: 23rem!important;
    }
    
    .et_pb_button_module_wrapper .et_pb_button {
        font-size: calc(11px + (14 - 12) * (100vw - 375px) / (1900 - 375))!important;
        padding: 7px 12px !important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(odd) .et_pb_row .et_pb_column.et_pb_column_1_2:first-child{
        width: 46% !important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(odd) .et_pb_row .et_pb_column.et_pb_column_1_2:last-child{
        width: 54% !important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(even) .et_pb_row .et_pb_column.et_pb_column_1_2:last-child{
        width: 46% !important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(even) .et_pb_row .et_pb_column.et_pb_column_1_2:first-child{
        width: 54% !important;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(odd) .et_pb_row .et_pb_column.et_pb_column_1_2:last-child{
        padding-left: 3.5rem;
    }
    
    .subsidy-single-wrapper .et_pb_section:nth-child(even) .et_pb_row .et_pb_column.et_pb_column_1_2:first-child{
        padding-right: 3.5rem;
    }
}

@media (min-width: 1300px){
    body #main-header .et_menu_container #et-top-navigation #top-menu li .sub-menu {
        margin-top: 21.4rem!important;
    }
}

@media (min-width: 1400px){
    .subsidy-single-wrapper .et_pb_section{
        margin-bottom: 6rem;
    }
    
    body #main-header .et_menu_container #et-top-navigation #top-menu li .sub-menu {
        margin-top: 21rem!important;
    }
    
    .et_pb_button_module_wrapper .et_pb_button {
        padding: 9px 12px !important;
    }
    
    #homepage-categories .slick-slider .box .front:before {
        top: -80px!important;
    }
}

@media (min-width: 1600px){
    .et_pb_button_module_wrapper .et_pb_button {
        font-size: calc(12px + (14 - 12) * (100vw - 375px) / (1900 - 375))!important;
    }
    
    #homepage-categories .slick-slider .box .front:before {
        top: -81px!important;
    }
}

@media (min-width: 1900px){
    .et_pb_button_module_wrapper .et_pb_button {
        font-size: calc(14px + (14 - 12) * (100vw - 375px) / (1900 - 375))!important;
        padding: 12px 12px !important;
    }
    
    body #main-header .et_menu_container #et-top-navigation #top-menu li .sub-menu {
        margin-top: 20.4rem!important;
    }
    
    #homepage-categories .slick-slider .box .front:before {
        top: -112px!important;
    }
}

.woocommerce ul.order_details li strong{
    line-height: 30px!important;
}

.our-projects-wrapper .projects-container .boxes .box:hover .image img{
    transform: scale(1.2);
}

.our-projects-wrapper .projects-container .boxes .box .image .wrapper{
    position: relative;
    overflow: hidden;
}

.our-projects-wrapper .projects-container .boxes .box .image img{
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;   
}

@media (min-width: 768px) and (max-width: 1159px){
    .events-wrapper .custom-grid .events-container .boxes {
        width: 100%!important;
        display: block;
    }

    .events-wrapper .custom-grid .events-container .boxes .image .wrapper img{
        width: 100%;
    }
    
    .events-wrapper .custom-grid .events-container .boxes .image {
        width: 100%!important;
        /*margin-bottom: 0!important;*/
        margin-bottom: 1rem !important;
    }
    
    .events-wrapper .custom-grid .events-container .boxes .info{
        width: 100%!important;
        padding-left: 0!important;
    }
    
    .custom-grid {
        width: 60%!important;
        padding-left: 1.5rem!important;
    }
    
        #filter-groups {
        width: 40%!important;
    }
}

@media (min-width: 1200px){
    
    .form-row.create-account .input-checkbox {
        margin: 5px 0 !important;
    }
    .woocommerce-form__input#terms {
        margin-top: 4px!important;
    }
}

@media (min-width: 1400px){
    .woocommerce #content-area .single-product-container .product-info .entry-summary .xoo-wl-btn-container .xoo-wl-inline-form .xoo-wl-form .xoo-wl-submit-btn{
        padding-top: 11px!important;
        padding-bottom: 11px!important;
    }
}

@media (min-width: 1600px){
    .form-row.create-account .input-checkbox {
        margin: 6px 0 !important;
    }
    
    .woocommerce #content-area .related.products .products .product .woocommerce-LoopProduct-link .price .elex-ppct-after-text, .woocommerce #content-area .upsells.products .products .product .woocommerce-LoopProduct-link .price .elex-ppct-after-text {
        font-size: calc(12px + (22 - 16) * (100vw - 375px) / (1900 - 375)) !important;
        margin-top: 0!important;
    }
}

@media (min-width: 1900px){
    
    .woocommerce-form__input#terms {
        margin-top: 10px!important;
    }
    
    .form-row.create-account .input-checkbox {
        margin: 10px 0 !important;
    }
    
    .woocommerce #content-area .related.products .products .product .woocommerce-LoopProduct-link .price .elex-ppct-after-text, .woocommerce #content-area .upsells.products .products .product .woocommerce-LoopProduct-link .price .elex-ppct-after-text {
        margin-top: 2px;
        font-size: calc(13px + (22 - 16) * (100vw - 375px) / (1900 - 375)) !important;
    }

    .woocommerce #content-area .single-product-container .product-info .entry-summary .xoo-wl-btn-container .xoo-wl-inline-form .xoo-wl-form .xoo-wl-submit-btn{
        padding-top: 13px!important;
        padding-bottom: 13px!important;
    }
}

/** Take out the divider line between content and sidebar **/
#main-content .container:before {background: none;}
 
/** Expand the content area to fullwidth **/
@media (min-width: 981px){
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

/** custom css **/
.block { display: block } 
.o-hidden { overflow: hidden }

@media (max-width: 991px) {
    .header-top {
        height: 29px;
    }
    #logo {
       max-width: 110px !important; 
    }
    .et_header_style_left .et-search-form, .et_header_style_split .et-search-form {
        width: 100%!important;
        max-width: 100%!important;
    }
    #main-header > .container {
        height: 50px;
    }
    #et_mobile_nav_menu {
        position: absolute;
        left: 0;
        top: 10px;
    }
    #main-header .logo_container {
        width: 33.33%;
        margin-left: 33.33%;
        text-align:center;
    }
    .et_header_style_left .logo_container a {
        padding: 5px 0;
    }
    #et-top-navigation {
        width: 33.33% !important;
        padding-top: 0 !important;
        align-self: center;
        padding-left: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }
    .et_mobile_menu {
        width: 260px;
        top: 0 !important;
    }
    #main-header .right-container {
        margin-right: 0 !important;
    }
    #main-header {
        position: fixed !important;
        left: 0;
        right: 0;
        top: 0 !important;
    }
    

    #mobile_menu {
        display: block !important;
        max-height: 100vh;
        height: 100%;
        overflow-y: auto;
        right: 0;
        position: fixed;
        -webkit-transition: all 0.2s ease 0s;
        -moz-transition: all 0.2s ease 0s;
        transition: all 0.2s ease 0s;
        -overflow-scrolling:touch!important;
        -webkit-overflow-scrolling:touch!important;
    }
    
    .mobile_nav.closed #mobile_menu {
        -webkit-transform: translateX(-260px);
        -moz-transform: translateX(-260px);
        -ms-transform: translateX(-260px);
        -o-transform: translateX(-260px);
        transform: translateX(-260px);
    }
    
    .mobile_nav.opened #mobile_menu {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
        top: 0 !important;
    }
    
     .mobile_nav:before {
        height: 100vh;
        position: fixed;
        right: 0px;
        top: 0px;
        z-index: 10;
        opacity: 0;
        background: transparent;
        transform: translateX(50%);
        transition: opacity 0.3s;
    }
     .mobile_nav.opened:before {
        content: '';
        width: 100%;
        opacity: 1;
        transform: translateX(0%);
        background: rgba(0,0,0,0.9);
        
    }

}
/*# sourceMappingURL=style.css.map */