﻿@media (max-width: 1199px) {
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

        .navbar-collapse.collapse {
            display: none !important;
        }

    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }

    #activeSiteName {
        padding-left: 20px;
    }
}

@media (min-width: 1199px) {
    #activeSiteName li a {
        width: 125px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media screen {
    body {
        padding-top: 50px;
        padding-bottom: 20px;
    }
}

@media print {
    #sitewideHeaderImage {
        display: none;
    }
}

#sitewideHeaderImage {
    width: 100%;
    height: 154px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
/* End media queries */

/* TinyMCE editor style overrides */
body#tinymce {
    padding: 0;
    font-size: 10pt;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

    body#tinymce img, .questionText img {
        margin: 10px;
    }

/* Set padding to keep content from hitting the edges */
#body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

input#RegistrationCode {
    font-family: 'Courier New', Courier, monospace, serif;
}

span.input-group-addon {
    width: 0;
}

.form-horizontal {
    margin-left: 15px;
}

.validation-summary-errors ul li, .field-validation-error {
    color: red;
}

.field-validation-error {
    margin-left: 10px;
}

.input-validation-error {
    border-color: red;
}

nav.navbar-inverse {
    border: 0;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.5);
}

    nav.navbar-inverse .navbar-text {
        color: #fff;
    }

    nav.navbar-inverse .navbar-nav > li > a {
        color: #fff;
    }

.navbar-inverse .navbar-nav > .dropdown > a .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-top-width: 6px;
    border-right-width: 6px;
    border-left-width: 6px;
}

#belowNavbarContainer .alert, #surveyForm .panel-body table {
    margin-bottom: 0;
}

label + div input[type="checkbox"] {
    margin-top: 10px;
}

.ullist ul {
    list-style-type: none;
}

.btn[disabled] {
    color: #000;
}

/* QuestionList public page */

#progress-bar-outer {
    background-color: #f5f5f5;
    border: 1px solid #808080;
    border-radius: 6px;
    width: 100%;
    height: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

#progress-bar-inner {
    background-color: #f58232;
    height: 20px;
    -webkit-transition: width linear 2s;
    transition: width linear 2s;
}

#surveyForm .panel-body {
    padding: 5px 10px;
}

#startText, #endText, #alreadyCompletedText {
    text-align: center;
}

#questionsContainer .question {
    padding-bottom: 10px;
    margin-bottom: 10px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
}

    #questionsContainer .question textarea, .question input[type=text] {
        width: 100%;
    }

    #questionsContainer .question .glyphicon-asterisk {
        color: red;
        float: right;
    }

    #questionsContainer .question table th, #questionsContainer .question table td {
        text-align: center;
    }

.followUpQuestionWrapper {
    display: none;
}

.followUpQuestion {
    display: inline-block;
    padding: 5px 20px;
    border-left: 10px solid #ddd;
}

#gotoNextPage .glyphicon {
    padding-left: 4px;
}

#pagingContainer {
    margin-top: 10px;
}


/* file input bootstrap (for TinyMCE base64_image plugin) */
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

input[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.fullblackscreen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    left: 0;
    top: 0;
    z-index: 20;
     color: white;
}

.loaddiv {
    overflow: hidden;
    width: 100px;
    display: inline-table;
    margin-top: 20%;
   
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #005A83; /* Blue */
    -ms-border-radius: 50%;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    -ms-animation: spin 2s linear infinite;
    -o-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

span.tLight{
    height:0;
    float:right;
}