/*
igl licht-blauw: #0569B3
igl donker blauw: rgb(21,81,133);

*/


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #666;
}
html{
    font-size: 16px;
    font-family: "Helvetica", "Arial", sans-serif;

}
body{
  background-color: lightgray;
  position: relative;
}
/*
  ********************
  stijlregels voor het login scherm
  ********************
*/
#logContainer{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
  width: 600px;
  margin: auto;
  /*background-color: green;*/
}
#logScreen{
  width: 400px;
  height: 220px;
  background-color: white;/*temp*/
  position: flex;
  /*margin: auto;*/
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 1px 1px 5px black;
}
#logHeader{
  text-align: center;
}
#logHeader img{
  display: inline;
  width: 42px;
  height: 42px;
}
#logHeader h1{
  color: rgb(21,81,133);
  display: inline;
  line-height: 21px;
}
#logBody{
  padding: 10px;
}
#logBody label{
  display: block;
  text-align: center;
  font-weight: bold;
}
#logBody input{
  display: block;
  border: none;
  width: 90%;
  height: 25px;
  /*text-align: center;*/
  margin: 5px auto 0;
  border-radius: 5px;
}
#logBody input[type="text"], #logBody input[type="password"]{
  padding-left: 3px;
  border: 2px solid #666;
}
#logBody input[type="text"]:focus, #logBody input[type="password"]:focus{
  border-color: #0569B3;
}
#logBody input[type="submit"]{
  background-color:  white;
  color: #0569B3;
  font-weight: bold;
  border: 2px solid #0569B3
}
#logBody input[type="submit"]:hover{
  box-shadow: 0 0 2px black;
}
/*
  ********************
*/
#container{
  width: 90%;
  min-height: 950px;
  background-color: white;
  margin: 0 auto;
  position: relative;
}
header{
  height: 350px;
  background-color: white;
  position: relative;
}
header div{
  height: 150px;
  position: relative;
}
header #hflex{
  display: flex;
  flex-direction: row;
}
header #htop{
  height: 50px;
  background-color: rgb(5, 105, 180);
  width: 100%;
  position: relative;
  text-align: right;
  line-height: 50px;
  font-size: 1.2em;
}
header #htop p{
  display: inline-block;
  color: lightgray;
  border-left: 2px solid;
  height: 100%;
  padding: 0 20px 0 20px;
}
header #htop p span{
  font-weight: bold;
  color: white;
}
header #htop form{
  display: inline;
}
header #htop input[type="submit"]{
  border: none;
  width: 150px;
  height: 100%;
  font-size: 1em;
  margin-right: 40px;
  background-color: inherit;
  color: lightgray;
  border-left: 2px solid;
  border-right: 2px solid;
}
header h1{
  display: inline;
  color: rgb(22,74,128);
  font-weight: bold;
}

header #hflex div:first-of-type{
  background-color: white;
  width: 70%;
  /*text-align: center;
  /*line-height: 100px;*/
  color: rgb(21,81,133);
  padding-top: 25px;
  padding-left: 100px;
}
header #hflex div:first-of-type a{
}
header #hflex div:last-of-type{
  padding: 20px;
  background-color: white;
  width: 30%;
  text-align: right;
  text-align: center;
  line-height: 120px;
  font-size: 1.5em;
}
header #hbot{
  height: 150px;
  background-color: red;
  background-image: url("../images/ECOBannerTemp2.jpg");
  background-position: 50% 0%;
}
/*header #hflex div:last-of-type input{
  margin-top: 10px;
  width: 150px;
  border: 2px solid #0569B3;
  /*background-color: rgb(21,81,133);*/
  /*background-color: white;
  color: #0569B3;
  height: 30px;
  border-radius: 5px;
}
header div:last-of-type input:hover{
  box-shadow: 0px 0px 2px black;
}*/
nav{
  height: 50px;
  background-color: rgb(249, 225, 29);
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding-left: 50px;
}
nav a{
  color: black;
  font-weight: bold;
  min-width: 100px;
  /*border: 1px solid lightgray;*/
  height: 100%;
  margin: 0 15px;
  line-height: 50px;
  text-align: left;
  text-decoration: none;
  border-radius: 5px;
}
nav a i{
  color: black;
  margin-right: 10px;
  font-size: 1.2em;
}
nav a:hover, nav a:hover i{
  color: rgb(5, 105, 180);
}
/*
  main en inhoud
*/
main{
  min-height: 650px;
  background-color: white;
  position: relative;
  padding: 40px 100px
}
.portalBtn{
  width: 350px;
  height: 150px;
  background-color: rgba(220, 240, 220, 0.5);
  background-color: rgba(247, 246, 244, 1.0);
  display: inline-block;
  text-align: center;
  margin: 10px;
  /*padding: 110px;*/
  /*line-height: 150px;*/
  font-size: 1.6em;
  border: 1px solid rgb(210, 220, 210);
  border-radius: 5px;
}
.portalBtn:hover{
  background-color: rgba(220, 240, 220, 0.7);
  /*box-shadow: 0 0 20px 1px black;*/
}
.btnText{
  margin-top: 35px;
}
.portalBtn p:first-of-type{
  font-weight: bold;
  color: rgb(22,74,128);
  margin-bottom: 10px;
}
.portalBtn p:last-of-type, .portalBtn p i{
  color: rgb(5, 105, 180);
  font-size: 0.85em;
}
.portalBtn a{
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color:  rgb(21,81,133);

}
main table, main th, main td{
  border: 1px solid black;
  border-collapse: collapse;
}
main table{
  width: 80%;
  text-align: center;
  margin: 0 auto;
}
main th, main tr{
  width: 25%;
}
main th:nth-of-type(4), main th:nth-of-type(5), main tr:nth-of-type(4), main tr:nth-of-type(5){
  width: 7%;
}
main th{
  background-color:  #0569B3;
  color: white;
}
main td:nth-of-type(4) i:hover{
  color: green;
}
main td:nth-of-type(5) i:hover{
  color: darkred;
}

main input{
  display: block;
  border: none;
  width: 50%;
  height: 25px;
  /*text-align: center;*/
/*  margin: 5px auto 0;*/
  border-radius: 5px;
}
main input[type="text"], main input[type="password"]{
  padding-left: 3px;
  border: 2px solid #666;
}
input[type=radio]{
  display: inline-block;
  height: auto;
  width: auto;
}
label{
  display: block;
}
main input[type="text"]:focus{
  border-color: #0569B3;
}
main input[type="submit"]{
  background-color:  white;
  color: #0569B3;
  font-weight: bold;
  border: 2px solid #0569B3
}
main input[type="submit"]:hover{
  box-shadow: 0 0 2px black;
}
.delete:hover{
  cursor: pointer;
}
/*
  ********************
  extra stijlregels om een variant te testen.
  ********************
*/
.portalBtn2{
  width: 300px;
  height: 200px;
  background-color: lightgray;
  display: inline-block;
  text-align: center;
  margin: 10px;
  padding: 55px;
  /*line-height: 200px;*/
  font-size: 2em;
  border-radius: 15px;
}
/*.portalBtn2:hover{
  background-color: white;
  box-shadow: 0 0 20px 1px black;
}*/
.portalBtn2 p{
  color: darkblue;
}
.portalBtn2 a{
  display: inline-block;
  /*width: 100%;
  height: 100%;*/
  text-decoration: none;
  color: darkcyan;

}
.portalBtn2 a:hover{
  color: black;
}

.success, .error{
  width: 80%;
  margin: 30px auto;
  height: 25px;
  line-height: 25px;
  background-color: MediumSeaGreen;
  font-weight: bold;
  /*text-align: center;*/
  border-radius: 5px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 10px;
}
.success p, .error p{
  color: DarkSlateGray;
  display: inline-block;
}
.error{
  background-color: Tomato;
}
.msg div{
  position: absolute;
  right: 5px;
}
.msg div span{
  line-height: 25px;
  color: black;
}
.msg div span:hover{
  cursor: pointer;
  color: white;
}
/*
  ********************
*/
/*
  footer
*/
footer{
  min-height: 100px;
  background-color: #2a2d30;
}
@media only screen and (max-width: 1600px) {
  #container{
    width: 100%;
  }
  header #hbot{
    background-position: 30% 0%;
  }
  main{
    padding: 20px 20px
  }
  .portalBtn{
    margin: 5px;
    font-size: 1.6em;
  }
}
