/**
 * This is the main CSS file for the layout, which will contain most of your site's shared CSS.
 */

/***** KEY *****

.blockName
.blockName-elementName (for a subcomponent of a block)
.blockName_modifierName (for a variation of a block)

Font stacks:
"Arial", sans-serif;

Colors:
Dk Grey: #535353
Lt Grey: #7B7B7B
White: #FAFAF5
Dk Teal: #46B098
Lt Teal: #9CDCCE
Orange: #FFA630

*/


/***** HELPERS *****/
/* For clearfix, use the .group class (from si-grid) */

.noMargin.noMargin {
    margin: 0;
}

.noPad.noPad {
    padding: 0;
}

.clickable {
    cursor: pointer;
}

.invisible {
    visibility: hidden;
    position: absolute;
    z-index: -99;
}

.animate {
    -webkit-transition: all .3s;
    transition: all .3s;
}

/* Helper classes for setting bottom margins */
.mb1 {
    margin-bottom: .5rem;
}
.mb2 {
    margin-bottom: 1rem;
}
.mb3 {
    margin-bottom: 1.5rem;
}
.mb4 {
    margin-bottom: 2rem;
}
.mb5 {
    margin-bottom: 2.5rem;
}
.mb6 {
    margin-bottom: 3rem;
}


/* Wrap tables and other elements with this to make it possible to enable horizontal scroll when the screen size is too small to contain the element fully */
.scrollWrapper {
    overflow: auto;
    position: relative;
    margin-bottom: 2em;
}
    .scrollWrapper > table {
        margin: 0;
    }


/***** BLOCKS *****/

html {
    font-size: 100%; /* 16px - We set the font size here so that we can use rems to adjust the text size relative to this root size. Use ems instead when you want to make it easier to resize everything in the block together, i.e. at a responsive breakpoint */
}

body {
    position: relative;
    background: #e8e9e8 url('images/background-texture.png') left top repeat;

    font-family: "omnes-pro", "Arial", sans-serif;
    line-height: 1.25;
    color: #7b7b7b;

    -ms-text-size-adjust:100%;
    -webkit-text-size-adjust: 100%; /* responsive */
}

/* Sets site's main container width */
.container {
    width: 85%;
    min-width: 900px;
    max-width: 1200px;
    margin: 0 auto;
    zoom: 1;
    position: relative;
}
    /* Ignore nested containers */
    .container .container {
        width: auto;
        min-width: initial;
        max-width: initial;
        margin: initial;
    }
    @media screen and (max-width:1200px) {
        .container {
            min-width: 290px;
            width: 90%;
        }
    }

/*** Headings ***/

.heading1 {
    margin-bottom: 1.25rem;
    font-size: 1.75em;
    color: #FFA630;
}
.heading2 {
    margin-bottom: 1.25rem;
    font-size: 2.5em;
    color: #9CDCCE;
    font-family: "house-slant", "Arial", sans-serif;
    
}
.heading3 {
    margin-bottom: 1.25rem;
    font-size: 1.4em;
    font-weight: 200;
    text-transform: uppercase;
    color: #46B098;
}

/**
 * Increase the spacing between the end of a paragraph and the start of a new heading
 */
p + .heading1, p + a + .heading1,
p + .heading2, p + a + .heading2,
p + .heading3, p + a + .heading3 {
    margin-top: 2rem;
}

/* Use the richText class to wrap content entered in rich text (wysiwyg) editor fields. */
.richTxt {}
    .richTxt p {
        line-height: 1.75;
        margin-bottom: 1.25em;
        font-size: 1.25rem;
    }
    .richTxt .small,
    .richTxt figcaption {
    	font-size: .75em;
    	line-height: 1.2em;
    }
    .richTxt ol, .richTxt ul {
        margin-bottom: 2rem;
        padding-left: 1.5rem;
    }
    .richTxt ul {
        list-style: none;
        padding-left: 3rem;
    }
    	.richTxt ul > li {}
    		.richTxt ul > li:before {
    			content: "■";
    			padding-right: 15px;
    			margin-left: -25px;
    			color: #FFA630;
    		}
    .richTxt ol {
        list-style: decimal;
    }
    .richTxt li {
        margin-bottom: .5rem;
    }
    .richTxt i {
    	font-size: .9em;
    }
    .richTxt table {
    	width: 100%;
    	border: 1px solid rgba(123, 123, 123, 0.25);
    }
    	.richTxt thead {
    		background-color: rgba(156, 220, 206, 0.75);
    		border: 1px solid rgba(156, 220, 206, 0.75);
    	}
    	.richTxt tr:nth-child(2n) {
    		background-color: rgba(123, 123, 123, 0.25);
    	}
	    .richTxt th {
	    	font-weight: bold;
	    	padding: 5px;
	    }
	    .richTxt td {
	    	padding: 5px;
	    }
	.richTxt img {
		background-image: linear-gradient(-180deg, rgba(255,255,255,0.10) 5%, rgba(0,0,0,0.10) 64%);
	}

.small {
    font-size: .75em;
}

.big {
    font-size: 1.25em;
}

hr {
    margin: 2rem 0;
}

.link {
    color: #9CDCCE;
    border-bottom: 1px solid transparent;
}
    .link:hover, .link:focus {
        border-bottom-color: #FFA630;
        color: #46B098;
    }

/* These classes are mainly for use in CKEditor. CKEditor can only apply one class at a time, so all subclasses must include the base class's styles */
.align, .align_left, .align_right, .align_center {
    max-width: 100%;
    margin-bottom: 1.5em;
}
    .align_left, .align_right {
        max-width: 40%;
    }
    .align_left {
        float: left;
        margin-right: 2em;
        margin-left: 0;
    }
    .align_right {
        float: right;
        margin-left: 2em;
        margin-right: 0;
    }
    .align_right figcaption {
        text-align: right;
    }
    .align_center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    @media (max-width:800px) {
        .align_left > figcaption,
        .align_right > figcaption,
        .align_center > figcaption {
            font-size: .75em;
        }
    }
    @media (max-width: 600px) {
        .align_left, .align_right, .align_center {
            float: none;
            max-width: 100%;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .align_left > figcaption,
        .align_right > figcaption {
            text-align: center;
        }
    }

.MarkupPagerNav {
}
    .MarkupPagerNav li {
        display: inline-block;
        margin: 0 1px;
    }
    .MarkupPagerNav li a,
    .MarkupPagerNav li.MarkupPagerNavSeparator {
        color: #fff;
        padding: 8px 8px;
        font-size: .75rem;
        cursor: pointer;
        background-color: #555;
    }
    .MarkupPagerNav li.MarkupPagerNavOn a,
    .MarkupPagerNav li a:focus,
    .MarkupPagerNav li a:hover {
        background: #333;
    }

.breadcrumb {
    margin: 0 0 .2em;
    padding: 0;
    font-size: 0.75rem;
}
	.breadcrumb-item {
	    display: inline;
	    margin: 0;
	    padding: 0;
	}
	    .breadcrumb-item a {
	        font-family: "omnes-pro", "Arial", sans-serif;
	        text-transform: uppercase;
	    }
	    	.breadcrumb-item a:hover, .breadcrumb-item a:focus {
	    		color: #46B098;
	    		border-bottom: 1px solid #FFA630;
	    	}
	    .breadcrumb-item:after {
	        content: " / ";
	        color: #FFA630;
	        padding-left: 3px;
	        padding-right: 3px;
	    }


/*** Forms ***/

/* Placeholder text */
.placeholder {
    color: #999;
}
    ::-webkit-input-placeholder {
        color: #999;
    }
    :-moz-placeholder {
        color: #999;
    }
    ::-moz-placeholder {
        color: #999;
    }
    ::-ms-input-placeholder {
        color: #999;
    }

.notice {
    color: #fff;
    background-color: #555;
    margin: 0 0 1rem 0;
    padding: .8rem;
    font-size: .85em;
    font-weight: bold;
    text-align: left;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

    .notice_error {
        background-color: #FFA630;
    }

    .notice_success {
        background-color: #9CDCCE;
    }

.field {
    margin-bottom: 1rem;
}
    .field-label {
        display: block;
        font-weight: bold;
        font-size: .8rem;
        color: #565656;
        margin-bottom: .3rem;
    }
    .field-input {
        width: 100%;
        max-width: 100%;
    }
    .field-required {
        color: #FFA630;
        font-weight: 600;
    }
    .field-notes {
        font-size: .6em;
        font-style: italic;
        color: #5A5A5A;
        margin-top: .2rem;
    }
    .field-error {
        display: block;
        font-size: .7em;
        font-weight: bold;
        width: 100%;
        color: #FFA630;
        margin-top: .2rem;
    }

.txtBox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    border: 1px solid #FFA630;
    padding: .4rem;
    max-width: 100%;
}
	.txtBox:hover, .txtBox:focus {
		border: 1px solid #9CDCCE;
	}
	
	.txtBox:focus {
		border: 1px solid #46B098;
		outline: none;
	}

.txtBox_select {
    /*-webkit-appearance: button;*/
    background: url(images/arrow-down.png) right no-repeat;
    padding-right: 3rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
    @media (-webkit-min-device-pixel-ratio: 1.5),
    (min-resolution: 144dpi) {
        .txtBox_select {
            background-image: url(images/arrow-down@2x.png);
            background-size: 20px 7px;
        }
    }

.txtBox_error {}

/* for use on textareas */
.txtBox_multi {
    vertical-align: top;
    height: initial;
}

.btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    -webkit-transition: all .3s;
    transition: all .3s;

    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin: 0 2px 1rem;
    padding: 6px 30px;
    background-color: #9CDCCE;
    color: #fff;
    text-align: center;
    border: 2px solid #46B098;
    font-size: 1.65rem;
    font-weight: 200;
    font-family: "house-slant", "Arial", sans-serif;
}
    .btn i {
        margin-left: -1em;
    }
    .btn:hover, .btn:focus {
        background-color: #46B098;
        /*border-color: #9CDCCE;*/
        color: #FFF;
        border-bottom-color: #46B098;
    }
    @media (max-width: 600px) {
    	.btn {
    		padding: 5px 20px;
    		font-size: 1.5rem;
    	}
    }

.dataTable {
    width: 100%;
    margin-bottom: 1rem;
}
    .dataTable td {
        border: 1px solid #ccc;
        padding: .5em;
    }
    .dataTable th {
        background-color: #555;
        padding: .5em;
        color: #fff;
        font-size: .8em;
        font-weight: bold;
        border: 1px solid #555;
    }

.header {
    position: relative;
    color: #fff;
    margin-bottom: -30px;
}
    .header-main {
        position: absolute;
        width: 100%;
        bottom: 0;
        right: 0;
        top: 0;
		display: flex;
		align-items: flex-end;
    }
    	.header-main > .container {
    		z-index: 11;
    	}
    .header-phone {}
	    .header-phone a {
	        line-height: 2rem;
	        font-family: "omnes-pro", "Arial", sans-serif;
	        font-size: 1.75rem;
	    }
	    	.header-phone i {
	    		padding-right: 7px;
	    	}
	    	.header-phone a:hover, .header-phone a:focus {
	    		color: #FFA630;
	    	}
    .header-search {
        float: right;
    }
    .header-title {
    	height: 300px;
    	display: flex;
    	align-items: center;
    }
    .header-logo {
    	text-align: center;
    }
    .header-nav {
    	padding-bottom: 30px;
    }
    .header-slideshow {
        position: relative;
        z-index: 0;
    }
    	.header-slideshow:before {
    		background-image: linear-gradient(90deg, #46B098 30%, rgba(0,0,0,0.10) 100%);
    		position: absolute;
    		content: '';
    		display: block;
    		top: 0;
    		right: 0;
    		left: 0;
    		bottom: 0;
    		z-index: 10;
    	}
    	.header-slideshow .cycle-slideshow {
    		z-index: 0;
    	}
    @media (max-width: 1200px) {
    	.header-phone a {
    		font-size: 1.5em;
    	}
    }
    @media (max-width: 1000px) {
    	.header-title {
    		height: 250px;
    	}
    	.header-phone a {
    		font-size: 1.25em;
    	}
    }
    @media (max-width: 800px) {
    	.header-title {
    		padding-top: 20px;
    		height: 300px;
    	}
    	.header-phone {
    		align-self: flex-start;
    		width: 50%;
    		font-size: .85em;
    	}
    }
    @media (max-width: 600px) {
        .header-search {
            float: none;
        }
    }


.logo {}
	.logo a {
		display: block;
	}
	.logo-img {
		width: 400px;
		height: auto;
	}
	@media (max-width: 1200px) {
		.logo-img {
			width: 350px;
		}
	}
	@media (max-width: 800px) {
		.logo {
			padding-top: 25px;
		}
			.logo-img {
				padding-bottom: 10px;
			}
	}
	@media (max-width: 600px) {
		.logo-img {
			width: 300px;
		}
	}

.search {
    position: relative;
}
    .search-box {
        width: 15rem;
        color: #fff;
        padding: .4rem .5rem;
        border: 1px solid transparent;
    }
        .search-box:hover {
            border-color: #555;
        }
    .search-btn {
        position: absolute;
        right: 0; top: 0; bottom: 0;
        font-size: 1.25rem;
        color: #fff;
	}
    @media (max-width: 600px) {
        .search-box {
            display: none;
            width: 0;
            border-color: transparent;
        }
    }
    .search-open .search-box {
        display: block;
        width: 100%;
    }

.pageMeta {
    margin-bottom: 2rem;
}
	.pageMeta-title {
		margin-bottom: 2rem;
	}
	.sidebar .pageMeta {
		margin-left: 0;
	}

.main {
    min-height: 400px;
    padding: 0;
    border-bottom: 1px solid #46B098;
    overflow-x: hidden;
}
    .layout_modal .main {
        min-height: 0;
    }

.footer {
    background-color: #FFF;
    border-top: 1px solid #9CDCCE;
    color: #7B7B7B;
    padding: 3rem 0;
    position: relative;
}
	.footer:after {
		background-image: linear-gradient(-180deg, #FFFFFF -3%, rgba(156,220,206,0.50) 120%);
		position: absolute;
		content: '';
		display: block;
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
		z-index: 1;
	}
	.footer i {
		color: #FFA630;
		padding-right: 15px;
		display: inline-block;
		vertical-align: top;
		font-size: 2.5rem;
	}
	.footer .container {
		z-index: 10;
	}
	.footer-connect {
		
	}
		.footer-connect i.fa-facebook-square {
			color: #7B7B7B;
			padding-right: 0;
		}
			.footer-connect i.fa-facebook-square:hover,
			.footer-connect i.fa-facebook-square:focus {
				color: #3d5d96;
			}
	.footer-cert {
		
	}
		.footer-cert img {
			width: 70px;
			display: inline-block;
			padding-left: 10px;
		}
    .footer-copyright {
        display: inline-block;
        font-size: .95rem;
        vertical-align: middle;
    }
    	.footer-copyright span {
    		font-weight: 200;
    	}
    	.footer-copyright small {
    		color: #FFA630;
    		padding-right: 5px;
    		font-size: 1rem;
    	}
    .footer-logo {
    	width: 125px;
    	height: auto;
    	display: block;
    	margin: 1rem auto;
    }
    .footer-contact {
    	font-size: 1.1rem;
    }
    	.footer-contact a, .footer-contact div {
    		display: block;
    		margin-bottom: 2rem;
    	}
    		.footer-contact a:hover, .footer-contact a:focus {
    			color: #FFA630;
    		}
    	.footer-contact span {
			vertical-align: middle;
			line-height: 2.5rem;
    	}
    .footer-address {
        display: inline-block;
    }
    .footer-toTop {
    	background: #FFA630;
    	color: #FFF;
    	text-transform: uppercase;
    	text-align: center;
    	font-size: .7em;
    	padding: .5rem;
    	width: 60px;
    	
    	position: absolute;
    	right: 0;
    	top: -103px;
    }
    	.footer-toTop i {
    		color: #FFF;
    		height: 30px;
		    margin-bottom: 6px;
		    padding-right: 0;
		    width: auto;
		    margin-top: -10px;
    	}
    	.footer-toTop:hover, .footer-toTop:focus {
    		margin-top: -2px;
    	}
    @media (max-width: 600px) {
    	.footer-contact {
    		margin-bottom: 1.5rem;
    	}
	        .footer-contact a, .footer-contact div {
	        	margin-bottom: 1rem;
	        }
        .footer-connect {
        	margin-bottom: 2rem;
        }
    }

.designer {
	display: block;
	float: right;
	position: absolute;
	bottom: 0;
	right: 0;
}
	.designer a {
	    display: inline-block;
	    text-decoration: none;
	    color: #7B7B7B;
	    opacity: .7;
	}
	.designer a:hover, .designer a:focus {
	    text-decoration: none;
	    opacity: 1;
	}
    .designer-label {
        border-right: 1px solid #7B7B7B;
        padding-top: 5px;
        padding-right: 12px;
        display: inline-block;
        height: 20px;
        vertical-align: middle;
        line-height: 1em;
        font-size: .5em;
    }
    .designer-logo {
        display: inline-block;
        vertical-align: middle;
        width: 50px;
        padding-left: 6px;
    }
    @media (max-width: 600px) {
    	.designer {
    		position: relative;
    		float: none;
    		margin-top: 1.5rem;
    	}
    }

.slideshow {}
    .slideshow-slide {
		width: 75%;
		height: 450px;
		background-size: cover;
		background-position: center right;
		right: 0 !important;
		left: 25% !important;
    }
	    .slideshow-slide > * {
	        display: block;
	        /*width: 100%;*/
	    }
    .slideshow-link {
        display: block;
        width: 100%;
    }
    .slideshow-controls {}
    .slideshow-prev, .slideshow-next {
    	display: none;
    	
        position: absolute;
        font-size: 70px;
        top: 50%;
        z-index: 300;
        color: #e5e5e5;
        opacity: .7;

        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    	.header:hover .slideshow-prev, .header:hover .slideshow-next,
    	.header:focus .slideshow-prev, .header:focus .slideshow-next {
    		display: block;
    	}
	    .slideshow-prev:hover, .slideshow-next:hover {
	        cursor: pointer;
	        opacity: 1;
	    }
    .slideshow-prev {
        left: 4%;
    }
    .slideshow-next {
        right: 4%;
    }
    .slideshow-pager {
        position: absolute;
        font-size: 50px;
        left:0; bottom:0; right:0;
        z-index: 100;
        text-align: center;
    }
    .slideshow-pager span {
        cursor: pointer;
        color: #bbb;
    }
    .slideshow-pager > .cycle-pager-active {
        color: #fff;
    }
    @media (max-width: 1000px) {
    	.slideshow-slide {
    		height: 350px;
    	}
    }
    @media (max-width: 800px) {
    	.header:hover .slideshow-prev, .header:hover .slideshow-next,
    	.header:focus .slideshow-prev, .header:focus .slideshow-next {
    		display: none;
    	}
    }
    @media (max-width: 600px) {
        .slideshow-prev, .slideshow-next {
            font-size: 40px;
        }
    }

.tags {
    font-size: .75rem;
}
    .tags-item {
        display: inline-block;
        background: #555;
    }
    .tags-link {
        display: block;
        color: #fff;
        padding: 4px 10px;
    }
        .tags-link:hover, .tags-link:focus {
            background: #444;
        }

.boxed {
	background-color: #FFFFFF;
	border: 1px solid #44AE96;
	margin-bottom: 5rem;
	padding: 3rem;
	min-height: 600px;
	position: relative;
	-webkit-box-shadow: 0 2px 15px 0 rgba(0,0,0,0.10);
	box-shadow: 0 2px 15px 0 rgba(0,0,0,0.10);
	z-index: 10;
}
	@media (max-width:650px) {
		.boxed {
			width: auto;
		    float: none !important;
		    padding: 3rem 100vw;
		    margin: 0 -100vw 5rem;
		    border-left: 0;
		    border-right: 0;
		}
	}

blockquote {
	width: 70%;
	margin: 0 auto;
	font-weight: 100;
	display: block;
	padding: 30px 40px;
	border: 1px solid #FFA630;
	border-left-width: 7px;
	margin-bottom: 3rem;
}
	blockquote p {
		font-weight: 100;
		font-size: 1.4em;
	}
		blockquote p:last-child {
			margin-bottom: 0;
		}
	@media (max-width:800px) {
		blockquote {
			width: 100%;
		}
	}

.mainCol {
	margin: 1rem 1rem 3rem;
}