* {
  font-family: 'Nunito Sans', sans-serif;
  box-sizing: border-box;
  font-size: 12px;
}
hr {
  opacity: 0.1;
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
}
html {
  height: 100%;
}
body {
  background-color: var(--bg);
  margin: 0;
}

:root {
  --header-h: 64px;
  --footer-collapsed-h: 64px;

  --base: hsl(215, 54%, 24%);

  --bg: var(--base);

  --bg-light: hsl(215, 54%, 28%);
  --bg-dark: hsl(215, 54%, 18%);
  --panel: hsl(215, 54%, 15%);
  --header-bg: hsl(215, 54%, 14%);

  --overlay: hsla(215, 54%, 24%, 0.6);
  --border-muted: hsl(215, 24%, 18%);
}

#container {
  height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  text-align: center;
  padding-bottom: var(--footer-collapsed-h);
  box-sizing: border-box;
}

header {
  width: 100%;
  height: 64px;
  background-color: #f1f0f0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-count: 12;
  margin: 0;
  position: relative;
  padding: 0 16px;
}
header > :first-child {
  column-span: 8;
}
header > :last-child {
  column-span: 2;
}

.netgear-logo {
  height: 24px;
  align-self: center;
  justify-self: start;
}

.armor-logo {
  height: 36px;
  align-self: center;
  justify-self: end;
}

.header-text {
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  height: 3px;
  padding-right: 16px;
}

.header-text > div {
  display: flex;
  flex-direction: column;
  text-align: right;
  height: 36px;
  justify-content: center;
  color: #1e1e1e;
  font-weight: 600;
}

.header-text > div > span {
  line-height: 18px;
  font-size: 16px;
  display: block;
}

#raport {
  float: right;
  padding: 12px 22px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 200;
  font-size: 12px;
  top: 14px;
  position: relative;
  right: 2%;
  background-color: transparent;
  color: #fff;
  border: 1px solid #39f;
  text-transform: uppercase;
}
#raport:focus {
  outline: none;
}
#container img.map {
  width: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
#modalGenerate {
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: var(--overlay);
  color: #fff;
  text-align: center;
  z-index: 99;
  left: 0px;
  top: 0px;
}
#modalGenerateContainer {
  height: auto;
  width: 550px;
  background-color: var(--bg-dark);
  margin: 0 auto;
  padding: 20px 50px 50px 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #3b424a;
  box-shadow: 0px 0px 55px 10px rgba(0, 0, 0, 0.7);
}
.selectDiv {
  border-radius: 0px;
  border: 1px solid #39f;
  padding: 0;
  margin: 0;
  border: 1px solid #39f;
  width: 150px;
  overflow: hidden;
  padding: 10px 15px;
}
select.select {
  background-color: transparent;
  color: #fff;
  border: 0px;
  padding: 8px 23px;
  box-sizing: initial;
  font-size: 12px;
}
select.select:focus {
  outline: none;
}
#inputs {
  display: none;
  width: 100%;
  margin-top: 15px;
  text-align: left;
}
#inputs input {
  height: 40px;
  width: 100% !important;
}
#inputs input:focus {
  outline: none;
}
#form {
  text-align: left;
}
#form p {
  display: inline-block;
  margin-left: 15px;
  margin-right: 25px;
}
#form p:last-child {
  margin-right: 0px;
}
#form .attacks:before {
  background-image: url(../img/attack.svg);
  background-size: 100%;
  background-position: center;
  content: '';
  position: relative;
  padding: 15px;
  top: 10px;
  right: 7px;
  display: inline-block;
  background-repeat: no-repeat;
}
#form .malware:before {
  background-image: url(../img/malware.svg);
  background-size: 100%;
  background-position: center;
  content: '';
  position: relative;
  padding: 15px;
  top: 10px;
  right: 7px;
  display: inline-block;
  background-repeat: no-repeat;
}
#form .scams:before {
  background-image: url(../img/spam.svg);
  background-size: 100%;
  background-position: center;
  content: '';
  position: relative;
  padding: 15px;
  top: 10px;
  right: 7px;
  display: inline-block;
  background-repeat: no-repeat;
}
.bluebutton {
  background-color: #39f;
  padding: 15px 25px;
  color: #fff;
  border: 0px;
  font-size: 12px;
}
.fa-times {
  font-size: 23px;
  float: right;
}
h3 {
  text-align: left;
  display: block;
}
.subtitle {
  text-align: left;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
  padding: 8px 16px;
  box-sizing: border-box;
  pointer-events: auto;
}

.footer {
  flex: 0 0 calc(20% - 8px);
  margin-right: 12px;
}
.footer2 {
  flex: 0 0 calc(59% - 8px);
  margin-right: 12px;
}
.footer3 {
  flex: 0 0 calc(20% - 8px);
}
.footer .first {
  width: 100%;
  display: block;
  color: #fff;
  background-color: var(--panel);
}
.footer2 .second {
  width: 100%;
  display: block;
  color: #fff;
  background-color: var(--panel);
}
.footer3 .third {
  width: 100%;
  display: block;
  color: #fff;
  background-color: var(--panel);
}
.inside {
  background-color: var(--bg-dark);
  min-height: 200px;
  color: #fff;
  display: block;
  overflow-y: auto;
  max-height: 200px;
  overflow-x: hidden;
}
.first .inside,
.second .inside,
.third .inside {
  border-radius: 0 0 18px 18px;
}
#inside-legend p {
  display: flex;
  align-items: center;
  font-size: 12px;
}
#inside-legend p:before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background-size: 32px 32px;
  background-position: center;
  background-repeat: no-repeat;
  flex: 0 0 32px;
}
#inside-legend p.attacks:before {
  background-image: url(../img/attack.svg);
}
#inside-legend p.malware:before {
  background-image: url(../img/malware.svg);
}
#inside-legend p.scams:before {
  background-image: url(../img/spam.svg);
}

.first,
.second,
.third {
  border: 1px solid #3b424a;
  border-radius: 20px;
}
.first p,
.second p,
.third p {
  margin-left: 17px;
  text-transform: uppercase;
}

.first,
.second,
.third {
  overflow: hidden;
}

.footer2 .second.connection-status p.livethreats {
  margin-left: 12px;
  display: inline-block;
}

.footer2 .second.connection-status p.livethreats:before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: help;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.footer2 .second.connection-status.connected p.livethreats:before {
  background-color: #00c800;
  box-shadow: 0 0 8px rgba(0, 200, 0, 0.6);
}

.footer2 .second.connection-status.disconnected p.livethreats:before {
  background-color: #ff4444;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
  animation: pulse 1.5s infinite;
}

.first .header,
.second .header,
.third .header {
  position: relative;
}
.header {
  cursor: pointer;
}

.fa-angle-down {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  cursor: pointer;
}

.fa-angle-up {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  cursor: pointer;
}

.inline-block {
  display: inline-block;
}
.width {
  width: 19%;
}
ul.font {
  font-size: 15px;
  font-weight: 100;
  padding-left: 0px;
  margin-left: 20px;
}
ul.font li {
  list-style-type: none;
  margin: 5px 0px;
}
ul.locations {
  font-size: 15px;
  font-weight: 100;
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  margin-top: 0px;
}
ul.locations li {
  list-style-type: none;
  margin: 5px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
ul.locations li.locations-header {
  color: #00a8f6;
  text-transform: uppercase;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
ul.locations li p {
  width: 80%;
}
ul.locations li .country-name {
  flex: 1;
  margin-left: 5px;
}
ul.locations li .attack-rate {
  font-size: 13px;
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}
ul.locations.hide-rate-column .attack-rate {
  display: none;
}
.inline-block p {
  margin-left: 0px;
}
.flex {
  display: flex;
}
ul.font li img {
  margin-right: 5px;
}
ul.font li p {
  width: 80%;
}
ul.locations li img {
  margin-right: 5px;
}
.colorblue {
  color: #39f;
  margin-left: 20px !important;
}
.colorinfections,
.colormalware {
  color: #ff9900;
}
.colorattack {
  color: #cc0000;
}
.text {
  font-size: 15px;
  text-align: left;
}
form#form1 {
  width: 100%;
  min-width: 100%;
  display: block;
}
.form-row input[type='checkbox'] {
  width: 15px;
}
.show-inputbtns .input-buttons {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translate(-10%, -50%);
  width: 36px;
}
.hide-replaced.ws-inputreplace {
  display: none !important;
}
.input-picker .picker-list td > button.othermonth {
  color: #888888;
  background: #fff;
}
.ws-inline-picker.ws-size-2,
.ws-inline-picker.ws-size-4 {
  width: 49.6154em;
}
.ws-size-4 .ws-index-0,
.ws-size-4 .ws-index-1 {
  border-bottom: 0.07692em solid #eee;
  padding-bottom: 1em;
  margin-bottom: 0.5em;
}
.picker-list.ws-index-2,
.picker-list.ws-index-3 {
  margin-top: 3.5em;
}
div.ws-invalid input {
  border-color: #c88;
}
.ws-invalid label {
  color: #933;
}
.input-picker .ws-focus,
.input-picker :focus {
  outline: none;
}
div.ws-success input {
  border-color: #39f;
}
form.ws-validate {
  margin: 0px auto;
  width: 45%;
  display: inline-block;
  position: relative;
  padding-left: 0px;
}
.form-row {
  padding: 5px 0px;
  margin: 0px;
}
label {
  display: block;
  margin: 3px 0;
}
.form-row input {
  width: 220px;
  padding: 3px 1px;
  border: 1px solid #ccc;
  box-shadow: none;
  padding-left: 0px;
}
.date-display {
  display: inline-block;
  min-width: 200px;
  padding: 5px;
  border: 1px solid #ccc;
  min-height: 1em;
}
span.step-control.step-up:before {
  border-color: transparent transparent var(--bg-dark);
}
span.step-control.step-down:before {
  border-color: var(--bg-dark) transparent transparent;
}
.ws-popover-opener {
  color: #39f;
  background: transparent;
  font-size: 15px;
}
.ws-popover-opener:focus,
.ws-popover-opener:active {
  outline: none;
}
.ws-current {
  border: none !important;
  background-color: #39f !important;
  color: #fff !important;
  background-image: none !important;
}
.input-picker .ws-button-row > button {
  background-image: none !important;
  border: none !important;
}
.input-picker .ws-picker-controls > button {
  border: 0px !important;
  background: #ddd !important;
}
.nomargin {
  margin: 0;
}
.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 750px) {
  #inside-liveattacks,
  #inside-legend,
  #inside-locations {
    display: none;
  }

  .fa {
    transform: rotate(180deg);
  }

  form.ws-validate {
    width: 100% !important;
  }

  footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 8px 15px;
  }

  .footer,
  .footer2,
  .footer3 {
    flex: 1 1 auto;
    width: 100%;
    margin-right: 0;
  }
  .inline-block {
    display: block;
  }
  #inputs input {
    width: 100%;
  }
  #modalGenerateContainer {
    width: 80%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    overflow: auto;
    max-height: 440px;
    min-height: 200px;
    height: 80%;
  }
  .subtitle {
    font-size: 12px;
  }
  .selectDiv {
    width: 100%;
    text-align: center;
    padding: 5px 10px;
  }
  .form-row span {
    font-size: 12px;
  }
  .text {
    font-size: 12px;
    margin-bottom: 0px;
  }
  #form p {
    font-size: 12px;
  }
  #form {
    text-align: left;
    line-height: 30px;
  }
  #form .spam {
    margin-left: 39px;
  }
  #form .spam:before {
    line-height: 30px;
    right: 20px;
  }
  #form p.infections,
  #form p.attacks {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .width {
    width: 100%;
  }
}
@media (max-width: 470px) {
  header {
    height: auto;
    min-height: 164px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 16px;
  }

  header > :first-child,
  header > :last-child {
    column-span: initial;
  }

  .netgear-logo {
    display: none;
  }

  .armor-logo {
    order: -1;
    height: 48px;
    margin: 0 0 16px 0;
    align-self: flex-start;
  }

  .header-text {
    order: 0;
    padding-right: 0;
    padding-top: 16px;
    align-self: flex-start;
  }

  .header-text > div {
    text-align: left;
    height: auto;
    display: flex;
    flex-direction: column;
    color: #1e1e1e !important;
  }

  #raport {
    left: 50%;
    position: absolute;
    top: auto;
    bottom: 12px;
    width: 90%;
    max-width: 200px;
    transform: translate(-50%);
  }
  #modalGenerateContainer {
    padding: 20px;
  }
  .inside {
    max-height: 120px;
  }

  #container {
    height: auto;
    min-height: calc(100vh - 180px);
    display: block;
    padding: 0;
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 750px) {
  #container {
    display: block;
    padding: 0 8px;
    margin-top: 16px;
    text-align: left;
  }

  #drawCanvas {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 0 8px 0 !important;
  }
}

.table-data {
  width: 100%;
  border: 1px solid red;
  padding: 0px;
  margin: 0px;
  border: 0px;
  table-layout: fixed;
}

.table-data thead th {
  color: #00a8f6;
  text-align: left;
  padding: 5px;
  text-transform: uppercase;
}
.table-data td {
  text-transform: uppercase;
  padding: 5px;
  font-size: 12px;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.table-data td.type_spam {
  width: 120px;
}

.table-data td.type_attack {
  color: #cc0000;
  width: 120px;
}

.table-data td.type_infection {
  color: #ff9900;
  width: 120px;
}

.table-data td {
  color: #ffffff;
}

.table-data td[class*='type_attack'] {
  color: #cc0000 !important;
}
.table-data td[class*='type_infection'] {
  color: #ff9900 !important;
}
.table-data td[class*='type_spam'] {
  color: #e6e6e6 !important;
}

.table-data tbody tr:nth-child(even) {
  background-color: var(--bg-dark);
  padding: 5px;
}
.table-data tbody tr:nth-child(odd) {
  background-color: var(--bg-light);
  padding: 5px;
}

#drawCanvas {
  background: url('../img/map.svg') 0px 0px no-repeat;
  background-size: 100%;
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: 100%;
}

.country {
  width: 140px;
}

.footer2 .second.connection-status:before {
  content: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}
