* {
  box-sizing: border-box;
}


 .center {text-align:center;}

html {
  scroll-padding-top: 70px;
}

.header {
  padding: 10px;
  text-align: center;
}


/***
.navbar {
  overflow: hidden;
  background-color: #333;
}
***/
.navbar {
  min-height: 45px;
  background-color: #333;
 position: sticky;
/*  position: -webkit-sticky; */
 top: 0;
}

.navbar img {
  /* float: left; */
  width:22px;height:22px
}

.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}

.navbar a.active {
  background-color: #666;
  color: white;
}

.navbar .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 20px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.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;
}

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

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #ddd;
  color: black;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

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

.navbar-right {
  float: right;
}

.navbar-right a {
  padding: 10px 20px;
}

.navbar a.right {
  float: right;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

.side {
  -ms-flex: 30%; /* IE10 */
  flex: 30%;
  padding: 20px;
}

.main {
  -ms-flex: 70%; /* IE10 */
  flex: 70%;
  padding: 20px;
}

.footer {
  padding: 0px;
  background: #2b3237;
  color: white;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  color: #01cfff;
  text-decoration: none;
}

.column {
  float: left;
 /* width: 25%;*/
  padding: 10px;
}

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


.container0 {
  display: flex;
  flex-flow: row nowrap;
  margin-left:20px;
  align-items: center;
  flex: 1 1 0;
}

.container1 {
  display: flex;
  flex-flow: row nowrap;
  margin-left:20px;
}

.container2 {
  display: flex;
  flex-flow: column wrap;
}

.container2 .box:nth-of-type(2){
  min-width:500px;
}

#predictionsummary {
  display:none;
}
#predictiondetails {
  display:none;
}



@media screen and (max-width: 700px) {
  .container2 .box:nth-of-type(2){
    flex: 1 1 0;
    min-width:unset;
  }
  .container1 {
    flex-flow: column nowrap;
  }
  .container2 {
    flex-flow: column wrap;
  }
}


@media screen and (max-width: 300px) {
  .navbar a:nth-child(2) {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  .navbar a:not(:first-child,:nth-child(2)), .dropdown .dropbtn, .navbar-right a {
    display: none;
  }
  .navbar a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 720px) {
  .navbar.responsive {position: sticky;}
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .navbar.responsive .dropdown {float: none;}
  .navbar.responsive .navbar-right {float: none;}
  .navbar.responsive .dropdown-content {position: relative;}
  .navbar.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}


@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
  .side { order: 2;}
  .main { order: 1;}
}

@media screen and (max-width: 900px) {
  .column  {
    width: 50%;
  }
}

@media screen and (max-width: 600px) {
  .column  {
    width: 100%;
  }
}
