/*	Default Layout
	92px columns, 24 px gutters, 72 px margins, 1234px total (extra space for scrollbars)
	-------------------------------------------------------------------------------
cols    1    2     3     4     5     6     7     8     9     10     11     12     13
px      68   160   252   344   436   528   620   712   804   896	988    1050   1142 */


#topNav ul, #topNav2 ul {
	margin: 0;
	padding: 0;	
}

#topNav li, #topNav2 li {
	margin: 0 1px 2px 1px;
	list-style: none;
	list-style-image: none;
	float: left;
	transition: opacity 1s ease-in-out;
}

#topNav li {
	background-color: #1760B5;	
}

#topNav2 li {
	background-color: #398500;	
	margin-bottom: 20px;
}

#topNav a, #topNav2 a {
	width: 220px;
	display: block;
	text-align: center;
	padding: 8px 4px 10px 4px;
	color: #fff;
	font-family: 'TeXGyreAdventorRegular';
	font-size: 15px;
	letter-spacing: 1px;
}

#topNav li:hover, #topNav2 li:hover {
	opacity:0.5;
  	filter:alpha(opacity=50); /* For IE8 and earlier */
}

#navContain {
	width:175px;
	float: left;
}

#main {
	float: left;
	width: 980px;
	margin-left: 15px;	
}

#nav {
	margin: 0px;
	padding: 0px;
	line-height: 100%;
}

#nav li {
	float: left;
	position: relative;
	list-style: none;
	padding-top: 0;
	padding-right: 0;
	padding-left: 0;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: 175px;
}


/* main level link */
#nav a {
	text-decoration: none;
	display: block;
	margin: 0;
	background-image: url(../images/tabs-background.jpg);
	background-repeat: repeat-x;
	background-position: 1px -30px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .5);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .5);
	box-shadow: 0 1px 3px rgba(0,0,0, .5);
	padding: 7px;
	background-color: #fff;
	font-size: 16px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #999;
	border-right-color: #999;
	border-left-color: #999;
}
#nav a:hover {
	background-color: #fff;
	background-image: url(../images/tabs-background.jpg);
	background-repeat: repeat-x;
	background-position: top;	
}

#nav .current {
	color: #000;
	background-color: #fff;
	background-image:none;
	font-weight: bold;
	-webkit-box-shadow: 0 0px 0px rgba(0,0,255, .6);
	-moz-box-shadow: 0 0px 0px rgba(0,0,255, .6);
	box-shadow: 0 0px 0px rgba(0,0,255, .6);
	margin-top: 1px;
	border-left-width: 4px;
	border-left-style: solid;
	border-left-color: #4FA600;
	border-right-width: 3px;
	border-right-style: solid;
	border-right-color: #fff;
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #999;
	border-bottom-color: #999;
}

#nav a.current:hover {
	background-image:none;
}


.shade {
	padding: 10px;
	position:relative;
}

.shade img {
	position:absolute;
	bottom:6px;
	right:4px;
}

.themeTitle {
	font-family: 'TeXGyreAdventorBold';	
	font-size: 45px;
	line-height: normal;
	color: #CC1D33;
	padding-left: 10px;
	border-bottom: solid 3px #FFCC33;
	margin-top: -10px;
	margin-bottom: 20px;
}

/*		10 Column Layout: 992px. 
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

@media only screen and (min-width: 992px) and (max-width: 1221px) {
	
#topNav a, #topNav2 a {
	width: 168px;
	font-size: 13px;
}

#navContain {
	width:150px;
}

#nav li {
	width: 150px;
}

#main {
	float: left;
	width: 750px;
	margin-left: 15px;	
}

.themeTitle {
	font-size: 40px;
}
	
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	


#topNav a, #topNav2 a {
	width: 132px;
	font-size: 11px;
}

#navContain {
	width:125px;
}

#nav li {
	width: 125px;
}

#main {
	float: left;
	width: 600px;
	margin-left: 15px;	
}

.themeTitle {
	font-size: 35px;
}

}


/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 479px) {

#topNav {
	margin-top: 15px;
}

#topNav a, #topNav2 a {
	width: 250px;
}

#topNav2 li {
	margin-bottom: 2px;
}

#navContain {
	margin-top: 25px;
	margin-bottom: 15px;		
	width:280px;
}

#nav li {
	width: 280px;
	margin-left: 7px;
}

#nav li a {
	font-size: 12px;
	padding: 10px;		
}

#main {
	float: left;
	width: 280px;
	margin-left: 0;
}

.themeTitle {
	font-size: 32px;
	float: left;
	position: absolute;
	top: 175px;
	left: 50px;
	width: 240px;
}

}

/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436   */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
#page .mobile {
	margin-left: 0;	
}

#topNav {
	margin-top: 15px;
}

#topNav a, #topNav2 a {
	width: 200px;
}

#topNav2 li {
	margin-bottom: 2px;
}

#navContain {
	margin-top: 25px;
	margin-bottom: 15px;		
	width:280px;
}

#nav li {
	width: 435px;
	margin-left: 7px;
}

#nav li a {
	font-size: 12px;
	padding: 10px;		
}

#main {
	float: left;
	width: 445px;
	margin-left: 0;
}

.themeTitle {
	font-size: 35px;
	float: left;
	position: absolute;
	top: 195px;
	left: 90px;
	width: 395px;
}
}