.display-none {
    display: none;
}

/* Places the footer on the bottom for short pages */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#container {
    flex: 1;
}
@media(max-width: 767px) {
    #container {
        width: 100%;
    }
}

.actions li{
    display: inline;
}

footer {
    margin-top: 15px;
    padding-bottom: 15px;
}

.login #content {
    margin-top: 150px;
}

.advOutput {
    padding: 10px 0;
}
.advOutput:nth-child(even) {
    background: #eee;
}
.advOutput label, .advOutput span {
    margin: 0;
}

.paging {
    margin-bottom: 10px;
}
.paging a {
    padding: 1px 5px;
    margin-right: 10px;
    border-radius: 2px;
}

/* Deleted orders */
.order-inactive {
    background: rgba(255,0,0,0.25) !important;
    border: 2px solid red !important;
}
.order-inactive td:first-child::before {
    position: absolute;
    left: -50px;
    content: 'Deleted';

    /* Badge  */
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #900323;
    border-radius: 10px;
}

/* order index modal */
.orderindex-modal .modal-body{
    word-wrap: break-word;
}
.orderindex-modal h1 {
    text-align: center;
}
.orderindex-modal h2 {
    text-align: center;
    margin-bottom: 1em;
}
.orderindex-modal .termsAgreed {
    margin: 1em 0;
}
.orderindex-modal .btn-danger {
    cursor: not-allowed;
    pointer-events: all;
}

/* order view/edit files */
.addAdditionalFiles{
	float:right;
}
.additionalFilesDiv{
	display: none;
}
.cancelAdditionalFiles{
	display: none;
	float: right;
}
.addBrandNewFiles{
    display: none;
}
.cancelBrandNewFileUploader{
    display: none;
}

/* apexadd */
.apexadd .header-glowing {
    text-align: center;
}

.apexadd .submitForm {
    text-align: center;
}
.apexadd .clientDis {
    color: red;
}
.apexadd .userDis {
    color: red;
}
.apexadd .modal-body {
    text-align: justify;
    word-wrap: break-word;
}
.apexadd .text-center {
    text-align: center;
}

/* userterms */
.modal-body{
    text-align: justify;
    word-wrap: break-word;
}
.reviewTerms{
    text-align: center;
    float:left;
    text-align: justify;
    text-align-last: left;
    word-wrap: break-word;
}

/* reset_password */
.resetpassword .header{
    text-align:center;
}
.resetpassword .submitForm{
    text-align:center;
}
.resetpassword .instructions{
    text-align:center;
}
.resetpassword .pwStatus{
    text-align:center;
}

/* forgot_password */
.registrationContainer .header {
    text-align:center;
}
.registrationContainer .submitForm {
    text-align:center;
}

/* Button bar/Search box */
.button_bar .form-group:before {
    content: " ";
    display: table;
}
.button_bar .form-group:after {
    clear: both;
    content: " ";
    display: table;
}
.button_bar .btn-group {
    display: block;
    padding: 0 15px;
    margin-bottom: 15px;
}
.button_bar .btn-group > * {
    display: inline;
    padding-right: 10px;
}
/* button bar - mobile */
.button_bar .visible-xs-block .btn-group > .col-xs-12:not(:last-child) {
    padding-bottom: 15px;
}

/* order edit vendor notes */
.ordersvendor_notes pre {
    padding-top: 0;
    border: none;
    background: transparent;
    white-space: pre-wrap;
    word-break: keep-all;
}
.ordersVendors button {
    margin: 0 5px 5px 0;
    display: block;
}

.hiddenLogoInput{
    display: none;
}

.cancelLogoUpload{
    display: none;
}

#myModalLabel{
    text-align: center;
}

@media(min-width: 768px) {
    .modal-dialog {
        width: 80vw;
    }
    .narrowType {
        width: 40vw;
    }
}
.modal-footer{
    text-align: center;
}

/* dimmed overlay (deleting files) */
.dimmed {
  background: rgba(10, 128, 128, 0.5);
}

/* JB :: 2018-07-19 Thu 10:53 AM -- clients /view as apex */
.apexOptionsMenu{
    margin-top: 2em;
}

.successTermsMessage2{
    color: green;
    display: none;
}

.hiddenTermsSuccess{
    color: green;
}

.howToHeader{
    text-align: center;
}

.howToFooter{
    text-align: center;
}

.howToBody{
    text-align: justify;
}

.howToDisclaimer{
    text-align: center;
    color: red;
}


.collapsableButtons {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.active, .collapsableButtons:hover {
    background-color: #ccc;
}

.loadSpinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -250px; /* half width of the spinner gif */
    margin-top: -260px; /* half height of the spinner gif */
    text-align:center;
    z-index:1234;
    overflow: auto;
    /*
    width: 100px; 
    height: 102px; 
    */
    color:#FFFFFF;
    font-size:larger;
    font-weight:bolder;
}
.loadOverlay {
    display: none;
    background: rgba(50,50,50,0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    z-index: 1051;
}

.agreeConfirmation{
    color: green;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 500;
}
.vertiNote{
    max-height: 160px;
    overflow-y: auto;
}
/* 
.newUserForClient{
    float: right;
} */

/* Order-Add */
.input_header{
    background-color: #323340;
    font-size:larger;
    line-height: 2em;
    border-radius:9px;
    color:white;
}

#OrderAddForm textarea {
    resize: vertical; /* prevent horizontal resize */
}

.stateLabels{
	font-size:25px;
}

.stateProperties{
	text-align:center;
}

.countyLabels{
	font-size:25px;
}

.countyProperties{
	text-align:center;
}

.selectACounty{
    display:none;
}

.logOutFa{
    float:right;
}

.compProfileFa{
    float:right;
}

.userProfileFa{
    float:right;
}

.addUserToClientGroup{
    float:right;
    border: 1px solid #A0A0A0;
}

.userSignUp{
    text-align:center;
}

.inviteLinkEmail{
    text-align:center;
}

.quickTimeZoneChange{
    color:#000;
}

.quickTimeZoneChange:hover{
    cursor:pointer;
}

.passwordsClientEnroll{
    text-align:center;
}

#btnTwitter{
    background-color:#1da1f3;
    color:#FFF;
}

#btnFacebook{
    background-color:#3C5A99;
    color:#FFF;
}

#btnLinkedin{
    background-color:#0077B5;
    color:#FFF;
}

.modal-sm{
    max-width:20% !important;
}

#socialMediaModal{
    text-align:center;
}

.twitterInputs{
    display:none;
}

.facebookInputs{
    display:none;
}

.linkedinInputs{
    display:none;
}

.ballotBossUserProfile{
    width:100%;
    height:100%;
    margin:0 auto;
}

.moreBallotBossUserProfile{
    display:none;
}

.minimizeBallotBossUserProfile{
    display:none;
}

.socialMediaFeedsHeader{
    text-align:center;
}

.socialMediaActualFeeds{
    text-align:center;
}

.socialMediaFeedDividers {
    border-left: 1px solid #E0E0E0;
}

.twitterFeedHeader{
    background-color:#1da1f3;
    color:#FFF;
}

.facebookFeedHeader{
    background-color:#3C5A99;
    color:#FFF;
}

.linkedinFeedHeader{
    background-color:#0077B5;
    color:#FFF;
}

.enableSocialMedia{
    text-align:center;
    display:none;
}

.configSocialMediaShow{
    float:right;
    outline:none;
}

.configSocialMediaHide{
    display:none;
    color:red;
    outline:none;
    float:right;
}

/* #remainingCharactersTwitter{
    color:#FFF;
    background-color:#1da1f3;
    width:100%;
}

.modalSocialMediaQuickPost{
    outline:none !important;
}

.quickPostTwitterTextarea{
    width:100%;
    height:100%;
    resize:none;
    outline:none !important;
} */

.removeNagButtonOnModal{
    float:right;
    color:red;
}

.whatIsAProductionAssistant{
    color:#1B71C6;
}

.whatIsAProductionAssistant:hover{
    cursor:pointer;
}

.legendbox{
    box-shadow:0px 0px 15px #bfbfbf;
    height:700px;
    width:250px;
    right:0;
    float:right;
    position:fixed;
    top:19%;
    bottom:530px;
    display:none;
    background:white;
    border-top-left-radius:25px;
    border-bottom-left-radius:25px;
    font-family: Arial, Helvetica, sans-serif;
    z-index:20; /* this to prevent footer from overlapping onto legend box*/
}
.legendbtn{
    outline:none !important;
    background:#7E7E7E;
    height:250px;
    width:35px;
    float:right;
    position:fixed;
    right:0px;
    top:30%;
    bottom:550px;
    color:white;
    font-family: "Comic Sans MS",cursive, sans-serif;
    border-top-left-radius:25px;
    border-bottom-left-radius:25px;
}
.legendbtn:hover{
    color:white;
} 
.closelegend{
    margin-top:5px;
    position:absolute;
    left:35%;
    bottom:0;
    color:#999;
}
.legendIconsOrdersIndex{
    margin-top:25px;
}

/* Calendar */
.toggleFullCalendarOrdersIndex{
    float:right;
}

.toggleFullCalendarOrdersIndex:hover{
    cursor:pointer;
}

.toggleFullCalendarOffOrdersIndex{
    float:right;
    color:#3078DB;
}

.toggleFullCalendarOffOrdersIndex:hover{
    cursor:pointer;
}

#calendar {
    width: 100%;
}
.fc-view-container {
    background: white;
}
#calendar thead {
    background-color: transparent;
}
#calendar tr {
    background-color: transparent;
}
.fc-highlight {
    opacity: 1;
    background: rgba(188, 232, 241, 0.3);
}
.fc-addNewLabel-button {
    border: none;
    margin-right: -10px !important;
    background: transparent;
    box-shadow: none;
}
.fc-addNewLabel-button:hover {
    cursor: default;
}
.fc-addNewLabel-button:focus {
    outline: none;
}

.calendar-tooltip {
    padding: 15px;
    font-weight: bold;
    position: fixed;
    background: white;
    z-index: 10000;
    opacity: 0;
    max-width: 200px;
    box-shadow: 4px 4px 16px 0px rgba(0,0,0,0.75);
}

#calendar-election-tooltip {
    max-width: 450px;
    padding: 30px;
    font-weight: normal;
    opacity: 1;
    display: none;
}
@media(min-width: 768px) {
    #calendar-election-tooltip {
        max-width: none;
        width: 450px;
    }
}

#calendar-election-tooltip .close {
    margin-top: -16px;
    margin-right: -16px;
}
#calendar-election-tooltip h4 {
    margin-top: 0;
    margin-bottom: 30px;
    padding-right: 15px;
}
#calendar-election-tooltip .row:not(:last-child) {
    margin-bottom: 15px;
}
#calendar-election-tooltip ul {
    list-style: none;
    padding: 0;
}

#calendarBaseModal thead {
    color: #333;
}

.badge-container.pull-right {
    padding-right: 15px;
}
.badge-container .badge {
    margin-top: 5px;
    cursor: pointer;
}
.badge-container .badge:not(:last-child) {
    margin-right: 5px;
}
.badge-container.pull-right .badge {
    cursor: auto;
}
.badge-container .fa {
    pointer-events: none;
}

.pick-calendar-buttons {
    display: flex;
    flex-wrap: wrap;
}
.pick-calendar-buttons > div {
    flex: 1;
}
@media(max-width: 767px) {
    .pick-calendar-buttons > div {
        flex-basis: 100%;
    }
}
.pick-calendar-delete {
    display: none;
}

.election-add-table .inner-table td {
    padding: 0;
}
.election-add-table .inner-table:not(.show-hidden) .table-row.missing {
    display: none;
}
tr.table-row input {
    background: rgba(255,255,255,0.5);
}
tr.table-row.missing input {
    background: rgba(255,0,0,0.3);
    border-color: white;
}

.modal-spinner {
    display: none;
}
.modal-spinner-icon,
.modal-spinner-overlay {
    position: absolute;
    top: 0; left: 0;
    bottom: 0; right: 0;
}
.modal-spinner-icon {
    z-index: 1070 !important;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-spinner-overlay {
    z-index: 1060;
    background: #333;
    opacity: 0.8;
}

.election-add-table {
    position: relative;
}
.election-add-table > thead {
    position: sticky;
    top: 0;
}
.election-add-table .scroll-wrap {
    height: 48vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
.inner-table {
    margin-bottom: 0;
}
.election-add-table th {
    text-align: center;
}
.event-election-wrap {
    display: flex;
}
.event-election-wrap select {
    border-right: 1px solid rgba(0,0,0,0.1);
    flex-basis: 2rem;
}
.event-election-wrap input {
    border-left: none;
}
.election-add-table tbody tr {
    background-color: white;
}
.election-add-table tbody tr:nth-child(odd) {
    background-color: white;
}
.election-add-table > tbody {
    border: 1px solid #ddd;
}
.inner-table > tbody {
    border-bottom: 1px solid #ddd;
}
.event-data-validation {
    opacity: 0;
    position: absolute;
    top: 45px;
    left: 15px;
}
#addCalendarModal {
    overflow-y: hidden;
}

/* Notifications */
.notifications-outer[data-count]:after {
    position: absolute;
    left: 16px;
    top: 2px;
    content: attr(data-count);
    padding: .2em;
    border-radius: 50%;
    line-height: 1em;
    color: white;
    background: rgba(0,0,255,.5);
    text-align: center;
    height: 1.5em;
    min-width: 1.5em;
}

/* mobile table element */
@media (max-width: 767px) {
    table.visible-xs {
        display: table!important;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    table.visible-sm {
        display: table!important;
    }
}
.mobile-table-inner {
    border: none !important;
    background: #e5e5e5;
    padding: 15px 0 !important;
    margin: 0;
    display: none;
}
.mobile-table-inner > div {
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    position: relative;
}
.mobile-table-inner .button-expand-one {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 8px;
    margin-right: 8px;
}
.mobile-table-inner .row > div {
    padding: 15px;
}
.mobile-table-inner label {
    display: block;
}
.order-inactive .mobile-table-inner > div {
    background: rgba(255,0,0,0.25);
    border: 2px solid red;
}
.mobile-table-row.order-inactive.mobile-table-full {
    border: none !important;
}
.mobile-table-row.order-inactive td:nth-child(2)::before {
    position: absolute;
    left: -50px;
    content: 'Deleted';
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #900323;
    border-radius: 10px;
}
.emailExpl{
    color:blue;
}
.emailExpl:hover{
    cursor:pointer;
}
.changeProfilePictureInput{
    display:none;
}
#submitNewPhoto{
    display:none;
}
.socialIcons:hover{
    cursor:pointer;
}
.submitSocial{
    display:none;
}
.user_opt_checkbox{
    white-space: nowrap;
}
.generic_user_opt_checkbox:hover{
    cursor:pointer;
}
.genericUserOptDiv{
    margin-top:5px;
    margin-bottom:5px;
}
.panel-default { 
    border-color: #dddddd !important;   
}
.modal-backdrop {
  z-index: -1;
}

/* debug */
.rb {
    border: 3px dashed red;
}
.gb {
    border: 3px dashed lime;
}
.mb {
    border: 3px dashed magenta;
}
.bb {
    border: 3px dashed blue;
}

/* advanced input */
.adv-input .checkbox {
    padding-left: 20px;
    margin-top: 5px;
}
@media (max-width: 767px) {
    .adv-input .checkbox {
        margin-top: -5px;
        margin-bottom: 0;
    }
    .adv-input .checkbox input[type=checkbox] {
        position: static;
    }
}
.form-horizontal .adv-input .checkbox {
    margin-top: -3px;
}

/* container width */
.container-index {
    padding: 0 5px;
}
@media(min-width: 768px) {
    .container-index {
        padding: 0 25px;
    }
}
.container-index.order-index {
    padding: 0 35px 0 60px;
}
.container-index.election-index {
    padding-left: 60px;
}

/* action buttons */
.actions li {
    padding-right: 10px;
}
.actions + .button_bar {
    margin-top: 15px;
}
.button-new-order {
    display: block !important;
    margin-top: 15px;
}
@media (max-width: 767px) {
    .actions li {
        display: block;
        padding-right: 0;
    }
    .actions .btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 17px;
        line-height: 1.33;
        border-radius: 3px;
    }
    .actions li:not(:last-child) {
        margin-bottom: 15px;
    }
    .addUserToClientGroup,
    .userMyPassword {
        margin-bottom: 15px;
        float: none;
    }
}

/* fix for clients view */
.clients.view .actions li {
    padding-right: 0;
}
.clients.view .panel-heading {
    position: relative;
}
.clients.view .options-menu {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 15px
}
.clients.view .apexOptionsMenu {
    margin-top: 5px;
    left: auto;
    right: 0;
}
@media (max-width: 767px) {
    .clients.view .options-menu {
        position: relative;
        padding: 0;
        padding-bottom: 15px;
    }
    .clients.view .options-menu .btn-group,
    .clients.view .options-menu button {
        width: 100%;
    }
}

/* user profile */
.user_profile_body {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
}
.user-profile-option {
    margin-bottom: 0;
    display: flex;
}
.user-profile-option > * {
    align-items: center;
}
.user-profile-option-checkbox {
    padding: 15px;
    display: flex;
    justify-content: center;
}
.user-profile-option-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.user-profile-option-label > span {
    font-weight: 700;
}
@media (min-width: 500px) {
    .user-profile-option-checkbox {
        flex: 1;
    }
    .user-profile-option-label {
        flex: 3;
    }
}
@media (min-width: 768px) {
    .user_profile_body {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .user_profile_body {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1200px) {
    .user_profile_body {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* fix font on orders edit */
nav.navbar,
footer {
    font-family: "Open Sans",Arial,Helvetica,Sans-Serif;
    font-size: 13px;
}
footer h2 {
    font-size: 22px;
}
footer h3 {
    font-size: 19px;
    line-height: 21px;
}
@media (min-width: 768px) {
    .navbar-nav>li>a {
        padding: 16px 10px !important;
    }
}
