/*dependent on MAIN-2025.css - ver.4.250918.251001 */
body {
    background-color: #F9F9FB;
    padding: 0;
    font-family: Arial,  sans-serif, Verdana, Helvetica;
    margin: 0;
    /*background-color: #e4e4e4; /*Fallback color for older browsers*/
    /*background: linear-gradient(to right, lightgray , white, lightgray);*/
}
#top-container {
    display: block; /* match below as well */
    background-color: #002855;
    color: white;
    margin: 0;
    padding: 0;
    /* min-height: 100px; */
    padding: 0.5em;
    text-align: center;
    width: 100%;
    min-width: 300px;
    /*background-image:url("https://dim7aws.davisresearch.com/template/images/davis_header_black.png"); 975x80*/
    /*padding-top: 8.2%; /* (image-height / 975 width) x 100 */
    /*border-radius: 5px 5px 0 0;*/
    /* Optional - inclusive borders
    background-color: white;
    border: 1px solid gray;
    border-bottom-style: none;
    */
}
#top-container h1 {font-size: 1.8em; margin:.25em}
#top-container h2 {font-size: 1.2em; margin:.25em}
#top-container-inner{
    display: block;
    align-items: center; /* Vertically align logo and text */
    margin: 0 auto;
    text-align: center;
    max-width: 975px;
}
#NavBox table{
    margin: 0 !important;
}
.hint {text-align: left;}
#ProgressBar {
    display: block;
    width: 100%;
    height: 1em;
    background-color: #CCCCCC;
    border: none;
    margin: 0;
    border-radius: 0;
}
#ProgressBar:hover {
    background-color: #028090;
}
#ProgressBar table {border-collapse: collapse; border-spacing: 0;}
#ProgressBar td {padding:0;}
#header1 {
    display: none; /* match below as well */
    /*background-image:url("https://dim7aws.davisresearch.com/template/images/davis_header_black.png"); /*975x80*/
    padding-top: 8.2%; /* (image-height / 975 width) x 100 */
    /*border-radius: 5px 5px 0 0;*/
    /* Optional - inclusive borders
    background-color: white;
    border: 1px solid gray;
    border-bottom-style: none;
    */
}
#header2 {
    display: none;
    /*Optional - apply left & right borders
    background-color: white;
    border: 1px solid gray;
    border-style: none solid;*/
    /*Optional -
    background-color: lightgray;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 2px;
    height: 25px;
    margin: 4px 0;
    text-indent: 65%;
    font-size: 1em;
    color: white;*/
}
#mrsurvey_top {
    padding-top: 1%;
    background-color: white;
    /* border: 1px solid gray;
    border-bottom-style: none;*/
    border-radius: 10px 10px 0 0;  
    /*Optional - connect header1 inclusive borders to mrsurvey_top (with header2 hidden)
    border-top-style: none;
    border-radius: 0;*/
    margin-top: 2em;
}
#mainContent {
    background-color: white;
    /* border: 1px solid gray;
    border-style: none solid; */
}
/*#mrsurvey {}*/
/*#landscape {} */ /* DO NOT CHANGE */
/*#responses {} */ /* DO NOT CHANGE */
#top_logo {
    display: none;
    /*background-image:url("https://dim7aws.davisresearch.com/template/images/davislogo.jpg"); 100x54*/
    height: 60px;
    padding-bottom: 32px;
}
#NavBox {background-color: white;}
/*#ProgressBar {} DO NOT CHANGE - this is enabled by the program (via show_progressbar.css) */
#bottom_logo {
    display: none;
    /*background-image:url("https://dim7aws.davisresearch.com/template/images/davislogo.jpg"); 100x54*/
    padding-top: 5%; /* (image-height / 975 width) x 100 */
    background-position: 98%;
    background-color: white;
    border: 1px solid gray;
    border-style: none solid;
}
#mrsurvey_bottom {
    display: block;
    /*background-image: url("https://dim7aws.davisresearch.com/template/images/footer.png"); 977x48*/
    padding-top: 3%; /* (image-height / 975 width) x 100 */
    background-color: white;
    /* border: 1px solid gray;
    border-top-style: none; */
    border-radius: 0 0 10px 10px;  
}
#footer {
    display: block;
    /* border: 1px solid gray; */
    border-style: none;
    font-size: .85em;
    color: #666666; 
    margin-top: 1em;
}
/* radio button size */
input[type=radio], input[type=checkbox] {
    height: 1em; 
    width: 1em;
    /*
    appearance: none;
    border: 2px solid black;
    border-radius: 50%;
    background-clip: content-box;
    padding: 3px;
    */
}
/* input[type="radio"]:checked {background-color: #555555;}*/

/* mrInterview */
.mrQuestionText {
    color: #333333;
    font-size: 1.25em;
    font-weight: bold;
}
.mrGridQuestionText .mrQuestionText,
.accheader .mrQuestionText,
.mrSingleText,
.mrMultipleText {
    font-size: 1em;
    font-weight: normal;
    padding-bottom: 0;
}
/*
.mrBannerText {}
.mrDropdown {}
.mrEdit {}
.mrErrorText {}
.mrGotoDropdown {}
.mrGridCategoryText {}
.mrGridQuestionText {}
.mrListBox {}
.mrOtherText {}
.mrOtherEdit {}
*/
.mrNext, .mrPrev, .mrFirst, .mrLast, .mrStop, .mrGoto {
    border-radius: 5px; 
    /* border: 1px solid #646464;  */
    /* background-color: white; */
    /* color: #646464;  */
    border: 1px solid #00A896;
    background-color: #00A896;
    color: white;
    cursor: pointer;
    margin: 0 .5em;
    min-height: 40px;
    min-width: 90px;
    font-weight: bold;
    font-size: 1.15em;
    padding: .5em 1em;
    /*width: auto; do not set width, allow to re-size */
}
/*Optional - style next button a different color*/
/*.mrNext {} */
.mrNext:hover, .mrPrev:hover, .mrFirst:hover, .mrLast:hover, .mrStop:hover, .mrGoto:hover {
    background-color: #028090;
    color: white;
}
/* dynamically size nav buttons - do not set width, allow to re-size */
@media only screen and (max-width: 767px) {
    .mrNext, .mrPrev {min-width: 150px}
}
@media only screen and (max-width: 375px) {
    .mrNext, .mrPrev {min-width: 100px; font-size: 0.8rem;}
}
/*OPTIONAL -- NAV BUTTON COLOR TRANSITION - dark to light gray, LEFT to RIGHT
.mrNext, .mrPrev, .mrFirst, .mrLast, .mrStop, .mrGoto {
    color: white; 
    background-image: linear-gradient(to right, #D3D3D3 50%, #646464 50%); 
    background-image: linear-gradient(-90deg, hsl(0 0% 39%) 0%, hsl(0 0% 53%) 50%, hsl(0 0% 93%) 50%, hsl(0 0% 83%) 100%);
    background-size: 210% 110%;
    transition: background-position 0.3s ease;
    background-position: 100% 0;
}
.mrNext:hover, .mrPrev:hover {
  color: #646464;
  background-position: 0 0;
}
*/
/*OPTIONAL -- NAV BUTTON COLOR TRANSITION - dark to light gray, RIGHT to LEFT
.mrNext, .mrPrev, .mrFirst, .mrLast, .mrStop, .mrGoto {
    color: #646464; 
    background-image: linear-gradient(to right, #D3D3D3 50%, #646464 50%); 
    background-image: linear-gradient(90deg, hsl(0 0% 39%) 0%, hsl(0 0% 53%) 50%, hsl(0 0% 93%) 50%, hsl(0 0% 83%) 100%);
    background-size: 210% 110%;
    transition: background-position 0.3s ease;
    background-position: 0 0;
}
.mrNext:hover, .mrPrev:hover {
  color: white;
  background-position: 100% 0;
}
*/
/*.mrProgressText {color: gray;}*/
/* .mrQuestionText {} */
/* .mrQuestionTable {} */
/*
.mrSingle, .mrMultiple {}
.mrSingleText, .mrMultipleText, .mrOtherText {}
*/
.accrating {
    font-size: 1em;
}
/*instructions*/
.instruct {
    color: green;
    font-style: italic;
}
/*interviewer only text*/
.intvr {color: blue;}
/*error messages*/
.errmsg {
    color: red; 
    font-weight: bold;
}

/* MEDIA QUERIES (smallest to largest displays) */
/* [a] SMALL DEVICES UNDER 320px  */
@media only screen
and (max-device-width: 319px) {
    #top-container-inner {width:300px;}
}
/* [A0] Smartphones (320) */
@media only screen
and (orientation: portrait)
and (min-device-width: 320px) {
    #top-container-inner {width:300px;}
}
/* [A1] Smartphones (320) */
@media only screen
and (orientation: landscape)
and (min-device-width: 320px)
and (min-device-height: 480px) {
    #top-container-inner {width:460px;}
}
/* [A2] Smartphones (320) */
@media only screen
and (orientation: landscape)
and (min-device-width: 320px)
and (min-device-height: 568px) {
    #top-container-inner {width:548px;}
}
/* [A3] Smartphones (320) */
@media only screen
and (orientation: landscape)
and (min-device-width: 320px)
and (min-device-height: 640px) {
    #top-container-inner {width:620px;}
}
/* [A4] Smartphones (320) */
@media only screen
and (orientation: portrait)
and (min-device-width: 320px)
and (-webkit-device-pixel-ratio: 2) {
    #top-container-inner {width:300px;}
}
/* [A6] Smartphones (320x480) includes iPhone 2G, 3G, 4, 4s and iPod Touch generations 1-4  */
@media only screen
and (orientation: landscape)
and (device-width: 320px)
and (device-height: 480px)
and (-webkit-device-pixel-ratio: 2) {
    #top-container-inner {width:460px;}
}
/* [A8] Smartphones (320x568) includes iPhone 5, 5s  */
@media only screen
and (orientation: landscape)
and (device-width: 320px)
and (device-height: 568px) {
    #top-container-inner {width:548px;}
}
/* [B0] Smartphones (360) */
@media only screen
and (orientation: portrait)
and (min-device-width: 360px) {
    #top-container-inner {width:340px;}
}
/* [C0] Smartphones (375) */
@media only screen
and (orientation: portrait)
and (min-device-width: 375px) {
    #top-container-inner {width:355px;}
    .prop {height:430px;}
}
/* [C2] Smartphones (375x667) includes iPhone 6 */
@media only screen
and (orientation : landscape)
and (device-width: 375px)
and (device-height: 667px)
and (-webkit-device-pixel-ratio: 2) {
    #top-container-inner {width:647px;}
}
/* [D0] Smartphones (414) */
@media only screen
and (orientation: portrait)
and (min-device-width: 414px) {
    #top-container-inner {width:400px;}
}
/* [D1] Smartphones (414x736) includes iPhone 6+ */
@media only screen
and (orientation: portrait)
and (device-width: 414px)
and (device-height: 736px)
and (-webkit-device-pixel-ratio: 3) {
    #top-container-inner {width:400px;}
}
/* [D2] Smartphones (414x736) includes iPhone 6+ */
@media only screen
and (orientation: landscape)
and (device-width: 414px)
and (device-height: 736px)
and (-webkit-device-pixel-ratio: 3) {
    #top-container-inner {width:716px;}
}
/* [X0] Smartphones (375) iPhone X*/
@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3) {
    #top-container-inner {width:355px;}
}
/* [X2] Smartphones (375x812) includes iPhone X */
@media only screen
and (orientation : landscape)
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio: 3) {
    #top-container-inner {width:792px;}
}
/* [E0] Smartphones (480) */
@media only screen
and (orientation: landscape)
and (min-device-width: 480px) {
    #top-container-inner {width:460px;}
}
/* [F0] Smartphones (568)  */
@media only screen
and (orientation: landscape)
and (min-device-width: 568px) {
    #top-container-inner {width:548px;}
}
/* [G0] Smartphones (640)  */
@media only screen
and (orientation: landscape)
and (min-device-width: 640px) {
    #top-container-inner {width:620px;}
}
/* [H0] Smartphones (720) */
@media only screen
and (orientation: landscape)
and (min-device-width: 720px) {
    #top-container-inner {width:720px;}
}
/* [H1] Smartphones (720) Samsung S3 (360x640) */
@media only screen
and (orientation: portrait)
and (min-device-width: 720px)
and (-webkit-device-pixel-ratio: 2) {
    #top-container-inner {width:340px;}
}
/* [H2] Smartphones (720) Samsung S3 (360x640) */
@media only screen
and (orientation: landscape)
and (min-device-width: 720px)
and (-webkit-device-pixel-ratio: 2) {
    #top-container-inner {width:620px;}
}
/* [I0] Phablets (737) large phone/small tablet (portrait or landscape)*/
@media only screen
and (min-device-width: 737px) {
    #top-container-inner {width:727px;}
}
/* [J0] Tablets (768) */
@media only screen
and (min-device-width: 768px) {
    #top-container-inner {width:748px;}
}
/* [J1] Tablets (768x1024) includes iPads 1-5 and iPad mini */
@media only screen
and (orientation: portrait)
and (device-width: 768px)
and (device-height: 1024px) {
    #top-container-inner {width:748px;}
}
/* [J2] Tablets (768x1024) includes iPad Retina (iPads 3 and 4) */
@media only screen
and (orientation: portrait)
and (device-width: 768px)
and (device-height: 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
    #top-container-inner {width:748px;}
}
/* [J3] Tablets (768x1024) includes iPads 1-5 and iPad mini */
@media only screen
and (orientation: landscape)
and (device-width: 768px)
and (device-height: 1024px) {
    #top-container-inner {width:960px;}
}
/* [J4] Tablets (768x1024) includes iPad Retina (iPads 3 and 4) */
@media only screen
and (orientation: landscape)
and (device-width: 768px)
and (device-height: 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
    #top-container-inner {width:960px;}
}
/* [K0] Tablets (800) */
@media only screen
and (min-device-width: 800px) {
    #top-container-inner {width:780px;}
}
/* [L0] Tablets/Desktops (980) */
@media only screen
and (min-device-width: 980px) {
    #top-container-inner {width:975px;}
}
/* [L0] Tablets/Desktops (980) */
@media only screen
and (min-device-width: 980px) {
    #header1 {
        display: none; /* match above as well */
        /*load IMAGE only for desktops */
        /*background-image:url("https://dim7aws.davisresearch.com/template/images/davis_gray_logo_header1.png");*/
    }
    #header2 {
        display: none;
        /* load IMAGE only for desktops (977x48) */
        /*background-image: url("https://dim7aws.davisresearch.com/template/images/gray_bar.png");*/
    }
    #mainContent {min-height: 560px;}
    .prop {height:560px;}
    #bottom_logo {
        display: none;
        /*background-image:url("https://dim7aws.davisresearch.com/template/images/davislogo.jpg"); 100x54*/
    }
}