﻿/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.b
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

body {
height: 100%;
font-size: 2.5vmin;
background: #fff;
overflow: hidden;
}

body.intro {
	background: #E9EBED;

}

h1 {
	color: #000;
	font-size: 6vmin;
}

h3 {
	color: #227B74;
	font-size: 4vmin;
}
ul li {
	list-style-type: none;
    line-height: 1.4;
    margin-bottom: 15px;
}
label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
    font-weight: 200;
}

input {
width: 2vmin;
height: 2vmin;
padding: 0;
margin: 0;
/*vertical-align: -2vh;*/
position: relative;
/*top: -2vmin;*/
}



#main {
	padding: 3vmin 5vmin
}

#header {
	background: #227B74;
	width: 100%;
	height: 8vmin;
	line-height: 8vmin;
	font-size: 4vmin;
	color: #fff
}

#header div {
	display: inline-block
}

#header #logo {
	background: url(http://screener.thelearningodyssey.com/Content/Images/logo_CL_white.svg) no-repeat center center;
    width: 32vmin;
    height: 8vmin;
    background-size: 100% auto;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://screener.thelearningodyssey.com/Content/Images/logo_CL_white.svg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='http://screener.thelearningodyssey.com/Content/Images/logo_CL_white.svg',sizingMethod='scale')";
}

#exit
{
    background: url(http://screener.thelearningodyssey.com/Content/Images/icon_exit.svg) no-repeat center center;
    width: 5vmin;
    height: 8vmin;
    background-size: 100% auto;
    float: right;
    margin-right: 4vmin;
}

.audiobug
{
    background: url(http://screener.thelearningodyssey.com/Content/Images/audioBug.svg) no-repeat;
    width: 8vmin;
    height: 6vmin;
    position: relative;
    top: 15px;
    display:none;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://screener.thelearningodyssey.com/Content/Images/audioBug.svg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='http://screener.thelearningodyssey.com/Content/Images/audioBug.svg',sizingMethod='scale')";
}

.audiobody
{
    display:inline-block;
}

.audiochoice
{
    display:inline-block;
}

#header #welcome {
    position:absolute;
	margin: 0 auto;
	/*width: 100%;*/
	text-align: center;
    margin-left:20%;
}


button, #nextsection.close {
background: #227B74;
color: #fff;
font-size: 3vmin;
padding: 0 8vmin;
line-height: 5vmin;
border: 0;
opacity: 1;
text-shadow: none;
margin-left: 1vw;
/*width: 2vmin;*/
}

#nextsection.close {
	position: absolute;
	bottom: 3vmin;
	right: 3vmin;
}

button:hover {
	background: #20968d;
}

#testdiv,
#footernav {
	display: none
}

#footernav {
	position: fixed;
	bottom: 0;
	width: 100vw;
	padding: 3vmin;
	border-top: 1px solid #ccc;
	background: #fff
}

#navdots {
	clear: left
}

#navdots div {
width: 3vmin;
height: 3vmin;
border: .5vmin solid #fff;
box-shadow: 0px 0px 1px 1px #ccc;
background: #fff;
border-radius: 50%;
float: left;
margin-right: 2vmin;
margin-bottom: 1.5vh;
}



#navdots  div.completed {
	width: 3vmin;
	height: 3vmin;
	border:.5vmin solid #fff;
	box-shadow: 0px 0px 1px 1px #ccc;
	background: #599C97;
	border-radius: 50%;
	float: left;
	margin-right: 2vmin
}

#questionsnum {
float: left;
margin-bottom: 1vh;
}

#navbuttons {
	/*float: right;
    width:100%;
    margin-left:40%;
    padding-right: 20vmin;*/
}

#prev,
#submit {
	display: none
}

#testname {
width: 100%;
background: #DCDDE0;
color: #000;
padding-left: 3vmin;
line-height: 6vmin;
font-size: 3vmin;
}

/*.modal {
	background: #fff;
	border: 1px solid #333;
	top: 9vmin;
	bottom: 9vmin;
	left: 9vmin;
	right: 9vmin;

}

.modal-body {
	position: absolute;
	top: 0;
	bottom: 0
}

.modal-header,
.modal-body,
.modal-footer {
	border: 0;
	padding: 1vmin auto;
	width: 100%;
}
    */
.slide .left,
.slide .right {
	float: left;
	width: 44%;
	height: 100%;
	/*padding-bottom: 22vh  #remove extra space at bottoms of passages*/
}

.slide .left {
	padding-right: 5%;
    height:65vmin;
    overflow:auto;
}

.slide .right {
	padding-left: 5%;
	border-left: 1px solid #ccc;
    width:56%;
    height:65vmin;
    overflow: auto;
}

.scrollquestions {
	width: 100%;
	border-bottom: 1px solid #ccc;
	padding-bottom: 4vh
}

.webbutton
{
 display:block;
	border-style:solid;
	border-color:#bbb #888 #666 #aaa;
	border-width:3px 4px 4px 3px;
	height:2em;
	background:#ccc;
	color:#333;
	line-height:2;
	text-align:center;
	text-decoration:none;
	font-weight:900;
}

.webbutton::-moz-focus-inner,
    input::-moz-focus-inner {
    border: 0;
    padding: 0;
    }

.webbutton:hover
{
	 border-color: #666 #aaa #bbb #888;
	border-width:4px 3px 3px 4px;
	color:#000;
}

.MathJax
{
    font-size: 80% !important;
}

/*.left p
{
    margin: 0 0 0 0;  commented out for conflict with content
}*/

.modal-open .dropdown-menu{z-index:2050}
.modal-open .dropdown.open{*z-index:2050}
.modal-open .popover{z-index:2060}
.modal-open .tooltip{z-index:2070}
.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}
.modal-backdrop.fade{opacity:0}
.modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)}
.modal{position:fixed;top:50%;left:50%;z-index:1050;max-height:500px;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box}
.modal.fade{-webkit-transition:opacity .3s linear,top .3s ease-out;-moz-transition:opacity .3s linear,top .3s ease-out;-ms-transition:opacity .3s linear,top .3s ease-out;-o-transition:opacity .3s linear,top .3s ease-out;transition:opacity .3s linear,top .3s ease-out;top:-25%}
.modal.fade.in{top:50%}
.modal-header{padding:9px 15px;border-bottom:1px solid #eee}
.modal-header .close{margin-top:2px}
.modal-body{padding:15px}
.modal-footer{padding:14px 15px 15px;margin-bottom:0;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;*zoom:1}
.modal-footer:before,.modal-footer:after{display:table;content:""}
.modal-footer:after{clear:both}
.modal-footer .btn{float:right;margin-left:5px;margin-bottom:0}
.xli header{font-size:1.25em;font-weight:bold;margin-bottom:.5em}
.xli.dialog{/* width:auto; */margin:0;overflow:hidden;bottom:auto;}
.xli.dialog .modal-body{overflow:auto}
.xli.dialog .draggable{cursor:move}
.xli.dialog .well{margin-bottom:0}