/* 

	Theme Name: ÁBATON Dani Child
	Theme URI: http://www.spab-rice.com 
	Description: Modificaciones al theme Dani Child para ÁBATON
	Version: 1.0
	Author: Spab Rice 
	Author URI: http://www.spab-rice.com 
	Template:    dani
	Text Domain:  dani-child
	
*/

@import url("../dani/style.css");

/* -----------------------------------
	CHILD CSS
------------------------------------- */

@font-face {
    font-family: 'MuseoSans100';
    src: url('fonts/museosans_100-webfont.eot');
    src: url('fonts/museosans_100-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans_100-webfont.woff') format('woff'),
         url('fonts/museosans_100-webfont.ttf') format('truetype'),
         url('fonts/museosans_100-webfont.svg#MuseoSans300Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSans300';
    src: url('fonts/museosans_300-webfont.eot');
    src: url('fonts/museosans_300-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans_300-webfont.woff') format('woff'),
         url('fonts/museosans_300-webfont.ttf') format('truetype'),
         url('fonts/museosans_300-webfont.svg#MuseoSans300Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSans500';
    src: url('fonts/museosans_500-webfont.eot');
    src: url('fonts/museosans_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans_500-webfont.woff') format('woff'),
         url('fonts/museosans_500-webfont.ttf') format('truetype'),
         url('fonts/museosans_500-webfont.svg#MuseoSans300Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSans700';
    src: url('fonts/museosans_700-webfont.eot');
    src: url('fonts/museosans_700-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans_700-webfont.woff') format('woff'),
         url('fonts/museosans_700-webfont.ttf') format('truetype'),
         url('fonts/museosans_700-webfont.svg#MuseoSans300Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

p a {
border-bottom: none;
}

.thumb-hover:not(.play-on-hover):not(.image):hover img:not(.hover), .thumb-hover:hover .image-bg > span {
transform: scale(1) !important;
}

.wpsm-show {
font-family: "MuseoSans100";
color: #444444 !important;
font-size: 250% !important;
}

.wpsm-hide {
font-family: "MuseoSans100";
color: #444444 !important;
font-size: 250% !important;
}

.wpsm-show:hover, .wpsm-hide:hover {
text-decoration: none;
}

.wrapper-big {
width: calc(100% - 100px);
max-width: inherit;
padding: 0 50px;
}

#portfolio-single > p, #portfolio-single > h2, #portfolio-single > .wp-block-columns {
width: calc(100% - 100px);
max-width: inherit;
padding: 0 50px;
}

body.post-type-archive-publicaciones #blog-grid .blog-item .post-name {
min-height: 3em;
}

.anchor {
padding-top: 100px;
}

.type-publicaciones .blog-content.wrapper-small {
width: 100%;
}

.type-publicaciones .bx-wrapper {
box-shadow: none;
border: 0;
}

body.publicaciones-template-default #share,
body.publicaciones-template-default #single-pagination {
display: none;
}

body.publicaciones-template-default #hero #page-title {
padding-bottom: 0;
}

.bx-wrapper .bx-prev::after, .bx-wrapper .bx-next::after {
content: "";
width: 24px;
height: 3px;
background: #000000;
display: block;
transition: all 0.2s ease 0.2s;
position: absolute;
top: calc(50% - 1px);
left: calc(50% - 12px);
transition: all 0.2s ease;
background-image: none;
}

.bx-wrapper .bx-prev::before, .bx-wrapper .bx-next::before {
content: "";
position: absolute;
top: calc(50% - 7px);
left: 13px;
border-left: 3px solid #000000;
border-bottom: 3px solid #000000;
width: 12px;
height: 12px;
display: block;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
transition: all 0.2s ease;
background-image: none;
}

.bx-wrapper .bx-next::before {
border: none;
border-top: 3px solid #000000;
border-right: 3px solid #000000;
left: auto;
right: 3px;
}

.bx-wrapper .bx-prev::before {
left: 3px;
}

.bx-viewport {
height: auto !important;
}

#footer {
background: white;
}

#footer .column-section .column {
width: calc(20% - 20px);
}

#footer .column-section .column li {
margin-top: 0;
}

#footer .column-section .column:last-child {
width: calc(40%);
margin-right: 0;
}

#footer .column-section .column:last-col {
float: right;
text-align: right;
}

#footer .column-section .column:last-child .widget {
width: 50%;
float: right;
margin-top: 0;
}

#custom_html-7 {
width: 100% !important;	
padding-bottom: 2em;
text-align: right;
}

#media_image-2, #media_image-3, #media_image-4 {
width: 28% !important;
padding: 0 2.5%;	
}

#media_image-2 img, #media_image-3 img, #media_image-4 img {
width: auto;
height: 45px !important;	
}

#media_image-4 {
padding-right: 0;	
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
font-size: 130% !important;
}

#formulario_contacto {
padding-top: 4em;
}

#formulario_contacto .column-section {
margin: 25px 0;
}

#footer li {
font-family: "MuseoSans300";
font-weight: 300;
font-size: 12px;
line-height: 25px;
text-transform: none;
}

#formulario_contacto {
padding: 0;
margin: 0;
}

#formulario_contacto bt_superiores.active {
text-decoration: underline;
}

#formulario_contacto input, 
#formulario_contacto select,
#formulario_contacto textarea {
background: #f8f8f8;
width: 100%;
border: 0;
}

#formulario_contacto input.email {
font-size: 12px;
line-height: 14px;
max-width: 100%;
height: 15px;
}

#formulario_contacto select {
margin-bottom: 1em;
}

#formulario_contacto input.check {
width: auto;
display: inline;
}

#formulario_contacto .check {
cursor: pointer;
}

#formulario_contacto .button_enviar {
font-family: "MuseoSans300";
font-weight: 300;
font-size: 11px;
background: #8c8c8c;
text-transform: uppercase;
padding: 1em 2em;
}


#formulario_contacto input {
padding: 0.5em;
}

#formulario_contacto .red {
color: red;
}

#formulario_contacto label {
color: #444444; 
font-weight: normal;
font-size: 10px;
font-family: "MuseoSans300";
}

#sub_menu_horizontal h2, #sub_menu_horizontal p {
display: inline;
}

#sub_menu_horizontal h2 span, #sub_menu_horizontal p.h6 span, #sub_menu_horizontal span.h6 {
font-family: "MuseoSans500";
}

#sub_menu_horizontal h2 span a, #sub_menu_horizontal p.h6 span a, #sub_menu_horizontal span.h6 a {
font-family: "MuseoSans300";
border-bottom: 0;
}

#sub_menu_horizontal br {
display: none;	
}

#formulario_contacto .active {
text-decoration: underline;
}

#formulario_contacto .bt_superiores {
cursor: pointer;
}

#formulario_contacto .rojo {
color: red;
}

#formulario_contacto label.check {
display: inline;
font-size: 10px;
font-weight: normal;
}

#formulario_contacto .strong {
font-weight: bold;
}

#formulario_contacto > div,
#formulario_contacto > div > form {
width: 100%;
}

#sub_menu_horizontal p {
letter-spacing: 0.05em;
font-size: 11px;
line-height: 21px;
font-family: 'MuseoSans300';
}

#sub_menu_horizontal p.h1 {
font-family: "MuseoSans100";
font-weight: 100;
font-size: 20px;
line-height: 30px;
text-transform: none;
color: #444444;
}

#sub_menu_horizontal p a {
color: #444444;
}

#sub_menu_horizontal p:hover a {
color: #8c8c8c;
}

.only_desktop {
display: inherit;
}

.only_mobile {
display: none;
}

.h6 {
color: #444444;
}

#fancybox-overlay {
background-color: #fff !important;
opacity: 0.95 !important;
}

#fancybox-outer {
box-shadow: none !important;
}

#fancybox-close {
position: fixed !important;
width: 24px !important;
height: 3px !important;
right: 30px !important;
top: 27px !important;
background: none !important;
}

#fancybox-close:before, #fancybox-close:after {
position: absolute;
left: 15px;
content: ' ';
height: 24px;
width: 1px;
background-color: #000;
}

#fancybox-close:before {
transform: rotate(45deg);
}

#fancybox-close:after {
transform: rotate(-45deg);
}
	
.inlineList {
display: flex;
flex-direction: row;
justify-content: flex-start; 
list-style: none;
padding: 0;
white-space: nowrap;
}


#resultado_correo {
color: green;
margin-bottom: 1em;
font-weight: bold;
}

/*Aviso cookies*/
#notification-cookies-wrapper {
position: fixed;
padding: 2em;
float: left;
width: 650px;
margin: 0 auto;
background: white;
z-index: 2000;
height: auto;
top: 30%;
left: 0;
right: 0;
max-width: 100%;
}

#notification-cookies-texto {
font-size: 12px;
line-height: 1.6em;
margin-left: 8px;
	margin-right: 8px;
}

@media only screen and (max-width: 600px) {
  #notification-cookies-texto {
margin-left: 0px;
	margin-right: 0px;
  }
}
    	
#notification-cookies-shadow {
background-color: #8c8c8c;
color: #FFFFFF;
top: 0;
float: left;
opacity: 0.6;
width: 100%;
height: 100%;
z-index: 1000;
position: fixed;
left: 0;
text-align: center;
}

#notification-cookies-buttons {
display: flex;
padding-top: 1em;
}

#notification-cookies-buttons div {
width: 50%;
text-align: center;
}

#notification-cookies-buttons .mas_info {
font-size: 12px;
}

#notification-cookies-accept {
background-color: #444;
border: 2px solid #444;
box-sizing: border-box;
color: #fff;
cursor: pointer !important;
font-size: 12px;
font-weight: 300;
letter-spacing: 1px;
margin: 7px;
padding: 5px 60px;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
line-height: 1.8em;
}

#notification-cookies-rechazar {
background-color: #CCC;
border: 2px solid #CCC;
box-sizing: border-box;
color: #fff;
cursor: pointer !important;
font-size: 12px;
font-weight: 300;
letter-spacing: 1px;
margin: 7px;
padding: 5px 60px;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
line-height: 1.8em;
}

#notification-cookies-configurar {
background-color: white;
border: 1px solid #444444;
box-sizing: border-box;
color: #444;
cursor: pointer !important;
font-size: 12px;
font-weight: 300;
letter-spacing: 1px;
margin: 7px;
padding: 5px 60px;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
line-height: 1.8em;
}

#notification-cookies-configurar-wrapper {
display: none;
}

#notification-cookies-configurar-cerrar {
text-align: right;
}

#notification-cookies-configurar-cerrar a {
background-color: #444;
border: 2px solid #444;
box-sizing: border-box;
color: #fff;
cursor: pointer !important;
font-size: 12px;
font-weight: 300;
letter-spacing: 1px;
margin: 7px;
padding: 5px 60px;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
}

#notification-cookies-configurar-wrapper strong {
font-weight: bold;
color: black;
}

#notification-cookies-configurar-wrapper input {
cursor: pointer;
}

#notification-cookies-titulo {
color: black;
text-align: center;
font-size: 24px;
padding-bottom: 1em;
display: none;
}

#mensaje-datos-enviados {
padding: 150px 0;
}

#footer .widget_text a {
color: #444444;
}

#footer .widget_text a:hover {
color: #8C8C8C;
}

body.error404 #footer {
position: fixed;
bottom: 0;
}

body.error404 .alttitle {
padding-top: 1em;
}

#portfolio-single .thumb-hover.overlay-effect:hover::before {
opacity: 0;
filter: none;
}

#portfolio-single #abaton_related_post .thumb-hover.overlay-effect:hover::before {
opacity: 0.7;
filter: alpha(opacity=70);
}

#footer #backtotop::before {
width: 1px;
}

#footer #backtotop::after {
border-left: 1px solid #000;
border-top: 1px solid #000;
top: 50%;
}

#lightcase-nav a.lightcase-icon-prev::before {
border-left: 1px solid #000 !important;
border-bottom: 1px solid #000 !important;
}

#lightcase-nav a.lightcase-icon-prev::after {
height: 1px !important;
left: calc(50% - 13px);
}

#lightcase-nav a.lightcase-icon-next::before {
border-top: 1px solid #000 !important;
border-right: 1px solid #000 !important;
}

#lightcase-nav a.lightcase-icon-next::after {
height: 1px !important;
left: calc(50% - 11px);
}

#lightcase-nav a.lightcase-icon-close::after,
#lightcase-nav a.lightcase-icon-close::before {
height: 1px !important;
}

nav#main-nav > ul > li > a {
font-size: 14px !important;
}

body.home #header {
background: url('https://abaton.es/wp-content/themes/dani-abaton/images/top-gradient-big.png');
height: 204px;
}

body.single-portfolio .isotope-grid .isotope-item span {
max-width: 100% !important;
}

body.page-template-default .isotope-grid .isotope-item span {
max-width: 100% !important;
}

.menu-toggle span.hamburger::after {
margin-top: 0;
transform: rotate(90deg);
}

.menu-toggle span.hamburger::before {
display: none;
}

.menu-is-open .menu-toggle span.hamburger::after {
transform: rotate(90deg);
margin-top: -60px;
}

#english_ch_project > .one-half > .one-half {
width: 100%;
float: none;
}

#recaptchaResponseForm2 {
display: none;
}

#abaton_related_post h2 {
padding-bottom: 18.75px;
}

#portfolio-single .fullwidth figure img {
width: 100%;
}

body.page-id-16117 #page-body strong {
font-weight: bold;
}

body.postid-86 .wrapper {
max-width: 100%;
width: 100%;
}

.menu-toggle span.hamburger,
.menu-toggle span.hamburger::after, 
.menu-toggle span.hamburger::before {
height: 1px;
}

.menu-toggle span.cross::after,
.menu-toggle span.cross::before {
height: 1px;
}

#covid19 {
display: block;
position: absolute;
top: 1.5em;
left: 0;
width: 100%;
text-align: center;
}

#covid19 p {
color: #FF6C00;
font-size: 13px;
line-height: 20px;
}

#covid19inner strong,
#covid19inner .close {
display: none;
}

body.home #covid19 {
display: flex;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.7;
top: 0;
height: 100%;
}

body.home #covid19 p {
color: rgba(0,0,0,0.6);
}

body.home #covid19inner {
max-width: 100%;
width: 400px;
height: 200px;
background: white;
transform: translateY(-100px);
text-align: center;
}

body.home #covid19inner strong {
font-size: 24px;
display: inherit;
}

body.home #covid19inner .close {
text-decoration: underline;
cursor: pointer;
display: inherit;
}

.page-id-17310 #page-body {
width: 50%;
}

.page-id-19189 #page-body b,
.page-id-19189 #page-body strong {
font-weight: bold;
}

.page-id-17310 #page-body b,
.page-id-17310 #page-body strong {
font-weight: bold;
}

#footer .widget a {
font-size: 110%;
letter-spacing: 0px;
font-family: 'MuseoSans300';
}

#custom_html-7 a {
font-family: 'MuseoSans300';
}

/* Correccion Casa L */
#sc-gallery-grid13 {
height: auto !important;
}

#sc-gallery-grid13 .isotope-item {
position: relative !important;
top: inherit !important;
}

/*Menús*/
body.lang-es li.menu-en {
display: none !important;	
}

body.lang-en li.menu-es {
display: none !important;	
}

#portfolio-filter li:nth-child(5) {
display: none;	
}

body.lang-es #portfolio-filter li:first-child a {
visibility: hidden;
position: relative;
width: 100px;
}

.filter li.active a::after {
background: none !important;	
}

.filter li.active a {
border-bottom: 1px solid rgba(0,0,0,.12);
}

body.lang-es #portfolio-filter li:first-child a:after {
visibility: visible;
position: absolute;
top: 0;
left: 0;
content: "Mostrar todas";
}

body.page-id-13782 .show_more {
padding-top: 1.25em;	
}

h2 strong {
font-weight: bold !important;	
}

header.menu-open nav#main-nav > ul > li.extended-menu {
display: none;
height: 0px;
opacity: 0;
visibility: hidden;
transition: all 2s ease-in-out;
}

header.menu-open nav#main-nav > ul > li.extended-menu-minus {
display: none;	
}

header.menu-open.extended-menu-open nav#main-nav > ul > li.extended-menu {
display: block;
text-align: right;
padding: 0;
height: auto;
opacity: 1;
visibility: visible;
}

header.menu-open.extended-menu-open .extended-menu-plus {
display: none !important;	
}

header.menu-open.extended-menu-open nav#main-nav > ul > li.extended-menu-minus {
display: inline-block !important;	
}

header.menu-open nav#main-nav ul.sub-menu {
text-align: right;
background: transparent;	
}

nav#main-nav > ul > li {
padding-bottom: 0 !important;
}

.wpml-ls-legacy-list-horizontal,
.wpml-ls-legacy-list-horizontal .wpml-ls-link {
padding: 0;
margin: 0;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-link .wpml-ls-native {
font-family: MuseoSans300;
font-weight: 300;
height: 30px;
line-height: 30px;
}

@media (max-width: 768px) {
	
	header.menu-open nav#main-nav ul.sub-menu {
	text-align: left;
	}
	
	header.menu-open.extended-menu-open nav#main-nav > ul > li.extended-menu {
	text-align: left;
	background: rgba(211, 211, 211, 0.24);
	padding-right: 2em;
	}
	
	.wrapper-big {
	padding: 0;
	}
	
	#portfolio-single > p, #portfolio-single > h2, #portfolio-single > .wp-block-columns {
	padding: 0;	
	}
	
	#footer .column-section .column {
	width: 50% !important;
	float: left !important;
	}
	
	#footer .column-section .column:last-child {
	width: 100% !important;
	}
	
	#footer .column-section .column.last-col {
	text-align: left;
	}
	
	#footer li {
	font-size: 12px;
	}
	
	.only_desktop {
	display: none;	
	}
	
	.only_mobile {
	display: inherit;
	}
	
	#page-body {
	padding-top: 0em;
	}
	
	.page-id-17310 #page-body {
	width: 100%;
	}
	
	#media_image-2, #media_image-3, #media_image-4 {
	width: 100% !important;		
	}
	
	header.menu-open nav#main-nav ul.sub-menu > li > a {
	font-family: MuseoSans300;
	font-weight: 300;
	font-size: 12px;
	height: 30px;
	}
	
}


@media screen and (max-width: 68em) {
	#notification-cookies-wrapper {
	width: 60%;
	margin-left: 20%;
	height: 40%;
	}

	.page-id-4002 #page-body .column {
	margin-top: 0;
	}
	
	.page-id-4002 #page-body #sub_menu_horizontal .column.last-col {
	margin-top: 35px;	
	}
	
	#abaton_related_post .column {
	width: calc(50% - 15px); 
	margin-bottom: 1em;
	}
	
	#abaton_related_post .column img {
	width: 100%;
	}

	#abaton_related_post .column.related2,
	#abaton_related_post .column.related4 {	
	margin-right: 0px !important;
	}
} 

	
@media screen and (max-width: 46em) {
	#notification-cookies-wrapper {
	width: 80%;
	margin-left: 10%;
	height: 40%;
	}
	
	#abaton_related_post .column {
	margin-bottom: 12.25px;
	}
	
	#abaton_related_post .column.related1 {
	margin-top: 0;
	}
	
	body.home #header {
	background: url('https://abaton.es/wp-content/themes/dani-abaton/images/top-gradient-mobile.png');
	height: auto;
	}
}


@media screen and (max-width: 36em) {
	#notification-cookies-wrapper {
	width: calc(100% - 3em);
	margin-left: 0;
	top: auto;
	height: auto;
	bottom: 0;
	padding-bottom: 0;
	}
	
	#notification-cookies-buttons {
	flex-direction: column;
	}
	
	#notification-cookies-buttons div,
	#notification-cookies-buttons div a {
	width: 100%;
	margin: 0 auto 5px;
	}
	
	#notification-cookies-titulo {
	display: block;
	}

	body.single-portfolio #portfolio-single .spacer-big:first-child {
	height: 30px;
	}
}