/*!
Theme Name: Clinica Corcuera
Theme URI: http://underscores.me/
Author: Clínica Corcuera
Author URI: http://www.clinicacorcuera.com
Description: A custom theme for Clinica Corcuera
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: clinica-corcuera
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Clinica Corcuera is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: uppercase;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
	color: #4d5057;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin: 0;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

h1 {
	margin: 0;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	font-size: 1rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
	color: white;
}

#titulo-primer-cta,
#titulo-segundo-cta {
	margin: 0;
	font-weight: bold;
	font-size: 1.25rem;
	text-transform: none;
	padding: 0;
	text-align: left;
}

#titulo-primer-cta {
	color: #4d5057;
}

#titulo-segundo-cta {
	color: #4d5057;
}

#subtitulo-primer-cta,
#subtitulo-segundo-cta {
	margin: 0;
	font-weight: bold;
	font-size: 0.875rem;
	color: #4d5057;
	padding-bottom: 0;
	padding-top: 1.875rem;
}

h2 {
	margin: 0;
	font-weight: bold;
	color: #51545b;
	font-size: 1.25rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	text-align: center;
}

h3 {
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0;
	padding-top: 1.875rem;
	padding-bottom: 1.875rem;
}

h5 {
	font-size: 1rem;
	font-weight: bold;
	margin:0;
}

.titulo-seccion {
	padding-left: 2.2rem;
	background-image: url(inc/anagrama.png);
	background-repeat: no-repeat;
	background-size: 1.5rem;
	background-position: left 1.9rem;
}

/* Cambios en otros dispositivos*/

/* Very small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 27rem) {
	#titulo-primer-cta,
	#titulo-segundo-cta {
		color: #4d5057;
	}
}
	
/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 16px;
		font-size: 1rem;
	}
	
	#titulo-primer-cta,
	#titulo-segundo-cta {
		font-size: 1.75rem;
	}
	
	h1 {
		font-size: 1.25rem;
	}
	
	#subtitulo-primer-cta,
	#subtitulo-segundo-cta {
		font-size: 1.25rem;
	}
	
	h2 {
		font-size: 1.75rem;
		padding-top: 1.875rem;
		padding-bottom: 1.875rem;
	}
	
	h3 {
		font-size: 1.25rem;
	}
	
	h5 {
		font-size: 1.125rem;
	}
	
	.titulo-seccion {
		padding-left: 2.8rem;
		background-size: 2rem;
		background-position: left 1.8rem;
	}
}

/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
	#titulo-primer-cta,
	#titulo-segundo-cta {
		font-size: 2.5rem;
	}
	
	h1 {
		font-size: 1.5rem;
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
	
	h2 {
		font-size: 2rem;
		padding-top: 0;
		padding-bottom: 0;
		text-align: left;
		margin: 0;
	}
	
	h3 {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
	
	.titulo-seccion {
		background-position: left 2.5rem;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 18px;
		font-size: 1.125rem;
	}
	
	#titulo-primer-cta,
	#titulo-segundo-cta {
		font-size: 3rem;
	}
	
	h1 {
		font-size: 1.625rem;
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
	
	#subtitulo-primer-cta,
	#subtitulo-segundo-cta {
		font-size: 1.5rem;
	}
	
	h2 {
		font-size: 2.5rem;
	}
	
	h3 {
		font-size: 1.5rem;
		padding-top: 3.75rem;
		padding-bottom: 3.75rem;
	}
	
	h5 {
		font-size: 1.25rem;
	}
	
	.titulo-seccion {
		padding-left: 3rem;
		background-size: 2rem;
		background-position: left 3.8rem;
	}
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-block;
	border: 0.2rem solid #C8B89A;
	-webkit-border-radius: 0.5rem;
	border-radius: 0.5rem;
	color: #C8B89A;
	background-color: transparent;
	line-height: 1;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	transition: all 0.3s ease 0s;
	cursor: pointer;
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	color: #ffffff;
	background-color: #C8B89A;
}

#boton-primer-cta,
#boton-segundo-cta {
	border: 0.2rem solid #C8B89A;
	background-color: #C8B89A;
	color: #ffffff;
}

.formulario-de-portada input[type="submit"] {
	color: #ffffff;
	background-color: #C8B89A;
	border: 0.2rem solid #C8B89A;
}

#boton-primer-cta:hover,
#boton-segundo-cta:hover {
	background-color: #BFAF8F;
	border: 0.2rem solid #BFAF8F;
}

.formulario-de-portada input[type="submit"]:hover {
	background-color: #BFAF8F;
}

input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #ffffff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
	resize: none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #C8B89A;
	text-decoration: none;
}

a:hover, a:focus, a:active {
	color: #BFAF8F;
}

a.button {
	display: inline-block;
	border: 0.2rem solid #C8B89A;
	-webkit-border-radius: 0.5rem;
	border-radius: 0.5rem;
	color: #C8B89A;
	line-height: 1;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	transition: all 0.3s ease 0s;
}

a.button:hover {
	color: #ffffff;
	background-color: #BFAF8F;
}

a.button i {
	padding-right: 0.5rem;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul li {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.9rem;
}

.menu-menu-container {
	background-color: #ffffff;
}

.main-navigation ul li a {
	background-color: #ffffff;
}

.main-navigation ul li a:hover {
	background-color: #f1f1f1;
}

.main-navigation .sub-menu li {
	text-transform: none;
	font-weight: normal;
	display: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

@media screen and (min-width: 48em) {
	.main-navigation li {
		display: inline-block;
		position: relative;
	}
	
	.menu-menu-container {
		text-align: center;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: -1.1rem;
		box-shadow: 0.1rem 0.1rem 0.3rem #4d5057;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	.menu-menu-container {
		width: 46rem;
	}
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 1.2rem 1rem;
	border-bottom: 1px solid #f1f1f1;
	color: #4d5057;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	position: absolute;
    top: 1.6rem;
	border: none;
	background: none;
	font-size: 1.5rem;
	padding: 0;
	line-height: inherit;
}

.menu-toggle:focus {
	outline: none;
}

/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	.menu-toggle {
		font-size: 2rem;
	}
}

@media screen and (min-width: 48em) {
	.menu-toggle {
		display: none;
	}
	
	.main-navigation ul,
	.main-navigation .sub-menu li {
		display: block;
	}
	
	.main-navigation a {
		padding: 0.4rem 2rem;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	.main-navigation a {
		padding: 0.4rem 2.67rem;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## General
--------------------------------------------------------------*/
#central-part {
	max-width: 32.25rem;
	padding-left: 1.875rem;
	padding-right: 1.875rem;
}

/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	#central-part {
		max-width: 43.75rem;
		padding-left: 2.125rem;
		padding-right: 2.125rem;
	}
}

/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
	#central-part {
		max-width: 55.75rem;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	#central-part {
		max-width: 65rem;
	}
}

/*--------------------------------------------------------------
## Cabecera
--------------------------------------------------------------*/

/* Centrar logo y tamaño*/
.site-branding,
.logo-footer {
	text-align: center
}
.site-header #central-part {
	position: relative;
}

.site-header .custom-logo {
	padding-top: 1rem;
	padding-bottom: 0.5rem;
}

.custom-logo,
.logo-footer img {
	width: 9rem;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

/* Very small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 27rem) {
	.custom-logo,
	.logo-footer img {
		width: 11rem;
	}
}

/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	.custom-logo,
	.logo-footer img {
		width: 12.5rem;
	}
}

/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
	.custom-logo,
	.logo-footer img {
		width: 13.75rem;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	.custom-logo,
	.logo-footer img {
		width: 15rem;
	}
}

/* Widgets de direccion y telefono en la cabecera*/
.widget-cabecera {
	padding-left: 1.875rem;
	padding-right: 1.875rem;
}

.widget-cabecera i {
	font-size: 1rem;
	margin-top: 0.3rem;
}

.widget-cabecera .widget_text {
	float: right;
	margin-left: 1rem;
	font-size: 0.8rem;
}

.widget-cabecera .widget-title {
	margin: 0;
	font-size: 0.8rem;
}

.telefono-numero {
	color: #4d5057;
}

/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	.widget-cabecera {
		padding-left: 2.125rem;
		padding-right: 2.125rem;
	}
}

.telefono-cabecera {
	display: block;
	position: absolute;
	right: 0;
	top: 1.8rem;
}

.telefono-cabecera .telefono-numero,
.telefono-cabecera .widget-title,
.direccion-cabecera .widget-title,
.direccion-cabecera,
.telefono-cabecera .telefono-exterior,
.direccion-cabecera .claim-frontpage {
	display: none;
}

.telefono-cabecera .telefono-icono {
	display: block;
	border: 0.2rem solid #C8B89A;
	padding: 0rem 0rem 0rem 0.3rem;
	border-radius: 2rem;
	height: 2rem;
	width: 2rem;
	background-color: #C8B89A;
	color:white;
}

/* Very small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 27rem) {
	.widget-cabecera i {
		font-size: 1.3rem;
	}
	.telefono-cabecera .telefono-icono {
		padding: 0.1rem 0rem 0rem 0.4rem;
		height: 2.5rem;
		width: 2.5rem;
	}
}

/* Medium devices (tablets, 769px and up)*/
@media screen and (min-width: 48em) {
	.direccion-cabecera {
		display: block;
		position: absolute;
		left: 0;
		top: 2rem;
	}
	.telefono-cabecera .telefono-numero,
	.telefono-cabecera .widget-title {
		display: inline-block;
	}
	.widget-cabecera i {
		font-size: 1.8rem;
		color: #4d5057;
	}
	.telefono-cabecera .telefono-icono {
		display: none;
	}
	.telefono-cabecera .telefono-exterior {
		display: inline-block;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	.widget-cabecera .widget_text,
	.widget-cabecera .widget-title {
		font-size: 0.9rem;
	}
	.widget-cabecera i {
		font-size: 2rem;
	}
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer {
	background-color: #4d5057;
	padding-top: 1.5rem;
	padding-bottom: 2rem;
	color: #fff;
	font-size: 0.875rem;
}

#logo-footer {
	filter: brightness(0) invert(1);
}

/* Widgets de direccion, telefono y horario en el footer*/
.widget-footer {
	padding-top: 1.5rem;
	line-height: 1;
	text-align: center;
}

.copyright {
	padding-top: 0.8rem;
	line-height: 1;
	text-align: center;
}

.widget-footer .widget-title {
	font-size: 0.9rem;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0.8rem;
}

.widget-footer i {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.widget-footer .claim-frontpage {
	display: none;
}

/* Menu en el footer*/
.menu-footer .widget-title {
	display: none;
}

#menu-menu-footer {
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: center;
}

#menu-menu-footer li {
	margin-bottom: 1rem;
}

#menu-menu-footer li a,
.telefono-footer a {
	text-decoration: none;
	color: #fff;
}
.logo-footer img {
	margin-left: 0;
}

/* Cambios en otros dispositivos*/
/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
  	#logo-footer {
		text-align: center;
	}

	#footer-flex {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#footer-flex {
		font-size: 0.75rem;
	}
  
	.logo-footer,
	.avisos-legales {
		width: 100%;
	}
  
	#menu-menu-footer li {
		display: inline-block;
		margin-right: 2rem;
	}
  
	#menu-menu-footer li:last-of-type {
		margin-right: 0;
	}
  
	.logo-footer {
		order: 1;
	}
  
	.direccion-footer {
		order: 2;
		width: 23%;
	}
  
	.horario-footer {
		order: 3;
		width: 23%;
	}
  
	.telefono-footer {
		order: 4;
		width: 23%;
	}
  
	.avisos-legales {
		order: 5;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	#footer-flex {
		font-size: 0.875rem;
	}
}

/*--------------------------------------------------------------
## Frontpage
--------------------------------------------------------------*/

.cartel-cta {
	width: 100%;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	padding-top: 0.5rem;
	padding-bottom: 1rem;
}

.central-primer-cta {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

#subtitulo-primer-cta,
#subtitulo-segundo-cta {
	font-weight: normal;
	text-align: center;
}

.button-container {
	padding-top: 0.8rem;
	text-align: center;
}

#boton-primer-cta,
#boton-segundo-cta {
	padding: 0.5rem 1.1rem;
	border-radius: 0.5rem;
}

#basic-flex {
	display: flex;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.widget-frontpage {
	width: 100%;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	position: relative;
}

.horario-frontpage,
#primer-testimonio {
	border-bottom: 1px solid #e2e2e2;
}

.direccion-frontpage,
#segundo-testimonio {
	border-bottom: 1px solid #e2e2e2;
}

.telefono-frontpage,
#tercer-testimonio {
	border-bottom: 1px solid #e2e2e2;
}

/* Medium devices (tablets, 769px and up)*/
@media screen and (min-width: 48em) {
	.horario-frontpage,
	.direccion-frontpage {
		border-bottom: none;
		border-right: 1px solid #e2e2e2;
	}
	.telefono-frontpage {
		border-bottom: none;
	}
}

.widget-frontpage a {
	color: #4d5057;
	font-weight: bold;
}

.widget-frontpage i {
	position: absolute;
	font-size: 1.5rem;
	color: #C8B89A;
}

.widget-frontpage .widget-title {
	padding-left: 2rem;
	padding-bottom: 1.5rem;
}

.widget-frontpage .textwidget {
	text-align: center;
}

.widget-frontpage .claim-frontpage {
	margin-top: 1rem;
}

.horario-frontpage {
	padding-bottom: 4.25rem;
}

.telefono-frontpage {
	padding-bottom: 2.2rem;
}

.telefono-frontpage .telefono-numero {
	padding-bottom: 1rem;
	font-size: 1.25rem;
}

.caracteristica-quienes-somos i {
	display: block;
	font-size: 1.5rem;
	color: #C8B89A;
}

.caracteristica-quienes-somos {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	text-align: center;
	font-weight: bold;
}

#tratamientos-destacados,
#testimonios,
.formulario-de-contacto {
	background-color: #eaeaea;
}

.flex-tratamientos-destacados,
.flex-iconos-nuestra-clinica,
.flex-iconos-tratamiento {
	text-align: center;
}

.grupo-icono img {
	filter: brightness(0) saturate(100%) invert(29%) sepia(3%) saturate(1539%) hue-rotate(187deg) brightness(86%) contrast(75%);
}

.icono-tratamiento-destacado img {
	filter: brightness(0) saturate(100%) invert(29%) sepia(3%) saturate(1539%) hue-rotate(187deg) brightness(86%) contrast(75%);
}

.icono-tratamiento-destacado img,
.grupo-icono img {
	height: 3.75rem;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.titulo-tratamiento-destacado,
.titulo-icono {
	margin-top: 0.7rem;
	margin-bottom: 0.3rem;
}

.claim-tratamiento-destacado,
.descripcion-icono {
	color: #6e8387;
	width: 13rem;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 1.875rem;
}

.central-segundo-cta {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

#cartel-segundo-cta {
	margin-right: auto;
	margin-left: 0;
}

.flex-todo-el-equipo {
	padding-top: 1.875rem;
}

.miembro-del-equipo {
	display: block;
	max-width: 18.75rem;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1.875rem;
}

.miembro-del-equipo .foto-del-medico {
	width: 18.75rem;
	max-width: 100%;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.miembro-del-equipo .foto-del-medico img {
	vertical-align: middle;
}

.anagrama-blanco {
	filter: brightness(0) invert(1);
	width: 2rem;
	position: absolute;
	top: 1.3rem;
	left: 1rem;
}

.textos-miembro {
	text-align: center;
	width: 18.75rem;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	font-size: 1rem;
	border: 1px solid #e2e2e2;
}

.textos-miembro h5 {
	font-size: 1rem;
}

.especialidades-destacadas {
	max-width: 14rem;
	margin-left: auto;
	margin-right: auto;
	color: #4d5057;
}

.nombre-miembro {
	color: #4d5057;
}

#boton-nuestro-equipo {
	text-align: center;
	margin-bottom: 1.875rem;
}

#testimonios {
	padding-bottom: 1.875rem;
}

.testimonio {
	padding-top: 1.25rem;
	padding-bottom: 3.75rem;
	padding-right: 1rem;
	padding-left: 1rem;
	position: relative;
}

.texto-del-testimonio {
	padding-top: 1.25rem;
	font-style: italic;
}

.nombre-del-testimonio {
	font-weight: bold;
	position: absolute;
	bottom: 1.25rem;
}

.mapa {
	line-height: 0;
}

.tercer-cta {
	color: #ffffff;
}

.tercer-cta a {
	color: #ffffff;
	font-weight: bold;
}

.subtitulo-tercer-cta {
	font-size: 1.25rem;
	text-align: center;
	color: #ffffff;
	padding-left: 1.875rem;
	padding-right: 1.875rem;
}

.subtitulo-tercer-cta:nth-of-type(1) {
	padding-top: 1.875rem;
}

.subtitulo-tercer-cta:nth-of-type(2) {
	padding-bottom: 1.875rem;
}

#boton-tercer-cta {
	text-align: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

#boton-tercer-cta a.button {
	border: 0.2rem solid #C8B89A;
	color: #ffffff;
	background-color: #C8B89A;
}

#boton-tercer-cta a.button:hover {
	background-color: #BFAF8F;
	border: 0.2rem solid #BFAF8F;
}

.formulario-de-portada {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}

.wpcf7-textarea,
.wpcf7-text {
	width: 100%;
}

.wpcf7-tel,
.wpcf7-textarea,
.wpcf7-email {
	margin-top: 0.75rem;
}

.wpcf7-textarea {
	margin-bottom: 0.75rem;
}

.wpcf7-form p:last-of-type {
	text-align: center;
	margin-bottom: 1rem;
}

.wpcf7-form div:nth-of-type(2) {
	text-align: center;
}

.formulario-de-portada {
	padding-bottom: 1.875rem;
}

/* Cambios en otros dispositivos*/
/* Super small devices phones, 330px and up)*/
@media only screen and (min-width: 27rem) {
	.cartel-cta {
		width: 60%;
	}
}
/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	.cartel-cta {
		width: 50%;
		padding-left: 1rem;
	}
	
	#boton-primer-cta,
	#boton-segundo-cta {
		padding: 0.7rem 2.6rem;
	}
	
	.telefono-frontpage .telefono-numero {
	font-size: 1.3rem;
	}
	
	.caracteristica-quienes-somos i {
		display: inline-block;
		margin-right: 1rem;
	}
	
	.caracteristica-quienes-somos {
		margin-top: 1.875rem;
		margin-bottom: 1.875rem;
		text-align: left;
	}
	
	.caracteristicas-quienes-somos {
		width: 65%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.flex-tratamientos-destacados,
	.flex-miembros_del_equipo_destacados,
	.flex-iconos-nuestra-clinica,
	.flex-todo-el-equipo,
	.flex-iconos-tratamiento {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	
	.tratamiento-destacado,
	.grupo-icono {
		width: 50%;
	}
	
	.miembro-del-equipo {
		width: 14rem;
	}
	
	.miembro-del-equipo .foto-del-medico {
		width: 14rem;
	}
	
	.miembro-del-equipo .anagrama-blanco {
		top: 1rem;
		left: 0.7rem;
	}
	
	.textos-miembro  {
		text-align: left;
		padding-left: 1rem;
		width: 14rem;
	}
	
	.subtitulo-tercer-cta {
		font-size: 1.5rem;
		padding-left: 2.125rem;
		padding-right: 2.125rem;
	}
	
	.formulario-de-portada {
		width: 60%;
	}
}

/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
	.central-primer-cta {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
	
	.cartel-cta {
		padding-left: 1.875rem;
		padding-right: 1.875rem;
	}
	
	#boton-primer-cta,
	#boton-segundo-cta {
		padding: 0.75rem 2.2rem;
		font-size: 1.125rem;
	}
	
	#basic-flex {
		margin-top: 1rem;
	}
	
	.widget-frontpage {
		width: 33%;
	}
	
	.flex-quienes-somos,
	.flex-nuestros-pacientes {
		display: flex;
		flex-wrap: wrap;
	}
	
	.descripcion-quienes-somos {
		width:50%;
		margin-right: 4%;
		margin-bottom: 2.5rem;
	}
	
	.caracteristicas-quienes-somos {
		width: 46%;
		margin:0;
	}
	
	.primera-caracteristica-quienes-somos {
		margin-top: 0;
	}
	
	.icono-tratamiento-destacado img,
	.grupo-icono img {
		height: 4.375rem;
	}
	
	.tratamiento-destacado,
	.grupo-icono {
		width: 33%;
	}
	
	.claim-tratamiento-destacado,
	.descripcion-icono {
		padding-bottom: 2.5rem;
	}
	
	.textos-miembro,
	.textos-miembro h5  {
		font-size: 0.875rem;
	}
	
	.flex-miembros_del_equipo_destacados {
		justify-content: space-between;
	}
	
	.flex-todo-el-equipo {
		padding-bottom: 0.625rem;
	}
	
	.miembro-del-equipo {
		width: 27%;
	}
	
	.miembro-del-equipo-destacado {
		width: 13rem;
		max-width: 24%;
	}
	
	.miembro-del-equipo-destacado .foto-del-medico {
		width: 13rem;
	}
	
	.textos-miembro-del-equipo-destacado {
		width: 13rem;
	}
	
	#boton-nuestro-equipo {
		margin-bottom: 2.5rem;
	}
	
	#testimonios {
		padding-bottom: 2.5rem;
	}
	
	.testimonio {
		width: 33%;
	}
	
	#tercer-hero {
		display: flex;
		flex-wrap: wrap;
	}
	
	#tercer-hero .mapa {
		width: 50%;
	}
	
	#tercer-hero .mapa iframe {
		height: 100%;
	}
	
	.tercer-cta {
		width: 50%;
	}
	
	.subtitulo-tercer-cta {
		font-size: 1.25rem;
	}
	
	.formulario-de-portada {
		width: 80%;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	.central-primer-cta {
		padding-top: 3.75rem;
		padding-bottom: 5rem;
	}
	
	#boton-primer-cta,
	#boton-segundo-cta {
		padding: 0.75rem 3rem;
		font-size: 1.25rem;
	}
	
	#basic-flex {
		margin-top: 1rem;
	}
	
	.telefono-frontpage .telefono-numero {
		font-size: 1.5rem;
	}
	
	.descripcion-quienes-somos {
		width:55%;
		margin-right: 5%;
		margin-bottom: 3.75rem;
	}
	
	.caracteristicas-quienes-somos {
		width: 40%;
	}
	
	.icono-tratamiento-destacado img {
		height: 5rem;
	}
	
	.claim-tratamiento-destacado,
	.descripcion-icono {
		font-size: 1rem;
		padding-bottom: 3.75rem;
	}
	
	.textos-miembro,
	.textos-miembro h5  {
		font-size: 1rem;
	}
	
	#boton-nuestro-equipo {
		margin-bottom: 3.75rem;
	}
	
	#testimonios {
		padding-bottom: 3.75rem;
	}
	
	.subtitulo-tercer-cta {
		font-size: 1.5rem;
	}
	
	.formulario-de-portada {
		width: 60%;
	}
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.subtitulo-verde {
	width: 10rem;
	margin-left: auto;
	margin-right: auto;
}

.subtitulo-verde .nuestra-clinica {
	padding-top: 0;
}

.contenido-al-lado-del-subtitulo p,
.contenido-seccion p {
	margin-bottom: 1rem;
}

.contenido-al-lado-del-subtitulo p:last-of-type,
.contenido-seccion p:last-of-type {
	margin-bottom: 0;
}

.bloque-subtitulo-contenido {
	padding-bottom: 1.25rem;
}

.todos-los-tratamientos,
.flex-iconos-nuestra-clinica,
.flex-fotos-nuestra-clinica,
.flex-iconos-tratamiento {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.entry-content h3 {
	padding-top: 0;
	padding-bottom: 1.25rem;
}

.entry-content .titulo-seccion {
	background-position: left 0.3rem;
}

.grupo-foto {
	margin-bottom: 1.25rem;
}

.grupo-foto,
.grupo-foto img {
	width: 12rem;
	margin-left: auto;
	margin-right: auto;
}

.grupo-foto h6 {
	text-transform: uppercase;
	text-align: center;
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-size: 0.7rem;
	font-weight: bold;
}

.tratamiento {
	text-align: center;
	width: 14rem;
	height: 14rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
	position: relative;
	display: block;
}

.icono-tratamiento {
	filter: brightness(0) saturate(100%) invert(96%) sepia(98%) saturate(380%) hue-rotate(313deg) brightness(82%) contrast(89%);
}

.tratamiento:nth-of-type(4n+1) {
	background-color: #f4f2ee;
}

.tratamiento:nth-of-type(4n+2) {
	background-color: #e6e8eb;
}

.tratamiento:nth-of-type(4n+3) {
	background-color: #f4f2ee;
}

.tratamiento:nth-of-type(4n+4) {
	background-color: #e6e8e0;
}

.tratamiento .icono-y-texto {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	color: #51545b;
}

.tratamiento .icono-tratamiento img {
	height: 5rem;
}

.widget-contacto {
	position: relative;
	padding-left: 3rem;
	padding-bottom: 2rem;
	width: 15rem;
	margin-left: auto;
	margin-right: auto;
}

.direccion-contacto {
	margin-top: 1.25rem;
}

.como-llegar-contacto p {
	margin-bottom: 0.65rem;
}

.widget-contacto i {
	font-size: 1.5rem;
	position: absolute;
	left: 0;
	top: 0.3rem;
}

.widget-contacto .widget-title {
	margin-bottom: 0.4rem;
}

.widget-contacto .textwidget,
.widget-contacto .textwidget a {
	color: #648381;
}

.widget-contacto .claim-frontpage {
	display: none;
}

.formulario-de-contacto #central-part {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.formulario-de-contacto #central-part {
	padding-top: 1.25rem;
}

.formulario-de-contacto #central-part h5 {
	margin-bottom: 0.75rem;
}

.formulario-de-contacto #central-part .wpcf7 {
	padding-bottom: 1.25rem;
}

.medico-individual {
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
}

.medico-individual .foto-del-medico {
	width: 100%;
	height: 18.75rem;
	max-width: 18.75rem;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.medico-individual .nombre-completo {
	text-align: center;
	font-size: 1rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.colegiado {
	text-transform: uppercase;
	font-weight: bold;
	color: #6e8387;
	font-size: 0.7rem;
	margin-top: 0;
	margin-bottom: 1rem;
}

.colegiado:after {
	background-color: #C8B89A;
	content: "";
	display: block;
	height: 0.2rem;
	width: 4rem;
	margin-top: 1rem;
}

.textos-del-medico .contenido p {
	margin-bottom: 1rem;
}

.textos-del-medico .contenido p:last-of-type {
	margin-bottom: 0;
}

.fondo-especialidadesycita {
	background-color: #fcfafa;
}

.especialidadesycita .especialidades {
	max-width: 32.25rem;
	padding-left: 1.875rem;
	padding-right: 1.875rem;
	padding-bottom: 0.25rem;
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.especialidades .especialidad {
	width: 12rem;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-left: 2.5rem;
	margin-bottom: 1rem;
}

.especialidades .especialidad i {
	font-size: 1rem;
	color: #C8B89A;
	position: absolute;
	top: 0.1rem;
	left: 0;
}

.cita {
	text-align: center;
}

.cita h2 {
	text-align: center;
	padding-top: 4rem;
	padding-bottom: 2.5rem;
}

#boton-cita {
	padding-bottom: 4rem;
}

#boton-cita a {
	color: #ffffff;
	border: 0.2rem solid #ffffff;
	background-color: #C8B89A;
}

#boton-cita a:hover {
	background-color: #BFAF8F;
}

.flex-iconos-tratamiento {
	padding-top: 1.25rem;
	padding-bottom: 0;
}

.pedir-cita {
	padding-top: 1rem;
	padding-bottom: 4rem;
}

.pedir-cita-tratamiento {
	text-align: center;
}

/* Small devices (landscape phones, 576px and up)*/
@media only screen and (min-width: 36rem) {
	.subtitulo-verde {
		width: 13rem;
	}
	
	.todos-los-tratamientos,
	.flex-fotos-nuestra-clinica {
		padding-top: 1.875rem;
		padding-bottom: 1.875rem;
		display: flex;
		flex-wrap: wrap;
	}
	
	.flex-fotos-nuestra-clinica {
		justify-content: space-between;
	}
	
	.grupo-foto {
		width: 45%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.grupo-foto img {
		width: 100%;
	}
	
	.grupo-foto h6 {
		font-size: 0.75rem;
	}
	
	.tratamiento {
		width: 49%;
		padding-top: 49%;
		margin-right: 1%;
		margin-left: 1%;
	}
	
	.tratamiento:nth-of-type(odd) {
		margin-left: 0;
	}
	
	.tratamiento:nth-of-type(even) {
		margin-right: 0;
	}
	
	.widget-contacto {
		width: 17rem;
	}
	
	.direccion-contacto {
		margin-top: 1.875rem;
	}
	
	.formulario-de-contacto #central-part {
		width: 80%;
	}
	
	.formulario-de-contacto #central-part {
		padding-top: 1.875rem;
	}
	
	.formulario-de-contacto #central-part .wpcf7 {
		padding-bottom: 1.875rem;
	}
	
	.medico-individual {
		margin-top: 1.875rem;
		margin-bottom: 1.875rem;
	}

	.medico-individual .foto-del-medico {
		width: 13.75rem;
		height: 13.75rem;
		max-width: 13.75rem;
	}
	
	.medico-individual .nombre-completo {
		text-align: left;
		font-size: 1.25rem;
	}
	
	.colegiado {
		font-size: 0.75rem;
	}
	
	.especialidadesycita .especialidades {
		max-width: 43.75rem;
		padding-left: 2.125rem;
		padding-right: 2.125rem;
		padding-bottom: 0.875rem;
	}
	
	.especialidades .especialidad {
		width: 15rem;
	}
	
	.especialidades .especialidad i {
		font-size: 1.3rem;
		top: 0.2rem;
	}
	
	.pedir-cita {
		padding-top: 2rem;
		padding-bottom: 5.5rem;
	}
}

/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
	
	.bloque-subtitulo-contenido {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}
	
	.bloque-subtitulo-contenido.nuestra-clinica {
		padding-top: 1.25rem;
	}
	
	.subtitulo-verde {
		width: 31%;
		margin-left: 0;
		margin-right: 5%;
	}
	
	.contenido-al-lado-del-subtitulo {
		width: 64%;
	}
	
	.todos-los-tratamientos,
	.flex-fotos-nuestra-clinica {
		padding-top: 0;
		padding-bottom: 2.5rem;
	}
	
	.grupo-foto {
		width: 23%;
	}
	
	.tratamiento {
		width: 32%;
		padding-top: 32%;
	}
	
	.tratamiento:nth-of-type(odd) {
		margin-left: 1%;
	}
	
	.tratamiento:nth-of-type(even) {
		margin-right: 1%;
	}
	
	.tratamiento:nth-of-type(3n+1) {
		margin-left: 0;
	}
	
	.tratamiento:nth-of-type(3n+3) {
		margin-right: 0;
	}
	
	.direccion-contacto {
		margin-top: 0;
	}
	
	.widgets-contacto {
		display: flex;
		flex-wrap: wrap;
	}
	
	.widgets-izquierda {
		width: 48%;
		margin-right: 4%;
	}
	
	.widgets-derecha {
		width: 48%;
	}
	
	.widget-contacto {
		margin-left: 0;
		margin-right: 0;
	}
	
	.formulario-de-contacto #central-part {
		width: 60%;
	}
	
	.formulario-de-contacto #central-part {
		padding-top: 2.5rem;
	}
	
	.formulario-de-contacto #central-part .wpcf7 {
		padding-bottom: 2.5rem;
	}
	
	.medico-individual {
		display: flex;
		flex-wrap: wrap;
		margin-top: 2.5rem;
		margin-bottom: 2.5rem;
	}

	.medico-individual .foto-del-medico {
		width: 32%;
		height: auto;
		max-width: 18.75rem;
		margin-left: 0;
		margin-right: 3%;
	}
	
	.medico-individual .textos-del-medico {
		width: 65%;
	}
	
	.medico-individual .nombre-completo {
		margin-top: 0;
	}
	
	.colegiado {
		font-size: 0.75rem;
	}
	
	.especialidadesycita {
		display: flex;
		flex-wrap: wrap;
		max-width: 55.75rem;
		padding-left: 2.125rem;
		padding-right: 2.125rem;
		clear: both;
		margin-left: auto;
		margin-right: auto;
	}
	
	.especialidadesycita .especialidades {
		width: 50%;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
		padding-bottom: 1.5rem;
	}
	
	.cita {
		width: 50%;
		margin-top: 2.5rem;
		margin-bottom: 2.5rem;
	}
	
	.cita h2 {
		font-size: 1.5rem;
	}
	
	.tratamiento-individual .subtitulo-verde {
		margin-left: auto;
		margin-right: auto;
		width: 50%;
	}
	
	.tratamiento-individual .subtitulo-verde h2 {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
		text-align: center;
		margin: 0;
	}
	
	.tratamiento-individual .contenido-al-lado-del-subtitulo {
		width: 100%;
	}
	
	.flex-iconos-tratamiento {
		padding-top: 2.5rem;
	}
	
	.tratamiento-individual .descripcion-icono {
		padding-bottom: 0;
	}
	
	.pedir-cita {
		padding-top: 3rem;
		padding-bottom: 6.5rem;
	}
	
	.pedir-cita-tratamiento {
		padding-bottom: 1.875rem;
	}
}

/* Medium devices (desktops, 960px and up)*/
@media only screen and (min-width: 60rem) {
	.tratamiento {
		width: 23.5%;
		padding-top: 23.5%;
	}
	
	.tratamiento:nth-of-type(3n+1) {
		margin-left: 1%;
	}
	
	.tratamiento:nth-of-type(3n+3) {
		margin-right: 1%;
	}
	
	.tratamiento:nth-of-type(4n+1) {
		margin-left: 0;
	}
	
	.tratamiento:nth-of-type(4n+4) {
		margin-right: 0;
	}
	
	.tratamiento:nth-of-type(8n+1) {
		background-color: #f4f2ee;
	}
	
	.tratamiento:nth-of-type(8n+2) {
		background-color: #e6e8eb;
	}
	
	.tratamiento:nth-of-type(8n+3) {
		background-color: #e6e8e0;
	}
	
	.tratamiento:nth-of-type(8n+4) {
		background-color: #f4f2e0;
	}
	
	.widget-contacto {
		width: 22rem;
	}
	
	.formulario-de-contacto #central-part {
		width: 50%;
	}
	
	.colegiado {
		font-size: 0.85rem;
	}
	
	.especialidadesycita {
		max-width: 65rem;
	}
	
	.especialidades .titulo-seccion {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
		background-position: left 2.925rem;
	}
	
	.especialidades .especialidad i {
		font-size: 1.5rem;
		top: 0.2rem;
	}
	
	.cita h2 {
		font-size: 1.75rem;
	}
}

/*--------------------------------------------------------------
## Legal note, privacy policy and cookie policy
--------------------------------------------------------------*/

#post-3 p,
#post-258 p,
#post-260 p {
	margin-bottom: 1rem;
}

#post-3 h2,
#post-258 h2,
#post-260 h2 {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 2rem;
}

#post-3 .entry-content,
#post-258 .entry-content,
#post-260 .entry-content{
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* Aviso de Cookies */
.pea_cook_wrapper.pea_cook_bottomcenter {
	left: 0 !important;
}

.eucookie {
	margin: 0 !important;
	line-height: 1;
}

/* Politica de Cookies */
.tablagen #header {
	display: none;
}

.tablagen .fila {
	display: table;
	margin-bottom: 1rem;
	width: 100%;
	border: 0.1rem solid lightgray;
}

.tablagen .fila .col {
	display: table-row;
}

.tablagen .fila .col:nth-of-type(1) {
	background-color: lightgray;
}

.tablagen .fila .col:nth-of-type(1):before {
	content: "Nombre: ";
	font-weight: bold;
}

.tablagen .fila .col:nth-of-type(2):before {
	content: "Titularidad: ";
	font-weight: bold;
}

.tablagen .fila .col:nth-of-type(3):before {
	content: "Tipo: ";
	font-weight: bold;
}

.tablagen .fila .col:nth-of-type(4):before {
	content: "Finalidad: ";
	font-weight: bold;
}

.tablagen .fila .col:nth-of-type(5):before {
	content: "Duración: ";
	font-weight: bold;
}

/* Medium devices (tablets, 769px and up)*/
@media only screen and (min-width: 48rem) {
	.tablagen {
		display: table;
		border-collapse: collapse;
		margin-bottom: 1rem;
	}

	.tablagen #header,
	.tablagen .fila {
		display: table-row;
		margin-bottom: 0;
	}

	.tablagen #header {
		background-color: lightgray;
		font-weight: bold;
	}

	.tablagen .fila .col {
		display: table-cell;
		border: 0.1rem solid #4d5057;
		padding: 0.5rem;
	}

	.tablagen .fila .col:nth-of-type(1) {
		background-color: transparent;
	}

	.tablagen .fila .col:nth-of-type(1),
	.tablagen .fila .col:nth-of-type(2),
	.tablagen .fila .col:nth-of-type(3),
	.tablagen .fila .col:nth-of-type(5){
		width: 15%;
	}

	.tablagen .fila .col:nth-of-type(4) {
		width: 40%;
	}

	.tablagen .fila .col:nth-of-type(1):before,
	.tablagen .fila .col:nth-of-type(2):before,
	.tablagen .fila .col:nth-of-type(3):before,
	.tablagen .fila .col:nth-of-type(4):before,
	.tablagen .fila .col:nth-of-type(5):before {
		content: none;
	}
}
