/* Responsive custom CSS goes here */

@media only screen and (max-width: 1280px) {
.HomeBannerSlider {
    height: 440px;
}
.nav-sections {
    top: 24px;
}
}

@media only screen and (max-width:  1200px) {
.nav-sections {
    top: 19px;
}
}

@media only screen and (max-width:  1050px) {
.nav-sections {
    top: 14px;
}
.header-right-icons {
    top: 40px;
}
.minicart-wrapper {
    margin-top: 30px;
}
.HomeBannerSlider {
    height: 330px;
}
}

@media only screen and (max-width:  1024px) {
.nav-sections {
    top: 10px;
    width: auto;
}
.nav-toggle {
    display: block;
}
nav.navigation.ms-megamenu {
    float: left;
    width: 100%;    
    background: #333;
    display: none;
}
.ms-topmenu .ms-label {
    color: #fff !important;
    background: none;
    border: none;
    text-align: left;
}
.ms-topmenu .ms-level0:hover a + span + .ms-submenu {
    display: none !important;
}
.ms-topmenu .ms-level0 .mb-label {
    background: none  !important;
    color: #fff;
    margin: 5px 0 0;
    padding: 0px;
    line-height: 2;
}
.ms-topmenu .ms-level0.first {
    border-top: none !important;
}
.ms-topmenu .ms-label {
    /*padding: 15px !important;*/
   line-height:43px;
}
.ms-topmenu .ms-level0 {
    float: left;
    width: 100%;
    position: relative;
    padding: 0;
}
.ms-topmenu .ms-label {
    /*padding: 15px;*/
}
.ms-level0 .ms-label, .ms-megamenu .mb-label {
    font-size: 15px;
    text-transform: none;
    background: none !important;
    color: #fff !important;
    border: none !important;
}

.section-item-title.nav-sections-item-title.active + .nav-sections-item-content {
    margin-left: 0;
    margin-top: 0;
}
.mb-submenu .parent .col-sub, .lmb-submenu .parent .col-sub {
    /*display: none;*/
}
.ms-megamenu .parent .small {
    float: right;
    top: 10px !important;
    width: 20px;
    position: absolute;
    height: 20px;

    /* background: red; */
}
.ms-megamenu .parent .small::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    border-top: 7px solid #d2d2d2;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    right: 10px;
}
.mb-submenu .ms-category-level .col-category a.form-group {
    color: #d2d2d2 !important;
    border: none !important;
    font-weight: 400 !important;
    font-size: 13px;
    padding: 0px !important;
    margin-bottom: 5px;
}
.ms-megamenu .mb-submenu.slide {
    padding: 0;
    position: relative;
    background: #000;
}

.ms-megamenu .mb-submenu a {
    padding:0;
    color: #f5f5f5 !important;
    width: 100% !important;
    text-align: left !important;
    line-height: 2;
}
.ms-megamenu .mb-submain {
    padding: 15px 0 !important;
    border: none !important;
}
.ms-megamenu .form-group {
    margin-bottom: 0;
}
.mb-maincontent.col-sm-9.col-xs-12 {
    width: 100% !important;
    max-width: 100%;
}
.nav-sections-item-switch::before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 28px;
    line-height: inherit;
    color: #000;
    content: '\e609';
    font-family: 'icons-blank-theme';
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}

.nav-toggle {
    display: none;
}
.logo img {
    max-height: 71px;
    margin: 20px 0 0;
}
.logo {
    margin: 0 0 10px;
}
a.nav-sections-item-switch {
    margin: 0;
    font-size: 0px;
    float: left;
    width: 100%;
}
.nav-sections-item-title {
    display: block !important;
    box-sizing: border-box;
    float: left;
    height: 71px;
    padding-top: 24px;
    text-align: center;
    width: 33px;
    margin: 9px 0 0 117px;
    border: none;
}
.nav-sections-item-content + .section-item-title.nav-sections-item-title {
    display: none !important;
}
}

@media only screen and (max-width:  1024px) {
    .nav-sections-item-content.active .ms-megamenu  {
        display: block;
        position: fixed;
        top: 0;
        left: -100%; /* Hide off-screen to the left */
        width: 80%; /* Adjust width as needed */
        height: 100%;
        background-color: #000; /* Background color */
        z-index: 1000; /* Ensure it is on top of other content */
        transition: left 0.3s ease; /* Smooth transition */
    }

    .HomeBannerSlider {
        height: 377px;
    }
    .nav-sections {
        height: auto !important;
	z-index: 5;
    }
    .logo {
        z-index: 0 !important;
    }
    .field.password .control {
        display: block;
    }
    .customer-account-index .page-main > .page-title-wrapper .page-title {
        padding: 0;
    }

    .page-layout-2columns-left .column.main,
    .page-layout-2columns-right .column.main {
        width: 100% !important;
    }

    .catalog-category-view .sidebar.sidebar-main, .catalogsearch-result-index .sidebar.sidebar-main {
        display: none;
        width: 0;
    }
    .page-products.page-layout-1column .products-grid .product-item {
        width: calc((100% - 6%) / 4) !important;
    }
}


@media only screen and (min-width: 768px) {
    .page-layout-1column .product.media {
        text-align: center;
        padding: 0 15px;
    }
    .ProDetail_right {
        width: 58.33333333%;
    }
    .responsive-input {
        width: 100%;
    }
}

@media only screen and (min-width: 1025px) {
    .ms-megamenu .ms-topmenu {
        margin: 0 5% !important;
    }
    .ms-megamenu .ms-submenu {
        margin: 0 -5% !important;
    }
}

@media (min-width: 769px), print {

    .form-create-account > .fieldset > .field:not(.choice) > .control {
        width: 96%;
    }

    .customer-account-create .columns .form.create.account {
        width: 100% !important;
    }

    .customer-account-create .fieldset-fullname > .fields > .field {
        float: left;
    }

    .customer-account-create .fieldset-fullname > .fields > .field-name-lastname, .customer-account-create .fieldset-fullname > .fields > .field:last-child {
        width: 50%;
    }

    .customer-account-create .address .company, .customer-account-create .address .telephone {
        width: 50%;
        float: left;
    }

    .customer-account-create .address .company .control, .customer-account-create .address .telephone .control{
        width: 98%;
    }

    .customer-account-create .fieldset > .street > .control {
        width: 98% !important;
    }   

    .customer-account-create .fieldset > .password > .control, 
    .customer-account-create .fieldset > .confirmation > .control,
    .customer-account-create .fieldset > .captcha > .control
    {
        width: 45% !important;
    }
    .customer-account-create .country,
    .customer-account-create .region,
    .customer-account-create .city,
    .customer-account-create .zip {
        width: 50%;
        float: left;
    }

    
}

@media only screen and (max-width:  768px) {
    .nav-sections-item-title.active {
        margin: 9px 0 0 97px;
	/*position: fixed;
        top: 20px;
        left: 100px;
        margin: 0;*/
    }
	
   .page-products.page-layout-1column .products-grid .product-item {
        width: calc((100% - 4%) / 2) !important;
    }
}

@media only screen and (max-width:  767.5px) {
    .customer-account-login .columns {
        display: block;
    }
    .category-details {
        width: 100%;
        padding: 0 15px;
    }
    .category-list {
        display: none;
    }
    .page-footer, .page-footer .block-title strong, #mc_embed_signup .mc-field-group label {
        text-align: center !important;
    }
}
