.estPage {
    display: none;
}

.estPage.active {
    display: inline;
}


body {
    font-size: 15px;
    background: #FFFFFF !important;
}

.touch body {
    font-size: 14px;
}

.bold {
    font-weight: bold;
}

.quest-label {
}

#mainContent b {
    font-weight: 500;
}

.checkbox, .radio {
    margin-top: 10px;
}

.touch .checkbox, .touch .radio {
    margin-top: 12px;
}

.checkbox label, .radio label {
    margin-bottom: 5px;
}

.font-md {
    font-size: 15px;
}

.font-sm {
    font-size: 12px;
}

.sr-fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

#wrapper {
    margin: 0 auto;
    max-width: 800px;
    padding: 0px 15px 15px 15px;
}


.query-form-control {
    margin: 30px 0px;
}

.query-form-control textarea {
    width: 100%;
    height: 80px;
}

.query-form-control .label {
    font-weight: bold;
}

.query-form-control-rating {
    margin-bottom: 40px;
}

.query-form-control-rating .label {
    font-weight: bold;
}

.rating-selector table {
    width: 100%;
    border-collapse: collapse;
}

.rating-selector th {
    font-weight: 400;
}

.rating-label {
    padding-left: 5px;
    padding-right: 5px;
}

.rating-value {
    text-align: center;
}

.no-labels .rating-values {
    display: none;
}

.rating-matrix-quest {
    text-align: left;
    font-weight: 400;
}

.rating-option {
    text-align: center;
}

.rating-option {
    background-color: #DDDDDD;
}

.rating-option-skin {
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.rating-option-div {
    padding: 5px 5px 8px 5px;
}

.choice-separator {
    border-left: 1px solid #ccc;
}

.statements {
    color: #999;
    font-size: 11px;
    line-height: 18px;
    margin-bottom: 15px;
}

.overview {
    padding: 0;
}

.footer {
    margin-top: 30px;
}

.admin_label {
    float: left;
    width: 80px;
}

.branched {
    display: none;
}

.touch h2 {
    font-size: 1.35em;
}

.touch h1 {
    margin: 25px 0px 15px 0px;
    line-height: inherit;
}

select[aria-invalid=true] {
    border-color: #DD1E31;
}

input[aria-invalid=true] {
    border-color: #DD1E31;
}

textarea[aria-invalid=true] {
    border-color: #DD1E31;
}

/* .invalid class prevents CSS from automatically applying */
.invalid input:required:invalid {
    border-color: #DD1E31;
}

.invalid textarea:required:invalid {
    border-color: #DD1E31;
}

/* Mark valid inputs during .invalid state */
.invalid input:required:valid {
    border-color: #333333;
}

.invalid textarea:required:valid {
    border-color: #333333;
}

.btn-no-shadow {
    box-shadow: none !important;
}

/* for star rating question*/

.sr_container {
    margin: 0 0 32px ;
    padding: 8px 0 24px 0;
}


.star_rating {
    float:left;
    font-size: 24px;
}

.star_rating:not(:checked) > input {
    display:block;
    position:absolute;
    opacity:0.01;
    z-index:100;
}

.star_rating:not(:checked) > label {
    float:right;
    width:1.2em;
    padding:0 .1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:150%;
    line-height:1.2;
    color:#ddd;
    /*text-shadow:1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0,0,0,.4);*/
}


.star_rating:not(:checked) > label:before {
    content: '★ ';
}

.star_rating > input:checked ~ label {
    color: gold;
    /*text-shadow:1px 1px goldenrod, 2px 2px #B57340, .1em .1em .2em rgba(0,0,0,.5);*/
}

.star_rating:not(:checked) > label:hover,
.star_rating:not(:checked) > label:hover ~ label {
    color: #E5E500;
    /*text-shadow:1px 1px goldenrod, 2px 2px #B57340, .1em .1em .2em rgba(0,0,0,.5);*/
}

.star_rating > input:checked + label:hover,
.star_rating > input:checked + label:hover ~ label,
.star_rating > input:checked ~ label:hover,
.star_rating > input:checked ~ label:hover ~ label,
.star_rating > label:hover ~ input:checked ~ label {
    color: yellowgreen;
    /*text-shadow:1px 1px goldenrod, 2px 2px #B57340, .1em .1em .2em rgba(0,0,0,.5);*/
}

.star_rating > label:active {
    position:relative;
    top:2px;
    left:2px;
}


/* ----- for thumb rating ----- */
input.thumbs-rating {
    display:block;
    position:absolute;
    opacity:0.01;
    z-index:100;
}

label.thumbs-rating {
    background-color: transparent !important;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100% !important;
    border: 3px solid transparent !important;
    box-shadow: none !important;
    background-image: none;
    padding: 10px 10px;
    margin-right: 24px;
    font-size: 32px;
    color: gray;
}


label.thumbs-rating:hover {
    color: black;
}

label.thumbs-rating:active{
    outline: none;
    border: 3px solid rgba(177,177,177,.75) !important;
    box-shadow: none;

}

input.thumbs-rating:checked + label.thumbs-rating {
    color: #0654BA;
}


div.thumb-rating-container {
    margin: 10px 24px;
}

.query-form-control.group {
    margin-top : -30px;
}

.inst, .default-inst {
    margin-bottom: 5px;
    font-weight: 400;
}

div.radio label span {
    position: relative;
    top: 4px;
}

div.checkbox label span {
    position: relative;
    top: 3px;
}

label {
    font-weight: 400;
}

.text-danger {
    color: #DD1E31;
}

/* Safari 9 */

@supports (overflow:-webkit-marquee) and (justify-content:inherit)
{

    div.radio label span {
        position: relative;
        top: 3px;
    }

    div.checkbox label span {
        position: relative;
        top: 2px;
    }

}

a {
    color: #0654BA;
}

a, a:focus, a:visited {
    color: #00489F;
}

.element-notice {
    padding: 0px 0px 12px 0px;
    font-size: 13px;
}

.touch .element-notice {
    font-size: 12px;
}

.table-striped .radios input[type="radio"] + label::before, .radios input[type="radio"] + span::before {
    color: rgba(0,0,0,0.5);
}

.radios .rating-option-div input[type="radio"] + label::before, .radios input[type="radio"] + span::before {
    color: rgba(0,0,0,0.5);
}

.table-striped .radios input[type="radio"]:checked + label::before, .radios input[type="radio"]:checked + span::before {
    color: #0654ba;
}

.radios .rating-option-div input[type="radio"]:checked + label::before, .radios input[type="radio"]:checked + span::before {
    color: #0654ba;
}

.spinner--small[role="img"][aria-label] {
    height: 12px;
    width: 12px;
}

select[multiple], select[size] {
    overflow-y: scroll;
}

.delete-choice-container {
    margin-bottom: 16px;

}

.reached-max-count {
    color: #DD1E31;
}

/* >--------------for mobile--------------> */
.touch .radio {
    border: none;
    vertical-align: middle;
    margin: 12px 0 0 0;
    background-color: #FAFAFA;
}

.touch .radio > input {
    display: none;
}
.touch .radio > label {
    width: 100%;
    padding: 8px;
    margin: 0;
    border: 1px solid #DDD;
    border-radius: 3px;
}

.touch .radio > input:checked ~ label{
    width: 100%;
    padding: 8px;
    border: 1px solid #cce6ff;
    margin: 0;
    background-color: #cce6ff;
}


.touch .multi-select {
    border: none;
    vertical-align: middle;
    margin: 12px 0 0 0;
    background-color: #FAFAFA;
}

.touch .multi-select > input {
    display: none;
}
.touch .multi-select > label {
    width: 100%;
    padding: 8px;
    margin: 0;
    border: 1px solid #DDD;
    border-radius: 3px;
}

.touch .multi-select > input:checked ~ label{
    width: 100%;
    padding: 8px;
    border: 1px solid #cce6ff;
    margin: 0;
    background-color: #cce6ff;
}
/* <--------------for mobile--------------< */

.popover {
    word-wrap: break-word;
}

.btn--access {
    background-color: #5cb85c !important;
    border: 1px solid #5cb85c !important;
    color: #FFF !important;
}

.btn--access:hover, .btn--access:focus {
    opacity: 0.7;
}