/* Colores principales */
:root {
  --color1: #253F6D;
  --color2: #008487; 
  --color3: #91b1e9; 
  --color4: #fff;
  --color5: #39dcdf;
}
/********************************************/
/* Font Face  *******************************/
/********************************************/

*{font-family: 'Gotham Rounded', sans-serif;}
h1{font-weight: 900; font-size: 2em;}
div.g-recaptcha {margin: 0 auto;width: 304px;}
.ancla:before {
      display: block;
      content: " ";
      margin-top: -130px;
      height: 130px;
      visibility: hidden;
}

/********************************************/
/* Menú *************************************/
/********************************************/
.navbar{box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08); background-color: white;}
.nav-link{font-size: 1.1rem;font-weight: 600;letter-spacing: .1rem;}
.nav-item a{position: relative;color:var(--color3)}
/* Animacion linea debajo de palabra*/
.nav-item a:after {
	content: "";
	display: block;
	height: 2px;
	width: 0px;
	background: #2C3487;
	transition: all .3s;
}
.nav-item a:hover{color:var(--color2)}
.nav-item a:hover:after {width: 0%;}

.dropdown-menu{	
	border: none;
	min-width: 240px;
	border: 0px solid var(--color1);
	border-top: none;
	padding: 20px 10px;
	border-radius: 10px 10px 10px 10px;
	margin-left:0px;
	margin-top: 0px;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
	background-color: var(--color2);
}

.dropdown-menu a{
	padding: 0px 20px;
	line-height: 20px;
	font-weight: 400;
	letter-spacing: 0.5px;
	color:white;
}
.dropdown-menu a:hover{
	color:var(--color1);
}
.dropdown-menu a:hover:after{width: 0px;}
.dropdown:hover>.dropdown-menu{display:block;}
.dropdown-divider{border-top: 1px solid var(--color3);}

/********************************************/
/* Texto y colores **************************/
/********************************************/
.text-400{font-weight: 400;} /*Normal*/
.text-700{font-weight: 700;} /*Bold*/
.text-900{font-weight: 900;} /*Black*/
.color1{color: var(--color1)}
.fcolor1{background-color: var(--color1)}
.color2{color: var(--color2)}
.fcolor2{background-color: var(--color2)}
.color3{color: var(--color3)}
.fcolor3{background-color: var(--color3)}
.color4{color: var(--color4)}
.fcolor4{background-color: var(--color4)}
.color5{color: var(--color5)}
.fcolor5{background-color: var(--color5)}

/********************************************/
/* Bordes títulos **************************/
/********************************************/
.foto {
  max-width: 250px; 
  cursor: pointer;
  border: 6px solid var(--color5);
  border-radius: 20px;
} 
.fotoAni {
  position:relative;
  cursor: pointer;
} 
.fotoAni::after,.fotoAni::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  transition: all 0.5s;
  z-index: 10;
}
.fotoAni::before {
  top: 0px;
  border-top: 8px solid var(--color1);
  border-left: 8px solid var(--color1);
}
.fotoAni::after {
  bottom: 0px;
  right: 0px;
  border-bottom: 8px solid var(--color2);
  border-right: 8px solid var(--color2);
}

@media only screen and (max-width: 992px)
 {/*celular*/
  .fotoAni::after {right: 45px; }
 }


.fotoAni:hover::after,
.fotoAni:hover::before
 {
  width: 250px;
  height: 250px;
}

/********************************************/
/* Video Youtube ****************************/
/********************************************/
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-bottom:15px;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/********************************************/
/* Campos Formulario ************************/
/********************************************/
.errorForm{border: 2px solid red;}
/********************************************/
/* Custom Checkbox **************************/
/********************************************/
.pre {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: -10px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.pre input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #eee;
  border-radius: 50%;
}
.pre:hover input ~ .checkmark {
  background-color: #ccc;
}
.pre input:checked ~ .checkmark {
  background-color: var(--color3);
}
.custom-select {
    width: auto;
    background-color: #00FFFF;
    color:#081e3f;
}

/********************************************/
/* boton Bootstrap***************************/
/********************************************/
.miBoton {
  background-color: var(--color2);
  color: white;
  transition: all 0.2s ease-in-out;
}
.miBoton:hover {
  background-color: var(--color5);
  color: black;
}

/********************************************/
/* boton top ********************************/
/********************************************/
#boton_top {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 90px; /* Place the button at the bottom of the page */
  right: 23px; /* Place the button 30px from the right */
  width: 60px;
  height:60px;
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: var(--color1); /* Set a background color */
  color: white; /* Text color */
  padding: 0;
  transition: .3s;
  cursor: pointer; /* Add a mouse pointer on hover */
  border-radius: 10px; /* Rounded corners */
  font-size: 40px; /* Increase font size */
  vertical-align: middle;
}
#boton_top:hover {background-color: var(--color1);}
/********************************************/
/* Botón WhatsApp ***************************/
/********************************************/
#boton_email{
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 23px; /* Place the button at the bottom of the page */
  right: 23px; /* Place the button 30px from the right */
  width: 60px;
  height:60px;
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #4c7aaf; /* Set a background color */
  color: white; /* Text color */
  padding: 0px 0px 0px 11px;
  transition: .3s;
  cursor: pointer; /* Add a mouse pointer on hover */
  border-radius: 10px; /* Rounded corners */
  font-size: 40px; /* Increase font size */
  vertical-align: middle;
}
#boton_email:hover {background-color: #4c7aaf;}
/********************************************/
/* modal WhatsApp ***************************/
/********************************************/
.modal{
  display: none;
}
.modal-header {
  padding: 10px 14px;
  background-color: #4CAF50;
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 12px;
}

.modal-body {padding: 16px 16px;}

.modal-content {
  top:100px;
  border-radius: 10px;  
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}
/* The Close Button */
.cerrarw {
  color: #fff;
  float: right;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}

.cerrarw:hover,
.cerrarw:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.w-form-control {
    border-radius: 0px;
    border: 0px;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-bottom: 1px solid #4CAF50;
    margin: 10px 0px 10px 0px;
    width: 100%;
    }
#err_wnombre,#err_wemail,#err_wapellido,#err_wmensaje{
  color:red;
  margin-top: 0px;
}
/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 100px; opacity: 1}
} 
.btn_enviar{
border: none;
border-radius: 5px;
display: inline-block;
padding: 8px 16px;
text-align: center;
cursor: pointer;
vertical-align: middle;
overflow: hidden;
text-decoration: none;
margin-top: 10px;
}
@media only screen and (min-width: 992px)
 {/*laptop*/
  .modal-content {width: 20%;}
}

/********************************************/
/* popup ************************************/
/********************************************/
.popup-form-process,.popup-form-error,.popup-form-success,.popup-cv {
  position: fixed;
  display: none;
  z-index: 1000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
}
.popup-cv .popup-container {
  position: relative;
  font-size: 16px;
  width: 90%;
  max-width: 700px;
  top:110px;
  margin: 0 auto;
  background: var(--color1);
  color:white;
  border-radius: 1em;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation-name: popup_animatetop;
  animation-duration: 0.4s;
  border: 4px solid var(--color3);
}
.popup-container {
  position: relative;
  font-size: 16px;
  width: 90%;
  max-width: 400px;
  top:110px;
  margin: 0 auto;
  background: var(--color1);
  border-radius: 1em;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation-name: popup_animatetop;
  animation-duration: 0.4s;
  border: 4px solid var(--color3);
}
@keyframes popup_animatetop {
  from {top: -300px; opacity: 0}
  to {top: 110px; opacity: 1}
}
.popup-container p {padding: 0.5em 1em 0em 1em;}
.cerrar{display: flex;justify-content: center;align-items: center;cursor: pointer;
  position: absolute;top: -25px;right: -25px;border-radius: 50%;font-size: 35px;
  background-color: var(--color1);border: 4px solid var(--color3);width: 50px;height: 50px;}
.popup-close { color: var(--color3);}

@media only screen and (max-width: 992px)
 {/*celular*/
  .popup-cv .popup-container {
    font-size: 12px;}
  .cerrar{right: -15px;}
}

/********************************************/
/* animaciones ********************************/
/********************************************/
.zoomin{-webkit-animation-name:zoomin;animation-name:zoomin;animation-duration:1s;animation-fill-mode:both;}
@keyframes zoomin{
  from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}
  to{opacity:1}}

.slideinleft{-webkit-animation-name:slideinleft;animation-name:slideinleft;animation-duration:1s;animation-fill-mode:both;}
 @keyframes slideinleft{
  from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}
  to{-webkit-transform:translateZ(0);transform:translateZ(0)}}

.slideinright{-webkit-animation-name:slideinright;animation-name:slideinright;animation-duration:1s;animation-fill-mode:both;}
 @keyframes slideinright{
  from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}
  to{-webkit-transform:translateZ(0);transform:translateZ(0)}}
 
.slideinup{-webkit-animation-name:slideinup;animation-name:slideinup;animation-duration:1s;animation-fill-mode:both;}
@keyframes slideinup{
  from{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}
  to{-webkit-transform:translateZ(0);transform:translateZ(0)}}

.time2{animation-delay: 0.2s;}
.time4{animation-delay: 0.4s;}
 