﻿/* 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-main-content
{
    margin-bottom: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 580px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

div.validation-summary-errors {
    color: #b94a48;
    background-color: orange;
}
div.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
    text-align: center;
}
    div.validation-summary-errors ul li {
        padding: 5px 0 5px 0;
    }

.validation-summary-valid {
    display: none;
}

input.align-right
{
    text-align: right;
}

label
{
    font-weight: normal;
}

label.gridLookup
{
    text-align: left;
}

#form_details div.w2ui-field.w2ui-required > div::before,
div.form_details div.w2ui-field.w2ui-required > div::before 
{
    display: none;
/*
    content: '*';
    position: absolute;
    margin-top: 5px;
    margin-left: -9px;
    color: #ff0000;
*/}


/* App specific */

section.view-header
{
    margin-bottom: 7px;
}
section.view-header:after
{
    clear: both;
}

section.view-header > div.view-header-label
{
    font-weight: bold;
    margin-bottom: 3px;
}

section.view-header > div.view-header-text
{
    margin-bottom: 3px;
}

section.view-actions
{
    margin-top: 10px;
}

#videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
    #videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

form.form-questions div.iradio_minimal
{
    margin-right: 7px;
}

div.form-control-question {
    max-width: 580px;
    margin-top: 10px;
}

input.form-control.datepicker
{
    max-width: 200px;
}

section.view-header:after
{
    clear: both;
    display: table;
    content: " ";
}

#filterBar section
{
    margin-bottom: 7px;
}
#filterBar section:after
{
    clear: both;
    display: table;
    content: " ";
}
#filterBar section input
{
    width: 300px;
}

/* -- Radio Button Mobile Fix -- */
/*input[type="checkbox"] { -webkit-appearance: checkbox; }*/
input[type="radio"] { -webkit-appearance: radio !important; }
/*input[type="submit"], input[type="button"] { -webkit-appearance: button; }*/
/*select { -webkit-appearance:textfield; }*/

/* Promo images */

div.box-promo > div.box-body > img
{
    margin-bottom: 5px;
}

div.promo-image
{
    margin: 0 0 5px 0;
}
div.promo-image > div.promo-image-input > input
{
    min-height: 40px;
}
div.promo-image > div.promo-image-preview
{
    border: solid 1px lightgray;
}
div.promo-image > div.promo-image-actions button
{
    width: 100%;
    margin-bottom: 5px;
}