/* modal */
:root{
    --ballot-desktop-dark-blue:#4E78DA; 
    --bs-border-color:#888;
}
.modal-open{
    overflow: hidden;
}
.modal{
    --bs-modal-zindex: 100;
    --bs-modal-width: 500px;
    --bs-modal-padding: 1rem;
    --bs-modal-margin: 0.5rem;
    --bs-modal-color: ;
    --bs-modal-bg: #fff;
    --bs-modal-border-color: var(--bs-border-color-translucent);
    --bs-modal-border-width: 1px;
    --bs-modal-border-radius: 0.5rem;
    --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-modal-inner-border-radius: calc(0.5rem - 1px);
    --bs-modal-header-padding-x: 1rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1rem;
    --bs-modal-header-border-color: var(--bs-border-color);
    --bs-modal-header-border-width: 1px;
    --bs-modal-title-line-height: 1.5;
    --bs-modal-footer-gap: 0.5rem;
    --bs-modal-footer-bg: ;
    --bs-modal-footer-border-color: var(--bs-border-color);
    --bs-modal-footer-border-width: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-modal-zindex);
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color:black;
	opacity:0.5;
	filter: alpha(opacity=50);
}

/* toasts */
.toast{
    position:absolute;
    left:33%;
    top:10%;
    z-index:999;
    min-height: 85px;
    width:400px;
    /*transform: translate(0%, -75px);*/
}

/* layout */
body {
    width:100%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 9pt;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
}
.shadow{
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,.15)!important;
}
h1{
    font: bold 20pt  Gotham, Arial, sans-serif;
    color:black;
}
h2{
    font: bold 14pt  Gotham, Arial, sans-serif;
}
h3{
    font:bold 12pt Gotham, Arial, sans-serif;
    color: #5b5b5b;
}
.bd-email form h3{
    color:black;
    border-bottom:solid 1px #990000;
}
h4{
    font:bold 10pt Gotham, Arial, sans-serif;
}
hr{
    height:2px;
    background-color:#9CB4EB;
    border:none;
    opacity: 1;
}
.bd-right-panel hr, .bd-left-panel hr{
    height:2px;
    background-color:var(--bs-link-color);
    border:none;
}
.thin{
    height:1px !important;
}
.red{
    color:#990000;
}
.green{
    color:limegreen;
}
.normal{
    font-weight:normal;
}
.bolder{
    text-shadow: 0 0 black;
}

/* header */
.bd-header{
    height: 168px;
    width: 100%;
    margin-top:10px;
}
.bd-top-tabs-container{
    height: 30px;
    border-bottom:#DCE4F8;
}
.bd-top-logo-container{
    height:60px;
    width:100%;
    background-color:#DCE4F8;
}
.bd-hl7-logo{
    width: 106px;
    position:relative;
    left:15px;
    top:-7px;
    z-index:2;
}
.bd-pf-logo{
    position:relative;
    top:-12px;
}
.bd-main-tabs-container{
    position:relative;
    top:-30px;
    margin-left:150px;
    height:35px;
}
.bd-main-nav-container{
    width:85%;
    position:relative;
    top: -81px;
    left:130px;
    z-index: 1;
    overflow: auto;
}
.bd-header-stripe-1{
    background-color: #9CB4EB;
    height:25px;
    position: relative;
    top:-103px;
}
.bd-header-stripe-2{
    background-color: #C2D1F3;
    height:25px;
    position: relative;
    top:-103px;
}
.bd-header-stripe-3{
    background-color: #DCE4F8;
    height:25px;
    position: relative;
    top:-103px;
}
.bd-printer-friendly{
    position:relative;
    top:-125px;
    z-index:2;
    width:100%;
    text-align: right;
    padding-right:10px;
    display: none;
}

/* body containers / content */
.bd-container{
    width: 100%;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    position:relative;
    padding:0 1px;
}
.bd-left-panel {
    width: 18%;
    min-height: 600px;
    margin-left:2px;
}
.bd-right-panel{
    width: 17%;
    min-height: 600px;
    float:right;
    margin-right:2px;
}
.bd-home, .bd-vote, .bd-tally, .bd-tally-detail, 
.bd-document-detail, .bd-export,
.bd-help, .bd-email, .bd-test, .bd-leave{
    width:65%;
    min-height: 600px;
    margin-left:2px;
    margin-right:2px;
    padding:3px;
}
.bd-left-panel, .bd-right-panel, .bd-main-content{
    border:solid 1px #9CB4EB;
    border-radius: 8px;
}
.bd-vote{
    width:65%;
}
.bd-documents-table{
    background-color:#cccccc;
    border:solid 1px black;
}
.bd-documents-table td.bd-td-header{
    background-color:#cccc99;
    border:solid 1px #999999;
    margin:1px;
    padding:2px;
    font-size:8pt;
}
.bd-documents-table td{
    background-color:white;
    border:solid 1px #cccccc;
    margin:1px;
    padding:2px;
    font-size:8pt;
}
.bd-tallydetail-table{
    width:100%;
    font-size:8pt;
}
.bd-join, .bd-recon-pkg, .bd-optout, .bd-withdraw-retract, .bd-participant-detail {
    width: 82%;
    min-height: 600px;
    padding:3px;
    margin-left:2px;
}
.bd-recon-pkg.delete, .bd-optout, .bd-admin{
    width:100%;
    margin-left:0px;
}
.bd-join-table{
    background-color:#cccccc;
    border:solid 1px black;
    font-size:9pt;
}
.bd-join-table th{
    background-color:#cccccc;
    border:solid 1px black;
    padding:2px;
}
.bd-join-table td{
    background-color:white;
    border:solid 1px #cccccc;
    margin:1px;
    padding:2px;
}
.bd-login, .bd-nonmember-signup,.bd-admin{
    width:100%;
    min-height: 600px;
    padding:3px;
}
.bd-form{
    width:80%;
    margin:auto;
}
.bd-login-choice{
    width:90%;
    min-height: 600px;
    margin:20px auto;
    text-align: center;
}
.bd-login-choice-form-container{
    display:flex;
    justify-content: space-between;
    margin-top:20px;
}
.bd-login-choice-form-left{
    width:45%;
    text-align: left;
    /* padding-right:20px; */
}
.bd-login-choice-form-middle{
    width:1px;
    border-right:solid 1px gray;
    max-height:300px;
    margin-top: 30px;
}
.bd-login-choice-form-right{
    width:49%;
    text-align: left;
    padding-left:30px;
}
.bd-login-choice li{
    list-style: none;
    background:url('/assets/buttonimages/icon_rightarrow_16x16.png') no-repeat;
    margin-left:-20px;
    padding-left:25px;
    padding-bottom:4px;
}
.bd-login-choice-link-container{
    width:100%;
    min-height:270px;
}
.bd-login-choice-button-container{
    width:100%;
    text-align: center;
    display: flex;
    align-items: center;
}
.bd-debug{
    width:100%;
    overflow: scroll;
}
.bd-form-table, .bd-form-table2{
    width:100%;
    border:solid 1px #555555;
    border-radius: 8px;
    border-collapse: separate;
}
#nonmember_ballot_profile .bd-form-table2{
    padding:10px;
}
.step2-container .row{
    margin-bottom:10px !important;
}
.bd-recon-pkg .bd-form-table{
    background-color:#ccc;
}
.bd-form-label{
    width:20%;
    text-align:right;;
}
.form-label{
    font-size:12pt !important;
}
.bd-form-field{
    width:40%;
    text-align:left;
}
.form-check-input{
    vertical-align: unset;
}
.bd-field-required{
    font-size:15pt;
    font-weight: bold;
    color:red;
    vertical-align: middle;
}
.bd-footer{
    width:100%;
    height:15px;
    border-top:solid 1px #C2D1F3;
    text-align: center;
    color:red;
    padding:3px;
    position:relative;
    top:24px;
}
.bd-notice{
    width:100%;
    padding:5px 10px;
    border-top:solid 1px var(--ballot-desktop-dark-blue);
    border-bottom:solid 1px var(--ballot-desktop-dark-blue);
    background-color: cornsilk;
    margin-bottom:2px;
    display:flex;
}
.bd-notice-img{
    width:30px;
}
.bd-notice-txt{
    font-weight:bold;
}
.bd-email form .bd-notice{
    background-color:#f2f2f2;
}
.bd-email form .bd-notice-txt{
    font-weight:normal;
}
.bd-warning{
    position: relative;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
    border-top: 1px solid #9CB4EB;
    border-bottom: 1px solid #9CB4EB;
    padding: 5px;
    background-color: #F2F2F2;
    margin: 2px;
}
.bd-sample{
    border-top: 1px solid #990000;
    border-bottom: 1px solid #990000;
    background-color: #F2F2F2;
    margin: 2px;
    padding: 5px;
    font-size:8pt;
}
.bd-left-panel .bd-notice-txt{
    font-weight:normal;
}
.bd-details-container{
    width: 98%;
    border: solid 1px var(--bs-border-color);
    margin: auto;    
    border-radius: 8px;
}
.bd-details-header{
    background-color: #ccc;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 5px;
    font-weight: bold;
}
.bd-details-header.bd-bulletin{
    background-color:forestgreen;
    color:white;
    margin-bottom:5px;
}
.bd-details-body{
    padding: 5px;
}
.bd-form-txt-sm{
    font-size:8pt;
}
.bd-vote .accordion-button.collapsed, .bd-vote .accordion-button:not(.collapsed){
    background-color:#0D6EFD !important;
    color:white !important;
}
.bd-vote .accordion-button::after, .bd-vote .accordion-button:not(.collapsed)::after {
    color:white !important;
}
.bd-vote .accordion{
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.bd-profile-image img{
    width:50px;
    height:50px;
    border-radius:5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* navigation */
.bd-top-tabs{
    width: 180px;
    float: right;
}
.bd-top-tabs .nav-item, .bd-main-tabs .nav-item{
    margin-right:5px;
}
.bd-top-tabs .nav-item .nav-link, .bd-main-tabs .nav-item .nav-link{
    color:white;
    background-color:var(--ballot-desktop-dark-blue); /* dark blue */
    height:30px !important;
}
.bd-top-tabs .nav-item.active .nav-link{
    color:black;
    background-color:#DCE4F8; /* very light blue */
}
.bd-main-tabs .nav-item.active .nav-link{
    color:white;
    background-color:#9CB4EB;
}
/* make help tab different color */
.bd-main-tabs .nav-item:nth-last-child(1) a, .bd-main-tabs .nav-item.active:nth-last-child(1) a{
    border-color:#f98e1d;
    border-width: 3px;
    border-bottom: 0px;
    line-height: 3px;
}

.bd-main-nav a{
    color:black;
    text-decoration: none;
}
.bd-main-nav a:hover{
    color:white;
    background-color:var(--ballot-desktop-dark-blue);
    text-decoration: none;
}
.bd-top-right-nav{
    float:right;
    padding:0 10px;
    position:relative;
    top:-100px;
}
.bd-top-right-nav ul, .bd-main-nav ul{
    list-style-type: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.bd-top-right-nav li, .bd-main-nav li{
    display:block;
    float:left;
}
.bd-top-right-nav-welcome{
    float:right;
}
.bd-top-right-nav a{
    color:black;
    text-decoration: none;
}
.bd-top-right-nav a:hover{
    color:white;
    background-color:var(--ballot-desktop-dark-blue); 
    text-decoration: none;
}
.bd-login-choice-button-primary{
    padding: 11px 25px;
    vertical-align: middle;
    background-image: -webkit-linear-gradient(bottom, #cb0000 0%,#ff6060 100%);
    color: white;
    text-decoration: none;
    border:solid 1px #a80000;
    background-color:#dc0000;
    text-shadow: 0px 1px 1px #510001;
    box-shadow:0 2px 3px rgba(50,50,50,.3),inset 0 1px 0 rgba(255,255,255,.44);
    border-radius: 4px;
    font:bold 15px arial;
    cursor: pointer;
    background-clip: padding-box;
}
.bd-login-choice-button-primary:hover{
    color: white;
    background-image: -webkit-linear-gradient(bottom, #cb0000 0%,#cb0000 100%);
}
.bd-login-choice-button-secondary{
    padding: 7px 20px;
    vertical-align: middle;
    background-image: -webkit-linear-gradient(bottom, #d1d1d1 0%,#eeeeee 100%);
    color: #4e4e4e;
    text-decoration: none;
    border:solid 1px #9c9c9c;
    background-color:#c2c2c2;
    box-shadow:0 2px 3px rgba(50,50,50,.3),inset 0 1px 0 rgba(255,255,255,.44);
    border-radius: 4px;
    font:bold 13px arial;
    cursor: pointer;
    background-clip: padding-box;
}
.bd-login-choice-button-secondary:hover{
    color: #4e4e4e;
    background-image: -webkit-linear-gradient(bottom, #d1d1d1 0%,#d1d1d1 100%);
}
a.download:link {
	color: #0d6efd;
	text-decoration: underline;
}
a.download:visited {
	color: #0d6efd;
	text-decoration: underline;
}
a.download:hover {
	color: red;
	text-decoration: underline;
}
a.download:active {
	color: #0d6efd;
	text-decoration: underline;
}
.bd-extracolumns-toggle{
    font-size:8pt;
}

/* accordions */
.accordion-button{
    font-size:12px !important;
    color: black !important;
    padding:5px !important;
    font-weight:bold;
}
.accordion-button:not(.collapsed), .accordion-button.collapsed{
    background-color:#cccccc !important;
}
.accordion-button:not(.collapsed)::after{
    background-image: var(--bs-accordion-btn-icon) !important;
}
.accordion-button:focus{
    box-shadow: none !important;
}
.accordion-body{
    padding:2px !important
}
.bd-left-panel .accordion li{
    list-style: none;
    background:url('/assets/bulletimages/pointer.gif') no-repeat;
    margin-left:-33px;
    padding-left:15px;
    background-position-y: center;
}
.bd-left-panel .accordion li:first-of-type{
    margin-top:5px;
}
.bd-left-panel .accordion .bd-li-zip{
    background:url('/assets/filetypeimages/zip.gif') no-repeat;
    padding-left:20px;
}
.bd-right-panel .accordion .bd-li-level{
    list-style: none;
    background:none;
}
.bd-right-panel .accordion .bd-li-legend{
    background:none;
    padding:3px 0px;
}
.bd-right-panel .accordion .bd-arrow, .bd-left-panel .accordion .bd-arrow-top{
    list-style: none;
    background:url('/assets/bulletimages/pointer.gif') no-repeat;
    margin-left:-33px;
    padding-left:15px;
    background-position-y: center;
}
.bd-left-panel .bd-arrow-top{
    background-position-y: 5px !important;
    margin-top:10px !important;
    margin-bottom:10px !important;
}
/* .bd-right-panel .accordion-item:not([style*="display:none"]):first{
    border-top:solid 1px var(--bs-border-color);
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
} */

/* tally specific */
.negnocontact{
    background-color:red;
    color:white;
}
a.blacklink:link {
	color: black;
	text-decoration: none;
}

a.blacklink:visited {
	color: black;
	text-decoration: none;	
}

a.blacklink:hover {
	color: red;
	text-decoration: none;	
}

a.blacklink:active {
	color: black;
	text-decoration: none;	
}

a.whitelink:link {
	color: white;
	text-decoration: underline;
}

a.whitelink:visited {
	color: white;
	text-decoration: underline;	
}

a.whitelink:hover {
	color: white;
	text-decoration: underline;	
}

a.whitelink:active {
	color: white;
	text-decoration: underline;	
}

/* responsive */
@media only screen and (max-width:1080px){
    .bd-login-choice-button-container{
        flex-direction: column;
    }
}