/*dependent on MAIN-2025.css - ver.4.251010 - DAVIS-2026*/
body {
    background-color: #F9F9FB;
    font-family: Arial,  sans-serif, Verdana, Helvetica;
    margin: 0;
    padding: 0;
}
#top-container, #btm-container {
    background-color: #002855;
    color: white;
    margin: 0;
    padding: 0.5em;
    text-align: center;
    width: 100%;
    min-width: 300px;
}
#top-container-inner{
    display: flex;
    align-items: center; /* Vertically align logo and text */
    margin: 0 auto;
    text-align: center;
    max-width: 975px;
}
/* Left and right logo areas */
.top-logo-left, .top-logo-right {
    width: 15%;  /* relative to container, adjust as needed */
    padding-top: 8%;  /*controls aspect ratio (height relative to width) */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
}
/* .logo-left{background-image:url("../images/davis_logo2.png");} */
/* .logo-right{background-image:url("../images/davis_logo2.png");} */ 
.top-logo-left, .top-logo-right {display:none;} /*comment this line to show, do not use display:block*/
/* Taglines area */
.taglines {
    flex: 1;
    text-align: center;
}
.taglines h1 {
    font-size: 1.8rem;
    margin:.25rem;
}
.taglines h2 {
    font-size: 1.2rem;
    margin:.25rem;
}

#ProgressBar {
    display: block;
    width: 100%;
    min-width: 300px;
    height: 1em;
    background-color: #CCCCCC;
    border: none;
    margin: 0;
    border-radius: 0;
}
#ProgressBar.old{display: none;}
#ProgressBar:hover {background-color: #028090;}
#ProgressBar table {border-collapse: collapse; border-spacing: 0; margin: 0;}
#ProgressBar table td {text-align: center; padding:0;}

#mainContent {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    margin-top: 2em;
}

#header1, #header2, 
#mrsurvey_top, #top_logo,
#bottom_logo,
#mrsurvey_bottom  {
    display: none;
}
#NavBox {background-color: white;}

#footer {
    display: block;
    border-style: none;
    font-size: .85rem;
    color: #666666; 
    margin: 1em;
}

#btm-container {display: none;}

/* radio button size */
input[type=radio], input[type=checkbox] {
    height: 1rem; 
    width: 1rem;
}
/* mrInterview */
.mrQuestionText {
    color: #333333;
    font-size: 1.25rem;
    font-weight: bold;
}
.mrGridQuestionText .mrQuestionText,
.accheader .mrQuestionText,
.mrSingleText, .mrMultipleText {
    font-size: 1rem;
    font-weight: normal;
    vertical-align: text-top;
    /* padding-bottom: 0; */
    /* padding-top: .05em; */
}
.mrSingleText, .mrMultipleText {padding: 0.125em 0 .5em;}
.mrEdit {font-size: 1rem !important;}
/*
.mrBannerText {}
.mrDropdown {}
.mrEdit {}
.mrErrorText {}
.mrGotoDropdown {}
.mrGridCategoryText {}
.mrGridQuestionText {}
.mrListBox {}
.mrOtherText {}
.mrOtherEdit {}
*/
.mrNext, .mrPrev, .mrFirst, .mrLast, .mrStop, .mrGoto {
    border-radius: 5px; 
    border: 1px solid #00A896;
    background-color: #00A896;
    color: white;
    cursor: pointer;
    margin: 0 .125em;
    min-height: 40px;
    min-width: 90px;
    font-weight: bold;
    font-size: 1.15em;
    padding: .5em;
    /*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 {max-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: 1rem;}
.fwn{font-weight: normal;}
.hint {text-align: left;}

/*instructions*/
.instruct {
    color: green;
    font-style: italic;
}
/*interviewer only text*/
.intvr {color: blue;}
/*error messages*/
.errmsg {
    color: red; 
    font-weight: bold;
}
.onerem {font-size: 1rem;}

/* 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;}
}
@media only screen
and (orientation: portrait)
and (max-device-width: 736px) {
    .top-logo-left, .top-logo-right {display:none;}
}
/* [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) {
    #mainContent {min-height: 560px;}
}