﻿html {
  font-size: 14px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 70px;
}

.text-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:20px;
}

.table-fixed {
    width: 100%;
    table-layout: fixed;
    padding-top:20px;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}


.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

a {
    color: #1861ac;
}

.twenty {
    width: 20%;
}

.eighty {
    width: 80%;
}

.sixty {
    width: 60%;
}

.twelve {
    width: 12%;
}

.sixtyeight { 
    width: 68%;
}

.seventy {
    width: 70%;
}

.ten {
    width: 10%;
}

.IssueScreen-text {
    padding-bottom:20px;
    font-size:24px;
}

.IssueScreen-italic {
    color:#708091;
    padding-bottom:12px;
}

.IssueScreen-subtext {
    padding-left: 80px;
    font-size: 12px;
    color: gray;
}

.answerBox {
    width:100%;
    margin-bottom:20px;
}

.mitigatingConsiderationInfo {
    color: #708091;
    padding-bottom: 0px;
}

.mitigatingConsiderationAnswer {
    width: 100%;
    height: 60px;
    visibility: hidden;
    margin-top: 15px;
}

.answerChoice {
    padding: 10px;
    color: black;
}

.answerChoice:hover {
    padding: 10px;
    background-color: #2b4262;
    color: white;
    opacity: 1;
}

.letterChoice {
    color:white;
    padding:5px;
    background-color:lightgray;
    margin-right:10px;
    height:20px;
    width:20px !important;
    float:left;
}

.letterChoice:hover {
    background-color:#2b4262;
}

.slider-slide {
    width:100%;
    min-height:350px;
    text-align:left;
    padding-left:50px;
    padding-right:50px;
}

.square-container {
    display: flex;
    flex-wrap: wrap;
}

.square {
    background-color: lightgray;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
    flex-basis: calc(14.2% - 10px);
    margin: 5px;
    box-sizing: border-box;
}

.square:hover {
    background-color: #2b4262;
    color:white;
}

.square.selected-square {
    background-color: #be5927;
    color: white;
}


.square::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.square .sqcontent {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.otherbox {
    height: 60px;
    width: 98.65%;
    background: lightgray;
    margin-left: 5px;
    margin-top: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.otherbox:hover {
    background-color: #2b4262;
    color: white;
}

.otherbox.selected-square {
    background-color: #be5927;
    color: white;
}

.othertext {
    padding-top:20px;
    padding-left:30px;
}

.navbar {
    background-color: #2b4262 !important;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.25);
}

.oplogo {
    height:69px;
    margin-bottom:5px;
    margin-top:5px;
    padding: 7px 7px 7px 7px;
}

.oplogo-footer {
    height: 36px;
}

.head3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    float:left;
}

.rightfloat {
    float: right;
}

.rightf {
    float: right;
    margin-left: auto;
}

.maincontainer {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainbutton {
    background-color: #2b4262;
    color: white !important;
    text-align: center;
    /*border-radius: .25rem;*/
    padding: .75rem 1rem;
    font-size: 1.1rem;
    font-family: 'Urb','DMSans-title', sans-serif;
    font-weight:600;
    line-height:1.5;
    text-decoration: none;
}

.mainbutton:hover {
    background: #be5927 !important;
}

.featuredbutton {
    background-color: #be5927;
    color: white !important;
    text-align: center;
    padding: .75rem 1.5rem;
    font-size: 1.1rem;
    font-family: 'Urb','DMSans-title', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.featuredbutton:hover {
    background-color: #2b4262 !important;
    text-decoration: none;
}

.ctabutton {
    background-color: #67a3c1;
    color: white !important;
    text-align: center;
    /*border-radius: .25rem;*/
    padding: .75rem 1rem;
    font-size: 1.1rem;
    font-family: 'Urb','DMSans-title', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ctabutton:hover {
    background-color: #2b4262 !important;
    text-decoration: none;
}
.ctabutton2 {
    background-color: #67a3c1;
    color: white !important;
    text-align: center;
    /*border-radius: .25rem;*/
    padding: .5rem 1.25rem;
    font-size: 1.1rem;
    font-family: 'Urb','DMSans-title', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ctabutton2:hover {
    background-color: #2b4262 !important;
    text-decoration: none;
}

.ctabutton3 {
    background-color: #be5927;
    color: white !important;
    text-align: center;
    /*border-radius: .25rem;*/
    padding: .5rem 1.25rem;
    font-size: 1.1rem;
    font-family: 'Urb','DMSans-title', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ctabutton3:hover {
    background-color: #2b4262 !important;
    text-decoration: none;
}

a:link, a:visited {
    color: #be5927 ;
    text-decoration: none;
}

a:hover, a:active {
    /*color: #be5927;*/
    color: white !important;
    text-decoration: underline #be5927;
    background: #be5927 !important;
}

.nav-link {
    color: white !important;
    padding-left: 11px !important;
    padding-right: 11px !important;
} 

.navbar-brand:hover, navbar-brand:active {
    background: none !important;
}

@font-face {
    font-family: 'DMSans';
    src: url('../../fnt/DMSans-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'DMSans-title';
    src: url('../../fnt/DMSans-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Urb';
    src: url('../../fnt/Urb.woff2') format('woff2');
}

body {
    font-family: 'DMSans', sans-serif;
}


.text-primary {
    color: #2b4262 !important;
    font-family: 'DMSans', sans-serif !important;
}


.normallink {
    color: #2b4262 !important;
    text-decoration: none;
}

.normallink:hover {
    color: #2b4262 !important;
    text-decoration: none;
}

.emphasized {
    font-family: 'Urb','DMSans-title', sans-serif;
    font-size: 4rem;
    font-weight:500;
}

.adminHeading {
    width:100%;
    height:70px;
}

.resultsHeading {
    width: 100%;
    height: 40px;
}

.adminHeadingPageTitle {
    float:left;
}

.adminHeadingButtonContainer {
    float:right;
    margin-top:10px;
}

.resultsHeadingButtonContainer {
    float: right;
    margin-top: 10px;
}

.archiveToggle {
    float: left;
    margin-top: 5px;
    padding-left:15px;
}

.fullwidth {
    width: 100%;
    height:70px;
}

.results-page {
    font-family: "DMSans", sans-serif;
    max-width: 1400px;
    margin: auto;
}

.results {
    border-left: 5px solid transparent;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-top: 15px;
    padding-right: 15px;
    margin-bottom: 15px;
    background-color: #fdfdfd;
}

.results.blankbg {
    background-color: white;
    margin-bottom:0px;
    padding-bottom:10px;
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
}

.results.gray {
    background-color: #e8f5e9;
    border-left-color: #4caf50;
}


.results.white {
    background-color: white;
    border-left-color: #2b4262;
}

.results.orange {
    background-color: #be59271A;
    border-left-color: #be5927;
}

.results.blue {
    background-color: #2b42621A;
    border-left-color: #2b4262;
}


.results.dblue {
    background-color: #2b426225;
    border-left-color: #2b4262;
}

.results.gray:hover {
    background-color: #c6f7ca;
}

.results.orange:hover {
    background-color: #be592733;
}

.results.blue:hover {
    background-color: #2b426225;
}

.results.dblue:hover {
    background-color: #2b426231;
}

.results.white:hover {
    background-color: #2b426205;
}

.source-note {
    font-style: italic;
    font-size: 0.75em;
    color: black;
    margin-left: 24px;
    float:right;
}

.leftresult {
    width:48%;
    float:left;
}

.rightresult {
    width: 49%;
    float: right;
}

.italic-result-head {
    font-style: italic;
    font-size: 1em;
    margin-top:10px;
    line-height:18px;
    margin-bottom:15px;
    margin-left:15px;
    margin-right:20px;
}

.italic-result-body {
    font-weight: 400;
    font-style: italic;
    font-size: 1em;
    color: #2f4f4f;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px 0;
    left: 0; right: 0;
}

@media (max-width: 576px) {
    .footer {
        position: static;
    }

    body {
        margin-bottom: 0;
    }
    /* drop the spacer hack on mobile */
    .footer .container {
        white-space: normal;
    }
}

.footer-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}


.footer-text {
    margin: 0; /* kill default <p> margins */
    line-height: 1.3; /* normal readable lines */
    white-space: normal; /* ensure wrapping allowed */
}

.footer-text .allrights {
  margin-left: 0;
}

@media (max-width: 575.98px) {
    .footer-text .allrights {
        margin-left: 11px;
        display: inline-block; /* ensures margin applies cleanly after the <br> */
    }

    .footer-text {
        font-size: 0.8em;
    }

    .adminHeadingPageTitle {
        max-width: 70%;
    }

    .adminHeading {
        height:70px;
    }

    .adminMobileContainerAdj {
        margin-top:10px;
    }
}

@media (max-width: 768.88px) {
    .footer-text {
        font-size: 0.8em;
    }
}

.footer a:hover, .footer a:active {
    background:unset !important;
    text-decoration: unset !important;
}

.oplogo-footer {
    vertical-align: middle;
}

.incompleteGlyph {
    color: orange;
    font-size: 1.5em;
    margin-right: 10px;
}

@media print {
    @page {
        size: 210mm 297mm;
        margin: 6.35mm;
    }

    .no-break {
        break-inside: avoid;
        page-break-inside: avoid;
        break-before: auto;
        padding-top:10px;
    }

    .continued-note {
        display: block;
        width: 100%;
        padding-top: 20px;
    }

    .results-page {
        width: 100% !important;
        border-collapse: collapse;
    }

    .resultsHeading {
        width: 100% !important;
        border-collapse: collapse;
    }

    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media screen {
    .continued-note {
        display: none;
    }
}

.other-search-container {
    min-height: 285px; /* tweak as you like */
}

.other-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* wrap for search + arrows */
.other-search-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto; /* shove block to the right */
}

/* existing search tweaks still fine */
#otherSearchBoxHost > div > label {
    width: 250px;
    padding-right: 6px;
    margin-bottom: 0;
}

/* let flex handle it; no float */
#rightleftbuttons {
    display: flex;
    align-items: center;
}

/* Optional: keep the single statement cell from collapsing too small */
#statementsearchTable tbody td {
    vertical-align: top;
    padding: 0.75rem 0.5rem;
}

#statementsearchTable thead {
    display: none;
}

/* Give the table area a steady height so Next ► doesn’t bounce */
.other-search-container {
    min-height: 105px; /* collapsed */
}

.other-search-expanded {
    min-height: 105px !important; 
}

/* Hide the built-in "Search:" label text but keep the box */
.other-search-header .dt-search label {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* DT 2.x usually has label > span + input; hide the span if present */
.other-search-header .dt-search label span {
    display: none;
}

#statementsearchTable_wrapper > div:nth-child(1) {
    margin-top: -14px !important;
}

/* style the paging container in your header */
#rightleftbuttons .dt-paging {
    display: flex;
}

/* mimic DataTables 2.x buttons */
#rightleftbuttons .dt-paging-button {
    padding: 0.25em 0.75em;
    margin-left: 2px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #fff;
    font-size: 0.875rem;
    line-height: 1.4;
    cursor: pointer;
}

#rightleftbuttons .dt-paging-button:not([aria-disabled="true"]):hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

#rightleftbuttons .dt-paging-button[aria-disabled="true"] {
    opacity: 0.5;
    cursor: default;
}

.issue-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem; /* keeps spacing nice even on small screens */
    margin-bottom: 0.3rem;
    flex-wrap: wrap; /* prevents overflow on tiny screens */
}

.issue-meta-line span {
    white-space: nowrap; /* keeps each piece together */
}

.bullet-dot {
    display: inline-block;
    padding-right: 0.5rem; /* adjust spacing to taste */
    padding-left: 0.5rem;
}

.filter-active {
    border: 2px solid #be5927 !important;
}

.form-select:focus {
    border-color: #be5927;
    box-shadow: 0 0 0 0.20rem rgba(190, 89, 39, 0.2);
}
