/*
 * Copyright 2012 Ildar Samit
 */

/* Reset styles

YUI 3.4.1 (build 4118)
Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
 */
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif}table{font-size:inherit;font:100%}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%}h1{font-size:138.5%}h2{font-size:123.1%}h3{font-size:108%}h1,h2,h3{margin:1em 0}h1,h2,h3,h4,h5,h6,strong{font-weight:bold}abbr,acronym{border-bottom:1px dotted #000;cursor:help}em{font-style:italic}blockquote,ul,ol,dl{margin:1em}ol,ul,dl{margin-left:2em}ol{list-style:decimal outside}ul{list-style:disc outside}dl dd{margin-left:1em}th,td{border:1px solid #000;padding:.5em}th{font-weight:bold;text-align:center}caption{margin-bottom:.5em;text-align:center}p,fieldset,table,pre{margin-bottom:1em}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em}

/*
 * Common elements
 */
html {}
body {text-align: center; color: #141112; font: 14px/170% "Times New Roman",Times,serif;}
#page-container {width: 910px; margin: 0 auto; text-align: left;}

h1 {}
h2 {margin: 0.5em 0; font-size: 24px; font-weight: normal;}
a {color: #141112; text-decoration: none;}
	a:hover {text-decoration: underline;}
	a.active {font-weight: bold;}
	a.active:hover {cursor: default; text-decoration: none;}


#header {position: relative; text-align: center;}
	#logo {display: block; padding: 30px 0 10px;}
	#nav-main-container {position: relative; z-index: 2; border-top: 7px solid #231f20; border-bottom: 7px solid #231f20;}
		#nav-main {padding: 0; background: #231f20; border-top: 1px solid #fff; border-bottom: 1px solid #fff;}
			#nav-main a {padding: 0 40px; color: #fff;}
			    #nav-main a.active{font-weight: bold; color: #C6CCF4;}
	.ribbon-decor {position: absolute; z-index: 1; bottom: -13px; border-bottom: 13px solid #fff;}
		.ribbon-decor-left {left: 0; border-right: 13px solid #67686b;}
		.ribbon-decor-right {right: 0; border-left: 13px solid #67686b;}
#container {margin-bottom: 80px;  overflow:hidden;zoom:1; /*clearfix*/}
	#sidebar-left {float: left; width: 400px; margin-left: 13px; text-align: center;}
		.rotator {position: relative; overflow: hidden;}
			.rotator .image-wrapper {position: absolute; width: 100%; height: 1000px; background: #fff; text-align: center;}
			.rotator .image-wrapper:first-child {z-index: 4;}
			.rotator .image-wrapper:last-child {z-index: 3;}
	#content {float: right; width: 401px; margin: 0 13px 0 0; padding: 20px 30px; background: url("../images/body_text-bg.png") 100% 100% no-repeat;}
	#content-aux {float: right; width: 401px; margin: 30px 13px 0 0; padding: 0 30px;}
		#content-aux img.left {float: left; margin: 0 20px 10px 0;}
		#content-aux img.right {float: right; margin: 0 0 10px 20px;}
		#content-aux img.framed {border: 1px solid #231f20;}
	#slideshow {clear: both; padding-top:20; text-align: center;}
		#slideshow a img {margin: 0 5px; border: 1px solid #231f20;}
		#slideshow a:hover img {border-color: #c22;}
		#slideshow-help {margin-top: 20px; font-size: 16px; font-style: italic;}
#footer {clear: both; border-top: 3px solid #231f20; margin: 0 13px; padding: 10px 0 30px;}
	#footer #footer-left {float: left;}
	#footer #footer-center {text-align: center; font-size: 12px;}
		#footer #footer-center a {padding: 0 15px;}
	#footer #footer-right {float: right;}


/* Home */
body.page-home #content-aux {font-size: 15px; line-height: 130%;}

/* Testimonials */
.testimonial {font-size: 16px; font-style: italic; line-height: 120%;}

/* Contact */
body.page-contact #sidebar-left {width: 355px; padding: 20px 30px; text-align: left;}
body.page-contact #content {width: 391px; padding-top: 30px; padding-left: 40px;}

.mainpageleft{width:62% !important;text-align:left !important;}
.mainpageright{width:31% !important;padding:18px !important;}
.mainpageimg{margin:0px auto;text-align:center;width:70% !important;margin:0px !important;}

/* For smaller screens */
@media screen and (max-device-width: 700px){
	#nav-main a {padding: 0 30px;}
}