/*
 * What follows is the result of much research on cross-browser styling.
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


p,div,h1,h2 {
    margin: 0;
    padding: 0;
}
body {
    width: 1200px;
    margin-left:auto;
    margin-right: auto;

}

#bannerDiv {

//background-color: brown;
    height: 110px;
    width: 100%;
    font-size: 0;

}

#leftBannerDiv {
    font-size: medium;
    background-color: #3A5E96;/* #282304;  *//*#8C2318; *//* antiquewhite;*/
    color: white;
    width: 60%;
    height: 88%;
    display: inline-block;
    margin: 0;

    padding: 0;
    padding-top: 10px;
    vertical-align: bottom;


}

#rightBannerDiv {

    font-size: medium;
    display: inline-block;
    background-color: #DAD0C6;/*#a79c65;*//* #F2C45A; *//*lightgreen;*/ /*aliceblue; */ /*aquamarine;*/
    width: 40%;
    height: 88%;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;

    vertical-align: bottom;

}

#logoImg {
    display: inline-block;
    margin-left: 100px;
    float: right;
}

#loginDiv {
    display:none;
    text-align: center;
    margin: 10px;
}

#loggedOnDiv {
    display: none;
//text-align: center;
    margin: 10px;

}

#controlDiv {
    width: 100%;
    height: 80px;
    background-color: #CFEDED;/* #dddddd;*/
}

#chooserDiv {
    display: inline-block;
    width: 20%;
    height: 100%;
   /* background-color: lightcyan;*/

}
#progressDiv{
    display: inline-block;
    vertical-align: top;
    background-color: #F7F3E2;/*blanchedalmond;*/
    width: 25%;
    height: 100%;
    padding-left: 10px;

}
#quizInfoDiv {
    float: right;
    display: inline-block;
    vertical-align: top;
    /*background-color: darkgoldenrod;*/
    width: 20%;
    height: 100%;
}

#fileAreaDiv {
    font-size: 0;

//background-color: #88A65E;/*brown;*/
// height: 80px;
    width: 100%;
    margin-top: 5px;

}



#quizArea {
    display: none;
    border: groove;

}

#quizQuestion {
    height: 60px;
}

#quizChoices {
    display: inline-block;
    width: 60%;
}

#navig {
    display: inline-block;
    visibility: hidden;
    vertical-align: top;
    margin-top: 100px;
    border: groove;

}

#scoreDiv {
    border: groove;
    /*margin-left: 20px;*/
    margin-top: 5px;
    display: inline-block;
    vertical-align:top;
    /*margin-top: 140px;*/
    font-size: x-large;
    background-color:  #F7F3E2;/* blanchedalmond;*/
    width: 10%;

}

#score {
    /*float: right;*/

}

#best {
    /*float: right;*/
    font-size: small;
}

#bestLab {
    font-size: small;
}



.quizBut {

    margin-left: 10px;
    margin-right: 20px;
    margin-top: 10px;
    width: 110px;
    height: 50px;
}

.navBut {
    margin-left: 5px;
   /* margin-right: 20px;*/
    /*margin-top: 20px;*/
   /* width: 80px;*/
   /* height: 50px;*/

}


#incorrectLab {
    margin-left: 50px;
}

#quizQuestion {
    font-size: large;
    margin-left: 40px;
    margin-top: 20px;
}

.correct {
    /* correct/wrong image*/
    height: 80px;
    width: 60px;
    margin-left: 200px;
    visibility: hidden;

}



.alignLab {
    display: inline-block;
    float: left;
    clear: left;
    width: 80px;
    text-align: right;
}
.alignEl {
    display: inline-block;
    float: right;

}



.btn {
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    /*-webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;*/
    font-family: Arial;
    color: #ffffff;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
}

.btn:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;
}

.btn-small {
    background: #7cbfeb;
    background-image: -webkit-linear-gradient(top, #7cbfeb, #369fe0);
    background-image: -moz-linear-gradient(top, #7cbfeb, #369fe0);
    background-image: -ms-linear-gradient(top, #7cbfeb, #369fe0);
    background-image: -o-linear-gradient(top, #7cbfeb, #369fe0);
    background-image: linear-gradient(to bottom, #7cbfeb, #369fe0);
    font-family: Arial;
    color: #ffffff;
    font-size: 13px;
    padding: 3px 6px 3px 6px;
    text-decoration: none;
}

.btn-small:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;
}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
