﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');

.caixa-pesquisa {
    background: white !important;
    color: #333333 !important;
    border-color: #355190 !important;
    box-shadow: none !important;
    outline: none !important;
}

.voucher {
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    display: block;
    border-radius: .5rem;
}

    .voucher .lateral {
        border-radius: .5rem 0 0 .5rem;
    }

    .voucher.servico .lateral {
        background-color: #FCCE3B;
        background: url(../imagens/servicos.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }

    .voucher.restaurante .lateral {
        background-color: #FCCE3B;
        background: url(../imagens/restaurantes.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }

.lateral {
    padding: 10px 15px;
    flex-basis: 30%;
}

.informacao {
    padding: 10px 15px;
    flex-basis: 70%;
}

.esquerda {
    flex-direction: column;
    text-align: center;
}

    .esquerda p:first-child {
        font-weight: 900;
        color: #ffffff;
        font-size: 1.25rem;
        line-height: 1.40rem;
        text-transform: uppercase;
    }

    .esquerda .voucher-oferta span {
        display: block;
    }

    .esquerda .preco {
        margin: 5px auto;
        width: 7.5rem;
        height: 7.5rem;
        line-height: 7.5rem;
        font-size: 2rem;
        font-weight: 700;
        background: #ffffff;
        border-radius: 50%;
        position: relative;
    }

        .esquerda .preco:before {
            background: none;
            border-radius: 50%;
            border: 4px solid #FCCE3B;
            content: "";
            display: block;
            position: absolute;
            top: 4px;
            left: 4px;
            right: 4px;
            bottom: 4px;
            pointer-events: none;
        }

.voucher.servico .esquerda .preco:before {
    border-color: #F4CE47;
}

.voucher.restaurante .esquerda .preco:before {
    border-color: #F78E00;
}

.esquerda .esquerda-footer {
    color: #ffffff;
}

    .esquerda .esquerda-footer span {
        font-size: .9rem;
    }

        .esquerda .esquerda-footer span:first-child {
            font-weight: 700;
        }

.informacao .logo-associado {
    height: 65px;
    overflow: hidden;
}

    .informacao .logo-associado img {
        width: auto;
        max-width: auto;
        height: 100%;
        max-height: auto;
        position: relative;
        display: block;
        margin: 0 auto;
    }

.informacao .logo-alista {
    width: 80px;
    margin: 15px auto;
}

.informacao .descricao {
    /*    height:90px;
    overflow:hidden;*/
    text-align: center;
    margin: 15px auto;
    display: flex;
    flex-direction: column;
}

    .informacao .descricao p {
        align-self: center;
        font-size: .9rem;
        font-weight: 500;
        white-space: preserve-breaks;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 5; /* number of lines to show */
        line-clamp: 5;
        -webkit-box-orient: vertical;
    }

    .informacao .descricao .btn-ler-mais {
        display: block;
        color: #355190;
        font-weight: 700;
        text-transform: uppercase;
        border: none !important;
        background: transparent !important;
        font-family: 'Montserrat', sans-serif;
        margin: 0 auto;
    }

.informacao a.btn-proximidade {
    font-size: .8rem;
    color: #202225;
    font-weight: 500;
    text-decoration: underline;
}

@media screen and (max-width:580px) {
    .esquerda p:first-child {
        font-size: 1rem;
    }

    .lateral {
        padding: 10px;
        flex-basis: 45%;
    }

    .informacao {
        padding: 10px;
    }

    .esquerda .preco {
        width: 6rem;
        height: 6rem;
        line-height: 6rem;
        font-size: 1.75rem;
    }

    .esquerda .esquerda-footer span {
        font-size: .65rem;
    }

    .informacao .logo-associado {
        height: 55px;
        overflow: hidden;
    }

    .informacao p {
        font-size: .8rem;
    }

    .informacao .descricao {
        /*height:80px;*/
    }

        .informacao .descricao p {
            font-size: .75rem;
        }
    /*    .voucher-localidade{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }
    .voucher-localidade:last-child{
        text-align:right;
    }
*/ .esconde-mobile {
        display: none;
    }
}


@media screen and (min-width:580px) {
    .esconde-desktop {
        display: none;
    }
}


#modal-descricao .modal-header {
    border: none;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

#modal-descricao .modal-body .modal-desc {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.btn-proximidade {
    text-transform: none !important;
    text-decoration: underline;
    font-weight: 700;
    color: #333;
}

.modal.fullscreen-modal .modal-dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    max-width: none;
}

.modal.fullscreen-modal .modal-content {
    height: auto;
    height: 100vh;
    border-radius: 0;
    border: none;
}

.modal.fullscreen-modal .modal-header {
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.modal.fullscreen-modal .modal-body {
    overflow-y: auto;
    padding: 0;
    width: 100%;
    height: 100%;
}

.badge.bg-tipo {
    background: #ffffff;
    border-radius: 40px;
    color: #202225;
    display: block;
    font-size: .75rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    padding: .45em .6em;
}

.partilhar-voucher {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: end;
    align-items: center;
    background: rgba(0,0,0,0.15);
    border-radius: 0 .5rem 0 .5rem;
}

.btn-partilhar,
.btn-guardarImg {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    padding: 0 !important;
    border-radius: 10px;
    color: rgba(0,0,0,0.45);
    transition: all 150ms linear;
    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -o-transition: all 150ms linear;
}

    .btn-partilhar:hover,
    .btn-guardarImg:hover {
        color: #202225;
    }

@media screen and (max-width:580px) {
    .modal-footer {
        border-top: 1px solid #DADCE0;
    }

        .modal-footer .btn-repor,
        .modal-footer .btn-direccoes {
            background: white;
            border-color: white;
            padding: 10px;
            color: #202124;
            font-weight: 500;
        }

        .modal-footer .btn-direccoes {
            border-left: 1px solid #DADCE0;
        }

    .indicacoes-modal-panel {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        display: block;
        height: 100%;
        background: white;
    }

    .badge.bg-tipo {
        font-size: .65rem !important;
        padding: 0.35rem 0.5rem;
        margin-bottom: 5px;
    }
}
