/* Header section */
.hemlogo {
    float: left;
    position: relative;
    margin-left: 4px;
    height: 136px;
    width: 100px;
    margin-top: 0px;
    background: url("../images/hemlogo.jpg") no-repeat;
    /*background-size: contain;*/
    /*border: 1px solid #b8b8b8;*/
}

.headertext {
    padding-left: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    line-height: 1.2em;
    font-family: Arial, sans-serif;
    font-size: 1.6em;
    font-weight: normal;
    color: #f0f0f0;
    /*background-color: #718969;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    /*border: 1px solid #b8b8b8;*/
    /*box-shadow: 2px 0px 10px #888;
    -webkit-box-shadow: 2px 0px 10px #888;
    -o-box-shadow: 2px 0px 10px #888; */
}

.headertextline1 {
    font-family: Arial, sans-serif;
    font-size: 0.8em;
    line-height: 1.4em;
    font-weight: normal;
    font-style: normal;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px #000000;
}

.headertextline {
    font-family: Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.1em;
    font-weight: normal;
    font-style: normal;
    color: #f0f0f0;
    width: 485px;
    border-top: 3px solid #f0f0f0;
}

.headertextline2 {
    font-family: Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.1em;
    font-weight: normal;
    font-style: italic;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px #000000;
}



#nav {
    float: right;
     text-align: right;
     /*border: 3px solid #f0f0f0;*/

		}
#nav > nav > ul {
     clear: both;
     width: 100%;
     /*background: #f6f6f6;*/
     list-style: none;
     margin: 0;
     padding: 0;
     font-weight: normal;
     font-size: 1.3em;
     color: #ffffff;
     font-family: arial;
}
#nav > nav > ul > li {
     display: inline-block;
}
#nav > nav > ul > li > a {
     display: block;
     color: #ffffff;
     text-decoration: none;
     padding: 4px 18px;
}
#nav > nav > ul > li > a:hover {
  color: #000000;
  background: transparent;
  transition: .5s;
}

.nav-open, .nav-close {
     display: none;
     width: 40px;
     height: 29px;
     background: url(../images/menu-icon.png) center;
}



/* Tablet Menu */
@media (max-width: 1100px) {

#nav {
  float: none;
  margin-top: -100px;
  padding-top: 150px;
  /*border: 1px solid black;*/
}

.nav-open {
  display: inline-block;
}
#nav:target > .nav-open {
	display: none;
}
#nav:target > .nav-close {
  display: inline-block;
}

#nav > nav {
	position: relative;
	text-align: left;
}
#nav > nav > ul {
	position: static;
	top: 0px;
	left: 0px;
	width: 100%;
	font-weight: normal;
 	font-size: 1em;
 	color: #000;
 	font-family: arial;
	max-height: 0px;
	background: #fff;
	border-width: 0 1px 1px 1px;
	overflow: hidden;
}
#nav > nav > ul > li {
	display: block;
  margin-bottom: 7px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
 	background: #829c79;

}
#nav > nav > ul > li > a {
	padding: 0.3em 1.5em;
	color: #fff;
}
#nav > nav > ul > li > a:hover {
  background: #3d4a39;
  color: #fff;
  text-decoration: none;
}
#nav:target > nav > ul {
  max-height: 500px;
}



}

/* Mobile screens */
@media (max-width: 850px) {

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
         float: none;
         width: auto;
}

.headertext {
    float: none;
    width: auto;
    margin-top: 70px;
    margin-bottom: 0px;
    line-height: 1em;
    font-size: 1.1em;
    /*border: 1px solid #b8b8b8;*/
}

.headertextline {
    width: 360px;
}

#nav {
  margin-top: -144px;
  padding-top: 150px;
  /*border: 1px solid red;*/
}



}
