  @font-face {
  font-family: "Icon";
  src:url(../font/modernpics-webfont.eot), url(../font/modernpics-webfont.svg), url(../font/modernpics-webfont.ttf), url(../font/modernpics-webfont.woff);
}
}
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

nav {
  margin: 0;
}
nav ul {
  margin: 0px -16px 0px -16px;
  padding: 0;
}
nav li {
  position: relative;
  list-style: none;
}
@media all and (max-width: 700px) {
  nav li {
    margin-bottom: 2px;
  }
  .nameIMG {
	display: none;		
  }
  .StartButton {
	display: none;		
  }
  .headIMG {
	background:url(../img/headsmM.jpg);
	background-size: cover;
    background-position: top right;
    background-repeat: none;
	text-align: left;
	max-width: 700px;
	height: 245px;
	margin: 15px auto auto;
	padding: 0;
	overflow: hidden;
	border-left: 1px solid #66665E;
	border-right: 1px solid #66665E;
	border-top: 1px solid #66665E;  
  }
  .MapBig {
	  display: none;
  }
   .cvIMGBig {
	display: none;		
  }
}
@media all and (min-width: 701px) {
  nav li {
    float: left;
    width: 20%;
    text-align: center;
  }
  nav li:last-child a {
    border: none;
  }
  nav li:hover li {
    height: auto;
  }
  .SMALLnameIMG {
	display: none;		
  }
  .headIMG {
	background:url(../img/headsm.jpg);
	text-align: right;
	max-width: 1000px;
	height: 350px;
	margin: 25px auto auto;
	padding: 0;
	overflow: hidden;
	border-left: 1px solid #66665E;
	border-right: 1px solid #66665E;
	border-top: 1px solid #66665E;
  }
  .homeMobile {
	  display: none;
  }
  .CVSpacer {
	  margin-left: 40px;
  }
  .ContactSpacer {
	  margin-left: 40px;
	  margin-top: 40px;
	  margin-bottom: 40px;
  }
  .MapSmall {
	  display: none;
  }
  .ContactRight {
	  margin-right: 3em;
  }
}
nav li a {
  background: #b2b2b2;
  padding: 10px;
  display: block;
  color: white;
  text-decoration: none;
}
nav li a:hover {
  background: #8e9092;
  color: #FFF;
}
.noLINK {
  background: #b2b2b2;
  padding: 10px;
  display: block;
  color: white;
  text-decoration: none;
  border-right: 1px solid #66665E;
}
.noLINK:hover {
  background: #8e9092;
}
@media all and (min-width: 701px) {
  nav li a {
    border-right: 1px solid #66665E;
  }
}
nav li a.more, nav li a.less {
  display: none;
  font-family: icon;
  position: absolute;
  top: 0;
  right: 0;
  background: #b2b2b2;
  padding: 0;
  width: 25%;
  text-align: center;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  z-index: 500;
  font-size: 30px;
  -moz-box-shadow: -3px 0px 2px -2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: -3px 0px 2px -2px rgba(0, 0, 0, 0.1);
  box-shadow: -3px 0px 2px -2px rgba(0, 0, 0, 0.1);
}
.touch nav li a.more, .touch nav li a.less {
  display: block;
}
@media all and (max-width: 700px) {
  nav li a.more, nav li a.less {
    display: block;
  }
}
nav li a.more:hover, nav li a.less:hover {
  background: #8e9092;
}
nav li ul {
  padding: 0;
}
@media all and (min-width: 701px) {
  nav li ul {
    width: 100%;
    position: absolute;
	margin: auto;
  }
}
nav li ul li {
  height: 0px;
  -moz-transition-property: height;
  -o-transition-property: height;
  -webkit-transition-property: height;
  transition-property: height;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  overflow: hidden;
  margin-bottom: 0;
}
@media all and (min-width: 701px) {
  nav li ul li {
    width: auto;
    float: none;
    border: none;
    margin-left: -1px;
  }
}
nav li ul a {
  background: #c0c0c0;
  line-height: 21px;
  border-left: 1px solid #66665E;
  border-right: 1px solid #66665E;
  border-bottom: 1px solid #66665E;
}
@media all and (max-width: 700px) {
  nav li ul a {
    padding-left: 20px;
  }
}
nav li ul a:hover {
  background: #8e9092;
}

nav li:target ul li {
  height: auto;
}
@media all and (max-width: 700px) {
  nav li:target ul li {
    border-top: 1px solid #66665E;
  }
}
nav li:target ul li:first-child {
  border-top: none;
}

nav li:target .less {
  z-index: 1000;
}
#active {
	background: #7897b6;
}