@media only screen and (max-width: 1400px){
.section.blog{ padding-top: 0 !important; }
.section.blog .blog_header{ padding-top: 40px; }
.section.blog_single{ padding-top: 20px !important; }

#footer .wrapper{ background: #eee; }
#footer .main{ padding: 60px; }
}

@media only screen and (max-width: 1280px){
.blog_header{ width: 35%; }
#posts.grid{ width: 65%; }
.aside_blog{ width: 35%; }
.post.single{ width: 65%; }
}

@media only screen and (max-width: 1180px){
.section.with_imgs .main{ width: 50%; }
.section.with_imgs .img1{ width: 50%; padding-bottom: 120px; }
.section.with_imgs .wrap_btm{ height: 400px; }
.section.with_imgs .img2{ width: 50%; padding-right: 120px; }
.section.with_imgs.right .img2{ padding-left: 120px; }
.section.with_imgs .img3{ top: -100px; left: -100px; padding-left: 50%; }
.section.with_imgs.right .img3{ left: 0; right: -100px; padding-right: 50%; padding-left: 0; }

.section.with_img .image{ width: 50%; padding: 0 20px; }
.section.with_img .main{ width: 50%; padding: 0 20px; }

.instagram_feed.social_feed .item{ width: 33.3333% !important; }
.instagram_feed.social_feed .item:last-child{ display: none; }
.twitter_feed.social_feed .item{ font-size: 20px; line-height: 26px; }

#footer .main{ display: block; }
#footer .wrapper{ height: auto; }
#footer .main{ overflow: hidden; }
#footer .main .wrap{ width: auto; float: left; clear: both; }
#footer .contact.wrap{ margin-bottom: 20px; padding-right: 0; margin-right: 0; border-right: 0; }
}

@media only screen and (max-width: 1080px){
#container{ padding: 0; }

#header{ 
width: 100%; 
height: auto; 
float: left; 
position: relative; 
top: inherit; 
left: inherit; 
right: inherit; 
padding: 0;
}
#header .wrapper{ float: left; height: auto; padding: 0; }

#header h1#logo{ margin: 30px 20px; }

#header .toggle{ display: none; }
#nav_btn{ display: block; float: right; padding: 25px 20px; margin: 30px 0 0; cursor: pointer; }
#nav_btn span, #nav_btn span:before, #nav_btn span:after{ 
width: 28px; 
height: 2px; 
float: left; 
display: block; 
background: #071d7e; 
position: relative; 
text-indent: -9000px; 
-webkit-transition: all 100ms ease-in-out;
-moz-transition: all 100ms ease-in-out;
-ms-transition: all 100ms ease-in-out;
-o-transition: all 100ms ease-in-out;
transition: all 100ms ease-in-out;
}
#nav_btn span{ margin: 9px 0; }
#nav_btn span:before, #nav_btn span:after{ content: ''; position: absolute; }
#nav_btn span:before{ top: -8px; }
#nav_btn span:after{ bottom: -8px; }
#nav_btn.active span{ background-color: transparent; }
#nav_btn.active span:before, #nav_btn.active span:after{ top: 0; }
#nav_btn.active span:before{ transform: rotate(45deg); -webkit-transform: rotate(45deg); }
#nav_btn.active span:after{ transform: translateY(-10px) rotate(-45deg); -webkit-transform: translateY(-10px) rotate(-45deg); top: 10px; }

#header #nav{ width: 100%; float: left; padding: 0; }
#header #nav .wrap{ width: 100%; }
#header #nav ul.menu{ width: 100%; padding: 0; margin: 0; }
#header #nav ul.menu li{ width: 100%; height: auto; border-top: 1px solid #ddd; position: relative; overflow: hidden; }
#header #nav ul.menu li a{ height: 60px; font-size: 18px; color: #1B3258; line-height: 60px; padding: 0 20px !important; }
#header #nav ul.menu li.menu-item-has-children > a:after{ display: none; }

#header #nav ul.menu li.menu-item-has-children:hover > ul.sub-menu{ display: none; }
#header #nav ul.menu li.menu-item-has-children a{ padding-right: 20px; margin-right: 0; }
#header #nav ul.menu li.menu-item-has-children .dropdown_btn{ 
width: 60px; 
height: 60px;
display: block; 
position: absolute; 
top: 0; 
right: 0;
border-left: 1px solid #ddd;
background: url(images/arrow-thin-down.svg) no-repeat center; 
-webkit-background-size: 16px 10px; 
-moz-background-size: 16px 10px;  
-o-background-size: 16px 10px; 
background-size: 16px 10px;
text-indent: -9000px;
z-index: 9999;
cursor: pointer;
}
#header #nav ul.menu li.menu-item-has-children .dropdown_btn.active{ 
border-left: 0;
border-right: 1px solid #ddd;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}

#header #nav ul.sub-menu{
display: none;
width: 100%;
position: relative;
left: inherit;
top: inherit;
padding: 0;
background: none;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border: 0;
}
#header #nav ul.sub-menu::before{ display: none; }
#header #nav ul.sub-menu ul.sub-menu{ display: block !important; left: inherit; top: inherit; padding: 0 !important; }
#header #nav ul.sub-menu:hover ul.sub-menu, #header #nav ul.sub-menu ul.sub-menu:hover{ display: block; }
#header #nav ul.sub-menu li a{ height: auto; line-height: normal; font-size: 16px; padding: 15px 20px 15px 40px !important; }
#header #nav ul.sub-menu li ul.sub-menu a{ font-size: 16px; padding: 12px 20px 12px 40px !important; }

#header #nav .search_form{ width: 100%; float: left;  }
#header #nav .search_form #search_btn{ display: none; }
.toggle_search{ display: block; }
#header #nav .search_form #searchform{ position: relative; top: inherit; right: inherit; left: inherit; bottom: inherit; }
#header #nav .search_form .field{ height: auto; padding: 15px; background: #eee; border: 0; }
#header #nav .search_form .field input{ height: 46px; padding: 0 60px 0 20px; }
#header #nav .search_form .submit, #home #header #nav .search_form .submit{
width: 46px; 
height: 46px;
display: block;
position: absolute;
top: 15px;
right: 18px;
background: url(images/search.svg) no-repeat center; 
-webkit-background-size: 18px 22px; 
-moz-background-size: 18px 22px;  
-o-background-size: 18px 22px; 
background-size: 18px 22px; 
border: 0;
outline: none;
-webkit-appearance:none;
-moz-appearance:none;
appearance:none;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;
text-indent: -9000px; 
cursor: pointer;
}

#header .cart{ margin: 47px 20px 0 10px; }

#main{ padding: 10px 10px 0; }

.contact-entry{ width: 100%; float: left; padding-bottom: 20px !important; }
.section.form{ width: 100%; }

#footer{ padding: 20px; }
}

@media only screen and (max-width: 980px){
.section.with_imgs .main{ width: 100%; }
.section.with_imgs .img1{ width: 100%; height: 500px; float: left; display: block; position: relative; top: inherit; right: inherit; bottom: inherit; padding-bottom: 20px; }
.section.with_imgs .wrap_btm{ height: 350px; }
.section.with_imgs .img2{ width: 50%; padding-right: 120px; }
.section.with_imgs.right .img2{ padding-left: 120px; }
.section.with_imgs .img3{ top: 0; left: -100px; padding-left: 50%; }
.section.with_imgs.right .img3{ left: 0; right: -100px; padding-right: 50%; padding-left: 0; }

.entry.with_imgs .main{ width: 100%; float: left; }
.entry.with_imgs .wrap_top .img_wrap{ width: 100%; height: 400px; float: left; position: relative; top: inherit; left: inherit; bottom: inherit; }
.entry.with_imgs .img_wrap .img1{ width: 50%; height: 100%; display: block; position: absolute; top: 0; left: 0; right: inherit; padding-right: 10px; padding-bottom: 0;  }
.entry.with_imgs .img_wrap .img2{ width: 50%; height: 100%; display: block; position: absolute; left: inherit; right: 0; bottom: 0; padding-left: 10px; padding-bottom: 0; }
.entry.with_imgs .wrap_btm{ height: 400px; }
.entry.with_imgs .wrap_btm .img3{ position: absolute; top: 0; right: -100px; left: 0; bottom: 0; padding-right: 75%; }
.entry.with_imgs .wrap_btm .img4{ width: 75%; position: absolute; top: 0; right: 0; bottom: 0; padding-left: 120px; }

.section.with_img{ padding: 10px; }
.section .wrapper.align_vert{ display: block; }
.section.with_img .image{ width: 100%; float: left; padding: 0; }
.section.with_img .main{ width: 100%; float: left; padding: 60px; }

.section.grid.items_x4 .item{ width: 50%; }

.blog_header{ width: 40%; }
#posts.grid{ width: 60%; }
.aside_blog{ width: 40%; }
#posts.grid .item{ width: 100%; }

.section.blog_single{ padding-top: 0 !important; }
.section.blog_single .blog_header{ width: 100%; float: left; padding: 20px 10px 10px; }
.section.blog_single .aside_blog{ width: 100%; padding: 20px 10px 10px !important; }
.section.blog_single .aside_blog .nav{ text-align: center; padding-top: 20px; border-top: 1px solid #ddd; }
.post.single{ width: 100%; }

.social_feed{ width: 100%; }
.instagram_feed.social_feed .item{ width: 25% !important; }
.instagram_feed.social_feed .item:last-child{ display: block; }
.twitter_feed.social_feed .item{ display: block; font-size: 24px; line-height: 30px; padding: 25px 25px 25px 15px; }
.twitter_feed.social_feed .item .wrap{ display: block; }

#footer .main{ padding: 40px; }
#footer .main .wrap{ width: 100%; }
#footer .info.wrap{ width: 100%; float: left; position: relative; top: inherit; right: inherit; margin: 0 0 20px -5px; }
}

@media only screen and (max-width: 780px){
.case_study .img{ width: 100%; float: left; }
.case_study .image1{ padding: 0 0 10px; }
.case_study .image2{ padding: 0 0 10px; }

.blog_header{ width: 100%; padding: 20px 10px 10px; }
#posts.grid{ width: 100%; }
.aside_blog{ width: 100%; padding: 20px 10px 10px !important; }
.aside_blog .nav{ text-align: center; padding-top: 20px; border-top: 1px solid #ddd; }
#posts.grid .item{ width: 50%; }

.wp-pagenavi{ text-align: center; }

.content-block .gallery .gallery_item{ width: 25%; }
}

@media only screen and (max-width: 680px){
.pad_xbig{ padding: 80px 60px; }
.pad_big{ padding: 60px; }
.pad_med{ padding: 40px; }
.pad_small{ padding: 20px; }
.pad_xsmall{ padding: 10px; }
.pad_top{ padding-top: 30px; }
.pad_top_med{ padding-top: 40px; }
.pad_btm_med{ padding-bottom: 40px; }
.pad_top_big{ padding-top: 60px !important; }
.pad_btm_big{ padding-bottom: 60px !important; }

.section .header h1{ font-size: 50px; line-height: 56px; }
.section .header h2{ font-size: 50px; line-height: 56px; }
.section .header h2.big{ font-size: 40px; line-height: 46px; }
.section .header h2.med{ font-size: 30px; line-height: 36px; }
.section .header h3{ font-size: 30px; line-height: 36px; }
.section .header h4{ font-size: 18px; line-height: 24px; }

.section.with_imgs .img1{ height: 400px; padding-bottom: 0; }
.section.with_imgs .wrap_btm{ height: 300px; }
.section.with_imgs .img2{ width: 50%; padding-right: 70px; }
.section.with_imgs.right .img2{ padding-left: 70px; }
.section.with_imgs .img3{ top: 0; left: -50px; padding-left: 50%; }
.section.with_imgs.right .img3{ left: 0; right: -50px; padding-right: 50%; padding-left: 0; }

.entry.with_imgs .wrap_top .img_wrap{ height: 300px;  }
.entry.with_imgs .img_wrap .img1{ padding-right: 10px;  }
.entry.with_imgs .img_wrap .img2{ padding-left: 10px; }
.entry.with_imgs .wrap_btm{ height: 300px; }
.entry.with_imgs .wrap_btm .img3{ padding-right: 75%; }
.entry.with_imgs .wrap_btm .img4{ width: 75%; }

.section.with_img{ padding: 10px; }
.section.with_img .main{ padding: 40px; }

.contact-entry{ padding-bottom: 0 !important; }
.section.form .tab_menu{ margin: 0 0 15px; }
.section.form .tab_menu ul{ display: block; }
.section.form .tab_menu ul li{ width: 100%; float: left; padding: 5px 0; }
.section.form .tab_menu ul li a{
height: 50px;
line-height: 51px;
padding: 20px 28px 14px;
padding: 0 35px;
border: 1px solid #ddd;
border-radius: 25px; 
-moz-border-radius: 25px; 
-webkit-border-radius: 25px;
}
.section.form .tab_menu ul li.current_page_item a{ color: #071d7e; background: #f8f8f8; }
.section.form .tab_menu ul li.current_page_item a::after{ display: none; }
.section.form .tab_menu.parent ul li:first-child a{ color: #071d7e; background: #f8f8f8; }
.section.form .tab_menu.parent ul li:first-child a::after{ display: none; }

.blog_header{ padding: 20px 10px 10px; }
.aside_blog{ padding: 20px 20px 10px !important; }
.aside_blog .nav{ padding-top: 20px; }
#posts.grid .item{ width: 100%; }

.post.single .wrapper{ padding: 20px 0 0 !important; border-top: 1px solid #ddd; }
.post.single .wrapper::after{ display: none; }
.post.single span.byline{ font-size: 18px; line-height: 24px; }
.post.single .footer a.nav_item .wrap{ padding: 0 5px 5px 20px; }

.content-block h1{ font-size: 40px; line-height: 46px; }
.content-block h2{ font-size: 40px; line-height: 46px; }
.content-block h3{ font-size: 30px; line-height: 36px; }
.content-block h4{ font-size: 24px; line-height: 30px; }
.content-block h5{ font-size: 20px; line-height: 26px; }
}

@media only screen and (max-width: 580px){
.content-block .gallery .gallery_item{ width: 33.3333%; }
}

@media only screen and (max-width: 480px){
.pad_xbig{ padding: 60px 40px; }
.pad_big{ padding: 40px; }
.pad_med{ padding: 30px; }
.pad_small{ padding: 20px; }
.pad_xsmall{ padding: 10px; }
.pad_std{ padding: 5px; }
.pad_top{ padding-top: 20px; }
.pad_top_med{ padding-top: 30px; }
.pad_btm_med{ padding-bottom: 30px; }
.pad_top_big{ padding-top: 40px !important; }
.pad_btm_big{ padding-bottom: 40px !important; }

.btn{ display: block; margin: 15px 0; }

#nav_btn{ width: 100%; float: left; text-align: center; padding: 25px 20px; margin: 0; border-top: 1px solid #ddd; }
#nav_btn.active{ background: #eee; }
#nav_btn span, #nav_btn span:before, #nav_btn span:after{ float: none; margin: 0 auto; }

#main{ padding: 5px 5px 0; }

.section .header h1{ font-size: 44px; line-height: 50px; }
.section .header h2{ font-size: 44px; line-height: 50px; }
.section .header h2.big{ font-size: 36px; line-height: 42px; }
.section .header h2.med{ font-size: 24px; line-height: 30px; }
.section .header h3{ font-size: 24px; line-height: 30px; }
.section .header h4{ font-size: 18px; line-height: 24px; }
.section .footer .btn{ width: 100%; float: left; margin: 10px 0; }

.section.grid .header.title{ top: 5px; bottom: 5px; }
.section.grid .item{ padding: 5px; }
.section.grid.items_x4 .item{ width: 100%; }

.section.with_imgs .img1{ height: auto; padding-bottom: 0; }
.section.with_imgs .wrap_btm{ height: 200px; }
.section.with_imgs .img2{ width: 50%; padding-right: 40px; }
.section.with_imgs.right .img2{ padding-left: 40px; }
.section.with_imgs .img3{ top: 0; left: -30px; padding-left: 50%; }
.section.with_imgs.right .img3{ left: 0; right: -30px; padding-right: 50%; padding-left: 0; }

.entry.with_imgs .wrap_top .img_wrap{ height: 200px;  }
.entry.with_imgs .img_wrap .img1{ padding-right: 5px;  }
.entry.with_imgs .img_wrap .img2{ padding-left: 5px; }
.entry.with_imgs .wrap_btm{ height: 200px; }
.entry.with_imgs .wrap_btm .img3{ right: -100px; padding-right: 75%; }
.entry.with_imgs .wrap_btm .img4{ width: 75%; padding-left: 110px; }

.section.with_img{ padding: 5px; }
.section.with_img .main{ padding: 30px; }

.case_study .image1{ padding: 0 0 5px; }
.case_study .image2{ padding: 0 0 5px; }
.case_study span{ font-size: 19px; padding: 11px 7px 7px; margin: 0 0 5px; }

.contact-entry{ padding-bottom: 0 !important; }

.blog_header{ padding: 20px 10px 10px; }
.aside_blog{ padding: 20px 20px 10px !important; }
.aside_blog .nav{ padding-top: 20px; }
#posts.grid{ padding: 0 10px; }
.post.single{ padding: 0 10px; }

.search_result{ padding-left: 0 !important; padding-right: 0 !important; }

.wp-pagenavi{ padding: 20px 0; }
.wp-pagenavi span.pages{ display: block; padding: 0; margin: 0 0 5px; border: 0; }

.instagram_feed.social_feed .item{ width: 50% !important; }
.twitter_feed.social_feed .item{ font-size: 21px; line-height: 27px; padding: 20px 20px 20px 10px; }

#footer{ padding: 10px; }
#footer .main{ text-align: center; padding: 30px; }
#footer .info.wrap{ height: auto; margin: 0 0 20px; }
#footer .footer_nav ul li{ display: inline-block; float: none; padding: 1px 6px; }
#footer .meta_nav ul li{ display: inline-block; float: none; padding: 1px 6px; }
#footer ul.social{ width: auto; height: auto; float: none; display: inline-block; margin: 0 auto; }
#footer .btns{ width: inherit; display: block; margin: 5px 0 0; }
#footer .btns a.btn{ display: block; margin: 0 0 10px; }

.content-block .gallery .gallery_item{ width: 50%; }
.content-block .gallery .gallery_item a{ padding: 0; }
.cols2{
	
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}
#main .woocommerce button.button,
#coupon_code{ margin-right:0; margin-bottom:15px; width:100%; float:none; }
#main .woocommerce #respond input#submit, #main .woocommerce a.button, #main .woocommerce button.button, #main .woocommerce input.button{
	width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#checkout .content-block h3{ font-size:26px; }

}