* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a, a:visited {
	/*color: inherit;*/
}

img {
	border: none;
	vertical-align: middle;
}

body {
	/*background: url(../images/assets/background.png);*/
	line-height: 1.5;
	font-size: 16px;
	font-family: Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	letter-spacing: 0px;
	color: #ffffff;
	font-weight: 400;
}

h1, h2, h3, h4 {
	font-weight: 100;
}

p {
	margin-bottom: 1em;
}

small {
	font-size: 85%;
}

/* Site CSS */

.container {
	width: 960px;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 1000px) {
	.container {
		width: 100%;
	}
}

#header-wrapper {
  text-align: center;
  margin-top: 150px;
  margin-right: auto;
  margin-bottom: 100px;
  margin-left: auto;
}

#header-wrapper h1 {
	font-size: 5em;
	line-height: 100px;
}

@media screen and (max-width: 480px) {
	#header-wrapper {
		margin-top: 50px;
	}

	#header-wrapper h1 {
		line-height: 80px;
		font-size: 4em;
	}
}

.tiles-slider-wrapper {
	margin: 0 auto;
	width: 100%;
	/*height: 400px;*/
}

@media screen and (max-width: 840px) {
	.tiles-slider-wrapper {
		width: 100%;
	}
}

/* Tiles Slider CSS */


.tiles-slider {
   padding: 0;
   list-style-type: none;
	/*moria ashdod not show
   overflow: hidden;*/
   margin-bottom: 0;

}



.tiles-slider img {
	width: 100%;
	position: relative;
	z-index: 1;
}
@media screen and (min-width: 840px) {
	.col-md-12 .tiles-slider li:first-child , .col-md-6 .tiles-slider li:first-child {
		width: 49%;
		margin-top: 4px !important;
		margin-bottom: -4px;
	}
	.col-md-12 .tiles-slider li {
		width: 24%;
		float: left;
		-webkit-transition: transform .3s ease-in-out;
		-moz-webkit-transition: transform .3s ease-in-out;
		transition: transform .3s ease-in-out;
	}
	.col-md-6 .tiles-slider li {
		width: 23%;
		float: left;
		-webkit-transition: transform .3s ease-in-out;
		-moz-webkit-transition: transform .3s ease-in-out;
		transition: transform .3s ease-in-out;
	}
}
@media screen and (max-width: 840px) {
	.tiles-slider li:first-child {
		width: 97%;
		margin-top: 4px !important;
		margin-bottom: 5px;
	}
	.tiles-slider li {
		width:48%;
		float: left;

		-webkit-transition: transform .3s ease-in-out;
		-moz-webkit-transition: transform .3s ease-in-out;
		transition: transform .3s ease-in-out;
	}
	.masonry-item {
		margin-left: 3px !important;
	}
}

@media screen and (max-width: 430px) {
	.tiles-slider li:first-child {
		width: 96%;
		margin-top: 4px !important;
		margin-bottom: 5px;
	}
	.tiles-slider li {
		width:46.5% ;
		float: left;

		-webkit-transition: transform .3s ease-in-out;
		-moz-webkit-transition: transform .3s ease-in-out;
		transition: transform .3s ease-in-out;
	}
}
.shrink-tile {
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
   transform: scale(0.5);
   
}

.tiles-slider li:first-child.shrink-tile {
  -webkit-transform: scale(0.25);
  -moz-transform: scale(0.25);
   transform: scale(0.25);
}


.masonry-item:hover .masonry-item-overlay h4,.masonry-item:hover .icon_zoom {
	opacity: 1;
	transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	text-align: center;
	-moz-transition-duration: .6s;
	-ms-transition-duration: .6s;
	-webkit-transition-duration: .6s;
	-o-transition-duration: .6s;
	transition-duration: .6s;
}
.masonry-item-overlay h4 {
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	/*position: absolute;
	bottom: 50px;*/
	margin: 0;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	/*right: 50%;*/
}
.wrapp_h4{
	margin-top: 35%;
}
.icon_zoom{
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	position: absolute;
	bottom: 48%;
	margin: 0;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	right: 48%;
}


.modal_pic {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top:200px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.div_open_pic {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
}
.wrapp_full_list{
	font-size: 16px;
	text-align: center;
	vertical-align: middle;
	padding-top: 20px;

}

/* Caption of Modal Image */
#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 10px 0;
	height: 150px;
}

/* Add Animation */
.div_open_pic, #caption {
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {-webkit-transform:scale(0)}
	to {-webkit-transform:scale(1)}
}

@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

/* The Close Button */
.close_span {
	position: absolute;
	top: 150px;
	right: 25%;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close_span:hover,
.close_span:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
	.div_open_pic {
		width: 100%;
	}
}