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

/* Tablet */
@media only screen and (max-width: 1199px) {
	.block{
		padding-top:40px;
		padding-bottom:40px;
	}
	.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 .richtext + .nested .block{
		padding-top:0;
	}
	.block.has-bg:not(.block-1){
		min-height: 325px;
	}
	.block.t100 .column{
		width: 100%;
	}
	.block.t75 .column{
		width: 75%;
	}
	.block.t60 .column{
		width: 60%;
	}
	.block.t50 .column{
		width: 50%;
	}
	.block.t40 .column{
		width: 40%;
	}
	.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 .block.t100 .column{
		width: 100%;
	}
	.block .block.t75 .column{
		width: 75%;
	}
	.block .block.t60 .column{
		width: 60%;
	}
	.block .block.t50 .column{
		width: 50%;
	}
	.block .block.t40 .column{
		width: 40%;
	}
	.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;}	
	
	/* Start Mobile Nav */
	#primary-nav-wrap{
		display: none;
	}
	#primary-toggle.active i:before{
		content:"\f00d"
	}
	#primary-nav-responsive {
	    text-align: left;
	    background: #3d5870;
	    min-height: 550px;
	    width: 100%;
	    padding: 30px 0;
	    position: fixed;
	    top: 135px;
	    right: -100%;
	    z-index: 99999;
	    overflow: hidden;
	    overflow-y: scroll;
	    transition: all 0.2s;
	    -ms-transition: all 0.2s;
	    -moz-transition: all 0.2s;
	    -webkit-transition: all 0.2s;
	    -o-transition: all 0.2s;
	}
	#primary-nav-responsive.open {
		right:0;
	}
	#primary-nav-responsive .fullwidth.active{
		min-height: 380px;
	}
	#primary-nav-responsive .search-toggle {
	    display: block;
	    position: relative;
	    bottom: auto;
	    right: auto;
	    margin: 0 auto 20px;
	    padding: 0 18%;
	}
	#overlay {
		background: rgba(0,0,0,0.4);
		height:100%;
		width: 100%;
		position: fixed;
		top:0;
		left:0;
		z-index: 999;
		display: none;
	}
	#primary-nav-responsive .search-form input{
		width: 100%;
		border: 1px solid #d7d8d8;
		font-size:13px;
	}
	#primary-nav-responsive .search-form button{
		background: #d7d8d8;
	}
	#primary-nav-responsive .search-form button:after{
		color:#3d5870;
	}
	#primary-nav-responsive .primary-nav{
		padding:0 18%;
	}
	#primary-nav-responsive .bottom{
	    position: absolute;
	    bottom: 0;
	    padding: 30px 18%;
	    width: 100%;
	    text-align: center;
	    border-top: 1px solid #fff;
	}
	#primary-nav-responsive.open .bottom{
		left:0;
	}
	#primary-nav-responsive .bottom .button + .button{
		margin-left:15px;
	}
	.primary-nav a {
	    color: #fff !important;
		font-size:13px;
		font-weight: 700;
		line-height: 1;
	    padding: 10px 0;
	    display: inline-block;
	    vertical-align: middle;
	    width: 93%;
	}
	
	.primary-nav a:hover,
	.primary-nav a:focus,
	.primary-nav > li i.smallsite:hover {
		color:#aaa !important;
	}
	.primary-nav > li i.fa-sort-down{
		display: none;
	}
	.primary-nav li{
		margin-bottom:0;
	}
	.primary-nav > li i.fa-chevron-right {
	    color: #fff;
	    font-size: 13px;
	    text-align: center;
	    cursor: pointer;
	    width: 6%;
	    display: inline-block;
	    vertical-align: middle;
	}	
	.primary-nav .fullwidth {
	    background: #3d5870;
	    min-height: 262px;
	    width: 100%;
	    padding: 0 18%;
	    position: absolute;
	    top: 70px;
	    right: -999px;
	    z-index: 1;
	    transition: all 0.3s ease-in-out;
	    -o-transition: all 0.3s ease-in-out;
	    -ms-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
	    -webkit-transition: all 0.3s ease-in-out;
	}
	.primary-nav .fullwidth .fullwidth{
		top:0;
	}
	.primary-nav .fullwidth .constrain{
		padding:0;
	}
	.primary-nav .fullwidth.active {
		right:0;
	}
	.primary-nav .fullwidth .back {
	    color: #fff;
	    font-size: 16px;
	    font-weight: 700;
	    padding: 10px 0 8px;
	    cursor: pointer;
	    margin: 14px 0;
	}
	.primary-nav .fullwidth .back i{
		margin-right:10px;
	}

	/* End Mobile Nav */
	.fancybox-stage{
		width: 80%;
		margin: 0 auto;
	}
	.fancybox-arrow{
		width: 40px;
	}
	.img-wrapper.img-left,
	.img-wrapper.img-right{
		float: none;
		padding: 0;
		margin-top: 0;
	}
}

/* Phone (portrait and landscape) */
@media only screen and (max-width : 767px) {
	.block .nested .column{
		padding-left: 0 !important;
		padding-right: 0 !important;		
	}
	.block.swap-mobile{
		flex-direction: row-reverse;
	}
	.block.m100.swap-mobile{
		flex-direction: column-reverse;
	}
	.block.m100 .column{
		width: 100%;
	}
	.block.m75 .column{
		width: 75%;
	}
	.block.m60 .column{
		width: 60%;
	}
	.block.m50 .column{
		width: 50%;
	}
	.block.m40 .column{
		width: 40%;
	}
	.block.m33 .column{
		width: 33.33%;
	}
	.block.m25 .column{
		width: 25%;
	}
	.block.m100 .column + .column{
		margin-top: 20px;
	}
	.block.m100.block-remove .column.w40{
	    height: 10px;
	}
	.block .block.m100 .column,
	.files{
		width: 100%;
	}
	.files li a{
		text-align: left;
		font-size: 15px;
		text-transform: capitalize;
	}
	.block .block.m75 .column{
		width: 75%;
	}
	.block .block.m60 .column{
		width: 60%;
	}
	.block .block.m50 .column{
		width: 50%;
	}
	.block .block.m40 .column{
		width: 40%;
	}
	.block .block.m33 .column{
		width: 33.33%;
	}
	.block .block.m25 .column{
		width: 25%;
	}
	.img-wrapper img{
		margin:0 auto;
		display:block;
	}
	.block.m100 .w25 .img-wrapper img{
		width:120px;
	}
	.block.full.has-bg:not(.block-1){
		padding-top:40px;
		padding-bottom:40px;
		min-height:inherit !important;
	}
	#primary-nav-responsive{
		height: 100%;
		top:117px;
	}
	#primary-nav-responsive .primary-nav,
	#primary-nav-responsive .search-toggle,
	.primary-nav .fullwidth{
		padding:0 20px;
	}
	.primary-nav a{
		width: 92%;
	}
	#primary-nav-responsive .bottom{
	    padding: 30px 5px;
	    position: fixed;
	    bottom: 0;
	}
	.video,
	.text-blocks-wrapper .text-block {
		width: 100%;
	}
	.video {
		height: 200px;
	}
	.paging ul li a{
		padding: 5px 12px;
	}
    .block.has-bg.verticalAlign .img-wrapper{
	    display: none;
    }
    .block.has-bg.verticalAlign .column + .column{
	    margin-top:0;
    }
    .pdf-ctas a{
	    margin:10px auto !important;
    }
    .modal-dialog{
	    width: 100%;
	    margin-top:40%;
    }
    .richtext img{
	    width: 100%;
	    height: auto;
    }
    
    body.tpl-2:not(#id-1) #main-content > .block-1, body.tpl-3:not(#id-1) #main-content > .block-1, body.tpl-4:not(#id-1) #main-content > .block-1 {
        padding-top: 40px !important;
    }
	
	.tpl-3 h6.heading,.tpl-5 h6.heading,.tpl-2 h6.heading,.tpl-4 h6.heading  {
        font-size: 40px !important;
    }
    
    #loadDelivered-modal .modal-dialog {
        width: 100%;
    }
}


/* Phone (portrait) */
@media only screen and (max-width : 480px) {

}
