/*   
Theme Name: NSF2013 Final
Author: Aaron Spence, Mark Gerrits
Author URI: http://aaronspence.co.uk
*/

/* --- HEADER --- */

header, aside, section, footer, nab, article, figure {
	display: block;
}

header {
	position: relative;
	height: 181px;
	background: #eee;
/*	background: url(img/logo.png) no-repeat left top;*/
	margin-bottom: 10px;
}

.logo {
	margin-left: 30px;
	margin-top: 10px;
}

nav ul {
	list-style-type:none;
	padding: 0;
	margin: 0;
	border-bottom: 5px solid #9f9f9f;
	height: 37px;
	width: 960px;
	background: #0b3d91;
	margin-top: 15px;
}

nav li {
	float: left;
	margin: 0;
	border-right: 1px solid #677dac;
}

nav ul a {
	display: block;
	line-height: 40px;
	font: bold 12px "Verdana";
	text-shadow: 1px 1px #000;
	color: #fff;
	padding: 11px;
}

nav ul a:visited {
	color: #fff;
}
nav ul a:hover {
	text-decoration:none;
}


nav li {
  color: #fff;
  background: #0b3d91;

}

nav li:hover {
        background: #cc2e1d;
background: #d34f41; /* Old browsers */
background: -moz-linear-gradient(top,  #d34f41 0%, #cc2e1d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d34f41), color-stop(100%,#cc2e1d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #d34f41 0%,#cc2e1d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #d34f41 0%,#cc2e1d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #d34f41 0%,#cc2e1d 100%); /* IE10+ */
background: linear-gradient(to bottom,  #d34f41 0%,#cc2e1d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d34f41', endColorstr='#cc2e1d',GradientType=0 ); /* IE6-9 */

}

nav ul, nav li {


background: #606c88; /* Old browsers */
background: -moz-linear-gradient(top,  #606c88 0%, #3f4c6b 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#606c88), color-stop(100%,#3f4c6b)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #606c88 0%,#3f4c6b 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #606c88 0%,#3f4c6b 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #606c88 0%,#3f4c6b 100%); /* IE10+ */
background: linear-gradient(to bottom,  #606c88 0%,#3f4c6b 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#606c88', endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */

}

nav ul li.home a {
	color:  #989898;
}
nav ul li.home a:hover{
	color: #fff;
}
nav .home {
	color: #999;
/*	background: url(img/menu-home.png);*/
	text-shadow: 1px 1px #989898;

background: rgb(238,238,238); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(204,204,204,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */

}

nav .forum {

background: #2e579d; /* Old browsers */
background: -moz-linear-gradient(top,  #2e579d 1%, #0b3d91 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#2e579d), color-stop(100%,#0b3d91)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #2e579d 1%,#0b3d91 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #2e579d 1%,#0b3d91 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #2e579d 1%,#0b3d91 100%); /* IE10+ */
background: linear-gradient(to bottom,  #2e579d 1%,#0b3d91 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e579d', endColorstr='#0b3d91',GradientType=0 ); /* IE6-9 */


}

nav .ltwo {
	color: #fff;
background: #b2984a; /* Old browsers */
background: -moz-linear-gradient(top,  #b2984a 1%, #b58801 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#b2984a), color-stop(100%,#b58801)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #b2984a 1%,#b58801 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #b2984a 1%,#b58801 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #b2984a 1%,#b58801 100%); /* IE10+ */
background: linear-gradient(to bottom,  #b2984a 1%,#b58801 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2984a', endColorstr='#b58801',GradientType=0 ); /* IE6-9 */

}

nav .ltwo:hover {
background: #d8b041; /* Old browsers */
background: -moz-linear-gradient(top,  #d8b041 0%, #dba401 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d8b041), color-stop(100%,#dba401)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #d8b041 0%,#dba401 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #d8b041 0%,#dba401 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #d8b041 0%,#dba401 100%); /* IE10+ */
background: linear-gradient(to bottom,  #d8b041 0%,#dba401 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8b041', endColorstr='#dba401',GradientType=0 ); /* IE6-9 */


}


.socialicons {
	position: absolute;
	width: 465px;
	right: 10px;
	top: 0px;
}

.ads-header {
	position: absolute;
	right: 10px;
	top: 35px;
	width: 468px;
	height: 60px;
}

.l2-scroller {
	position: absolute;
	right: 10px;
	top: 99px;
	width: 463px;
	height: 20px;
	background: #d5c496;
	padding: 5px 0 0 5px;
	border: 1px solid #bbac83;
}

.ads-footer {
	position: absolute;
	right: 0px;
	width: 728px;
	height: 90px;
}

/* --- MAIN SECTION --- */

body {
	background: #18355c url(img/background.png) repeat-x;
	padding: 0;
	margin: 0;
	color: #000;
	font: 14px Arial, sans-serif;
}

.body {
	clear: both;
	margin: 0 auto;
	width: 960px;
}

a {
	color: #1f4f82;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: #4a7194;
}

#wrapper {
/*	background: #d2d2d2 url(img/content-bg.jpg);*/
	background: #ccc;
	-moz-box-shadow: 0 0 5px 2px #000;
	-webkit-box-shadow: 0 0 5px 2px #000;
	box-shadow: 0 0 5px 2px #000;
}

.articles {
	position: relative;
	float: left;
	width: 630px;
	margin: 0 10px 0 10px;
	background: #e3e3e3;
	-moz-box-shadow: 0 0 5px #acacac;
	-webkit-box-shadow: 0 0 5px #acacac;
	box-shadow: 0 0 5px #acacac;
}

article {
	float: left;
	width: 600px;
	margin: 0 10px 0 10px;
	padding: 5px 15px 5px 15px;
	background: #e3e3e3;
	-moz-box-shadow: 0 0 5px #acacac;
	-webkit-box-shadow: 0 0 5px #acacac;
	box-shadow: 0 0 5px #acacac;
}

article h1 {
	margin: 0;
	padding: 10px 0 2px 0;
	font-size: 16px;
}

article h4, .related articlelist h2, .relatedarticles h2 {
	margin: 0;
	padding: 10px 0 10px 0;
	font-size: 16px;
	border-top: 1px solid #aeaeae;
	border-bottom: 1px solid #aeaeae;
	margin-top: 20px;
	margin-bottom: 10px;
	color: #343434;
}

article img {
	border: 1px solid #000;
}

.article-top-img {
	float: left;
	margin-right: 15px;
	width: 290px;
}

.article-author {
	font-size: 12px;
	color: #5a5a5a;
}

.article-top {
	float: left;
	width: 600px;
	margin-bottom: 10px;
}

h1.underline {
	border-bottom: 1px solid #000;
	margin-bottom: 20px;
}

h2 {
	margin: 10px 10px 15px 10px;
	padding: 5px;
	border-bottom: 1px solid #000;
	font: bold 18px Arial, sans-serif;
}

h3 {
	margin: 0;
	padding: 0 0 3px 0;
	margin-bottom: 8px;
	border-bottom: 1px solid #000;
	font: bold 18px Arial, sans-serif;
}

h5 {
	margin: 0;
	font-size: 16px;
	border-bottom: 1px solid #000;
	padding: 0 0 8px 0;
}

#latest-articles {
	float: left;
	width: 600px;
	height: 130px;
}

.black {
	color: #000;
}

.black:visited {
	color: #000;
}

#latest-articles a {
	color: #000;
	font: bold 15px Arial, sans-serif;
	text-decoration: none;
}

#latest-articles:hover h2 {text-decoration: underline;}

#latest-articles a:hover {
	text-decoration: underline;
}

#latest-articles a:visted {
	color: #000;
}

#latest-articles h2 {
	font-size: 15px;
	border: 0;
	margin: 0;
	padding: 0;
	margin-bottom: -20px;
}

#latest-articles h2:hover {
	text-decoration: underline;
}

#older-articles a {
	color: #000;
	text-decoration: none;
	line-height: 24px;
}

#older-articles a:hover {
	text-decoration: underline;
}

.sidebar {
	float: left;
	width: 300px;
	margin: 0 10px 0 0;
}

.sidebar-box {
	width: 280px;
	padding: 10px;
	background: #e3e3e3;
	-moz-box-shadow: 0 0 5px #acacac;
	-webkit-box-shadow: 0 0 5px #acacac;
	box-shadow: 0 0 5px #acacac;
	margin-bottom: 10px;
}

.sidebar-ads {
	width: 280px;
	padding: 10px;
}

.sidebar-ads img {
	margin-bottom: 5px;
	border: 0;
}

.sidebar-ads-left, .sidebar-ads-right {
	float: left;
	width: 140px;
	text-align: center;
}

#l2-whatspopular {
	width: 280px;
	padding: 10px;
	height: 250px;

background: url(img/l2bg.png);


	-moz-box-shadow: 0 0 5px #acacac;
	-webkit-box-shadow: 0 0 5px #acacac;
	box-shadow: 0 0 5px #acacac;
	margin-top: 10px;
	margin-bottom: 10px;
}

#slides a {
	color: #000;
}

.l2-slider-title {
	float: left;
	width: 200px;
	height: 20px;
	background: #fff
}

.l2-slider-mb {
	float: left;
	width: 80px;
	height: 20px;
	background: #fff
}

.search {
	position: absolute;
	right: 8px;
}

.search input {
	-webkit-border-radius: 15px;
    	border-radius: 15px;
	-webkit-appearance: none;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #bbb;
	text-shadow: 0px -1px 0px #FFF;
	font-size: 14px;
	padding: 5px 10px 5px 10px;
	width: 180px;
	margin-top: -3px;
	background: #f0f0f0;
	-moz-transition-property: all;
	-moz-transition-duration: 0.2s;
	-moz-transition-timing-function: ease-in-out;
	-webkit-transition-property: all;
	-webkit-transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-in-out;
	transition-property: all;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
}

.sidebar-box input {
	-webkit-border-radius: 15px;
    	border-radius: 15px;
	-webkit-appearance: none;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #bbb;
	text-shadow: 0px -1px 0px #FFF;
	font-size: 14px;
	padding: 5px 10px 5px 10px;
	background: #f0f0f0;
	-moz-transition-property: all;
	-moz-transition-duration: 0.2s;
	-moz-transition-timing-function: ease-in-out;
	-webkit-transition-property: all;
	-webkit-transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-in-out;
	transition-property: all;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
}

.search input:hover, .search input:focus, .sidebar-box input:hover, .sidebar-box input:focus {
	cursor: pointer;
	background: #fff;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

.L2Info {
	float: right;
	width: 160px;
	padding: 10px;
	font: bold 12px "Arial";
	margin-left: 15px;
}

.L2Info h4 {
	margin: 0;
	padding: 10px 0 10px 0;
	font-size: 16px;
	border-top: 1px solid #aeaeae;
	border-bottom: 1px solid #aeaeae;
	margin-bottom: 10px;
	color: #343434;
}

.L2Info ul {
	margin: 0;
	padding: 0;
	margin-top: 4px;
	list-style:none;
}

.L2Info ul li {
	margin-bottom: 4px;	
}

.navigation {
	font-size: 15px;
	font-weight: bold;
}

.navigation a {
	color: #000;
}

.nav-previous {
	float: left;
	text-align: center;
	margin-bottom: 20px;
}

.nav-next {
	float: right;
	text-align: center;
	margin-bottom: 20px;
}

footer {
	position: relative;
	float: left;
	width: 940px;
	margin: 10px;
	padding: 20px 0 20px 0;
	color: #000;
	font: 12px Arial, sans-serif;
	line-height: 18px;
	border-top: 10px solid #3b5070;
	margin-top: 20px;
}

footer a {
	color: #000;
	font-weight: bold;
	text-decoration: none;
}

footer a:visited {
	color: #000;
}

#footer-nav {
	margin: 0;
	padding: 0;
	list-style-type:none;
}

#footer-content {
	margin: 0 17px 0 17px;
}

.clear {clear:both;}

/* --- MENU --- */

/* --- SLIDER --- */

/*
 * jQuery Nivo Slider v3.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:630px;
	height:250px;
	overflow: hidden;
}

.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
background-color: #fff;
filter:alpha(opacity=0);
opacity: 0;
-webkit-opacity:0;
-moz-opacity:0;
-khtml-opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
#slider .nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background: url(img/slider-titlebg.png);
	color:#fff;
	width:100%;
	z-index:8;
	padding: 20px 0 20px 25px;
	overflow: hidden;
	display: none;
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box;    
	box-sizing: border-box;        
	font: bold 20px Arial, sans-serif;
	text-shadow: 2px 2px #000;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}

#slides .nivo-caption {
        background: #ababab;
        padding: 4px 5px 3px 5px;
        text-shadow: 1px 1px #c3c3c3;
        font-weight: bold;

}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	display: none;
	text-align:center;
	padding: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

/*
Skin Name: Nivo Slider Default Theme
Skin URI: http://nivo.dev7studios.com
Description: The default skin for the Nivo Slider.
Version: 1.3
Author: Gilbert Pellegrom
Author URI: http://dev7studios.com
Supports Thumbs: true
*/

.theme-default .nivoSlider {
	position:relative;
	background:#fff url(img/loading.gif) no-repeat 50% 50%;
    margin-bottom:10px;
}
.theme-default .nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.theme-default .nivoSlider a {
	border:0;
	display:block;
}

.theme-default .nivo-controlNav {
	text-align: center;
	padding: 20px 0;
}
.theme-default .nivo-controlNav a {
	display:inline-block;
	width:22px;
	height:22px;
	background:url(img/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin: 0 2px;
}
.theme-default .nivo-controlNav a.active {
	background-position:0 -22px;
}

.theme-default .nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(img/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
	opacity: 0;
	-webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.theme-default:hover .nivo-directionNav a { opacity: 1; }
.theme-default a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
.theme-default a.nivo-prevNav {
	left:15px;
}

.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled {
	width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
	width: auto;
	height: auto;
	background: none;
	margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
	display: block;
	width: 120px;
	height: auto;
}

/* --- L2 SLIDER --- */

#slides {
	 width:280px;
	height:211px;
	margin-bottom: 10px;
}
/*
.caption {
	float: left;
	width: 280px;
	height: 18px;
	background: #ababab;
	padding: 4px 5px 3px 5px;
	text-shadow: 1px 1px #c3c3c3;
	font-weight: bold;
}
*/

/* --- TABBER --- */

.tabberlive .tabbertabhide {
	border:0pt none;
	display:none;
}
.tabberlive {
	margin-bottom:10px;
}
.tabber {
display:none;
}
ul.tabbernav {
background:#EDEDED none repeat scroll 0% !important;
font-size:13px;
height:24px;
line-height:24px;
list-style-type:none !important;
margin: 0;
padding: 0;
}
.tabbernav li {
margin: 0;
padding: 0;
background:transparent none repeat scroll 0% !important;
float:left !important;
list-style-type:none;
margin-right:1px !important;
padding:0pt !important;
}
.tabbernav li a {
display:block;
float:left;
padding:0pt 5px;
}
.tabbernav li a:link {
color:#000000 !important;
}
.tabbernav li a:visited {
text-decoration:none;
}
.tabbernav li a:hover {
background:#0066cc none repeat scroll 0%;
color:white !important;
}
.tabbernav li.tabberactive a {
background:#0066cc;
color:white !important;
font-weight:bold;
}
.tabbernav li.tabberactive a:hover {
background:#0066cc none repeat scroll 0%;
}
.tabberlive .tabbertab {

padding:8px;
}
.tabberlive .tabbertab h2 {
}
.tabberlive .tabbertab h3 {
display:none;
}
.tabberlive .tabbertab ul.pop {
margin: 0;
padding: 0;
list-style-type:none !important;
}
.tabberlive .tabbertab ul.pop li {
margin: 0;
padding: 0;
border-bottom:1px solid #b5b5b5 !important;
clear:both !important;
padding:3px 3px !important;
list-style-type:none !important;
}
.tabberlive .tabbertab ul.pop li a {
}
