/* Company-wide global rules */

@media (min-width: 767px) {
    /* Use with my forms */
    .nopadl {
        padding-left: 0px !important;
    }
    .nopadr {
        padding-right: 0px !important;
    }
}


/* Standard margins */

.mb4 {
    margin-bottom: 4px;
}

.mb10 {
    margin-bottom: 10px;
}

.mt4 {
    margin-top: 4px;
}

.mt10 {
    margin-top: 10px;
}

.ml4 {
    margin-left: 4px;
}

.ml10 {
    margin-left: 10px;
}

.mr4 {
    margin-right: 4px;
}

.mr10 {
    margin-right: 10px;
}


/* standard ad sizes */

#ad125x125,
.ad125x125 {
    width: 125px !important;
    max-width: 125px;
    height: 125px !important;
    max-height: 125px;
    overflow: hidden;
}

#bottom_468x60,
.bottom_468x60 {
    width: 468px !important;
    max-width: 468px;
    height: 60px !important;
    max-height: 60px;
    overflow: hidden;
}


/* New forms */

.form_new label.required::before {
    color: #F00;
    content: "* ";
    font-weight: bold;
}

.form_new label {
    width: 200px;
    min-width: 200px;
    display: inline-block;
}


/* General text span colors */

.textred {
    color: #C00;
}

.textgreen {
    color: #0C0;
}

.textblue {
    color: #00C;
}

.textorange {
    color: #C90;
}

.textblack {
    color: #000;
}

.textgrey {
    color: #666;
}

.textwhite {
    color: #FFF;
}

.textpurple {
    color: #C0C;
}

.textyellow {
    color: #CC0;
}


/* required to stop logs from taking up loads of space */

pre {
    white-space: pre-wrap;
}

.entirewidth {
    width: 100%;
}

.cursor_pointer {
    cursor: pointer;
}

.grey {
    background-color: #666;
}

#mapcontainer {
    width: 100%;
    height: 100%;
}

.bgwhite {
    background-color: #FFF;
}

.bgblack {
    background-color: #000;
}

.rightText,
table.standard td.rightText,
table.standard th.rightText {
    text-align: right;
}

.leftText {
    text-align: left;
}

.midText {
    text-align: center;
}

.comparePlus {
    font-size: 120%;
    font-weight: bold;
    color: #077F09;
    /* Matches CCP green */
}

.compareMinus {
    font-size: 120%;
    font-weight: bold;
    color: #b00;
}

.offH {
    color: #f00;
}

.onH {
    color: #008000;
}

.devBanner {
    border: 2px dotted #900;
    background: #fcc;
    padding: 5px 7px;
}


/* .hidden conflicts with bootstrap settings - replacing with .bc_hide */

.hidden,
.bc_hide,
.switchcontent {
    display: none;
}

#progressbarLabel {
    float: left;
    margin-left: 50%;
    padding-right: 30px;
    margin-top: 5px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

.mobile_form_note {
    padding-top: 6px;
    padding-bottom: 6px;
}


/* message bars */

.infoBar,
.successBar,
.warningBar,
.errorBar {
    color: #fff;
    min-height: 14px;
    padding: 7px;
}

.infoBar a,
.successBar a,
.warningBar a,
.errorBar a {
    color: #fff;
    text-decoration: underline;
}

.successBar {
    background-color: #090;
}

.infoBar {
    background-color: #009;
}

.warningBar {
    background-color: #fe5a1d;
}

.errorBar {
    background-color: #900;
    font-weight: bold;
}


/* special forms */

.input-group .form-control.full {
    width: 100%;
}

.input-group .form-control.half {
    width: 50%;
}

.input-group .form-control.third {
    width: 33%;
}

.input-group .form-control.third:nth-child(3n) {
    width: 34%;
}

.input-group .form-control.quarter {
    width: 25%;
}

.input-group .form-control.fifth {
    width: 20%;
}


/* on smaller screens, ignore the settings above*/

@media (max-width: 767px) {
    .input-group .form-control.fifth {
        width: 100%;
    }
    .input-group .form-control.quarter {
        width: 100%;
    }
    .input-group .form-control.half {
        width: 100%;
    }
    .input-group .form-control.third {
        width: 100%;
    }
    .input-group .form-control.third:nth-child(3n) {
        width: 100%;
    }
}

.bc_fullwidth {
    width: 100%;
}
