@CHARSET "UTF-8";

.main {
	background: #E5E5E5;
	width: 100%;
}

.part {
	width: 100%;
	margin: auto;
	padding-bottom: 30px;
}

.part_top {
	background: #333;
	width: 100%;
	height: 400px;
	text-align: center;
	margin: 0 0 60px;
	position: relative;
	display: inline-block;
	border-bottom: 10px solid #BC0000;
}

.top_content {
	width: 700px;
    height: 300px;
    top: 50%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
}

.content_holder {
	width: 1184px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
	padding: 0;
	position: relative;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.item {
	max-width: 240px;
	min-height: 350px;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	padding: 10px;
	margin-left: 24px;
	margin-right: 24px;
	border: 2px solid #E5E5E5;
	-webkit-transition: all 500ms ease-out;
 	-moz-transition: all 500ms ease-out;
  	-ms-transition: all 500ms ease-out;
  	-o-transition: all 500ms ease-out;
  	transition: all 500ms ease-out;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.item:hover {
	background: #C5C5C5;
	border: 2px solid #FFF;
	cursor: pointer;
	-webkit-transition: all 800ms ease;
 	-moz-transition: all 800ms ease;
  	-ms-transition: all 800ms ease;
  	-o-transition: all 800ms ease;
  	transition: all 800ms ease;
}

.item_img {
	height: 200px;
	width: 200px;
	border: 8px solid #FFF;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	overflow: hidden;
}

.row {
	max-width: 100%;
	margin-bottom: 50px;
	text-align: center;
	display: block;
}

.row p {
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

.row img.link {
	margin: 20px 0 40px 0;
}

.line_left {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-right: 10px;
	position: relative;
}

.line_right {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-left: 10px;
	position: relative;
}

.textrow {
	max-width: 100%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.textrow p {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.gallery_holder {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	position: relative;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.imageGallery {
	width: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-align: left;
	margin: auto;
}

.galleryItem {
	height: 150px;
	width: 110px;
	display: inline-block;
	padding-bottom: 10px;
}

.gallery {
	margin-right: 5px;
}

div#bottom {
	background: #CFCFCF;
	width: 100%;
	display: inline-block;
}


@media only screen and (min-width: 1200px) {
	
.content_holder {
	width: 1184px;
}

.gallery_holder {
	width: 1184px;
}

.line_left {
	top: -9px;
}

.line_right {
	top: -9px;
}

}


@media only screen and (min-width: 900px) and (max-width: 1200px) {

.content_holder {
	width: 880px;
}

.gallery_holder {
	width: 880px;
}

.line_left {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-right: 10px;
	position: relative;
	top: -9px;
}

.line_right {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-left: 10px;
	position: relative;
	top: -9px;
}

}


@media only screen and (min-width: 600px) and (max-width: 899px) {

.part_top {
	height: 350px;
}

.top_content {
	width: 550px;
    height: 250px;
    top: 50%;
	margin-top: 50px;
}

.content_holder {
	width: 582px;
}

.gallery_holder {
	width: 582px;
}

.line_left {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-right: 10px;
	position: relative;
	top: -9px;
}

.line_right {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-left: 10px;
	position: relative;
	top: -9px;
}

}


@media only screen and (max-width: 599px) {

.part_top {
	height: 250px;
}

.top_content {
	width: 300px;
    height: 200px;
    top: 50%;
	margin-top: 30px;
}

.content_holder {
	width: 300px;
}

.gallery_holder {
	width: 300px;
}

.line_left {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-right: 10px;
	position: relative;
	top: -6px;
}

.line_right {
	width: 30%;
	height: 1px;
	border-top: 1px solid #333;
	display: inline-block;
	margin-left: 10px;
	position: relative;
	top: -6px;
}

.row p {
	width: 250px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

}