/******************************
EXAMPLE STYLES
******************************/
.noscroll {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 9999;
  visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  display: block;
  width: 80%;
  max-width: 940px;
  margin: 120px auto 0;
}

.close {
  position: absolute;
  top: 50px;
  right: 50px;
  font-size: 36px;
}

/* Main Nav */

.nav {
  width: 100%;
  max-width: 463px;
  margin: 20px auto 10px;
  font-size: 13px;
}

.nav-el {
  position: relative;
  display: inline-block;
  float: right;
  width: 47.5%;
  padding-bottom: 41%;
  color: #00aeef;
  z-index: 10;
  /* Placements */
}
.nav-el [class^="icon-"], .nav-el [class*=" icon-"] {
  position: absolute;
  top: 3px;
  left: 4.5%;
  line-height: 0;
  margin-left: -0.5em;
}
.nav-el.active_reverse {
  z-index: 11;
  background: transparent;
}
.nav-el.inactive {
  pointer-events: none;
  cursor: default;
}
.nav-el:nth-of-type(2n+1) {
  float: left;
}
.nav-el:nth-of-type(n+3) {
  margin-top: 5%;
}

.nav-el h3 {
    position: relative;
    text-shadow: 2px 2px 10px #000000;
    top: 0;
    left: -35%;
    right: 0;
    bottom: 0;
    margin: 0;
    color: #fff; /* previous color: #FBBB5E; */
    opacity:0;
    transition:1s;
    background-color: #FBBB5E;
}

.nav-el:hover h3 {
    opacity:1;
	left: 0%;
}



/* A fix for Safari and .nav-el z-index:
	when animation starts, the square appear bellow other .nav-el
  	even if it has a bigger z-index */
.demo3_cont {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* Space adjustment  */
@media only screen and (min-width: 520px) {
  .nav {
    font-size: 19px;
  }
}
@media only screen and (min-width: 768px) {
  .overlay .wrap {
    margin: 80px auto 0;
  }
}
/******************************
COLORS
******************************/
/* demo1 */
body.dm-demo1 {
  background: #1abc9c;
}
body.dm-demo1 .button {
  color: #1abc9c;
  background: #16a085;
}
body.dm-demo1 .button:hover {
  background-color: #107360;
}
body.dm-demo1 .overlay {
  background-color: #107360;
}
body.dm-demo1 .nav-el {
  background-color: #16a085;
  transition: background-color .3s ease-in;
  -moz-transition: background-color .3s ease-in;
  -webkit-transition: background-color .3s ease-in;
}
body.dm-demo1 .nav-el:hover, body.dm-demo1 .nav-el.active {
  background: #107360;
}
body.dm-demo1 .nav-el.active {
  z-index: 11;
}
body.dm-demo1 .backtoarticle {
  border-color: #16a085;
  color: #16a085;
}
body.dm-demo1 .backtoarticle:hover {
  color: #107360;
  border-color: #107360;
}

/* demo2 */
body.dm-demo2 {
  background: #fff;
}
body.dm-demo2 .button {
 
}
body.dm-demo2 .button:hover {

}
body.dm-demo2 .overlay {
  background-color: #018cc0;
}
body.dm-demo2 .nav-el {
  background-color: #00aeef;
  transition: background-color .3s ease-in;
  -moz-transition: background-color .3s ease-in;
  -webkit-transition: background-color .3s ease-in;
}
body.dm-demo2 .nav-el:hover, body.dm-demo2 .nav-el.active {
  background: #018cc0;
  color: #fff;
}
body.dm-demo2 .nav-el.active {
  z-index: 11;
}
body.dm-demo2 .backtoarticle {
  border-color: #2980b9;
  color: #2980b9;
}
body.dm-demo2 .backtoarticle:hover {
  color: #018cc0;
  border-color: #018cc0;
}

/* demo3 */
body.dm-demo3 {
  background: #9b59b6;
}
body.dm-demo3 .button {
  color: #9b59b6;
  background: #8e44ad;
}
body.dm-demo3 .button:hover {
  background-color: #703688;
}
body.dm-demo3 .overlay {
  background-color: #703688;
}
body.dm-demo3 .nav-el {
  background-color: #8e44ad;
  transition: background-color .3s ease-in;
  -moz-transition: background-color .3s ease-in;
  -webkit-transition: background-color .3s ease-in;
}
body.dm-demo3 .nav-el:hover, body.dm-demo3 .nav-el.active {
  background: #703688;
}
body.dm-demo3 .nav-el.active {
  z-index: 11;
}
body.dm-demo3 .backtoarticle {
  border-color: #8e44ad;
  color: #8e44ad;
}
body.dm-demo3 .backtoarticle:hover {
  color: #703688;
  border-color: #703688;
}

/* demo4 */
body.dm-demo4 {
  background: #34495e;
}
body.dm-demo4 .button {
  color: #34495e;
  background: #2c3e50;
}
body.dm-demo4 .button:hover {
  background-color: #1a242f;
}
body.dm-demo4 .overlay {
  background-color: #1a242f;
}
body.dm-demo4 .nav-el {
  background-color: #2c3e50;
  transition: background-color .3s ease-in;
  -moz-transition: background-color .3s ease-in;
  -webkit-transition: background-color .3s ease-in;
}
body.dm-demo4 .nav-el:hover, body.dm-demo4 .nav-el.active {
  background: #1a242f;
}
body.dm-demo4 .nav-el.active {
  z-index: 11;
}
body.dm-demo4 .backtoarticle {
  border-color: #2c3e50;
  color: #2c3e50;
}
body.dm-demo4 .backtoarticle:hover {
  color: #1a242f;
  border-color: #1a242f;
}

/* form style */
.form-style{
	max-width: 400px;
	border-radius: 5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
	
}

.form-style label{
    display: block;
    margin: 0px 0px 15px 0px;
    text-align: left;
}
.form-style label > span{
    width: 100px;
    font-size: 19px;
    float: left;
    padding-top: 4px;
    padding-right: 5px;
}
.form-style span.required{
    color:red;
}
.form-style .tel-number-field{
    width: 55px;
    text-align: left;
}
.form-style  .long{
    width: 150px;
}
.form-style input.input-field{
    width: 65%;
   
}

.form-style input.input-field,
.form-style .tel-number-field,
.form-style .textarea-field,
 .form-style .select-field{
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out; 
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 1px solid #C2C2C2;
    box-shadow: 1px 1px 4px #000;
    -moz-box-shadow: 1px 1px 4px #000;
    -webkit-box-shadow: 1px 1px 4px #000;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 7px;
    outline: none;
}
.form-style .input-field:focus,
.form-style .tel-number-field:focus,
.form-style .textarea-field:focus,  
.form-style .select-field:focus{
    border: 2px solid #faaf40;
}
.form-style .textarea-field{
    height:100px;
    width: 65%;
}
.form-style input[type="button"],
.form-style input[type="submit"] {
background-color:#faaf40;
	color:#fff;
	
	font-size:20px;
	line-height:32px;
	border-radius:20px;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	border:0;
	
	width:150px;
	height:32px

  
}
.form-style input[type="button"]:hover,
.form-style input[type="submit"]:hover {
    background: linear-gradient(to bottom, #224099 5%, #224099 100%);
    background-color: #28739E;
}
.form-style .success{
	
	padding: 5px 10px 5px 10px;
	margin: 0px 0px 5px 0px;
	border: none;
	font-weight: bold;
}
.form-style .error {
	
	padding: 5px 10px 5px 10px;
	margin: 0px 0px 5px 0px;
	border: none;
	font-weight: bold;
	color: #FF0000;
	border-left: 3px solid #FF0000;
	
}
.styled-button{
	background-color:#ed8223;
	color:#fff;
	
	font-size:18px;
	line-height:30px;
	border-radius:20px;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	border:0;
	text-shadow:#C17C3A 0 -1px 0;
	width:100px;
	height:32px
}                

.col-8-12 {
	width: 460px; 
	float: left;
	
	}

.col-8-1 {
	width: 402px; 
	float: left;
	border-style: solid;
    	border-width: 1px;
	
	}
.col-8 {
	width: 20px; float: left;

	
	}

.col-8-2 {
	width: 510px; 
	float: left;
	text-align: left;

	
	}
