/*
Theme Name: Obesidad López-Nava
Theme URI: https://reactivaweb.com
Author: Reactiva
Author URI: https://reactivaweb.com
Version: 0.1
*/

/* Estilos generales */
body {
	font-family: 'Source Sans Pro', sans-serif;
}
h1, h2, h3, h4, h5 {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: bold;
	color:#307ea6;
}
h1 {
	font-size: 32px;
}
h2 {
	font-size: 26px;
}
p, li {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
	color: #000;
	font-size: 18px
}
a.btn-oln-shortcode {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    line-height: 13px;
    padding: 15px 30px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    text-align: center;
}
a.btn-oln-shortcode:hover {
	text-decoration: none;
	color: #0071af;
	background: #fff;
}
.more-link {
	font-weight: bold;
	color: #2f7abf;
	margin-left: 10px;
}
/* FIN Estilos generales */


/* Estilos HEADER */
.navbar {
	margin-top: 10px;
	margin-bottom: 10px;
}
.navbar-brand {
	display: inline-block;
	padding: 20px 15px 10px;
	height: 100%;
}
.navbar-nav>li {
	padding: 5px 0;
}
.navbar-nav>li>a {
	font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    font-size: 15px;
    color: #2f7abf;
    padding: 10px 15px;
}
.nav>li>a:focus, .nav>li>a:hover, .nav>li.current-menu-item>a, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
	background: none;
	color: #84c4ff;
}
.navbar-nav>li:last-child {
	margin-left: 10px;
}
.navbar-nav>li:last-child>a {
	background:#2f7abf;
	color: #fff;
	padding: 10px 15px 8px;
}
.navbar-nav>li:last-child>a:hover {
	background: #1e67ab;
}
ul.nav li.dropdown:hover > ul.dropdown-menu {
	display: block;
}
.dropdown-menu {
	padding: 10px;
}
.dropdown-menu>li {
	text-align: center;
}
.dropdown-menu>li>a {
	font-family: 'Josefin Sans', sans-serif;
	color: #2f7abf;
}
#cerrar-menu-mobile {
	display: none;
}

.bloque-info-header {
	float: right;
}

.bloque-info-header > div {
	display: inline-block;
	color: #575757;
}
.bloque-info-header > div+div {
	margin-left: 15px;
}
.bloque-info-header > div > i {
	font-size: 20px;
	float: left;
	margin-right: 5px;
	color: #307ea6;
}
.bloque-info-header > div > p {
	float: left;
	margin-bottom: 0;
	line-height: 20px;
}
.bloque-info-header > div > p > a {
	font-weight: bold;
	color: #575757;
}
/* FIN Estilos HEADER */


/* Estilos FOOTER */
#contacto.contacto-footer {
	padding: 40px 0;
	background: #e8f1fa;
	display: block;
	width: 100%;
}
#contacto.contacto-footer h2 {
	margin-top: 0;
	color: #15456b;
}
.div-input p {
	color: #15456b;
}
.div-input a {
	color: #15456b;
	font-size: 18px;
	font-weight: bold;
}
#contacto.contacto-footer .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    display: inline-block!important;
    width: 100%;
    text-align: center;
}
.div-input {
	padding: 10px;
}
.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}
.wpcf7-form-control-wrap textarea {
	height: 120px;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
	width: 100%;
	padding: 10px;
	background: #cfe2f6;
	color: #15456b;
	border: 1px solid #15456b;
}
::-webkit-input-placeholder {
	color: #15456b;
}
:-ms-input-placeholder {
	color: #15456b;
}
::placeholder {
	color: #15456b;
}

.wpcf7-form-control-wrap input[type="checkbox"] {
    width: 15px;
    height: 15px;
}
.div-input.div-input-aceptacion {
    padding: 20px 10px;
    font-size: 15px;
    color: #15456b;
}
.div-input.div-input-aceptacion a {
	font-weight: bold;
	color: #15456b;
	font-size: 15px;
}
.div-input.div-input-aceptacion > span {
	float: left;
    margin-right: 7px;
}
.div-input input[type="submit"] {
	width: 100%;
	text-align: center;
	border:none;
	background: #1b66b1;
	color: #fff;
    padding: 13px 10px 10px;
	font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
.div-input input[type="submit"]:disabled {
	background: rgba(47,122,191,0.6);
}
.div-input input[type="submit"]:hover {
    background: #16548e;
    border-color: #16548e;
}


footer {
	background:#115099;
	padding: 50px 0;
	color:#fff;
}
.widget-rrss-footer {
	color: #fff;
}
.widget-rrss-footer h3 {
	display: inline;
	margin-top: 0;
	margin-bottom: 0;
	color: #fff;
	margin-right: 10px;
}
.widget-rrss-footer a {
	color: #fff;
	margin: 0 10px;
	font-size: 16px;
}
.text-copyright {
	text-align: right;
	color:#fff;
}
.text-copyright p {
	color:#fff;
}
.text-copyright a {
	color:#fff;
	font-weight: bold;
}
/* FIN Estilos FOOTER */


/* Estilos página OLN */
section.hero.hero-page-oln {
    padding: 80px 0;
    color:#fff;
    margin-bottom: 20px;
    background-size: cover!important;
    display: inline-block;
    width: 100%;
}
section.hero.hero-page-oln h1, section.hero.hero-page-oln p {
	color:#fff;
}
section.hero.hero-page-oln a.btn-oln-shortcode {
	margin-top: 15px;
}

section.cabecera-page-oln {
	padding: 50px 0;
    color:#fff;
    margin-bottom: 20px;
    background-size: cover!important;
    display: inline-block;
    width: 100%;
    background: rgba(1,63,118,1);
	background: -webkit-linear-gradient(left, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
	background: -o-linear-gradient(left, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
	background: -ms-linear-gradient(left, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
	background: linear-gradient(to right, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f16f5c', endColorstr='#013f76', GradientType=1 );
}
section.cabecera-page-oln * {
	color: #fff!important;
}

section.texto-full-width {
    margin-bottom: 30px;
    margin-top: 30px;
    display: inline-block;
    width: 100%;
}
section.texto-full-width img {
	width: 100%;
	height: auto;
}
/*section.texto-full-width h2 {
	margin-top: 0;
}*/
.content-video iframe {
    width: 100%;
    height: 500px;
}
.rll-youtube-player {
	margin-top: 20px;
}
.post__content .rll-youtube-player {
	margin-top: 0;
}

section.grid-tratamientos-servicios {
	margin-top: 30px;
	margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
}
section.grid-tratamientos-servicios h2 {
	width: 100%;
	margin-bottom: 20px;
}
.bloque-grid-tratamiento {
	margin-bottom: 30px;
    display: flex;
    padding: 0 15px;
}
section.grid-tratamientos-servicios > .bloque-grid-tratamiento > .content-bloque-grid-tratamiento {
	display: flex;
    flex-direction: column;
    padding: 30px;
    width: 100%;
	border-radius:10px;
	-webkit-box-shadow: 0px 0px 18px 5px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 18px 5px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 18px 5px rgba(0,0,0,0.15);
	-webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
section.grid-tratamientos-servicios > .bloque-grid-tratamiento > .enlace-content-bloque-grid-tratamiento {
	display: flex;
    flex-direction: column;
    width: 100%;
}
section.grid-tratamientos-servicios > .bloque-grid-tratamiento > .enlace-content-bloque-grid-tratamiento > .content-bloque-grid-tratamiento {
	display: block;
	width: 100%;
	border-radius:10px;
	-webkit-box-shadow: 0px 0px 18px 5px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 18px 5px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 18px 5px rgba(0,0,0,0.15);
	-webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.enlace-content-bloque-grid-tratamiento:hover {
	text-decoration: none;
}
section.grid-tratamientos-servicios > .bloque-grid-tratamiento > .enlace-content-bloque-grid-tratamiento:hover > .content-bloque-grid-tratamiento {
	-webkit-transform: scale(1.02);
    transform: scale(1.02);
}
.content-bloque-grid-tratamiento.grid-tit-img-text-boton {
	padding: 30px; 
}
.content-bloque-grid-tratamiento.grid-tit-img-text-boton h3 {
	margin-top: 0;
	margin-bottom: 20px;
}
.content-bloque-grid-tratamiento.grid-tit-img-text-boton img {
	margin-bottom: 20px;
	width: 100%;
}
.content-bloque-grid-tratamiento.grid-tit-img-text-boton a.btn-oln-shortcode {
	width: 100%;
	color: #2f7abf;
	border-color: #2f7abf;
	margin-top: 15px;
}
.content-bloque-grid-tratamiento .text-bloque-grid-tratamiento ul {
	margin-bottom: 0;
}
.content-bloque-grid-tratamiento.grid-tit-img-text-boton a.btn-oln-shortcode:hover,
section.posts-destacados a.btn-oln-shortcode:hover {
	background: #2f7abf;
	color:#fff;
}
.content-bloque-grid-tratamiento.grid-tit-img-background {
	padding: 0;
	background-size: cover!important;
	-webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.content-bloque-grid-tratamiento.grid-tit-img-background:hover {
	-webkit-transform: scale(1.02);
    transform: scale(1.02);
}
.content-bloque-grid-tratamiento.grid-tit-img-background a {
    padding: 0 0 200px;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}
.content-bloque-grid-tratamiento.grid-tit-img-background a:hover {
	text-decoration: none;
}

section.call-to-action {
	padding: 50px 0;
    color:#fff;
    margin-top: 30px;
    background-size: cover!important;
    text-align: center;
}
section.call-to-action h2, section.call-to-action p {
	color: #fff;
}
section.call-to-action a.btn-oln-shortcode {
	margin-top: 10px;
}


section.posts-destacados {
    margin-bottom: 30px;
    margin-top: 30px;
}
section.posts-destacados h2 {
	margin-bottom: 20px;
}
section.posts-destacados a.btn-oln-shortcode {
	width: 300px;
	color: #2f7abf;
	border-color: #2f7abf;
	margin-top: 15px;
    margin-bottom: 30px;
}
.bloque-grid-posts {
	margin-bottom: 30px;
}
.bloque-grid-posts img {
	width: 100%;
}
.bloque-grid-posts p.fecha {
	font-size: 16px;
	color:#9b9b9b;
	font-weight: 300;
}
.bloque-grid-posts h3.post__title {
	font-size: 20px;
}
.bloque-grid-posts .post__content p {
	font-weight: 600;
	font-size: 16px;
}
.row-grid-posts-destacados {
    display: flex;
    flex-wrap: wrap;
}
.row-grid-posts-destacados .bloque-grid-posts {
    margin-bottom: 30px;
    display: flex;
    padding: 0 15px;
}
.row-grid-posts-destacados .bloque-grid-posts article {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.col-md-3.bloque-grid-posts .content-img-cabecera {
	max-height: 100px;
	overflow: hidden;
}
.col-md-4.bloque-grid-posts .content-img-cabecera {
	max-height: 120px;
	overflow: hidden;
}
.col-md-6.bloque-grid-posts .content-img-cabecera {
	max-height: 200px;
	overflow: hidden;
}
section.texto-img {
	display: inline-block;
	width: 100%;
	margin-top: 30px;
    margin-bottom: 30px;
}
section.texto-img img {
	width: 100%;
	height: auto;
	margin-top: 20px;
}
section.texto-img.text-video img {
	margin-top: 0;
}

section.solo-boton {
	margin-top: 30px;
	margin-bottom: 30px;
}
section.solo-boton a.btn-oln-shortcode {
	width: 100%;
	color:#fff;
	background: #2f7abf;
	border-color: #2f7abf;
    display: inline-block;
}
section.solo-boton a.btn-oln-shortcode:hover {
	background: #16548e;
	border-color: #16548e;
}

section.slider-testimonios {
	padding: 50px 0;
    color:#fff;
    margin-top: 30px;
    background-size: cover!important;
}
section.slider-testimonios .content-img-comillas {
	margin: 15px 0;
}
section.slider-testimonios .content-img-comillas img {
	width: auto!important;
    display: inline-block!important;
}
section.slider-testimonios .content-text-item-testimonio {
	margin: 30px 0;
}
section.slider-testimonios .content-text-item-testimonio h3 {
	font-size: 30px;
	color: #274274;
}
section.slider-testimonios .content-text-item-testimonio p {
	font-size: 18px;
	color: #274274;
	font-weight: 400;
}
section.slider-testimonios .owl-theme.owl-slider-testimonio .owl-dots .owl-dot span {
	background: #8bb6e8;
	width: 15px;
    height: 15px;
}
section.slider-testimonios .owl-theme.owl-slider-testimonio .owl-dots .owl-dot.active span,
section.slider-testimonios .owl-theme.owl-slider-testimonio .owl-dots .owl-dot:hover span {
	background: #3972b4;
}
/* FIN Estilos página OLN */


/* Estilos archive POSTS */
.hero-categoria {
	padding: 50px 0;
    color: #fff;
    margin-bottom: 40px;
    background-size: cover!important;
    display: inline-block;
    width: 100%;
    background: rgba(1,63,118,1);
    background: -webkit-linear-gradient(left, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
    background: -o-linear-gradient(left, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
    background: -ms-linear-gradient(left, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
    background: linear-gradient(to right, rgba(1,63,118,1) 0%, rgba(0,114,177,1) 50%, rgba(1,63,118,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f16f5c', endColorstr='#013f76', GradientType=1 );
}
.hero-categoria .page-header {
	border: none;
	padding: 0;
	margin: 0;
}
.hero-categoria .page-header h1 {
	color: #fff;
}
.lista-posts-categoria {
    display: flex;
    flex-wrap: wrap;
}
.lista-posts-categoria .bloque-grid-posts {
	margin-bottom: 50px;
    display: flex;
    padding: 0 15px;
}
.lista-posts-categoria .bloque-grid-posts article {
    display: flex;
    flex-direction: column;
    padding: 0px;
    width: 100%;
}
.lista-posts-categoria .bloque-grid-posts article .content-img-cabecera {
	height: 200px;
    overflow: hidden;
}
.lista-posts-categoria .bloque-grid-posts article .content-img-cabecera img {
    object-position: 50% 50%;
    height: 200px;
    object-fit: cover;
}
.lista-categorias {
    padding: 0;
    border-left: 1px solid #eee;
}
.ul-lista-categorias {
	list-style: none;
	padding: 0;
}
.ul-lista-categorias li {
	margin-bottom: 10px;
}
.ul-lista-categorias li a {
	font-size: 16px;
}
/* FIN Estilos archive POSTS */


/* Estilos Single POST */
.hero-post {
	background-size: cover!important;
}
.hero-post .post__header {
	text-align: center;
	margin-bottom: 40px;
	background: rgba(1,63,118,0.5);
	padding: 100px 0;
}
.hero-post .post__header h1 {
	color: #fff;
}
.content-post {
	margin-bottom: 60px;
}
/* FIN Estilos Single POST */


/* Estilos para plugin IMC */
#SeccionIMC,
#CalculoIMC {
	max-width: 500px;
	margin: 0 auto;
}
/* FIN Estilos para plugin IMC */


/* Estilos RESPONSIVE */
@media (max-width: 1199px) {
	.navbar-nav>li>a {
		font-size: 13px;
		padding: 10px;
	}
}

@media (max-width: 991px) {
	.navbar .container {
		width: 100%;
		padding:0;
	}
	.bloque-info-header > div {
		font-size: 13px;
	}
	.bloque-info-header > div > i {
		font-size: 17px;
	}
	.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand, .navbar-right {
		margin: 0;
	}

	section.hero.hero-page-oln {
		text-align: center;
	}
	section.hero.hero-page-oln .col-md-offset-4.col-md-5 {
		text-align: center;
		margin-bottom: 30px;
	}
	.widget-rrss-footer {
		margin-bottom: 10px;
	}
	.widget-rrss-footer, .text-copyright {
		text-align: center;
	}
}

@media (max-width: 900px) {
	/* Estilos menu mobile */
	.navbar-header, .navbar-right {
		margin: 0!important;
	}
	.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
		margin-left: 0;
	}
	.navbar-toggle {
		float: left;
	    padding: 9px 10px;
	    margin-top: 15px;
	    margin-left: 15px;
	    margin-right: 15px;
	    display: block;
	}
	.navbar-toggle .icon-bar {
		background: #2f7abf;
	}
	.collapse.navbar-collapse {
		display: block;
	    width: calc(100% + 1px);
	    position: absolute;
	    height: 100vh!important;
	    top: -2px;
    	border-bottom: 1px solid #ccc;
	    background: #fff;
	    z-index: 9;
	    text-align: center;
	    transition: transform 1.5s cubic-bezier(0.05, 1.04, 0.72, 0.98) 0s;
    	-webkit-transition: transform 1.5s cubic-bezier(0.05, 1.04, 0.72, 0.98) 0s;
	    transform: translate3d(-105%,0,0);
	}
	ul.nav.navbar-nav.navbar-right {
		padding-top: 50px;
	}
	.collapse.navbar-collapse.show {
	    transform: translate3d(0,0,0);
	}
	#cerrar-menu-mobile {
	    position: absolute;
	    top: 10px;
	    right: 20px;
	    font-size: 24px;
	    color: #2f7abf;
	    cursor: pointer;
	    display: block;
	}
	#menu-navegacion ul li {
		width: 100%;
	    display: inline-block;
	}
	#menu-navegacion ul li a {
		font-size: 20px;
		line-height: 28px;
		font-weight: 400;
		padding: 3px;
	}
	.navbar-nav>li:last-child {
		margin: 0;
	}
	.menu-item:last-child:before {
		top: 10px;
	    left: 1px;
	    height: 16px;
	}
	.navbar-brand {
		padding: 15px 15px 15px 0;
	}
	#menu-navegacion ul li ul.dropdown-menu {
	    position: relative;
	    display: block;
	    width: 100%;
	    text-align: center;
	    background: none;
	    -webkit-box-shadow: none;
	    box-shadow: none;
	    border:none;
	    padding-top: 0;
	    padding-bottom: 5px;
	}
	#menu-navegacion ul li ul.dropdown-menu a {
		color: #2f7abf!important;
		font-size: 14px;
	    background: none!important;
	    margin-top: 0;
	}
	.dropdown-menu>.active>a,
	.dropdown-menu>.active>a:focus,
	.dropdown-menu>.active>a:hover,
	#menu-navegacion ul li ul.dropdown-menu li.active a,
	#menu-navegacion ul li ul.dropdown-menu a:focus,
	#menu-navegacion ul li ul.dropdown-menu a:hover {
		background: none!important;
	    color: #84c4ff!important;
	}
	.bloque-info-header {
	    float: none;
	    position: absolute;
	    bottom: 40px;
	    width: 100%;
	    left: 0;
	}
	.bloque-info-header > div {
		width: 100%;
		margin-bottom: 3px;
	}
	.bloque-info-header > div+div {
		margin: 0!important;
	}
	.bloque-info-header > div > i, .bloque-info-header > div > p {
		float: none;
		display: inline;
	}
	
	/* FIN estilos menu mobile */
}
@media (max-width: 768px) {
	.collapse.navbar-collapse {
		display: inline-block;
    	left: 15px;
	}
}
/* FIN Estilos RESPONSIVE */