*{
  font-family: Calibri;
}

#primary_nav {
  border-bottom: 1px solid #c9c9c9;
  text-align: center;
  min-height: 5vh;
}

body {
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.main_container{
  /*Old way to center*/
  margin: 0 auto;
  font-family: Calibri;
  margin-top: 30px;
  display: flex;  /*Declare .main_container as a flex container*/
  flex-direction: column;
  max-width: 900px;
  min-height: 70vh;
}

.content-container{
  background-color: #ebebeb;
  max-width: 900px;
}

header {
  font-size: 20px;
  background-color: white;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

footer {
  background-color: white;
  display: flex;
  flex-direction: row;
  /*align-items: center;*/
  bottom: 0;
  justify-content: space-evenly;
  min-height: 11vh;
  height:75px;
  margin-top: 15px;
  /*border-top: 1px solid #c9c9c9;*/
}

#inner-container{
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #393939;
}

.footerLinks {
  /*display: flex;*/
  margin-top: 5px;
  text-align: center;
  padding-bottom: 5px;
  font-size: 20px;
}

.footerLinks a{
  color: #60788D;
}

.footerLinks a:hover, .footerLinks a:focus{
  color: #608D77;
}

.nav-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /*border: 1px solid black;*/
}

.nav-item{
  border: 1px solid black;
  width: 25%;
  text-align: center;
  font-size: 26px;
  background-color: #60788D;
}

.nav-item a {
  color:white;
}

a:hover{

}

.nav-item:hover,
.nav-item:focus{
  background-color: #608D77;
}


.footer-text{
  padding: 1em;
  display: inline-block;
  font-size: 12px;
  font-family: "Calibri Light";
}

#pnl-hdr-links {
  padding-left:20px;
  padding-top:5px;
  padding-bottom:5px;
  display: block;
  text-align: left;
  color:black;
  font-weight:bold;
  text-decoration:none;
  border:0px solid red;
}

#pnl-hdr-links a {
  color: black;
}

.errors {
  color:red;
  width: 100%;
}

.header-wrap{
  min-height: 5vh;
  border-bottom: 1px solid #c9c9c9;
  font-size: 20px;
}

.head-container{
  margin:0.5em 1em 0.5em 0;
  text-align:right;
  padding-right: 25%;
}

.nav-links{
  text-align:right;
  padding-right: 26%;
  font-size: 20px;
}

.nav-links a{
  color: #60788D;
}

.lang-links{
  text-align:right;
  padding-right: 27%;
  font-size: 20px;
}

.lang-links a{
  color: #60788D;
}

#logout-button{
  color: #60788D;
}

@media only screen and (max-width: 1024px) {
  .footer-text{
    text-align: justify;
  }

  .nav-item{
    width: 100%;
    text-align: center;
  }

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

  .nav-links{
    text-align:right;
    padding-right: 2%;
  }

  .lang-links{
    text-align:right;
    padding-right: 4%;
  }

}


@media only screen and (max-width: 800px) {
  .footer-text{
    text-align: justify;
  }

  .nav-item{
    width: 100%;
    text-align: center;
  }


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

  .nav-links{
    text-align:right;
    padding-right: 2%;
  }

  .lang-links{
    text-align:right;
    padding-right: 4%;
  }
}


@media only screen and (max-width: 600px) {
  .seperator{
    display: none;
  }

  .footerLinks {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    text-align: center;
    padding-bottom: 5px;
    font-size: 20px;
  }

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

  .nav-container{
    flex-direction: column;
  }
  .nav-item{
    width: 100%;
    text-align: center;
  }


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

  .nav-links{
    text-align:right;
    padding-right: 2%;
  }
  .lang-links{
    text-align:right;
    padding-right: 4%;
  }
}



