/*
Background colors:
    light:  #c4dce8;
    medium: #79AEC8;
    dark:   #417690;

Text colors:
    dark gray: #252525;

Table lines:
    light gray: #eee;
*/

body {
    background: white; /* #F0F7FF; */
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
    font-size: 13px;
    line-height: initial;
}

h1 {
    font-size: 150%;
    color: #252525;
}

table {
    line-height: 16px;
    border-spacing: 0px;
}
td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    padding: 8px;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}
th {
    text-align: left;
}

thead {
    padding: 0em;
}

table.attendance_overview > tbody > tr > td {
    text-align: right;
}

.notes-table {
    width: 500pt;
}
.notes-table th {
    width: 60pt;
}

.italic {
    font-style: italic;
    color: gray;
}

.emphasize {
    color: #417690;
    font-style: italic;
    font-weight: bold;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #417690;
    color: #fff;
    text-align: center;
    border-radius: 0px;
    border: 1px solid white;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.hardcopy_only {
    display: none;
    visibility: none;
}

input.readonly {
    background-color: lightgray;
}
#container {
    margin-top: 5.5em;
    margin-bottom: 3em;
}

#top {
    position: fixed;
    top: 0;
    width: 100%;    
    background-color: #c4dce8;
    color: black;
}
#header {
    padding: 5px 25px;
    font-size: 125%;
}
#nav {
    width: 100%;
    background-color: #417690;
    color: white;
}

#nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #417690;
}

#nav li {
    float: left;
}

#nav li a {
    padding: 14px 26px;
}

#nav li a.active {
    background-color: #79AEC8;
}

#nav li:last-child {
    float: right;
}

.navbarspacer {
    display: block;
    background-color: #417690;
    color: #417690;
    text-align: center;
    padding: 14px 26px;
}

a.abutton {
    display: block;
    text-decoration: none;
    background-color: #417690;
    color: white;
    text-align: center;
    padding: 8px 8px;
}

#content a.abutton {
    color: white;
}

a.abutton:visited {
    background-color: #417690;
    color: white;
}

a.abutton:hover {
    background-color: #c4dce8;
    color: white;
}
.content a.button {
    color: white;
}

.d-none {
    display: none;
}

#filter {
    float: left;
    display: block;
    margin: 1px 0px 0px 0px;
    width: 15%;
    height: 100%;
    position: fixed;
    overflow: auto;
}

#filter .abutton {
    color: white;
}
#filter .abutton:visited {
    color: white;
}

.datestamp {
    float: right;
    display: none;
}

#filter ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding: 0;
}

#filter li {
    padding: 0px;
    margin: 0px;
}

#filter a {
    display: block;
    text-decoration: none;
    color: black;
    padding: 8px 8px;
}

#filter a:visited {
    color: black;
}

#filter a:hover {
    background-color: #c4dce8;
    color: white;
}

#fsgfilter {
    background-color: #c4dce8;
    width: 100%;
    clear: both;
    padding: 0px;
    margin-bottom: 10px;
}

#fsgfilterform {
    padding: 10px 2px;
}

.fsgfilterlabel {
    float: left;
    height: 1.5em;
    padding: 1px 5px;
    clear: left;
}

.fsgfilterfield {
    float: right;
    height: 1.5em;
    padding: 1px;
    padding-right: 10px;
    clear: right;
}

.fsgfilterfield input {
    border: 0px;
}

.fsgfiltersubmit {
    clear: both;
    text-align: center;
    padding: 0.5em;
    padding-top: 1.5em;
}

.fsgfiltersubmit input {
    background-color: #417690;
    color: white;
    border: 0px;
    padding: 6px 8px;
}

select {
    background-color: #417690;
    color: white;
    border: 0px;
    padding: 2px 8px;
}

.fsg_active_publisher {
    background-color: #89ff00;
}
.fsg_irregular_publisher {
    background-color: #ffb328;
}
.fsg_inactive_publisher {
    background-color: #ff8989;
}

#content {
    float: left;
    display: block;
    padding: 5px;
    margin-left: 15%;
    margin-bottom: 6em;
}

#content a {
    text-decoration: none;
    color: #417690;
    font-weight: bold;
}

#content a:visited {
    color: #417690;
}

#content a:hover {
    color: #417690;    
}

#footer {
    clear: both;
    width: 100%;
    background-color: #417690;
    color: white;
    padding: 10px 30px;
    margin: 0px;
    position: fixed;
    bottom: 0px;
}
#footer ul {
    list-style-type: none;
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
}

#footer li {
    float: left;
    vertical-align: middle;
    text-align: center;
}
#footer li a {
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
}

.active {
    background-color: #79AEC8;
    color: white;
}

.total {
    font-weight: bold;
    text-align: right;
}

.avg {
    font-style: italic;
    font-weight: normal;
    text-align: right;
}

.reportlist td {
    text-align: right;
}

.congregation_total {
    border: 0px;
    background-color: #c4dce8;
}

#publisherprofilefilter {
    clear: both;
    margin-top: 0px;
    padding: 20px 10px;
    background-color: #c4dce8;
}

#logout {
    margin-top: 20px;
    margin-bottom: 20px;
}

#logout a {
    display: inline-block;
    padding: 10px 25px;
}

#passwordchange {
    margin-top: 50px;
}

#passwordchange label {
    float: left;
    clear: left;
    display: block;
    height: 2em;
    width: 45%;
}

#passwordchange input {
    float: left;
    clear: right;
    display: block;
    height: 1em;
}

#passwordchange ul {
    margin-top: 20px;
    margin-bottom: 20px;
    clear: both;
    font-size: 90%;
    line-height: 1.5em;
    color: #444;
}

#passwordchange button {
    background-color: #417690;
    color: white;
    border: none;
    padding: 10px 25px;
}

#passwordchange p {
    clear: both;
    padding-top: 10px;
    padding-bottom: 10px;
}

#passwordchange button:hover {
    background-color: #c4dce8;
    color: white;
}

#passwordchange button:visited {
    background-color: #417690;
    color: white;
    border: none;
}

p.passwordsuccess {
    background-color: #c4dce8;
    padding: 5px 50px;
    vertical-align: middle;
}

#otpdevices {

}

#addotpdevices {

}

#twostep {
    margin-top: 4em;
}

#twostep a {
    display: inline-block;
    padding: 10px 25px;
}

.btn-primary {
    background-color: #417690;
    color: white;
}

.btn {
    border-radius: 0px;
    border: inherit;
}
.btn-primary:hover {
    background-color: #c4dce8;
}

a.btn-link {
    display: none;
}

.col-md-5 {
    line-height: 1.5em;
    margin-left: 0px;
}

.screen_only a {
    display: inline;
}

ol {
    margin-top: 0;
}
form {
    margin-bottom: 10pt;
}
input[type="submit"] {
    border: 0;
    padding: 3pt 15pt;
    background-color: #417690;
    color: white;
}

table.unavailability-calendar > * > tr > th {
    text-align: center;
}

table.unavailability-calendar > * > tr > td {
    font-size: 125%;
    text-align: center;
}

div.calendar-cell-grid {
    display: grid;
    column-gap: 1px;
    row-gap: 0px;
    grid-template-columns: 14px 14px 14px;
    margin-top: 5px;
}

div.calendar-cell-grid-item {
    float: left;
    width: 1em;
    margin-left: 3pt;
    margin-top: 1px;
    height: 5px;
    width: 14px;
}

.color-indicator {
    float: right;
    width: 1em;
    margin-left: 3pt;
    margin-top: 5px;
    height: 5px;
    width: 16px;
}

@media print {

    @page {
        padding-top: 0em;
    }

    #top {
        /*
        position: fixed;
        top: 0;
        width: 100%;    
        background-color: #c4dce8;
        color: black;
        */
        display: none;
    }

    #header {
        display: none;
        visibility: none;
    }

    #container {
        margin-top: 0em;
        overflow: visible !important;
        display: inline;
        width: 100%;
        padding: 0px;
    }

    .hardcopy_only {
        display: block;
        visibility: normal;
        width: 100%;
        background-color: #c4dce8;
    }

    .screen_only {
        display: none;
        visibility: none;
    }

    #content > table {
        clear: both;
    }

    table {
        line-height: 10px;
    }
    td, th {
        font-size: 10px;
        line-height: 11px;
        padding: 5px;
    }

    thead {
        /* display: table-header-group; */
        padding-top: 0em;
    }

    tr {
        page-break-inside: avoid
    }

    table.attendance_overview {
        text-align: right;
    }

    .datestamp {
        float: right;
        display: inline;
        margin-right: 1em;
    }


    #nav {
        display: none;
        height: 0px;
    }

    #filter {
        display: none;
        width: 0%;
    }

    input {
        border: 0px;
    }

    #content {
        width: 100%;
        margin-left: 0%;
    }

    #contenttop {
        clear: both;
        height: 0px;
        margin: 0px;
        padding: 0px;
        display: inline;
    }
    #pagetitle {
        float:left;
    }
    #inlinefilter {
        float: right;
    }

    #inlinefilter input {
        border: 0px;
        text-align: center;
    }

    #inlinefsgfilter {
        display: none;
    }

    /*
    #content {
        margin-left: 0%;
    }
    */

    .tooltip {
        border-bottom: 1px dotted black;
    }

    #footer {
        display: none;
    }
}