.open_comercial {
    position: fixed;
    right: 5px;
    padding: 5px;
    z-index: 10;
    bottom: 67px;

}
.open_comercial a{
    background-color: #46782e;
    width:50px;
    height: 50px;
    border-radius: 50px;
    border: 2px solid #fff;
    display: block;
}
.open_comercial svg{
    padding: 6px;
    fill: #fff;
}

.close_comercial a.btn-call {
    color: #fff !important;
}

.open_comercial a.btn-call span { 
    color: #fff !important;
    position: absolute;
    color: #fff;
    font-size: 60%;
    text-align: center;
    left: 50%;
    background: #46782e;
    line-height: normal;
    padding: 1px 2px;
    bottom: -4px;
    transform: translateX(-50%);
    white-space: nowrap;

    text-transform: uppercase;
}

.comercial {
    transition: all 0.3s ease-in-out;
    position: fixed;
    right: 0;
    z-index: 9999;
    color: #fff;
    bottom: 10px;
    display: flex;
    align-items: center;
    background-color: #05adf9;
    box-shadow: inset 6px 5px 10px rgba(0, 0, 0, 0.3), 0px 0px 10px 5px rgba(180, 180, 180, 0.4);
    border-radius: 100px 0 0 100px;
    border: 10px solid;
    border-width: 10px 0px 10px 10px;
}

.comercial-activo {
    right: calc(-100% - 100px);

}

.comercial .btn-white {
    color: #fff;
    
}

.comercial .foto {
    max-width: 100px;
    border-radius: 100px;
    overflow: hidden;
    border: 9px solid #FFF;
    box-shadow: inset 6px 0px 5px -4px rgba(5, 173, 249, 0.5);
    margin: -10px;

}

.comercial .foto img {
    position: relative;
    z-index: -1;
    cursor: pointer;
}

.comercial .datos {
    padding-left: 20px;
    padding-right: 20px;

}

.comercial .datos p {
    font-weight: 700;
    margin: 3px 0 5px 4px;
    min-width: 150px;
}

.datos a.btn-sm {
    padding: 0.55rem 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    text-align: left;
}
.datos a.btn-sm:hover{
    opacity:0.5;
}


.datos i {
    font-size: 160%;
}

.datos .fa-whatsapp {
    width: 30px;
    height: 30px;
}

.modal_comercial {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: fixed;
    left: 50%;
    top: -50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: none;
    border-radius: 5px;
    max-width: 370px;
    color: #000;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.parte-comercial{
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.parte-comercial .foto{
    overflow: hidden;
    border-radius: 5px;
    position: relative;
    width: 100%;
    margin: 8px;
}
.parte-comercial .foto::before{
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    top: 40%;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(84,99,144,1) 100%);
    position: absolute;
    mix-blend-mode: multiply;

}

.parte-comercial .icon{
    display: inline-flex;
    background: #67a641;
    min-width: 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 90%;
    color: #fff;
    margin-right: 7px;
}
.parte-comercial .nombre{
    color: #fff;
    font-weight: 600;
    position: absolute;
    bottom: 6px;
    left: 5px;
    line-height: 1.1;
}
.parte-comercial .datos{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;

}
.modal_comercial .modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.6px;
}
.modal_comercial p.subtexto{
    font-size: 110%;
    margin: 10px 0 25px;
}

.modal_comercial hr{
    margin-bottom: 25px;
}
.modal_comercial .modal-header .close:not(:disabled):not(.disabled) {
    position: absolute;
    right: 3px;
    top: -6px;
}
.parte-comercial .nombre h3{
    padding: 2px 0;
}
.modal_comercial .modal-footer {
    display: block;
    padding: 25px 0 10px;
    margin-top: 20px;
}
.modal_comercial button.btn-outline-primary{
   width: 100%;
   margin-bottom: 20px;
   display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.modal_comercial .btn-outline-primary{
    border-radius: 25px;
    color: #000;
    border-color: #000;

}
.modal_comercial .btn-outline-primary:hover,.modal_comercial .btn-outline-primary:active {
    color: #fff;
    background-color: #555;
    border-color: #555;
}
button svg{
    width: 35px;
}
svg .flecha{
    fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10;
}
.btn.buscar-comercial{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid;
    padding: 10px 12px;
}
.modal_comercial .datos div {
    margin-top: 6px;
    line-height: 1.2;
    font-style: italic;
    padding: 5px;
}



.modal_comercial.opencomercial {

    top: 49%;
    opacity: 1;
    z-index: 3;
}
.div_com.fondo:after{
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    left: 0px;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    content: "";
    z-index: 2;
}
.modal_comercial .modal-footer .row > div {
    display: flex;
    flex-direction: column;
}
.close_comercial {
    position: absolute;
    right: 10px;
    top: 0px;
}

button#back-to-top {
    background: #05adf9;
    right: -15px;
    z-index: 99;
    transform: translateX(-50%);
    bottom: 5px;
    width: 50px;
    height:50px;
    border-radius: 50px;
    border: 2px solid #fff;
        overflow: hidden;
}
button#back-to-top i{
    font-size: 33px;
  
}
.boton-comercial {
    background: #05adf9;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    margin:20px auto;
    box-shadow: inset 7px 3px 26px -14px rgb(6, 102, 146);
    justify-content: center;
}

.boton-comercial .foto {
    overflow: hidden;
    border-radius: 200px;
    border: 10px solid #fff;
    max-width: 100px;
    margin:15px;
}
.boton-comercial h3{
    font-size: 150%;
    text-transform: uppercase;
}

.boton-comercial .text-boton-comercial {
    padding: 10px 20px 0 20px;
}
.botonera-co{
    margin-top: -10px;
    margin-bottom: 10px;
    display:flex;
    justify-content: space-around;
}
.botonera-co a.btn-white{
    color:#fff;
}
#comercial_consulta .foto{
    margin:0 auto;
    max-width: 100px;
    border-radius: 100px;
    overflow: hidden;
    border: 9px solid #FFF;
    box-shadow: inset 6px 0px 5px -4px rgba(5, 173, 249, 0.5);
    
}
#comercial_consulta .btn-white {
    color: #fff;
}


.texto-comercial-ausente{
    font-size: 90%;
    font-weight: normal;
}
.consulta-boton{
    background-color: #fdcd65;
    color: rgb(0, 0, 0);
    font-weight: bold;

    border-radius: 25px;
    padding: 20px 20px 10px;
    text-align: center;
}
.consulta-boton a:hover{
    color: #fff;
}
