

.box_parceiro {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-bottom: 4px solid var(--mainColor);
    position: relative;
    margin-top: 50px;
}

.box_parceiro .ct_logo {
    width: 100%;
    position: absolute;
    z-index: 99;
    padding: 0 20px;
    top: -30px;
    display: flex;
    align-items: center;
}

.logo_parceiro {
    width: 110px;
    height: 110px;
    border-radius: 110px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.tag_desconto {
    height: 50px;
    background: var(--mainColor);
    color: var(--baseColorLight);
    display: flex;
    align-items: center;
    width: 100px;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 500;
}

.capa_parceiro {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.border_capa {
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 20px;
    background: url("../images/border.png") center no-repeat;
}

.text_parceiros {
    position: relative;
    padding: 0 40px 40px 40px;
}

.text_parceiros img {
    width: 100%;
    height: 100px;
    position: absolute;
    left: 0;
    top: -98px;
}

.text_parceiros h3 {
    font-size: 16px;
    color: var(--grayLight);
}

.text_parceiros h2 {
    font-size: 24px;
    color: var(--mainColor);
    font-weight: 700;
    line-height: normal;
}

.text_parceiros p {
    font-size: 14px;
    margin: 15px 0;
    color: var(--grayLight);
}

#listagem_box_parceiros {
    width: 100%;
    height: auto;
    margin-top: -200px;
    padding-bottom: 70px;
}

.bg_listagem .btn_border {
    margin-top: 40px;
}

.box_listagem {
    width: 31.333%;
    margin: 30px 1% 70px 1%;
}

.btn_info {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 70px;
    background: var(--mainColor);
    margin: 0 auto -35px auto;
    bottom: 0px;
    position: absolute;
    left: 41%;
}




.pagination {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 30px;
}

.pagination li {
    display: inline-block;
}

.pagination a {
    min-width: 25px;
    padding: 5px 5px;
    display: inline-block;
    background: #f5f5f5;
    font-weight: 400;
    color: var(--grayDark);
    font-size: var(--sizeText18);
    border-radius: 5px;
    margin: 3px;
    transition: .4s;
}

.pagination .next::after {
    content: " ";
    border: solid var(--mainColor);
    border-width: 2px 0 0 2px;
    display: inline-block;
    padding: 4px;
    transform: rotate(135deg);
}

.pagination .prev::after {
    content: " ";
    border: solid var(--mainColor);
    border-width: 2px 0 0 2px;
    display: inline-block;
    padding: 4px;
    transform: rotate(312deg);
}

.pagination a.active,
.pagination a:hover {
    color: #fff;
    background: var(--mainColor);
}

.pagination .next:hover {
    background: #ddd;
}

.pagination .prev:hover {
    background: #ddd;
}

@media (max-width: 1200px) {
    #listagem_box_parceiros {
        width: 100%;
        height: auto;
        margin-top: -100px;
        padding-bottom: 70px;
    }
}

@media (max-width: 1000px) {
    .logo_parceiro {
        width: 80px;
        height: 80px;
    }

    .tag_desconto {
        height: 45px;
        line-height: 45px;
        padding: 0 20px;
        font-size: 18px;
        margin-top: 40px;
    }

    .bg_listagem .col3 {
        width: 100%;
    }
    .bg_listagem .btn_border {
        margin-top: 20px;
        margin-bottom: 40px;
        max-width: 250px;
    }
}

@media (max-width: 900px) {
    .box_listagem {
        width: 48%;
        margin: 30px 1% 70px 1%;
    }

    .logo_parceiro {
        width: 100px;
        height: 100px;
    }
    
}

@media (max-width: 700px) {
    .box_listagem {
        width: 100%;
        max-width: 400px;
        margin: 30px auto 70px auto;
    }
    
}


#parceiros_pg {
    width: 100%;
    height: auto;
    padding: 40px 0;
}

.box_fotos {
    width: 100%;
    height: 330px;
}

.cupom_desc {
    width: 100%;
    height: auto;
    padding: 20px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    background: var(--baseColorLight);
    margin-bottom: 60px;
}

.valor_desconto b {
    color: var(--mainColor);
    font-weight: 900;
    font-size: 34px;
    line-height: normal;
    margin-left: 10px;
}

.info_cupom_desc .col3,
.info_cupom_desc .col4,
.info_cupom_desc .col2 {
    padding-left: 15px;
}

.info_cupom_desc h4 {
    color: var(--mainColor);
    font-weight: 700;
    font-size: 24px;
    line-height: normal;
}

.info_cupom_desc span {
    color: var(--grayLight);
}

.info_cupom_desc b {
    display: block;
    font-size: 16px;
    margin: 5px 0;
    font-weight: 700;
    color: var(--grayLight);
}

.info_cupom_desc .btn_local {
    top: 0;
    right: 0;
    position: absolute;
    width: 20%;
    max-width: 120px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--mainColor);
}


.parceiro_logado {
    margin-top: -200px;
    margin-bottom: 100px;
}

@media (max-width: 1200px) {
    .info_cupom_desc .btn_local {
        width: 10%;
    }
    
}


@media (max-width: 1000px) {
    .info_cupom_desc .btn_local {
        width: 10%;
    }

    .cupom_desc .col4 {
        width: 100%;
    }
    
    
    .info_cupom_desc {
        width: 100%;
    }

    .info_cupom_desc .col4 {
        margin: 10px 0;
    }
    
}

@media (max-width: 900px) {
    .parceiro_logado {
        margin-top: -100px;
        margin-bottom: 40px;
    }

    #parceiros_pg .content .col5,
    #parceiros_pg .content .col6 {
        width: 100%;
    }
}

@media (max-width: 700px) {
    
    .info_cupom_desc .btn_local {
        width: 10%;
    }

    .cupom_desc .col4 {
        width: 100%;
    }
    
    .info_cupom_desc {
        width: 100%;
    }

    .info_cupom_desc .col3,
    .info_cupom_desc .col4,
    .info_cupom_desc .col2 {
        padding: 0;
        width: 100%;
        margin: 10px 0;
    }
    
    .cupom_desc {
        padding-bottom: 70px;
    }

    .info_cupom_desc .btn_local {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 70px;
    }
}

/* Partners na página Ricerca */

.parceiros_ricerca {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
   
}

.partner {
    width: 370px;
    height: auto;
    -webkit-box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 20%);
    position: relative;
    background: var(--baseColorLight);
    margin-bottom: 60px;
}

@media screen and (max-width: 500px) {
    
    .parceiros_ricerca {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      
        align-items: center;
    }

    .partner {
        width: 90%;
        height: auto;
        -webkit-box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 20%);
        -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 20%);
        position: relative;
        background: var(--baseColorLight);
        margin-bottom: 60px;
    }
}
    
