/* Basics */

@-ms-viewport{
  width: device-width;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1em;
  color: #444;
  -webkit-font-smoothing: antialiased;
  background: white;
  margin: 0;
  padding:0;
}


#header{
  display: block;
  background-color: white;
  width:100%;
  color: #2c2c2c;
  /*height:197px;*/
  text-align: center;
}

#header-logo{
  display: block;
  background-color: white;
  width: 2000px;
  max-width: 100%;
  -webkit-max-logical-width: 100%;
  text-align: center;
}

#header-logo-bg{
  background-color: white;
  /*height: 197px;*/
  -webkit-max-logical-height: 197px;
  -webkit-min-logical-height: 50px;
  background-image: url("./../../theme/images/Header-Background-01.png");
  -webkit-background-size: 100%;
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

#img-background{
  display: block;
  margin-left: auto;
  margin-right: auto;
  -webkit-max-logical-width: 100%;
}

#background-stretch-helper{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 145px;
  background-color: #064981;
  z-index: 1;
}

#nav{
  background-color: #064981;
  color: white;
  width:100%;
  text-align: center;
  position: relative;
}

#main{
  position: relative;
  width: 100%;
  background-color: white;
  position: relative;
  height: auto;
  display: table;
}

#content {
  position: relative;
  width: 90%;
  display: block;
  margin: 0 auto;
  /*border: 1px dotted grey;*/
  word-wrap:break-word;
  overflow-wrap: break-word;
  margin-bottom: 2em;
}

#footer {
  position: fixed;
  bottom: 0;
  margin-top: 1em;
  width: 100%;
  background-color: #064981;
  text-align: center;
  color: white;
}

/* ================ Info / Debug -Box ==================== */

#info_box_msg {
    position: relative;
    z-index: 2;
    display: table;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    background-color: #e6e16b;
    opacity: 0.7;
}

#info_box_debug_header {
    position: relative;
    z-index: 2;
    display: table;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    background-color: #8c8c8c;
    opacity: 0.8;
}

#info_box_debug_footer {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    background-color: #8c8c8c;
    opacity: 0.8;
}

/* ================ Vertical Navigation ==================== */

/* Navbar container */
.navbar {
  width: 90%;
  display: block;
  margin: 0 auto;
  /*border: 1px dotted red;*/
  overflow: hidden;
  /*font-family: Arial;*/
  /*font-family: "Helvetica Neue", Helvetica, sans-serif;*/
  background-color: #064981;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 1em;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 1em;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  /*background-color: inherit;*/
  background-color: #064981;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #09589b;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  animation: fadeEffect 0.5s; /* Fading effect takes 0.5 second */
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #444;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  animation: fadeEffect 0.5s; /* Fading effect takes 1 second */
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* ================ Tabs ==================== */

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}




/* ================ Tables ==================== */

.tst_table {
  border: thin dropshadow(thick)
}

.tst_td {
  border: thin dotted
}

.td_left {
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
}

.td_right {
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}


/* table, th, td, tr { */
/*   border: 1px dotted #ddd; */
/* } */





/* ================ Switch View ==================== */

/* Switch content width to 100% if less than 1024px available */
@media only screen and (max-width: 1024px) {
  .content .navbar {
    width: 98%;
  }
}

/* Switch content width to 1800px if more than 200px available */
@media only screen and (min-width: 2048px) {
  .content .navbar {
    width: 2000px;
  }
}



/* ================ Fieldset ==================== */

.fieldset_round {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  border-color: #cccccc;
  border-style: solid;
  border-width: 1px;
}

.legend {
  margin-right: 7px;
  margin-left: 7px;
  padding-right: 7px;
  padding-left: 7px;
  #background: #fff;
  /* For better legibility against the box-shadow */
}




/* ================ Input Button ==================== */

.button {
  margin-right: 20px;
  margin-top: 20px;
  width: 80px;
  height: 30px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #4ba3d8; /*IE fallback*/
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4ba3d8), to(#004985));
  background-image: -moz-linear-gradient(top left 90deg, #4ba3d8 0%, #004985 100%);
  background-image: linear-gradient(top left 90deg, #4ba3d8 0%, #004985 100%);
  border-radius: 8px;
  border: 1px solid #66add6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
  cursor: pointer;
}
.button:hover {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#74b0d8), to(#004985));
  background-image: -moz-linear-gradient(top left 90deg, #74b0d8 0%, #004985 100%);
  background-image: linear-gradient(top left 90deg, #74b0d8 0%, #004985 100%);
}
.button:active {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#004985), to(#74b0d8));
  background-image: -moz-linear-gradient(top left 90deg, #004985 0%, #74b0d8 100%);
  background-image: linear-gradient(top left 90deg, #004985 0%, #74b0d8 100%);
}
