/* ver.5.260000.260722 -- dependent on MAIN-2026.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
/* COLORS ---------------------------*/
--clr-primary: #002855;
--clr-secondary: #489439;
--clr-accent: #dae7c5;
/* --clr-accent2: #f6fafd; */
--clr-accent2: #b8cbda;

--clr-header-bg: white;
--clr-header-text: white;

--clr-main-bg: white;
--clr-main-text: #333;

--clr-btn-bg: #489439;
--clr-btn-text: white;
--clr-btn-hover: #002855;
--clr-btn-hover-text: white;

--clr-progbar-bg: #dae7c5;
--clr-progbar-fill: #489439;
--clr-progbar-hover: #002855;

--clr-svg-bg: #dae7c5;
--clr-svg-border: white;
--clr-svg-icon: #002855;

--clr-svg-bg-alt: transparent;
--clr-svg-border-alt: teal;
--clr-svg-icon-alt: #002855;

--clr-svg-none: transparent;

/*note-these only work for inline svg*/
--clr-svg-davislogo-bar: #2d3091;
--clr-svg-davislogo-letters: #221e1f;
--clr-svg-davislogo-bar-alt: white;
--clr-svg-davislogo-letters-alt: white;
/*note-these only work for inline svg*/

/* LAYOUTS --------------------------*/
/* header - left */
--display-hdr-inner1: flex; /* flex / none */
    --display-hdr-inner1-logo: block; /* block / none */
        /* --hdr-inner1-logo-bg-img: url("../images/davisresearch.svg"); */
        --hdr-inner1-logo-bg-img: url("https://dim7aws.davisresearch.com/260057/images/davisresearch.svg");
        /*--hdr-inner1-logo-bg-img: none; /*uncomment if using inline svg*/
    --display-hdr-inner1-menu: none;  /* none / block */

/* header - taglines */
--display-hdr-inner2: none; /* flex / none */
    --display-hdr-inner2-h1: block; /* block / none */
    --display-hdr-inner2-h2: none;  /* none / block */

/* header - right */
--display-hdr-inner3: none; /* none / flex */
    --display-hdr-inner3-h3: none; /* none / block */
    --display-hdr-inner3-logo: none; /* none / block */
        --hdr-inner3-logo-bg-img: url("../images/davisresearch-alt.svg");
        /*--hdr-inner3-logo-bg-img: none; /*uncomment if using inline svg*/
    --display-hdr-inner3-menu: none;  /* none / block */

--display-footer: flex; /* flex / none */
/*--hdr-inner1-logo-bg-img: url("../images/davisresearch-alt.svg"); /*white, can customize colors*/
/*--hdr-inner1-logo-bg-img: url("../images/davisresearch.svg");     /*black letters with blue bar*/
--icon-big: 60px;
--icon-lrg: 50px;
--icon-med: 30px;
--icon-sml: 20px;
}
/* END VARS --------------------------*/

body {background-color: #F9F9FB;}

header {
    position: static; /* static / sticky */
    top: 0; 
    background-color: #002855; /*fallback*/
    background-color: var(--clr-header-bg);
    color: white; /*fallback*/
    color: var(--clr-header-text);
    background-size: cover;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)), var(--header-bg-img); */
    /* background-image: url("https://images.pexels.com/photos/3063411/pexels-photo-3063411.jpeg"); */
    /* background-image: url("../images/cityscape.png"); */
} 
header .content {
    background-size: cover;
    /* background-image: url("https://images.pexels.com/photos/3063411/pexels-photo-3063411.jpeg"); */
    /* background-image: url("../images/cityscape.png"); */
    flex-wrap: nowrap;
    gap: 1em;
}
header .logo img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}
/* Left side container */
header .inner1 {
    display: var(--display-hdr-inner1);
    padding: 0; 
    align-items: center;
    justify-content: flex-start; 
    flex: 0 0 auto;
}
header .inner1 .logo {
    display: var(--display-hdr-inner1-logo);
    background-image: var(--hdr-inner1-logo-bg-img);
    /* --hdr-inner1-logo-bg-img: url("https://dim7aws.davisresearch.com/260057/images/davisresearch.svg"); */
    width: 100px;
    max-width: 140px;
    height: 56px;
    flex: 0 0 auto;
}
header .inner1 .menu {
    display: var(--display-hdr-inner1-menu); 
}  
/* Middle container - tagline */
header .inner2 {
    display: var(--display-hdr-inner2);
    flex-direction: column;
    flex: 1 1 0;
    align-items: flex-start; /* flex-start / center / flex-end */
    justify-content: center;
    margin-left: 0;
    margin-right: auto; 
    min-width: 0;
    min-height: 1rem;
    width: auto;
    white-space: normal;
}
.taglines > * {margin: .15rem 0;}
.taglines h1 {
    display: var(--display-hdr-inner2-h1);
    font-size: 1.8rem;
    /* align-self: center;  */
}
.taglines h2 {
    display: var(--display-hdr-inner2-h2);
    font-size: 1.2rem;
    /* align-self: center;  */
}

/* Right side container */
header .inner3 {
    display: var(--display-hdr-inner3);
    padding: 0; 
    align-items: center;
    justify-content: flex-end; 
    flex: 0 0 auto;
    margin-right: 2em;
}
header .inner3 h3 {
    display: var(--display-hdr-inner3-h3);
    font-size: .75rem;
}
header .inner3 .logo {
    display: var(--display-hdr-inner3-logo);
    background-image: var(--hdr-inner3-logo-bg-img);
    width: 100px;
    max-width: 140px;
    height: 56px;
    flex: 0 0 auto;
}
header .inner3 .menu {
    display: var(--display-hdr-inner3-menu);
}

/* progress bar ====================================== */
.progressbar {background-color: var(--clr-progbar-bg);}
.progressbar:hover {background-color: var(--clr-progbar-hover);}
.progressbar tr:first-child:has(td:nth-child(2)) td:first-child {background-color: var(--clr-progbar-fill);}
main .progressbar, footer .progressbar, .progbarscale {display:none; width: 100%;}
/* ------- similar to old set-up ------------------------- */
/* main .progressbar, main .progbarscale {width: 150px; font-size: .75em;}
main .progressbar {display:block; height:0.85em; margin: 1em auto 0; border-radius: 3px; border: 1px solid #666;}
main .progbarscale {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 0 auto;
    color: #666;
}
.progbarscale span:first-child {justify-self: start;}
.progbarscale span:nth-child(2) {justify-self: center;}
.progbarscale span:last-child {justify-self: end;} */
/* ------- similar to old set-up ------------------------- */
/* progress bar ====================================== */

main .content {
    color: var(--clr-main-text);
    font-size: 1rem;
}
main .inner1 .logo, main .inner3 .logo {
    display: none;
    padding: 0.25em;
    margin: 0.25em;
    height: 35px;
}
main .hero {
    /* background-image: url("https://www.davisresearch.com/wp-content/uploads/2022/01/participate_graphic-scaled-e1642021305119-1-e1643848015838-1024x614.jpg"); */
    /* background-image: url("../images/260057-hero.png"); */
    background-image: url("https://dim7aws.davisresearch.com/260057/images/260057-hero.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #eee;
    min-block-size: 40vh;
    /* place-content: center; */
    /* text-align: center; */
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    /* box-shadow: x y blur spread color; */
    /* box-shadow: 0px -10px 10px 5px rgba(0, 0, 0, 0.25); */
}
main .hero.overlay {
    /* border-image-source: linear-gradient(rgba(0, 0, 0, 0.3),  rgba(0, 0, 0, 0.3)); */
    border-image-source: linear-gradient(80deg, rgba(255, 255, 255, 1) 25%,  rgba(255, 255, 255, 0.1));
    border-image-slice: fill 1;
}
main .hero .intros {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-width: 55%;
    font-weight: bold;
    gap: 1em; /*260721*/
}
main .hero .intro1 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: clamp(2rem, 4vw, 3rem); 
    color: var(--clr-primary);
}
main .hero hr {
    width: 150px;
    margin: .25rem auto .25rem 0;
    border: none;
    border-top: 3px solid var(--clr-secondary);
}
main .hero .intro2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    color: var(--clr-secondary);
}
main .hero .intro2 .onerem{
    color: var(--clr-primary);
}
main .hero .intro3 {
    font-size: 1.5em; 
    font-size: clamp(1em, 4vw, 1.5rem); 
    /* justify-self: center; */
    /* align-self: center; */
    /* color: white; */
}
main .hero .intro3 .giftbox {
/*260721*/
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    align-self: flex-end;
}
main .hero .intro3 .giftbox span {
/*260721*/
    color: #333;
    font-size: 1em;
    font-weight: normal;
}
main .hero .intro3 .giftbox .incentive {
    font-size: 1.25em;
    font-weight: bold;
    color: var(--clr-secondary);
}

/* OPTIONAL - unccomment to include logo in main. inner1=top, inner3=btm */
/* main .inner1 .logo {
    display: block; 
    background-image: url("../images/davisresearch.svg");
    margin-bottom: 1em;
} */
/* main .inner3 .logo {
    display: block; 
    background-image: url("../images/davisresearch.svg");
    margin-top: 2em;
} */
main .auth .inner1 .logo {display: none;}
main .auth .inner3 .logo {display: none;}

/*260721*/
main .inner1 .card:nth-child(1) ul {
    flex-direction: row;
    gap: 1em;
}
main .inner1 .card:nth-child(2),
main .inner1 .card:nth-child(3) {display: none;}
main .inner1 .card:nth-child(1) li {
    flex-direction: column;
    text-align: center;
}
/*260721*/

.cards{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem;
    padding: 1rem;
}
.card{
    display: flex;
    flex: 1 1 300px;
    flex-direction: column;
    padding: .25em;
    border-radius: 5px;
    /* background-color: #eee; */
}
.subheading {
    /* color: var(--clr-secondary); */
    color: var(--clr-primary);
    font-size: 1.15rem;
    font-weight: bold;
}
.subheading2 {
    color: var(--clr-primary);
    font-size: 1.25rem;
    font-weight: bold;
}
p.subheading2{
    margin: .25rem 0;
}
.card ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto; 
}
.svg-list{
    list-style: none;
    margin: .5em;
    padding: 0;
}
.svg-list li {
    display: flex;
    flex: 0;
    align-items: center;
    gap: .5rem;
}
.svg-list li svg {
    flex: 0 0 60px;   /* always reserve 60px */
}
.svg-circle, .svg-square{
    background-color: var(--clr-secondary, teal); 
    padding: .25em;
    /* width: var(--icon-med, 50px);
    height: var(--icon-med, 50px); */
    width: var(--icon-lrg, 50px);
    height: var(--icon-lrg, 50px);
    flex: 0 0 var(--icon-lrg, 50px);
}
.svg-circle {border-radius: 50%;}
.svg-square {border-radius: 10px;}

/*260721*/
.inner1 .svg-circle {
    background-color: var(--clr-accent); 
}
.circle-small {
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: var(--clr-secondary); 
    text-align: center;
    padding: .2em;
    color: white;
    flex-shrink: 0;
    flex-grow: 0;
}


/*make the <ul> consume the available height*/
.card .svg-list {
    display: flex;
    flex: 1;
    flex-direction: column;
}
/*make each <li> share the available vertical space equally*/
.card .svg-list li {
    display: flex;
    flex: 1;
    align-items: center;
    margin-bottom: .5em;
}
.card .svg-list li:last-child {
    margin-bottom: 0;
}

.inner1 .cards {
    text-wrap: balance;
}
.inner1 .cards > .card:first-child svg{
    width: var(--icon-big, 50px);
    height: var(--icon-big, 50px);
    flex: 0 0 var(--icon-big, 50px); 
}
.inner1 .cards > .card:nth-child(2) svg{
    width: var(--icon-med, 50px);
    height: var(--icon-med, 50px);
    flex: 0 0 var(--icon-med, 50px); 
}
/* .inner1 .cards > .card:nth-child(3) svg */
/* .inner1 .cards > .card:last-child svg */
/* .inner1 .cards > .card:first-child svg{ */
.inner1 .cards > .card:first-child svg.giftc{
    width: var(--icon-lrg, 50px);
    height: var(--icon-lrg, 50px);
    flex: 0 0 var(--icon-lrg, 50px); 
}

.giftbox {
    font-size: 1.25rem; 
    background-color: var(--clr-accent);
    color: var(--clr-primary, black);
    padding: .5rem;
}
.giftbox1 {
    display: flex;
    flex: 0;
    font-weight: bold;
    gap: 1rem;
    /* align-items: center; */
    text-wrap: balance; 
}
.giftbox2 {
    text-align: center;
    font-size: 5rem; 
    font-weight: bold;
}
.giftbox3 {
    text-align: center;
}
.navbox.auth {
    /* background-color: var(--clr-accent); */
    background-color: var(--clr-accent2);
    /* padding: 1rem; */
}
.navbox.auth .card {
    background-color: unset;
}
.navbox, .hint {text-align: left;}

.card.login-box, .card.login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/*260722*/
.card.login-box .mrEdit {
    max-width: 300px;
    height: 48px;
    font-size: 1.25rem !important;
    padding: .5em;
}
.card.login-btn input[type="Submit"] {
    font-size: 1.25rem !important;
    height: 48px;
    width: 70% !important;
    max-width: 300px;
}
input[name="_QSMAuth_Q_DIProps"] {display: none;}

/*260721*/
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.section-divider .line {
    flex: 1;
    height: 2px;
    background: #ddd;
}
.section-divider span {
    white-space: nowrap;
    font-weight: 600;
    color: var(--clr-primary);
    font-size: 1.5em;
}
/*260721*/

footer {
    display: block;  /*fallback*/
    display: var(--footer-display); 
    /* position: sticky;  */
    bottom: 0; 
    color: #666; /*fallback*/
    background-image: none; /*fallback*/
    background-image: var(--footer-bg-img);
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)), var(--header-bg-img); */
    /* background-image: url("https://images.pexels.com/photos/3063411/pexels-photo-3063411.jpeg"); */
    background-size: cover;
}
footer .content {
    display: flex;
    flex-direction: row; /*fallback*/
    flex-direction: var(--footer-flex-directiom);
    padding-top: 4px;
}
/* Left side container */
footer .inner1 {
    display: none; /*fallback*/
    display: var(--footer-inner1-display);
    padding: .25rem 1rem; /*fallback*/
    padding: var(--footer-inner1-padding); 
    align-items: center;
    justify-content: flex-start; 
    flex: 1 1 0; 
}
footer .inner1 .logo {
    display: none; /*fallback*/
    display: var(--footer-inner1-logo-display);
    background-image: var(--footer-inner1-logo-bg-img);
    width: 100px;
    max-width: 140px;
    height: 56px;
    flex: 0 0 auto;
}
footer .logo img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}
/* tagline */
footer .inner2 {
    /* display: none; fallback */
    /* display: var(--footer-inner2-display); */
    min-height: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    flex: 0 0 auto;
    flex-direction: column;
    background-image: var(--footer-inner2-bg-img);
}
/* Right side container */
footer .inner3 {
    display: none; /*fallback*/
    display: var(--footer-inner3-display);
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 0; 
    padding: .25rem 1rem; /*fallback*/
    padding: var(--footer-inner3-padding); 
}
footer .inner3 .logo {
    display: none; /*fallback*/
    display: var(--footer-inner3-logo-display);
    background-image: var(--footer-inner3-logo-bg-img);
    width: 100px;
    max-width: 140px;
    height: 56px;
    flex: 0 0 auto;
}
footer .inner3 > :last-child {
    margin-right: 0.5em;
}
footer .inner1 .card {
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    justify-content: center;
    padding: .5rem;
}
footer .inner1 .card:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer .inner1 .cards .card:nth-child(2) svg {
    width: var(--icon-sml, 50px);
    height: var(--icon-sml, 50px);
    flex: 0 0 var(--icon-sml, 50px);
}
footer .inner1 .card:nth-child(3) {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer .cards {
    padding: 0;
    margin: 0;
}
footer .cards .card:nth-child(1),
footer .cards .card:nth-child(2) {display:none;}

/* OPTIONAL - mirror header ------------ */
/* footer {background-color: #002855; background-color: var(--clr-header-bg); color: var(--clr-header-text);} footer .progressbar {display: block;} */
/* taglines tablet - balanced wrapping */
@media (max-width: 900px) {
    /* .taglines {max-width: 45ch;} */
    .taglines > *, footer .inner2 > * {text-wrap: balance;}
    .taglines h1 {font-size: 1.5rem;}
    .taglines h2 {font-size: 1rem;} 
    .taglines h3, .inner3 h3 {font-size: .65rem;}
    /* header .inner1 .logo {display:none;} */
    /* header .inner3 .logo {display:none;} */
    header .inner1 .logo {width:75px;}
    header .inner3 .logo {width:75px;}
    footer .inner1 .logo {width:75px;}
    footer .inner3 .logo {width:75px;}
    footer .inner2 > * {max-width: 60ch;}
    main .hero {min-block-size: 30vh;}
}
/* taglines phone */
@media (max-width: 600px) {
    header .content {flex-wrap: wrap;}
    /* .taglines {max-width: 30ch;} */
    .taglines h1 {font-size: 1rem; padding-top: .5rem;}
    .taglines h2 {font-size: .7rem;}
    .taglines h3, .inner3 h3 {font-size: .6rem;}
    /* push to next row */
    /* header .inner2 {
        order: 10;   
        flex: 0 0 100%;  
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    } */
    header .inner2 {flex: 1 1 auto;}
    header .inner3 {flex:1;}
    header .inner1 .logo {width:50px;}
    header .inner3 .logo {width:50px;}
    footer .inner1 .logo {width:50px;}
    footer .inner3 .logo {width:50px;}
    main .hero {min-block-size: 20vh;}
    main .hero .intros {max-width: 100%;}

    /*260722*/
    main .inner1 .cards {
        margin: 0;
        padding: 0;
    }
    main .inner1 .card:nth-child(1) ul {
        flex-direction: column;
        gap: 1em;
    }
    main .inner1 .card:nth-child(1) li {
        flex-direction: row;
        text-align: left;
    }
    main .inner1 .card:nth-child(1) li .subheading {
        width: 10em;
        text-align: left;
        font-size: 1em;
    }
    main .inner1 .card:nth-child(1) li span:last-child {padding-left: 1em;}
    .circle-small {display:none}
}

/* mrInterview ------------------------------------------------ */
.mrQuestionText {
    color: #333; /*fallback*/
    color: var(--clr-main-text);
    font-size: 1.25rem;
    font-weight: bold;
}
.mrGridQuestionText .mrQuestionText,
.accheader .mrQuestionText,
.mrSingleText, .mrMultipleText {
    font-size: 1rem;
    font-weight: normal;
    vertical-align: text-top;
}
.mrSingleText, .mrMultipleText {padding: 0.125em 0 .5em;}
/*
.mrBannerText {}
.mrDropdown {}
.mrEdit {}
.mrErrorText {}
.mrGotoDropdown {}
.mrGridCategoryText {}
.mrGridQuestionText {}
.mrListBox {}
.mrOtherText {}
.mrOtherEdit {}
*/

/* style all NAV buttons the same */
.mrNext, .mrPrev, .mrFirst, .mrLast, .mrStop, .mrGoto {
    border-radius: 5px; 
    border: 3px solid #00A896; /*fallback*/
    border: 3px solid var(--clr-btn-bg);
    background-color: #00A896; /*fallback*/
    background-color: var(--clr-btn-bg);
    color: white; /*fallback*/
    color: var(--clr-btn-text);
    text-align: center;
    /* do not set width, allow to re-size */
}
.mrNext:hover, .mrPrev:hover, .mrFirst:hover, .mrLast:hover, .mrStop:hover, .mrGoto:hover {
    background-color: #028090; /*fallback*/
    background-color: var(--clr-btn-hover);
    color: white; /*fallback*/
    color: var(--clr-btn-hover-text);
}
/*OPTIONAL - style BACK button differently */
/* 
.mrPrev {
    border: 3px solid yellowgreen;
    background-color: yellow;
    color: green;
}
.mrPrev:hover {
    border: 3px solid yellow;
    background-color: blue;
    color: yellow;
}
*/
/* 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;
}
 */
 @media only screen and (max-width: 375px) {
    .mrNext, .mrPrev {font-size: 0.8rem;}
}
/*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;}