/**
  SEE FOR CSS SELECTORS https://www.w3schools.com/cssref/css_selectors.asp
  
  Alpha:
  100%: FF
  87%: DE
  70%: B3
  54%: 8A
  50%: 80
  38%: 61
  20%: 33
  12%: 1F
*/

/* SELFHOSTING MATERIAL ICONS 
  https://developers.google.com/fonts/docs/material_icons
*/ 
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: normal;
  src:
    local('Material Icons'), /* Check if font is already installed locally on the client */
    local('MaterialIcons-Regular'),
    url(../fonts/Material_Icons/MaterialIcons-Regular.woff2) format('woff2'),
    url(../fonts/Material_Icons/MaterialIcons-Regular.woff) format('woff'),
    url(../fonts/Material_Icons/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

@font-face {
  font-family: RobotoSlab;
  src:
    local('RobotoSlab-Variable'),
    url(../fonts/Roboto/RobotoSlab-Variable.woff2) format('woff2'),
    url(../fonts/Roboto/RobotoSlab-Variable.woff) format('woff'),
    url(../fonts/Roboto/RobotoSlab-Variable.ttf) format('truetype');
}

@font-face {
  font-family: BowlbyOne;
  src:
    local('BowlbyOneSC-Regular'),
    url(../fonts/Bowlby/BowlbyOneSC-Regular.woff2) format('woff2'),
    url(../fonts/Bowlby/BowlbyOneSC-Regular.woff) format('woff'),
    url(../fonts/Bowlby/BowlbyOneSC-Regular.ttf) format('truetype');
}

html {
  height: 100%;
  font-family: RobotoSlab;
}

body {
	min-height: 100%;
	background-color: #fff !important;
}

nav {
  background-color: #fff;
  font-family: BowlbyOne;
}

nav ul a {
  color: #02BB40;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%
}

.spacer {
  height: 4rem;
}

.center {
  margin: auto;
  width: 50%;
  padding: 10px;
  height: 50%;
}

.page-footer {
  background-color: #43a047;
}

.footer-copyright {
  background-color: #1b5e20;
}

li.indicator-item {
   background-color: #43a04780 !important;
}

li.indicator-item.active {
   background-color: #1b5e20 !important;
}

#brandlogo {
  cursor: pointer;
}

#brandlogo:hover {
  background-color: #3D3D3D1F;
}

.querybox {
  background-color: #3d3d3d;
  color: white;
}

.querybox-header {
  position: absolute;
  top: -2.2rem;
  left: 2rem;
  background-color: #3d3d3d;
  border: 1px solid white;
  padding: 0px 10px 0px 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/** OVERWRITE MATERIALIZE StYLES
https://stackoverflow.com/questions/37127123/change-color-of-underline-input-and-label-in-materialize-css-framework/37127156
**/

input {
  color: white;
}

 /* Inactive/Active Default input field color */
.query-input input[type]:not([readonly]),
.query-input input[type]:focus:not([readonly]) {
    border-bottom: 1px solid white;
    box-shadow: 0 1px 0 0 white;
}

/* Inactive/Active Default input label color */
.query-input input[type]:focus:not([readonly])+label {
    color: white;
}

/* Active/Inactive Invalid input field colors */
.query-input input[type].invalid,
.query-input input[type].invalid:focus {
    border-bottom: 1px solid #0D47A1;
    box-shadow: 0 1px 0 0 white;
}

/* Active/Inactive Invalid input label color */
.query-input input[type].invalid:focus+label,
.query-input input[type].invalid~.helper-text::after,
.query-input input[type].invalid:focus~.helper-text::after {
    color: white;
}

/* Active/Inactive Valid input field color */
.query-input input[type].valid,
.query-input input[type].valid:focus {
    border-bottom: 1px solid white;
    box-shadow: 0 1px 0 0 white;
}

/* Active/Inactive Valid input label color */
.query-input input[type].valid:focus+label,
.query-input input[type].valid~.helper-text::after,
.query-input input[type].valid:focus~.helper-text::after {
     color: white;
}

/* INPUT TEXT DROPDOWN StYLES */
.dropdown-content li>a, .dropdown-content li>span {
  color: #02BB40 !important;
}

#iconPasswordVisibility {
  position: absolute;
  margin-top: 0.8rem;
  right:  2px;
  opacity: 0.6;
  cursor: pointer;
}

#iconPasswordVisibility:hover {
  opacity: 1.0;
}

.modal .modal-content {
  padding: 0px 24px 0px 24px;
}

.modal-content p {
  font-size: 1.3rem;
}

.datepicker-date-display {
  background-color: #3d3d3d;
}

.datepicker-date-display {
   color: #02BB40;
}

.date-text {
  color: white;
}
.datepicker-table td.is-today,
.datepicker-cancel, .datepicker-clear,
.datepicker-today, .datepicker-done {
  color: #ffab40;
}

.select-month .select-dropdown.dropdown-trigger,
.select-year .select-dropdown.dropdown-trigger {
  color: #3d3d3d;
  text-decoration: underline;
  text-decoration-color: #ffab40;
}

.datepicker-table td.is-selected {
  background-color: #02BB40;
}

.footerpage {
  position: fixed;
  width: 60%;
  max-width: 600px;
  left: 0;
  top: 0;
  margin: 0;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  height: 100%;
  height: calc(100% + 60px);
  height: -moz-calc(100%);
  padding-bottom: 60px;
  background-color: #fff;
  z-index: 999;
  overflow-y: auto;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform: translateX(-105%);
          transform: translateX(-105%);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.noscrollbars::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.noscrollbars {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/*
  THE IMPRINT AND DATAPOLICY STYLES
*/
#frame-content {
  border-width: 0px;
}

.adsimple-121845315 {
  line-height: 1.5;
  font-family: RobotoSlab;
  color: #000;
}

h1.adsimple-121845315 {
  font-size: 24px;
  color: #0d47a1;
}

h2.adsimple-121845315 {
  font-size: 18px;
  color: #0d47a1;
}

h3.adsimple-121845315 {
  font-size: 16px;
  color: #0d47a1;
}

p.adsimple-121845315 {
  font-size: 14px;
}

li.adsimple-121845315 {
  font-size: 14px;
}
/*
  END OF IMPRINT AND DATAPOLICY STYLES
*/
