/*dependent on MAIN-2025.css - ver.4.251210 */
*, *::after, *::before {box-sizing: border-box;}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  /*overflow: unset;*/
  overflow-x: hidden;  /*optional*/
}
body {
    background-color: white; /*#e4e4e4; fallback color for older browsers
    background: linear-gradient(to right, lightgray , white, lightgray);*/
    padding: 0;
    overflow-y: auto;
}
/*#####################################*/
/*HAMBURGER-START*/
:root {
    --bar-width: 25px;
    --bar-height: 2px;
    --hamburger-gap: 6px;
    /* --foreground: #333; */
    --foreground: white;
    --background: white; 
    --hamburger-margin: 8px;
    --animation-timing: 200ms ease-in-out;
    --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}
.fixed-top {
    border-bottom: 1px solid #ccc; 
    position: sticky;
    top: 0;
    z-index: 1;
    /* background-color: white; */
    background-color: #001e36;
}
#top-container-inner{
    display: flex;
    align-items: center; /* Vertically align logo and text */
    padding: 8px;       /* Optional padding */
    width: 975px;
    margin: 0 auto;
    text-align: left;
    padding: .25em;
}
#btm-container-inner{text-align: center; background-color: #e5e5e5; width: 100%;}
.btm-container-content{max-width: 975px; margin: 0 auto; padding: .25em; min-height: 5em;}
#top-container-menu{
    width: 60px;
    text-align: center; /* Center the icon horizontally */
    font-size: 24px;     /* Adjust as needed */
    flex-shrink: 0;
}
#top-container-logo {
    height: 26px;
    width: 64px;
    flex-shrink: 0; /* Prevent the logo from shrinking */
    margin-right: 10px; /* Space between logo and text */
}
#top-container-tagline {
  margin: 1em 2em;
  flex: 1; /* Take up remaining space */
  font-family: "Source Sans Pro", Arial, sans-serif;
  overflow-wrap: break-word;
  color: white;
}
.bar {
    display: none;
    height: 50px;
    background-color: #e5e5e5;
    width: 100%;   
}
@media only screen and (max-width: 991px) {
    #top-container-tagline {display: none;}
    .bar {height: 4px; border: 1px solid gray; border-style: solid none; background-color: transparent;}
}
.hamburger-menu {
    --x-width: calc(var(--hamburger-height) * 1.41421356237); /*square root of 2*/
    display: flex;
    flex-direction: column;
    gap: var(--hamburger-gap);
    width: max-content;
    position: relative;
    /*top: var(--hamburger-margin);*/
    left: var(--hamburger-margin);
    z-index: 2;
    cursor: pointer;
}
/*
.hamburger-menu:has(input:checked) {
    --foreground: white;
    --background: #f7f7f7;
}*/
.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
    border: 1px solid var(--background);
    box-shadow: 0 0 0 1px var(--foreground);
}
.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input{
    content: "";
    width: var(--bar-width);
    height: var(--bar-height);
    background-color: var(--foreground);
    border-radius: 9999px;
    transform-origin: left center;
    transition: opacity var(--animation-timing), width var(--animation-timing), rotate var(--animation-timing), translate var(--animation-timing), background-color var(--animation-timing);
}
/* added 12/10/25 */
/* .hamburger-menu::before,
.hamburger-menu::after {
    background-color: #333;
} */
.hamburger-menu input {
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    pointer-events: none;
    width: var(--bar-width) !important;
    height: var(--bar-height) !important;
}
.hamburger-menu:has(input:checked)::before{
    rotate: 45deg;
    width: var(--x-width);
    translate: 0 calc(var(--bar-height)/-2);
    background-color: #333; /*251210*/
}
.hamburger-menu:has(input:checked)::after{
    rotate: -45deg;
    width: var(--x-width);
    translate: 0 calc(var(--bar-height)/2);
    background-color: #333; /*251210*/
}
.hamburger-menu input:checked {
    /*background: red;*/
    opacity: 0;
    width: 0;
}
.sidebar {
    transition: translate var(--animation-timing);
    /*position: absolute;*/
    position: fixed;
    top: 0;
    left: 0;
    translate: -100%;
    padding: .5rem 1rem;
    padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 2rem);
    /*background-color: var(--foreground);*/
    background-color: #f7f7f7;
    color: black;
    min-width: 10rem;
    max-width: 20rem;
    height: 100vh;
    font-size: 0.875rem;
    text-align: left;
}
.hamburger-menu:has(input:checked) + .sidebar{
    translate: 0;
}
.hamburger-menu:has(input:checked) + #container{
    margin-left: 20rem;
}
.sidebar nav a {
    color: black;
    text-transform: uppercase;
}
.sidebar nav a:hover {
    color: #004B87;
    font-weight: 700;
}
/*HAMBURGER-END*/
/*#####################################*/
#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 */
}
#header2 {display: none;}
#mrsurvey_top {
    padding-top: 1%;
    background-color: white;
    /*border: 1px solid gray;
    border-bottom-style: none;
    border-radius: 5px 5px 0 0;*/
}
#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 5px 5px; */
}
#footer {
    display: block;
    border: 1px solid gray;
    border-style: none;
    font-size: .75em;
    color: #7f8287; /* dark gray */
}
/* 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 */
/*
.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: #004b87;
    color: white; 
    cursor: pointer;
    margin: 0 .5em;
    min-height: 40px;
    min-width: 120px;
    font-weight: bold;
    font-size: 1.15em;
    /*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: #007160;
    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 {}
*/

/*instructions*/
.davis {font-size: .85em; margin-top: .5em;}
.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) */
/* [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*/
    }
}