/*.row{
    margin-bottom: 3em;
}*/

body{
    background: url(../triangles-min.png) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
header{
    margin: 5% 0 25% 0;
}

footer{
    margin: 5em 0;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h3{
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
h4, h5{
    margin-bottom: 0.05em;
    margin-top: 0.05em;
}
p, a{
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

li, a {
    display:inline-block;
}

a{
    font-size: 1em;
    color: rgb(0, 105, 255);
    letter-spacing: 0.1em;
    display:inline-block;
    text-shadow: 0px 0px 0px rgba(150, 150, 150, 1);
    text-decoration: none !important;
        -webkit-transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1); /* Safari */
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

a:hover{
    /*font-weight: 700;*/
    /*text-shadow: 3px 5px 10px rgba(150, 150, 150, 0.4);*/
    letter-spacing: 0.2em;
}

a::after {
    display:block;
    content:attr(title);
    font-weight:bold;
    height:1px;
    color:transparent;
    overflow:hidden;
    visibility:hidden;
    margin-bottom:-1px;
}

.category{
    font-size: 0.8em;
    color: rgb(0, 105, 255);

}
.name{
    margin-bottom: 1em;
}

.description{
    max-width: 350px;
    position: relative;
    top: 400px;
    
    -webkit-transition: top 0.45s cubic-bezier(0.165, 0.84, 0.44, 1); /* Safari */
    transition: top 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}



.category::after{
    margin-left: 0.5em;    
    font-weight: 700;
    content: ">";
    font-family: 'Montserrat', sans-serif;
}

.box{
    position: relative;
    border: 1px solid #ddd;
    cursor: pointer;
    margin-bottom: 20px;
    background: #fff;
    
}


.box-container{
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.box-half{
    height: 140px;
}


.box-full{
    height: 300px
}



.box::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  -webkit-transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}


.box:hover::after {
    opacity: 1;
}

.box-container > img{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}



.box-content{
    position: relative;
    padding: 1em;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255,255,255, 0.0);
    -webkit-transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.box-content:hover{
    background: rgba(0, 105, 255, 0.6);
    color: white !important;
}

.box-content:hover a{
    color: black !important;
}

.box-content:hover .category{
    color: black !important;
}

.box-content:hover .description{
    top: 0px;
}


#contact-form-container{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: -1000px;
    z-index: 3;
    visibility: hidden;
    -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

}

#contact-form{
    position: absolute;
    right: 0;
    background: #fff;
    height: 100%;
    padding: 3em 6% 2% 4% ;    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#contact-form > form{
    height: 70%;
}

input, textarea{
    margin-bottom: 2em;
    width: 100%;
    padding: 1em;
    border: 1px solid #eee;
    font-family:'Montserrat';
    font-size:0.8em ;
    letter-spacing: 0.05em;    
    font-weight: 300;
}

textarea{
    resize: none;
    height: 40%;
}

textarea:focus, input:focus{
    border: 1px solid rgb(0, 105, 255);
}
input[type=submit]{
    
    color:#fff;    
    font-weight: 700;
    padding:14px;
    font-size:0.9em ;
    /*background:url(overlay.png) repeat-x center rgb(0, 105, 255);*/
    background-color: rgb(0, 105, 255);  
    border:none;    
    cursor:pointer; 
     -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

input[type=submit]:hover{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#close-form-button{
    width: 100%;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 1em;
    border: 1px solid transparent;
    color: #aaa;
    font-weight: 400;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#close-form-button:hover{
    border: 1px solid rgb(0, 105, 255);
    color: rgb(0, 105, 255);
}

.box-learn-more{
    display: block;
}

.lead{
    font-size: 1em;
}

.inactive{
    pointer-events: none;  /**<-----------*/
    opacity: 0.3;
}

.inline{
    display: inline
}


#nav-icon{    
	z-index:999 !important;
}
.hamburger {
	display:inline;
	position:absolute;
	right:50px;
	top:6px;
}
.hamburger a {
	text-decoration:none;
    font-size:1.8em;
}

.btn-open:after {
	color:#333;
	content:"\f0c9";
	font-family:"FontAwesome";
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;
}
.btn-open:hover:after {
	color:rgb(0, 105, 255);
}
.btn-close:after {
	color:rgb(0, 105, 255);
	content:"\f00d";
	font-family:"FontAwesome";
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;
}
.btn-close:hover:after {
	color: black;
}

.overlay {
	display:none;
	position:fixed;
	top:0;
    left: 0;
	height:100%;
	width:100%;
	background:rgba(255,255,255, 0.95);
	overflow:auto;
	z-index:99;
}
.wrap {
	color:#e9e9e9;
	text-align:center;
	max-width:90%;
	margin:0 auto;
    min-width: 70%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}



.wrap ul.wrap-nav {
	
	text-transform:capitalize;
	padding:150px 0px 100px;
}
.wrap ul.wrap-nav li {
	font-size:20px;
	display:inline-block;
	vertical-align:top;
	width:30%;
	position:relative;
}
.wrap ul.wrap-nav li a {
	color:rgb(0, 105, 255);
	display:block;
	padding:8px 5px;
	text-decoration:none;
    font-family: 'Montserrat', sans-serif;
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;
}
.wrap ul.wrap-nav li a:hover {
	/*color:black;*/
    background-color: rgb(0, 105, 255);
    color: white;
}
.wrap ul.wrap-nav ul {
	padding:20px 0;
}
.wrap ul.wrap-nav ul li {
	display:block;
	font-size:13px;
	width:100%;
	color:#e9e9e9;
}
.wrap ul.wrap-nav ul li a {
	color:#333;
}
/*.wrap ul.wrap-nav ul li a:hover {
	color:rgb(0, 105, 255);
}*/

#nav-icon1 {
  width: 60px;
  height: 45px;
  position: absolute;
  margin: 50px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 25px;
  background: rgb(0, 105, 255);;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}



span, div {
  margin: 0;
  padding: 0; 
}
#nav-icon1 span:nth-child(1) {
  top: 6px;
}

#nav-icon1 span:nth-child(2) {
  top: 14px;
}

#nav-icon1 span:nth-child(3) {
  top: 22px;
}

#nav-icon1.open{
    position: fixed
} 


#nav-icon1.open span:nth-child(1) {
  top: 14px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 14px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}


@media screen and (max-width:48em) {
	.wrap ul.wrap-nav>li {
		width:100%;
		padding:20px 0;
		
	}
	.wrap ul.wrap-nav {
		padding:30px 0px 0px;
	}
	nav ul {
		opacity:0;
		visibility:hidden;
	}

}



@media only screen and (max-width : 768px) {
    .description{
        top: 0px;
    }

    .box-content{
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0.65+0,0+100 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0.65) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,0.65) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

    }
}