/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

/* for dynamic sizing */

:root { 
  --vw: 100vw;
  --vh: 100vh;
}

/* Update dimensions on orientation change */

@media (orientation: portrait) {
  :root {
    --vw: 100vw;
    --vh: 100vh;
  }
}

@media (orientation: landscape) {
  :root {
    --vw: 100vh;
    --vh: 100vw;
  }
}

html {
    background:#8fd3fa;	/* main page background color */
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    /*background-color:#FFFFFF;	/* main body background color */
    /*background-image: url(/img/topbanner-lt.png);	/* main body background image */
    background: #FFFFFF url(/img/topbanner-lt.png) no-repeat center center fixed;
    font-size: 1em;
    line-height: 1.4;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

#lightsout, #time_limit_warning, #time_limit_ending {
	position:absolute;
	top:0px;
	left:0px;
	margin:0px;
	padding:0px;
	width:100%;
	min-height:480px;
	height:100%;
	z-index:1000;
	text-align:center;	
}

#lightsout .backdrop, #time_limit_warning .backdrop, #time_limit_ending .backdrop, #ended_session .backdrop {
	position:absolute;
	top:0px;
	left:0px;
	margin:0px;
	padding:0px;
	width:100%;
	min-height:480px;
	height:100%;
	text-align:center;	
	background:#004;
	filter: alpha(opacity: 85);
	KHTMLOpacity: 0.85;
	MozOpacity: 0.85;
	opacity: 0.85;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 85);
}

#lightsout input, #time_limit_warning input, #time_limit_ending input {
	border:none;
	margin:0 0 0 10px;
	background-color:#CC3333; 
	color:#ffffff;
	overflow:visible;
	padding: 10px 10px;
	min-width: 50px;	
	-webkit-border-radius:6px; /* chrome and safari browsers */
	-moz-border-radius:6px; /* mozilla firefox */
	-khtml-border-radius: 6px; /* some linux browsers */
	border-radius:6px; /* w3c standard */
        -webkit-box-shadow: 0 5px 10px #888;
           -moz-box-shadow: 0 5px 10px #888;
                box-shadow: 0 5px 10px #888;
}

#lightsout input:hover, #time_limit_warning input:hover, #time_limit_ending input:hover { /* hover color of quit buttons */
	background:#E44D26;
}

.blurb {
	position:absolute;
	border:none;
	top:50%;
	left:50%;
	margin-top:-100px;
	margin-left:-210px;
	padding:0px;
	padding-top:40px;
	padding-bottom:40px;
	/*background-color:#CCCCCC;*/
	background: #CCCCCC url(/img/topbanner-lt.png) no-repeat center center fixed;
	color:#000000;
	overflow:visible;
	width: 400px;	
	-webkit-border-radius:10px; /* chrome and safari browsers */
	-moz-border-radius:10px; /* mozilla firefox */
	-khtml-border-radius: 10px; /* some linux browsers */
	border-radius:10px; /* w3c standard */
	-moz-box-shadow: inset 0 0 10px 0 #000; /* mozilla firefox */
	-webkit-box-shadow: inset 0 0 10px 0 #000; /* chrome and safari browsers */
	box-shadow: inset 0 0 10px 0 #000; /* w3c standard */
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 20px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Default Theme
   =================== */

.header-container {
    border-bottom: 20px solid #017ebd;	/* header bar bottom border color */
}

.footer-container,
.main aside {
    border-top: 20px solid #017ebd;	/* footer bar and side video bar top border color */
}

.header-container,
.footer-container,
.main aside {
    background: #8fd3fa;	/* default header bar,footer bar, and side video background color */
}

.header-container {
    background: #ffffff;	/* header bar background color */
}

.footer-container {
    background: #8fd3fa;	/* footer bar background color */
}

.main aside {
    /*background: #000000;	/* side video background color */
    background: #8fd3fa;	/* side video background color */
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav {
 	font: 16px/20px Helvetica, Helvetica Neue, Arial;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white; /* nav button text color */
    background: #017ebd; /* nav button background color */
	
    -webkit-border-radius:16px; /* chrome and safari browsers */
    -moz-border-radius:16px; /* mozilla firefox */
    -khtml-border-radius: 16px; /* some linux browsers */
    border-radius:16px; /* w3c standard */
    webkit-box-shadow: inset 0 0 2px 2px #aaa, 0 5px 10px #aaa;
    moz-box-shadow: inset 0 0 2px 2px #aaa, 0 5px 10px #aaa;
    box-shadow: inset 0 0 2px 2px #aaa, 0 5px 10px #aaa;		
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: none;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

nav a, button, .button, input[type='button'], input[type='submit'] {
    font-size:16px;
    padding:8px;
    padding-left:16px;
    padding-right:16px;
    cursor:pointer; cursor:hand;
    -webkit-border-radius:16px; /* chrome and safari browsers */
    -moz-border-radius:16px; /* mozilla firefox */
    -khtml-border-radius: 16px; /* some linux browsers */
    border-radius:16px; /* w3c standard */
    webkit-box-shadow: inset 0 0 2px 2px #aaa, 0 5px 10px #aaa;
    moz-box-shadow: inset 0 0 2px 2px #aaa, 0 5px 10px #aaa;
    box-shadow: inset 0 0 2px 2px #aaa, 0 5px 10px #aaa;
		
    background: #8483a0; /* Old browsers */
	  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg0ODNhMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzY2YTRkNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iIzY2YTRkNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2RhZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #8483a0 0%, #66a4d6 50%, #66a4d6 51%, #ccdae5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8483a0), color-stop(50%,#66a4d6), color-stop(51%,#66a4d6), color-stop(100%,#ccdae5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #8483a0 0%,#66a4d6 50%,#66a4d6 51%,#ccdae5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #8483a0 0%,#66a4d6 50%,#66a4d6 51%,#ccdae5 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #8483a0 0%,#66a4d6 50%,#66a4d6 51%,#ccdae5 100%); /* IE10+ */
    background: linear-gradient(to bottom, #8483a0 0%,#66a4d6 50%,#66a4d6 51%,#ccdae5 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8483a0', endColorstr='#ccdae5',GradientType=0 ); /* IE6-8 */
}
	
nav a, button, .button, .button:link, .button:visited, input[type='button'], input[type='submit'], input[type='button']:link, input[type='button']:visited, button, input[type='submit']:link, input[type='submit']:visited { color:#FFF; }
	
nav a:hover, nav a:active, .button:hover, .button:active, input[type='button']:hover, input[type='button']:active, input[type='submit']:hover, input[type='submit']:active { color:#FF3; }
    
#id_word_image,
#id_tb_image { /* 0.625 em/rem = 10px, 0.3125 = 5px */
		 -webkit-border-radius: 0.625em; /* chrome and safari browsers */
		    -moz-border-radius: 0.625em; /* mozilla firefox */
		  -khtml-border-radius: 0.625em; /* some linux browsers */
		         border-radius: 0.625em; /* w3c standard */
        -webkit-box-shadow: 0 0.3125em 0.625em #888;
           -moz-box-shadow: 0 0.3125em 0.625em #888;
                box-shadow: 0 0.3125em 0.625em #888;
/*
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
		    -webkit-box-shadow: #222222 0px 0px 10px;
		       -moz-box-shadow: #222222 0px 0px 10px;
		            box-shadow: #222222 0px 0px 10px;*/
}
	
.bclose_full, 
.bquest_full, 
.bskip_full {
	display:none;
}

.bclose_tiny,
.bquest_tiny, 
.bskip_tiny {
	display:block;
}

/********************************************************************************************************/

.overlay { /* base coding - additionally needs top and margin-left settings for the overlays to work */ 
	position:absolute;
	left:50%;
	z-index:100;
}

.image_overlay_1 /* divs, etc... */
{
	top:60px;
	margin-left:-400px;
}

.header-marquis {
    display: block;
    clear: both;
    text-align: left;
	margin-top:-23px; 
	margin-left:30px;
  	color: #FFFFFF;
    font-size:.7em;
    font-weight:bold;	
	white-space:nowrap;
	-ms-word-break: keep-all;
	word-break: keep-all;
	-webkit-hyphens:none;
	-moz-hyphens:none;
	hyphens:none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 480px) {

.header-marquis {
	margin-left:2px;
	margin-top:-20px; 
    font-size:.5em;
}

}

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        /*width: 27%;*/
        width: 10%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    .inline-block {
        display:inline-block; *display:inline; *zoom:1;
    }

    nav ul li {
        display:inline-block; *display:inline; *zoom:1;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
	
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }
	
	.bclose_full, 
	.bquest_full, 
	.bskip_full {
		display:block;
	}

	.bclose_tiny, 
	.bquest_tiny, 
	.bskip_tiny  {
		display:none;
	}

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

    nav a {
        width: 27%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (max-width: 980px) {

.header-marquis {
	margin-left:4px;
	margin-top:-22px; 
    font-size:.6em;
}

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}