/* Yellow Box Marketing - Responsive 1280 Grid System
Copyright 2017 */

/* Content Hiding */

.hideDesktop {
    display: none;
}

.hideMob {
    display: block;
}

.hideMobInline {
    display: inline;
}

.hideTablet {
    display: block;
}

.hideTablet Inline {
    display: inline;
}

@media only screen and (min-width: 1280px) {
    .siteGrid {
        width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }
    .siteGridHalfLeft {
        float: right;
        width: 640px;
    }
    .siteGridHalfRight {
        float: left;
        width: 640px;
    }
    .logoLeft {
        float: left;
        width: 280px;
    }
    .logoRight {
        float: left;
        width: 1000px;
    }
}

@media only screen and (min-width: 996px) and (max-width: 1279px) {
    .siteGrid {
        width: 996px;
        margin-left: auto;
        margin-right: auto;
    }
    .siteGridHalfLeft {
        float: right;
        width: 498px;
    }
    .siteGridHalfRight {
        float: left;
        width: 498px;
    }
    .logoLeft {
        float: left;
        width: 280px;
    }
    .logoRight {
        float: left;
        width: 716px;
    }
    header.large img,
    header.small img {
        height: auto;
    }
	.pageBar .serviceText {
		background: #f9f9f9;
		padding: 30px;
		-webkit-box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		-moz-box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		width: calc(105% - 140px);
		margin: 0 50px;
		font-size: 0.6em;
	}
	.pageBar .serviceLinkContainer {
		margin-top: 30px;
		font-size: 1.3em;
	}
	.peopleImage img {
		max-width: 200px;
	}
	.badgesContainer img {
		margin: 20px;
		max-width: 130px;
	}
	.serviceText {
		float: left;
		font-size: 0.8em;
	}

}

@media only screen and (min-width: 768px) and (max-width: 995px) {
    .hideTablet {
        display: none !important;
    }
    .hideTabletInline {
        display: none !important;
    }
    .siteGrid {
        width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
    .siteGridHalfLeft {
        float: right;
        width: 384px;
    }
    .siteGridHalfRight {
        float: left;
        width: 384px;
    }
    .logoLeft {
        float: left;
        width: 100px;
    }
    .logoRight {
        float: left;
        width: 668px;
    }
    header.large img,
    header.small img {
        height: auto;
    }
	.pageBar .serviceText {
		background: #f9f9f9;
		padding: 30px;
		-webkit-box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		-moz-box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		width: calc(100% - 80px);
		margin: 0 0px;
		font-size: 0.6em;
	}
	.pageBar .serviceLinkContainer {
		margin-top: 30px;
		font-size: 1.3em;
	}
	.peopleImage img {
		max-width: 170px;
	}
	.peopleBox {
		font-size: 0.7em;
	}
	.badgesContainer {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.badgesContainer img {
		margin: 20px;
		max-width: 130px;
	}
	.angleRight {
		float: right;
		width: 100%;
		height: 84px;
		width: 23px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 2.5em;
		margin-right: 0px;
		color: #1e3252;
	}
	.serviceText {
		float: left;
		font-size: 0.8em;
	}
	.phoneIcon {
		display: none;
	}
	.pageImage {
		display: none;
	}
	.pageBar .grid2 {
		width: 100%;
	}
}

/* All Mobile Sizes */

@media only screen and (max-width: 767px) {
	
	/* Mobile Hiding */
	.hideDesktop { display: block !important; }
    .hideMob { display: none !important; }
    .hideMobInline { display: none !important; }
    
	/* Alignment */
	.textLeft { text-align: center; }
    .textRight { text-align: center; }
	.featureWidget { width: 100%; }
	.galleryWidget { width: 100%; padding: 0; margin: 0; }
	.featureWidget { margin-bottom: 12px; }
	.detailsWidget { margin-bottom: 12px; }
	.contact3 { width: 65%; }
	
	/* Grid System Mobile */
    .grid1, .grid2, .grid3, .grid3Middle, .grid3_2, .grid4, .grid4_3, .grid5, .grid5_2, .grid5_3, .grid5_4, .grid6, .grid6_2, .grid6_3, .grid6_4, .grid6_5 { width: 100%; }
	.gridInsideBig { width: 100%; margin: 0; padding: 0; }
    .siteGrid { width: 100%; margin-left: auto; margin-right: auto; }
    .siteGridHalfLeft { width: 100%; margin-left: auto; margin-right: auto; }
    .siteGridHalfRight { width: 100%; margin-left: auto; margin-right: auto; }
    
	/* Header */
    .bodyBar { padding-top: 0; }
	
	.titleOverlay {
		font-size: 10pt;
		padding: 40px 0;
	}
	
	.mobHeaderBar {
		width: 100%;
		position: fixed;
		top: 0;
		z-index: 1999;
	}
	
	.logoMenu {
		float: left;
		width: 50px;
		margin-top: 8px;
		text-align: center;
		position: relative;
	}
	
	.logoBar {
        width: 100%;
        padding: 6px 0;
        position: fixed;
        top: 0;
        z-index: 1999;
    }
    .logoLeft {
        float: left;
        width: calc(100% - 100px);
    }
	.logoLeft img {
		max-height: 100px;
		height: auto;
		width: auto;
	}
	.logoTel {
        float: right;
        width: 50px;
		margin-top: 4px;
		text-align: center;
		position: relative;
    }
	.logoTel img {
		max-height: 30px;
	}
	#responsive_menu_pro_button {
	    position: relative !important;
	    right: auto !important;
	    top: 0 !important;
	}
	.logoUSPBar {
		background: #333333;
		color: #ffffff;
		float: left;
		width: 100%;
		padding: 0;
	}
	.sideMenu {
		height: 100%;
		width: 100vw;
		right: -105vw;
	}
	.sideMenuActive {
		right: -0px !important;
	}
	/* Homepage */
    .sliderBar { padding: 0 !important; }
    .sliderWidget { width: 100%; }
	.aboutBar { font-size: 10pt; } 
	h2 {
		padding: 0 15px;
		margin: 10px 0;
		font-size: 2.5em;
		font-weight: 800;
		color: #1e3252;
	}
	
	.contact, .contact2, .contact3 {
		font-size: 16px;
		background: #ffffff;
	}
	
	.featureWidget {
		margin-bottom: 65px;
	}
	.buttonColour {
		margin-top:30px;
		-moz-appearance: none !important;
		-webkit-appearance: none !important;
	}
	.buttonColourWhite {
		-moz-appearance: none !important;
		-webkit-appearance: none !important;
	}
	.angleRight {
		margin-right: 0;
	}
	.serviceText {
		float: left;
		text-align: left;
	}
	.badgesContainer {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
	}
	.badgesContainer img {
		margin: 15px 15px 15px 15px;
		width: 100px;
	}
	.badgesBar {
		padding: 0 0 50px 0;
	}
	.last {
		margin-bottom: 10px;
	}
	.peopleBox {
		width: 49%;
		margin: 0 0.5%;
		font-size: 0.7em;
	}
	.peopleImage img {
		max-width: 140px;
	}
	.pageBar .serviceText {
		width: auto;
		font-size: 0.7em;
	}
	.pageBar .serviceText {
		width: 80%;
		font-size: 0.7em;
		margin: 0 5%;
		padding: 5%;
		margin-bottom: 43px;
	}
	.badgesBar {
		padding: 30px 0;
	}
	.serviceIcon {
		float: left;
		height: 70px;
		width: 70px;
		background: #1e3252;
		margin: 0 0px 0 25px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 2.5em;
		color: #ffffff;
		-webkit-box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		-moz-box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		box-shadow: -4px -4px 0px 0px rgba(0,198,202,1);
		transition: 0.5s ease;
	}
	.pageBar .serviceIcon {
		margin: 0 20px 0 25px;
	}
	.serviceText {
		float: left;
		text-align: left;
		font-size: 0.8em;
	}
	.angleRight {
		float: right;
		width: 100%;
		height: 84px;
		width: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 2.5em;
		margin-right: 10px;
		color: #1e3252;
	}
	.phoneIcon {
		display: none;
	}
	.getQuoteBar .quoteRight .buttonColour {
		margin: 25px 0;
		float: none;
	}
}


/* WooCommerce Mobile */

@media only screen and (max-width: 767px) {
	.checkoutTop {
		float: left;
		display: block;
		width: 100%;
		margin-bottom: 12px;
		background: #fafafa;
		border-top: 1px solid #e6e6e6;
		border-bottom: 1px solid #e6e6e6;
	}
	.checkoutTopRight {
		float: right;
	}
	.checkoutHidden {
		display: none;
		float: left;
		width: 100%;
		padding: 12px 0;
		background: #ffffff;
	}
	.checkoutTopVisible .checkoutHidden {
		display: block;
	}
	.checkoutHiddenLeft {
		float: left;
		width: 65%;
		text-align: left;
		margin-bottom: 5px;
	}
	.checkoutHiddenRight {
		float: left;
		width: 35%;
		text-align: right;
		margin-bottom: 5px;
	}
	
	.checkoutLeft, .checkoutRight {
		float: left;
		width: 100%;
	}
	.woocommerce-tabs {
		width: 100%;
	}
	.woo-vari-titles, .woo-vari-selectors {
		width: 100% !important;
		float: left;
	}
	.woocommerce-checkout .woocommerce-cart-form { display: none !important; }
}