/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.dbadvice .dbadvice_title,
.dbadvice .dbadvice_subtitle {
    text-align: center;
}

.dbadvice .dbadvice_title {
    /*color: #0c8ab2;*/
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.dbadvice .dbadvice_subtitle {
    /*color: #0c8ab2;*/
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 75%;
    margin: 0 auto 0.8rem;
}

.dbadvice_authors {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.dbadvice_authors .dbadvice_author {
    width: calc(20% - 1rem);
    padding: 1rem;
    /*border: 1px solid green;*/
    border: 1px solid #000;
    margin: 0.5rem;
    /*background: url("../img/back_advice.jpg");*/
    background-position: initial;
    background-repeat: no-repeat;
    background-size: 100% 140px;
}

.dbadvice_authors .dbadvice_author .data_author {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.dbadvice_authors .dbadvice_author .data_author img {
    /*width: 90px;*/
    width: 80%;
    border-radius: 50%;
    /*margin-top: 75px;*/
}

.dbadvice_authors .dbadvice_author .data_author .work {
    margin-top: 2rem;
    color: #C4AE5A;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 22px;
    text-align: center;
}

.dbadvice_authors .dbadvice_author .data_author .name {
    margin-top: 1rem;
    /*color: #0c8ab2;*/
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.dbadvice_authors .dbadvice_author .data_author .short_desc {
    margin-top: 1rem;
    text-align: left;
}

.dbadvice_authors .dbadvice_author .data_author .short_desc p {
    font-size: 15px;
}

.dbadvice_authors .dbadvice_author .data_author .btn_advice {
    margin-top: auto;
    width: 100%;
}

#module-dbadvice-expert .dbadvice_query {
    width: 950px;
    margin: 0 auto;
    display: table;
}

.dbadvice_expert {
    border: 1px solid #C4AE5A;
}

.dbadvice_expert .name_customer {
    /*background-color: #C4AE5A;*/
    background-color: #000;
    color: #FFF;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
}

.dbadvice_expert .expert_content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.dbadvice_expert .expert_content .expert_content_left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 2rem;
}

.dbadvice_expert .expert_content .expert_content_left img {
    width: 100px;
    height: auto;
    border-radius: 50%;
    margin-right: 1rem;
}

.dbadvice_expert .expert_content .expert_content_left .content_expert {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.dbadvice_expert .expert_content .expert_content_left .content_expert .name {
    /*color: #0c8ab2;*/
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dbadvice_expert .expert_content .expert_content_left .content_expert .tag {
    /*background-color: #C4AE5A;*/
    background-color: #000;
    text-transform: uppercase;
    color: #FFF;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 400;
}

.dbadvice_expert .expert_content .expert_content_right,
.dbadvice_expert .expert_content .expert_content_right p {
    /*color: #0c8ab2;*/
}

.dbadvice_form .custom-checkbox {
    margin-top: 2rem;
    display: flex;
    margin-bottom: 1rem;
}

.dbadvice_nav {
    margin-left: auto;
}

.dbadvice_nav .open_contact {
    padding: .5rem .425rem;
    position: relative;
    line-height: 12px;
    font-size: 13px;
    display: flex;
}

.dbadvice_nav .open_contact i {
    font-size: 13px;
    line-height: 11px;
    margin-left: 5px;
}

.dbadvice_nav:hover .open_contact {
    background-color: #0c8ab2;
    color: #FFF !important;
}

.block_dbadvice {
    border: 2px solid #0c8ab2;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    min-width: 380px;
    background-color: #FFF;
    position: absolute;
    z-index: 9;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s linear, opacity 0.3s linear;
    right: 15px;
}

.block_dbadvice p,
.block_dbadvice span {
    color: #FFF !important;
}

.block_dbadvice .legal_text {
    color: #232323 !important;
}

.block_dbadvice .title {
    font-size: 16px !important;
}

.dbadvice_nav .open_contact:hover+.block_dbadvice {
    visibility: visible;
    opacity: 1;
}

.block_dbadvice:hover {
    visibility: visible;
    opacity: 1;
}

.block_dbadvice .block_header {
    background-color: #0c8ab2;
    color: #FFF;
    padding: 1rem;
}

.block_dbadvice .block_header p,
.block_dbadvice .block_header span,
.block_dbadvice .block_header i {
    color: #FFF;
}

.block_dbadvice .block_header i {
    margin-right: 10px;
    font-size: 20px;
    line-height: 20px;
}

.block_dbadvice .block_header .title {
    color: #E8E0BF;
    font-weight: 600;
    font-size: 18px;
}

.block_dbadvice .block_header .subtitle {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.block_dbadvice .block_body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/*
.block_dbadvice .block_body .authors_img {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
*/
.block_dbadvice .block_body .authors_img img {
    /*width: 80px;*/
    height: auto;
    border-radius: 50%;
    margin: 0 0.5rem;
}

.block_dbadvice .block_body .btn {
    /*margin-top: 1rem;*/
    color: #FFF !important;
    padding: 0.5rem 2.25rem;
}

.block_dbadvice .block_body .legal_text {
    font-size: 13px;
    margin-top: 1rem;
    margin-bottom: 0;
}

.block_dbadvice .data_dbadvice {
    margin-left: 2rem;
}

.block_dbadvice .data_dbadvice i {
    color: #0c8ab2;
}

.block_dbadvice .data_dbadvice .data_email,
.block_dbadvice .data_dbadvice .data_phone {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 1rem;
}

.block_dbadvice .data_dbadvice .data_email .text_email,
.block_dbadvice .data_dbadvice .data_phone .text_phone {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: 1rem;
}

.dbadvice_nav span {
    overflow-wrap: break-word;
}

.block_dbadvice .data_dbadvice .btn {
    color: #FFF !important;
    margin: auto;
    display: table;
}

.btn_send_advice {
    margin-top: 1rem;
}

.btn_send_advice:active {
    background-color: #000 !important;
}

/* Menu */
.dbadvice_menu .dbadvice_header {
    text-align: center;
    font-weight: 600;
    background-color: #d5d0c1 !important;
    /*background-color: #e7e3d8 !important;*/
    padding: 0.5rem 1rem;
    display: block;
    color: var(--dbmenu_color) !important;
}

.dbadvice_menu .dbadvice_header p {
    margin-bottom: 0px;
}

.dbadvice_menu .block_body {
    background-color: #d5d0c1;
    /*background-color: #e7e3d8;*/
    margin-top: 2rem;
}

.dbadvice_menu .title {
    margin: 0;
    padding: 8px 25px;
    /*background-color: #fafafa;*/
    background-color: #d5d0c1;
    /*background-color: #e7e3d8;*/
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    color: #232323;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 16px;
}

.dbadvice_menu .block_dbadvice {
    visibility: visible;
    opacity: 1;
    top: 0;
    position: relative;
    width: 100%;
    min-width: auto;
    border: 0;
    right: 0;
}

.dbadvice_menu .authors_img {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    vertical-align: top;
    margin-top: -2.5rem;
}

.block_dbadvice .block_body .authors_img img {
    /*width: 80px;*/
    height: auto;
    border-radius: 50%;
    /*margin: 0 0.5rem;*/
    border: 3px solid #d5d0c1;
    /*border:  3px solid #e7e3d8;*/
}

.block_dbadvice .block_body .authors_img .info_asesor>span {
    display: block;
    color: #000 !important;
    margin-bottom: 3px;
    /*font-size: 0.76em;*/
    font-size: 1em;
}

.dbadvice_menu .block_dbadvice>*,
.dbadvice_menu .block_dbadvice .block_body .authors_img {
    width: 100%;
    margin-bottom: 0.5rem;
}

.dbadvice_menu .block_dbadvice .block_body .btn {
    word-break: break-all;
    /*width: 100%;*/
    width: 83%;
}

.dbadvice_menu .block_dbadvice .block_body .authors_img img {
    /*width: 72px;*/
}

.dbadvice_menu .block_dbadvice .block_header {
    background-color: #FFF;
    /*color: #0c8ab2;*/
}

.dbadvice_menu .block_dbadvice .block_header p,
.dbadvice_menu .block_dbadvice .block_header span,
.dbadvice_menu .block_dbadvice .block_header i {
    color: #232323 !important;
}

.dbadvice_menu .block_body .authors_img>.ficha_asesor {
    width: 50%;
    text-align: center;
    border: 1px solid transparent;
    /*background-color: #d5d0c1;*/
    color: #000 !important;
    font-size: 0.8em;
}

.dbadvice_menu .block_dbadvice .block_body .btn {
    background-color: #a79247;
    color: #FFF !important;
    text-align: center;
    padding: 5px 20px;
    border-radius: 5px;
    /*margin: 10px 0 20px 0;*/
}

/* Mobile */
@media (max-width: 991px) {


    .dbadvice_footer .dbadvice_text_center .image {
        height: 214px;
        width: auto;
        position: absolute;
        bottom: -32px;
        right: 0;
        display: none;
    }

    .dbadvice_authors .dbadvice_author {
        width: 100%;
    }


    .dbadvice_footer .dbadvice_text_center .text .title {

        font-size: 20px;
        text-align: center !important;
        line-height: 27px;
    }

    .dbadvice_footer .dbadvice_text_center {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center !important;
        align-items: center !important;
        position: relative;
    }

    .button_llamar_home {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        margin-top: 20px;
    }

    .dbadvice_footer .dbadvice_text_center .text {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        margin-right: 15px;
        margin-left: 1px !important;
    }

    .asesoramiento_free {
        margin-top: -94px !important;
        position: inherit !important;
    }



}


/* Contenido central */
.dbadvice_footer {
    background-color: #F4F2EA;
    color: #232323;
    padding: 2rem 0;
    margin-top: 0;
    margin-top: 140px;
}

.dbadvice_footer .dbadvice_text_center {
    display: flex;
    /*flex-direction: row;
    flex-wrap: wrap;*/
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.dbadvice_footer .dbadvice_text_center .text {
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-left: 275px;
}

.dbadvice_footer .dbadvice_text_center .text .title {
    font-size: 20px;
    line-height: 27px;
    font-family: 'Montserrat';
}

.dbadvice_footer .dbadvice_text_center .text .description {
    font-size: 20px;
    line-height: 27px;
    font-family: 'Montserrat';
}

.dbadvice_footer .dbadvice_text_center .image {
    height: 277px;
    width: auto;
    position: absolute;
    bottom: -32px;
}

.button_llamar_home {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -30px;
}

.button_llamar_home .horario {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #232323;
    margin-top: 4px;
}


#module-dbadvice-expert .custom-checkbox input[type="checkbox"]+span {
    border: 1px solid black;
}

.font-monserrat-advice {
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 20px;
}

.asesoramiento_free {
    margin-top: -190px;
    position: absolute;
}

.font-amalfi-advice {
    font-family: "amalfi-coast";
    font-size: 25px;
}

/* HOME */
.dbadvice_home {
    overflow: hidden;
    padding: 64px 0px;
}

.dbadvice_home_content {
    display: flex;
    align-items: stretch;
}

.dbadvice_home_left {
    background: #033730;
    color: #ffffff;
    flex: 0.8;
    padding: 32px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 8px 0 0 8px;
}

.dbadvice_home_title {
    width: 100%;
}

.dbadvice_home_title .h3 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dbadvice_home_title .h3,
.dbadvice_home_title span {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    color: #ffffff;
}

.dbadvice_home_line {
    height: 1px;
    background: #9AB12B;
    margin: 20px 0px;
    border-radius: 2px;
}

.dbadvice_home_subtitle {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
    margin-bottom: 32px;
}

.dbadvice_home_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
}

.dbadvice_home_btn span, 
.dbadvice_home_btn svg {
    color: #ffffff;
}

.dbadvice_home_btn:hover span,
.dbadvice_home_btn:hover svg {
    color: #9AB12B;
}

.dbadvice_home_right {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 280px;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
}

.dbadvice_home_right img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {

    .dbadvice_home_title .h3,
    .dbadvice_home_title span {
        font-size: 20px;
    }

    .dbadvice_home {
        padding: 40px 0px;
    }

    .dbadvice_home_content {
        flex-direction: column-reverse;
    }

    .dbadvice_home_left {
        padding: 32px 20px;
        border-radius: 0px 0px 8px 8px;
        min-width: 0;
    }

    .dbadvice_home_right {
        border-radius: 8px 8px 0px 0px;
        min-width: 0;
    }

    .dbadvice_home_right img {
        height: 197px;
    }
}