:root {
    --top-bg-color: #202A36;
    --amarillo-color: #FF9E4B;
    --gris-light: #444A52;
    --gris-lightest: #5c636a;
}

body.procure_web {
    --top-bg-color: #015877;
    --amarillo-color: #FF9E4B;
    --gris-light: #063b4f;
    --gris-lightest: #2c6981;
}

main {
    max-width: 100vw;
}

main>.container-fluid {
    padding: 20px 0 20px 0;
    width: 90%;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

body {
    font-family: 'Nunito Sans', sans-serif;
}

header .top {
    background-color: var(--top-bg-color);
    padding: 1% 5%;
    color: white;
}

header .top-menu {
    padding: 0 5%;
}

header .top-menu:not(.sticky-on) .sticky-only {
    display: none;
}

header .top-menu .logo img {
    max-height: 70px;
}

header .top .row {
    align-items: center;
}

header .top a {
    color: inherit;
    text-decoration: none;
}

header .buscador {
    line-height: 30px;
}

header .buscador button {
    border: 0;
    padding: 0 15px;
    line-height: 44px;
}

header .buscador input {
    padding: 5px 10px;
    line-height: 30px;
    border: 0;
}

header .buscador form {
    display: flex;
    flex-wrap: nowrap;
}

header .always {
    color: var(--amarillo-color);
    font: normal normal 900 35px/47px Nunito Sans;
    text-transform: uppercase;
    margin-left: 30px;
}

.bg-gris {
    background-color: var(--top-bg-color);
    color: white;
}

.bg-amarillo {
    background-color: var(--amarillo-color);
    color: white;
}

.btn.bg-amarillo:hover {
    background-color: white;
    color: var(--amarillo-color);
    border-color: var(--amarillo-color);
}

.text-amarillo {
    color: var(--amarillo-color);
}

.text-gris-light {
    color: var(--gris-light);
}

.bg-gris-lightest {
    background-color: var(--gris-lightest);
    color: white;
}

.bg-gris-light {
    background-color: var(--gris-light);
    color: white;
}

header .navbar-nav {
    justify-content: space-between;
    width: 90%;
    margin: auto;
}

header .navbar-light .navbar-nav a.nav-link {
    color: white;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header .navbar-light .navbar-nav a.nav-link:hover,
header .navbar-light .navbar-nav a.nav-link.active {
    background-color: var(--amarillo-color);
    color: var(--gris-light);
    border: 1px solid;
}

header .navbar-light .navbar-nav a.nav-link {
    position: relative;
    height: 100%;
}

header .navbar-light .navbar-nav a.nav-link span {
    line-height: 1.1em;
}

header .navbar-light .navbar-nav a.nav-link.solo_logo {
    padding: 0;
}

header .navbar-light .navbar-nav a.nav-link.solo_logo img {
    height: 48px;
}

header .navbar-light .navbar-nav a.nav-link small {
    font-size: 12px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    color: var(--amarillo-color);
}

header .navbar-light .navbar-nav a.nav-link:hover small,
header .navbar-light .navbar-nav a.nav-link.active small {
    color: var(--gris-light);
}

header .navbar-light .navbar-nav svg {
    fill: currentColor;
}

header .navbar-light .navbar-nav a i {
    display: inline-block;
    width: 1em;
    margin-left: 5px;
}

header .navbar-light .navbar-nav a i svg {
    float: left;
    width: 1em;
    height: 1em;
}

header .navbar-light .navbar-nav .home a i {
    width: auto;
    margin-left: 0;
}

header .navbar-light .navbar-nav .nav-item .description {
    display: none;
    position: absolute;
    width: 400px;
    background: white;
    z-index: 99;
    color: black;
    padding: 15px;

    -webkit-box-shadow: 0px 0px 7px 0px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 7px 0px rgb(0 0 0 / 50%);
}

header .navbar-light .navbar-nav .nav-item:hover .description {
    display: block;
}

header .navbar-light .navbar-nav .nav-item .description.large {
    width: auto;
    max-width: 1400px;
}

header .navbar-light .navbar-nav .nav-item .description .cat_list {
    display: flex;
    flex-wrap: wrap;
}

header .navbar-light .navbar-nav .nav-item .description .cat_list .cat {
    max-width: 104px;
    text-align: center;
    margin: 10px;
    flex: 0 104px;
}

header .navbar-light .navbar-nav .nav-item .description .cat_list .cat a {
    display: block;
    font-size: 14px;
    text-decoration: none;
    color: var(--bs-body-color);
    padding: 5px;
    display: inline-block;
    height: 100%;
    width: 100%;

}

header .navbar-light .navbar-nav .nav-item .description .cat_list .cat a:hover {
    background-color: rgb(0 0 0 / 6%);
}

header .navbar-light .navbar-nav .nav-item .description .cat_list .thumb {
    height: 60px;
}

header .navbar-light .navbar-nav .nav-item .description .cat_list img {
    width: 60px;
}

header .navbar-light .navbar-nav .nav-item .description .cat_list .name {
    margin-top: 10px;
    display: block;
}



footer.footer {
    background-color: var(--top-bg-color);
    padding: 3% 5% 1% 5%;
    color: white;
}

footer.footer .container-gluid {
    width: 90%;
}

footer.footer a {
    color: white;
    text-decoration: none;
}

footer.footer h5 {
    margin-bottom: 30px;
}

footer.footer p {
    margin-bottom: 0;
}


.site-index .card-c {
    display: flex;
    height: 100%;
    flex-direction: column;

    font-size: 30px;
    line-height: 41px;
    padding: 50px;
}

.site-index .card-c h3 {
    font-size: 35px;
    line-height: 47px;
    font-weight: 900;
}

.site-index .card-c hr {
    color: var(--amarillo-color);
    border-width: 4px;
    opacity: 1;
}

.btn {
    border-radius: 0;
}

.site-index .card-c .bottom {
    margin-top: auto;
}

.site-index .card-c .btn {
    font-weight: 900;
    padding: 3% 7%;
}

.thematic_catalogs .card-img,
.site-index .card-img {
    position: relative;
}

.thematic_catalogs .card-img::after,
.site-index .card-img::after {
    display: block;
    content: " ";
    height: 0;
    padding-top: 60%;
}

.thematic_catalogs .card-img img,
.site-index .card-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.thematic_catalogs .card-img h3,
.site-index .card-img h3 {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 10px;
    color: white;

    text-transform: uppercase;
    font-size: 18px;
    line-height: 24px;
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .thematic_catalogs .row.thematicoss {
        gap: 0.5em;
    }

    .thematic_catalogs .thematic-item {
        padding: 0.5em;
    }

    .thematic_catalogs .card-img img {
        position: relative;
        aspect-ratio: 1.6666;
    }

    .thematic_catalogs .card-img h3 {
        font-size: 10px;
        line-height: 1.2em;
        position: relative;
    }

    .thematic_catalogs .card-img::after {
        display: none;

    }

}

.thematic_catalogs .card-img h3 a,
.site-index .card-img h3 a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 24px;
    font-weight: 900;
}

.cats.thematic_catalogs,
.site-index .cats {
    padding-top: 50px;
    padding-bottom: 50px;
}

.legend_traceable .traceable {
    text-align: center;
}

.legend_traceable .traceable td {
    text-align: center;
    vertical-align: top;
}

.bg-azul-light {
    background-color: #FAFAFD;
}

.bg-white {
    background-color: white;
}

section.full {
    margin: 0 -5vw;
    padding: 0 5vw;
    clear: both;
}

section.first {
    margin-top: -20px;
    padding-top: 50px;
}

h3.title::before {
    content: " ";
    background-color: var(--amarillo-color);
    width: 400px;
    height: 3px;
    display: block;
    margin-bottom: 20px;
}

h3.title {
    font-size: 30px;
    line-height: 41px;
    font-weight: 900;
    margin-bottom: 50px;
}

.site-index .destacado {
    margin-top: 100px;
}

.products,
.products .list-view {
    display: flex;
    width: 100%;
}

.products .list-view {
    flex-wrap: wrap;
}

.products .list-view .summary {
    width: 100%;
    display: none;
}

.custom_list_view {
    width: 100%;
}

.custom_list_view .list_header {
    display: flex;
}

.custom_list_view .list_header .summary {
    flex: 0;
    text-align: center;
}

.custom_list_view .list_header .custom_order {
    text-align: center;
    flex: 1;
}

.custom_list_view .list_footer {
    display: flex;
}

.products .product_item {
    flex: 0 0 25%;
    padding: 10px;
    width: 25%;
    text-align: center;
}

.products .product_item .contenido {
    position: relative;
}

.products .product_item .contenido .amazon_box {
    position: absolute;
    width: 70px;
    right: 0;
    top: 58px;
}

.products .product_item .contenido .amazon_box a {
    color: var(--amarillo-color);
    font-size: 16px;
    font-weight: bold;
}

.products .product_item .contenido .amazon_box img {
    width: 100%;
    height: auto;
}

.destacado .products .product_item {
    flex: 0 0 20%;
    width: 20%;
}

.products .product_item .wrap {
    box-shadow: 0 0 8px 2px rgb(0 0 0 / 20%);
    padding: 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.products .product_item .thumb {
    position: relative;
    margin-bottom: 15px;
}

.products .product_item .price a {
    color: var(--amarillo-color);
}

.products .product_item .thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    left: 0;
}

.products .product_item .thumb a::after {
    content: " ";
    display: block;
    height: 0;
    padding-top: 100%;
}

.products .product_item .title {
    margin-bottom: 20px;
    position: relative;
    height: 1em;
}

.products .product_item .title a {
    font-size: 18px;
    color: black;
    font-weight: 900;
    text-decoration: none;
    display: block;

    max-width: 100%;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    width: 100%;
}

.products .product_item .ref {
    text-transform: uppercase;
}

.products .product_item .bottons {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}

.products .product_item .bottons a {
    color: var(--amarillo-color);
    font-size: 16px;
    font-weight: bold;
}

.products .product_item .bottons_amz {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}

.products .product_item .bottons_amz a {
    color: var(--amarillo-color);
    font-size: 16px;
    font-weight: bold;
}


._iwantthis {
    margin: 0 auto;
    max-width: 600px;
}

.bigform form,
.iwantthis form {
    padding: 20px;
    max-width: 800px;
    margin: 50px auto;
    font: normal normal bold 16px/22px Nunito Sans;
}

.bigform form .form-control,
.iwantthis form .form-control {
    border: 1px solid #202A36;
    border-radius: 0;
    padding: 0.5rem 0.75rem;
    line-height: 2;
}

.bigform form div[class*=" field-"],
.iwantthis form div[class*=" field-"] {
    position: relative;
}

.bigform form .invalid-feedback .iwantthis form .invalid-feedback {
    position: absolute;
    text-align: right;
}

.bigform form .btn,
.iwantthis form .btn {
    font: normal normal 900 18px/24px Nunito Sans;
    text-transform: uppercase;
    padding: 0.7em 3em;
}


.iwantthis form textarea {
    min-height: 200px;
}

.login .form-inline {
    display: inline-block;
}

.login .form-inline button {
    color: white;
}

.bg-azul {
    background-color: var(--top-bg-color);
    color: white;
}

.title_box {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 10px !important;
    font: normal normal normal 20px/27px Nunito Sans;
}

.title_box hr {
    color: var(--amarillo-color);
    border-width: 4px;
    opacity: 1;
    max-width: 520px;
    display: inline-block;
    width: 100%;
}

.title_box h1 {
    font: normal normal 900 35px/47px Nunito Sans;
    text-transform: uppercase;
}

.pagination {
    margin: 20px auto;
}

.pagination li a {
    padding: 10px 15px;
    border: 1px solid var(--top-bg-color);
    margin: 5px;
    color: var(--top-bg-color);
    text-decoration: none;
    display: inline-block;
}

.pagination li.active a {
    background-color: var(--top-bg-color);
    color: white;
}

.product_searh form {
    display: flex;
    justify-content: center;
}

.product_searh form>div {
    margin: 5px;
}

.products-list .search_col {
    width: 300px;
    z-index: 1;
}

.products-list .product_search form {
    flex-wrap: wrap;
}

.products-list .product_search {
    position: sticky;
    top: 100px;
    padding-top: 15px;
}

.products-list .product_search .search-wrap {
    max-height: calc(100vh - 100px - 40px);
    overflow-y: auto;
}

.products-list .product_search .form-group.actions {
    position: sticky;
    bottom: 0;
}

.products-list .product_search .form-group.actions button {
    width: 100%;
}

.products-list .product_search .search-wrap::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.products-list .product_search .search-wrap::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

.products-list .product_search .search-wrap::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

/*
.products-list .product_search .cat_list{
    display: flex;
    flex-wrap: wrap;
}
.products-list .product_search .categories_box .categories_popup{
    position: absolute;
    top: 0;
    padding: 15px;
    width: calc(90vw - 300px);
    max-width: calc( 1980px - 300px);
    z-index: 99;
    background-color: white;
    box-shadow: 0 0 8px 2px rgb(0 0 0 / 20%);
    display: none;
    left: 100%;
}
.products-list .product_search .categories_box .categories_popup.active{
    display: block;
}

.products-list .product_search .categories_box .categories_popup .actions_box{
    position: sticky;
    bottom: 0;
    background: white;
}

.products-list .product_search .cat_list .cat{
    max-width: 104px;
    text-align: center;
    margin: 5px;
    padding: 5px;
    padding-top: 10px;
    flex: 0 104px;
    border: 1px solid white;
}
.products-list .product_search .cat_list .cat:hover{
    border: 1px solid rgb(0 0 0 / 6%);
}
.products-list .product_search .cat_list .cat label{
    text-align: center;
    height: 100%;
}
.products-list .product_search .cat_list .cat .name{
    font-size: 14px;
    margin-top: 10px;
    display: block;
}
.products-list .product_search .cat_list .cat label .thumb{
    height: 60px;
}
.products-list .product_search .cat_list .cat input{
    display: none;
}

.products-list .product_search .cat_list .cat:has(input:checked){
    background-color: rgb(0 0 0 / 6%);
}
.products-list .product_search .cat_list input{
    flex:0 25px;
    height: 30px;
    margin-right: 10px;
}
*/
.products-list .product_search .cat_list input {
    width: 18px;
    height: 18px;
}

.products-list .product_search .cat_list .thumb {
    width: 30px;
    height: 30px;
    margin: 5px 10px;
}

.products-list .product_search .cat_list img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.products-list .product_search .cat_list label {
    display: flex;
    width: 100%;
    align-items: center;
    cursor: pointer;
}

.products-list .product_search h3 {
    background-color: #444a52;
    padding: 10px;
    font-size: 16px;
}

.products-list .product_search h3,
.products-list .product_search h3 a {
    color: white;
    text-decoration: none;
}

.products-list .product_search h3 a {
    display: flex;
    font-size: 18px;
}

.products-list .product_search h3 a i {
    margin-left: auto;
}




.premium .amazon {
    margin: 0 auto;
    text-align: left;
    align-items: center;
    max-width: 1200px;
}

.premium .amazon .logo {

    font: normal normal 900 55px Nunito Sans;
    text-transform: uppercase;
}

@keyframes size-anim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.mensaje_paginacion {
    overflow: hidden;
}

.mensaje_paginacion .wrap {
    font: normal normal 900 35px/47px Nunito Sans;
    text-transform: uppercase;
    text-align: center;
    color: var(--top-bg-color);
    padding: 40px 0;
    animation: size-anim 3s infinite;
}


.sticky-on {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

.sticky-offset {
    display: none;
}

.sticky-on+.sticky-offset {
    display: block;
}

.thematic_catalogs .description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 0 0 2px black;
    font-size: 30px;
    width: 100%;
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    height: 100%;
    background: rgba(0, 0, 0, 0.6);

    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.thematic_catalogs .card-img:hover .description {
    opacity: 1;
}

.main_product>.col {
    flex: 0 25%;
}

.main_product img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}


header .navbar-light .navbar-nav a.nav-link.rfc,
header .navbar-light .navbar-nav a.nav-link.rfc:hover {
    background-color: var(--amarillo-color);
    flex-direction: row;
    display: flex;
    align-content: center;
    align-items: center;
    line-height: 1.1;

    border-radius: 20px;
    padding: 5px 20px !important;
    color: var(--top-bg-color);
}

header .navbar-light .navbar-nav a.nav-link .product_count {
    width: 30px;
    height: 30px;
    position: absolute;
    background-color: red;
    text-align: center;
    right: -10px;
    top: -10px;
    border-radius: 100%;
    color: white;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .navbar-light .navbar-nav a.nav-link.rfc i {
    font-size: 25px;
    margin-right: 10px;
    color: white;
}

.product.view {
    max-width: 1600px;
    margin: 0 auto;
}

.product.view .item {
    margin-bottom: 20px;
}

.product.view .price_wrap {
    align-items: center;
}

.product.view .carousel-item img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.product.view .carousel-indicatorss {
    display: flex;
    flex-wrap: wrap;
}

.product.view .carousel-indicatorss img {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1;
}

.product.view .carousel-indicatorss .thumb {
    width: 16.66%;
}

.product.view .carousel-indicatorss .thumb.hidden {
    display: none;
}

.product.view .card-c {
    display: flex;
    flex-direction: column;

    font-size: 16px;
    line-height: 1.3;
    padding: 30px;
}

.product.view .card-c h3 {
    font-size: 25px;
    line-height: 1.3em;
    font-weight: 900;
}

.product.view .card-c hr {
    color: var(--amarillo-color);
    border-width: 4px;
    opacity: 1;
}

.btn {
    border-radius: 0;
}

.product.view .card-c .bottom {
    margin-top: auto;
    text-align: center;
}

.product.view .card-c .btn {
    font-weight: 900;
    padding: 20px 30px;
    text-transform: uppercase;
}

.product.view .price_wrap .price {
    font-weight: 900;
    text-align: right;
    font-size: 22px;
    position: relative;
}

.product.view .price_wrap .price a {
    color: var(--amarillo-color);
}

.product.view .price_wrap .price .aviso {
    font-size: 14px;
    font-style: italic;
    display: block;
    font-weight: 400;
    position: absolute;
    right: 0;
}

.product.view .similar_products {
    margin-top: 40px;
}

header .navbar-light .navbar-nav a i.made_in_europe,
header .navbar-light .navbar-nav a i.made_in_europe svg {
    height: 30px;
    width: auto;
    margin-bottom: -16px;
}

header .navbar-light .navbar-nav a.made_in_europe small {
    width: auto;
    left: 10px;
    transform: none;
}

header .navbar-light .navbar-nav a.asia {
    padding-left: 12px;
    padding-right: 12px;
}

header .login .form-inline button.logout {
    padding: 0;
    margin-left: 10px;
}

header .phone {
    font-weight: 900;
    color: var(--amarillo-color);
    text-decoration: none;
}

header .sticky-only .phone {
    font-size: 17px;
}


.nav-item.rfq {
    position: relative;
}

.nav-item.rfq .rfq_list {
    position: absolute;
    background: white;
    color: black;
    padding: 10px 20px;
    display: none;
    box-shadow: 0 0 8px 2px rgb(0 0 0 / 20%);
    right: 0;
    width: 500px;
    z-index: 99;
}

.nav-item.rfq:hover .rfq_list {
    display: block;
}

.rfq_list .product_list {
    width: 100%;
    max-height: calc(90vh - 230px);
    overflow-y: auto;
}

.rfq_list .product_list img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.rfq_list .product_list .product_item {
    display: flex;
    border-bottom: 2px solid var(--amarillo-color);
    padding: 10px;
    margin: 10px 0;
    align-items: center;
}

.rfq_list .product_list .product_item .name {
    font-weight: 900;
}

.rfq_list .product_list .product_item .right {
    flex: 1 auto;
    padding-left: 10px;
}

.rfq_list .product_list .product_item .buttons {
    display: flex;
}

.rfq_list .product_list .product_item a.btn-link {
    color: var(--amarillo-color);
    font-size: 14px;
    font-weight: bold;
}

.rfq_list .product_list .product_item a.btn-link.delete {
    color: red;
    margin-left: auto;
}

.rfq_list .buttons {
    text-align: center;
}

.rfq_form_wrap {
    display: none;
    position: fixed;
    background: white;
    padding: 15px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.rfq_form_wrap.active {
    display: block;
}

.rfq_form_wrap.request {
    color: black;
}

.rfq_form_wrap img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.rfq_form_wrap .name {
    font-weight: 900;
}

.rfq_form_wrap td {
    padding: 10px;
}

.rfq_form_wrap input.delivery {
    background-color: #daeeff;
}

.modal_bg {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal_bg.active {
    display: block;
}

body.modalOpen {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.product_item .delivery,
.product_delivery span {
    color: red;
    font-weight: bold;
}

.popup {
    box-shadow: 0 0 8px 2px rgb(0 0 0 / 20%);
    position: fixed;
    z-index: 999;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
}

.popup_tired_searching {
    box-shadow: 0 0 8px 2px rgb(0 0 0 / 20%);
    position: fixed;
    z-index: 999;
    background: white;
    top: 83%;
    left: 87%;
    transform: translate(-50%, -50%);
    width: auto;
}

.popup_tired_searching img {
    max-width: 25vw;
    max-height: 35vh;
}

.popup img {
    max-width: 90vw;
    max-height: 90vh;
}

.hidden {
    display: none;
}

.produced .banner {
    position: relative;
}

.produced .banner img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.produced .banner .description {
    max-width: 40%;
    position: absolute;
    bottom: 0px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    max-height: 100%;
    overflow-y: auto;
}


.c-proposal {
    background-color: #FAFAFD;
}

.c-proposal main a {
    color: black;
}

.c-proposal main>.container-fluid {
    max-width: 1600px;
    font-size: 14px;
}

.c-proposal .logos img {
    width: 200px;
    height: 100px;
    object-fit: contain;
}

.proposal-public .products {
    display: block;
    max-width: 1600px;
}

.proposal-public .product {
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    padding: 10px;
    background: white;
    margin-bottom: 10px;
}

.proposal-public .product .thumbs {
    text-align: center;
}

.proposal-public .product img {
    object-fit: contain;
    pointer-events: none;
}

.proposal-public .product .thumbs .thumb .thumb_item {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.proposal-public .product .thumbs .thumb .thumb_item.iframe-play-btn {
    position: relative;
}

.proposal-public .product .thumbs .thumb .thumb_item.iframe-play-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 30px;
    transform: translate(-50%, -50%);
}

.proposal-public .product .ref {
    background: #ec7a1a;
    padding: 10px 10px;
    color: white;
}

.proposal-public .product .price_info .price-rage {
    font-size: 1.4em;
    font-weight: bold;
    text-align: right;
    justify-content: flex-end;
    color: black;
    flex-wrap: nowrap;
}

.proposal-public .product .price_info .price-rage .label,
.proposal-public .product .price_info .price-rage .price {
    display: inline-block;
}

.proposal-public .product .delivery {
    text-align: right;
}

.proposal-public .product .table-box-specs label,
.proposal-public .product .table-item-specs label {
    font-size: 0.9em;
    font-weight: bold;
}

.proposal-public .product .stock .stock_thumb {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.proposal-public .images a.show_all_thumbs {
    color: white;
    margin-top: 15px;
    background-color: var(--amarillo-color);
}

.rfq_form_wrap .thanks {
    font-weight: bold;
    font-size: 1.5em;
}

.produced .hero.inline {
    margin: 50px auto;
    max-width: 600px;
}

.site-login.l-public header {
    display: none;
}

body.site-login .site-login {
    max-width: 600px;
    margin: 100px auto;
}

.field-loginform-password .show_pswd {
    position: absolute;
    top: 35px;
    right: 10px;
    text-decoration: none;
    padding: 10px;
    color: var(--bs-body-color);
}

.field-loginform-password .form-control {
    background-image: none !important;
}

.top .logo_group::after {
    content: " ";
    display: block;
    height: 30px;
}

.product .carousel-control-prev,
.product .carousel-control-next {
    top: 50%;
    bottom: auto;
    border: 1px solid black;
    padding: 5px;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    background: white;
    box-shadow: 0 0 0px 2px rgb(0 0 0 / 10%);
}

.packaging_trigger {
    position: relative;
}

.packaging_trigger .item-specs {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
    border: 1px solid rgb(0 0 0 / 8%);
    width: 600px;
}

.packaging_trigger:hover .item-specs {
    display: block;
    padding: 10px;
}


.light_banners img {
    width: 300px;
    height: 90px;
    object-fit: contain;
    margin-bottom: auto;
    opacity: 0;
    transition: opacity 0.7s;
}

.light_banners a.active img {
    opacity: 1;
}

.light_banners a:not(.active) {
    display: none;
}

.popup {
    z-index: 99;
}

.popup.right {
    right: 0;
    left: inherit;
    transform: none;
}

.popup.right.toggled:not(.active) {
    transform: translateX(100%);
}

.popup.right.toggled a.toggle_btn_custom {
    color: var(--top-bg-color);
    ;
    position: absolute;
    display: inline-block;
    padding: 10px;
    background-color: white;
    border: 1px solid rgb(0 0 0 / 20%);
    border-right: 0;
    transform: translateX(-100%);
}

.popup.bottom {
    top: inherit;
    bottom: 0;
}

.popup_group_banner .light_banners img {
    width: 400px;
    object-fit: contain;
    aspect-ratio: 16/9;
    height: auto;
}

.modal-dialog .light_banners img {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 16/9;
    height: auto;
}

.c-proposal.proposal-index .banner .carousel-item img {
    aspect-ratio: 16/6;
    object-fit: contain;
    width: 100%;
    height: auto;
}

.edit_proposal .modal-body {
    background-color: #f1f5f7;
}

.edit_proposal .proposal_data,
.edit_proposal .products_list .product {
    background-color: rgba(var(--bs-body-bg-rgb), 1);
    padding: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.edit_proposal .products_list .product .carousel-item .thumb_item {
    object-fit: contain;
}

.edit_proposal .form-control,
.edit_proposal .product .input-group-text {
    font-size: 14px;
    padding: 0.375em 0.75em;
}

.edit_proposal .products_list .product .prices_box table .form-control {
    text-align: right;
}

.product_item img,
.product img,
.slide img {
    pointer-events: none;
}

.product .product_attributes,
.product_item.ficha .product_attributes,
.product_item .thumb .product_attributes {
    position: absolute;
    top: 0px;
    right: 0px;
}

.product .product_attributes .attribute,
.product_item .product_attributes .attribute {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: white;
    box-shadow: 0 0 8px 1px rgb(0 0 0 / 20%);
    overflow: hidden;
    position: relative;
    margin: 0 5px;
}

.proposal-public .product .product_attributes .attribute,
.product_item.ficha .product_attributes .attribute {
    width: 100px;
    height: 100px;
    transition: 0.5s all ease;
}

.product .product_attributes .attribute,
.product_item .product_attributes .attribute {
    transition: 0.5s all ease;
}

.proposal-public .product .product_attributes .attribute img,
.product_item.ficha .product_attributes .attribute img,
.product_item .product_attributes .attribute img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product .product_attributes .attribute:hover,
.product_item .product_attributes .attribute:hover,
.product_item.ficha .product_attributes .attribute:hover {
    transform: scale(1.5);
    z-index: 10;
}

.product_attributes a {
    text-decoration: none;
}

.product_attributes a::after {
    display: none !important;
}

.produced_metaideas h3 {
    font: normal normal 900 35px/47px Nunito Sans;
    text-transform: uppercase;
    text-align: center;
    color: var(--top-bg-color);
    padding: 40px 0;
}


.banner.full .carousel-item {
    text-align: center;
}

.c-produced .banner.full .carousel-item img,
.c-proposal .banner.full .carousel-item img {
    max-width: 1400px;
}

.c-produced .product-list.products .summary {
    display: none;
}

.c-produced .product-list .custom_list_view {
    width: 100%;
}

.thematic_catalogs .thematicos {
    justify-content: center;
}

.products-catalog .thematic-item {
    transition: all 0.5s ease;
}

.products-catalog .thematic-item.current {
    filter: grayscale(1);
}

/*.products-catalog .thematic-item:hover{
    filter: grayscale(0);
}*/

.product_search .type_box label {
    display: inline-block;
}

.popover {
    --bs-popover-bg: #444a52;
    --bs-popover-body-color: #fff;
}

.stock_box .wrap {
    max-height: 580px;
    overflow-y: auto;
}

.stock_box .stock.table td {
    vertical-align: middle;
}

.stock_box .stock.table tr.next_stock {
    background-color: #faebd7;
}

.stock_box .stock.table a.next_stock_trigger {
    width: 100%;
}

.video_360_box {
    position: absolute;
    bottom: 0;
    right: 0;
}

.view360 {
    background: url(img/360-degree2.png) center center no-repeat;
    background-size: contain;
    aspect-ratio: 1;
    display: block;
}

.video_thumb {
    background: url(img/video.png) center center no-repeat;
    background-size: contain;
    aspect-ratio: 1;
    display: block;
}

.video_360_box .video_thumb {
    width: 100px;
    background-color: rgb(255 255 255 / 30%);
}

.video_360_box .view360 {
    width: 100px;
    background-color: rgb(255 255 255 / 30%);
}

.thumbs_box {
    width: 120px;
    position: relative;
}

.thumbs_box .thumbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.product.view .thumbs .carousel-indicatorss {
    flex-direction: row;
}

.product.view .thumbs .carousel-indicatorss .thumb {
    width: 100%;
}

.product.view .thumbs {
    width: 120px;
    height: 800px;
    overflow-y: auto;
}

.product.view .stock.table img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.custom_scroll::-webkit-scrollbar,
.carousel_box .thumbs::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom_scroll::-webkit-scrollbar-thumb,
.carousel_box .thumbs::-webkit-scrollbar-thumb {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    background: var(--gris-lightest);
}

.custom_scroll::-webkit-scrollbar-track,
.carousel_box .thumbs::-webkit-scrollbar-track {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    background: #e5e5e5;
}

.carousel_box .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbs .type_video,
.thumbs .type_view360 {
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    color: black;
    font-weight: bold;
    padding: 10px;
    background-color: #faebd7;
    width: 100%;
}


@media (max-width:1980px) {
    header .top {
        padding: 1% 1%;
    }

    header .top-menu {
        padding: 0 1%;
    }

    header .navbar-light .navbar-nav a.nav-link {
        font-size: 14px;
    }

    header .buscador.sticky-only input {
        max-width: 150px;
    }

    header .always {
        font-size: 30px;
    }
}

@media (max-width:480px) {
    .main_product>.col {
        flex: 0 100%;
    }

    .products,
    .products .list-view {
        flex-wrap: wrap;
    }

    .products .product_item {
        flex: 0 0 100%;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    .destacado .products .product_item {
        flex: 0 0 100%;
        width: 100%;
        text-align: center;
    }

    .thematic_catalogs>.row {
        justify-content: center;
    }

    .thematic_catalogs .col {
        flex: 0 50%;
        margin-bottom: 20px;
    }

    ul.pagination {
        display: flex;
        flex-wrap: wrap;
    }

    .products-list .search_col {
        width: 100%;
    }

    .products-list .product_search .search-wrap {
        max-height: unset;
    }

    .products-list .product_search .categories_box .categories_popup {
        position: relative;
        width: 100%;
    }

    .products-list .product_search .cat_list .cat {
        max-width: 100%;
        flex: 0 100%;
    }

    .products-list .product_search .cat_list .cat label {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .products-list .product_search .cat_list .cat label .thumb {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .products-list .product_search .cat_list .cat label .thumb img {
        width: 100%;
    }

    .products-list .product_search .cat_list .cat .name {
        margin-top: 0;
    }

    .top .logo_group.light_banners {
        text-align: center;
    }

    header .buscador form {
        justify-content: center;
        margin-bottom: 10px;
    }

    header .login {
        text-align: center;
    }

    header .navbar-light .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }

    header .navbar-light .navbar-nav a.nav-link {
        width: 100%;
        justify-content: center;
    }

    header .navbar-light .navbar-nav a.made_in_europe small {
        left: 20%;
    }

    .product.view .card-c {
        font-size: 16px;
        padding: 20px;
    }

    .product.view .card-c h3 {
        font-size: 24px;
        line-height: 1.3em;
        font-weight: 900;
    }

    .product.view .price_wrap .price {
        font-weight: 900;
        text-align: left;
        font-size: 16px;
        position: relative;
    }

    h3.title::before {
        width: 100%;
    }
}

/* Corporative Catalogs Full-Width Grid Banner (2000x425 aspect ratio) */
.corporative-catalogs .cats.thematic_catalogs {
    padding-top: 25px;
    padding-bottom: 40px;
}

.corporative-catalogs .corporative-catalogs-grid {
    margin-left: 0;
    margin-right: 0;
}

.corporative-catalogs .corporative-catalogs-grid .thematic-item {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.corporative-catalogs .card-img.corporative-catalog-card {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 425;
    border-radius: 10px;
    overflow: hidden;
    background: #1e293b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.corporative-catalogs .card-img.corporative-catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card::after {
    padding-top: calc(425 / 2000 * 100%) !important;
    /* 21.25% */
}

@supports (aspect-ratio: 2000 / 425) {
    .corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card::after {
        display: none !important;
    }
}

.corporative-catalogs .card-img.corporative-catalog-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.corporative-catalogs .card-img.corporative-catalog-card:hover img {
    transform: scale(1.015);
}

.corporative-catalogs .card-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.corporative-catalogs .card-img-placeholder .placeholder-title {
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.5px;
}

.corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card h3 {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 20px 30px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    transition: padding-left 0.2s ease;
}

.corporative-catalogs .card-img.corporative-catalog-card:hover h3 {
    padding-left: 36px;
}

.corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card .description {
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    color: #ffffff;
    font-size: 15px;
    width: 100%;
    height: 100%;
    padding: 24px 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card .description .desc-content {
    max-width: 900px;
    max-height: 85%;
    overflow-y: auto;
    line-height: 1.6;
}

.corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card:hover .description {
    opacity: 1;
}

@media (max-width: 768px) {
    .corporative-catalogs .card-img.corporative-catalog-card {
        aspect-ratio: auto;
        min-height: 130px;
    }

    .corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card::after {
        display: none !important;
    }

    .corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card h3 {
        font-size: 16px;
        padding: 12px 16px;
    }

    .corporative-catalogs .thematic_catalogs .card-img.corporative-catalog-card .description {
        font-size: 13px;
        padding: 14px;
    }
}