/*
 * 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;/* #001A57;*/ /* #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;/* #F6EAB8;*//*#a79c65; *//* #F2C45A; *//*lightgreen;*/ /*aliceblue; */ /*aquamarine;*/
    width: 40%;
    height: 88%;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;

    vertical-align: bottom;

}

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

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

}

#fileAreaDiv {
    font-size: 0;

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

}

#uploadArea {
    font-size: medium;
    background-color:  #CFEDED;/*#e2d892;*//* #BFB35A; *//*darkkhaki;*/ /*#e2d892;*/ /*lawngreen;*/
    //width: 60%;
    //height: 100%;
    display: inline-block;
    margin: 0;
    padding: 5px;
    vertical-align: bottom;


}

#downloadArea {

    font-size: medium;
    background-color: #E5EDDC;/*#a79c65; *//*#e2d892;*//*  moccasin;*/ /* plum;*/
    /*width: 40%;*/
    /*height: 100%;*/

    /*display: inline-block;*/
    display:none;
    margin: 0;
    padding: 5px;
    vertical-align: bottom;
    margin-left: 10px;


}

#playArea {
    display: inline-block;
    vertical-align: bottom;
   margin-left: 10px;
    font-size: medium;
}

#customQuizDets {
    /*display:none;*/
}

#infoArea {
    /*float:right;*/
    width: 100%;
    background-color: #dddddd;
    border-top: solid 1px;
    border-bottom: solid 1px;
    /*display: inline-block;*/
    font-size: small;
    /*margin-left: 0px;*/
    margin: 0;
    position: absolute;
    bottom:0;



}



#mainAreaDiv {
    font-size: 0;
    margin-top: 10px;

    height: 550px;
    width: 100%;
    background-color: white;

}


#leftMainDiv {
    font-size: medium;
    background-color: white; /*#75aeb5; *//* #5E8C6A;*//*#75aeb5;*/
    width: 75%;
    height: 100%;
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    /*overflow: scroll;*/
    position: relative;



}

#quizTabContainer {

    overflow:scroll;
    height: 90%;
    background-color: #75aeb5;
}

#quizCodeDet {
    /*width: 55px;*/
    background-color: #eeeeee;
}

#quizDescriptionDet {
    width: 200px;
}

#quizCodeExists {
    height: 20px;
    width: 20px;
    margin-left: 10px;
}

#quizDel {
    margin-left: 10px;
}

#lastLogon {
    font-size: 8px;
}

#liveLocation {
    width: 400px;
}

#instrList {
    margin-left: 200px;
}

#rightMainDiv {
    border-radius: 25px;
    font-size: medium;
    background-color: #f6eab8;/* #e2d892;*//*silver;*/
    width: 22%;
    height: 90%;
    display:  none; /*inline-block;*/
    margin: 0;
    padding: 0;
    margin-left: 10px;
    margin-top:25px;

    vertical-align: top;
    text-align: center;
    padding-bottom: 10px;


}



#newUserDiv {
    background-color:  #75aeb5; /*#5E8C6A;*//*#75aeb5;*/ /* #b3d4fc;*/
    padding: 30px;
    width: 300px;
    margin: auto;
    border-radius: 25px;
}


#footerDiv {

    background-color: #282304;/*#8C2318;*/ /*yellowgreen;*/
    color:white;
    height: 20px;
    width: 100%;
    margin-top: 30px;


}

table {
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

table {
    font-size: 14px;
}


#otherCodesTable td {
    font-size: 12px;

}


th {
    font-weight: bold;
}

[contenteditable="true"]:focus {
    background-color: white;
}

#mainTable  {
   /* background-color: yellow;*/
}

.createdTableHeaderRow {
    background-color: blue;  /*#a79c65;*/
    color: white;
    font-weight: normal;
}


.createdTableEvenRow {
    background-color: lightcyan;

}

.createdTableOddRow {
    background-color: lavender;
    /*background-color: lightcyan; */   /* #b8f9fc;*/

}

#otherCodesTable .createdTableEvenRow {
    background-color: white;

}

#otherCodesTable .createdTableOddRow {
    background-color: white;

}


.thick {
    font-weight: bold;

}


.noBorder {
    border:none;
}

#addForm {
    width: 100%;
}

#addTable {
   /* table-layout: fixed;*/
   width: 95%;

}

#addButton {
    margin-top: 10px;
}

#uR {
    width: 150px;
}

#newVers {
    width: 20px;
}

.addInput {
    /*margin: 5px;*/
    width: 115px;
}
textArea.addInput {
   width: 115px;
    height: 100px;
   /* margin: 5px;*/
}

img{
    margin:1px;
}
img:hover {
   /* background-color: mistyrose;*/
    border: 1px dotted pink;



}

#overlay {
    /*opacity: 0.5;*/
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    text-align:center;
    z-index: 1000;

    /*background-image:url("../img/checkerboard.gif");*/
    background: #000;
    background: rgba(0,0,0,0.7);
}

#overlay div {
    width:300px;
    margin: 100px auto;
    background-color: #75aeb5;
   /* border:1px solid #000;*/
    padding:15px;
    text-align:center;
    border: 5px solid #999;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


.loginBut {
    margin-top:10px;
    /*width: 70px;
    height: 30px;*/
}

#updateCustomServerBut {
    /*height: 40px;   */
    color: blue;
    /*background-color: aquamarine;*/
}

/* ==========================================================================
   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;
    }
}
