/*
 * Spiral Pixel Design
 * http://spiralpixel.com
 */

body {
	background: #8E8E8E;
	color: #555;
	font-family: 'Lato';
	overflow-x: hidden;
}

#real-body{
	position:relative;
	width:100%;
	margin:0px auto;
	padding-top:1px;
	padding-bottom:1px;
	height: 100%;
	background:  rgba(0, 0, 0, 0.4) 100%;
}

#root-container { margin: 40px auto; }

@media screen and (-webkit-min-device-pixel-ratio:0) {
/* only webkit-based browsers will read the following styles */
			#root-container2 { margin: 40px auto 0 auto; }
			#wrapper2 { background: transparent; margin:0px auto -30px auto;
	
}
		
}

#frame{border:1px solid #bbb;}
#wrapper {
	background: #fff url('../images/bg.jpg') repeat;
	-moz-box-shadow: 0 5px 15px #444;
	-webkit-box-shadow: 0 5px 15px #444;
	border:1px solid #bbb;
	margin:0 auto;
	box-shadow: 0 5px 15px #444;
}

#wrapper2 {
	background: transparent;
	
	margin:-5px auto -40px auto;
	
}

#logo {
	left: 30px;
	position: absolute;
	top: 20px;
	z-index: 999;
}

img { max-width: 100%; height: auto; }

img.bg {
	display: block;
	min-height: 100%;
	min-width: 1024px;
	width: 100%;
	height: auto;
	position: fixed;
	top: 0;
	left: 0;
}

#content img, #gallery.three-columns .photo-item {
 -moz-box-shadow: 0 1px 3px #ccc;
 -webkit-box-shadow:0 1px 3px #ccc;
 box-shadow: 0 1px 3px #ccc;
 }

a { color: #555; text-decoration: none; }
a:hover, a:visited { color: #777; text-decoration: none; }

#feature div { text-align: center; }
#sub div { text-align: center; }
span.left { padding-left: 0; }
.nobg { background: none; }
p { margin: 0; margin-bottom: 15px; }
.center { text-align: center; }
ul.square{ margin-left:15px; }

ul, ol { margin-top: 20px; margin-bottom: 20px; }
ul li { margin-bottom: 5px; }
strong { color: #666; }
::-moz-selection {
	background: #999;
	color: #fff;
	text-shadow: none;
}
::selection {
	background: #999;
	color: #fff;
	text-shadow: none;
}

/***** Additional Margins *****/
.extra-margin.top { margin-top: 40px; }
.extra-margin2.top { margin-top:10px; }
.extra-margin.bottom { margin-bottom: 40px; }

/***** Image Hover *****/
.hover { line-height: 0; position: relative; }
.hover.one-third { width: 260px; }
.hover.one-fourth { width: 200px; }
.hover a { text-decoration: none; }

.hover .readmore, .hover .photo {
	color: #333;
	display: none;
	height: 100%;
	left: 0;
	line-height: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 500;
}

.hover .readmore { background: #fff url('../images/doc.png') no-repeat; }
.hover .photo { background: #fff url('../images/photo.png') no-repeat; }

.hover .readmore span, .hover .photo span {
	display: block;
	font-size: 13px;
	position: absolute;
	text-align: center;
	width: 100%;
}

.hover-icon {
	background: #333;
	box-sizing: initial;
	color: #fff;
	display: block;
	line-height: 1em;
	padding: 1px 5px 3px 5px;
	position: absolute;
}

.hover-icon.rt {
	border-left: 1px solid #888;
	border-bottom: 1px solid #888;
	right: 0;
	top: 0;
}

.hover:hover .hover-icon { display: none; }


/***** Typography *****/
h1, h2, h3, h4, h5 {
	background: url('../images/heading-line.gif') center repeat-x;
	color: #333;
	font-family: 'Vollkorn:400italic';
	font-style: italic;
	font-weight: bold;
	line-height: 1em;
	margin-bottom: 0;	text-shadow: 0px 1px 1px #fff;
}

h1 span, h2 span, h3 span, h4 span,  h5 span  {
	background: url('../images/bg.jpg');
	display: inline-block;
	padding: 0 25px;
}

h3 span, h4 span { padding: 0 15px; }

h1 {
	font-size: 35px;
	font-weight: normal;
	margin-bottom: 20px;
}

h2 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;color: #555;
}

h3 {
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 20px;color: #555;
}

h4 {
	font-size: 18px;
	margin-bottom: 10px;color: #555;
}

h5 {
	font-size: 16px;
	margin-bottom: 10px;color: #555;
}

/***** Main Menu *****/
#menu {
	margin-top: -25px;
	margin-bottom: 50px;
	position: relative;
	text-align: center;
	width:100&;margin-left:auto;margin-right:auto;
}

.home {
	margin-top: -20px;
}

#menu select { display: none; }

#menu ul {
	-moz-box-shadow: 0 1px 3px #666;
	-webkit-box-shadow: 0 1px 3px #666;
	box-shadow: 0 1px 3px #666;
	margin-bottom: 0;
	margin-top: 0;
}

ul#root-menu {
	background: #000 url('../images/menu-bg.jpg') bottom repeat-x;
	display: inline-block;
	font-size: 16px;
	padding: 13px 40px 10px 40px;
}

ul#root-menu li {
	float: left;
	margin-top: 0;
	margin-bottom: 1px;
	position: relative;
	z-index: 999;
}

ul#root-menu a {
	color: #888;
	padding: 13px 15px 16px 15px;
	text-decoration: none;
}

ul#root-menu a:hover {
	color: #ccc;
}

ul#root-menu a.active { color: #fff; }
ul#root-menu a.active:hover { color: #fff; }
ul#root-menu li:hover > a { color: #ccc; }
ul#root-menu li:hover a.active { color: #fff; }
ul#root-menu img { opacity: 1; vertical-align: middle;}
ul#root-menu img:hover { opacity: 1; }

/*** 1st-level submenu ***/
ul#root-menu li ul {
	background: rgb(51, 51, 51);
	background: rgba(34, 34, 34, .9);
	display: none;
	position: absolute;
	top: 30px;
	width: 210px;
}

ul#root-menu li ul li {
	border-bottom: 1px solid #555;
	float: none;
	font-size: 13px;
	margin: 0;
	text-align: left;
}

ul#root-menu li ul li a {
	display: block;
	padding: 7px 20px;
}

ul#root-menu li ul li a:hover { /*background: #444;*/ }

/***** Intro Section *****/
#intro {
	font-size: 15px;
	margin: 45px auto;
	padding: 0 25px;
	text-align: center;
	width: 70%;
}

#intro p { line-height: 25px; }

#intro p + p span {
	font-family: 'Vollkorn:400italic';
	font-size: 20px;
	font-style: italic;
	margin: 0 15px;
}

/***** Home *****/
#banner {
	background: #eee;
	line-height: 0;
	min-height: 450px;
}

.banner-caption {
	border-radius: 0;
	font-weight: 300;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	padding: 8px 30px 0px 40px;
	position: absolute;
	bottom: 60px;
	width: 408px;
}

.banner-caption.left {left: 100px; }
.banner-caption.right { right: 0; }

.banner-caption h2 {
	background: none;
	font-family: 'Lato';
	font-size: 24px;
	font-weight: 300;
	font-style: normal;
	margin-bottom: 5px;
	background:transparent;
	text-shadow: 0px 1px 1px #222;
}

.banner-caption.white {
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, .6);
}

.banner-caption.white h2 {
	color: #fff;
	text-shadow: 1px 1px 1px #333;
}

.banner-caption.white p { line-height: 1.3em; }
.banner-caption.white p { color: #eee; }


/***** Button *****/
.button {
	border: none !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	-moz-box-shadow: 0 2px 2px #eee !important;
	-webkit-box-shadow: 0 2px 2px #eee !important;
	box-shadow: 0 2px 2px #eee !important;
	color: #444;
	font-family: 'Lato' !important;
	font-weight: normal !important;
	position: relative !important;
}

.button:visited { text-decoration: none; }

.button:active {
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	left: 1px;
	top: 1px;
}

.button.steel-blue {
	background: #597A99 url('../images/steel-blue-button.png') top repeat-x;
	color: #eee;
	text-shadow: 0 1px #555;
}

.button.steel-blue:hover { color: #fff; }

.button.medium {margin-top:10px;margin-bottom:5px;
	font-size: 14px;
	line-height: 1em;
	padding: 7px 22px 9px;
}

/***** Home Testimonial *****/
#home-testimonial { height: 240px; margin-bottom:-70px; }
blockquote.full-width-home {
	background: #fff;
	border-top: 1px solid #d7d7d7;
	border-bottom: 1px solid #d7d7d7;
	margin: 10px 0 0px 0 ;
	overflow: hidden;
	padding-bottom: 25px;
	width: 100%;
}

blockquote.full-width-home p {
	background: url('../images/quote.png') no-repeat;
	color: #666;
	display: block;
	font-family: 'Vollkorn:400italic';
	font-size: 18px;
	font-style: italic;
	line-height: 1.4em;
	margin-left: 30px;
	margin-right: 30px;
	margin-top: 25px;
	padding: 10px 70px 0 45px;
}

blockquote.full-width-home cite {
	color: #888;
	display: block;
	float: right;
	font-size: 14px;
	margin-top: 5px;
	margin-right: 30px;
}

/***** Facilities *****/
table {
	border: 1px solid #ddd;
	width: 100%;background: #fff;
}

table th, table td {
	border: 1px solid #ddd;
	padding: 5px;
}

table th {
	background: #eee;
	color: #777;
	font-size: 14px;
	font-weight: bold;
	padding: 8px;
}

table tbody td { background: #fff; }
table tfoot td { background: #e5e5e5;}

/***** Gallery *****/
ul#categories li {
	border-right: 1px solid #ccc;
	display: inline-block;
	font-size: 16px;
	padding: 0 10px;
}
.margin0 { margin:-20px auto; }
ul#categories li.last { border: none; }
ul#categories a { color: #666; text-decoration: none; }
ul#categories a:hover { color: #333; }

ul#categories a.active {
	color: #222;
	cursor: default;
	font-weight: normal;
}

#gallery { margin: 0px auto; }
#gallery.three-columns{ width: 860px; }
#gallery div { line-height: 0; vertical-align: top; }

#gallery.three-columns .photo-item {
	line-height: 0;
	margin: 0px 13px 20px 13px;
	height: 170px;
	width: 260px;
}

/***** Contact *****/
#googleMap { min-height: 300px;border:1px solid #ccc; }
#googleMap img { max-width: none; }
#content.contact a { text-decoration: none; }
#content.contact .box { display: none; opacity: 0; }
form#contact-form { margin-bottom: 0; margin-top: 20px; }
form#contact-form p { margin-bottom: 0; }

form#contact-form label {
	display: inline-block;
	margin-right: 5px;
	text-align: right;
	width: 70px;
}

form#contact-form label[id="message-label"] { vertical-align: top; }
form#contact-form textarea { display: inline-block; width: 80%; }

/***** Form *****/
input[type="text"], input[type="password"], input[type="email"], select {
	display: inline-block;
}

select { padding: 6px 4px; }
input[type='submit'] { line-height: 0; }
input[type='submit']:hover { border: none; }
form label { font-weight: normal; }

form label.required:before {
	content: '* ';
	font-weight: bold;
	font-size: 16px;
}

/***** Footer *****/
#copyright {
	background: #333;
	color: #ccc;
	font-size: 12px;
	padding: 8px 0;margin-top:80px;
}
#copyright img {
-moz-box-shadow: none;
 -webkit-box-shadow:none;
 box-shadow: none; }
#text {
	display: block;
	float: left;
	margin-top: 5px;
}

#text a { color: #fff; text-decoration: none; }
#text a:hover { color: #ccc; text-decoration: none; }

#social {
	float: right;
	margin-top: 3px;
	margin-bottom: 0;
	line-height: 0;
}

#social li { float: left; margin-right: 8px; }
#social li a { opacity: .3; }
#social li a:hover { opacity: 1; }
#social img { height: 25px; line-height: 0;
-moz-box-shadow: none;
 -webkit-box-shadow:none;
 box-shadow: none; }

/***** Sections and Columns *****/
.section {
	margin-bottom: 40px;
	width: 860px;
}

.section.header {
	border: none !important;
	margin-bottom: 20px;
}

.section .full-width.column {
	margin-left: 0;
	width: 860px;
}

.section .half.column {
	margin-left: 20px;
	margin-right: 20px;
	width: 410px;
}

.section .one-third.column {
	margin-left: 20px;
	margin-right: 20px;
	width: 260px;
}

.section .two-third.column {
	margin-left: 20px;
	margin-right: 20px;
	width: 560px;
}

.section .one-third.column:first-child, .section .one-fourth.column:first-child, .section .two-third.column:first-child, .section .half.column:first-child, .section .three-fourth.column:first-child, .section .one-third.column.first {
	margin-left: 0;
}

.section .one-third.column:last-child, .section .one-fourth.column:last-child, .section .two-third.column:last-child, .section .half.column:last-child, .section .three-fourth.column:last-child {
	margin-right: 0;
}

/* In the case of :last-child not supported by browsers, .last class needs to be used. */
.section .one-third.column.last, .section .one-fourth.column.last, .section .two-third.column.last, .section .half.column.last, .section .three-fourth.column.last {
	margin-right: 0;
}

.section .one-fourth.column {
	margin-left: 10px;
	margin-right: 10px;
	width: 200px;
}

.section .three-fourth.column {
	margin-left: 10px;
	margin-right: 10px;
	width: 640px;
}

.section.end { margin-bottom: 0; }

/***** FlexSlider  *****/
.flexslider {
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 0;
}

.flexslider .slides {
	background: url('../images/bg.jpg');
	line-height: 0;
	margin: 0;
}

.flexslider:hover .flex-next { right: 20px; }
.flexslider:hover .flex-prev { left: 20px; }
.flexslider .slides > li { margin: 0; }
.flex-control-nav { background: url('../images/bg.jpg'); position: static; }


/***** Media Queries *****/
@media screen and (max-width: 1024px) {
img.bg {
	left: 50%;
	margin-left: -512px; /* 50% */
	}
}
@media (width: 768px) {
#root-container {
	width:750px;
	margin: 20px auto;
	}
}
/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
body { margin: 0px auto; font-size: 13px; }
#root-container { margin: 20px auto; }
#wrapper {
	background: #fff url('../images/bg.jpg') repeat;
	-moz-box-shadow: 0 5px 15px #444;
	-webkit-box-shadow: 0 5px 15px #444;
	border:1px solid #bbb;
	margin:0 auto;
	box-shadow: 0 5px 15px #444;
}

#menu {
	background: #000 url('../images/menu-bg.jpg') repeat-x;
	-moz-box-shadow: 0 1px 3px #666;
	-webkit-box-shadow: 0 1px 3px #666;
	box-shadow: 0 1px 3px #666;
}
#wrapper2 {
	background: transparent;
	
	margin:-19px auto -40px auto;
	
}
ul#root-menu {
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#banner { min-height: 200px; }
.banner-caption { bottom: 40px; }
#menu {margin-bottom: 50px; }

}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
#menu.page { margin-top: -45px; }
#menu { height: 50px; width: 100%; }
ul#root-menu { padding: 13px 0; }
ul#root-menu li > a { padding-left: 12px; padding-right: 12px; }
/* 1st-level submenu */
ul#root-menu li ul { top: 37px; width: 150px; }
#intro { padding: 0 10px; width: 90%; }
.section { width: 700px; }
.section .full-width.column { margin-left: 0; width: 700px; }
.section .half.column {
	margin-left: 10px;
	margin-right: 10px;
	width: 340px;
}

.section .one-third.column {
	margin-left: 10px;
	margin-right: 10px;
	width: 220px;
}

.section .two-third.column {
	margin-left: 10px;
	margin-right: 10px;
	width: 460px;
}

.section .one-fourth.column {
	margin-left: 10px;
	margin-right: 10px;
	width: 160px;
}

.section .three-fourth.column { width: 520px; }
.hover.one-third { width: 220px; }
.hover.one-fourth { width: 160px; }
#gallery.three-columns { margin: 0 auto; width: 575px; }
#gallery.four-columns { margin: 0 auto; width: 642px; }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
h1 { font-size: 28px; }
#logo {
	background: #bbb;
	padding: 10px 15px;
	position: static;
	text-align: center;
}

#logo img { height: 102px; }
.banner-caption { display: none; }

#menu {
	height: 40px;
	margin-top:-6px;
	margin-bottom: 50px;
	padding-top: 10px;	width: 100%;margin-left:auto;margin-right:auto;
}

ul#root-menu { display: none; }
#wrapper2 {
	background: transparent;
	
	margin:-38px auto -40px auto;
	
}
#menu select {
	color: #333;
	display: block;
	font-size: 14px;
	margin: 1px auto;
	padding: 4px 6px 4px 6px;
	width: 80%;
}

.section.header {
	margin-bottom: 20px;
	padding: 0 20px;
	width: 360px;
}

.hover.half { width: 100%; }
.hover.one-third { margin: auto; width: 260px; }
.hover.one-fourth { margin: auto; }
#gallery.three-columns { margin: 0 auto; width: 290px; }
form#comment-form label, form#contact-form label { display: block; text-align: left; }
form#comment-form textarea, form#contact-form textarea { width: 90%; }
#copyright { text-align: left; }
#social { float: right; }
.translator { float: left; margin-left:10px; }
#social li { display: inline; float: none; }
#text {	float: left; margin-left:10px; }
#home-testimonial { height: 320px;margin-top:-30px;}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
#menu.page { margin-top: -17px; }
#intro { width: 375px; }
.section { width: 400px; }
.section .full-width.column, .section .half.column, .section .one-third.column, .section .two-third.column, .section .one-fourth.column, #footer .one-fourth.column, .section .three-fourth.column {
	margin: 0 0 15px 0;
	padding: 0 10px;
	width: 380px;
}

.section .one-fourth.column { width: 180px; }
.section .one-fourth.with-three-fourth.column { width: 380px; }
.hover.one-fourth { width: 170px; }
blockquote.full-width-home { width: 380px; }
blockquote.full-width-home p {
	font-size: 18px;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 15px;
	padding: 10px 25px 0 50px;
}

blockquote.full-width-home cite { float: right; margin-right: 25px; }
#home-testimonial { height: 320px;margin-top:-30px;}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
#menu.page { margin-top: -45px; }
h1 { font-size: 24px; }
#intro { width: 250px; }
#intro p { font-size: 14px; }
#intro p + p span { display: none; }
.section { width: 280px; }

.section.header {
	margin-bottom: 20px;
	padding: 0 20px;
	width: 260px;
}

.section .full-width.column, .section .half.column, .section .one-third.column, .section .two-third.column, .section .one-fourth.column, #footer .one-fourth.column, .section .three-fourth.column {
	margin: 0 0 15px 0;
	padding: 0 10px;
	width: 260px;
}

blockquote.full-width  { margin-top: -20px; }
blockquote.full-width p { margin: 0px 0px; padding: 0px 25px 0; }
blockquote.full-width cite { margin-left: 25px; float:left;}
#home-testimonial blockquote.full-width p { font-size: 16px; }
#home-testimonial blockquote.full-width cite { font-size: 13px; }
blockquote.full-width-home { width: 260px; }
blockquote.full-width-home p {
	background: none;
	font-size: 16px;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 20px;
	padding: 10px 25px 0;
}

blockquote.full-width-home cite { float: right; font-size: 14px; margin: 5px 30px; }
#home-testimonial { height: 370px;margin-top:-30px; }
}



