/* ----------------------------------------------------------------------------

Open DMARC Analyzer - Open Source DMARC Analyzer
Copyright (C) 2023 - John Bradley (userjack6880)

templates/openda/style.css
  CSS file for the Open DMARC Analyzer default template

Available at: https://github.com/userjack6880/Open-DMARC-Analyzer

-------------------------------------------------------------------------------

This file is part of Open DMARC Analyzer.

Open DMARC Analyzer is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software 
Foundation, either version 3 of the License, or (at your option) any later 
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with 
this program.  If not, see <https://www.gnu.org/licenses/>.

---------------------------------------------------------------------------- */

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  font-smooth: antialiased;
  text-align: left;
  font-family: Sans-serif;
  background-color: #101118;
  color: #738290;
}

a:link {
  text-decoration: none;
  color: #ABB4BC;
}

a:visited {
  text-decoration: none;
  color: #ABB4BC;
}

a:active {
  text-decoration: none;
  color: #FFF;
}

a:hover {
  text-decoration: none;
  color: #FFF;
}

#header {
  width: 100%;
  max-width: 1920px;
  margin: 0px auto 0px auto;
  padding: 15px;
  border: none;
  text-align: left;
}

#controlbar {
  width: 100%;
  max-width: 1920px;
  height: 100px;
  margin: 0px auto 0px auto;
  padding: 15px;
  border: none;
  text-align: left;
}

#controlbarleft {
  width: calc(100% - 600px);
  margin: 0px auto 0px auto;
  padding: 0 0 0 30px;
  border: none;
  text-align: left;
  float: left;
}

#controlbarright {
  width: 585px;
  margin: 0px auto 0px auto;
  padding: 0 30px 0 0;
  border: none;
  text-align: right;
  float: right;
}

.dov-bar {
  width: 100%;
  height: 100px;
  margin: 30px auto 0 auto;
  padding: 15px;
  border: none;
}

.dov-bar-in {
  background-color: #1c1e28;
  width: 100%;
  height: 100px;
  margin: 0 auto 0 auto;
  padding: 0;
  border: none;
  border-radius: 10px;
  position: relative;
}

.dov-bar-in-ip {
  width: 100%;
  height: 100px;
  padding: 0px 20px 0px 20px;
  position: relative;
}

.dov-bar-in-ip > div {
  text-align: center;
  float: left;
  padding: 0px 5px 0px 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.geo-left {
  width: 500px;
  height: 400px;
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
  float: left;
  position: relative;
}

.geo-left-inner {
  width: 100%;
  padding: 15px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
}

.geo-right {
  width: calc(100% - 500px);
  height: 400px;
  margin: 0;
  padding: 15px;
  border: none;
  float: right;
  position: relative;
}

.report-left {
  width: 50%;
  height: 200px;
  margin: 0;
  padding: 0;
  border: none;
  text-align: right;
  float: left;
  position: relative;
}

.report-inner {
  width: 100%;
  padding: 15px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.report-right {
  width: 50%;
  height: 200px;
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
  float: right;
  position: relative;
}

span.dov-bar-small {
  font-size: 12px;
}

h3.dov-bar-in-ip-h3 {
  margin: 0;
}

.dov-bar-in-domain {
  width: calc(100% - 400px);
  min-width: 600px;
  height: 50px;
  padding: 10px 10px 10px 20px;
  float: left;
}

.dov-bar-in-dstats-totals {
  width: calc(100% - 400px);
  min-width: 600px;
  height: 50px;
  padding: 5px 10px 5px 20px;
  float: left;
}

table.dov {
  border: 0;
  min-width: 100%;
  text-align: left;
}

tr.dov {
  border: 0;
}

td.dov {
  border: 0;
  width: 25%;
  font-size: 14px;
}

.dov-bar-in-dstats-alignment {
  width: 400px;
  height: 100px;
  padding: 3px 20px 5px 10px;
  float: right;
}

#overviewbar {
  width: 100%;
  height: 300px;
  margin: 0px auto 0px auto;
  padding: 15px;
  border: none;
}

#overviewbarleft {
  background-color: #1c1e28;
  width: calc(100% - 430px);
  min-width: 600px;
  height: 300px;
  margin: 0px auto 0px auto;
  padding: 0;
  border: none;
  border-radius: 10px;
  float: left;
  position: relative;
}

#overviewbarright {
  background-color: #1c1e28;
  width: 400px;
  height: 300px;
  margin: 0px auto 0px auto;
  padding: 40px;
  border: none;
  border-radius: 10px;
  float: right;
  position: relative;
}

#ovbr-in {
  position: absolute;
  width: 320px;
  margin: 0 auto 0 auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-weight: bold;
}

#overviewinnerleft {
  width: calc(100% - 500px);
  min-width: 100px;
  margin: 0px;
  padding: 0 10px 0 0;
  border: none;
  text-align: center;
  float: left;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

#overviewinnerright {
  width: 500px;
  margin: 0px;
  padding: 0 40px 0 20px;
  border: none;
  float: right;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
}

.ovir-left {
  width: 50%;
  margin: 0;
  padding: 0;
  text-align: left;
  float: left;
}

.ovir-right {
  width: 50%;
  margin: 0;
  padding: 0;
  text-align: right;
  float: right;
}

.overviewtotal {
  font-size: 72px;
}

select {
  width: 400px;
  margin: 10px;
  padding: 5px 10px 5px 10px;
  line-height: 24px;
  font-size: 15px;
  border: 1px solid #bbb;
}

h1.dov-bar-head {
  font-size: 24px;
  color: #738290;
  margin: 0;
}

h1.header {
  font-size: 48px;
  color: #738290;
}

#wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 0 auto;
  padding: 15px;
}

h2 {
  font-size: 24px;
  color: #738290;
  margin: 0 0 10px 0;
}

h2.section {
  font-size: 24px;
  color: #738290;
  margin: 30px 0px -25px 25px;
}


h3 {
  font-size: 20px;
  color: #738290;
  margin: 10px 0 10px 0;
}

.centered {
  margin: 0px auto 0px auto;
}

table {
  border-collapse: collapse;
    border-radius: 15px;
  width: 95%;
  text-align: center;
}

table, th, td {
  border: 1px solid #2A3035;
}

th, td {
  padding: 0;
}

td {
  font-size: 12px;
}

/* tr:nth-child(1) { */
thead {
  background-color: #2A3035;
  color: #FFF;
}

span.pass {
  color: #708D81;
}

span.fail {
  color: #EB5160;
}

span.warn {
  color: #F1B077;
}

span.temperror {
  color: #F1B077;
}

span.unknown {
    color: #2A3035;
}

#footer {
  width: 100%;
  max-width: 1920px;
  margin: 0px auto 0px auto;
  padding: 15px;
  font-size: 10px;
}

.perc-bar {
  background-color: #EB5160;
  border-radius: 3px;
  display: block;
  width: 100%;
  height: 10px;
  position: relative;
}

.gray-per {
  background-color: #8C98A4;
  border-radius: 3px;
  height: 10px;
  position: absolute;
  left: 0;
}

.green-per {
  background-color: #708D81;
  border-radius: 3px;
  height: 10px;
  position: absolute;
  left: 0;
}

.perc-text {
  color: #738290;
  width: 100%;
  text-align: center;
  position: relative;
  font-size: 10px;
  height: 20px;
  line-height: 20px;
  display: block;
}

.perc-title {
  display: inline-block;
  padding-bottom: 8px;
}

.perc-text > span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

span.signed {
  color: #fff;
}