@import url(https://fonts.googleapis.com/earlyaccess/alefhebrew.css);

body{
	margin:0;
	padding:0;
	background-image: url('../images/background.jpg');
	background-size: 100%;
} 

@font-face {
    font-family: Esphimere;
    src: url('../fonts/Esphimere.otf') format("opentype");
}

@font-face {
    font-family: Esphimere Light;
    src: url('../fonts/EsphimereLight.otf') format("opentype");
}


a.language {
	position: fixed;
	top:0;
	left:0;
	z-index: 100;
}

a.language img {
	height: 20px;
	opacity: 0.5;
	filter: alpha(opacity = 50);
}

a.language:hover img {
	opacity: 1;
	filter: alpha(opacity = 100);
}

.no_link { text-decoration: none !important;} 

span.star {
	z-index:3;
	font-size: 10em;
	position:fixed;
	top: -55px;
	color: #EEE;
	opacity: .5;
	margin:0;
	text-shadow: 2px 2px 0px #c4c4c4, -1px -1px 1px #FFF;
	display: none;
}

span.star.right {
  right: 0px;	
}

span.star.left {
  left: 0px;	
}

hr {
	border: 1px solid #ddd;
}

.main_wrapper{
	/*position: relative;*/
	z-index: 2;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	background: #333;
} 

.header {
	text-align:center;
	position: fixed;
	width:100%;
	top: 0px;
	padding: 0;
	margin: 0;
	/* background-color: rgba(255,255,255, 0.95); */
	/* background-color: rgba(233,233,233, 0.9) !important; */ 
	z-index: 99;
}

h1.main_title {
	display:inline-block;
	font-family: 'Alef Hebrew', serif;
	color: #EEE;
	font-style: italic;
	text-align:center;
  	text-shadow: -8px 0px 8px #66666630, 8px 0px 8px #11111150;
  	text-shadow: 0;
	font-size: 5em;
	font-weight: 800;
	letter-spacing:-5px;
	vertical-align: top;
	margin: 0;
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	z-index: 99;
	/* text-shadow: none; */
}

h1.main_title.english {
	font-family: 'Iceberg', cursive;
}

h1.main_title.frontpage {
	line-height: 68px !important;
	text-shadow: 2px 2px 0px #c4c4c4, -1px -1px 1px #FFF;
	margin-top: 2em !important;
}



/* Menu */

.menu.desktop { display: block;}
.menu.mobile { display: none;}
 
.menu {
	position: fixed;
	display:block;
	top: 4.5em;
	width: 100%;
	height: 2.7em;
	/* background: rgba(1, 255, 235, 0.27);
	box-shadow: 0px 5px 75px 5px rgba(0, 255, 163, 0.41);
	-moz-box-shadow: 0px 5px 75px 5px rgba(0, 255, 163, 0.41);
	-webkit-box-shadow: 0px 5px 75px 5px rgba(0, 255, 163, 0.41);
	border-bottom: 1px solid rgba(255,255,255,0.5); 
    background: linear-gradient(0deg, rgba(1,255,235,0.27) 0%, rgba(1,255,235,0) 100%); */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0));
    z-index: 99;
    padding-bottom: .2em;
	z-index:99;
}


.menu .menu_container {
	width: auto;
	margin: 0 auto;
	display: inline-block;
}

.menu .menu_item {
	display: inline-block;
	width: auto;
	margin: 0 0.6em;
	text-align:center;
}

.menu .menu_item a {
	color: #000 !important;
	text-decoration: none !important;
	font-style: normal;
	font-family: 'Alef Hebrew', serif;
	vertical-align: middle;
	font-weight: 200;
	font-size: 1.5em;
	display: inline-block;
	/* text-shadow: 0px 0px 15px rgba(255,255,255,0.8); */
	text-shadow: 0px 0px 0px rgba(255,255,255,0.0);
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	margin-top:.5em;
	background: rgba(255, 255, 255, 0);
	width: 100%;
	height: 100%;
}

.menu.english .menu_item a {
	font-family: 'Avenir Next', "Helvetica Neue", "Helvetica";
}

/* Content */

.content {
	display: block;
	width: 100%;
	/* background-image: url('../images/petri_bg.png'); */
	background-position: -167px 65px;
	background-repeat: no-repeat;
	background-size: 500px;
	background-attachment: fixed;
}

.section {
	display: block;
	margin: 0;
	clear: both;
} 

.section.first {
	margin-top: 8.5em !important;
}

/* Links */

.link.desktop { display: inline-block;}
.link.mobile { display: none;} 


.item {
	width: auto;
	display: inline-block;
	padding: .5em 0em;
}

.item .special.link img {
	max-width: 90%;
	width: 18.45em;
	border-radius: 2.5em;
	-moz-border-radius: 2.5em;
	-webkit-border-radius: 2.5em;
/*	
	border-bottom-left-radius: 0em;
	-moz-border-bottom-left-radius: 0em;
    -webkit-border-bottom-left-radius: 0em;

    border-top-right-radius: 0em;
	-moz-border-top-right-radius: 0em;
    -webkit-border-top-right-radius: 0em;
*/  
/*	border: 1px solid #ddd;
	border-width: 2px !important; */
/*	box-shadow: 10px 10px 10px 0px #c7c7c7;
	-moz-box-shadow: 10px 10px 10px 0px #c7c7c7;
    -webkit-box-shadow: 10px 10px 10px 0px #c7c7c7; */
/*	box-shadow: 1px 4px 20px rgba(0,0,0,0.7);
	-moz-box-shadow: 1px 4px 20px rgba(0,0,0,0.7);
	-webkit-box-shadow: 1px 4px 20px rgba(0,0,0,0.7); */
}

.item .info_box {
	height: 4em;
}

.item .info_box .caption {
	margin: 0;
	font-weight: 400;
	font-size: 1.2em;
	color: #000;
	text-shadow: none;
}

.item .info_box .caption.english {
	margin: 0;
	font-size: 1.1em;
	color: #EEE !important;
	text-shadow: none;
	font-family: 'Esphimere';
	font-style: normal;
	margin-top: .3em;
}

.special_link {
	font-family: 'Esphimere' !important;
}

.item .info_box .website_link {
	color: #000 !important;
	text-decoration: underline;
	font-size: .8em;
	text-shadow: none;
}

.website_link.english {
	font-family: 'Esphimere';
} 

.ui-popup {
	margin-right: 12px !important;
}

.close_text {
	position: absolute; 
	top: 0; 
	left:0; 
	display: block; 
	padding: .2em; 
	font-size: .8em; 
	background: rgba(0,0,0,0.4); 
	text-shadow: none !important;
	border-radius: .3em;
	-moz-border-radius: .3em;
	-webkit-border-radius: .3em;
}

.item .tag {
	position: relative;
	z-index: 5;
	display: inline-block;
	border-radius: 25%;
	background: transparent;
	border: 5px solid #ddd;
}

p.side_title {
	font-family: 'Avenir Next', "Helvetica Neue", Helvetica;
	word-wrap: break-word;
	line-height: .7em;
	height: auto;
	font-size: 1.9em;
	color: #EEE;
	opacity: 1;
	text-shadow: 0;
	right: .5em;
	width: 100%;
	background: none;
	display: block;
	font-weight: 100;
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	margin-top: 0.5em;
	margin-bottom: .5em;
	/*box-shadow: 0px 5px 75px 5px rgba(0, 255, 163, 0.41);
	-moz-box-shadow: 0px 5px 75px 5px rgba(0, 255, 163, 0.41);
	-webkit-box-shadow: 0px 5px 75px 5px rgba(0, 255, 163, 0.41);*/
}

p.service {
    background-color: darkcyan;
    border: 2px #FFF !important;
    font-family: 'Esphimere';
    display: block;
    border-radius: 1em;
    max-width: 14em;
    display: inline-block;
    padding: .4em 1em;
    color: #EEE;
    margin: .3em;
    text-shadow: none;
}

p.side_title.english {
    /*font-family: "Inter", sans-serif; */
	font-family: 'Esphimere';
	font-weight: 200;
	letter-spacing: 0px;
	font-size: 2em; font-style: normal;
	margin-bottom: 1em;
	background: none;
    padding: .4em 0em;
    text-shadow: none;
    border-bottom: 1px #222 solid;
    border-top: 1px #222 solid; 
    /* background: #2F2F2F; */
} 

div.contact_details{
	width: 100%;
	height: 255px;
	text-align: center;
	/* background-image:url('../images/gradient.png'); */
	background-repeat: repeat-x;
	background-position: bottom;
	padding-bottom: 80px;
} 

img.photo {
	position: absolute;
	left: -2px;
	bottom: -2px;
	width: 200px;
	height: auto;
}

p.aboutme {
	font-weight: 200;
	margin: 0px 15px;
	text-shadow: none;
	display: inline-block;
	/* max-width: 800px; */
	color: #EEE;
}

div.details {
	display: inline-block;
	width: 12.5em;
	padding-top: 2.5em;
	vertical-align: middle;
	text-align: left !important;
	font-family: 'Avenir Next', "Helvetica Neue", Helvetica;
	padding-bottom: 1em;
}

div.frontpage_details {
	display: inline-block;
	width: 90%;
	max-width: 240px;
	padding-top: 2.5em;
	vertical-align: middle;
	text-align: left !important;
	
}

.frontpage_details a {
	font-weight: bold !important;
	font-size: .9em;
	box-shadow: 1px 1px 1px 0px rgba(255, 255, 255, 0.71);
	border-width: 1px;
	padding: 7px;
	font-family: 'Avenir Next', "Helvetica Neue", Helvetica;
}


.detail {
	font-size: 0.9em;
	clear: both;
	display: block;
	font-family: 'Avenir Next', "Helvetica Neue", Helvetica;
}

.name {
	font-size: 1.95em;
	font-weight: bold;
	text-align:center;
	color: #000;
	font-style: normal !important;
}

.special_link {
	margin: .4em 0;
	background: #FFF;
	border-radius: 1em;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	text-shadow: none;
	color: darkcyan !important;
	padding: .2em .6em;
	text-decoration: none !important;
	text-align: center;
	padding: 0.8em;
	/* border: 2px solid rgba(1,1,1,1); */
	font-weight: 600 !important;
	font-style: normal !important;
} 

@media screen and (min-width: 641px) and (max-width: 740px) {
	
	h1.main_title.frontpage {
		line-height: 55px !important;
	}
	
	span.star {
		top: -25px;
		font-size: 6em;
	}
	
	.header {
		top: 0px;
        /* background-color: rgba(255,255,255, 0.95); */
    }
	
	
	.menu.desktop { display: block;}
	.menu.mobile { display: none;} 
	
	.menu {
		top: 3.5em;
	}
	
	.menu .menu_item {
		width: auto;
		margin: 0.1em .8em;
	}
	
	.menu .menu_item a {
		font-size: 1.3em;
		margin-top: 0.7em;
		font-family: 'Avenir Next', "Helvetica Neue", Helvetica !important;
	}
	
	
	.content {
	}
	
	h1.main_title {
		font-size: 4em;
	}
	
	div.contact_details{
		width: 100%;
		height: 260px;
		text-align: center;
		padding-bottom: 60px;
		font-family: 'Iceberg';
	} 

	div.details {
		display:inline-block;
		width: 12.5em;
		padding-top: 0.5em;
		vertical-align: middle;
		text-align: center !important;
		margin-left: 0;
	}

	.detail {
		clear: both;
		display: block;
	}
	
	.name {
		font-size: 1.95em;
		font-weight: bold;
		color: #000;
		text-align:center;
		font-style: normal !important;
		margin-top: 1em;
	}

}

@media screen and (max-width: 640px) {
    
    .header  {
    background-color: #333 !important;
    }
	
	h1.main_title.frontpage {
		line-height: 42px !important;
		font-size: 3em;
	}
	
	span.star { 
		top: -15px;
		font-size: 4em;	
	}
	
	.content {
		background-image: none;
	}
	
	.section.first {
	margin-top: 7.4em !important;
    }
	
	.header {
		position: fixed;
		width:100%;
		text-align: center;
		top: 0px;
		padding: 0;
		margin: 0;
		background-color: #333;
		margin-bottom: -1.2em !important;
	}

	h1.main_title {
		display: inline-block;
		font-family: 'Alef Hebrew', serif;
		color: #EEE;
		font-style: italic;
		text-align:center;
	  	text-shadow: none;
		font-size: 2.2em;
		font-weight: 800;
		letter-spacing:-3px;
		vertical-align: top;
		margin: 0;
		margin-left: -4px !important;
		margin-top: -5px !important;
		-webkit-margin-before: 0em;
		-webkit-margin-after: 0em;
		-webkit-margin-start: 0px;
		-webkit-margin-end: 0px;
	}
	
	.main_title.hebrew {
	font-size: 2.6em;
	margin-top: -0.25em !important;
	} 
	
	.menu.desktop { display: none;}
	.menu.mobile { display: block;} 
	
	.menu {
		position: fixed;
		display: block;
		top: 2.7em;
		width: 100%;
		height: 3em !important;
		background: rgba(255, 255, 255, 0.72);
		box-shadow: 0px 5px 75px 0px rgba(60, 60, 60, 0.41);
		-moz-box-shadow: 0px 5px 75px 0px rgba(60, 60, 60, 0.41);
		-webkit-box-shadow: 0px 5px 75px 0px rgba(60, 60, 60, 0.41);
		border-bottom: 1px solid rgba(60, 60, 60, 0.41);
	}
	
	.menu .menu_container {
		width: 98%;
		text-align: center;
		display: inline-block;
	}
	
	.menu .menu_item {
		display: inline-block;
		width: 23%;
		margin: 0;
		text-align:center;
		margin: 0 0.25em;
		margin-top: .2em;
	}
	
	
	
	.menu_item.bottom {
		width: 42.6%;
	}

	.menu .menu_item a {
		color: #FFF !important;
		font-style: normal;
		font-family: 'Avenir Next', "Helvetica Neue", Helvetica !important;
		vertical-align: middle;
		text-align: center;
		font-weight: 400;
		font-size: 0.95em;
		display: inline-block;
		-webkit-margin-before: 0em;
		-webkit-margin-after: 0em;
		-webkit-margin-start: 0px;
		-webkit-margin-end: 0px;
		margin-top: 0.4em;
		/*	background: rgba(20, 20, 20, 1); */
		background: darkcyan;
		border-radius: 1em;
		/* border: 1px solid #ccc; */
		padding: 0.3em 0.15em;
		padding-top: 0.26em;
	}
	
	.section {
		margin: 0;
	}
	
	p.side_title.english {
	border-top: 1px #222 solid;
    border-bottom: 1px #222 solid;
    background: #2F2F2F; 
    } 
	
/* Links */


.link.desktop { display: none;}
.link.mobile { display: inline-block;} 
	
	
	p.side_title {
	color: #EEE;
	font-weight: 400 !important;
	margin-top: 1em;
	}
	
	p.side_title.english {
	font-size: 1.7em !important;
	}
	
	.item .special.link img {
		border-radius: 2.5em;
		-moz-border-radius: 2.5em;
		-webkit-border-radius: 2.5em;
		width: 25em;
	    max-width: 92%;
	/*    
	    border-bottom-left-radius: 0em;
	    -moz-border-bottom-left-radius: 0em;
        -webkit-border-bottom-left-radius: 0em;
        border-top-right-radius: 0em;
	    -moz-border-top-right-radius: 0em;
        -webkit-border-top-right-radius: 0em;
	*/
	
	}
	
	.item .info_box {
		height: 3em;
	}
	
	img.photo {
		width: 200px;
		height: auto;
		/* position: absolute !important;
        bottom: 0 !important;
        top: 94% !important;
        left: 2% !important; */
        
        position: static !important;
        top: 84% !important;
        margin-bottom: -132px;
	}
	
	
	div.contact_details{
		width: 100%;
		height: 255px;
		margin: 0;
		text-align: center;
		padding-bottom: 10px;
		font-style: normal !important;
	} 


	div.details {
		display:inline-block;
		padding-top: 3.7em;
		text-align: center;
		margin-left:0;
		width: 11em;
	}
	
	.name {
		text-align:center;
		font-size: 1.75em !important;
		font-style: normal !important;
	}

	.detail {
		font-size: .8em;
		clear: both;
		display: block;
	}
	
	a.language img {
		height: 25px;
		border-bottom-right-radius: 0.6em;
		-moz-border-bottom-right-radius: 0.6em;
		-webkit-border-bottom-right-radius: 0.6em;
	}
	
	a.language.rightside img {
		position: fixed;
		right: 0px;
		margin: 0px !important;
		border-radius: 0em;
		-moz-border-radius: 0em;
		-webkit-border-radius: 0em;
		border-bottom-left-radius: 0.6em;
		-moz-border-bottom-left-radius: 0.6em;
		-webkit-border-bottom-left-radius: 0.6em;
	}
} 

@media screen and (max-width: 420px) {
    
  .main_wrapper { width: 100%; !important}
  
  	div.contact_details{
		width: 100%;
		height: 260px;
		text-align: center;
		padding-bottom: 0px;
		font-family: 'Iceberg';
	} 
  
  
  div.details {
  	margin-left: 7em !important;
		padding-top: 3em;
  }
  
  img.photo {
    position: absolute !important;
    bottom: 0% !important;
    top: unset !important;
    margin-bottom: 0px !important;
  }
}