* {box-sizing: border-box}

/* Add padding to containers */
.container {
  padding: 10px;
}
h1,h2,h3,h4,h5,h6 {
  margin: 5px;
}
.content_area {
  max-width: 100%;
  max-height:440px;
  overflow: auto;
}

table, th, td {

    border-bottom:1px solid #fefefe;
}

/* Full-width input fields */
input[type=text], input[type=password] , select{
  width: 100%;
  padding: 8px;
  margin: 5px 0 10px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}
.home_shortcut_div{
    padding: 10px 5px;
    text-align: center;
    background: #fcc262;
    color: white;
    font-size:24px;
}
.home_shortcut_div a{
    background: #369;
    color: white;
    height: 100px;
    padding-top: 30px;
    width: 200px;
    display: block;
    font-size: 24px;
}

input[type=text]:focus, input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 5px;
}


/* Set a style for the submit/register button */
.registerbtn {
  background-color: #04AA6D;
  color: white;
  padding: 14px 16px;
  margin: 6px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity:1;
}

/* Add a blue text color to links */
a {
  color: dodgerblue;
  text-decoration:none;
}
table th,table td{
    text-align: left;
    padding:5px;
}
/* Set a grey background color and center the text of the "sign in" section */
.signin {
  background-color: #05446a;
  text-align: center;
}

.add_form,.edit_form{
    max-width: 500px;
    padding: 10px;
    margin:  auto;
    background: #369;
    color: white;
    border-radius:7px;
}
.header{
    text-align:center;
    padding:10px;
    background: #fcc262;
}
.main_content{
    background: #fddaa0;
    padding: 10px;
}
.menu{
    text-align:left;
    font-size: 16px;
    font-family: Sans-serif;
    background:#f9b17d;
}
.menu a{
    color:#333;
}


ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #f7e6e6;
}

li {
  float: left;
}

li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

li.dropdown {
  display: inline-block;
}

.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 {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

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

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

#message {
    padding: 8px;
    background:#ff99ff;
}
#message .error{
    color:red;
}
#message .success{
    color:green;
}


.footer{
    padding:10px;
    background: #fcc262;
}

.google_ads_footer_outer{
    height: 200px;
}
.google_ads_footer_inner {
  max-height: 140px;
  overflow: auto;
}




@media only screen and (max-width: 600px) {
label {
    display:none;
}
.google_ads_footer_inner {
  max-height: 60px;
  overflow: auto;
}

}
@media only screen and (max-width: 400px) {
.header h1 {
  max-width: 240px;
}
}
@media only screen and (max-width: 300px) {
.header h1 {
  max-width: 180px;
}
}
