/*
Theme Name: Clínica Centro Divi Child
Theme URI: https://clinicacentrolaroda.com/
Description: Tema hijo de Divi para Clínica Dental Centro.
Author: Clínica Dental Centro
Template: Divi
Version: 2.6.0
Text Domain: clinicacentro-divi-child-v4
*/

:root {
	--cdc-aqua: #67C0C1;
	--cdc-blue: #195E80;
	--cdc-black: #000000;
	--cdc-white: #FFFFFF;
	--cdc-text-muted: rgba(0, 0, 0, .68);
	--cdc-border: rgba(25, 94, 128, .18);
	--cdc-soft: rgba(103, 192, 193, .10);
	--cdc-shadow: rgba(0, 0, 0, .08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--cdc-white);
	color: var(--cdc-black);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body,
input,
textarea,
select,
button {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
	color: var(--cdc-blue);
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

a:hover,
a:focus-visible {
	color: var(--cdc-black);
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid var(--cdc-blue);
	outline-offset: 3px;
}

:where(.cdc-v8-footer, .cdc-v8-compact-cta, .cdc-v8-treatment-cta) :where(a, button, input, textarea, select, summary):focus-visible {
	outline-color: var(--cdc-white);
}

::selection {
	background: var(--cdc-aqua);
	color: var(--cdc-black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--cdc-blue);
	font-weight: 750;
	letter-spacing: -.025em;
	line-height: 1.12;
	padding: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
	padding-bottom: 0;
}

img {
	max-width: 100%;
	height: auto;
}

#page-container,
#main-content {
	background: var(--cdc-white);
}

#main-header,
#main-header.et-fixed-header {
	background: var(--cdc-white);
	border-bottom: 1px solid var(--cdc-border);
	box-shadow: none;
}

#main-header .container {
	width: min(1180px, calc(100% - 40px));
	max-width: none;
}

#main-header #logo {
	max-height: 70px;
	width: auto;
}

#et-top-navigation {
	font-weight: 700;
}

#top-menu > li {
	padding-right: 22px;
}

#top-menu > li > a,
.et_mobile_menu a,
.nav li ul a {
	color: var(--cdc-black);
	font-size: 15px;
	letter-spacing: .01em;
}

#top-menu > li > a:hover,
#top-menu > li.current-menu-item > a,
#top-menu > li.current_page_item > a,
.et_mobile_menu a:hover,
.nav li ul a:hover {
	color: var(--cdc-blue);
	opacity: 1;
}

.nav li ul,
.et_mobile_menu {
	background: var(--cdc-white);
	border-color: var(--cdc-aqua);
	box-shadow: 0 16px 40px var(--cdc-shadow);
}

#top-menu .cdc-nav-appointment {
	padding-right: 0;
}

#top-menu .cdc-nav-appointment > a,
.et_mobile_menu .cdc-nav-appointment > a {
	align-items: center;
	background: var(--cdc-blue);
	border: 2px solid var(--cdc-blue);
	border-radius: 999px;
	color: var(--cdc-white) !important;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px !important;
}

#top-menu .cdc-nav-appointment > a:hover,
.et_mobile_menu .cdc-nav-appointment > a:hover {
	background: var(--cdc-aqua);
	border-color: var(--cdc-aqua);
	color: var(--cdc-black) !important;
}

.mobile_menu_bar::before {
	color: var(--cdc-blue);
}

#main-footer,
#footer-bottom {
	display: none !important;
}

.cdc-legal-main {
	background: var(--cdc-white);
	padding: clamp(56px, 8vw, 104px) 0;
}

.cdc-legal-main__shell {
	margin: 0 auto;
	width: min(920px, calc(100% - 40px));
}

.cdc-legal-page {
	color: var(--cdc-black);
}

.cdc-legal-page__hero {
	border-bottom: 3px solid var(--cdc-aqua);
	margin-bottom: 40px;
	padding-bottom: 28px;
}

.cdc-legal-page__eyebrow {
	color: var(--cdc-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.cdc-legal-page h1 {
	font-size: clamp(38px, 6vw, 68px);
	margin-bottom: 18px;
}

.cdc-legal-page h2 {
	font-size: clamp(24px, 3vw, 34px);
	margin: 44px 0 16px;
}

.cdc-legal-page h3 {
	font-size: 21px;
	margin: 28px 0 10px;
}

.cdc-legal-page p,
.cdc-legal-page li,
.cdc-legal-page td,
.cdc-legal-page th {
	color: var(--cdc-black);
}

.cdc-legal-page table {
	border-collapse: collapse;
	margin: 24px 0;
	width: 100%;
}

.cdc-legal-page td,
.cdc-legal-page th {
	border: 1px solid var(--cdc-border);
	padding: 12px;
	text-align: left;
}

.cdc-legal-page th,
.cdc-legal-page__notice,
.cdc-legal-page__details {
	background: var(--cdc-soft);
}

.cdc-legal-page__notice,
.cdc-legal-page__details {
	border-left: 4px solid var(--cdc-aqua);
	padding: 20px;
}

.cky-consent-container .cky-consent-bar,
.cky-modal,
.cky-preference-center {
	background: var(--cdc-white) !important;
	border-color: var(--cdc-border) !important;
	color: var(--cdc-black) !important;
}

.cky-consent-container :where(p, span, div, h1, h2, h3),
.cky-modal :where(p, span, div, h1, h2, h3) {
	color: var(--cdc-black) !important;
}

.cky-btn {
	background: var(--cdc-white) !important;
	border-color: var(--cdc-blue) !important;
	color: var(--cdc-blue) !important;
}

.cky-btn-accept,
.cky-btn[data-cky-tag="accept-button"] {
	background: var(--cdc-blue) !important;
	color: var(--cdc-white) !important;
}

@media (max-width: 980px) {
	#main-header .container {
		width: min(100% - 32px, 1180px);
	}

	.et_mobile_menu {
		padding: 14px;
	}

	.et_mobile_menu li a {
		border-bottom-color: var(--cdc-border);
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
