/*======================================================
Screen Style Sheet
PROJECT
------------------------------------------------------
Author(s): NAME
Created: DATE
======================================================*/


@media screen and (min-width: 1199px) and (max-width: 1452px) { 
	.block.bleed-right .bucket-tpl.three-columns .card:hover .card-content h3 {
	        bottom: 0 !important;
	 }
	.block.bleed-right .buckets.bucket-tpl.three-columns .card .card-content h3 {
	        bottom: 125px;
	 }

}



@media only screen and (min-width: 1200px) {
    div#consultation .column.w25 {
        width: 28%;
    }
    
    div#consultation .column.w75 {
        width: 72%;
    }
    .block.bleed-right {
        padding-right: 0;
        overflow: hidden;
        padding-top:5em;
        padding-bottom:5em;
    }
    .block.bleed-right .bucket-tpl .card {
        min-height: 251px;
    }
    
    .block.bleed-right .gallery.carousel.has-pager {
        margin-bottom:0;
    }
    
    .block.bleed-right .buckets {
        width: 130%;
    }
    div#header-top .contact {
        display: none;
    }
    
    .block.has-bg-image.black-bg.blur-left {
        background-size: contain;
        background-position: left;
        background-repeat: no-repeat;
    }
    .block.has-bg-image.black-bg.blur-right {
        background-size: contain;
        background-position: right;
        background-repeat: no-repeat;
    }
}




/* Tablet */
@media only screen and (max-width: 1199px) {
	/*.block .column{
		padding-left: 16px;
		padding-right: 16px;
	}
	.block .column{
		padding-left: 16px !important;
		padding-right: 16px !important;
	}*/
	.block.swap-tablet{
		flex-direction: row-reverse;
	}
	.block.t100.swap-tablet{
		flex-direction: column-reverse;
	}
	.block.m100.swap-tablet .column:first-child{
		margin-top:25px;
	}
	.block.m100.swap-tablet .column:last-child{
		margin-top:0;
	}
	.block.t100 > .column{
		width: 100%;
		padding-left:0 !important;
		padding-right: 0 !important;
	}
	.block.t75 > .column{
		width: 75%;
	}
	.block.t60 > .column{
		width: 60%;
	}
	.block.t60 > .column + .column{
	    width: 40%;
	}
	.block.t50 > .column{
		width: 50%;
	}
	.block.t40 > .column{
		width: 40%;
	}
	.block.t40 > .column + .column{
	    width: 60%;
	}
	.block.t33 > .column{
		width: 33.33%;
	}
	.block.t25 > .column{
		width: 25%;
	}
	.block.t100 > .column + .column{
		margin-top: 15px;
	}
	.block.t100.full.column-has-bg > .column + .column{
		margin-top:0;
	}
	.block.t100.column-has-bg .column-has-bg-left,
	.block.t100.column-has-bg .column-has-bg-right{
	    min-height:300px;
	}
	.block .block.t100 > .column{
		width: 100%;
	}
	.block .block.t75 > .column{
		width: 75%;
	}
	.block .block.t60 > .column{
		width: 60%;
	}
	.block .block.t60 > .column + .column{
		width: 40%;
	}
	.block .block.t50 > .column{
		width: 50%;
	}
	.block .block.t40 > .column{
		width: 40%;
	}
	.block .block.t40 > .column + .column{
		width: 60%;
	}
	.block .block.t33 > .column{
		width: 33.33%;
	}
	.block .block.t25 > .column{
		width: 25%;
	}
	.constrain{width:100%;  padding-left:15px; padding-right:15px;}
	.fullsite {display:none !important;}
	.smallsite {display:block !important;}	
	
	.block .block.t70 > .column {
        width: 70%;
    }
    .block .block.t70 > .column + .column {
        width: 30%;
    }
	
	/* Start Mobile Nav */
	
	#overlay {
		background: rgba(243, 243, 243, 0.4);
		height:100%;
		width: 100%;
		position: fixed;
		top:120px;
		left:0;
		z-index: 999;
		display: none;
	}
	#mobile-nav {
		position: fixed;
		z-index: 9999;
		width: 86%;
		padding: 0 0 0;
		top: 120px;
		right: 0;
		margin: 0 auto;
		background: #DCE4E7;
		border-radius:2px 0px 0px 0px;
		-moz-border-radius:2px 0px 0px 0px;
		-webkit-border-radius:2px 0px 0px 0px;
		box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
		display: none;
		height: 100%;
	}
	#mobile-nav.active{
		display: block;
		background-color: #1c1c1a;
        font-family: "lato", sans-serif;
	}
    #mobile-nav .search-form {
		width: 92%;
		margin: 20px 4%;
		max-width: inherit;
	}
	#mobile-nav > ul {
		display: none;
		padding: 0 0 500px 0;
		max-height: 900px;
		overflow-y: scroll;
		overflow-x: hidden;
		z-index:0;
	}
	#mobile-nav.active > ul{
		display: block;
		position: relative;
	}
	#mobile-nav ul li{
		font-weight: 700;
	}
	#mobile-nav ul li a{
		color:#fff;
		display: block;
		padding:15px 20% 14px 4%;
	}
	#mobile-nav ul li a>i{
		color:#f6c506;
	}
	#mobile-nav ul li .fa-plus {
		cursor: pointer;
		position: absolute;
		width: 50px;
		z-index: 2;
		text-align: center;
		right: 4%;
		color: #f6c506;
		font-weight: 600;
		margin: -33px 0 0 0;
		font-size: 18px;
	}
	#mobile-nav ul li.open >.fa-plus:before{
		content:"\f068";
	}
	#mobile-nav .primary-nav ul {
		display: none;
		background: #1c1c1a;
		padding:10px 0;
	}
	#mobile-nav .primary-nav ul li{
		font-weight: 600;
		text-transform: capitalize;
	}
	#mobile-nav .primary-nav ul li a{
		color:#fff;
		padding:10px 20% 10px 8%;
		padding-left:8%;
	}
	#mobile-nav .primary-nav ul li .fa-plus-circle{
		color:#fff;
		margin-top: -24px;
	}
	#mobile-nav .primary-nav ul ul{
		background:#F8F8F8;
	}
	#mobile-nav .primary-nav ul ul li a{
		color:#2C2C2C;
	}
	#mobile-nav .primary-nav ul.active{
		display: block;
	}
	#mobile-nav .primary-nav li.open > a{
		position: relative;
	}
	.search-form input{
		line-height: 38px;
		height: 40px;
	}
	.search-form button{
		width: 40px;
		height: 40px;
		line-height: 40px;
		right:8px;
		top:0 !important;
	}
	/* End Mobile Nav */
	
	#inner-banner{
		height: 100px;
	}
	#inner-banner .contain{
		width: 94%;
		left:20px;
	}
	.video{
		height: 213px;
	}
	.fancybox-stage{
		width: 100%;
		margin: 0 auto;
	}
	.fancybox-slide--iframe .fancybox-content {
		max-width: inherit;
		width: 90%;
		max-height: inherit;
		height: 400px;
	}
	.fancybox-arrow{
		width: 40px;
	}
	.img-wrapper.img-left,
	.img-wrapper.img-right{
		float: none;
		padding: 0;
		margin-top: 0;
	}
	.columnlist-3 ul,
	ul.columnlist-3 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
    .image-text-block{
        width: 50% !important;
    }
    .image-text-block.image-text-row{
        width: 100% !important;
    }
	.panel-group .panel-title{
		 font-size: 18px;
		 line-height: 20px;
	 }
	.table-responsive:before{
		 content:"Swipe to scroll";
		 font-size:12px;
		 margin-bottom:10px;
		 color: #000;
         margin-left: 10px;
	 }
	 .gallery.carousel.column-1 .img-wrapper{
		 height: 380px;
	 }
	 .gallery.carousel.column-1 .img-wrapper img{
		 max-height: 400px;
	 }
	 .gallery.default .img-wrapper{
		 height: 230px;
	 }
	 .gallery.default .img-wrapper img{
		 max-height: 250px;
	 }
	 .gallery.carousel .img-wrapper img{
		 max-height:none;
	 }
	 .gallery.content{
		 padding:0 15px;
	 }
	 .slick-prev{
		 left:0;
	 }
	 .slick-next{
		 right:0;
	 }
	 
	div#home-banner .constrain .caption {
        padding-left: 2em;
        padding-right: 2em;
    }
    /*
    div#chunk-certification {
        padding-left: 2em;
        padding-right: 2em;
    }
    .nested .block {
        padding-left: 2em;
        padding-right: 2em;
    }
    .buckets.bucket-tpl {
        padding-left: 2em;
        padding-right: 2em;
    }*/
    .block.full {
        padding-left: 2em;
        padding-right: 2em;
    }
    
    .three-columns .bucket, .four-columns .bucket {
        width: 50%;
        margin-bottom: 20px;
    }
    .bucket-tpl .card-content {
        transform: unset;
    }
    
    .bucket-tpl .card .card-content h3:before {
        background-image: url(/assets/images/template/arrow-white.svg);
        background-size: cover;
        background-repeat: no-repeat;
        transition: width 1s ease, height 1s ease;
        content: "";
        width: 11px;
        height: 11px;
        display: block;
        position: absolute;
        left: 0px;
        top: 4px;
        margin-right: 5px;
    }
    .bucket-tpl .card h3 {
        padding-left: 20px;
    }
    .buckets.bucket-tpl .card h3 {
        position: relative !important;
        bottom: unset !important;
    }
    .buckets.bucket-tpl .tt-wraps {
        max-width:max-content;
    }
    
    .buckets.bucket-tpl .tt-wraps:after {
        max-width: 100%;
        content: "";
        height: 1px;
        width: 100%;
        background-color: #fac705;
        display: block;
        position: relative;
        bottom: 10px;
    }
    .bucket-tpl .card:before {
        background: rgba(0, 0, 0, 0.5);
    }
    form#quickContact .block .column {
        width: 100%;
        padding: 0;
    }
    
    form#quickContact .block .column.w75 {
        margin-bottom: 30px;
    }
    
    form#quickContact {
        padding: 2em;
    }
    
    form#quickContact .input-group.submit-group.w25 {
        width: 100%;
    }
    
    form#quickContact .input-group.w75 {
        width: 100%;
    }
    
    div#header-top .contact {
        display: block;
    }
    #header .search-form {
        display:none;
    }
    
    #header #header-top .constrain {
        margin-top:10px;
        justify-content: flex-end !important;
    }

    
}

/* Phone (portrait and landscape) */
@media only screen and (max-width : 767px) {
	.block.swap-mobile{
		flex-direction: row-reverse;
	}
	.block.m100.swap-mobile{
		flex-direction: column-reverse;
	}
	.block.m100.swap-mobile .column:first-child{
		margin-top:25px;
	}
	.block.m100.swap-mobile .column:last-child{
		margin-top:0;
	}
	.block.m100 .column,
	.block.m100 .column + .column{
		width: 100%;
	}
	.block.m75 .column{
		width: 75%;
	}
	.block.m60 .column{
		width: 60%;
	}
	.block.m60 .column + .column{
		width: 40%;
	}
	.block.m50 .column{
		width: 50%;
	}
	.block.m40 .column{
		width: 40%;
	}
	.block.m40 .column + .column{
		width: 60%;
	}
	.block.m33 .column{
		width: 33.33%;
	}
	.block.m25 .column{
		width: 25%;
	}
	.block.m100 .column + .column{
		margin-top: 30px;
	}
	.block.m100.full.column-has-bg .column + .column{
		margin-top:0;
	}
	.block .block.m100 .column{
		width: 100%;
	}
	.block .block.m75 .column{
		width: 75%;
	}
	.block .block.m60 .column{
		width: 60%;
	}
	.block .block.m60 .column + .column{
	    width: 40%;
	}
	.block .block.m50 .column{
		width: 50%;
	}
	.block .block.m40 .column{
		width: 40%;
	}
	.block .block.m40 .column + .column{
		width: 60%;
	}
	.block .block.m33 .column{
		width: 33.33%;
	}
	.block .block.m25 .column{
		width: 25%;
	}
	input{
		font-size: 16px!important;
		touch-action: none;
	}
	.img-wrapper img{
		margin:0 auto;
		display:block;
	}
	.gallery.default .img-wrapper{
		width: 50% !important;
		height: 200px;
	}
	.gallery.default .img-wrapper img{
		max-height: 210px;
	}
	.paging ul li a{
		padding: 5px 12px;
	}
	.crumb-container .crumb.first ~ .crumb{
    	display: none;
	}
	.crumb-container span.first a i{
		font-weight: bold;
		margin-right: 5px;
	}
	.crumb-container span:not(.current):after{
		content:"";
		margin:0;
	}
	.sidebar{
		overflow: hidden;
	}
	.sidebar h3{
		position: relative;
	}
	.sidebar h3 i{
		display: block;
		position: absolute;
		right:0;
		top:3px;
	}
	.sidebar h3 i:after{
		display: none;
	}
	.sidebar.active h3 i:before{
		content:'\f107';
	}
	.sidebar > ul{
		max-height: 0;
		height: auto;
		margin: 0;
		-webkit-transition: max-height .3s ease-in-out;
	    -moz-transition: max-height .3s ease-in-out;
	    -o-transition: max-height .3s ease-in-out;
	    transition: max-height .3s ease-in-out;
	}
	.sidebar.active > ul{
		max-height: 1000px;
	}	
	.columntext-2,
    .columntext-3 {
        display: block;
    }
    .columntext-2 > p,
    .columntext-3 > p {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .columntext-2 > p + p,
    .columntext-3 > p + p {
        padding-left: 0;
        padding-right: 0;
        margin-top: 15px;
    }
    .columnlist-2 > ul,
    ul.columnlist-2 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .columnlist-3 > ul,
    ul.columnlist-3 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    .image-text-block{
        width: 100% !important;
    }
    .image-text-row {
        margin-bottom: 35px !important;
    }
    .image-text-row .image{
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    .image-text-row .content{
        width: 100% !important;
    }
	.fancybox-slide--iframe .fancybox-content {
		height: auto;
		width: auto;
	}
    .tabbed-content.has-dropdown {
        position: relative;
        padding-top:40px;
    }
    .tabbed-content.has-dropdown .nav-tabs {
        display: flex;
        flex-wrap: wrap;
        max-height: 40px;
        overflow: hidden;
        position: absolute;
        width: 100%;
        top: 0;
        z-index: 2;
        margin: 0 !important;
    }
    .tabbed-content.has-dropdown .nav-tabs li {
        margin: 0;
        display: block;
        width: 100%;
        height: 40px;
        padding: 0;
        border-radius: 0;
        -webkit-box-ordinal-group: 2;
        -moz-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    }
    .tabbed-content.has-dropdown .nav-tabs li a {
        font-size: 14px;
        padding-top: 11px;
    }
    .tabbed-content.has-dropdown .nav-tabs li.active {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
    }
    .tabbed-content.has-dropdown .nav-tabs:after {
        font-family: 'Font Awesome 5 Pro', sans-serif;
        content: '\f107';
        color: white;
        position: absolute;
        right: 15px;
        top: 9px;
        z-index: 2;
        pointer-events: none;
    }
    .tabbed-content.has-dropdown .nav-tabs.open {
        max-height: 1000px;
    }
    .tabbed-content.has-dropdown .nav-tabs.open:after {
        content: '\f106';
    }
    .tabbed-content.has-dropdown .tab-content {
		width: 100%;
		padding: 20px 0;
	}
	.panel-group .panel-body .block .column{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.forms .input-group{
		width: 100%;
	}
	
	div#home-banner .features > div {
        width:50%;  
        padding:0px;
        margin-top:0;
        margin-bottom:20px;
    }
    /*
    div#home-banner .constrain {
        height:480px;
    }*/
    
    div#chunk-certification > .w66 {
        padding-left: 0;
    }
    
    div#chunk-certification > .w66 .block .column {
        padding: 0;
        width: 33.33%;
        align-items: center;
    }
    
    div#chunk-certification > .w66 .block {
        align-items: center;
    }
    
    div#chunk-certification > .w66 .block .column {
        margin: 0 !important;
    }
    
    div#chunk-certification > .w66 .block .column img {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    
    .block .column:not(:first-child) {
        padding:0px;
    }
    
    .block .column:not(:last-child) {
        padding-right: 0px;
    }
    
    
    .buckets.bucket-tpl.three-columns .bucket, .buckets.bucket-tpl.four-columns .bucket {
        width: 100%;
    }
    /*
    .buckets.bucket-tpl.three-columns .bucket {
        width:unset;
    }*/
    
    form#quickContact {
        padding: 1.5em;
    }
    
    form#quickContact .block > .column.w75 {
        margin-top: 0px;
        margin-bottom: 30px;
    }
    
    form#contact {
        padding: 1.5em;
    }
    
    .nested.layout-one .block {
        padding:40px;
    }
    .column.w50 .gallery.carousel {
        padding-left: 1em;
        padding-right: 1em;
    }
    .gallery.carousel.column-1 .slick-prev{
    	left: -20px;
    }
    .gallery.carousel.column-1 .slick-next{
    	right: -20px;
    }
    span.crumb.first:after {
        display: none;
    }
    a.button {
        height:unset;
    }
    
    footer#footer .footer-sitemap {
        width: 100%;
        margin-top: 45px;
    }
    
    .nested .block.has-bg .column:first-child,
    .nested .block.column-has-bg .column:first-child{
        padding-left: 0px;
    }
    
    form#rfq {
        padding: 1.5em;
    }
    
    #home-banner .wrap {
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
        min-height: 100%;
    }
    
    #home-banner {
        height: 100%;
        min-height: 100%;
    }
    
    #home-banner .constrain {
        height: 100%;
        padding-top: 2em;
        padding-bottom: 2em;
        padding-left: 2em;
        padding-right: 2em;
    }
    
    #home-banner .constrain .caption {
        position: relative;
        top: unset;
        transform: unset;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #home-banner .slide {
        height: 100%;
        width: 100%;
    }
    
    #home-banner picture img {
        position: relative;
        height: 100%;
        top: unset;
        transform: unset;
        width: 100%;
        left: unset;
        object-fit: cover;
    }
    
    #home-banner .slick-track {
        height: 100%;
    }
    
    #home-banner .slick-list.draggable {
        height: 100%;
    }
    
    #home-banner .features {
        width: 100%;
    }

}


/* Phone (portrait) */
@media only screen and (max-width : 480px) {
    #home-banner h1 {
        font-size: 32px;
        line-height: 1em;
    }
    /*
    div#home-banner .constrain {
        height: 560px;
    }
    #home-banner .slide {
        height: 740px;
    }
    #home-banner {
        height: 740px;
    }*/

}


@media only screen and (max-width: 767px) {
    .richtext {
        overflow-x: hidden;
    }
}
@media only screen and (max-width: 1199px) {
    .table-responsive {
        overflow-x: scroll;
        width: unset;
    }
}
