@import url(http://fonts.googleapis.com/css?family=PT+Serif:700,400|Open+Sans);
/*
============================================================================
 GENERAL
============================================================================
*/

h1, h2, h3, h4, h5, h6 { 
	margin: 0px;
	padding: 0px;
	font-family: 'PT Serif', Times New Roman, sans-serif;
	color: #633;
	text-shadow: 1px 1px 0px #fff;
}

a { outline: none; }

html, body {
	margin: 0px;
	padding: 0px;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	background: url('/img/layout/background-light.jpg') no-repeat center center fixed;

	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.ui-loader {
	display: none;
}

h1, h2, h3, h4, h5, h6 { 
	margin: 0px;
	padding: 0px;
	font-family: 'PT Serif', Times New Roman, sans-serif;
}

ul, li, p { margin: 0px; padding: 0px; }

li { 
	list-style-type: none;
}

#main {
	font-size: 0.75em;
	font-family:'Open Sans', sans-serif;
	color:#000;
	line-height:normal;
	margin: 0px;
	padding: 0px;
	clear: both;
	overflow: auto;
}

#main .m-aside {
	background: #5c3827 url('/img/layout/storyboard-panel.jpg') no-repeat;
	background-position: fixed;
	width: 285px;
	float: left;
}

#main .m-right-panel {
	height: 100%;

	font-size: 16px;
	line-height: 24px;
	text-shadow: 1px 1px 0px #e5e0da;
	float: left;
	width: 72%;
}

#main .m-right-panel .wrapper {
	margin: 8%;
}

#main .m-right-panel p {
	margin-bottom: 15px;
}

#menu-toggle {
    display: none; /* hide menu icon initially */
}


/*
============================================================================
 SIDEBAR
============================================================================
*/

#logo {
	background: url('/img/layout/logo270.png') center no-repeat;	
	width: 270px;
	height: 85px;
	display: block;
	text-indent: -100000px;
	margin: 33px 0px;
}

#navigation a {
	color: #cba796;
	font-family: 'PT Serif', Times New Roman, sans-serif;
	display: block;
	text-decoration: none;

	-webkit-transition: text-shadow 0.3s ease-in-out;
    -moz-transition: text-shadow 0.3s ease-in-out;
    -o-transition: text-shadow 0.3s ease-in-out;
    -ms-transition: text-shadow 0.3s ease-in-out;    
    transition: text-shadow 0.3s ease-in-out;	
}

#navigation a:hover {
	text-shadow: 0px 0px 2px #fff, 0px 0px 5px #5c3827;
}

#navigation .major {
	background: url('/img/layout/storyboard-majornav.gif') left center no-repeat;
	font-size: 16px;	
}

#navigation .major a {
	margin: 0px 10px;
	padding: 18px 5px 18px 0px;
}

#navigation .minor {
	border-top: 1px solid #40291e;
	padding: 10px 5px 10px 0px;
	font-size: 16px;
}

#navigation .roman {
	color: #83523d;
	font-size: 24px;
	text-shadow: 1px 1px 0px #2e1f18;
	margin: 0px 8px;
}

#navigation .current {
	background: url('/img/layout/storyboard-current.png') right no-repeat;
}

#navigation .break {
	float: left;
	width: 25px;
}	

#navigation .part {
	display: none;
}

#navigation form {
	padding: 10px;
}

#navigation .searchbox {
	background: url('/img/layout/search-bg.gif') left no-repeat;
	border: 0px;
	margin: 0px;
	padding: 0px 0px 0px 30px;
	height: 24px;
	width: 150px;
	font-family: 'PT Serif', Times New Roman, sans-serif;	
}

#navigation .submit {
	background: #9d715c; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzlkNzE1YyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZDRjM2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #9d715c 0%, #6d4c3c 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d715c), color-stop(100%,#6d4c3c)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #9d715c 0%, #6d4c3c 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #9d715c 0%,#6d4c3c 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #9d715c 0%,#6d4c3c 100%); /* IE10+ */
	background: linear-gradient(to bottom, #9d715c 0%,#6d4c3c 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d715c', endColorstr='#6d4c3c',GradientType=0 ); /* IE6-8 */
	color: #fff;
	border: 0px;
	height: 24px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
	font-family: 'PT Serif', Times New Roman, sans-serif;	
}

#searchbutton {
	width: 65px;
	height: 24px;
}

#top form {
	clear: both;
	padding-top: 5px;
}


/*
============================================================================
 PAGE STYLES
============================================================================
*/

#main .m-right-panel h2 {
	font-weight: normal;
	font-size: 48px;
	line-height: 45px;
}

#main .m-right-panel .page-header {
	overflow: auto;
	clear: both;
	margin-bottom: 3%;
}

#main .m-right-panel .left {
	width: 60%;
	float: left;
}

#main .m-right-panel .breadcrumb {
	clear: both;
	font-size: 14px;
	margin: 15px 0px;
	font-family: 'PT Serif', Times New Roman, sans-serif;
}

#main .m-right-panel a {
	color: #633;
	text-shadow: 1px 1px 0px #fff;
}

#main .m-right-panel .copyright {
	border-top: 1px solid #633;
	padding: 10px 0px;
	font-size: 12px;
	line-height: 16px;
	font-family: 'PT Serif', Times New Roman, sans-serif;
	color: #633;
}

#main .m-right-panel .next {
	font-weight: bold;
	font-size: 18px;
	text-decoration: none;
	font-family: 'PT Serif', Times New Roman, sans-serif;
}

#main, #main .m-right-panel, #main .m-aside {
    position:relative;
}	

#sharethis {
	float: right;
	width: 250px;
}

/*
============================================================================
 SCROLL TO TOP
============================================================================
*/

#toTop {
	display:none;
	text-decoration:none;
	position:fixed;
	bottom:10px;
	right:10px;
	overflow:hidden;
	width:51px;
	height:51px;
	border:none;
	text-indent:100%;
	background:url('/img/layout/ui.totop.png') no-repeat left top;
}

#toTopHover {
	background:url('/img/layout/ui.totop.png') no-repeat left -51px;
	width:51px;
	height:51px;
	display:block;
	overflow:hidden;
	float:left;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
}

#toTop:active, #toTop:focus {
	outline:none;
}

/*
============================================================================
 MOBILE STYLES
============================================================================
*/

@media screen and (min-width:760px) and (max-width:800px) {

	/*
	=========================================================================
	 LAYOUT STYLES
	=========================================================================
	*/

	#main .m-right-panel {
		width: 60%;
		margin-top: 20px;
	}

	#main .m-right-panel .wrapper {
		margin: 8%;
	}

	/*
	=========================================================================
	 PAGE STYLES
	=========================================================================
	*/

	#main .m-right-panel .left {
		width: 100%;
		float: none;
	}

	#sharethis {
		float: none;
		width: 250px;
	}
}

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

	/*
	=========================================================================
	 LAYOUT STYLES
	=========================================================================
	*/

	#main {
		clear: both;
		overflow: auto;
	}

	#main .m-right-panel {
		width: 100%;
		float: none;
	}

	#main .m-aside {
		width: 100%;
		float: none;
		background: #000 url('/img/layout/top-bg.png') top repeat-x;
		overflow: auto;
	}

	#main .m-aside .roman {
		display: none;
	}

	#main .m-aside .part {
		display: block;
		float: left;
		padding-right: 3px;
	}

	#main .m-aside .current {
		background: transparent;
	}

	#main .m-aside .major {
		background: transparent;
		margin: 0px;
		padding: 0px;
	}

	#main .m-aside .minor {
		border: 0px;
		margin: 0px;
		padding: 10px 0px;
	}

	#logo {
		background: url('/img/layout/logo.png') center no-repeat;	
		width: 300px;
		height: 90px;
		margin: 0px auto;
		padding: 0px 0px 20px 0px;
	}

	#main .m-aside .wrapper {
		background: url('/img/layout/top-flags-bg.jpg') top center no-repeat;	
	}

	#navigation .intro {
		text-transform: uppercase;
		text-align: center;
	}

	#nav ul {
		float: left;
		border-top: 1px solid #684839;
		padding: 15px 0px;
	}

	#nav .col1 {
		width: 55%;
	}

	#nav .col2 {
		width: 40%;
	}

	#mainsite {
		clear: both;
		width: 610px;
	}

	#mainsite li {
		display: inline-block;
	}

	#mainsite {
		margin: 0px;
	}

	#navigation {
		width: 640px;
		margin: 0px auto;
		background: url('/img/layout/mobile-pane-glow.png') bottom center no-repeat;	
	}

	#navigation .major a {
		margin: 0px;
		padding: 10px 20px 10px 0px;
	}

	/*
	=========================================================================
	 IMPLEMENT MOBILE NAVIGATION
	=========================================================================
	*/

	#menu-toggle {
		width: auto;
		background: #000 url('/img/layout/mobile-glow.png') center top no-repeat;
		overflow: auto;
		display: block;
	}

    #menu-toggle .menu-icon {
		font-size: 18px;
		font-weight: bold;
        color: #fff;
        width: auto;
        height: 30px;
        background: url('/img/layout/menu-icon.png') no-repeat 10px center;
        padding: 0px 10px 15px 52px;
        cursor: pointer;
        display: block; /* show menu icon */
		margin: 0px auto;
		line-height: 44px;
		text-shadow: 1px 1px 0px #330;
		vertical-align: middle;
		font-family: 'PT Serif', Times New Roman, sans-serif;
    }
    
    /* main nav */
    #nav {
        clear: both;
        width: 160px;
        z-index: 10000;
        padding: 5px;
        display: none; /* visibility will be toggled with jquery */
		width: auto;
		overflow: auto;
    }

	/*
	=========================================================================
	 PAGE STYLES
	=========================================================================
	*/

	#main .m-right-panel .left {
		width: 100%;
		float: none;
	}

	#sharethis {
		float: none;
		width: 250px;
	}
}

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

	/*
	=========================================================================
	 LAYOUT STYLES
	=========================================================================
	*/

	#mainsite {
		clear: both;
		width: auto;
	}

	#nav {
		width: 80%;
		margin: 0px auto;
	}

	#nav ul {
		float: none;
		margin: 0px;
		border: 0px;
		padding: 0px;
		width: 80%;
	}

	#nav .col1 {
		width: auto;
		margin: 0px;
		border-top: 1px solid #684839; 
	}

	#nav .col2 {
		width: auto;
		margin: 0px;
		border-bottom: 1px solid #684839;
	}

	#mainsite li {
		display: block;
	}

	#navigation {
		width: auto;
		margin: 0px auto;
	}

	#menu-toggle {
		width: auto;
	}

	#main .m-aside .minor {
		padding: 5px 0px;
	}

	#navigation .major a {
		margin: 0px;
		padding: 5px 0px 5px 0px;
	}

	#navigation form {
		padding: 10px 0px;
	}

	#navigation .searchbox {
		width: 130px;
	}

	/*
	=========================================================================
	 PAGE STYLES
	=========================================================================
	*/

	#main .m-right-panel .left {
		width: 100%;
		float: none;
	}

	#sharethis {
		float: none;
		width: 250px;
	}
}

@media screen and (max-width:320px) {
	#menu-toggle .menu-icon {
		font-size: 14px;
	}

	#navigation .searchbox {
		width: 100px;
	}
}