/* Sticky footer styles
-------------------------------------------------- */

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}
/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by its height */
    margin: 0 auto -110px;
    /* Pad bottom by footer height */
    padding: 0 0 110px;
}

/* Set the fixed height of the footer here */
#footer {
    height: 110px;
    background-color:#404040;
    border-color: #337ab7;
    padding:5px;
    border-top:1px outset #aaa;
    /*margin-top:50px;*/
}
#footer p{
    padding:30px 0 0 0;
    color: #FFFFFF;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

table tr td:last-child,table tr th:last-child  {
    text-align: right;
    white-space: nowrap;
    width: 200px;
    padding-right:10px;
}

/*
 * Callouts
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */

/* Common styles for all types */
.bs-callout {
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}


/* Variations */
.bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #eed3d7;
}
.bs-callout-danger h4 {
    color: #b94a48;
}
.bs-callout-warning {
    background-color: #faf8f0;
    border-color: #faebcc;
}
.bs-callout-warning h4 {
    color: #8a6d3b;
}
.bs-callout-info {
    background-color: #f4f8fa;
    border-color: #bce8f1;
}
.bs-callout-info h4 {
    color: #34789a;
}

.well.well-warning {
    background: -webkit-linear-gradient(180deg, #FAEBCC, #F3F3F3);
    background:linear-gradient(270deg, #FAEBCC, #F3F3F3);
}
.dropdown-menu {
    z-index:1001;
}

/** forms updates */

div.form-group label.control-label.left{
    text-align:left;
}
td label.control-label.left{
    text-align:left;
}
div.no-left-padding{
    margin-left:-10px;
    padding-left:0px;
}
div.form-group label.control-label.left.adjacent{
    /*margin-left:px;*/

}
div.splash{
    background: #D6EFF7;
    background: rgba(91, 192, 222, 0.25);
    padding: 30px;
    border-radius:10px;
    box-shadow:  0 1px 5px rgba(0,0,0,.15);
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.15);
}
.no-bold label {
    font-weight:normal;
}

/* Ensure that on ipad portrait width size screens the label text is aligned left by default. */

@media (min-width: 768px) {
    div.form-group label.control-label{
        text-align:left;
    }

}
@media (min-width: 769px) {
    div.form-group label.control-label{
        text-align:left;
    }

}
@media (min-width: 992px) {
    div.form-group label.control-label{
        text-align:right;
    }
}
input[type=number] {
    -moz-appearance: textfield;
}

.slider-padding {
    padding:20px;
}
.small-slider-padding {
    padding:20px;
}

form .panel {
    /*min-height: 400px;*/
    vertical-align: middle;
}

.slider-steps {
    border: 1px solid transparent; /*follows #slider2 style for sizing purposes */
    width: 100%;
    position: relative;
    height: 30px;
}
.slider-steps-vertical {
    border: 1px solid transparent; /*follows #slider2 style for sizing purposes */
    height:400px;
    position: absolute;
    top:0;
}

.tick {
    border: 1px solid transparent; /*follows slide handle style for sizing purposes*/
    position: absolute;
    width: 1.2em;
    margin-left: -0.6em;
    margin-top:-6px;
    text-align:center;
    left: 0;
    color:#777;
}

.slider-steps-vertical .tick {
    border: 1px solid transparent; /*follows slide handle style for sizing purposes*/
    position: absolute;
    width: 5em;
    margin-left: -0.6em;
    margin-top:7px;
    text-align:right;
    left: -60px;
    color:#777;
}


.slider-steps span:last-of-type span {
    position:absolute;
    text-align:right;
    right:0px;
}

.slider-steps-vertical span:last-of-type span {
    text-align:left;
}

/*.ui-slider .ui-slider-handle{
    width: 2em !important;
}

.ui-slider-handle {
    text-decoration: none;
    text-align: center;
    padding: 5px;
    margin-left:-1em !important;
}*/

table label { font-weight:normal;}

.grid {
    border:1px solid #000;

    border-radius:3px 3px;
}

.group table tr td:last-child,table tr th:last-child  {
    text-align: center;
    white-space: inherit;
    width: inherit;
    padding-right:inherit;
}
table tr th:last-child {
    padding-right:10px;
}

.group table tr td,table tr th  {
    text-align: center;

}
.group table tr td:first-child,table tr th:first-child  {
    text-align: left;
}

img.some-left-margin {
    margin-left:5px;
}

.school-masthead {
    padding:20px;
    text-align:center;
}
img.img-padding {
    padding: 10px;
}

div.page {
    font-size:1.1em;
}

img.drinksimg {
    max-width:700px;
    min-width:400px;
    width:100%;
}

.ladder {
    padding:10px 0px 10px 0px;
}
.ladder-rung {
    display:inline-block;
    border-left: 4px solid #4B1A04;
    border-right: 4px solid #4B1A04;
    border-top:2px solid #4B1A04;
    width:7em;
    text-align:center;
}

div.ladder div.ladder-rung-wrapper:first-of-type .ladder-rung {
    border-top:none;
}

.ladder-rung input {
    margin:10px 0px 10px 0px;
}
.ladder-rung-wrapper {
    width:24em;
}
.ladder-rung-wrapper label {
    text-align:left;
    padding-left:1em;
    margin-bottom:0px;
}

div.radio.ladder-padding{
    padding-left:3.1em;
}

div.panel-heading h2 {
    font-size: 1.3em;
    margin-top:4px;
    margin-bottom: 2px;
}
div.panel-heading h2 button {
    margin-top: -7px;
}

.centre-questions table td:last-child {
    width:30%;
    text-align:left;
}
li.dropdown-header{text-transform:uppercase;font-weight:normal;border-bottom:1px #ccc solid;color:#fff;background-color:#97BF0D;padding:5px}

.testWatermark{
    background-image: url('../graphics/test_watermark.png');
    background-repeat: repeat;
}
.badge-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}

.badge-primary{color:#fff;background-color:#007bff}
.badge-primary[href]:focus,.badge-primary[href]:hover{color:#fff;text-decoration:none;background-color:#0062cc}
.badge-secondary{color:#fff;background-color:#6c757d}
.badge-secondary[href]:focus,.badge-secondary[href]:hover{color:#fff;text-decoration:none;background-color:#545b62}
.badge-success{color:#fff;background-color:#28a745}
.badge-success[href]:focus,.badge-success[href]:hover{color:#fff;text-decoration:none;background-color:#1e7e34}
.badge-info{color:#fff;background-color:#17a2b8}.badge-info[href]:focus,
                                                .badge-info[href]:hover{color:#fff;text-decoration:none;background-color:#117a8b}
.badge-warning{color:#212529;background-color:#ffc107}.badge-warning[href]:focus,
                                                      .badge-warning[href]:hover{color:#212529;text-decoration:none;background-color:#d39e00}
.badge-danger{color:#fff;background-color:#dc3545}
.badge-danger[href]:focus,.badge-danger[href]:hover{color:#fff;text-decoration:none;background-color:#bd2130}
.badge-light{color:#212529;background-color:#f8f9fa}.badge-light[href]:focus,
                                                    .badge-light[href]:hover{color:#212529;text-decoration:none;background-color:#dae0e5}
.badge-dark{color:#fff;background-color:#343a40}
.badge-dark[href]:focus,.badge-dark[href]:hover{color:#fff;text-decoration:none;background-color:#1d2124}


.special {
    font-weight: bold !important;
    color: #fff !important;
    background: #bc0000 !important;
    text-transform: uppercase;
}



.table>thead>tr>td.orange,.table>tbody>tr>td.orange,.table>tfoot>tr>td.orange,.table>thead>tr>th.orange,.table>tbody>tr>th.orange,.table>tfoot>tr>th.orange,.table>thead>tr.orange>td,.table>tbody>tr.orange>td,.table>tfoot>tr.orange>td,.table>thead>tr.orange>th,.table>tbody>tr.orange>th,.table>tfoot>tr.orange>th{background-color:#ffe6cc}

/*loading page*/
#load{
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 25%;
}

/* dark theme for forms */
.panel > .panel-heading {
    background-image: none;
    background-color: forestgreen;
    border-color: darkgrey;
    color: white;

}

/*.panel > .panel-body {
    background-image: none;
    background-color: lightgrey;
    border-color: darkgrey;
    color: black;

}*/

.panel {
    border-color: darkgrey;

}

html body {
    background-color: #dbdbdb !important;

}

.list-group-item {
    background-color: lightgrey;

}