@font-feature-values{
    font-family: 'Montserrat', sans-serif;
}

body{
    overflow-x: hidden;
    background: url(imgg/fon-cat.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 800px){
    body{
        overflow-x: hidden !important;
    }
    html{
        width: 100%;
    }

}
/*boton de contacto*/
.boton_contc button{
    background: #80171B;
    border-color:#80171B;
}
.boton_contc button:hover{
    background: #802023;
    border-color:#80171B;
}
/* Navbar */
.bg-light{
    background-color: rgba(255, 255, 255, 0.95) !important;
}
.navbar .navbar-nav .nav-item{
    position: relative;
    font-size: 16px;
}
.navbar .navbar-nav .nav-item a{
    position: relative;
    font-size: 18px;
}
.navbar .navbar-nav .nav-item::after{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: -10 auto;
    content: '';
    background-color:#80171B;
    width: 0%;
    height: 2px;
    transition: all .5s;
}
.navbar .navbar-nav .nav-item:hover::after{
    width: 100%;
}
/* Fin Navbar */

/*  Botón de chat */

button{
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    background: #173a80;
    border-radius: 5px;
    color: #fff;
    z-index: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.5s;
}

button::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: -50px;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff71, transparent);
    transition: all 1s;
    z-index: -1;
    transform: translate(-120px) skew(-20deg);
}

button:hover::before{
    transform: translate(300px)
    skew(-20deg);
}
button:active::before{
    animation: ripple 100ms cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes ripple {
    to {
        transform: scaleX(1);
    }
}
/*chatbot*/

.bot-response{
	background-color: rgb(214, 214, 214);
    padding: 10px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 0 3px rgb(0, 0, 0);
    
}


.user-response{
	background-color: #004AA1;
	padding: 10px;
	border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
    box-shadow: 0 0 3px black;
    text-align: justify;

}

#popUpOverlay{
z-index: 100;
position: fixed;
}
#span-bot{
padding-right: 15px;
padding-left: 15px;
}
.container-bot{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.chat-bot{
height: 89%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

} 
::-webkit-input-placeholder { 
color: .711 
}
#input-bot{ 
	border: 0;
	padding: 10px;
	width: 100%;
	padding-bottom: 13px;
	border-top: 1px solid rgb(196, 196, 196) !important;
	border-bottom: solid 1px #159098;
	-webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
	transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
	overflow: auto;
	}
#input-bot:focus, input:valid {
	box-shadow: none;
	outline: none;
	background-position: 0 0;
	overflow: auto;
	}

textarea{
	margin-right: auto;
}

.messages-bot{
	display: flex;
	flex-direction: column;
	overflow: auto;
	height: 90%;
	width: 100%;
	background-color: white;
	padding: 20px;
	padding-bottom: 50px;
    
}
#bot {
margin-right: auto;
text-align: left;
}
#user {
margin-left: auto;
margin-top: 10px;
margin-bottom: 10px;
}
.bot {
font-family: Consolas, 'Courier New', Menlo, source-code-pro, Monaco, monospace;
}
.avatar {
height: 25px;
}
.response {
display: flex;
align-items: center;
margin: 1%;
}
/* Mobile */

@media only screen and (max-width: 980px) {
.container-bot{
flex-direction: column; 
justify-content: flex-start;
}
.chat-bot{
width: 75vw;

}
}

.mensaje-bot{
    margin: 0;
    color: black;
    z-index: 100;
    position: fixed;
    top: 85%;
    left: 89%;
    transform: translate(-80%, -80%);
    border-radius: 5px;
    background-color: rgb(211, 211, 211);
    width: 16%;
    padding: 6px;
    box-shadow: 0 0 7px black;
}
.mensaje-bot::after {
    content: '';
    position: fixed;
    top: 85%;
    left: 83%;
    background: transparent;
    width: 0px;
    height: 0px;
    border-bottom: 20px solid rgb(214, 214, 214);
    border-right: 20px solid transparent;
    transform: rotate(180deg);
    z-index: -1;
}

.bot-texto{
overflow-wrap: break-word;
display: inline;
font-size: 14px;
line-height: 1;}


.btn-bot{
z-index: 99;
position: fixed;
top: 95%;
left: 95%;
transform: translate(-80%, -80%);
background: url(img/fantasma_Doctora.png) center center / cover no-repeat fixed;
background-color: #004AA1;
font-size: 10px;
color: white;
padding: 0.7em;
cursor: pointer;
border-radius: 100% ;
border-color: #0dcaf0;
height: 12%;
width: 8%;
box-shadow: 0 0 10px black;
}

#popUpBox{
    max-width: 353px;
    overflow: hidden;
    background: #004AA1;
    box-shadow: 0 0 10px black;
    border-top-left-radius: 10px;
    position: fixed;
    bottom: -25%;
    right: 16%;
    transform: translate(40%,-33%);
    z-index: 9999;
    padding-bottom: 10px;
    text-align: center;
    display: none;
    padding-bottom: 0px;
    border-top-right-radius: 10px;
    height: 75%;
    max-height: 483px;
}

.salir{
    display: flex;
}

.btn2::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: -50px;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff71, transparent);
    transition: all 1s;
    z-index: -1;
    transform: translate(-500px) skew(-50deg);
}

.btn:hover::before{
    transform: translate(500px)
    skew(-20deg);
}
.btn:active::before{
    animation: ripple 100ms cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes ripple {
    to {
        transform: scaleX(1);
    }
}

.comunicate-coment{
    margin-left: 33%;
}
.redes_sociales{
    margin-left: 35%;
}
.list-group-item{
    border: none !important;
}

/*mision y vision*/
/*diseño desktop*/ 
.mivi{
    padding: 16px;
    display: flex;
    margin-left: 5%;
    margin-right: 5%;
}
.titulo1{
    text-align: left;
    padding-right: 5%;
    color: #80171B;
    border-color: #80171B;
    border-right: solid 2px;
}
.p1{
    text-align: justify;
    color: black;
}
.titulo2{
    text-align: left;
    padding-left: 5%;
    color: #80171B;
    border-color : #80171B;
    border-left: solid 2px;

}
.p2{
    color: black;
    text-align: justify;
}

/*diseño movile*/ 
@media screen and (max-width: 800px){
    
    .mivi{
        display: block;

    }
    .titulo1{
       border-bottom: solid 2px;
       border-color: #80171B;
       border-right: none;
       padding-right: 0px;
       text-align: center;
    }

    .titulo2{
        border-top: solid 2px;
        border-color: #80171B;
        border-left: none; 
        padding-left: 0px;
        text-align: center;
        
    }
    .titulo2 h1{
        margin-top: 10px;
    }

}
#servicios{
    background: #80171B;
}
/*imagen de proyectos*/
.img-fluid{
    width: 400px;
}

/* Proyectos galeria*/

.galeria{
    display:flex;
    flex-flow: wrap;
    justify-content: center;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 40px;
}
.galeria img{
    transition: .2s;
    padding: 10px;
    max-width: 350px;
    max-height: 300px;
    min-height: 300px;
    border-radius: 15%;

}
.galeria img:hover{
    transform: scale(1.05);

}
.titulo_desc , .titulo_desc2{
    text-align: left;
    color: #80171B;
    margin-left: 2%;
    margin-right: 2%;
    
}
/* Fin Proyectos galeria*/

/*Proyectos trabajos */

.desc_proyecto{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 1rem;
    padding-right: 8%;
    padding-left: 8%;

}
.fila{
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    justify-content: center;
    align-items: center;
}
.col_1{
    flex: 0 0 auto;
    width: 60%;
    align-items: center;
}
.col_2{
    flex: 0 0 auto;
    width: 40%;
    padding-left: 1rem;

}
.lista_trabajos{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    background-color: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
    transition: .2s;

}
.lista_trabajos:hover{
    transform: scale(1.05);
}
.text_trabajos{
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    display: block;
    text-decoration: none;
    color: #80171B;
    font-weight: bold;
}
/*Mobile*/
@media screen and (max-width: 800px){

    .fila{
        display: block;
    }
    .col_1{
        width: 100%;
    }
    .col_2{
        width: 100%;
    }
}
    
/*Mobile*/

/*Fin Proyectos Trabajos */

/*footer*/

.pie-pagina{
    width: 100%;
    background-color: #ffff;
    padding-top: 10px;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}
.pie-pagina .grupo-1 .box h2{
    color: black;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: black;
    margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: aqua;
}
.pie-pagina .grupo-2{
    background-color: #80171B;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
}
@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}
.red-social img{
    transition: .2s;
}

.red-social img:hover{
transform: scale(1.2);

}

 /*Chatbot 2*/
 #init{
    margin-top: 2rem;
    background: #ffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: aliceblue;
    cursor: pointer;
    position: fixed;
    bottom: 3%;
    right: 1%;
    z-index: 90;
    max-width: 80px;
    max-height: 80px;
    border-radius: 100%;
    box-shadow: 0 0 5px black;
}
#init img{
height: 80px;
right: 46%;
position: relative;
}
.desc p{
    color: rgb(133,153,168);
    margin: 0;
    font-weight: 600;
}

.bot-img{
    width: 20rem;
    height: 20rem;
}
.child{
    box-shadow: 0 0 5px black;
    border-radius: 15px;
    height: 450px;
    width: 300px;
    margin: auto;
    background: white;
}
.header-bot img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 0 0.5rem;

}
.header-bot{
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    color: white;
    border-bottom: 1px solid whitesmoke;
    background: #80171B;
    width: 100%;
    padding: 5px 0;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    z-index: 1;
    box-shadow: 0 0 2px rgb(175,175,175);
}
.footer-bot{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #80171B;
    color: white;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 0 3px rgb(153,153,153);
}
.h-child{
    display: flex;
    align-items: center;
}
.header-bot span{
    font-size: 13px;
    margin: 0;
    padding: 0;
}
.refBtn{
    position: absolute;
    bottom: 1.5rem;
    right: 2%;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#chat-box{
    position: relative;
    top: 40px;
    padding: 40px 10px;
    font-size: 12px;
    height: 24.2rem;
    overflow: auto;
    background: white;
    text-align: center;

}

.msg{
    background: lightgray;
    padding: 5px 7px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 14px;
    color: black;
    box-shadow: 0 0 2px black;
    max-width: 65%;
    text-align: left;

}
.test{
    text-align: right;
    margin: 10px 0;
 
}
.hover-whats:hover{
    text-decoration-line: underline;
    text-decoration-color: lawngreen ;

}
.rep{
    background: #80171B;
    color: white;
    padding: 5px 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    font-size: 14px;
    box-shadow: 0 0 3px black;
    padding: 10px;
    border: solid 1px black;
}
.opt{
    padding: 5px 20px;
    border: 1px solid black;
    border-radius: 1rem;
    margin: 0.3rem 0.5rem;
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
    background: #80171B;
    text-align: center;
    font-size: 14px;
    color: white;
}
.opt a{
    color: white;
    text-decoration: none;
}
.link{
    text-decoration: none;
    display: block;
    text-align: center;
    color: aliceblue !important;
    background: blueviolet;
}
.m-link{
    text-decoration: none;
}
.link:active{
    background: white;
    border: 1px solid blueviolet;
    color: blueviolet;
}
 /*fin chatbot 2*/
