/* responsive */

@media (max-width:1280px) {
  #nav .logo {
    padding: 10px 20px;
  }
  #nav #main-nav li a {
    margin-right: 5px;
  }
  #nav .call {
    font-size: 12px;
  }
  #nav #main-nav li a p {
    font-size: 12px;
  }
  #footer , #footer .links {
    font-size: 14px;
  }
}

@media(max-width: 1024px){
  #nav .call {
    padding-left: 10px;
  }
}

@media (max-width:991px) {
  .hero .caption .hero-txt {
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width:1015px) {
  body {
	margin-top: 100px;
  }
  .titlebox {
    margin-top: 20px;
  }
  
  figure.effect figcaption, 
  figure.effect h2, 
  figure.effect p.icon-links a {
    -webkit-transform: translate3d(0,0,0) !important;
    transform: translate3d(0,0,0) !important;
  }
  
  
  .hovergrid .icon-links {
    display: none;
  }
  
  figure.effect h2 {
    width: 100%;
    text-align: center;
  }
  
  #mobnav .call {
    padding: 0 0 0 10px;
    text-align: center;
    width: 50%;
    float: left;
  }
  
  #nav {
  	left: 0;
    position: fixed;
    top: 0;
    z-index: 50;
  }
  #nav #main-nav {
    display: none;
  }
  .burgerbar {
  	background-color: #fff;
  	cursor: pointer;
    display: block;
    float: right;
    margin: 23px 10px 23px 0;
    padding: 15px;
    transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    width: 60px;
  }
  .burgerbar .burger {
    background-color: #000;
    display: block;
    float: left;
    height: 4px;
    margin: 2px 0;
    transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    width: 30px;
  }
  #nav .call {
    padding-right: 10px;
  }
  #mobnav {
  	background-color: #fff;
  	display: block;
  	overflow: visible;
  	position: fixed;
  	top: 120px;
  	-webkit-transform: translate(0, -100%);
    -moz-transform: translate(0, -100%);
    -ms-transform: translate(0, -100%);
    -o-transform: translate(0, -100%);
    transform: translate(0, -100%);
  	width: 100%;
  	z-index: 40;
  }
  #mobnav.visible {
  	-webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  #mobile-nav {
  	font-weight: bold;
  	list-style: none;
  	margin-bottom: 5px;
  	padding: 0;
  	text-transform: uppercase;
  }
  #mobile-nav li {
  	padding: 5px 0;
  }
  #mobile-nav li a {
  	border-left-style: solid;
    border-left-width: 25px;
    display: block;
    line-height: 30px;
    padding-left: 15px;
    border-right-width: 25px;
    border-right-style: solid;
    text-align: center;
  }
  #mobile-nav li a:hover {
  	text-decoration: none;
  }
  .h1, h1 {
    font-size: 24px;
  }
  #grid {
  	float: none;
    margin: 100px auto;
    width: 300px;
  }
  #grid li {
    width: 100%;
  }
  #grid li .grid-box {
	background-color: rgba(255,255,255,.5);
  }
  #grid li .grid-box .grid-link h4 {
    font-size: 18px;
  }
  .home-text {
  	clear: both;
  	display: block;
  	padding-top: 50px;
  	width: 100%;
  }
  .titlebox {
    padding: 30px;
  }
  #footer .links a {
	display: block;
	margin: 10px 0;
  }
  .hero.short {
    padding-bottom: 40%;
  }
  .photoboxes .boxes {
    width: 100%;
  }
  .photoboxes .boxes .box-interior {
    padding-bottom: 40%;
  }
  .photoboxes .boxes .box-interior h2 {
    font-size: 18px;
    line-height: 18px;
    padding: 25px 30px;
  }
  .textbox {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
	padding: 30px 0;
  }
  .hero .caption {
  	padding: 15px 30px;
  }
  .btn-submit {
  	margin-bottom: 30px;
  }
  .hero .caption h2 {
    font-size: 30px;
    line-height: 30px;
  }
  .textbox , .hero .caption .hero-txt {
  	font-size: 14px;
  }
}

@media (max-width:480px) {
  .hero {
    padding-bottom: 135%;
  }
  .hero.short {
    padding-bottom: 60%;
  }
  .photoboxes .boxes .box-interior {
    padding-bottom: 60%;
  }
}