@font-face {
    font-family: 'FuturaCondensedLight';
    src: url('fonts/futura_condensed_light-webfont.eot');
    src: url('fonts/futura_condensed_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/futura_condensed_light-webfont.woff') format('woff'),
         url('fonts/futura_condensed_light-webfont.ttf') format('truetype'),
         url('fonts/futura_condensed_light-webfont.svg#FuturaCondensedLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'FuturaCondensedMedium';
    src: url('fonts/futura_condensed_medium-webfont.eot');
    src: url('fonts/futura_condensed_medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/futura_condensed_medium-webfont.woff') format('woff'),
         url('fonts/futura_condensed_medium-webfont.ttf') format('truetype'),
         url('fonts/futura_condensed_medium-webfont.svg#FuturaCondensedMedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*----end font embedding-----*/




*{
	margin:0;
	padding:0;
}

body{
	background:#F2F2F2;
	font-family:Verdana,sans-serif;
}

/*--font specifications--*/
#content h1, #content h2, #log-in, ul.menu li a, p.white-overlay, #front-content h2{
	font-family: 'FuturaCondensedMedium';
}

#wrapper{
	width:1090px;
	margin:0 auto;
	box-shadow:0 0 15px #000;
	border:solid black 1px;
	background:url(images/wrapper-bg.jpg) repeat-y;
}

#wrapper:after{
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

#header{
	background:url(images/top-bg-noshadow.jpg) no-repeat;
	width:1090px;
	height:134px;
	float:left;
}

#content{
	background:url(images/content-bg-noshadow.jpg) no-repeat;
	width:1090px;
	min-height:700px;
	/*max-height:880px;(*/
	float:left;
	padding-bottom:30px;
}

#content p{
	margin:20px 0;
	line-height:1.4;
	font-size:15px;
}

#content .meta span, #content .links{
	font-size:14px;
}

#inner-content{
	float:right;
	margin-right:80px;
	padding-top:50px;
	width:804px;
	
}

#left-sidebar{
	/*
	width:146px;
	height:193px;
	float:left;
	margin:50px 0 0 -9px;
	padding-top:10px;
	background:url(images/sidenav-bg.png) no-repeat;
	*/
	
	width:160px;
	float:left;
	margin:50px 0 0 -3px;
	padding:6px;
	background:#51B2DA;
	border-radius:7px;
	box-shadow:4px 0 4px #777, inset 7px 0px 5px 0px rgba(0, 0, 0, 0.3);
}

#left-sidebar ul li.leaf{
	list-style:none;
	margin:2px 0;
	margin-left:-2px;
}

#left-sidebar ul li.leaf a{
	color:#FFF;
	text-transform:capitalize;
	text-decoration:none;
}

#left-sidebar ul li.leaf a:hover, #left-sidebar ul li.leaf a.active{
	text-decoration:underline;
}

#front-content{
	background:url(images/frontpage-content-noshadow.jpg) no-repeat;
	width:1090px;
	height:957px;
	float:left;
}

#footer{
	background:url(images/footer-bg-stretched.png) no-repeat;
	width:1090px;
	/*height:188px;*/
	height:220px;
	/*margin-top:-29px;*/
	margin-top:-35px;
	float:left;
}

#logo-image{
	margin-top:8px;
	border:none;
}

#log-in{
	display:block;
	position:relative;
	top:0;
	left:0;
	text-align:right;
	color:#FFF;
	padding:8px 14px 0 0;
}

#log-in a{
	color:#FFF;
}

/*--navigation--*/

#nav ul{
	width:850px;
	float:left;
	/*margin-left:420px;*/
	margin-left:420px;
	list-style:none;
	/*margin-top:-60px;*/
	margin-top:-50px;
}

#nav ul li{
	display:inline;
	list-style:none;
}

#nav ul li a{
	/*font-size:18px;*/
	font-size:14px;
	color:#DDD;
	margin:8px 12px;
	float:left;
	text-transform:uppercase;
	text-decoration:none;
	font-weight:bold;
}

#nav ul li a:hover{
	color:#FFF;
}

#nav ul li a.active{
	color:#FFF;
}




/*--footer sections--*/

#footer h2{
	text-transform:uppercase;
	/*font-size:21px;*/
	font-size:14px;
	font-weight:bold;
	margin-bottom:10px;
}

#footer p{
	margin:0 0 7px 0;
	line-height:1.1;
	font-size:13px;
}

#footer a{
	font-size:13px;
}

#footer1,#footer2,#footer3{
	width:180px;
	height:140px;
	float:left;
	margin:0;
	margin-top:50px;
	color:#FFF;
}

#footer1{
	margin-left:70px;
}

#footer2{
	width:140px;
	margin-left:30px;
}

#footer3{
	width:100px;
	margin-left:20px;
}

#footer4{
	width:480px;
	height:140px;
	float:left;
	margin:15px;
	margin-top:50px;
	color:#FFF;
}

img.soc-icons{
	float:left;
	margin:0 10px 10px 0;
	border:none;
}

img.soc-icons.first-of-line{
	clear:left;
}

#footer2 a{
	display:block;
	color:white;
	text-decoration:none;
}

#footer2 a:hover{
	text-decoration:underline;
}




/*---styles for nivo slider--*/

#content-slider{
	width:1018px;
	height:470px;
	background:url(images/slider-frame.jpg) no-repeat;
	margin:30px 0 0 30px;
}

.nivoSlider {
    position:relative;
	top:29px;
	left:39px;
    width:940px; /* Change this to your images width */
    height:412px; /* Change this to your images height */
    background:url(images/loading.gif) no-repeat 50% 50%;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
.nivoSlider a {
    border:0;
    display:block;
}



/*---front page regions under slider--*/

#front-page1,#front-page2,#front-page3{
	width:300px;
	min-height:350px;
	float:left;
	margin-top:80px;
	margin-left:30px;
	background:#C3C4C4;
	outline:solid black 1px;
	overflow:hidden;
}

#front-page1{
	margin-left:70px;
}

#front-page1 h3,#front-page2 h3,#front-page3 h3{
	display:block;
	background:#767475;
	color:#FFF;
	text-transform:uppercase;
	font-size:14px;
	font-weight:normal;
	padding:2%;
	padding-right:0;
	width:100%;
}

#front-page1 img,#front-page2 img,#front-page3 img{
	margin:5px 0 0 5px;
}

#front-page1 p,#front-page2 p,#front-page3 p{
	font-size:13px;
	padding:1px 0 0 3px;
	line-height:1.1;
}


/*--search bar styling--*/

#search-bar{
	width:200px;
	float:right;
	margin-top:-96px;
	margin-right:-16px;
}

.block-search h2{
	display:none;
}

.block-search input[type=text]{
	border-radius:5px 0 0 5px;
	height:19px;
	border:solid #000 1px;
	margin-bottom:-4px;
	margin-left:10px;
	background-image: linear-gradient(bottom, #E4E9ED 37%, #EEEEEE 69%);
	background-image: -o-linear-gradient(bottom, #E4E9ED 37%, #EEEEEE 69%);
	background-image: -moz-linear-gradient(bottom, #E4E9ED 37%, #EEEEEE 69%);
	background-image: -webkit-linear-gradient(bottom, #E4E9ED 37%, #EEEEEE 69%);
	background-image: -ms-linear-gradient(bottom, #E4E9ED 37%, #EEEEEE 69%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.37, #E4E9ED),
		color-stop(0.69, #F5F5F5)
	);
	
	color:#888;
	
	width:122px;
}

.block-search input[type=text]:focus{
	background:#FFF;
	background-image:none;
}

.block-search input[type=submit]{
	background: none;
	border: none;
	background-image: url("images/search-button.png");
	width:19px;
	height:19px;
	margin:0 0 0 -3px;
	position:relative;
	top:-1px;
	cursor:pointer;
}

/*--style for rotating quotes (testimonials) block--*/
.block-quotes h2 {
	text-align:left;
	margin-left:6px;
}



/*---style for the grid template with 6 boxes with text--*/

#inner-content-grid{
	float:right;
	margin-right:60px;
	padding-top:60px;
	width:880px;
}

#content .grid-box{
	width:223px;
	height:260px;
	margin-right:46px;
	margin-bottom:32px;
	float:left;
}

#content .grid-box img{
	padding:3px;
	background:#C3C3C3;
	margin:4px 0 0 4px;
	width:208px;
	height:172px;
}

#content .grid-box p{
	padding: 0 5px;
	line-height:1.1;
	margin:0 !important;
	font-size:13px;
}

#content .grid-box p.white-overlay{
	font-size:24px;
	color:#FFF;
	width:208px;
	text-align:center;
	margin-top:-172px !important;
	height:112px;
	padding-top:60px;
	text-transform:uppercase;
}

#content .grid-box p.white-overlay a{
	color:#FFF;
	text-decoration:none;
}

#content .grid-box p.white-overlay a:hover{
	text-decoration:underline;
}




/*--prevent overflow of block administration page contents --*/
#block-admin-display-form{
	overflow:scroll;
	max-height:510px;
}





/*---contact form styling---*/

#contact-mail-page input[type=text], #contact-mail-page textarea{
	width:480px;
	padding:10px;
}

#contact-mail-page label{
	font-size:16px;
	font-weight:normal;
}

#contact-mail-page input[type=submit]{
	-moz-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	-webkit-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #378de5) );
	background:-moz-linear-gradient( center top, #79bbff 5%, #378de5 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#378de5');
	background-color:#79bbff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #84bbf3;
	display:inline-block;
	color:#ffffff;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #528ecc;
	cursor:pointer;
}
#contact-mail-page input[type=submit]:hover{
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff) );
	background:-moz-linear-gradient( center top, #378de5 5%, #79bbff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff');
	background-color:#378de5;
}
#contact-mail-page input[type=submit]:active {
	position:relative;
	top:1px;
}





/*------blog page styling-----*/

.block-blog{
	margin-top:30px;
}


/*--restoring some of drupal's original padding/margin--*/

.box{
	margin:20px 0;
}

#blocks td{
	margin:2px;
	padding:2px;
}

.block-region{
	color:black;
}