body {
    color: black;
    background-color: transparent;
    font-family: 'Segoe UI';
    font-size: 12pt;
    font-weight: normal;
    font-style: normal;
}

div[containertype = 'ChildComponents'] {
    margin-left: 15px;
}

div[containertype = 'VariableControl'] {
    margin-top: 10px;
}

div[containertype = 'VariableInformation'] {
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #bee4f6;
    border-radius: 5px;
    border: 1px;
    border-color: black;
    color: black;
}

div[containertype = 'VariableResponseRequired'] {
    background-color: white;
    color: orangered;
    margin: 5px;
}

div[containertype = 'VariableItemCodeInformation'] {
    float: left;
    color: black;
    padding-top: 10px;
    font-size: 12px;
}

.input-group-addon {
    color: #000000 !important;
}

table[responsivegrid] {
    margin-bottom: 15px;
}

.fullSize {
    width: 100%;
    margin: 0;
}


.line-break {
    margin-top: 10px;
    margin-bottom: 10px;
}

    .line-break div {
        display: table;
        background-color: whitesmoke;
        height: 3px;
        width: 100%;
    }

.line-break-noshadow {
    margin-top: 2px;
    display: table;
    background-color: white;
    height: 2px;
    width: 100%;
}

    .line-break-noshadow div {
        display: table;
        background-color: whitesmoke;
        height: 3px;
        width: 100%;
    }

/*important for cell phones*/
.ui-autocomplete {
    height: 100px;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* Using box shadows to create 3D effects */
#ContainerCalculator {
    width: 305px;
    padding: 5px 10px;
    background: #2E8ACB;
    background: linear-gradient(#2E8ACB, #2E8ACB);
    border-radius: 3px;
    box-shadow: 0px 4px #009de4, 0px 10px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    position: absolute;
    display: none;
}

/* Top portion */
.top span.clear {
    float: left;
}

/* Inset shadow on the screen to create indent */
.top .screen {
    height: 36px;
    width: 277px;
    padding: 0 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    box-shadow: inset 0px 2px rgba(0, 0, 0, 0.2);
    /* Typography */
    font-size: 17px;
    line-height: 36px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: right;
    letter-spacing: 1px;
}

/* Clear floats */
.keys, .top {
    overflow: hidden;
}

.top {
    margin-bottom: 5px;
}

    .keys span, .top span.clear {
        background: white;
    }
    /* Applying same to the keys */
    .keys span, .top span.clear {
        float: left;
        position: relative;
        top: 0;
        cursor: pointer;
        width: 64px;
        height: 28px;
        border-radius: 3px;
        box-shadow: 0px 2px rgba(0, 0, 0, 0.2);
        margin: 0 7px 11px 0;
        color: #888;
        line-height: 28px;
        text-align: center;
        /* prevent selection of text inside keys */
        user-select: none;
        /* Smoothing out hover and active states using css3 transitions */
        transition: all 0.2s ease;
    }

        /* Remove right margins from operator keys */
        /* style different type of keys (operators/evaluate/clear) differently */
        .keys span.operator {
            background: #FFF0F5;
            margin-right: 0;
        }

        .keys span.eval {
            background: #f1ff92;
            box-shadow: 0px 2px #9da853;
            color: #888e5f;
        }

    .top span.clear {
        background: #ff9fa8;
        box-shadow: 0px 2px #ff7c87;
        color: white;
    }

/* Some hover effects */
.keys span:hover {
    background: #9c89f6;
    box-shadow: 0px 2px #6b54d3;
    color: white;
}

.keys span.eval:hover {
    background: #abb850;
    box-shadow: 0px 2px #717a33;
    color: #ffffff;
}

.top span.clear:hover {
    background: #f68991;
    box-shadow: 0px 2px #d3545d;
    color: white;
}

/* Simulating "pressed" effect on active state of the keys by removing the box-shadow and moving the keys down a bit */
.keys span:active {
    box-shadow: 0px 0px #6b54d3;
    top: 4px;
}

.keys span.eval:active {
    box-shadow: 0px 0px #717a33;
    top: 4px;
}

.top span.clear:active {
    top: 4px;
    box-shadow: 0px 0px #d3545d;
}

.closeCalculator {
    float: right;
    cursor: pointer;
}

.calculatorActive {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    border-width: 2px;
}

.doubleWidthCalc {
    width: 135px !important;
}

.itemLevelCommentsCalc {
    width: 277px !important;
}

    .itemLevelCommentsCalc.disabled {
        pointer-events: none;
        touch-action: none;
        opacity: 0.5;
    }

#ItemCommentsTextContainer,
#CommentsTextContainer {
    width: 100%;
    resize: vertical;
}

#ItemCommentsHeaderTitle {
    display: inline-block;
}

#ItemCommentsHeaderContainer {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#CommentsCloseButton {
    float: right;
}

/*Calculator*/

.calculator,
.itemComments,
.itemCommentsCalc {
    background-size: contain;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: white;
    border: 0px;
    display: table-cell;
    min-width: 24px;
}

.calculator {
    background-image: url("../img/calc.png" );
    background-position-y: 2px;
}

.itemComments {
    background-image: url("../img/comment.png" );
    background-position-y: 3px;
}

.itemCommentsCalc {
    background-image: url("../img/comment.png" );
    background-size: 30px;
    background-position-y: 4px;
    background-position-x: 17px;
}

.disableDontKnow {
    pointer-events: none;
    background-color: darkgrey !important;
}

.SubmitHeaderContainer,
.cawiModalHeader,
.SaveReturnHeaderContainer,
.SurveySubmitStatusHeaderContainer,
.AddressVerificationHeaderContainer,
.UnsavedDataHeaderContainer {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#SurveyHeaderTitle,
#SaveReturnHeaderTitle,
#SurveySubmitStatusHeaderTitle,
.loader,
.cawiModalTitle,
#SaveReturnContainer p,
#SurveySubmitStatusContent p {
    display: inline-block;
}

#AddressVerificationContent {
    padding: 0px 15px;
}

@media only screen and (min-width : 375px) {

    .AddressVerificationModal,
    .OutofBusinessModal,
    .unsavedDataContentContainer {
        width: 350px;
    }

    .popover {
        max-width: 250px;
    }
}

@media only screen and (min-width : 700px) {

    .AddressVerificationModal,
    .OutofBusinessModal,
    .unsavedDataContentContainer {
        width: 650px;
    }

    .popover {
        max-width: 400px;
    }
}

@media only screen and (min-width : 800px) {

    .AddressVerificationModal,
    .OutofBusinessModal,
    .unsavedDataContentContainer {
        width: 750px;
    }

    .popover {
        max-width: 500px;
    }
}

.AddressVerificationModal td {
    vertical-align: middle !important;
}

.AddressVerificationModal thead {
    background-color: #a9e2ab;
    font-weight: bold;
}

.AddressVerificationModal td {
    padding: 0px 5px !important;
    min-width: 200px;
}

.AddressVerificationModal input {
    margin: 3px 0px !important;
    height: 24px !important;
    border-radius: 3px !important;
}

.AddressVerificationModal div[containertype = 'VariableControl'] {
    margin-top: 0px;
}

.AddressVerificationModal .returnToListing {
    float: left;
}

.updatedPhoneAddress {
    width: 55% !important;
}

.mobileFlag {
    margin-left: 25px;
    bottom: -5px;
}

.loader {
    vertical-align: middle;
    margin-right: 10px;
}

.respondentName {
    display: block;
}

#ErrorScreen,
#ErrorScreen {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -250px;
    text-align: center;
}

.sectionTitle .surveyTitle,
.sectionTitle #sectionHelp {
    float: right;
}

.sectionTitle #sectionHelp {
    cursor: pointer;
}

#sectionHelp .material-icons {
    font-size: 16px;
    padding-left: 5px;
    position: relative;
    bottom: 8px;
}

.Indent2 {
    padding-left: 60px !important;
}

.Indent3 {
    padding-left: 90px !important;
}

.AlignCenter {
    text-align: center;
}

.AlignLeft {
    text-align: left;
}

.AlignRight {
    text-align: right;
}

/*
    disable underline for checkbox list headers
*/
legend {
    border-bottom: none;
}

/*
    change color of dropdowns when disabled
*/
select:disabled {
    background-color: #eee;
}


/*
    looping CSS
*/
/*.loopingNavigation .material-icons {
    font-size: 28px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}*/

/*.loopingNavigation .material-icons:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}*/

/*.loopingNavigation {
    float: right;
    height: 40px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 24px;
}

.loopingNavigation {
    background-color: #008d4e;
    background-image: none;
}*/

.nextLoop .material-icons,
.previousLoop .material-icons {
    position: relative;
    top: 20px;
    font-size: 40px;
}

.previousLoop .material-icons {
    left: -3px;
}

.recordNumber {
    max-width: 32px;
    min-width: 32px !important;
    height: 20px;
    color: black;
}

.recordNumberSection {
    bottom: 6px;
    position: relative;
    font-size: 16px !important;
}

.recordNumberSection {
    cursor: default;
}

#searchComponentLoopDataTable {
    min-width: 600px;
    width: 100% !important;
}

#searchLooping {
    max-width: 650px;
    min-width: 400px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    right: 0px;
    top: 90px;
    z-index: 999;
    border: 1px solid #777;
    background-color: rgba(0, 0, 0, .075);
    box-shadow: 0 14px 28px rgba(2,10,10,0.35), 0 10px 10px rgba(0,0,0,0.22);
}

#searchComponentLoopDataTable .firstRow th{
    padding: 4px 8px;
    text-align: center;
}

.lookupDSButton {
    background-image: url("../img/lookup.png" );
    background-size: 30px;
    background-repeat: no-repeat;
    min-width: 35px;
}

#lookupDataSourceModal .modal-dialog {
    min-width: 800px !important;
}

#searchComponentLoopingModal .modal-dialog {
    min-width: 700px !important;
}

#searchComponentLoopDataTable thead {
    color: white !important;
}

#searchComponentLoopDataTable > thead > tr > th, #searchComponentLoopDataTable > thead > tr > td {
    border-bottom-width: 0px;
}

#searchComponentLoopDataTable_wrapper > .row:first-child > div:first-child {
    display: none;
}

/*.ui-active .loopingNavigationVerticalButtons {
    right: 47px;
}*/

.loopingNavigationVerticalButtons {
    display: inline-block;
    position: absolute;
    right: 0px;
    background-color: #008d4e;
    width: 46px;
    height: 140px;
    margin-top: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: white;
}

.loopingNavigationButtons .material-icons {
    font-size: 40px !important;
    margin-left: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.loopingNavigationButtons .material-icons:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}  

/*.ui-active .nextLoop {
    right: 47px;
}*/

.ui-active .previousLoop {
    /*left: 330px;*/
}

.nextLoop {
    border-bottom-left-radius: 36px;
    border-top-left-radius: 36px;
    cursor: pointer;
    height: 80px;
    position: absolute;
    width: 35px;
    background-color: white;
    top: 40vh;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    right: 0px;
}

.previousLoop {
    border-bottom-right-radius: 36px;
    border-top-right-radius: 36px;
    cursor: pointer;
    height: 80px;
    position: absolute;
    width: 35px;
    background-color: white;
    /*left: 38px;*/
    top: 40vh;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}
