
body.custom {
	background-color: #d0d0d0;
	background-image:url(images/body_bg_tile_grey.jpg);
	background-position:top;
	background-repeat:repeat-x;
	background-attachment:scroll;
}

.custom #container {
	margin: 0 auto;
	background: #ffffff;
	/*background-image: url(images/container_bg_tile.jpg);
	background-position: center;
	background-repeat: repeat-y;*/
	border: none;
	width: 1024px;
	-webkit-box-shadow: 1px 1px 5px 2px #222;
	box-shadow: 1px 1px 5px 2px #222;
}

.custom #page {
	/*background-image:url(images/header.jpg);
	background-repeat: no-repeat;
	background-position:top;*/
	background-color: transparent;
}



.custom #content_box {
	background: transparent;
	padding-left: 28px;
	
}

.custom #content_box.no_sidebars {
    width: 92%;
}


.custom #header #logo {
	
	width:450px;
	float:left;
	height: 50px;
	margin-top: 10px;
	font-weight:normal;
}
.custom #header #tagline {
	width:550px;
	float:left;
	
	height: 50px;
	padding: 20px 0 0 0;
	font-weight:normal;
	font-size:24px;
}
.custom #header #logo a {
	margin-left:20px;
}
.custom #header #tagline {
	text-align:right;
}
.custom #slider_container{
	clear:both;
}

.custom #sidebars {
	margin-right: 40px;
	margin-top: 20px;
}



.custom #header {
	height:434px;
	padding:0;
	border:none;
	background-color:#222;
	
}


/*#############   MENU OVERRIDE STYLES   ###########*/
.custom ul.menu {
	margin: 0;
	background: transparent;
	border: none;
}
.custom .menu-main-container {
	margin-top:0;
	padding-top:10px
	background: #fff; /* Old browsers */

/* IE9 SVG, needs conditional override of 'filter' to 'none' */

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U4ZThlOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjODI4Yzk1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);

background: -moz-linear-gradient(top,  #e8e8e8 0%, #828c95 0%, #ffffff 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e8e8), color-stop(0%,#828c95), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  #e8e8e8 0%,#828c95 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  #e8e8e8 0%,#828c95 0%,#ffffff 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  #e8e8e8 0%,#828c95 0%,#ffffff 100%); /* IE10+ */

background: linear-gradient(top,  #e8e8e8 0%,#828c95 0%,#ffffff 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e8e8', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */



}
.custom div.menu-main-container {
	border-bottom:solid 1px #ddd;
	padding-top: 4px;
}
.custom ul.menu {
	margin-left:90px;
}
.custom ul.menu:first-child a {
	border-left:solid 1px #ddd;
	font-weight:bold;
}
.custom ul.menu li a{
	-webkit-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;   
}
.custom ul.menu li {
	margin-right: 20px;
}

.custom #footer {
	/*background-image:url(images/footer.jpg);
	background-position:bottom;
	background-repeat:no-repeat;*/
	margin:20px 0 0 0 ;
	border:none;
	text-align:center;
	height:77px;
	padding:0;
}

.custom #footer p.first {
	padding-top:30px;
}

/*.custom #column_wrap, .custom #content_box {
	background:none;
}*/

.custom img.ngg-singlepic {
	margin-bottom: 20px;
}

.wp-caption {
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	background-color:#F3F3F3;
	border:1px solid #DDDDDD;
	margin:10px;
	padding-top:4px;
	text-align:center;
}

.custom p.wp-caption-text {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}


.custom div.entry-content>h2, .custom div.format_text>h2 {
/*	font-size: 1.5em;
	margin:.5em 0 .5em 0;*/
}

.custom div.format_text>h3 {
	font-size: 1.2em;
	font-weight: bold;
	margin:.4em 0 .4em 0;
}

.custom .sidebar h3, .custom .sidebar h3 a {
	color:  #CC0000;
	font-size: 1em;
	font-weight:bold;
}

.custom .alignleft {
	float: left;
}

.custom .alignright {
	float: right;
}

.yapb-image {
	float: left;
	background-color:#ffffff;
	padding:0.5em;
	border:#DDDDDD solid 1px;
	margin: 0 10px 10px 0;
}

.custom img.frame {
	background-color:#FFFFFF;
}

#thesis_image_meta {
	display:none;
}

/* #############  Table STYLES  ##############*/

.custom table {
	margin-bottom:20px;
}

.ngg-galleryoverview {
	margin-bottom: 20px;
}
.custom .ngg-gallery-thumbnail {
    margin-right: 20px;
    margin-bottom: 20px;
}
/* #############  NIVO STYLES  ##############*/

.nivo_slider .nivo-caption p{
	padding-left: 10px;
}