/*** Public Dashboard CSS ***/

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: 110%;
    line-height: 36px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    padding: 10px 20px;
    background-color: #fca120;
    border: 3px solid #ffffff;
    border-radius: 9px;
    z-index: 100;
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none;
}

#messageDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 15px 20px 20px 50px;
    background-color: #fca120;
    border: 3px solid #ffffff;
    border-radius: 9px;
    z-index: 100;
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none;
}

#messageDialog i.fa {
    font-size: 130%;
    color: #ffffff;
    display: block;
    position: absolute;
    left: 18px;
    top: 18px;
}

#messageDialog #messageDialogTitle {
    font-size: 120%;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
}

#messageDialog #messageDialogText {
    font-size: initial;
    font-weight: initial;
    color: #ffffff;
    display: block;
}

#messageDialog .smallLink {
    font-size: 80%;
    font-weight: initial;
    color: #fff;
    text-align: right;
    margin-top: 10px;
    display: block;
}

.dashboardTitle {
    font-size: 32px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    float: left;
}

.dashboardTitle img {
    float: left;
    display: block;
    margin-right: 10px;
    height: 32px;
    width: auto;
    vertical-align: baseline;
}

.dashboardTitle a {
    text-decoration: none;
    color: inherit;
}

.dashboardHeader a.logo {
    display: block;
    position: relative;
    float: right;
    text-decoration: none;
    border-left: 2px solid rgba(255, 255, 255, .3);
    padding-left: 20px;
    margin-left: 20px;
}

.dashboardHeader a.logo img {
    height: 18px;
    width: auto;
    display: block;
}

.dashboardHeader a.logo small {
    color: #ffffff;
    font-size: 11px;
    font-weight: 400;
    display: block;
    line-height: 11px;
    margin-bottom: 2px;
}

.dashboardPageHeader {
    margin-bottom: 15px;
    position: relative;
    display: inline-flex;
}

.dashboardPageHeader h2 {
    line-height: 1;
    font-size: 200%;
    letter-spacing: -0.02em;
}

.dashboardGroupFilter {
    margin-left: 2em;
    align-self: flex-start;
}

.dashboardGroupFilter .dropdownButton {
    padding: 3px 8px;
    border-radius: 0;
    font-size: 90% !important;

    background-color: transparent;
    border: 1px solid #ddd;
    color: #666;
    font-weight: 600;
}
.dashboardGroupFilter .dropdownButton:hover {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #00aced;
}

.dashboardGroupFilter .dropdownButton .fa {
    font-size: 70%;
    margin-left: 3px;
    vertical-align: middle;
    margin-top: -2px;
    color: #0f7ab3;
}

.dashboardGroupFilter .dropdown {
    border-top-color: #00aced;
    padding:          4px 0;
    display:          none;
    width:            auto;
    min-width:        160px;
    max-width:        260px;
}
.dashboardGroupFilter .dropdown::before {
    border-bottom-color: transparent;
}

.dashboardGroupFilter .dropdown .fa {
    color: #00aced;
    opacity: 1 !important;
    font-size: 12px;
    visibility: hidden;
    position:   absolute;
    top:        10px;
    left:       10px;
}
.dashboardGroupFilter .dropdown .active .fa {
    visibility: visible;
}

.dashboardGroupFilter .dropdown a {
    padding: 5px 15px 5px 32px;
    line-height: 1.5em;
    white-space: normal;
    word-wrap:   break-word;
    position:    relative;
}

#dashboardSummaryFrame {
    padding: 0;
    margin: 0 auto;
    min-width: 1000px;
    min-height: calc(100% - 72px);
    border-radius: 0 0 8px 8px;
    background-color: #ffffff;
    position: relative;
    display: none;
}

#dashboardFrame, #dashboardPkiFrame {
    padding: 0;
    margin: 0 auto;
    min-width: 1000px;
    min-height: calc(100% - 72px);
    border-radius: 0 0 8px 8px;
    background-color: #ffffff;
    position: relative;
    display: none;
}

#dashboardPkiFrame {
    padding: 50px 25px 90px 25px;
}

#dashboardPkiFrame .dashboardPageHeader {
    display: block;
    position: static;
}

#dashboardPkiFrame .dashboardPageHeader h2 {
    font-size: 280%;
    letter-spacing: -0.025em;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin: 0 0 10px 0;
}

#dashboardPkiFrame .dashboardPageHeader > p {
    text-align: center;
    font-size: 120%;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 0px;
    margin-bottom: 30px;
    line-height: 1.5;
}

#dashboardAboutFrame {
    display: none;
}

#reportFrame {
    position: relative;
    display: none;
}

#reportFrame section {
    padding: 15px 20px 20px 20px;
}

#placeholder {
    padding: 50px;
    margin: 0 auto;
    min-width: 1000px;
    min-height: calc(100% - 120px);
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    display: block;
}

/*** Dashboard Details Table ***/

#dashboard {
    width: 100%;
    margin: 0;
    border: none;
    border-collapse: separate;
}

.dashboard {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 25px 90px 25px;
}

.dashboard table thead th {
    text-align: left;
    vertical-align: bottom;
    padding: 4px 4px 10px 4px;
    color: #7a7a7e;
    font-weight: 400;
    line-height: 1.2;
    font-size: 80%;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
}

.dashboard table thead tr:not(.headCat) th:hover {
    color: #333333;
}

.dashboard table thead tr.headCat th {
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1em;
    font-size: 80%;
    text-transform: uppercase;
}

th i.fa {
    margin-right: 5px;
}

.dashboard table thead tr th.colGroup {
    border-top: 1px solid #e6e6ec;
    border-left: 1px solid #e6e6ec;
}

.dashboard table thead tr th.colGroup:last-child {
    border-right: 1px solid #e6e6ec;
}

.dashboard table tbody td {
    border-bottom: 1px solid #f2f2f8;
    text-align: left;
    padding: 13px 8px;
    color: #333;
    font-weight: 400;
    font-size: 90%;
    line-height: 1.2;
}

.dashboard table tbody tr:last-child td {
    border-bottom: none;
}

.dashboard table tbody tr:hover {
    background-color: #f1f8ff;
}

.dashboard .tac {
    text-align: center;
}

.dashboard table td .fa span {
    display: none;
}

.dashboard table td .fa {
    font-size: 16px;
    line-height: 16px;
    vertical-align: middle;
}

.dashboard table .fa.good {
    color: #95c600;
}

.dashboard table .fa.warning {
    color: #f8af11;
}

.dashboard table .fa.error {
    color: #e00000;
}

.dashboard table .fa.neutral {
    color: #a0a0a8;
    opacity: .5;
    font-size: 10px;
    line-height: 8px;
}

.dashboard th.reportLink {
    padding-left: 0;
}

.dashboard td.reportLink {
    white-space: nowrap;
    font-weight: 500;
    font-size: 100%;
    padding-left: 0;
    color: #888;
}

.dashboard td.reportLink a {
    text-decoration: none;
    cursor: pointer;
}

.dashboard td.reportLink a:hover {
    text-decoration: underline;
}

.dashboard select {
    border: 1px solid #ccc;
    width: auto;
    padding: 3px;
}

/*** Datatables jQuery plugin styles ***/

table.dataTable td {
    line-height: 1;
}

table.dataTable td.dataTables_empty {
    text-align: center;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc {
    cursor: pointer;
    *cursor: hand;
}

table.dataTable thead th:active, table.dataTable thead td:active {
    outline: none;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background-repeat: no-repeat;
    background-position: center calc(100% - 1px);
    background-size: 14px auto;
}

table.dataTable thead .sorting {
    background-image: none;
}

table.dataTable thead .sorting_asc {
    background-image: url("../images/sort_asc.png");
    color: #0f7ab3;
}

table.dataTable thead .sorting_desc {
    background-image: url("../images/sort_desc.png");
    color: #0f7ab3;
}

table.dataTable thead .sorting_asc_disabled {
    background-image: none;
}

table.dataTable thead .sorting_desc_disabled {
    background-image: none;
}

.dataTables_wrapper {
    position: initial;
    clear: both;
    *zoom: 1;
    zoom: 1;
    margin-top: 0;
}

.dataTables_wrapper .dataTables_length {
    float: left;
    margin-bottom: 15px;
    display: none;
}

.dataTables_wrapper .dataTables_filter {
    position: absolute;
    top: 17px;
    right: 25px;
    margin: 0;
}

.dataTables_wrapper .dataTables_filter i {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 120%;
    color: #777;
    padding: 5px;
}

.dataTables_wrapper .dataTables_filter input[type="search"] {
    border: 1px solid #ccc;
    width: 250px;
    padding: 8px 12px;
    padding-left: 35px;
    margin: 0;
    line-height: 1.6;
    -webkit-outline: none;
    outline: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
}

.dataTables_wrapper .dataTables_filter input[type="search"]:focus {
    border-color: #999;
}

.dataTables_wrapper .dataTables_info {
    font-size: 80%;
    font-weight: 400;
    color: #888;
    position: absolute;
    left: 25px;
    padding-top: 10px;
    bottom: 15px;
}

.dataTables_wrapper .dataTables_paginate {
    font-size: 80%;
    font-weight: 400;
    position: absolute;
    padding-top: 10px;
    bottom: 15px;
    right: 100px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-block;
    min-width: 1.5em;
    padding: 0 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    *cursor: hand;
    color: #666;
    border-radius: 5px;
    border: 1px solid transparent;
}

.dataTables_wrapper .dataTables_paginate .next {
}

.dataTables_wrapper .dataTables_paginate .previous {
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #444;
    font-weight: bold;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #bbb;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover {
    color: #0f7ab3;
    background: #eee;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    color: #222;
    outline: none;
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 1em;
}

.dataTables_wrapper .dataTables_filter i {
    position: absolute;
    top: 1px;
    left: 0;
    font-size: 100%;
    color: #888;
    padding: 9px;
    z-index: 1;
}

.dataTables_wrapper .dataTables_filter input[type="search"] {
    font-size: 95%;
    height: 2.5em;
    padding: 7px;
    padding-left: 32px;
    width: 250px;
}

#customSearch {
    font-size: 95%;
    height: 2.2em;
    padding: 5px;
    padding-left: 32px;
    width: 250px;
}

.customSearch i {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 100%;
    color: #888;
    padding: 9px;
    z-index: 1;
}

.dataTables_wrapper .dataTables_filter input[type="search"]:focus {
}

table.dataTable tr span.reportError {
    font-size: 90%;
    position: absolute;
    white-space: nowrap;
    overflow: visible;
    text-align: left;
    margin: 0 auto;
    z-index: 1;
    font-weight: 400;
    color: #888;
    -ms-transform: translate(-8px, -50%);
    -webkit-transform: translate(-8px, -50%);
    transform: translate(-8px, -50%);
}

table.dataTable tr span.reportError .fa {
    margin-right: 5px;
    font-size: initial;
}

.closeReport {
    cursor: pointer;
}

.closeReport i.fa {
    font-size: 120% !important;
}

/*** Charts ***/

h1.dashboard-chart-heading {
    text-align: center;
    line-height: 1;
    margin: 0;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
    font-size: 280%;
}

h2.dashboard-chart-subheading {
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
    font-size: 200%;
}

p.dashboard-chart-intro {
    text-align: center;
    font-size: 120%;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 50px;
    line-height: 1.5;
}

.dashboard-chart-section {
    clear: both;
    border-bottom: 1px solid #dddddd;
    padding: 50px;
    position: relative;
    text-align: center;
}

.dashboard-chart-section:last-child {
    border-bottom: 0;
}

.dashboard-chart-block {
    clear: both;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.dashboard-chart-block-small {
    clear: both;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.dashboard-chart-block .chart-container {
    width: 40%;
    height: auto;
    min-height: 280px;
    float: left;
    position: relative;
}

.dashboard-chart-block .chart-container:first-of-type {
    margin-left: 10%;
}

.dashboard-chart-block-small .chart-container {
    width: 25%;
    height: auto;
    min-height: 203px;
    margin: 0 auto;
    float: left;
    position: relative;
}

.chart-container.align-middle {
    float: none;
    margin: 0 auto;
}

canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.dashboard-chart-block canvas {
    max-width: 240px;
    max-height: 240px;
}

.dashboard-chart-block-small canvas {
    max-width: 160px;
    max-height: 160px;
}

.canvas-title {
    padding: 8px 0;
    font-weight: 400;
    font-size: 100%;
    text-transform: uppercase;
}

.small-canvas-title {
    padding: 8px 0;
    font-weight: 400;
    font-size: 110%;
}

.dashboard-chart-test-count {
    border-radius: 5px;
    border: none;
    background-color: #0f7ab3;
    color: #fff;
    font-size: 150%;
    line-height: 1.35em;
    font-weight: 300;
    display: inline-block;
    margin: 0 auto;
    margin-top: 30px;
    padding: 10px 30px;
    min-width: 320px;
}

a.dashboard-chart-test-count {
    text-decoration: none;
    cursor: pointer;
}

.dashboard-chart-test-count small {
    display: block;
    font-size: 60%;
    line-height: 18px;
    font-weight: 400;
    text-decoration: underline;
}

a.dashboard-chart-test-count:hover {
    background-color: #95c600;
    color: #fff;
}

.dashboard-chart-test-count span {
    display: inline-block;
}

.dashboard-chart-test-count strong {
    font-weight: 700;
}

.chart-value {
    position: relative;
}

.chart-percent {
    display: block;
    position: absolute;
    top: 52%;
    width: 100%;
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    z-index: 0;
    pointer-events: none;
    font-size: 380%;
    line-height: .75em;
    font-weight: 300;
    color: #555;
    letter-spacing: -.065em;
}

span.chart-percentage-label {
    display: block;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
    line-height: 1em;
    text-align: center;
    color: #666;
    text-transform: uppercase;
    letter-spacing: -.0125em;
}

span.chart-total-count {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
    line-height: 1em;
    text-align: center;
    color: #666;
    letter-spacing: -.0125em;
}

.chart-percent-small {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    z-index: 0;
    pointer-events: none;
    font-size: 230%;
    line-height: 1em;
    font-weight: 300;
    color: #555;
    letter-spacing: -.05em;
}

#chartjs-tooltip,
.dashboard-bar-tooltip {
    opacity: 1;
    position: fixed;
    background: rgba(48, 48, 48, 1);
    color: white;
    border-radius: 5px;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    pointer-events: none;
    /*-webkit-transform: translate(-50%, 0);*/
    /*transform: translate(-50%, 0);*/
    z-index: 1000;
    max-width: 250px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, .55);

    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size:   14px;
    font-style:  normal;
    padding:     0;
    border:      none;
}

.dashboard-bar-tooltip {
    padding: 6px 8px 5px 8px;
    font-weight: 500;
    line-height: 1.4em;
    margin-top:  10px;
    margin-left: 8px;
}

.dashboard-bar-tooltip .color {
    display: inline-block;
    width:   10px;
    height:  10px;
    margin-right: 10px;
}

#chartjs-tooltip::after,
.dashboard-bar-tooltip::after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(48, 48, 48, 1) transparent transparent transparent;
}

.chartjs-tooltip-key {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

.chartjs-tooltip-table {
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    border: none;
}

.chartjs-tooltip-table th {
    padding: 6px 8px;
    padding-bottom: 5px;
    margin: 0;
    line-height: 1.4em;
}

.chartjs-tooltip-table td {
    padding: 6px 8px;
    padding-bottom: 5px;
    margin: 0;
    font-weight: 500;
    line-height: 1.4em;
}

#jsontemp {
    font-family: monospace;
    word-break: break-all;
}

nav a.active {
    border-bottom: 4px solid #44B9dd;
    text-decoration: none;
    color: #ffffff;
}

/*** Dashboard bar charts (group list) ***/

.dashboard-chart-list {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.dashboard-chart-list .chart-container {
    width: 170px;
    height: auto;
    min-height: 170px;
    margin: 0 auto;
    float: left;
    position: relative;
    padding: 15px;
    border-right: 1px solid #eee;
}

.dashboard-chart-list .chart-percent {
    display: block;
    position: absolute;
    top: 52%;
    width: 100%;
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    z-index: 0;
    pointer-events: none;
    font-size: 200%;
    line-height: .75em;
    font-weight: 300;
    color: #555;
    letter-spacing: -.065em;
}

.dashboard-chart-list canvas {
    max-width: 140px;
    max-height: 140px;
}

.chart-group-name {
    width: calc(40% - 170px);
    height: auto;
    min-height: 170px;
    margin: 0 auto;
    float: left;
    position: relative;
    padding: 15px;
    padding-left: 0;
    text-align: left;
    font-size: 110%;
    line-height: 1.2em;
    font-weight: 500;
    border-right: 1px solid #eee;
}

.chart-group-name span {
    position: absolute;
    width: calc(100% - 15px);
    top: 50%;
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.chart-group-name .totals {
    font-size: 80%;
    color: #888;
    font-weight: 400;
}

.dashboard-chart-list .bar-chart-container {
    width: 15%;
    height: auto;
    min-height: 170px;
    margin: 0 auto;
    float: left;
    position: relative;
    padding: 15px;
    border-right: 1px solid #eee;
}

#email-configuration-groups.with-dnssec .dashboard-chart-list .bar-chart-container,
#web-configuration-groups.with-dnssec   .dashboard-chart-list .bar-chart-container {
    width: 12%;
}

#email-configuration-groups.with-dnssec .bar-chart-label,
#web-configuration-groups.with-dnssec   .bar-chart-label {
    font-size: 60%;
}


.bar-chart-label {
    display: block;
    text-align: left;
    position: relative;
    font-size: 80%;
    line-height: 1em;
    font-weight: 500;
    color: #555;
    padding-bottom: 10px;
}

#email-configuration-groups.with-dnssec .bar-chart-label,
#web-configuration-groups.with-dnssec   .bar-chart-label {
    font-size: 60%;
}

.bar-chart-percent {
    display: block;
    text-align: left;
    position: relative;
    font-size: 100%;
    line-height: 1em;
    font-weight: 400;
    color: #555;
    padding-top: 5px;
}

.bar-chart-value {
    position: absolute;
    width: calc(100% - 30px);
    top: 50%;
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.bar-chart {
    width: 100%;
    height: 16px;
    overflow: hidden;
    white-space: nowrap;
}

.bar-chart span {
    display: block;
    height: 100%;
    float: left;
    border-right: 0px solid #fff;
    box-sizing: border-box;
}

.bar-chart span.bar-value-present {
    background-color: rgba(149, 198, 0, 1);
}

.bar-chart span.bar-value-none {
    background-color: rgba(160, 160, 168, 1);
}

.bar-chart span.bar-value-na {
    background-color: rgba(200, 200, 210, 1);
}

.bar-chart span.bar-value-unknown {
    background-color: rgba(220, 220, 236, 1);
}

#dashboardPkiFrame .cert-findings-title {
    text-align: center;
}

#dashboardPkiFrame .cert-square {
    align-items: center;
}