@media screen and (max-width: 1024px) {
    .products .product_list li.product_item.col-lg-3 {
        width: 50%;
        min-height: auto;
    }

    #wrapper {
        padding-top: 63px;
    }

    #product #wrapper {
        padding-top: 0;
    }

    .footer-container .links .h3 {
        display: none;
    }

    .top-menu .menu1 {
        opacity: 1;
        margin: 0;
    }

    .top-menu a[data-depth="2"] {
        color: #2858A5 !important;
    }

    .product-cover img {
        width: 100%;
        max-width: 50%;
    }

    #product .breadcrumb ol {
        text-align: right;
    }

    .flexslider .caption-description {
        position: absolute;
        top: 40px;
        left: 0;
        color: #2858A5;
        max-width: 600px;
        font-size: 18px;
        line-height: 28px;
        max-width: 1200px;
        width: 46%;
        margin: auto;
        margin-left: auto;
        margin-left: auto;
        margin-left: 37px;
    }

    .blockreassurance .row {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    #custom-text h1 {
        font-size: 1rem;
    }

    #header .header-nav .search-widget {
        overflow: unset;
    }

    .header-nav .searchtoggle {
        left: 17%;
        top: -4px;
    }

    .contenido {
        flex-direction: column;
    }

    .flex-viewport {
        max-height: 250px;
    }

    .copyright {
        width: 100% !important;
    }

    .footer-after {
        width: 100% !important;
    }

    .flexslider .caption-description {
        position: relative;
        top: 10px;
        width: 100%;
        text-align: center;
        left: 0;
        margin-left: 0;
    }

    .breadcrumb .container h1 {
        font-size: 18px;
        position: absolute;
        margin-top: 53px;
    }

    #home-page-tabs {
        display: none;
    }

    #idxrcookies .withRejectButton #buttons {
        flex-wrap: wrap;
        margin: 0;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .flexslider {
        overflow: unset;
    }

    .flex-control-nav {
        bottom: -24px;
    }
    .product-miniature .thumbnail-container .product-thumbnail img {
        height: 130px;
        width: 130px;
      }
    
      .tm-carousel .product-miniature .thumbnail-container .product-thumbnail {
        height: 130px;
        width: 130px;
      }
      .special-products.container {
        margin-bottom: 10px;
        padding: 37px 0;
      }
}