/*! HTML5 Boilerplate v8.0.0 JK Customised | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */

/*----- GOOGLE FONTS -----*/
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,600;1,300&display=swap');
/*font-family: 'Work Sans', sans-serif; - 300 300i 400 600*/

/*----- BASE STYLES - OPINIONATED DEFAULTS -----*/
html {
	color: #222;
    font-size: 1em;
    line-height: 1.4;
}
/*
 * Remove text-shadow in selection highlight:
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio, canvas, iframe, img, svg, video {
	/*Remove the gap between audio, canvas, iframes, images, videos and the bottom of their containers:*/
    vertical-align: middle;
}
.iFrame {
	width:100%;
}
fieldset {
	/*Remove default fieldset styles.*/
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
	/*Allow only vertical resizing of textareas.*/
    resize: vertical;
}

/*----- CORE STYLES - Mobile First Styles -----*/
body {
	font-size:16px;
	font-family: 'Work Sans', sans-serif;
	font-weight:300;
	color:#303030;
}
a {
	color:#8F2D56;
	text-decoration:none;
	font-weight:400;
}
a:hover {
	color:#000;
	text-decoration:underline;
	font-weight:400;
}
a:visited {
	color:#8F2D56;
	text-decoration:none;
	font-weight:400;
}
a:active {
	color:#000;
}
a:focus {
	color:#000;
}
p {
}
strong {
	font-weight:400;
}
h1, h2, h3, h4, h5, h6 {
	display:block;
	width:auto;
	padding-bottom:0.2em;
	margin:0.4em 0;
	font-size:1.6em;
	font-weight:400;
	/*color:#8F2D56; Pink*/
	color:#6F4E3D;
	border-bottom:solid 1px #E5DED2;
}
h1 {
}
h2 {
}
h3 {
}
h4 {
}
h5 {
}
h6 {
	border-bottom:solid 1px #999;
}
.pCen {
	text-align:center;
}
.pRight {
	text-align:right;
}
.skip {
	display:block;
	padding:0.5em 1.0em;
	text-align:left;
}
	.skip, .skip:visited {
		color:#D81159;
	}
.logoCont {
	display:block;
	clear:both;
	box-sizing:border-box;
	width:100%;
	height:auto;
	overflow:hidden;
	text-align:center;
}
.logoCont p {
	margin:0;
	padding:0;
	padding-bottom:0.5em;
	font-weight:400;
	font-size:1.8em;
	/*color:#005580; Navy*/
	color:#6F4E3D;
}
	.logoCont p span {
		color:#8F2D56;	
	}
.logo {
	display:none;
	width:100%;
	height:auto;
}
/*----- NAVIGATION -----*/
nav { /*html5 element*/
}
.nav { /*Class*/
	position:relative;
	height:auto;
	overflow:hidden;
	padding:0;
	margin:0;
}
.nav ul {
	list-style:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
.nav ul li {
	display:block;
	float:left;
	width:100%;
	-webkit-transition: background 500ms ease-in-out;
	-moz-transition: background 500ms ease-in-out;
	-ms-transition: background 500ms ease-in-out;
	-o-transition: background 500ms ease-in-out;
	transition: background 500ms ease-in-out;
}
.nav ul li a {
	display:block;
	width:100%;
	padding:0.75em 0;
	font-weight:400;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	border-bottom:dashed 1px #d81159;
}
.nav ul li:hover {
	/*background:#005580; navy */
	background:#F7F1E7;
}
.nav ul li:hover a {
	color:#333;
}
.nav-mobile { /*Mobile menu specific*/
	display:none;
	cursor:pointer;
	position:absolute;
	top:5px;
	right:5px;
	height:40px;
	width:40px;
	border-radius:5px;
	-webkit-border-radius:5px 5px 0px 0px;
	-moz-border-radius:5px 5px 0px 0px;
	background-color: rgba(0,85,128,1.0);
	background-image: url(../img/gfx/nav.svg);
	background-repeat: no-repeat;
	background-position: center center;
}
/*----- SITE STRUCTURE -----*/
#wrapper {
	width:100%;
	max-width:1920px; /*rslide max width is the same as this, see .js settings*/
	margin:auto;
	-webkit-box-shadow: 0 0 5px 5px #cccccc;
	box-shadow: 0 0 10px 4px #cccccc;
	background:#fefdfc;
}
header {
	height:auto;
	overflow:hidden;
	background:#fff;
	border-bottom:solid 2px #E5DED2;
	background:#fff;
}
#page {
	/*Main page area*/
}
main {
}
	main p, main ul, main ol {
		font-size:1.2em;
		line-height:1.5em;
	}
aside {
}
footer {
	box-sizing:border-box;
	display:block;
	clear:both;
	width:100%;
	padding:0 6%;
	color:#333;
	border-top:solid 3px #E5DED2;
	background: rgb(247,241,231);
}
.footCont {
	display:block;
	flex-wrap:nowrap;
	width:100%;
	clear:both;
	height:auto;
	overflow:hidden;
}
.footCont .col {
	flex-basis:29.3333%;
	margin-bottom:1.5em;
	text-align:center;
}
.footCont .col a, .footCont .col a:visited {
	color:#333;
}
/*----- LAYOUT CONCEPTS -----*/
.gallery {
	display:block;
	width:100%;
	clear:both;
	list-style:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
.gallery li {
	flex-basis:100%;
}
@media (min-width:640px) {
	.gallery {
		display:flex;
		flex-wrap:wrap;
	}
	.gallery li {
		box-sizing:border-box;
		flex-basis:25%;
		padding:0.2em;
	}
}

/*----- IMAGE STYLES -----*/
.responsive {
	width:100%;
	height:auto;
}
.img300 {
	max-width:300px;
}
.img400 {
	max-width:400px;
}
.img600 {
	max-width:600px;
}
/*----- TEXT STYLES -----*/
i {
	font-size:1.2em;
	color:#3399CC;
}
.iLg {
	font-size:2.6em;
}
.iMed {
	font-size:1.8em;
}
.iSm {
	font-size:0.8em;
}
.footBrand {
	font-size:1.4em;
}
.asCen {
	align-self:center;
}
.serviceList, .serviceList2 {
	display:block;
	flex-wrap:wrap;
	list-style:outside;
	list-style-type:none;
	margin:0;
	margin-top:2.0em;
	padding:0;
}
.serviceList li, .serviceList2 li {
	box-sizing:border-box;
	flex-basis:98%;
	flex-wrap:wrap;
	margin:1.0em 1%;
	padding:0.4em 1.2em;
	text-align:center;
	border:solid 1px #fff;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomright: 8px;
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	/*transitions*/
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out;
}
.serviceList2 li {
	/*border:solid 1px #3399CC; blue*/
	border:solid 1px #E5DED2;
}
.serviceList li:hover, .serviceList2 li:hover {
	background:#f9f9f0;
	cursor:pointer;
	transform:scale(0.98);
}
.serviceList li a, .serviceList li a:hover, .serviceList2 li a, .serviceList2 li a:hover {
	text-decoration:none;
}
.title {
	font-size:1.7em;
	font-weight:400;
}
.h3Small {
	border-bottom:none;
	font-size:1.4em;
}
/*----- BLOCK STYLES -----*/
.container {
	box-sizing:border-box;
	display:block;
	width:90%;
	padding:15px 3%;
	margin:0.5em auto;
}
.full {
	box-sizing:border-box;
	display:block;
	width:100%;
	padding:1.0em 0;
}
.containerRow {
	display:block;
	flex-wrap:wrap;
	clear:both;
	width:100%;
}
.containerRow .col {
	flex:1;
	box-sizing:border-box;
}
.txtImgBlock {
	display:flex;
	flex-wrap:wrap;
}
.txtImgBlock .item {
	flex-basis:100%;
}
.txtImgBlock .item:first-child {
	margin-right:0%;
}
.txtImgBlock .item:last-child {
	margin-left:0%;
}
.fillA {
	/*Plumb*/
	background:#8F2D56;
	color:#fff;
}
	.fillA h1, .fillA h2, .fillA h3, .fillA h4, .fillA h5, .fillA h6,
	.fillA a, .fillA a:visited, .fillA a:hover {
		color:#fff;
	}
	.fillA .btn {
		border:solid 1px #333;
		background:#FBB13C;
		color:#222 !important;
	}
	.fillA .btn:hover {
		background:#FFF;
	}
.fillB {
	/*Navy Blue*/
	background:#005580;
	color:#fff;
}
	.fillB h1, .fillB h2, .fillB h3, .fillB h4, .fillB h5, .fillB h6, 
	.fillB a, .fillB a:visited, .fillB a:hover {
		color:#fff;
	}
	.fillB .btn {
		border:solid 1px #333;
		background:#FBB13C;
		color:#222 !important;
	}
	.fillB .btn:hover {
		background:#FFF;
	}
.fillC {
	/*Yellow*/
	background:#FBB13C;
	color:#222;
}
	.fillC h1, .fillC h2, .fillC h3, .fillC h4, .fillC h5, .fillC h6,
	.fillC a, .fillC a:visited, .fillC a:hover {
		color:#222;
	}
	.fillC .btn {
		border:solid 1px #333;
		background:#005580;
	}
.fillG {
	background:#f9f9f0;
}
.bordA, .bordB, .bordC {
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomright: 8px;
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
.bordA {
	border:solid 2px #8F2D56;
}
.bordB {
	border:solid 2px #005580;
}
.bordC {
	border:solid 2px #FBB13C;
}
.bordTop {
	border-top:solid 1px #eee;
}
/*----- BANNER STYLES -----*/
.heroCont {
	position:relative;
	display:block;
	width:100%;
	height:auto;
	overflow:hidden;
}
.heroOverlay {
	/*position:absolute;
	bottom:14px;
	left:0;*/
	box-sizing:border-box;
	display:block;
	clear:both;
	width:100%;
	/*min-height:30%; reduce min height for larger sreens*/
	padding:1.0em;
	margin:0;
	color:#6F4E3D;
	text-align:center;
	border-top:solid 2px #E5DED2;
	background:#8f2d56;
	background:rgba(247,241,231,0.8);
}
.heroTitle, .heroStrap {
	margin:0;
}
.heroTitle {
	display:block;
	font-size:1.4em;
	font-weight:400;
	text-align:center;
}
.heroStrap {
	display:block;
	font-size:1.1em;
	font-weight:400;
	text-align:center;
}
/*----- FORM STYLES ------*/
/*Consider moving to own stylesheet*/
.btn {
	display:inline-block;
	margin:auto;
	padding:0.5em 1.4em;
	text-align:center;
	font-weight:400;
	border:solid 1px #333;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomright: 8px;
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	/*transitions*/
	-webkit-transition: background 400ms ease-in-out;
	-moz-transition: background 400ms ease-in-out;
	-ms-transition: background 400ms ease-in-out;
	-o-transition: background 400ms ease-in-out;
	transition: background 400ms ease-in-out;
}
.btn:hover {
	cursor:pointer;
	/*background:#005580 !important; navy */
	background:#F7F1E7 !important;
	text-decoration:none;
	color:#333;
}

/*----- MEDIA QUERIES START -----*/
@media (min-width: 1px) and (max-width: 767px) {
	/*mobile specific*/
	nav {
		min-height:45px;
	}
	.nav-list {
		display:none;
	}
	.nav-mobile {
		display:block;
	}
	.nav-active {
		display:block;
	}
	.nav-mobile-open {
		border-radius:5px 5px 0 0;
		-webkit-border-radius:5px 5px 0 0;
		-moz-border-radius:5px 5px 0 0;
	} /*end mobile specific*/
}
@media (min-width: 640px) {
	.logoCont p {
		font-size:2.0em;
	}
	.serviceList, .serviceList2 {
		display:flex;
	}
	.serviceList li, .serviceList2 li {
		flex-basis:48%;
		margin:0.5em 1%;
	}
	.serviceList2 li:last-child {
		flex-basis:98%;
	}
}
@media (min-width: 768px) {
	h1 {
		font-size:2.0em;
	}
	h2 {
		font-size:1.8em;
	}
	h3 {
		font-size:1.7em;
	}
	h4, h5, h6 {
		font-size:1.6em;
	}
	.logoCont p {
		font-size:2.4em;
	}
	.nav {
		box-sizing:border-box;
		padding-top:0.5em;
		padding-bottom:0.5em;
		border-top:solid 2px #E5DED2;
	}
	.nav ul li {
		width:20%; /*based on 5 links at 20% each - adjust as required*/
	}
	.nav ul li a {
		border-bottom:none;
		border-right:solid 1px #F7F1E7;
	}
		.nav ul li:last-child a {
			border-right:none;
		}
	.heroOverlay {
		position:absolute;
		bottom:15px;
		left:0;
	}
	.heroTitle {
		font-size:2.0em;
	}
	.heroStrap {
		font-size:1.3em;
	}
}
@media (min-width: 1024px) {
	footer {
		padding:1.0em 6%;
	}
	.footCont {
		display:flex;
	}
	.footCont .col {
		flex-basis:33.33%;
		padding:1.5em 0;
	}
	.footCont .col:first-child {
		text-align:left;
		align-self:flex-end;
	}
	.footCont .col:last-child {
		text-align:right;
		align-self:flex-end;
	}
	.footCont .col:nth-child(2) {
		border-left:solid 1px #E5DED2;
		border-right:solid 1px #E5DED2;
	}
	.txtImgBlock .item:first-child {
		flex-basis:59%;
		margin-right:1%;
	}
	.txtImgBlock .item:last-child {
		flex-basis:39%;
		margin-left:1%;
	}
	.containerRow {
		display:flex;
	}
	.containerRow .col {
		margin:1%;
	}
	.serviceList li {
		flex-basis:23%;
		margin:0 1%;
	}
	.serviceList2 li {
		flex-basis:31%;
		margin:0.5em 1%;
	}
	.serviceList2 li:nth-child(4), .serviceList2 li:last-child {
		flex-basis:48%;
		margin:0.5em 1%;
	}
	.heroStrap {
		font-size:1.5em;
	}
}
@media (min-width: 1200px) {
	h1 {
		font-size:2.4em;
	}
	h2 {
		font-size:2.2em;
	}
	h3 {
		font-size:2.0em;
	}
	h4, h5, h6 {
		font-size:1.8em;
	}
	.nav {
		max-width:1200px;
		margin:auto;
	}
	.heroTitle {
		font-size:2.4em;
	}
	.heroStrap {
		font-size:1.7em;
	}
	.txtImgBlock .item:first-child {
		flex-basis:54%;
		margin-right:1%;
	}
	.txtImgBlock .item:last-child {
		flex-basis:44%;
		margin-left:1%;
	}
}
@media (min-width: 1440px) {
	.heroOverlay {
		padding:1.4em 0;
	}
}
@media (min-width: 1680px) {
	.heroOverlay {
		padding:1.6em 0;
	}
}
@media (min-width: 1920px) {
	.heroOverlay {
		padding:1.8em 0;
	}
}
 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden, 
 [hidden] {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}