/*   
	Theme Name:        iedc Theme Child
	Theme URI:         
	Description:       blue-meerkat-431234.hostingersite.com child template
	Author:            Benny Shwartz
	Author URI:        
	Version:           1.0
	Stable tag:        1.0
	Requires at least: 4.9
	Tested up to:      4.9
	License:           PixelIt Ltd
	License URI:       
	Text Domain:       
*/
@import url('https://fonts.googleapis.com/css?family=Heebo');


body { margin:0; background-color:#fff; background-size:cover; overflow-x:hidden; font-family:simplerPro;
}

/* page titles */
h1 { font-size:32pt; font-weight: 300;}
h2 { font-size:2.7em; color: #25578c!important; margin-bottom: 35px!important; margin-top: 60px!important; font-weight: 300;}
h3 { font-size:20pt; font-weight: 300;}

/* logo fixes */
@media only screen and (max-width: 414px) {
	.main-logo img { padding:10px 15px 15px 15px; }
}

.elementor-text-editor h2 { font-size:20pt; margin:0; color:#25578a; font-weight: bold; }
.elementor-text-editor h3 { font-size:15pt; margin:0; color:#25578a; }


/* page text */
p { font-size:14pt; line-height:1; font-weight: normal;}
.elementor-text-editor p { line-height:1.3; margin-top:0; font-size: 14pt; color: #454545; } 


.site-main { float:left; width:100%;  }


/* project cubes */
.elementor-posts .elementor-post { position:relative; overflow:initial; }
/* cube shadow gradient */
.elementor-posts .elementor-post:before { display:block; content:''; position:absolute; width:100%; height:200px; left:0; top:0; z-index:1;
	background: -moz-linear-gradient(top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
.elementor-posts .elementor-post.hidden { display:none; } /* hidden cubes for the selectors */
.elementor-posts .elementor-post .elementor-divider-separator { display:none; } /* hide hr line in project cube */
.elementor-posts .elementor-post .project-link { display:none; } /* hide project site link in cube */

.elementor-posts .elementor-post .project-ribon { position:absolute; top:-5px; left:5%; width:82px; height:100px; z-index:2;
	font-size:13pt; font-weight:bold; color:#2c5680; line-height:1; text-align:center; padding:5% 1% 0 1%; 
   	background:url(/wp-content/uploads/Globals/project_ribon.png) no-repeat; background-size:contain; }
.elementor-posts .elementor-post h3.location { color:#fff; margin:0; position:relative; z-index:3; font-weight: 100; }
.elementor-posts .elementor-post .elementor-post__text { position:absolute; top:0; right:0; width:100%; height:100%; padding:6%; z-index:1; } /* floating part with all texts */
.elementor-posts .elementor-post .elementor-post__title { position:relative; font-size:29pt; line-height:0.7; z-index:2; width:70%; font-weight: bold; }
/* fix the strange font bug in מגורים cubes title..*/
.elementor-posts .elementor-post .elementor-post__title a { font-family:'simplerPro'; }
.elementor-posts .elementor-post .elementor-post__read-more { color:#fff; font-size:23px; font-weight:600; border:1px solid #fff; padding:10px 20px;
												border-radius:23px 23px 23px 23px; position:absolute; bottom:6%; right:6%; z-index:2; }

/* custom fields in project cubes that show on hover  */
.elementor-posts .elementor-post .custom_fields { position:absolute; top:0; right:0; width:100%; height:100%; background-color:#000; opacity:0; z-index:1; transition:all .5s; }
.elementor-posts .elementor-post .custom_fields:hover { opacity:.8; }
.elementor-posts .elementor-post .custom_fields ul { color:#fff; list-style-type:none; margin-top:22%; padding-right:6%; }
.elementor-posts .elementor-post .custom_fields ul li { width:100%; float:right; font-size: 14pt; padding-bottom: 10px; font-weight: 300;}
.elementor-posts .elementor-post .custom_fields ul li .post-meta-key { display:block; font-weight:bold; width:158px; float:right; }
.elementor-posts .elementor-post .custom_fields ul li._location { display:none; } /* hide location field in cubes */
@media only screen and (max-width: 768px) {
	.elementor-posts .elementor-post .elementor-post__text { padding:3%; }
	.elementor-posts .elementor-post .elementor-post__title {padding-top: 0px; padding-right:0px; width:85%; }
	.elementor-posts .elementor-post h3.location { padding-right:0; }
	.elementor-posts .elementor-post .custom_fields ul { margin-top:22%; padding-right:3%;  }	
	.elementor-posts .elementor-post .custom_fields ul li { padding-bottom:6px; }
	.elementor-posts .elementor-post .project-ribon { width:70px; }
	.elementor-posts .elementor-post .elementor-post__read-more { bottom:3%; right:3%; }
}
@media only screen and (max-width: 414px) {
	.elementor-posts .elementor-post .custom_fields ul { margin-top:24%; }	
	.elementor-posts .elementor-post .elementor-post__title { font-size:26pt; }
}

/* custom fields in project pages */
.project-page-custom-fields .custom_fields .post-meta { float:right; margin-right:0; padding-right:0; margin-top:0; }
.project-page-custom-fields .custom_fields { position:relative; top:initial; right:initial; background-color:initial; opacity:initial; transition:none;}
.project-page-custom-fields .custom_fields:hover { opacity:1; }
.project-page-custom-fields .custom_fields ul { color:#000; margin-top:0; font-size:14pt; list-style-type:none; padding-right:15px; margin-top:22%; }
.project-page-custom-fields .custom_fields ul li { width:100%; float:right; font-size: 14pt; padding-bottom: 10px; font-weight: 300;}
.project-page-custom-fields .custom_fields .post-meta-key { display:block; font-weight:bold; float:right; width:120px; }
.project-page-custom-fields h3.location { display:none; margin:0; }
.project-page-custom-fields .elementor-post__read-more { display:none; }
.project-page-custom-fields .project-ribon { display:none; }

/* project link button in project pages */
.project-page-custom-fields .elementor-divider-separator {  display:block; float:right; border-top-style: solid; border-top-width: 1px; border-top-color: #cecece; width: 100%; margin-top: 15px; margin-bottom:40px; }
.project-page-custom-fields .project-link {  width: 180px; display:block; font-size: 20px; font-weight: 600; background-color: #25578c; border-radius: 23px 23px 23px 23px !important;  margin:0 auto; clear:both; }

@media only screen and (max-width: 414px) {
	.project-page-custom-fields .custom_fields .post-meta { margin-right:5px; }
}

.project-filter { list-style-type:none; color:#454545; float:right; margin:0 25% 0 0; }
.project-filter li { padding:0 10px 0 10px; float:right; }
.project-filter li a { font-size:16pt; color:#454545; padding:5px; border:1px solid transparent; transition:all .5s; padding: 10px 20px; white-space: nowrap;}
.project-filter li a.active { border:1px solid #2a5687; border-radius:23px; color:#2a5687; }
.project-filter li a:hover{ border:1px solid #2a5687; border-radius:23px; color:#2a5687; }
@media only screen and (max-width: 1024px) {
	.project-filter { margin-right:6%; }
}
@media only screen and (max-width: 768px) {
	.project-filter { margin:0 auto; padding:0; width: 95%; }
	.project-filter li { padding:25px 0 0 10px; }
	.project-filter li a { font-size:14pt; }
}
@media only screen and (max-width: 414px) {
	.project-filter li a { font-size:12pt; }
}


/* contact us */
.elementor-form { max-width:414px; float:left;}
.thank-you-box .elementor-text-editor h2 { margin-top:0 !important; }


/* blue button effect */
.elementor-button:hover { background-color:#0c7dcc !important; }
footer .elementor-button:hover { background-color:transparent !important; }

/* menu hover etc */
.elementor-172 .elementor-element.elementor-global-424 .elementor-nav-menu--main .elementor-item {padding: 0 7px; }
.elementor-nav-menu .elementor-item:hover {text-decoration: none; border-bottom:1px solid #fff; }
.elementor-nav-menu .elementor-item {text-decoration: none; border-bottom:1px solid transparent; text-align:center; white-space: nowrap;}
.elementor-172 .elementor-element.elementor-global-427 .elementor-nav-menu--main .elementor-item  {padding: 0 7px; }
.elementor-172 .elementor-element.elementor-global-427 .elementor-nav-menu--main .elementor-item:hover {}

.elementor-220 .elementor-element.elementor-element-39af6790 .elementor-posts-container {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}


.elementor-27 .elementor-element.elementor-global-424 .elementor-nav-menu--main .elementor-item {font-weight: 300;}
.elementor-27 .elementor-element.elementor-global-427 .elementor-nav-menu--main .elementor-item {font-weight: 300;}
@media (max-width:1600px) {
.elementor-27 .elementor-element.elementor-element-14a06cc .elementor-image img {width:145px !important;}
}
@media (max-width:1280px) {
	.elementor-27 .elementor-element.elementor-element-6e38971 .elementor-nav-menu--main{font-size: 1em;}
}
.elementor-button.elementor-size-sm {font-size: 20px; font-weight: 600; padding: 12px 24px;}

	@media only screen and (max-width: 768px) {
		.site-header .logo { padding:2%; margin:10px; }
		.site-header .logo a, .site-header .logo img  { width:80px; }
		
	}

	/* menu */
	@media only screen and (max-width: 1024px) { /* mobile/tablet */
		.top-menu-right { display:none; }
		.elementor-menu-toggle { background-color:#fff; margin:0px auto !important; }
		.top-menu-left ul li:last-child { display:none !important; } /* hide phone from tab/mobile menu */
		.top-menu-left ul li:nth-child(9) { /* phone in mobile menu */
			display:none;
		}
	}
	@media only screen and (min-width: 1025px) { /* desktop */
		/* right menu */
		.top-menu-right ul li:nth-child(6),.top-menu-right ul li:nth-child(7),.top-menu-right ul li:nth-child(8),
		.top-menu-right ul li:nth-child(9){
			display:none;
		}
		.top-menu-right ul li:nth-child(4) { display:initial; border-left:none; }
		.top-menu-right ul li { border-left:1px solid #fff; padding-left:5px; margin-left:6px; }

		/* left menu */
		.top-menu-left ul li { border-left:1px solid #fff; padding-left:5px; margin-left:6px; }
		.top-menu-left ul li:nth-child(1),.top-menu-left ul li:nth-child(2),.top-menu-left ul li:nth-child(3),.top-menu-left ul li:nth-child(3),
		.top-menu-left ul li:nth-child(4) {
			display:none;
		}
		.top-menu-left ul li:last-child { border-left:none; }
		.Xtop-menu-left ul li:last-child a { font-size:20pt; font-weight:bold; }
		
		/*.elementor-nav-menu--main .elementor-item { border-bottom:3px solid transparent; }
		.elementor-nav-menu--main .elementor-item:hover { border-bottom:3px solid #fff; }*/
	}
	.top-menu-right ul li { border-left:1px solid #fff; margin-left:5px!important; padding-left:5px!important; font-size: 15pt!important}
	.top-menu-left ul li { border-left:1px solid #fff; margin-left:5px!important; padding-left:5px!important; font-size: 15pt!important}
	.top-menu-left ul li:last-child { border-left:none !important; }
	.Xtop-menu-left ul li:last-child a { font-size:20pt; font-weight:bold; }
	.top-menu-left ul li:nth-child(9) { border-left:none; }

	@media only screen and (min-width: 1600px) { /* desktop */
		.top-menu-right ul li { border-left:1px solid #fff; margin-left:10px!important; padding-left:10px!important; font-size: 16pt!important}
		.top-menu-left ul li { border-left:1px solid #fff; margin-left:10px!important; padding-left:10px!important; font-size: 16pt!important}
		.top-menu-left ul li:nth-child(9) { border-left:none; }
	}
	/* mobile phone and menu button locations */
	.mobile-phone { display:none; }

	@media only screen and (max-width: 1024px) {
		.xmobile-phone { display:block; position:absolute; top:25px; left:0; width:95px !important; }
		.xelementor-menu-toggle { position:absolute; margin:0; width:45px; right:35px; top:-124px;  }
		
	}
	@media only screen and (max-width: 768px) {
		.elementor-menu-toggle { position:absolute; margin:0; width:45px; right:35px; top:0px;  }
		.mobile-phone { display: block; position: relative; top: 0px; left: 0px; width: 100% !important; }
		.mobile-phone .elementor-heading-title a { font-family:'simplerPro' !important; }	
	}
	@media only screen and (max-width: 414px) {
		.elementor-menu-toggle { position:absolute; margin:0; width:45px; right:35px; top:-124px;  }
		.mobile-phone { display:block; position:absolute; top:25px; left:0; width:95px !important; }
		.mobile-phone .elementor-heading-title a { font-family:'simplerPro' !important; }
		
		
		.project-filter { list-style-type:none; color:#454545; float:right; margin:0; }
		.FooterDiv {padding-top: 35px;}
		.elementor-83 .elementor-element.elementor-element-f1b9d54  {margin-left: 0px;}
	}


/* about us posts מי אנחנו - גלריית צוות */
.elementor-post__card .elementor-post__thumbnail__link { margin-bottom:70px; z-index:99999; }
.elementor-post__card .elementor-post__text { margin-top:0; background-color:#f5f5f5; }
.elementor-post__card .elementor-post__text .elementor-post__title { width:100%; margin:0; padding-top:70%; }
.elementor-227 .elementor-element.elementor-element-4178b42 .elementor-post__excerpt p {
	/* fix subtitle for long lines in crew image box */
	    line-height: .7; padding-top: 8px;
}
@media only screen and (max-width: 414px) {
	.elementor-post__card .elementor-post__text .elementor-post__title { padding-top:65%; }
	.elementor-post__card .elementor-post__thumbnail__link { margin-bottom:60px; }
}


/* modal popup איש צוות */
#ajaxContent { display:block; position:fixed; top:50%; left:15%; transform: translateY(-50%); ; opacity:0; transition:all 1s; width:1024px; height:auto; max-width:100%;
				background-color:#fff;	z-index:-1; padding-left:20px; max-height: 100vh; }
#ajaxContent.active { opacity:1; z-index:999999;  }

#ajaxContent .elementor-widget-text-editor { font-size:17px !important; max-height: calc(100vh - 110px); margin-bottom: 4em; overflow-y: auto; }

/* popup white cover bg */
#ajaxContent.active:before { position:fixed; display:block; content:''; top:0; left:0; width:100%; height:100%; background-color:rgba(255,255,255,.95); }
/* popup close button */
#ajaxContent.active:after { position:absolute; display:block; content:''; top:5%; left:3%; width:25px; height:25px; cursor:pointer;
     background:url('/wp-content/uploads/Globals/closeX.svg') no-repeat; background-size:contain; }

@media only screen and (max-width: 414px) {
	#ajaxContent { top:20px; transform: none; }
	#ajaxContent .elementor-widget-text-editor { max-height: none; }
	#ajaxContent .elementor-element.elementor-element-d3bdb0c > .elementor-container { max-height: none !important; }
	#ajaxContent > section { max-height: 100vh; overflow-y: auto; }
}

/****** modal post related CSS... so we can cut all garbage from the ajax content *****/
#ajaxContent .elementor-element.elementor-element-d3bdb0c { /* page container */
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 35px 50px 0px 0px;
}
#ajaxContent .elementor-element.elementor-element-d3bdb0c > .elementor-container { /* popup area */
	max-width: 1024px;
    min-height: 400px;
}

@media only screen and (max-height: 460px) {
	#ajaxContent .elementor-element.elementor-element-d3bdb0c > .elementor-container { /* popup area */
		min-height: auto;
		max-height: calc(100vh - 35px);
	}
}

#ajaxContent .elementor-column.elementor-col-33, .elementor-column[data-col="33"] { /* main image holder */
	width:50%;
}
@media only screen and (max-width: 1024px) {
	#ajaxContent .elementor-column.elementor-col-66, .elementor-column[data-col="66"] { /* text holder (tablet) */
		width:40%;  }
}
@media only screen and (max-width: 414px) {
	#ajaxContent .elementor-column.elementor-col-33, .elementor-column[data-col="33"] { /* main image holder (mobile) */
		width:90%;  }
	#ajaxContent .elementor-column.elementor-col-66, .elementor-column[data-col="66"] { /* text holder (mobile) */
		width:90%;  }
}

#ajaxContent .elementor-element-c164944.elementor-widget-heading { /* H1 holder */
	margin-bottom:3px;
}
#ajaxContent .elementor-element.elementor-element-c164944 .elementor-heading-title {     /* H1 */
	font-size: 30px;
	font-weight: 900;
	 margin-right:20px;
	font-family:'simplerPro';
}
#ajaxContent .elementor-element.elementor-element-e03c46c .elementor-heading-title {     /* H2 */
	font-size: 24px; margin-right:20px;
	font-family:'simplerPro';
}
#ajaxContent .elementor-element.elementor-element-999d7b6 {  /* text */
    font-size: 17px !important; margin-right:20px;
}
#ajaxContent .elementor-element-650a983.elementor-absolute img {  /* stamp image */
	top: -100px;     right: -100px; position:absolute;
}
#ajaxContent .elementor-widget-theme-post-featured-image img {
	width:100% !important; height:auto !important;
}

@media only screen and (max-width: 414px) {
	#ajaxContent .elementor-text-editor p { font-size:17px !important; } 
}

#modal_content .elementor-text-editor,
#modal_content .elementor-text-editor p 
{ font-size:17px !important; } 
/*** end custom modal css ***/






/* X at end of MOBILE menu */
.top-menu-left ul .close { display:none; }
@media only screen and (max-width: 414px) {
		.top-menu-left ul .close { display:block; position:absolute; bottom:10px; left:0; width:30px; height:30px; padding:0px; color:#000; font-size:20pt; }
}

.elementor-83 .elementor-element.elementor-element-f1b9d54 {font-weight: 400;}
.elementor-241 .elementor-element.elementor-element-4f66444 .elementor-heading-title {font-family: simplerPro;}

/* project gallery reverese arrows fix */
[dir=rtl] .elementor-slick-slider .slick-arrows-inside .slick-prev { left:20px; right:auto; }
[dir=rtl] .elementor-slick-slider .slick-arrows-inside .slick-next { right:20px; left:auto; }
[dir=rtl] .elementor-slick-slider .slick-prev:before { content: "\f104"; text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5), 2px 2px 10px rgba(0,0,0,0.82); }
[dir=rtl] .elementor-slick-slider .slick-next:before { content: "\f105"; text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5), 2px 2px 10px rgba(0,0,0,0.82); }

.disclaimer,.disclaimer a,.disclaimer p { font-size:10pt; color:#999999; }
.modal-wrapper.styled .modal {border:0px;}