/*
 Theme Name:  Divi Child Theme
 Description:  Child Theme for Divi
 Author:       Ivan Luengo
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/** Generales **/
#main-content {
	background: transparent !important;
}
h2 {
	margin-top: 10px !important;
}
body.et_cover_background {
	background-position: center !important;
}
.balzakS {
	font-family: 'BalzakS';
}
.et_pb_video_play:before {
	content: '\45' !important;
}
#page-container {
	overflow-x: hidden;
}
.legalBox {
	border: 1px solid white;
	padding: 20px !important;
}

.textUnderlined{
	text-decoration: underline;
	letter-spacing: 3px;
	font-size: 16px !important;
	font-family: 'Futura Light' !important;
}

/**videos vimeo**/
.videoreel .fluid-width-video-wrapper {
	padding-top: 0 !important;
}
.videoreel .et_pb_video_box, .videoreel .fluid-width-video-wrapper {
	height: 500px;
}

/************/

/** Header **/

#logo {
	-webkit-transition: initial;
	-moz-transition: initial;
	transition: initial;
	-webkit-transform: initial;
}
#menu-principal-con-logo-en {
	width: 80vw;
	justify-content: space-between;
}
#menu-principal-con-logo-en .logoMenu a {
	color: #ffffff !important;
}

ul#mobile_menu2 {
    width: 230px;
    left: -200px;
}

@media(max-width: 400px) {
	.homeMenu .pageMenuTitle h1{
		font-size: 37px !important;		
	}
	.homeMenu .pageMenuTitle::after {
		top: 27px !important;
	}
	.homeMenu #slide-in-open {
		margin-top: 4px !important;
	}
	.gallery .pageMenuTitle h1{
		font-size: 42px !important;
	}
	.gallery .pageMenuTitle::after {
		top: 24px !important;
	}
	.biography .pageMenuTitle h1{
		font-size: 38px !important;
	}
	.biography .pageMenuTitle::after {
		top: 23px !important;
	}
	.biography #slide-in-open {
		margin-top: 2px !important;
	}
	.curriculum .pageMenuTitle h1{
		font-size: 38px !important;
	}
	.curriculum .pageMenuTitle::after {
		top: 22px !important;
	}
	.curriculum #slide-in-open {
		margin-top: 1px !important;
	}
	.news #slide-in-open {
		margin-top: 2px !important;
	}
	.singleNews #slide-in-open {
		margin-top: 4px !important;
	}
	.contact .pageMenuTitle h1{
		font-size: 41px !important;
	}
	.contact .pageMenuTitle::after {
		top: 26px !important;
	}
	.contact #slide-in-open {
		margin-top: 3px !important;
	}
	
}
/**************/
/***footer***/
.socialIcon {
    padding: 0 8px;
    box-sizing: content-box;
    transition: .3s ease;
}
.imdb:hover {
	color: #f5de50;
}
.spotlight:hover {
	opacity: 0.5;
}
.facebook:hover {
	color: #3b5998;
}
.twitter:hover {
	color: #1da1f2;
}
.vimeo:hover {
	color: #1ab7ea;
}
.instagram:hover {
	color: #f56040;
}

/**********/
/****HOME****/
.flechaHero img {
	display: inline-block;
	width: 25px !important;
	position: relative;
	top: 20px;
	transition: .3s ease-in;	
	-webkit-animation: upAndDown 2s ease-in-out infinite;
	animation: upAndDown 2s ease-in-out infinite;
}
.flechaHero:hover img {
	top: 20px;
}

@-webkit-keyframes upAndDown {
	from {
		-webkit-transform: translatey(0);
		transform: translatey(0);
	}

	50% {
		-webkit-transform: translatey(10px);
		transform: translatey(10px);
	}
	
	to {
		-webkit-transform: translatey(0);
		transform: translatey(0);
	}
}
@keyframes upAndDown {
  from {
		-webkit-transform: translatey(0);
		transform: translatey(0);
	}

	50% {
		-webkit-transform: translatey(10px);
		transform: translatey(10px);
	}

	to {
		-webkit-transform: translatey(0);
		transform: translatey(0);
	}
}
.blogHome article, .blogSinglePost article{
	outline: 1px solid rgba(255,255,255,0.59) !important;
	outline-offset: 2px !important;
	display: flex;
	flex-direction: column;
	margin-bottom: 0 !important;
}
.blogHome .entry-featured-image-url, .blogSinglePost .entry-featured-image-url {
	margin-bottom: 0 !important;
}
.blogHome .et_pb_image_container, .blogSinglePost .et_pb_image_container {
	margin-bottom: 10px !important;
}
.blogHome .post-content {
	display: none;
	/*display: flex;
	flex-direction: column;
	flex: 1;*/
}
.readMoreLink {
	margin-top: auto;
}
.readMore {
    width: 25px;
    margin: auto;
    display: block;
	transition: .5s ease;
}
.readMoreLink:hover .readMore {
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

.singlePostImage .et_pb_image_wrap, .singlePostImage .et_pb_image_wrap img {
	width:100%;
}
.singlePost .wp-block-image figure, .singlePost .wp-block-image figure img{
	width: 100%;
}

.wp-image-1228 {
	width: 40px !important;
	display: block;
	margin: auto;
}

@media(max-width: 980px) {
	.blogHome article, .blogSinglePost article {
		margin-bottom: 30px !important;
	}
}

/*** Leer más home ***/

details summary.leerMas::after {
	content: 'Leer más';
	color: #F4B92C;
	cursor: pointer;
	font-weight: 600;
}
details[open] summary.leerMas::after {
	content: 'Leer menos' !important;
}

summary {
	margin-bottom: 10px;
}
/******************/

/*****reel*****/
.flechaReel img {
	display: inline-block;
	width: 25px;
	transition: .3s ease-in;
}

.englishReel .fluid-width-video-wrapper {
	padding: 0 !important;
	height: 450px;
}
/************/

/*****CURRICULUM****/
.cvArrow {	
	-webkit-animation: leftAndRight 2s ease-in-out infinite;
	animation: leftAndRight 2s ease-in-out infinite;
}
.textOpen {
	left: 0 !important;
}
.arrowOpen {
	left: 215px !important;	
}

.cvColumnVer {
	height: 65px;
	transition: .5s ease;
}

.cvArrowVer {
	top: 0;
	transition: .5s ease;
	transform: rotate(0deg);	
	-webkit-transform: rotate(0deg);
}
.textOpenVer {
	top: 0 !important;
}
.arrowOpenVer {
	top: 340px !important;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}
.cvColumnVerOpen {
	height: 400px;
}


@-webkit-keyframes leftAndRight {
	from {
		margin-left: 0;
	}

	50% {
		margin-left: 10px;
	}
	
	to {
		margin-left: 0;
	}
}
@keyframes leftAndRight {
 	from {
		margin-left: 0;
	}

	50% {
		margin-left: 10px;
	}
	
	to {
		margin-left: 0;
	}
}
@-webkit-keyframes upAndDown {
	from {
		margin-top: 0;
	}

	50% {
		margin-top: 10px;
	}
	
	to {
		margin-top: 0;
	}
}
@keyframes leftAndRight {
 	from {
		margin-top: 0;
	}

	50% {
		margin-top: 10px;
	}
	
	to {
		margin-top: 0;
	}
}
.textCv {
	margin-bottom: 10px;
}

/*******/


/******BLOG******/

/**posts foto izquierda**/

.blogHor .et_pb_post {    
	display: grid;
	align-items: start;
	grid-template-columns: 2fr 3fr;
	grid-template-rows: max-content max-content 1fr;
	grid-column-gap: 35px;
	grid-template-areas:
		"foto titulo"
		"foto meta"
		"foto cont";
	margin-bottom: 35px;
	outline: 1px solid rgba(255,255,255,0.59);
	padding-right: 15px;
}
.blogHor .et_pb_post .entry-featured-image-url {
	grid-area: foto;
	height: 100%;
	margin-bottom: 0;
}
.blogHor .et_pb_post .entry-featured-image-url img {
	object-fit: cover;
	object-position: top;
	max-height: 350px !important;
	height: 100% !important;
}
.et_pb_post .et_overlay {
	border: none;
}
.et_pb_post .post-content-inner {
	margin-bottom: 10px;
}
.blogHor .et_pb_post .entry-title {
	grid-area: titulo;
	margin: 0 !important;
	padding-top: 35px;
}
.blogHor .et_pb_post .post-meta {
	grid-area: meta;
}
.blogHor .et_pb_post .post-content {
	grid-area: cont;
	height: 100%;
	display: flex; 
	flex-direction: column;
	padding-bottom: 20px;
}

@media(max-width: 980px) {
	.blogHor .et_pb_post {
		grid-template-columns: 1fr;    
		grid-template-rows: 250px max-content max-content 1fr;
		grid-template-areas:
			"foto"
			"titulo"
			"meta"
			"cont";
	}
	.blogHor .et_pb_post .post-content {
		padding-left: 0em;
	}
	.blogHor .et_pb_post .post-meta {
		margin: 0 !important
	}
	.blogHor .entry-title, .blogHor .post-meta, .blogHor .post-content {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
/***************/

/**single post***/
.instagramPost > div > iframe {
	margin: 0 auto !important;	
	background: transparent !important;
	border: none !important;
	min-width: 250px !important;
}


/***visual portfolio popup****/

.pswp--supports-fs .pswp__button--fs {
	background: url(http://www.rachellascar.com/wp-content/uploads/2020/05/fullscreen-icon-popup.svg) center / 70% no-repeat;
}
.pswp--supports-fs .pswp__button--zoom {
	background: url(http://www.rachellascar.com/wp-content/uploads/2020/05/zoomin-icon-popup.svg) center / 70% no-repeat;
}
.pswp--supports-fs .pswp__button--share {
	background: url(http://www.rachellascar.com/wp-content/uploads/2020/05/share-icon-popup.svg) center / 70% no-repeat;
}
.pswp--supports-fs .pswp__button--close {
	background: url(http://www.rachellascar.com/wp-content/uploads/2020/05/close-icon-popup.svg) center / 70% no-repeat;
}

.pswp__button.pswp__button--arrow--left::before{
    background: url(http://www.rachellascar.com/wp-content/uploads/2020/05/arrow-left-Rachel_Lascar.svg) center / 25px no-repeat !important;
	left: 10px;	
}
.pswp__button.pswp__button--arrow--right::before{
    background: url(http://www.rachellascar.com/wp-content/uploads/2020/05/arrow-right-Rachel_Lascar.svg) center / 25px no-repeat !important;
	right: 10px;
}





/***cookie bar ***/
#cookie-law-info-bar a {
	color: rgba(255,255,255,0.8);
}


/*** Estilos checkbox comentarios ***/

.error{
	color: #F7AFAB;
	font-weight: bold;
	font-size: 0.8em;
}
#privacy-error {
	font-size: 0.9em;
	padding-bottom: 1em;
}
.pprivacy {
	font-size: 13px;
	line-height: 19px;
}
.pprivacy label{
	position: relative;
	top: -2px;
}
.infoDatos {
	font-size: 1em;
	margin: 10px 0 0 4px;
}
.infoDatos p {
	padding: 0;
}
.infoDatos li, .infoDatos p {
	font-size: 0.9em;
}
/**********/
