/*
|====================================================
| RGC BASE LAYOUT DEFAULTS
|====================================================
*/

/*
|====================================================
| OVERALL LAYOUT DEFAULTS
|====================================================
*/

* {
	box-sizing: border-box;
}

body {
	font-family: "freight-sans-pro",sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background: #e0e0e0;
	color: #9e9e9e;
	text-rendering: geometricPrecision;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
	max-width: 100%;
}

.browserupgrade {
	background: #FB8C00;
	color: #fff;
	text-align:center;
	padding: 10px;
}

.browserupgrade a {
	color: #fff;
	text-decoration: underline;
}

/*
|====================================================
| TYPOGRAPHIC DEFAULTS
|====================================================
*/

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
}

h1 {
	font-size: 4.211em;
	font-weight: 400;
	line-height: 1;
	margin-bottom: 40px;
}

h2 {
	font-size: 2.895em;
	line-height: 1.1;
	margin-bottom: 25px;
}

h3 {
	font-size: 2.105em;
	line-height: 1.1;
}

h4 {
	font-size: 1em;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 5px;

}

h5,
h6 {
	font-size: 1em;
}

p {
	margin-bottom: 30px;
}

p:last-child {
	margin-bottom: 0;
}

a {
	cursor: pointer;
	transition: all .2s ease-in-out;
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: inherit;
}


a.button {
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
	font-weight: 600;
	color: #404040;
	font-size: 1.105em;
}

a.button:after {
	content: "";
	width: 27px;
	height: 27px;
	margin-left: 10px;
	background: url('../assets/circle-arrow-red.svg') no-repeat left top;
	background-size: contain;
}

a.button:hover {

}

a.button:hover:after {
	background-image: url('../assets/filled-circle.svg');
}

a.button.alt {
	background: transparent;
	border: solid 2px #373A36;
	padding: 5px 20px;
}

a.button.alt:hover {
	font-weight: 600;
	background: #373A36;
	color: #fff;
}

a.button.type-2 {
	background: transparent;
	border: solid 2px #373A36;
	padding: 5px 20px;
}

a.button.type-2:hover {
	background: #373A36;
	color: #fff;
	font-weight: 600;
}

a.button.type-2:hover:after {
	background-image: url('../assets/arrow-circle-white.svg');
}

a.button.type-3 {
	background: #CAC7A7;
	border: solid 2px #CAC7A7;
	padding: 5px 20px;
	color: #fff;
}

a.button.type-3:hover {
	background: #D22630;
	border-color: #D22630;
	font-weight: 600;
}

a.button.type-3:after {
	background-image: url('../assets/arrow-circle-white.svg');
}

a.button.type-4 {
	display: block;
	text-align:center;
	padding: 15px;
	margin: 0 0 20px 0;
	background:#E8E6D2;
	font-size: 1em;
}

.button + .button {
	margin-left: 20px;
}

ul, ol {
	padding-left: 20px;
}

blockquote {
	border-left: solid 1px #9e9e9e;
	padding-left: 20px;
	font-style:italic;
}

dt {
	font-weight: bold;
}

address {
	margin: 1em 0;
}

pre {
	white-space: pre-wrap;
    word-wrap: break-word; 
}

.text-center {
	text-align:center;
}

hr {
	box-sizing: border-box;
	display: block;
	margin: 30px 0;
	border: none;
	border-bottom: solid 1px #9e9e9e;
}

/*
|====================================================
| CONTENT-AREA DEFAULTS
|====================================================
*/

table {
	width: 100%;
	border: solid 1px #f1f1f1;
	border-collapse: collapse;
	margin: 1em 0;
}

tr {
	border-bottom: solid 1px #f1f1f1;
}

tr:nth-child(even) {
	background: #f1f1f1;
}

td, th {
	padding: 10px;
}

th {
	font-weight: 700;
}

.alignleft {
	float: left; 
}

.alignright {
	float: right; 
}

.aligncenter {
	display:block;
	margin:0 auto;
}

p .alignleft, 
img.alignleft, 
.wp-caption.alignleft { 
	margin: 0 20px 10px 0;
	padding: 0; 
}

p .alignright, 
img.alignright, 
.wp-caption.alignright {
	margin: 0 0 10px 20px; 
	padding: 0; 
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size:.8em;
	font-style:italic;
	margin:0 0 1em 0;
}

/*
|====================================================
| EXTRAS + HELPERS
|====================================================
*/

/* ACCORDION STUFF ------------------------------------------------------------------------------------------------------- */
.accordion-area {
	margin: 0;
}

.accordion-wrap .separator {
	border-bottom: solid 1px #707070;
	margin-bottom: 25px;
}

.accordion-toggle {
	cursor: pointer;
	font-weight: 600;
	background: url(../assets/plus-icon.svg) no-repeat right center;
	background-size: 20px 20px;
	padding-right: 40px;
	margin-bottom: 25px;
	transition: all .3s ease;
}

.open-ac.accordion-toggle {
	background: url(../assets/down-arrow.svg) no-repeat right center;
	background-size: 20px 20px;
}

.accordion-content {
	display: none;
	padding: 0 25px 25px 0;
}

.accordion-content p {
	margin: 0;
}