	/*
==================================================================
Theme Name: Clínica Ariñez
Version: 1.0
Author: Neobrand®
Author URI: https://neobrand.com
==================================================================
*/

@import url('css/config.css');

/* General */

#gallery img, .grid img{
	max-width: 100%;
}

html,body {
	font-family: 'Work Sans', sans-serif;
	line-height: 1.2;
	color: var(--black);
	font-size: var(--size-400);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body figure {
	margin: 0;
}

h1,h2,h3,h4,h5 {
	width: 100%;
	margin: 0;
}

p,li {
	width: 100%;
	margin: 0;
	line-height: 1.6;
	color: var(--black);
}

a {
	color: #000;
	text-decoration: none;
	transition: all 280ms ease;
}

a.inline {
	display: inline;
	background: linear-gradient(to right,currentColor 0%,currentColor 100%);
    background-size: 0px 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .25s cubic-bezier(.785,.135,.15,.86) 0s;
}

a.inline:hover {
	background-size: 100% 1px;
    background-position: left 0 bottom 0;
}

.title span {
	color: var(--orange);
}

.curve-right {
	right: 0;
	top: var(--space-50);
	transform: translateX(50%);
	z-index: 2;
}

.curve-right svg{
	width: 160px;
	height: auto;
	fill: var(--orange);
}

/* Header */

.topbar a {
	white-space: nowrap
}

.topbar p br {
	display: none;
}

.topbar .icon svg,
nav .icon svg {
	width: 19px;
	height: 19px;
}

#logo svg {
	height: 50px;
	width: auto;
}

.btn {
	color: var(--orange);
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid var(--orange);
	padding: 15px 40px;
	border-radius: 7px;
	overflow: hidden;
	transition: all 320ms ease;
}

.btn-fill {
	color: white;
	background: var(--orange);
	padding: 15px 40px;
	border-radius: 7px;
	overflow: hidden;
	border: 2px solid var(--orange);
}

.btn:hover {
	color: white;
	background: var(--orange);
}

.btn-fill:hover {
	background: white;
	color: var(--orange);
}

#hero figure.absolute img {
	width: 375px;
	height: 375px;
	float: left;
	aspect-ratio: 1 / 1;
	border-radius: 0 100px 0 0;
	overflow: hidden;
	box-shadow: 20px 20px 40px #0b3a7224;
}

.home #hero span.absolute {
	width: 150px;
	height: auto;
	transform: translate(-20%,-50%);
}

.home #hero span.absolute svg {
	fill: var(--main);
}

.menu .line::before {
	content: url('images/curve-small.svg');
	width: 16px;
	height: auto;
	color: var(--orange);
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
}

#hero .radius-top-left img {
	min-height: 700px;
}

#hero .mobile {
	display: none;
}

/* Main */

.home #hero {
	height: calc(100vh - 146px);
}

#services figure.absolute {
	right: 0;
	z-index: -1;
}

#services .absolute svg {
	width: 670px;
	height: auto;
	fill: var(--grey-100);
}

article.service figure{
	width: 120px;
	height: 120px;
	aspect-ratio: 1/1;
	background: var(--lightblue);
	border-radius: 100%;
	overflow: hidden;
}

article.service,
.service .cta{
	border-radius: 20px;
	box-shadow: 20px 20px 40px #0B3A720D;
}

.service .cta {
	top: var(--space-30);
	margin-top: var(--space-40);
}

.service .cta a {
	display: block;
}

.service .cta a span {
	color: white;
}

.services article a {
	flex: 1 1 auto;
}

.service .icon img {
	height: 55px;
	width: auto;
}

.service #others .my-pagination {
	position: static;
}

.service .swiper-pagination-bullet-active {
	background-color: var(--main);
}

.myServices .swiper-wrapper {
	padding-top: 25px;
	padding-bottom: var(--space-50);
	position: relative;
}

.swiper-button-prev{
	left: 45px;
}

.swiper-button-next {
	right: 45px;
}

.myServices::before,
.myServices::after {
	content: '';
	width: 100px;
	height: 100%;
	position: absolute;
	top: 0;
	background: red;
	z-index: 3;
}

.myServices::before {
	left: 0;
	background: rgb(255,255,255);
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
}

.myServices::after {
	right: 0;
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%);
}

#why .question {
	cursor: pointer;
}

#why .question i {
	transition: all 320ms ease;
}

#why .question.open i {
	transform: rotate(-180deg);
}

#why figure,
#why figure img {
	min-height: 790px;
}

#why figure.radius-top-left img{
	opacity: 0;
	transform: translateY(-10px);
	transition: all 320ms ease;
}

#why figure.radius-top-left img.show {
	opacity: 1;
	transform: none;
}

.question:not(:first-of-type) {
	border-bottom: 1px solid var(--grey);
}

.question:first-of-type {
	border-top: 1px solid var(--grey);
	border-bottom: 1px solid var(--grey);
}

div.line {
	height: 1px;
	background: var(--grey);
}

#values figure.icons {
	width: 115px;
	height: auto;
}

#values figure.icons img {
	object-fit: contain;
}

#values figure.curve {
	width: 100%;
}

#our_services .grid article:nth-of-type(7n+2),
#our_services .grid article:nth-of-type(7n+3) {
	grid-column: span 2;
}

#our_services span.absolute {
	top: -20px;
}

#our_services span.absolute svg{
	width: 670px;
	height: auto;
	fill: var(--grey-100);
}

/* Single */

.content p {
	font-size: var(--size-500);
	margin-bottom: var(--space-30);
}

.content p:last-child(){
	margin-bottom: 0;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content p strong {
	color: var(--main);
}

.content h2 {
	font-size: var(--size-650);
	padding-bottom: var(--space-25);
}

.content h3,
.content h4 {
	font-size: var(--size-600);
	padding-bottom: var(--space-20);
}

.content figure {
	margin-bottom: var(--space-60);
}
.content .wp-block-media-text {
	display: block;
}

.content .wp-block-media-text > figure {
	margin-bottom: var(--space-30);
}

.content .wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

.swiper-button-next,
.swiper-button-prev {
	width: 40px;
	height: 40px;
	color: var(--main);
	background: var(--lightblue);
	border-radius: 100%;
}

.swiper-button-next::after, 
.swiper-button-prev::after{
	font-size: 20px;
	font-weight: var(--weight-800);
}

.swiper {
	width: 100%;
}

/*Lity*/

/* Misc */

.lity-active,
.lity-active body {
	overflow: hidden;
}

.lity {
	z-index: 9990;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	white-space: nowrap;
	background: #0b0b0b;
	background: rgba(0, 0, 0, .9);
	outline: none !important;
	opacity: 0;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.lity.lity-opened {
	opacity: 1;
}

.lity.lity-closed {
	opacity: 0;
}

.lity * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.lity-wrap {
	z-index: 9990;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	outline: none !important;
}

.lity-wrap::before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

.lity-loader {
	z-index: 9991;
	color: #fff;
	position: absolute;
	top: 50%;
	margin-top: -0.8em;
	width: 100%;
	text-align: center;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	opacity: 0;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.lity-loading .lity-loader {
	opacity: 1;
}

.lity-container {
	z-index: 9992;
	position: relative;
	text-align: left;
	vertical-align: middle;
	display: inline-block;
	white-space: normal;
	max-width: 100%;
	max-height: 100%;
	outline: none !important;
}

.lity-content {
	z-index: 9993;
	width: 100%;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform .3s ease;
	transition: -webkit-transform .3s ease;
	-o-transition: -o-transform .3s ease;
	transition: transform .3s ease;
	transition: transform .3s ease, -webkit-transform .3s ease, -o-transform .3s ease;
}

.lity-loading .lity-content,
.lity-closed .lity-content {
	-webkit-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
}

.lity-content::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	display: block;
	right: 0;
	width: auto;
	height: auto;
	z-index: -1;
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}

.lity-close,
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
	z-index: 9994;
	width: 35px;
	height: 35px;
	position: fixed;
	right: 20px;
	top: 20px;
	-webkit-appearance: none;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	padding: 0;
	color: #fff;
	font-style: normal;
	font-size: 35px;
	font-family: Arial, Baskerville, monospace;
	line-height: 35px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
	border: 0;
	background: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.lity-close::-moz-focus-inner {
	border: 0;
	padding: 0;
}

.lity-close:active {
	top: 1px;
}

.lity-image img {
	max-width: 100%;
	display: block;
	line-height: 0;
	border: 0;
}

.lity-iframe .lity-container {
	width: 100%;
	max-width: 964px;
}

.lity-iframe-container {
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	overflow: auto;
	pointer-events: auto;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-overflow-scrolling: touch;
}

.lity-iframe-container iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	background: #000;
}

.lity-hide {
	display: none;
}

#play {
	font-size: 14px;
	font-weight: 500;
	background: var(--main);
	border-radius: 7px;
	padding: 10px 20px;
	position: absolute;
	right: var(--space-30);
	bottom: var(--space-30);
	border: 2px solid var(--main);
}

#play i{
	font-size: 12px;	
}

/* Contact */
#contact .icon {
	width: 85px;
	height: 85px;
	aspect-ratio: 1 / 1;
	color: var(--main);
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--lightblue);
	border-radius: 100%;
}

#contact .icon.phone svg {
	width: 32px;
	height: 32px;
}

#contact .map .mark {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	margin-top: -50px;
}

#contact .map span {
	width: 100px;
	height: 100px;
	aspect-ratio: 1/ 1;
	background: var(--main);
	border-radius: 100%;
}

#contact .map:hover span{
	animation: bounce2 2s ease infinite;
}

@keyframes bounce2 {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

#contact .map span::after {
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	bottom: -6px;
	transform: rotate(45deg);
	background: var(--main);
}

#contact .map svg {
	width: 50px;
	height: 50px;
}

#form > div {
	border-radius: 20px;
	background: var(--blue-100);
}

#form .wpcf7 {
	width: 100%;
}

#form form [type="text"],
#form form [type="email"],
#form form [type="tel"],
#form form select,
#form form textarea {
	width: 100%;
	height: 60px;
	padding-left: var(--space-20);
	border: 0;
	border-radius: 7px;
	line-height: 1.4;
	color: var(--black);
}

input::placeholder,
textarea::placeholder  {
	color: var(--black);
}

#form form textarea {
	height: 120px;
	padding-top: 20px;
	resize: none;
}

#form form .wpcf7-acceptance label {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1;
	position: relative;
}

#form form .wpcf7-acceptance label::before,
#form form .wpcf7-acceptance label::after {
	content: '';
}

#form form .wpcf7-acceptance label::before {
	width: 16px;
	height: 16px;
	border: 1px solid var(--black);
	border-radius: 3px;
}

#form form .wpcf7-acceptance label::after {
	width: 12px;
	height: 12px;
	background-color: var(--main);
	border-radius: 2px;
	transform: scale(0);
	transition: all 280ms ease;
	position: absolute;
	left: 3px;
}

#form form .wpcf7-acceptance label.active::after {
	transform: scale(1);
}

#form form .wpcf7-acceptance label input {
	width: 18px;
	height: 18px;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

#form form [type="submit"] {
	border: 0;
}

#form form .wpcf7-spinner {
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	background-color: var(--main);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
}

#form form .wpcf7-spinner::before {
	width: 24px;
	height: 24px;
	animation-name: pulse;
	transform-origin: center;
	animation-duration: 1500ms;
	top: auto;
	left: auto;
}

@keyframes pulse {
	50% {transform: scale(1.8);}
}

#form form .wpcf7-not-valid-tip {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7.5px 10px 7.5px 0;
	border-color: transparent #ff9800 transparent transparent;
	text-indent: -9999px;
	transform: translateY(-50%);
	overflow: hidden;
	position: absolute;
	right: 5px;
	top: 50%;
}

#form form .wpcf7-response-output {
	display: none;
}

#form form.sent .wpcf7-response-output {
	margin: 0;
	width: 100%;
	height: 100%;
	font-size: var(--size-500);
	background-color: rgb(255 255 255 / 95%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--main);
	border-color: var(--main);
	position: absolute;
	top: 0;
	left: 0;
}

#form .wpcf7-list-item {
	margin: 0;
}

.fa-chevron-right {
	font-size: 10px;
}

/* About */

.member {
	cursor: pointer;
}

.member:hover .icon {
	transform: scale(1.1);
}

.member .cv {
	background: rgba(11, 58, 114, .8);
	opacity: 0;
	pointer-events: none;
	transition: all 320ms ease;
	border-radius: 40px 0 0 0 ;
}

.member.show .cv {
	opacity: 1;
	pointer-events: all;
	overflow: scroll;
}

#team .member .content p,
#team .member .content li {
	color: white;
}

.member figcaption {
	bottom: 0;;
	left: 0;
	padding: var(--space-20);
	background: rgba(11, 58, 114, .6);
}

.member .icon {
	width: 30px;
	height: 30px;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	border: 2px solid white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
	transition: all 320ms ease;
}

.member.show h3{
	transition: all 320ms ease;
}

.member.show h3 {
	opacity: 0;
}

.member::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg,rgba(0,0,0,0) -10%,rgba(0,0,0,0) 36%);
}

#gallery .grid {
	grid-template-columns: repeat(2,1fr) 1.4fr;
    grid-template-rows: repeat(3,240px) 400px;
}

#gallery .grid figure:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

#gallery .grid figure:nth-child(3) {
    grid-row: span 2;
}

#gallery .grid figure {
	max-height: 550px;
}

/* Blog */

#news > div {
	row-gap: 40px;
	column-gap: 30px;
}

.new figure,
.member figure{
	min-height: 300px;
	border-top-left-radius: 40px;
	background: white;
	padding-top: 30px;
}

.member figcaption span {
	text-shadow: 1px 1px 7px rgba(11, 58, 114, .5);
}

.new figure span {
	bottom: 0;
	left: 0;
	border-radius: 0 20px 0 0;
}

.new figure img {
	transition: all 320ms ease;
}

.new:hover img{
	transform: scale(1.1);
}

.new:hover .inline {
	background-size: 100% 1px;
    background-position: left 0 bottom 0;
}

/* Post */

.post #hero > div {
	min-height: 250px;
}

.post #hero figure img {
	width: 100%;
}

.post #hero > div::after {
	content: '';
	position: absolute;
	inset: 0;
	background: #0b3a72d1;
	border-radius: 0 100px 0 0;
}

.post #hero .date {
	width: fit-content !important;
	bottom: var(--space-30);
	right: var(--space-30);
}

.content .is-type-video {
	width: 100%;
}

.content .is-type-video > div {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.content .is-type-video iframe {
	width: 100%;
	height: 100%;
}

.content ul,
.content ol {
	margin-bottom: var(--space-30);
}

.content ol {
	padding-left: var(--space-20);
}

.content ul li{
	position: relative;
	padding-left: var(--space-20);
}

.content ol li {
	list-style: auto;
}

.content ul li,
.content ol li  {
	font-size: var(--size-500);
}

.content ul li::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 100%;
	background: var(--orange);
	position: absolute;
	left: 7px;
	top: 10px;
}

#contact .phone span{
	display: inline-block;
	margin: 0 var(--space-10);
}

.post #share-button {
	cursor: pointer;
	gap: 10px;
	align-items: center;
	font-size: var(--size-400);
	font-weight: var(--weight-500);
}

/* Footer */

footer .logo svg {
	height: 50px;
	width: auto;
}

span.dot::before {
	content: '';
	width: 3px;
	height: 3px;
	border-radius: 100%;
	background: currentColor;
    display: inline-block;
    margin: 0px 5px;
}


#neobrand {
	transition: all 320ms ease;
	opacity: 0.25;
}

#neobrand:hover {
	opacity: 1;
}

.edit-post {
	left: 20px;
	bottom: 20px;
}

.grecaptcha-badge {
	opacity: 0;
	pointer-events: none;
}