/* 
    COPY FROM Sector.FormGenerator\Web\App_Themes\Scheme TO BackOffice\Web\Config\Scheme
    REMOVE @media screen QUERIES
    REMOVE @media print RESTRICTION FROM CLASSES (SO STYLES ARE ALWAYS APPLIED)
*/
body, html, form {
    color: #0B0C0C;
    height: 100%;
}

label {
    font-weight: normal;
}

question.row > legend {
    font-weight: bold;
}

.DateDropdown > legend {
    margin-left: 15px;
}

#pageHeader {
    clear: both;
}

#pageOuterWrapper, #banner #title, #footer-content {
    margin: 0 auto;
    max-width: 990px;
}

#banner {
    background-color: #0b0c0c;
    text-align: center;
    color: white;
    width: 100%;
}

    #banner #title {
        background-position: left;
        background-repeat: no-repeat;
        padding: 3px 0 5px 0;
    }

#banner-below {
    margin: 0 auto;
    width: auto;
    max-width: 1020px;
}

#banner-below-inner {
    padding-left: 15px;
    padding-right: 15px;
    height: 10px;
    background-color: #005ea5;
}

#breadcrumbWrapper {
    display: block;
    float: left;
    height: 35px;
    margin-bottom: 20px;
}

    #breadcrumbWrapper .navbar {
        height: 34px;
        min-height: 0px;
    }

    #breadcrumbWrapper .navbar-nav > li > a {
        padding-bottom: 6px;
        padding-top: 6px;
        border-radius: 0px;
        padding-left: 39px;
        padding-right: 39px;
    }

    #breadcrumbWrapper a.disabled, #breadcrumbWrapper a.disabled:hover {
        cursor: auto;
        font-weight: normal;
        color: #777;
        background-color: #e5e5e5;
    }

    #breadcrumbWrapper a.enabled {
        cursor: pointer;
        color: black;
    }

        #breadcrumbWrapper a.enabled.current {
            color: #005ea5;
        }

        #breadcrumbWrapper a.enabled:hover {
            color: black;
        }

div.no-address-lookup {
    margin-left: -28px;
}

    div.no-address-lookup label {
        text-align: left;
    }

    div.no-address-lookup input {
        width: 34px;
    }


@media (min-width: 641px) {
    #banner-below-inner-inner {
        padding-left: 30px;
        padding-right: 30px;
    }
}

h1 {
    font-size: 24px;
    font-weight: bold;
}

h2 {
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 40px;
}

#logo {
    float: right;
    display: none;
    max-height: 100px;
    max-width: 200px;
    margin-top: -60px;
}

h2, .Caption, fieldset.question.row > legend {
    display: block;
}

.Caption {
    border-top: 4px solid #005ea5;
    margin-left: 0px;
    font-weight: bold;
    font-size: 24px;
}

.SubCaption > label {
    border-top: solid 2px #DFE0E2;
    margin-left: 0px;
}

h3 {
    font-size: 19px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
}

#pageOuterWrapper {
    padding: 10px;
}

#footer {
    background-color: rgb(222, 224, 226);
    border-top-color: rgb(161, 172, 178);
    margin-top: 20px;
}

#footer-content {
    padding: 10px;
    padding-bottom: 20px;
}

    #footer-content a {
        float: right;
    }

.section, .help {
    font-size: 19px;
}

#backButton {
    font-size: 16px;
    font-weight: 300;
    border-bottom: #0b0c0c 1px solid;
    overflow: hidden;
    width: 13em;
    margin: 20px 0px;
}

input[type="button"] {
    background-color: #00823b;
    font-size: 19px;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-right: 10px;
}

#navWrapper {
    margin-top: 30px;
}

.Caption {
    /*padding-left: 15px;*/
    padding-right: 15px;
}

.help {
    cursor: pointer;
    margin-bottom: 15px;
}

    .help > div.details {
        display: none;
        border-left: solid 10px rgb(222, 224, 226);
        padding-left: 10px;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .help[open="open"] > div {
        display: block;
    }

    .help .summary {
        color: rgb(0, 94, 165);
        text-decoration: underline;
    }

div.question.error, fieldset.question.error, #error {
    border-left: solid #df3034 4px;
    margin-left: -18px;
}

.errorText {
    color: #df3034;
    font-size: 19px;
    padding-left: 18px;
    display: none;
    clear: both;
}




fieldset.Radio, fieldset.dateDropdownAnswer fieldset.row, fieldset.Checkbox, fieldset.CheckboxGroup, fieldset.YesNo,
div.Radio, div.dateDropdownAnswer div.row, div.Checkbox, div.CheckboxGroup, div.YesNo {
    padding-left: 15px;
}

.question.two-lines {
    min-height: 4.4em;
}

.question.three-lines {
    min-height: 5.9em;
}

.question.four-lines {
    min-height: 7.3em;
}

#footer {
    padding-top: 5px;
}

.LongText ul, .Caption ul {
    list-style: disc;
    margin-left: 30px;
}

div.LongText {
    margin-left: 15px;
}

div.margLeft0 {
    margin-left: 0px;
}

.LongText h3, .LongText h4 {
    color: darkblue;
}

.LongText h4 {
    font-style: italic;
    margin-top: 20px;
}

div.page.actionPlan {
    padding: 15px;
    margin: 15px;
    border: solid black 1px;
    box-shadow: 10px 10px 5px #888888;
    background-color: antiquewhite;
}

div.section.actionPlan {
    padding: 10px;
    padding-bottom: 0;
    padding-right: 40px;
    margin: 10px;
    margin-top: 30px;
    border: solid black 1px;
    background-color: floralwhite;
}

.hide {
    display: none;
}

#pageWrapper .largeTextarea textarea {
    height: 100px;
    width: 400px;
}

#pageWrapper .extraLargeTextarea textarea {
    height: 200px;
}

@media screen and (max-width: 480px) {
    div.page.actionPlan {
        padding: 0px;
        margin: 0px;
        border: none;
        box-shadow: none;
    }

    div.section.actionPlan {
        margin: 0px;
        margin-top: 10px;
        border: none;
    }
}

span.id {
    font-size: 10px;
    float: left;
    margin-right: 2px;
    color: darkgray;
    font-weight: normal;
}

div.question.Checkbox:nth-child(1) {
    text-align: right;
}

.RadioItem, .CheckboxItem {
    background-color: #DFE0E2;
    border: solid 2px #DFE0E2;
    margin: 10px;
    padding: 10px;
    min-height: 2.5em;
}

.CheckboxItem {
    margin-left: 0px;
}

div.CheckboxOnLeft {
    /*needs div.CheckboxOnLeft for the style to show as an option on the online register back office*/
}

fieldset.CheckboxOnLeft {
}

fieldset.question.row.CheckboxOnLeft > legend {
    width: 95%;
    float: right;
}

fieldset.question.CheckboxOnLeft input {
    width: 40px;
}

fieldset.question.CheckboxOnLeft > div.col-sm-5 {
    width: 40px;
}

.RadioItem.selected {
    border-color: #FFBF47;
}

.dateDropdownAnswer input {
    width: 70px;
}

.explanation {
    font-size: .86em;
    color: #666;
    font-weight: normal;
}

#saveButton2 {
    display: none;
}

.highlight {
    background-color: lightblue;
}

div.AddressLookup .selected {
    background-color: #a1a8ed;
}

div.AddressLookup tr {
    cursor: pointer;
}

#forgottenWrapper {
    position: absolute;
}

#forgottenContent {
    top: -5px;
    left: -5px;
    background-color: #eee;
    border: 1px solid #000;
    padding: 10px;
    height: 185px;
    width: 480px;
    opacity: 100;
    filter: alpha(opacity = 100);
    z-index: 2;
}

    #forgottenContent label {
        text-align: left;
        width: 170px;
    }

#forgottenButtonWrapper {
    width: 89%;
}

#forgottenContentWrapper .button {
    display: block;
    float: right;
    padding: 2px;
}

#forgottenContentHeader {
    float: left;
    margin-bottom: 15px;
}

#forgottenContentClose {
    float: right;
}

table.AddressLookup {
    margin-left: 15px;
    width: 93%;
    max-width: 580px;
}

.tableBorder th, .tableBorder td {
    border: 1px solid black;
}

div.chunkType_Summary h1 {
    margin-left: 15px;
}

/*mobile specific css*/
@media (min-width: 480px) {
    h2, .Caption, div.question.row > label {
        width: 100%;
    }

    #pageOuterWrapper {
        margin-top: 0px;
    }

    #backButton a, #backButton a:active, #backButton a:hover, #backButton a:focus {
        color: #0b0c0c;
        text-decoration: none;
    }

    input[type="button"]:hover {
        background-color: #FFBF47;
    }

    .RadioItem:hover {
        border-color: #FFBF47;
    }
}

@media (max-width: 480px) {

    h1 {
        font-size: 18px;
    }

    h2 {
        margin-top: 0px;
        margin-bottom: 15px;
        font-size: 22px;
    }

    #footer h3, #footer img {
        display: none;
    }

    #logo {
        width: 0px;
        height: 0px;
    }

    #footer {
        padding-bottom: 10px;
    }

    .row {
        margin-right: -7px;
    }

    #navWrapper input[type=button] {
        font-size: 17px;
    }

    /*    .question .question.two-lines, .question .question.three-lines, .question .question.four-lines {
        min-height: inherit;
    }*/

    div.question.Textbox > label {
        display: block;
    }

/*    .question label {
        display: inline;
    }*/

    div.question.row.CheckboxOnLeft > label {
        width: 85%;
    }

    div.LongText {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    #q_login_button {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .row, .RadioItem, .CheckboxItem {
        margin-right: 0;
    }

    .long-answer {
        min-height:6.5em !important;
    }

    #pageHeader {
        margin-bottom: 20px;
    }
}

/*end of mobile specific css*/

@media screen {
    .print {
        display: none;
    }
}

@media screen {
    .print {
        display: none;
    }
}

@media print {
    body {
        font-family: Arial;
        margin-left: 150px;
    }

    .page h2 {
        display: none;
    }

    div.section.actionPlan {
        background-color: #fff;
        border: none;
        margin-left: 0px;
        padding: 0px;
    }

        div.section.actionPlan h1 {
            color: #008996;
        }

    .screen {
        display: none;
    }

    .introHeader {
        width: 100%;
        height: 150px;
        text-align: center;
    }

        .introHeader h1 {
            color: #231b53;
            font-size: 2.7em;
            float: left;
            width: 100%;
        }

        .introHeader img {
            position: absolute;
            max-height: 100px;
            max-width: 200px;
            left: 900px;
        }

    .introContent {
        background-color: #231b53;
        color: #fff;
        padding: 15px;
    }
}
