/* -------------------------------------------------------------------------------- */
/*	X.	Entry Content
/* -------------------------------------------------------------------------------- */


.entry-content {
	position: relative;
}

em {
    font-style: italic;
}

abbr {
	text-decoration: none;
}

hr {
	border: none;
	border-top: 1px solid rgba( 0, 0, 0, 0.13 );
	margin: 50px auto;
	width: 50%;
}

hr.is-style-wide,
hr.is-style-dots {
	width: 100%;
}

.entry-content > *:first-child { margin-top: 0 !important; }
.entry-content > *:last-child { margin-bottom: 0 !important; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 2em 0 1em;
}

.entry-content h1 { font-size: 40px; }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 32px; }
.entry-content h4 { font-size: 28px; font-weight: 700; }
.entry-content h5 { font-size: 24px; font-weight: 700; }
.entry-content h6 { font-size: 20px; font-weight: 700; }

.entry-content h1 + figure,
.entry-content h2 + figure,
.entry-content h3 + figure,
.entry-content h4 + figure,
.entry-content h5 + figure,
.entry-content h6 + figure {
	margin-top: 0;
}

.entry-content a {
	text-decoration: none;
}

.entry-content .more-link {
	text-decoration: none;
}

.entry-content p {
	line-height: 1.5;
	margin-bottom: 20px;
}

.entry-content > ol,
.entry-content > ul {
    margin-bottom: 30px;
}

.entry-content ol,
.entry-content ul {
    margin-left: 40px;
}

.entry-content ul { list-style: disc; }
.entry-content ul ul { list-style: circle; }
.entry-content ul ul ul { list-style: square; }

.entry-content ol { list-style: decimal; }
.entry-content ol ol { list-style: lower-alpha; }
.entry-content ol ol ol { list-style: lower-roman; }

.entry-content li {
    line-height: 1.5;
	margin-top: 15px;
}

dd,
dt {
	line-height: 1.5;
}

dt {
	font-weight: 700;
}

dd + dt { 
	margin-top: 15px; 
}

address {
	background: #F5F5F7;
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 6px;
}

address p {
	line-height: inherit;
}

code {
	background: #F5F5F7;
	border-radius: 2px;
	padding: 0 4px;
}

pre {
	background: #F5F5F7;
	font-size: 14px;
	line-height: 1.35;
	padding: 20px;
	white-space: pre-wrap;
	word-wrap: break-word;
}

p.has-drop-cap:not(:focus):first-letter {
	font-family: Newsreader, Georgia, serif;
	font-size: 7.75em;
	font-weight: 400;
    margin: 0 .07em 0 0;
}

/* Quotes ------------------------------------ */

blockquote {
    padding: 0 0 0 30px;
}

blockquote p { 
	font-weight: 500;
	hanging-punctuation: first;
}

blockquote cite:before { 
	content: "— "; 
}

.entry-content blockquote {
	margin-bottom: 20px;
}


/* Pull Quotes ------------------------------- */

.entry-content .pull {
	font-family: Newsreader, Georgia, serif;
	font-size: 29px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	position: absolute;
	width: 280px;
}

.entry-content .pull.left {
	hanging-punctuation: first;
	right: calc( 100% + 40px );
}

.entry-content .pull.right {
	hanging-punctuation: last;
	left: calc( 100% + 40px );
	text-align: right;
}

/* Page Media -------------------------------- */

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

.gallery-caption,
.wp-caption-text,
.entry-content figcaption {
    font-size: 0.9em;
	margin: 15px 0 0;
}

.entry-content .gallery-caption,
.entry-content .wp-caption-text {
	margin-bottom: 0;
}

.wp-caption-text,
.entry-content figcaption {
	color: #767676;
}

.wp-caption-text a,
figcaption a {
	color: inherit;
	display: inline;
}

.entry-content .alignnone,
.entry-content .aligncenter,
.entry-content .alignwide,
.entry-content .alignfull {
	margin: 2.5em auto;
}

.alignleft,
.alignright {
	margin-bottom: 20px;
    max-width: 40%;
}

.alignleft {
	float: left;
	margin: 5px 40px 30px 0;
}

.alignright {
	float: right;
	margin: 5px 0 30px 40px;
}

.aligncenter,
.alignnone { 
	margin: 50px auto; 
}

.alignnone img {
	width: 100%;
}

/* VANILLA GALLERIES */

.gallery {
        display: -ms-flex;
        display: -webkit-box;
        display: -ms-flexbox;
    display: flex;
		-ms-flex-wrap: wrap;
	flex-wrap: wrap;
    padding: 0;
}

.gallery .gallery-item {
    display: block;
	float: left;
    margin: 0 0 20px;
    padding: 0 10px;
	position: relative;
    width: 100%;
}

.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.3%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16.6%; }
.gallery-columns-7 .gallery-item { width: 14.158%; }
.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery-columns-9 .gallery-item { width: 11.1%; }

.gallery .gallery-item a {
    border: none;
	display: block;
    line-height: 0;
	text-align: center;
}

.gallery img {
	width: 100%;
}

.gallery-caption {
	background: #fff;
	color: inherit;
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
	max-height: calc( 100% - 20px );
	max-width: calc( 100% - 40px );
    overflow: auto;
	padding: 12px 14px;
	position: absolute;
		bottom: 10px;
		left: 20px;	
}

/* TILED GALLERIES */

.entry-content .tiled-gallery {
	margin: 50px auto 50px auto;
}

/* Inputs ------------------------------------ */

fieldset {
    border: 1px solid rgba( 0, 0, 0, .15 );
	padding: 25px;
}

fieldset legend {
    font-size: 14px;
	font-weight: 500;
	padding: 0 15px;
}

label {
	font-size: 14px;
    margin-bottom: 8px;
}

textarea,
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="text"],
input[type="url"] {
	background: #fff;
	border-radius: var(--border-radius);
    border: 1px solid var(--gray-300);
	box-shadow: none;
    color: var(--text-color);
	display: block;
	font-family: inherit;
	font-size: 15px;
    padding: 10px;
	transition: border-color .15s ease-in-out;
	-webkit-appearance: none;
    width: 100%;
}

input[type="number"] {
	-webkit-appearance: initial;
}

textarea {
    line-height: 1.5;
	height: 200px;
}

textarea:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus {
	outline: none;
	border-color: var(--primary);
}

select {
	background: #fff url( ../svg/chevron-down-black.svg ) no-repeat;
	background-position: calc( 100% - 14px ) center;
	border-radius: var(--border-radius);
	border: 1px solid var(--gray-300);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 40px 10px 12px;
	-webkit-appearance: none;
	width: 100%;
	transition: border-color .15s ease-in-out;
}

select:focus {
	outline: none;
	border-color: var(--primary);
}

button,
.button,
input[type="button"],
input[type="submit"] {
	background: #1ca1a9;
    border: none;
	border-radius: var(--border-radius);
    color: #fff;
    display: inline-block;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0;
	min-width: 115px;
	padding: 14px 21px 14px;
	text-align: center;
	transition: opacity .15s linear;
	box-shadow: var(--shadow);
	-moz-appearance: none;
	-webkit-appearance: none;
}

.mejs-container button {
	min-width: auto;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	cursor: pointer;
	opacity: 0.75;
	text-decoration: none;
}

button:disabled,
.button.disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled {
	background: var(--gray-400);
	cursor: default !important;
}

button:disabled:hover,
.button.disabled:hover,
input[type="button"]:disabled:hover,
input[type="submit"]:disabled:hover {
	opacity: 1;
}

button.white,
.button.white,
input[type="button"].white,
input[type="submit"].white {
	background: #fff;
    color: #111;
}

/* SELECT 2 */

.select2-container {
	font-size: 15px;
	margin-bottom: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #111;
}

.select2-container--default .select2-selection--single {
		-ms-flex-align: center;
		-webkit-box-align: center;
		-webkit-align-items: center;
	align-items: center;
	border-color: #ddd;
	border-radius: 2px;
		display: -ms-flexbox;
		display: -webkit-box;
		display: -webkit-flex;
	display: flex;
	height: 48px;
	position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	padding: 0 20px 0 16px;
	width: 100%;
}
