/* IE10+ VIEWPORT FIX */
@-ms-viewport { width:device-width; }
@viewport { width:device-width; }


/* Responsive - 2000px */
@media screen and (max-width:1920px) {
	.bg-left { background: url('images/border.jpg') repeat-y; }
	.bg-right { background: url('images/border.jpg') repeat-y; }
}


/* Responsive - 1150px */
@media screen and (max-width:1150px) {
	.bg-left { background-image: none; }
	.bg-right { background-image: none; }
}

/* PHONE - 767px */
@media screen and (max-width:767px) {
	.nav-menu {
		float:right;
		color:#f9f9f9;
		display: block;
		padding:20px 10px;
		cursor: pointer;
	}
	.nav-list {
		float:left;
		width:100%;
		overflow: hidden;
		height:0;
	}
	.nav-open {
		height:auto;
	}
	.nav-list li {
		width:100%;
	}

	.chixa-logo p {
		font-weight:600;
		font-size:16px;
	}

	#content {
		clear: left;
		display: block;
	}

	#aside {
		display: block;
		margin: 0 auto;
		vertical-align: top;
	}
	table.matrix { font-size: 0.8em; }
	div.bg-stripe{ display: none; }
}

/* Responsive - 430px */
@media screen and (max-width:430px) {
	div.wrapper{
		margin: 20px 0px 0px 0px;
		float: none;
	}

	ul.ChixaGallery {
		margin-left: 0;
	}
	ul.ChixaGallery li {
		width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}

}


/* Gallery */

/* MEDIA QUERIES*/
@media only screen and (max-width : 940px),
only screen and (max-device-width : 940px){
    .galleryItem {width: 40%;}
    .galleryItem2 {width: 15%;}
}
 
@media only screen and (max-width : 767px),
only screen and (max-device-width : 767px){
    .galleryItem {width: 27%;}
    .galleryItem2 {width: 15%;}
}
 
@media only screen and (max-width : 620px),
only screen and (max-device-width : 620px){
    .galleryItem {width: 40%;}
    .galleryItem2 {width: 20%;}
}
 
@media only screen and (max-width : 400px),
only screen and (max-device-width : 400px){
    .galleryItem {width: 90%;}
    .galleryItem img {width: 90%;}
    .galleryItem h3 {font-size: 18px;}
    .galleryItem p, {font-size: 18px;}
}