/*
Theme Name: Hydrogen
Theme URI: http://gantry.org
Author: RocketTheme, LLC
Author URI: http://rockettheme.com
Description: Default Gantry 5 theme. Provides a simple, clean and fast design to get you started on developing your own theme or setting up a quick new site
Version: 5.4.28
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/



/* =================
 * Fuentes		
 * ================= */
/*
@font-face {
	font-family: titillium-black,Helvetica,Arial,sans-serif;
	font-display: auto;
	src: url(fonts/titillium/titillium-black/titillium-black-webfont.woff);
}
@font-face {
	font-family: titillium-bold,Helvetica,Arial,sans-serif;
	font-display: auto;
	src: url(fonts/titillium/titillium-bold/titillium-bold-webfont.woff);
}
@font-face {
	font-family: titillium-regular,Helvetica,Arial,sans-serif;
	font-display: auto;
	src: url(fonts/titillium/titillium-regular/titillium-regular-webfont.otf);
}
@font-face {
	font-family: titillium-light,Helvetica,Arial,sans-serif;
	font-display: auto;
	src: url(fonts/titillium/titillium-light/titillium-light-webfont.woff);
}
*/

.light {
  font-family: 'titillium-light',Helvetica,Arial,sans-serif;
}
.regular {
  font-family: 'titillium-regular',Helvetica,Arial,sans-serif;
}
.bold {
  font-family: 'titillium-bold',Helvetica,Arial,sans-serif;
}
.black {
  font-family: 'titillium-black',Helvetica,Arial,sans-serif;
}

.fs18 { font-size: 18px; }
.fs20 { font-size: 20px; }
.fs30 { font-size: 30px; }
.fs40 { font-size: 40px; }

.lh18 { line-height: 28px; }
.lh40 { line-height: 40px; }



/* =================
 * Estructura		
 * ================= */
.br { border-radius: .35rem; }
.br-grey { border: 1px solid #dcdcdc; }
.mb-1 { margin-bottom: 1rem !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-3 { margin-top: 3rem !important; }
.mb-3 { margin-bottom: 3rem !important; }
.mb-0 { margin-bottom: 0rem !important; }
.mt-0 { margin-top: 0rem;}
.m-0 { margin: 0; }



/* =================
 * Gantry		
 * ================= */
body { font-family: titillium-regular !important; font-size: 18px; }

p { margin: 1rem 0; }

#g-navigation .g-main-nav .g-toplevel > li:not(.g-menu-item-type-particle):not(.g-menu-item-type-module).active {
    background: #4f88b5;
}
#g-navigation .g-main-nav .g-toplevel > li:not(.g-menu-item-type-particle):not(.g-menu-item-type-module).active > .g-menu-item-container {
    color: #fff;
}

#g-main { padding: 0; }
.g-social a { margin-bottom: 0px; }
#g-navigation .g-social a { background: transparent; }
#g-footer { border-top: none; }
.g-offcanvas-toggle { top: 12.75rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.p1 { padding: .5rem; }
.p2 { padding: 1rem; }
.pb-2 { padding-bottom: 1rem; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }

.d-block { display: block; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }



/* =================
 * Colores		
 * ================= */
.blue1 { color: #093266; }
.blue2 { color: #118ab9; }
.blue3 { color: #59bee6; }
.white { color: #ffffff; }
.grey { color: #808080; }
.cblack { color: #000000; }

.bg-blue1 { background-color: #093266; }
.bg-blue2 { background-color: #118ab9; }
.bg-blue3 { background-color: #59bee6; }
.bg-white { background-color: #ffffff; }



/* =================
 * Inicio		
 * ================= */
.redes .g-content { padding: 0.938rem; margin: 0; }
.redes {
  display: flex;
  align-items: center;
  flex-flow: row-reverse;
}
.rp-logo { padding: 1rem 0 !important; }
.rp-head-contacto { display: flex; align-items: center; flex-flow: row-reverse; text-align: right; }
.rp-head-contacto a { color: #093266 !important; }
.rp-head-contacto a:hover { color: #59bee6 !important; }

#inicio-eyecatcher { margin-bottom: 1rem !important; }
#inicio-eyecatcher-texto { width: 35%; position: absolute; top: 3%; left: 3%; }
#inicio-eyecatcher-texto h1 { font-size: 50px; line-height: 59px; margin: 0 0 10px 0; }
#inicio-eyecatcher-texto p { font-size: 25px; line-height: 33px; margin: 0; }
#inicio-eyecatcher-texto a {
	display: inline-block;
    background-color: #ec0505;
    border-radius: .35rem;
    padding: 10px 20px;
    margin-top: 10px;
    color: #fff;
    transition: all ease .5s;
}
#inicio-eyecatcher-texto a:hover {
	background-color: #59bee6;
}
.rp-nodo-inicio { margin: 0; padding: 0; }

.credit {
  background: -moz-linear-gradient(left, rgba(89,190,230,0) 0%, rgba(89,190,230,0.01) 1%, rgba(89,190,230,0.5) 50%, rgba(89,190,230,0) 100%);
  background: -webkit-linear-gradient(left, rgba(89,190,230,0) 0%,rgba(89,190,230,0.01) 1%,rgba(89,190,230,0.5) 50%,rgba(89,190,230,0) 100%);
  background: linear-gradient(to right, rgba(89,190,230,0) 0%,rgba(89,190,230,0.01) 1%,rgba(89,190,230,0.5) 50%,rgba(89,190,230,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0059bee6', endColorstr='#0059bee6',GradientType=1 );
}
.credit hr {
  height: 2px;
  background: -moz-linear-gradient(left, rgba(89,190,230,0) 0%, rgba(89,190,230,0.01) 1%, rgba(89,190,230,0.5) 50%, rgba(89,190,230,0) 100%);
  background: -webkit-linear-gradient(left, rgba(89,190,230,0) 0%,rgba(89,190,230,0.01) 1%,rgba(89,190,230,0.5) 50%,rgba(89,190,230,0) 100%);
  background: linear-gradient(to right, rgba(89,190,230,0) 0%,rgba(89,190,230,0.01) 1%,rgba(89,190,230,0.5) 50%,rgba(89,190,230,0) 100%);
  border: 0;
  margin: 0;
}

.testimonial-nodo img {
  margin-left: 5%;
  display: inline-block !important;
  width: 20%;
  border-radius: 50%;
  border: 3px solid #59BEE6;
  box-shadow:0px 20px 10px -10px rgba(0, 0, 0, 0.3);
  vertical-align: top;
}
.testimonial-text {
  display: inline-block;
  width: 55%;
  margin-left: 5%;
  vertical-align: middle;
}

.pre-footer h2 { margin: 0; }
.pre-footer a { color: #ffffff; }
.pre-footer a:hover { color: #093266; }



/* =================
 * Nosotros		
 * ================= */
.nosotros-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nosotros-lista li {
  padding-left: 1.3em;
}
.nosotros-lista li:before {
  content: "\f00c"; /* FontAwesome Unicode */
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; /* same as padding-left set on li */
  width: 1.3em; /* same as padding-left set on li */
  color: #59bee6;
  font-size: 1.5rem;
}

.btn-credenciales {
  display: inline-block;
  width: 20%;
  margin: 1%;
  border-radius: .35rem;
  overflow: hidden;
  border: 1px solid #59bee6;
  transition: all ease .5s;
  box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
}

.btn-credenciales img { width: 100%; }

.btn-credenciales:hover {
  box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.2);
}



/* =================
 * Galeria		
 * ================= */
 .btn-galeria {
  display: inline-block;
  width: 22%;
  margin: 1%;
  border-radius: .35rem;
  overflow: hidden;
 }

 /* Grow */
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}



/* =================
 * Contacto		
 * ================= */
#form_contacto input, #form_contacto textarea,
.wpcf7 input, .wpcf7 textarea { 
  display: block; width: 100%;
}

#form_contacto input[type="submit"],
.wpcf7 input[type="submit"] { 
  padding: .5rem 3rem; color: #ffffff; border-radius: 0.1875rem; background-color: #59bee6; 
}

iframe { width: 100%; margin-bottom: -7px; }


/* =================
 * Footer		
 * ================= */
.footer-links a { color: #ffffff; padding: 0 .25rem; }
.footer-links a:hover { color: #59bee6; }


/* =================
 * Dr Esteba		
 * ================= */
#logotipos .g-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#contactos .g-content p {
  text-align: right;
}


/* =================
 * Querys		
 * ================= */
@media screen and (max-width: 1024px) {
	#inicio-eyecatcher-texto { top: 8%; }
	#inicio-eyecatcher-texto h1 { font-size: 35px; line-height: 37px; }
	#inicio-eyecatcher-texto p { font-size: 25px; line-height: 33px; margin: 0; }
}


@media screen and (max-width: 768px) {
	#g-header { padding: 1rem; }

  #logotipos a img {
    width: 85%;
  }
}

@media screen and (max-width: 767px) {
  #direccion .g-content p,
  #contactos .g-content p {
    text-align: center;
  }
}

@media screen and (max-width: 425px) {
	#inicio-eyecatcher-texto { top: 0; left: 0; padding: 3%; width: 100%; position: relative; }
	#inicio-eyecatcher-texto h1 { font-size: 35px; line-height: 37px; }
	#inicio-eyecatcher-texto p { font-size: 25px; line-height: 33px; margin: 0; }
	
  #g-header { padding: 0; }

  .g-offcanvas-toggle { top: 14.6rem; }
  .rp-logo { padding: 1rem !important; }
  .rp-head-contacto { display: block; text-align: center; }
  .redes { display: block; text-align: right !important; }
  .rp-head-contacto { padding-bottom: 1rem !important; }

  .pre-footer { text-align: center; }

  .btn-galeria { width: 46%; }

  .btn-credenciales { width: 97%; }
}

@media screen and (max-width: 375px) {
  .g-offcanvas-toggle { top: 14rem; }
}