html {
    box-sizing: border-box;
    font-size: 100%;
}
*, *:before, *:after {
    box-sizing: inherit;
}  

body {
    background-color: #F7FFF7;
    color: #000A29;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}
a, a:visited{
  text-decoration: none;
  color:#000A29;
}

.headers {
    position: fixed;
    overflow: visible;
    z-index: 5000;
    background-color: #000A29;
    padding: 5px 5px 4px 5px;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
}


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


.headers img {
  float:left;
  display: block;
  margin: 0 20px 0 10px;

}

.dropdown .dropbtn {
  font-size: 1rem;  
  border: none;
  outline: none;
  color: #F7FFF7;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000A29;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 5000;
}


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


/*
Must after headers to get menu below eachother maybe fixed to read easier
*/
.dropdown-content a {
  float: none;
  padding: 12px 16px;
  display: block;
  text-align: left;
  color: #F7FFF7;
  text-decoration: none;
  font-size: 1rem; 
  line-height: normal;
  border-radius: 4px;
  margin: 4px 2px 0;
}

.headers a:hover {
    background-color: #F2DC49;
    color: #F7FFF7;
  }
  
.headers a.active {
    background-color: #F0CF00;
    color: #F7FFF7;
  }

.headers-right {
  display: flex;
  justify-content: flex-end;
}
  
.headers-left {
  display: flex;
  justify-content: flex-start;
}
  
.headers-left a {
  color: #F7FFF7;
}

.btn{
    color: #000A29;
    border: 2px solid #BDA400;
    background-color: #BDA400;
    text-align: center;
    text-decoration: none;
    font-size: 1rem; 
    line-height: normal;
    border-radius: 4px;
    padding: 2px;
}
.btnlow{
  color: #000A29;
  border: 2px solid #BDA400;
  background-color: #F7FFF7;
  text-align: center;
  text-decoration: none;
  font-size: 1rem; 
  line-height: normal;
  border-radius: 4px;
  padding: 2px;
}

.page a:hover {
  background-color: #F2DC49;
  color: #F7FFF7;
}

.btn:hover{
  background-color: #F2DC49;
  color: #F7FFF7;
}

.btnflex{
  display: flex;
  align-items: center;
  padding: 0 2px;
  border-radius: 4px;
  margin: 0 3px;
  font-size: 1rem;
}

.btnlarge{
  color: #000A29;
  border: 2px solid #BDA400;
  background-color: #BDA400;
  text-align: center;
  text-decoration: none;
  font-size: 2rem; 
  border-radius: 4px;
  padding: 2px;
  margin: 15px 0;
  width: 99%;
}

.title h3 {
  font-size: 7rem;
  padding: 4rem 0px 2rem;
  margin: 0;
  text-align: center;
  color: #000A29;
  font-weight: 900;
  background-color:#F2DC49;
  z-index: -1;
}

.undertitle h1 {  
  font-size: 2rem;
  padding: 1rem 0px 1rem;
  margin: 0;
  text-align: center;
  color: #706100;
  font-weight: 900;

}

.container {
  width: 100%;
  max-width: 1000px;
  padding: .75rem;
  margin-left: auto;
  margin-right: auto;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.card {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 50%;
  max-width: 100%;
  text-align: center;
  padding: 1rem;
  color: #706622;
}
.card p {
  color: #000A29;
  
}
.card-border{
  border: 2px solid #BDA400;
}
.card img {
  vertical-align: middle;
  object-fit: cover;
}
/*
Blog
*/


/*
Maybe change to another css file with allotment styles
*/
.blog-container {
  width: 100%;
  max-width: 1000px;
  padding: .75rem;
  margin-left: auto;
  margin-right: auto;
}
.blog{
  display: flex;
  border: 2px solid #BDA400;
  margin: 5px 2px;
  background-color: #e6f3e7;
  z-index: 1;
  position: relative
}
.blog-left {
  flex: 0 0 100px;
  margin-right: 20px;
}
.img-blog{
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 5px;
  position: relative;
  object-fit: cover;
  z-index: 2;
}
.blog-author {
  display: inline-block;
  margin: 5px 10px;
}
.blog-date {
  display: inline-block;
  margin: 5px 10px;
}
.blog-body {
    margin: 5px;
    padding: 2px;
}
.article-metadata{
  border-bottom: 2px double #706622;
  padding: 2px;
  margin: 2px;
}

.article-metadata a{
  color: #706622;
}
.article-title {
  padding: 2px;
  margin: 2px;
  color: #706622;
}
.article-title a{
  color: #706622;
}


.blog-detail{
  border: 2px solid #BDA400;
  margin: 5px 0;
  background-color: #e6f3e7;
  z-index: -5000;
}
.blog-body a {
  padding: 4px;
  text-decoration: none;
  font-size: 1rem; 
  line-height: normal;
  border-radius: 4px;
  margin: 4px 2px 0;
}


.article-metadata a:hover {
  background-color: #F2DC49;
  text-decoration: none;
  color: #F7FFF7;
}
.article-title a:hover {
  background-color: #F2DC49;
  text-decoration: none;
  color: #F7FFF7;
}

.blog-edit{
  margin: 5px;
}

form button{
  margin: 5px;
}
form input{
  width: 99%;
  margin: 5px 0;
  height: 1.5rem;
  display: inline-block;
}
form textarea{
  width: 99%;
  margin: 5px 0;
  display: inline-block;
}
form select{
  width: 99%;
  margin: 5px 0;
  height: 1.5rem;
  display: inline-block;
}
form label{
  width: 99%;
  margin: 5px 0;
  height: 1.5rem;
  display: inline-block;
}
form p{
  width: 99%;
  margin: 5px 0;
  font-size: 0.85rem;
} 
.containerrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-left{
  width: 20%;
  max-width: 150px;
  min-width: 80px;
}
.form-right{
  width: 65%;
  
}
.form-right2{
  width: 75%;
  
}
.form-button{
  width: 5%;
  font-size: 0.7rem;

}

.linebottom{
  border-bottom: 2px double #706622;
}

.last{
  border-bottom: 2px double #706622;
  padding-bottom: 5px;
}
.firstrow{
  padding-top: 5px;
}

/* Problems with recipe view with padding*/
/* Solved can change back*/
.view-left{
  width: 26%;
  float: left;
  margin: 3px 0;
}
.view-right{
  width: 66%;
  float: left;
  margin: 3px 0;  
}


/*
images in blog details
*/
.img-container {
  width: 100%;
  max-width: 500px;
  padding: .75rem;
  margin-left: auto;
  margin-right: auto;
}
.img-detail{
  width:100%;
  margin-left: auto;
  margin-right: auto;

}

/* Datatables*/
.theader th{
  text-align: left;
}

.tfooter th{
  text-align: left;
}

/* Container 50%*/
.flex{
  display: flex;
  justify-content: space-between;
}

.container-50-left{
  width: 49%;
}
.container-50-right{
  width: 49%;
}

.beer-img{
  width: 100%;
}

.dataTables_paginate {
  float: none !important;
  text-align: center !important;
}
.errorlist {
  color: red;
}
@media screen and (max-width: 600px) {
  .title h3 {
    font-size: 6rem;
  }
  .card{
    width: 100%;
  }
  .headers img {
    margin: 0 10px 0 5px;
  }
  .btnflex{
    font-size: 0.875rem;
    padding: 1px;
  }
  .material-icons-outlined.md-18{
    font-size: 18px;
  }
  .container-50-left{
    width: 100%;
  }
  .container-50-right{
    width: 100%;
  }
}



@media screen and (max-width: 500px) {
  .title h3 {
    font-size: 5rem;
  }
  .card{
    width: 100%;
  }
  .headers img {
    margin: 0;
  }
  .headers-right .hidden{
    font-size: 0px;
  }
}
