﻿html {
    height: auto !important;
}

body {
    min-width: initial;
    /*height: 100vh;*/
    height: auto !important;
    background-repeat: repeat;
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Verdana', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Verdana', sans-serif !important;
}

ul {
    /*margin: 0px !important;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    /*padding-left: 10px;
    padding-right: 10px;*/
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

#main_container {
    margin: 0px;
    padding: 0px;
    width: 100%;
    /*height: 100%;*/
    max-width: 100%;
    /*text-align: center;*/
}

#main_menu {
    display: inline-block;
    text-align: right;
}

    #main_menu li {
        display: inline-block;
        text-align: center;
    }

        #main_menu li a {
            display: block;
            color: rgba(0, 0, 0, 0.8);
            font-size: medium;
            font-weight: bold;
            padding-left: 15px;
            padding-right: 15px;
            padding-top: 20px;
            padding-bottom: 10px;
            text-decoration: none;
            /*border-bottom: 6px solid #0B0B61;*/
        }

#secondary_menu li {
    display: inline-block;
}

    #secondary_menu li a {
        padding: 5px;
    }

#content_container {
    margin: 0 auto;
    overflow: hidden;
    min-width: 66em;
    /*height: 100%;*/
}

.page_subtitle {
    margin-top: 0px;
    text-align: left;
    margin-left: 15px;
    font-size: 15px;
}

#the_content {
    display: inline-block;
    vertical-align: top;
    /*padding-left: 10px;*/
    /*padding-top: 30px;*/
    padding-right: 10px;
    width: 100%;
}

#grid_container {
    margin: auto !important;
}

.noiva {
    font-size: 14px;
}

.back_button {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    display: inline-flex;
    margin-top: 15px;
}

    .back_button:hover {
        text-decoration: none;
        color: white;
    }

.f {
    width: 245px;
    height: 20.5em;
    vertical-align: top;
    /*display: inline-block;*/
    text-align: left;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    padding: 10px;
}

.product {
    width: 245px;
    vertical-align: top;
    text-align: left;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #BBB;
    margin-bottom: 40px;
    padding: 5px;
    padding-bottom: 0;
}

.prod_link {
    width: 100%;
    height: 100%;
    position: absolute;
}

#products_wrap aside:last-child {
    border-right: none;
}

.products_wrap_1 aside {
    /*border-right-color: transparent;*/
    margin-left: auto;
    /*margin-right: auto;*/
    width: 50% !important;
}

    .products_wrap_1 aside > div > img {
        max-width: 100% !important;
    }

    .products_wrap_1 aside:nth-child(even),
    .products_wrap_1 aside:last-child {
        border-right-color: transparent;
        margin-right: auto;
        margin-left: inherit;
    }

.products_wrap_2 aside:nth-child(odd) {
    margin-left: auto;
}

.products_wrap_2 aside:nth-child(even),
.products_wrap_2 aside:last-child {
    border-right-color: transparent;
    margin-right: auto;
    margin-left: inherit;
}

.products_wrap_3 aside:nth-child(3n+3) {
    border-right-color: transparent;
}

.products_wrap_4 aside:nth-child(4n+4) {
    border-right-color: transparent;
}
/*
@media screen and (min-width: 1320px) {
    .products_wrap_4 aside:nth-child(4n+4) {
        border-right: none;
    }
}

@media screen and (min-width: 1083px) and (max-width: 1319px) {
    .products_wrap_4 aside:nth-child(3n+3) {
        border-right: none;
    }
}

@media screen and (min-width: 834px) and (max-width: 1082px) {
    .products_wrap_4 aside:nth-child(2n+2) {
        border-right: none;
    }
}

@media screen and (min-width: 762px) and (max-width: 833px) {
    .products_wrap_4 aside:nth-child(3n+3) {
        border-right: none;
    }
}

@media screen and (min-width: 529px) and (max-width: 761px) {
    .products_wrap_4 aside:nth-child(2n+2) {
        border-right: none;
    }
}

@media screen and (max-width: 528px) {
    .products_wrap_4 aside {
        border-right: none;
    }
}
*/

.product_title {
    height: 3.2em;
    font-weight: bold;
    margin: 0px 0px 0px 5px;
    overflow: hidden;
    position: relative;
    margin-right: -1em;
    padding-right: 1em;
}

.product_image {
    display: block;
    margin: auto;
    max-width: 200px;
    max-height: 140px;
    width: auto;
    height: auto;
}

.prod_variable {
    display: block;
    font-size: 14px;
}

.cart_prod_variable {
    padding-left: 0.25em;
    font-size: 14px;
    margin-bottom: 0px;
}

.a_button {
    display: inline-block;
    padding: 1.25em 1.25em;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 0.25em;
}

    .a_button:hover {
        color: white;
        text-decoration: none;
    }

    .a_button:visited {
        color: white;
        text-decoration: none;
    }

.modal-footer {
    padding: 1.5em 0.5em 1em !important;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

#__ig_wm__ {
    display: none;
}

#grid_groupbyarea {
    display: none;
}

/*IGNITE BG*/
/*.ui-widget-header.ui-state-default {
    background-color: #0098ca !important;
}*/

/*IGNITE BG HOVER*/
/*.ui-widget-header.ui-state-hover {
    background-color: #0085b1 !important;
}*/

/*.ui-widget-header {
    background-color: #0098ca !important;
}*/

/*.ui-state-hover {
    background-color: #18c6ff !important;
}*/

.ui-iggrid th, .ui-iggrid th.ui-state-default {
    border-right: 1px solid white !important;
}


/*
    TOOLTIPS
*/
.tooltip-ts {
    position: relative;
    display: inline-block;
}

    .tooltip-ts .tooltiptext-ts {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }

        .tooltip-ts .tooltiptext-ts::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent black transparent;
        }

    .tooltip-ts:hover .tooltiptext-ts {
        visibility: visible;
    }

/*
    RADIOBUTTONS
*/
.radio-toolbar input[type="radio"] {
    display: none;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #ddd;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.radio-toolbar input[type="radio"]:checked + label {
    background-color: #bbb;
}


/********  AJAX LOADER ***********/
/*********************************/
.ajax-loader {
    visibility: hidden;
    background-color: rgba(255,255,255,0.7);
    position: absolute;
    z-index: +100 !important;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

    .ajax-loader img {
        position: relative;
        top: 40%;
        left: 45%;
    }


/*
    PANTALLA PEQUEÑA
*/
@media (max-width: 800px) {
    #content_container {
        overflow: auto !important;
        min-width: 0 !important;
    }

    #grid_container {
        width: auto !important;
    }

    #the_content {
        width: auto !important;
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #grid {
        width: auto !important;
    }

    .cart_product_regular {
        display: none !important;
    }

    .cart_product_small {
        display: table-row !important;
    }
}

@media (min-width: 801px) {
    #grid {
        width: 100% !important;
    }

    .cart_product_small {
        display: none !important;
    }

    .cart_product_regular {
        display: table-row !important;
    }
}




@media (min-width:576px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-80 {
        width: 80% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-60 {
        width: 60% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-40 {
        width: 40% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .w-sm-20 {
        width: 20% !important;
    }

    .w-sm-auto {
        width: auto !important;
    }
}

@media (min-width:768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-80 {
        width: 80% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-60 {
        width: 60% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-40 {
        width: 40% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .w-md-20 {
        width: 20% !important;
    }

    .w-md-auto {
        width: auto !important;
    }
}

@media (min-width:992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-80 {
        width: 80% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-60 {
        width: 60% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-40 {
        width: 40% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .w-lg-20 {
        width: 20% !important;
    }

    .w-lg-auto {
        width: auto !important;
    }
}

@media (min-width:1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-80 {
        width: 80% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-60 {
        width: 60% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-40 {
        width: 40% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .w-xl-20 {
        width: 20% !important;
    }

    .w-xl-auto {
        width: auto !important;
    }
}

/*.best-seller-sub-product .image a img {
    width: auto!important;
    max-width: 100%;
    max-height: 150px !important;
    margin: auto;
}*/

.category-slider-container {
    padding: 10px 0 !important;
}

.tab-slider-sub-product .image {
    margin-bottom: 20px;
    width: 100%;
    height: 160px !important;
    margin: auto;
}

    .tab-slider-sub-product .image a img {
        width: auto !important;
        max-width: 100%;
        max-height: 150px !important;
        margin: auto;
    }

.best-seller-sub-product .image {
    height: 140px;
}

    .best-seller-sub-product .image a img {
        max-height: 140px !important;
        width: auto !important;
        margin: auto;
    }

@media (min-width:992px) {
    .best-seller-sub-product .image {
        height: 70px;
    }

        .best-seller-sub-product .image a img {
            max-height: 65px !important;
            width: auto !important;
            margin: auto;
        }
}

.quick-view-modal-container .modal-dialog {
    max-width: 600px !important;
}

.nostock-div, .nostock-div-mobile {
    font-size: 12px;
    line-height: 14px;
}

    .nostock-div img {
        height: 70px;
        max-width: 70px;
    }

    .nostock-div-mobile img {
        height: 50px;
        max-width: 50px;
    }

    .nostock-div .splide__slide {
        width: 185px;
    }

    .nostock-div-mobile .splide__slide {
        width: 150px;
    }

    .nostock-div .rel_img_div, .nostock-div-mobile .rel_img_div {
        text-align: center;
    }

    .nostock-div .product_code {
        font-size: 12px;
    }

    .nostock-div .rel_prod_desc_link {
        font-size: 14px;
    }


#modal-solicitar-relacionados .splide__slide {
    width: 150px;
}
