/* 
	BASE
	- defined by 'b-' or base tag
	- 'alt-' classes should always be attached and never declaired alone
*/



/* TEXT */

body {
	margin: 0;
	font-family: 'Galano Grotesque', sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #243746;
	background: #fff;
	overflow-y: scroll;
	text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 700;
}

h1, .b-h1 {font-size:36px; line-height:48px;}
h2, .b-h2 {font-size:30px; line-height:36px;}
h3, .b-h3 {font-size:24px; line-height:39px;}
h4, .b-h4 {font-size:18px; line-height:29px;}

p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 {margin-top:30px;}

@media screen and (max-width: 900px) {
	h1, .b-h1 {font-size:30px; line-height:38px;}
	h2, .b-h2 {font-size:24px; line-height:32px;}
	h3, .b-h3 {font-size:18px; line-height:26px;}
	h4, .b-h4 {font-size:18px; line-height:26px;}
}

.content.alt-orange {
    margin-bottom: 50px;
}

.content .b-button {
    margin-top: 20px;
}

.alt-orange h2 {
    margin-bottom: 35px;
    text-transform: uppercase;
    color: #B15532;
}

.alt-orange p {
    margin: 0;
    padding: 0 30px;
    border-left: 2px solid #B15532;
}

.alt-orange.content p:not(:first-of-type){
    padding-top: 15px;
}

.alt-orange .b-button{
    margin-left: 30px;
}

@media screen and (max-width: 900px){
    .content.alt-orange {margin-bottom:0;}
}

/* LINKS */

a {
	color: #C07D59;
	background-color: transparent;
	text-decoration: none;
	transition: color 0.25s;
}

a:hover {color:#B15532;}
a:focus {outline:none;}
a svg {fill:currentColor;}



/* BASIC TAGS */

p {
	margin: 15px 0;
}

ul, ol {
	margin: 15px 0;
	padding: 0 0 0 25px;
}

li {
	margin: 5px 0;
	padding: 0;
}

p:first-child,
ul:first-child,
ol:first-child,
li:first-child {
	margin-top: 0 !important;
}

p:last-child,
ul:last-child,
ol:last-child,
li:last-child {
	margin-bottom: 0 !important;
}

strong, b {
	font-weight: 700;
}

em, i {
	font-style: italic;
}

img, svg {
	display: block;
	max-width: 100%;
	height: auto;
	border: none;
}

hr {
	margin: 50px 0;
	padding: 0;
	background: none;
	border: none;
	border-bottom: 1px solid #ccc;
}



/* MISC TAGS */

table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

iframe {
	max-width: 100%;
	border: none;
	overflow: auto;
}

nav ul,
nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

label,
button {
	cursor: pointer;
}

article,
aside,
footer,
header,
main,
section {
	display: block;
}



/* BUTTON */

button,
input[type="button"],
input[type="submit"],
.b-button {
	cursor: pointer;
	max-width: 100%;
	vertical-align: top;
	display: inline-block;
	box-sizing: border-box;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 50px;
	height: 50px;
	width: auto;
	padding: 0 25px;
	background: #131E29;
	border: none;
	border-radius: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: color 0.25s, background 0.25s;
}

button > a, .b-button > a  {
    color: #fff;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.b-button:hover {
	color: #fff;
	background: #243746;
}

button:hover > a,  .b-button:hover > a {
	color: #fff;
}

button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
.b-button:focus {
	outline: none;
}

/* alt-outline */

.b-button.alt-outline {
	background: none;
	box-shadow: inset 0 0 0 2px #131E29;
	color: #131E29;
	transition: box-shadow 0.25s, background 0.25s, color 0.25s;
}

.b-button.alt-outline > a {
    color: #131E29;
}

.b-button.alt-outline:hover {
	color: #fff;
	background: #243746;
	box-shadow: inset 0 0 0 2px #243746;
}

.b-button.alt-outline:hover > a {
    color: #fff;
}

/* alt-inverted */

.b-button.alt-inverted {
	background: none;
	box-shadow: inset 0 0 0 2px #fff;
	color: #fff;
	transition: box-shadow 0.25s, background 0.25s, color 0.25s;
}

.b-button.alt-inverted > a {
    color: #fff;
}

.b-button.alt-inverted:hover {
	color: #fff;
	background: #B15532;
	box-shadow: inset 0 0 0 2px #B15532;
}

.b-button.alt-inverted:hover > a {
    color: #fff;
}


/* TEXT INPUT & TEXTAREA */

input[type="search"],
input[type="text"],
input[type="number"],
input[type="url"],
input[type="email"],
input[type="tel"],
textarea {
	box-sizing: border-box;
    color: #243746;
    font-family: inherit;
    font-size: 16px;
    line-height: 50px;
    height: 50px;
    width: 100%;
    padding: 0 15px;
    background: #fff;
    box-shadow: inset 0 0 0 2px #D3D8E0;
    border: none;
    border-radius: 5px;
    transition: box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="search"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
	box-shadow: inset 0 0 0 1px #1D3043;
	outline: none;
}

textarea {
	display: block;
	line-height: 24px;
	padding: 8px 15px;
	height: 114px;
	resize: vertical;
}


input[type="search"] {
	padding: 0 35px 0 15px;
	background: no-repeat right 16px center;
	background-image: url('../img/ui-search.svg');
	/* background-position: right center; */
}

/* SELECT */

select {
	cursor: pointer;
	box-sizing: border-box;
	color: #243746;
	font-family: inherit;
	font-size: 16px;
	line-height: 50px;
	height: 50px;
	width: 100%;
	padding: 0 15px;
	box-shadow: inset 0 0 0 2px #D3D8E0;
	border: none;
    border-radius: 5px;
	background: #fff no-repeat right 5px center url(../img/ui-arrow-down.svg);
	transition: box-shadow 0.25s;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

select:focus {
	box-shadow: inset 0 0 0 1px #1D3043;
	outline: none;
}

select::-ms-expand {
	display: none;
}

/* CHECKBOX */

.gfield_checkbox,
.gfield_radio,
.ginput_container_consent,
.b-checkbox,
.b-radio {
	position: relative;
	overflow: hidden;
}

.gfield_checkbox input,
.gfield_radio input,
.ginput_container_consent input,
.b-checkbox input,
.b-radio input {
	position: absolute;
	top: 0;
	left: -9999px;
}

.gfield_checkbox input + label,
.gfield_radio input + label,
.ginput_container_consent input + label,
.b-checkbox input + span,
.b-radio input + span {
	display: block;
	position: relative;
	padding: 0 0 0 34px;
}

/* checkbox */

.gfield_checkbox input + label::before,
.ginput_container_consent input + label::before,
.b-checkbox input + span::before {
	content: "";
	display: block;
	position: absolute;
	top: 2px;
	left: 0;
	width: 24px;
	height: 24px;
	box-shadow: inset 0 0 0 1px #E2EDF9;
	transition: box-shadow 0.25s, background 0.25s;
}

.gfield_checkbox input:checked + label::before,
.ginput_container_consent input:checked + label::before,
.b-checkbox input:checked + span::before {background:#ccc;}

/* radio */

.gfield_radio input + label::before,
.b-radio input + span::before {
	content: "";
	display: block;
	position: absolute;
	top: 2px;
	left: 0;
	width: 24px;
	height: 24px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px #E2EDF9;
}

.gfield_radio input:checked + label::before,
.b-radio input:checked + span::before {box-shadow: inset 0 0 0 1px #E2EDF9, inset 0 0 0 7px #fff; background:#1D3043;}


/* PAGE */

.b-page {
	border-right: 0 solid #fff; /* used when scroll is disabled */
	background: #fff;
	max-width: 100%;
	min-width: 320px;
	overflow: hidden;
}

.b-page-head {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	height: 130px;
	transition: height 0.25s;
}

.b-page-head + .b-page-body {
	position: relative;
	z-index: 1;
	border-top: 130px solid transparent;
}

.b-page[data-scroll] .b-page-head {
	position: fixed;
	top: -130px;
	height: 130px;
	transition: transform 0.25s;
}

.b-page[data-scroll="up"] .b-page-head {
	transform: translate(0, 80px);
}


/* mobile nav spacing */
@media screen and (max-width: 1110px) {
	.b-page-head {height:60px;}
	.b-page-head + .b-page-body {border-top-width:60px;}
	.b-page[data-scroll] .b-page-head {top:-60px; height:60px;}
	.b-page[data-scroll="up"] .b-page-head {transform:translate(0, 60px);}
}



/* FRAMES */

.b-frame {
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 50px;
}

.b-frame + .b-frame {
	padding-top: 0 !important;
}

/* head */ 

.b-frame-head {
	margin: 0 0 50px 0;
}

.b-frame-head h2 {
	color: #B15532;
	text-transform: uppercase;
}

.b-frame-head p {
	border-left: 2px solid #B15532;
	padding-left: 28px;
}

@media screen and (min-width: 1200px) {
	.b-frame-head br {display:none;}
}

@media screen and (max-width: 900px) {
	.b-frame {max-width:400px !important; padding:50px 25px;}
	.b-frame-head {margin-bottom:40px;}
	.b-frame-head p {padding-left:13px;}
}



/* NAV & MODAL */

.b-nav,
.b-modal {
	display: block !important;
	pointer-events: none;
	overflow: hidden;
	position: fixed;
	z-index: 3;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	transition: visibility 0s 0.25s, opacity 0.25s;
}

#toggle-nav:checked ~ .b-nav,
#toggle-modal:checked ~ .b-modal {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
	transition: visibility 0s 0s, opacity 0.25s;
}

@media screen and (max-width: 1110px) {
	.b-nav {top:60px;}
}



/* UTILITY */

.b-image, .b-icon {
    width: 100%;
    height: auto;
    background: no-repeat center;
    background-size: contain;
}

.b-image::after {
	content: "";
	display: block;
	padding-bottom: 60%;
}

.b-icon::after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

.b-scrollbar {
	width: 100px;
	height: 100px;
	overflow: scroll;
	position: absolute;
	top: -9999px;
}

.b-disabled {
	opacity: 0.25 !important;
	pointer-events: none !important;
}

.b-hidden {
	display: none !important;
}

.b-center {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media screen and (max-width: 1800px) {
	.b-hidden-1800 {display:none !important;}
	.b-center-1800 {text-align:center !important; margin-left:auto !important; margin-right:auto !important;}
}

@media screen and (max-width: 1200px) {
	.b-hidden-1200 {display:none !important;}
	.b-center-1200 {text-align:center !important; margin-left:auto !important; margin-right:auto !important;}
}

@media screen and (max-width: 900px) {
	.b-hidden-900 {display:none !important;}
	.b-center-900 {text-align:center !important; margin-left:auto !important; margin-right:auto !important;}
}

@media screen and (max-width: 600px) {
	.b-hidden-600 {display:none !important;}
	.b-center-600 {text-align:center !important; margin-left:auto !important; margin-right:auto !important;}
}



/* SPACERS */

.b-spacer {
	display: block;
	clear: both;
}

.b-spacer[data-height="20"] {height:20px;}
.b-spacer[data-height="40"] {height:40px;}
.b-spacer[data-height="80"] {height:80px;}

@media screen and (max-width: 900px) {
	.b-spacer[data-height="80"] {height:40px;}
}



/* COLUMNS */

.b-columns {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -25px;
}
	
.b-columns > .b-column {
	padding: 25px;
	box-sizing: border-box;
	flex: 0 0 auto;
	align-items: stretch;
}

.b-columns > .b-column[data-width="1/1"] {width:100.0%;}
.b-columns > .b-column[data-width="1/2"] {width:50.00%;}
.b-columns > .b-column[data-width="1/3"] {width:33.33%;}
.b-columns > .b-column[data-width="1/4"] {width:25.00%;}
.b-columns > .b-column[data-width="1/5"] {width:20.00%;}
.b-columns > .b-column[data-width="1/6"] {width:16.66%;}
.b-columns > .b-column[data-width="1/7"] {width:14.27%;}
.b-columns > .b-column[data-width="1/8"] {width:12.50%;}

.b-columns > .b-column[data-width="2/3"] {width:66.66%;}
.b-columns > .b-column[data-width="2/4"] {width:50.00%;}
.b-columns > .b-column[data-width="2/5"] {width:40.00%;}
.b-columns > .b-column[data-width="2/6"] {width:33.33%;}
.b-columns > .b-column[data-width="2/7"] {width:28.56%;}
.b-columns > .b-column[data-width="2/8"] {width:25.00%;}

.b-columns > .b-column[data-width="3/4"] {width:75.00%;}
.b-columns > .b-column[data-width="3/5"] {width:60.00%;}
.b-columns > .b-column[data-width="3/6"] {width:50.00%;}
.b-columns > .b-column[data-width="3/7"] {width:42.84%;}
.b-columns > .b-column[data-width="3/8"] {width:37.50%;}

.b-columns > .b-column[data-width="4/5"] {width:80.00%;}
.b-columns > .b-column[data-width="4/6"] {width:66.66%;}
.b-columns > .b-column[data-width="4/7"] {width:57.13%;}
.b-columns > .b-column[data-width="4/8"] {width:50.00%;}

.b-columns > .b-column[data-width="5/6"] {width:83.33%;}
.b-columns > .b-column[data-width="5/7"] {width:71.41%;}
.b-columns > .b-column[data-width="5/8"] {width:62.50%;}

.b-columns > .b-column[data-width="6/7"] {width:85.70%;}
.b-columns > .b-column[data-width="6/8"] {width:75.00%;}

.b-columns > .b-column[data-width="7/8"] {width:87.50%;}

.b-columns > .b-column[data-width="auto"] {width:auto; flex-grow:1;}


/* alts */

.b-columns.alt-tight {margin:0 -15px;}
.b-columns.alt-tight > .b-column {padding:15px;}

.b-columns.alt-collapse {margin:0;}
.b-columns.alt-collapse > .b-column {padding:0;}

.b-columns.alt-center {justify-content:center;}
.b-columns.alt-middle {align-items:center;}

@media screen and (min-width: 1201px) {
	.b-columns.alt-loose {margin:0 -50px;}
	.b-columns.alt-loose > .b-column {padding:50px;}
}

@media screen and (max-width: 900px) {
	.b-columns {display:block;}
	.b-columns > .b-column[data-width] {display:block; width:auto;}
	.b-columns > .b-column[data-width]:empty {display:none;}
}

/* ALTERNATING BOX */

.alternating .container, .alternating .b-image {
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    align-items: center;
}

.alternating .b-image::after{
    padding-bottom: 65%;
}

@media screen and (min-width:901px){
    .alternating .b-column:nth-child(1){order:2;}
    .alternating .b-column:nth-child(2){order:1;}
    .alternating .b-column:nth-child(3){order:3;}
    .alternating .b-column:nth-child(4){order:4;}
    .alternating .b-column:nth-child(5){order:6;}
    .alternating .b-column:nth-child(6){order:5;}
    .alternating .b-column:nth-child(7){order:7;}
    .alternating .b-column:nth-child(8){order:8;}
    .alternating .b-column:nth-child(9){order:10;}
    .alternating .b-column:nth-child(10){order:9;}
    .alternating .b-column:nth-child(11){order:11;}
    .alternating .b-column:nth-child(12){order:12;}
}