/*
Theme Name: Tema Snik x FisioBustar
Author: Snik Comunicación
Author URI: https://snikcomunicacion.es
Description: Tema creado para FisioBustar
Version: 1.0
Index
----------------------------------
	1 - General
	2 - Header
	3 - Home
	4 - Page
	5 - Footer
	6 - Media
*/
/**/
/* 1 - General */
.grecaptcha-badge{
	display: none;	
}
html{
	position: relative;
}
*{
	font-family: 'Heebo', sans-serif;
}
body{
	margin:0;
}
a{
	text-decoration: none;
}
img{
	max-width: 100%;
	display: block;
	margin: 0 auto;
}
.container{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}
/* 2 - Header */
/*header{
	margin-top: 20px;
}*/
header > #header{
	text-align: center;
	position: relative;
}
header > #header > #logo > #logo-panel > a > img{
	max-width: 300px;
}
header > #header > #llama{
    color: #fff;
	position: absolute;
    right: 0;
    top: 0;
}
header > #header > #llama > #llama-panel{
	padding: 10px 30px;
    background: #5393aa;
    line-height: 10px;
}
header > #header > #llama > #llama-panel *{
	font-family: 'Quicksand',sans-serif;
}
header > #header > #llama > #llama-panel span{
	font-size: 200%;
    font-weight: 100;
}
header > #header > #llama > #llama-panel a{
	font-weight: 700;
	color: white;
}
header > #header > #menu > #menu-panel > #menu-icon{
	display: none;
}
header > #header > #menu > #menu-panel > #menu-list > div > ul.menu{
	list-style: none;
	padding: 0;
	/*margin-top: 60px;*/
}

header > #header > #menu > #menu-panel > #menu-list > div > ul.menu > li{
	display: inline-block;
	padding: 0 15px;
}
header > #header > #menu > #menu-panel > #menu-list > div > ul.menu > li > a{
	font-size: 18px;
	font-weight: 300;
	color: #333333;
}


/* SUB SUB ELEMENT */

header .custom-menu-class ul > li > ul.sub-menu > li > ul.sub-menu {
	position: absolute;
	top: -105%!important;
	left: 100%!important;
	background-color: var(--accent-color);
	padding: 10% 5% !important;
	max-width: 256px !important;
	display: none!important;
	border: none!important;
}

header .custom-menu-class ul > li > ul.sub-menu > li:hover > ul.sub-menu {
	display: flex!important;
}

header .custom-menu-class ul > li > ul.sub-menu > li > ul.sub-menu a:hover {
    color: #fff !important;
	text-decoration: underline!important;
}

header .custom-menu-class ul > li > ul.sub-menu > li > ul.sub-menu li {
	background-color: var(--accent-color) !important;
	color: #fff;
	text-transform: uppercase;
	padding: 0px 6px !important;
	margin: 2% 1% !important;
}

.menu-item-has-children > a {
    position: relative;
}

header ul > li > ul li.menu-item-has-children > a::before {
    content: '>';
    position: absolute;
    top: 40%;
    line-height: 0.5;
    right: -15%;
    transform: translateY(-50%);
    font-weight: 400;
}

/* 3 - Home */
#center-column > #slider{
	position: relative;
}
#center-column > #slider > #slider-panel > .slider-item{
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.5s;
}
#center-column > #slider > #slider-panel > .slider-item.active{
	max-height: unset;
	opacity: 1;
}
#center-column > #slider > #slider-panel > .slider-item .slider-text{
	opacity: 0;
	transition: opacity 3s;
	display: none;
}
#center-column > #slider > #slider-panel > .slider-item.active .slider-text{
	opacity: 1;
	display: block;
}
#center-column > #slider > #slider-panel > #previous-arrow,
#center-column > #slider > #slider-panel > #next-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 52px;
    font-size: 60px;
    font-weight: 100;
    cursor: pointer;
}
#center-column > #slider > #slider-panel > #previous-arrow:hover,
#center-column > #slider > #slider-panel > #next-arrow:hover{
	font-weight: 500;
}
#center-column > #slider > #slider-panel > #previous-arrow{
    left: 20px;
}
#center-column > #slider > #slider-panel > #next-arrow{
    right: 20px;
}
#center-column > #slider > #slider-panel > .slider-item > .slider-item-panel > .slider-text{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #7db892; 
	width: intrinsic;           /* Safari/WebKit uses a non-standard name */
	width: -moz-max-content;    /* Firefox/Gecko */
	width: -webkit-max-content; /* Chrome */
}
#center-column > #slider > #slider-panel > .slider-item > .slider-item-panel > .slider-text > .slider-text-panel{
	 padding: 20px 50px 15px;
}
#center-column > #slider > #slider-panel > .slider-item > .slider-item-panel > .slider-text > .slider-text-panel > h1{
	margin:0;
	color: white;
	font-weight: 400;
	font-size: 3vw;
}

.interior-page .thumbnail img {
	height: 451px;
	object-fit: cover;
}

#destacado{
	margin-top: 70px;
}
#destacado > #destacado-panel > #destacado-titular{
	text-align: center;
}
#destacado > #destacado-panel > #destacado-titular > #destacado-titular-panel > h2{
    line-height: 55px;
    margin-bottom: 15px;
    font-size: 44px;
	font-weight: 900;
	color: black;
	margin-top: 0;
}
#destacado > #destacado-panel > #destacado-titular > #destacado-titular-panel > p{
	margin:0 auto;
	color: #333333;
	font-size: 18px;
	font-weight: 300;	
	width: 50%;
}
#destacado > #destacado-panel > #destacado-new-items{
	margin-top: 40px;
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel{
	display: flex;
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item{
	flex: 1;
	text-align: center;
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item:nth-of-type(1){
	margin-left: 30px;
	margin-right: 15px;
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item:nth-of-type(2){
	margin-right: 30px;
	margin-left: 15px;
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item:nth-of-type(1) > .destacado-new-item-panel{
	background: #83cac5;
	padding: 15px 50px;
	    height: calc(100% - 30px);
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item:nth-of-type(2) > .destacado-new-item-panel{
	background: #64a4bd;
	padding: 15px 50px;
	    height: calc(100% - 30px);
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item > .destacado-new-item-panel > img{
    margin: 20px auto 15px auto;
    width: 90px;
}
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item > .destacado-new-item-panel > p,
#destacado > #destacado-panel > #destacado-new-items > #destacado-new-items-panel > .destacado-new-item > .destacado-new-item-panel > p > a{
	color: white;
	font-weight: 300;
}
#destacado > #destacado-panel > #destacado-items{
	margin-top: 60px;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel{
	display: flex;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item{
	display: flex;
	flex: 1;
	text-align: center;
	margin: 0;
	border-left: 15px solid white;
	border-right: 15px solid white;
	border-bottom: 30px solid white;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item:nth-of-type(1){
	background: #8bafbd;
	border-left: 30px solid white;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item:nth-of-type(2){
	background: #64a4bd;	
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item:nth-of-type(3){
	background: #64bdb7;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item:nth-last-of-type(1){
	background: #4c918d;
	border-right: 30px solid white;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item > .destacado-item-panel{
	padding: 55px 30px 35px;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item > .destacado-item-panel > h3{
	margin: 0;
	margin-bottom: 30px;
	font-size: 24px;
	font-weight: 500;
	color: white;
}
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item > .destacado-item-panel > p,
#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item > .destacado-item-panel > li{
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	color: white;
}
/* 4 - Page */
#page > #page-panel p{
	font-size: 17px;
	font-weight: 300;
	color: #555557;
}
#page > #page-panel h2{
	font-size: 32px;
	font-weight: 600;
	color: #64bdb7;
	margin-bottom: 0;
}
#page > #page-panel h4{
	font-size: 28px;
    font-weight: 100;
    color: #64bdb7;
    margin-top: 0;
    line-height: 0px;
    margin-bottom: 25px;
}
#page > #page-panel blockquote p,
#page > #page-panel li{
	font-size: 17px;
	font-weight: 300;
	color: #64a4bd;
	position: relative;
}
#page > #page-panel blockquote p:before{
    content: '"';
    font-size: 85.81px;
    font-weight: 700;
    color: #64bdb7;
    position: absolute;
    left: -40px;
    line-height: 83px;
    top: 0;
}
#page > #page-panel > #page-text{
	padding: 0 30px;
}
#page > #slider{
	position: relative;
	margin-bottom: 35px;
}
#page > #slider > #slider-panel > #slider-text{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
#page > #slider > #slider-panel > #slider-text > #slider-text-panel{
	padding: 60px 0 0 0;
    background: rgba(100,189,183,0.8);
} 
#page > #slider > #slider-panel > #slider-text > #slider-text-panel > h1{
    margin: 0;
    color: #fff;
    font-weight: 900;
    font-size: 48px;
    text-transform: uppercase;
    	padding: 0 30px;
}
#page form input:not([type="checkbox"]),
#page form textarea{
	width: calc(100% - 30px);
	padding: 15px;
	background: #8bafbd;
	color:white;
	border: 0;
	text-align: center;
	font-weight: 100;
	font-size: 18px;
}
#page form textarea{
	max-width: calc(100% - 30px);
	min-width: calc(100% - 30px);
	max-height: 110px;
	min-height: 110px;
}
#page form input[type="submit"]{
	width: 100%;
	background: #64bdb7;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 22px;
    cursor: pointer;
}
#page form input[type="checkbox"]{
    height: 20px;
    width: 20px;
    vertical-align: middle;
}
#page form span:not([role="alert"]){
	font-size: 18px;
	font-weight: 500;
    color: #64bdb7;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: white;
}
/* 5 - Footer */
footer{
	background: #3e474a;
	margin-top: -200px;
}
footer > #footer > #footer-logo{
	padding-top: 360px;
}
footer > #footer > #footer-info{
	margin-top: 60px;
}
footer > #footer > #footer-info > #footer-info-panel > div > div p,
footer > #footer > #footer-info > #footer-info-panel > div > div a,
footer > #footer > #footer-info > #footer-info-panel > div > div li,
footer > #footer > #footer-info > #footer-info-panel > div > div h3{
	color: white;
	font-weight: 300;
	margin: 0;
}
footer > #footer > #footer-info > #footer-info-panel > div > div ul{
	margin: 0;
	list-style: none;
	padding: 0;
}
footer > #footer > #footer-info > #footer-info-panel > div > div a:hover{
	font-weight: 600;
}
footer > #footer > #footer-info > #footer-info-panel > div{
	text-align: center;
	margin: 26px 0;
}
footer > #footer > #footer-info > #footer-info-panel > div:nth-of-type(2){
	border-top: 1px solid #8bafbd;
	border-bottom: 1px solid #8bafbd;
	max-width: 400px;
	margin-right: auto;
	margin-left: auto;
	padding: 22px 0
}
footer > #footer > #footer-info > #footer-info-panel > div:nth-of-type(3){
	margin-bottom: 0;
}
footer > #footer > #footer-info > #footer-info-panel > div:nth-of-type(3) h3{
	color: #8bafbd;
}
footer > #footer > #footer-info > #footer-info-panel > div:nth-of-type(3) img{
	margin-top: 20px;
}
footer > #footer > #footer-info > #footer-info-panel > div > div li{
	margin-bottom: 10px;
}
footer > #footer > #footer-info > #footer-info-panel .bigblue,
footer > #footer > #footer-info > #footer-info-panel .bigblue a{
	color: #8bafbd;
	font-size: 22px;
}
#map > #map-panel > iframe{
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
/* 6 - Media */
@media(max-width:1150px){
	#center-column > #slider > #slider-panel > .slider-text > .slider-text-panel > h1,
	#page > #slider > #slider-panel > .slider-text > .slider-text-panel > h1{
		font-size: 60px;
	}
}
@media(max-width:1000px){
	#center-column > #slider > #slider-panel > .slider-text > .slider-text-panel > h1,
	#page > #slider > #slider-panel > .slider-text > .slider-text-panel > h1{
		font-size: 52px;
	}
	#destacado > #destacado-panel > #destacado-items > #destacado-items-panel{
		flex-wrap: wrap;
	}
	#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item{
		width: calc(50% - 15px);
	    flex: initial;
		border-left: 7.5px solid white;
		border-right: 7.5px solid white;
		border-bottom: 15px solid white;
	}
	#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item:nth-of-type(1){
		border-left: 7.5px solid white;
	}
	#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item:nth-last-of-type(1){
		border-right: 7.5px solid white;
	}
}
@media(min-width:768px){
	#page form{
		width: 50%;
		margin: 0 auto;
	}
}
@media(max-width:768px){
	#destacado>#destacado-panel>#destacado-new-items>#destacado-new-items-panel{
		flex-wrap: wrap;
	}
	#destacado>#destacado-panel>#destacado-new-items>#destacado-new-items-panel>.destacado-new-item{
		    margin: 0 !important;
    flex: unset;
    width: 100%;
	}
	#center-column > #slider > #slider-panel > .slider-text,
	#page > #slider > #slider-panel > .slider-text{
		position: initial;
	    left: unset;
	    top: unset;
	    transform: unset;
	    width: auto;
	}
	#center-column > #slider > #slider-panel > .slider-text > .slider-text-panel > h1,
	#page > #slider > #slider-panel > .slider-text > .slider-text-panel > h1{
		font-size: 34px;
	}
	#page > #slider > #slider-panel > .slider-text > .slider-text-panel{
		padding: 35px 50px 10px;
	}
	header > #header > #menu > #menu-panel > #menu-list{
		display: none;
	}
	header > #header > #menu > #menu-panel > #menu-icon{
		display: block;
		margin-top: 50px;
		margin-bottom: 30px;
	}
	header > #header > #menu > #menu-panel > #menu-icon > img{
		width: 40px;
	}
	header > #header > #menu > #menu-panel > #menu-list > div > ul.menu{
		margin-top: 0;
	}
	header > #header > #menu > #menu-panel > #menu-list > div > ul.menu > li{
	    display: block;
	    width: 100px;
	    border-bottom: 1px solid black;
	    margin: 0 auto;
	    padding: 10px 15px;
	}
	header > #header > #menu > #menu-panel > #menu-list > div > ul.menu > li:nth-last-of-type(1){
		border-bottom: 0;
	}
	header>#header>#llama{
		position: static;
		margin-top: 40px;
	}
	#center-column > #slider > #slider-panel > .slider-item > .slider-item-panel{
		height: 400px;
		position: relative;
	}
	#center-column > #slider > #slider-panel > .slider-item > .slider-item-panel img{
	    position: absolute;
	    left: 50%;
	    top: 50%;
	    transform: translate(-50%,-50%);
	    height: 400px;
	    width: 1920px;
	    object-fit: cover;
	}
	#center-column>#slider>#slider-panel>#previous-arrow, 
	#center-column>#slider>#slider-panel>#next-arrow{
		transform: unset;
		top: unset;
		bottom: 30px;
	}
	#page>#slider > #slider-panel{
		height: 400px;
		position: relative;
	}
	#page>#slider > #slider-panel img{
		position: absolute;
	    left: 50%;
	    top: 50%;
	    transform: translate(-50%,-50%);
	    height: 400px;
	    width: 1920px;
	    object-fit: cover;
	}

	.destacado.interior-page .wp-block-image img {
		width: 100%;
	}

	.destacado.interior-page .wp-block-image {
		width: 100%;
	}

	.interior-page .thumbnail img {
		height: 250px;
		width: 100%!important;
		object-fit: cover;
	}

	#menu ul.menu {
        margin-top: -1rem;
        background-color: #fff;
        border: 1px solid var(--accent-color);
        padding: 2% !important;
        width: 80%!important;
        margin: auto;
        position: relative;
        z-index: 9;
        flex-direction: column;
    }

	#menu div ul.menu li:hover .sub-menu {
		width: 100vw !important;
        left: 50% !important;
        transform: translateX(-50%);
	}

	header ul > li > ul li.menu-item-has-children > a::before {
		display: none!important;
	}

	header .custom-menu-class ul > li > ul.sub-menu > li:hover > ul.sub-menu{
		display: none!important;
	}

}
@media(max-width: 600px){
	#destacado > #destacado-panel > #destacado-items > #destacado-items-panel > .destacado-item{
		width: 100%;
		border-bottom:7.5px solid white;
	}
	#destacado > #destacado-panel > #destacado-titular > #destacado-titular-panel > p{
		width: auto;
	}	footer .kit-digital-footer{
	display:none;
}

		footer .kd-separats{
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
			background-color:white;
	}
	.kd-separats img{
		        flex: 1 0 50%;
        max-width: 50%;
        object-fit: contain;
        height: 100px;
    }

}

@media (print), (prefers-reduced-motion: reduce) {
  .animated {
    -webkit-animation-duration: 1ms !important;
    animation-duration: 1ms !important;
    -webkit-transition-duration: 1ms !important;
    transition-duration: 1ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
  }
}


@media(max-width: 300px){ 
	html{
		font-size: 80%;
	}
}

@media(max-width: 250px){ 
	html{
		font-size: 70%;
	}
}

@media(max-width: 200px){ 
	html{
		font-size: 60%;
	}
}


