* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    transition: 0.3s;
}

body {
    background-color: white;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0px;
    min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
    text-align: center;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

a {
    cursor: pointer;
    text-decoration: none;
}

p {
    margin: 0;
}

input {
  line-height: 25px;
  font-size: 1rem;
}

select {
  line-height: 25px;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 10px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
}


.form-group input[type="radio"] {
  width: auto;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    padding: 15px;
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }
}

.flex {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 10px;
}

.grid-4 {
  grid-template-columns: auto auto auto auto;
}

.grid-item {
  border: 1px solid;
  padding: 10px;
  text-align: center;
}

.flex.inline {
  flex-wrap: nowrap;
}

.flex.flex-justify-evenly {
  justify-content: space-evenly;
}

.flex.flex-justify-around {
  justify-content: space-around;
}

.flex.flex-justify-between {
  justify-content: space-between;
}

.flex.flex-justify-start {
  justify-content: flex-start;
}

.flex.flex-justify-end {
  justify-content: flex-end;
}

.sticky {
  position: sticky;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.m0 {
  margin: 0px;
}

.p0 {
  padding: 0px;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

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

.align-justify {
  text-align: justify;
}

.stretched-link {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.badge {
  border-radius: 5px;
}

.navbar {
  display: flex;
  margin: 2px;
  border-bottom: 1px solid #aaabbb;
}

.nav-container {
  display: flex;
  margin-left: 10px;
}

.nav-brand {
  display: flex;
  flex-grow: 1;
}

.nav-brand .brand-logo {
  margin: auto 5px auto auto;
  border-radius: 5px;
  background-color: black;
  color: white;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
}

.nav-brand .brand-title {
  margin: auto 5px auto auto;
  min-width: 150px;
  text-align: left;
}

.nav-menu {
  display: flex;
  flex-grow: 3;
  margin: auto;
}

.nav-btn {
  display: flex;
  margin: 5px;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: white;
  height: 35px;
  cursor: pointer;
  border-top-width: 0.1px;
  border-bottom-width: 0.1px;
  border-left: 0;
  border-right: 0;
  border-style: dotted;
}

.nav-btn:hover {
  filter: invert(100%);
}

.nav-btn.active {
  filter: invert(100%);
}

.nav-btn .nav-icon {
  margin: auto 5px auto auto;
}

.nav-btn .nav-icon img {
  width: 20px;
}

.nav-btn .nav-text {
  margin: auto;
  font-size: 0.875rem;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }

  .navbar {
    display: block;
    margin: 10px;
  }

  .nav-container {
    display: block;
  }

  .nav-brand {
    display: flex;
    border-bottom: 1px solid #ddd;
  }

  .nav-brand .brand-logo {
    margin-left: 0;
  }

  .nav-brand .brand-title {
    margin: 0;
  }

  .nav-menu {
    border: 0;
    flex-wrap: wrap;
  }

  .nav-btn {
    width: 150px;
    height: 150px;
    flex-direction: column;
    border-right-width: 1px;
    border-left-width: 1px;
    border-style: solid;
  }

  .nav-btn .nav-icon {
    margin: auto;
  }

  .nav-btn .nav-icon img {
    width: 50px;
  }

  .nav-btn .nav-text {
    margin: auto;
    margin-bottom: 1px;
    margin-top: 1px;
  }
}

table {
  border-collapse: collapse;
  width: 100%;
}

table tr th, table tr td {
  padding: 5px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal .modal-header {
  font-size: 1.2rem;
}

.modal .modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.4s;
  animation-name: fade;
  animation-duration: 0.4s
}

.modal .modal-footer {
  background-color: #aaaaaa;
}

.modal .modal-header {
  position: relative;
}

.modal .modal-header .modal-close {
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  background-color: none;
  cursor: pointer;
}

.modal .modal-header .modal-close::before {
  content: "×";
  font-size: 1rem;
  color: black;
}

.modal.show {
  display: block;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.btn {
  background-color: white;
  padding: 5px 8px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.badge {
  border-radius: 25px;
  border: 1px solid black;
  margin: auto 0;
  padding: 5px;
}

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

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.1s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext, .tooltiptext:hover {
  visibility: visible;
  opacity: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 260px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-left: -200px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a:hover {
    opacity: 0.9
}

.blocker {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: #55555555;
}

.loader {
  margin: auto;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid blue;
  border-right: 16px solid green;
  border-bottom: 16px solid red;
  border-left: 16px solid pink;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

@-webkit-keyframes fade {
  from {opacity:0} 
  to {opacity:1}
}

@keyframes fade {
  from {opacity:0}
  to {opacity:1}
}