/* Medium Layout 1280px */

@media only screen and (min-width: 1100px) and (max-width: 1280px){

    

}



@media only screen and (min-width: 981px) and (max-width: 1099px){
    .top_search input[type="text"] {
        width: 85%;
    }

    .mainmenu {

        height: auto;

    }

    #slider .slides img {

        max-height: 450px;

        width: auto;

        margin: 0 auto;

    }

    .product-item-img {

        height: 200px;

        max-width: 100%;

        background-size: contain;

        background-repeat: no-repeat;

    }

    .member-item-img-wrapper {

        max-height: inherit;

        max-width: 100%;

        overflow: hidden;

        margin: 0 auto;

        float: none;

    }

}



@media only screen and (min-width: 768px) and (max-width: 980px){
    .xs-navbar-toggler{
        display: block;
    }
    #menu_area{
        margin-top: 0;
        clear: both;
    }

    .mainmenu {
        margin-top: 0px !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        color: #fff;
        height: auto !important;
    }

    .mainmenu>button{
        color: #fff !important;
        background-color: #fff !important;
    }

    .mainmenu #navbarSupportedContent>.navbar-nav {

        display: block !important;

    } 

    .mainmenu #navbarSupportedContent.show>.navbar-nav li{

        display: block !important;

    }

    #footer .module-body ul>li>a, #footer .module-title {

        text-align: center;

    }

    .copyright-bar ul>li>a{

        text-align: center;

    }

    #home-slider .carousel-caption, #home-slider .slide-btn{

        display: none !important; 

    }

    img#homeLogo{

        margin: 0 auto;

        display: block;

    }

    #top-nav>.navbar.fixed-top>.container>.row{

        width: auto !important; 

    }

    .product-item-img {

        height: 240px;

        max-width: 100%;

        background-size: contain;

        background-repeat: no-repeat;

        background-position: center;

    }

    .banner.style-7 .text-3 {

        font-size: 14px;

    }

    .modal-open .modal {

        z-index: 99999;

    }

    section#home-slider .carousel-item>img {

        max-height: 300px;

        min-height: 300px;

        width: auto !important;

        max-width: 100%:;

        margin: 0 auto;

    }

    #home-slider .carousel-control-prev, #home-slider .carousel-control-next {

        width: 25px;

        background: #000000 !important;

        height: 40px;

        top: 50%;

    }

    a#pop_product_detail {

        margin-top: 10px;

    }

    .query_tel {

        text-align: center;

    }

    .copyright-bar .payment-methods ul li {

        margin-right: 5px;

    }

    .copyright-bar .payment-methods>ul>li>img {

        max-width: 23px;

    }

    .checkout-CartTable .CartDescription {

        padding-left: 15px;

        width: 100%;

    }

    .list_cotent .product-item-img {

        background-size: contain;

    }

    .cart_product_wrapper {

        float: none;

        margin-bottom: 12px;

        text-align: left;

        margin-left: 15px;

    }

    .member-item-img-wrapper {

        max-height: inherit;

        max-width: 100%;

        overflow: hidden;

        margin: 0 auto;

        float: none;

    }

}



/* Mobile Layout 320px */

@media only screen and (min-width: 320px) and (max-width: 767px){
    .xs-navbar-toggler{
        display: block;
    }
    #menu_area{

        margin-top: 0;

        clear: both;

    }

    .mainmenu>button{
        color: #fff !important;
        background-color: #fff !important;
    }

    .mainmenu #navbarSupportedContent>.navbar-nav {

        display: block !important;

    } 

    .mainmenu #navbarSupportedContent.show>.navbar-nav li{

        display: block !important;

    }

    #footer .module-body ul>li>a, #footer .module-title {

        text-align: center;

    }

    .copyright-bar ul>li>a{

        text-align: center;

    }

    #home-slider .carousel-caption, #home-slider .slide-btn{

        display: none !important; 

    }





    img#homeLogo{

        margin: 5px auto;

        display: block;

    }

    #top-nav>.navbar.fixed-top>.container>.row{

        width: auto !important; 

    }

    .product-item-img {

        height: 240px;

        max-width: 100%;

        background-size: contain;

        background-repeat: no-repeat;

        background-position: center;

    }

    .banner.style-7 .text-3 {

        font-size: 14px;

    }

    .modal-open .modal {

        z-index: 99999;

    }

    section#home-slider .carousel-item>img {

        max-height: 300px;

        min-height: inherit;

        width: auto !important;

        max-width: 100%;

        margin: 0 auto;

    }

    #home-slider .carousel-control-prev, #home-slider .carousel-control-next {

        width: 25px;

        background: #000000 !important;

        height: 40px;

        top: 50%;

    }

    .cart_product_wrapper {

        float: none;

    }

    .CartTable .table-bordered td {

        text-align: center !important;

    }

    .checkout-cart-footer .col-xl-6{

        text-align: center !important;

    }

    .product-company-info>h4 {

        text-align: center;

    }

    .product-details-price {

        text-align: center;

    }

    ul.sidebar_color_list, ul.color_list, ul.size_list, ul.sidebar_size_list, ul.tag_list, ul.sidebar_tag_list {

        justify-content: center;

    }

    .xs-text-center{

        text-align: center !important;

    }

    .product-details-cart-btn {

        margin-top: 25px;

        text-align: center;

        width: 100%;

        margin-bottom: 25px;

    }

    .product-details-cart-btn .add_to_cart_btn {

        margin: 0 auto;

        float: none !important;

        display: block;

    }

    .social-share {

        text-align: center;

    }

    .rating-section {

        text-align: center;

    }

    .rating-section {

        margin-bottom: 20px;

    }

    .rating-section .rateYo, #modal_product_rating {

        margin: 10px auto 10px auto;

        float: none;

        width: 100% !important;

        text-align: center;

    }

    .product-details-review {

        float: none !important;

        text-align: center;

    }

    .qtn-section{

        max-width: 200px;

        margin: 10px auto;

    }

    a#pop_product_detail {

        margin-top: 10px;

    }

    .query_tel {

        text-align: center;

    }

    .list_cotent .product-item-img {

        background-size: contain;

    }

    .popover{

        max-width: 100% !important;

        width: auto; 

    }

    .rating-count{

        margin-bottom: 15px;

    }

    .cart_product_wrapper {

        float: none;
        margin-bottom: 12px;

    }

    ul.toggle-footer .media-body, ul.toggle-footer .float-left {

        display: block;

        width: 100%;

        clear: both;

        text-align: center;

    }

    .copyright-bar .social>ul {

        text-align: center;

    }

    .copyright-bar .social>ul>li {

        float: none !important;

    }

    .copyright-bar .payment-methods {

        text-align: center;

        margin-top: 10px;

    }

    .cart .dropdown-menu {

        left: -50px !important;

    }

    .dropdown:hover > .dropdown-menu {
        display: initial;
    }

}

/*Mobile view only*/ 
@media only screen and (min-width: 320px) and (max-width: 980px){
    .xs-nav-holder{
        margin: 0;
        width: 100%;
    }
    .accessory-icon {
        padding: 0;
        line-height: 60px;
        font-size: 24px;
        background: transparent;
        border: 0;
        color: #fff;
    }
    .accessory-icon:focus{
        outline: 0 !important;
        box-shadow: none;
    }
    a.main-navbar-brand {
        padding: 0;
    }
    .xs-navbar-toggler{
        color: #fff !important;
        background-color: #fff !important;
    }
    button.btn.xs-navbar-toggler {
        margin-top: 10px;
    }
    .xs-dropdown-menu-right{
        right: 0;
        left: auto;
    }
    .xs-dropdown-menu-right .dropdown-item>span{
        margin-right: 10px;
    }
    .mainmenu {
        margin-left: 0px !important;
        margin-right: 0px !important;
        margin-top: 0px !important;
        color: #fff;
        height: auto !important;
    }
    #top-nav>.fixed-top {
        display: none;
    }
    .xs-top-cart-btn {
        height: 40px;
        color: #333;
        padding: .375rem 1.5rem;
        font-size: 18px;
        background: #fff;
        border-left: 1px solid #ced4da;
        border-bottom: 0;
    }
    .xs-top-cart-btn .cart_count {
        right: 5px;
        background: #388b3e;
        top: 0px;
    }
    .slider_loader{
        position: relative;
        z-index: 99999;
        height: 100%;
        width: 100%;
        text-align: center;
        vertical-align: middle;
        background-color: rgba(0, 0, 0, 0.87);
        color: #fff;
        top: 0;
        left: 0;
        min-height: 155px;
        padding-top: 15%;
    }
    .slider_loader i {
        color: #fff;
        font-size: 40px !important;
    }
    #top_search_button{
        background: #fff;
        border: 1px solid #ced4da;
        border-left: 0;
    }
    .section-title {
        text-align: center;
        color: #388b3e;
    }
    .product-list-rating .rate-arrow{
        display: none;
    }
    .product-list-rating .rateYo {
        float: none;
    }
    #top-category .card-header-tabs li {
        display: block;
        width: 100%;
    }
    .social ul li {
        margin-right: 0px;
        margin-left: 0px;
    }
    .product .image{
        max-height: 200px;
    }
    .product-item-img {
        height: 200px;
    }
    /* #related-product .slides>li {
        height: 180px;
        width: 155px !important;
    }
    #related-product ul>li>a>img {
        max-height: 140px;
        height: 140px;
    } */
    #detailsSlider ul.flex-direction-nav {
        display: block; 
    }
    .flex-direction-nav a {
        display: block;
        width: 40px;
        height: 50px;
        margin: -70px 0 0;
    }
    #xs-details-cart-btn {
        position: fixed;
        bottom: 0px;
        left: 0;
        right: 0;
        background-color: #dddddd;
        height: 40px;
        width: 100%;
        z-index: 99999;
        display: block;
    }
    #xs-details-cart-btn .input-group{
        width: 80%;
        height: 40px;
        float: left;
    }
    #xs-details-cart-btn .btn-number{
        height: 40px;
        padding-left: 20px;
        padding-right: 20px;
        background-color: #333;
    }
    #xs-details-cart-btn #product_quantity{
        height: 40px;
        font-size: 18px;
        color: #333;
    }
    .add-cart-btn, .add-wishlist-btn{
        float: left;
        height: 40px;
        width: 20%;
        font-size: 20px;
        color: #ffffff;
        background-color: #388b3e;
    }
    #details-add-cart{
        display: none;
    }
    .product-details-cart-btn{
        display: none;
    }
    #detailsCarousel.flexslider{
        display: none;
    }
    div#detailsSlider {
        border: 1px solid #dde1e5;
    }
}
