/*
Theme Name: Third Eye Comics
Theme URL: http://www.thirdeyecomics.com
Author: Bright Light Media
Author URL: http://brightlightmedia.co/
Description: Third Eye Comics website theme.
Version: 1.0
*/

@import url("css/plugins-revised.css");
@import url("css/ubermenu-revised.css");

/* ==========================================================================
   Default stylings from HTML5 Boilerplate
   ========================================================================== */

/* Apply a natural box layout model to all elements - http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Using rem font sizing (Root em’s) with fallback to px for ie8 and below - http://snook.ca/archives/html_and_css/font-size-with-rem */
body { margin: 0; font-size: 16px; font-size: 1rem; line-height: 1.5; font-weight: 400; }

::-webkit-selection { background: #5784FE; color: #FFF; text-shadow: none; }
::-moz-selection { background: #5784FE; color: #FFF; text-shadow: none; }
::selection { background: #5784FE; color: #FFF; text-shadow: none; }

a { color: #CF3939; text-decoration:none; }
a:visited { color: #CF3939; }
a:hover { color: #9E2A2A; text-decoration:none; }

menu { padding: 0; }

td { vertical-align: top; }


/* ==========================================================================
   Basic page styles
   ========================================================================== */

body { 
	background-color:#FFF;
	margin: 0 auto;
	padding: 0;
	font: 16px proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 400;
	-webkit-hyphens:manual;
	-moz-hyphens:manual;
	hyphens:manual;
	color: #9E2A2A;
	text-align: left;
}


/* Set the default behavior for touch-based browsing in IE10 on devices running Windows 8 */
canvas {
	-ms-touch-action: double-tap-zoom;
}

/* Make sure videos and embeds fit their containers */
embed, iframe, object, video {
    max-width: 100%;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Responsive images */
img {
	border: 0;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Header */
h1, h2, h3, h4, h5, h6 {
	font-family: quatro, sans-serif;
	font-style: normal;
	font-weight: 700;
	color: #000;
	margin-top: 0;
	-webkit-hyphens:manual;
	-moz-hyphens:manual;
	hyphens:manual;
}

h1 {
	margin-bottom: 20px;
	font-size: 45px;
	line-height: 1.5;
}

h2 { 
	margin-bottom: 10px;
	font-size: 36px;
	line-height: 1.5;
}

h3 { 
	margin-bottom: 20px;
	font-size: 24px;
	line-height:1.5;
}

h4 { 
	margin-bottom: 21px;
	font-size: 18px;
	line-height: 1.25;
	text-transform:none;
}

h5 { 
	margin-bottom: 5px;
	font-size: 18px;
	line-height: 1.5;
}

h6 { 
	margin-bottom: 5px;
	font-size: 16px;
	line-height: 1;
}

hr, hr.wp-block-separator {
	background-color: #DDD!important;
	border: 0;
	height: 1px;
	margin: 48px auto;
	width: 100%;
	max-width: 1400px;
}

.site-content ol, ul {
	padding-top: 20px;
	padding-bottom: 20px;
}

p, ol, ul, dl, address {
	margin: 0 0 20px 0;
	font-size: 18px;
	line-height: 2;
	-webkit-hyphens:manual;
	-moz-hyphens:manual;
	hyphens:manual;
}

ul ul, ul ol, ol ol, ol ul {
	margin-bottom: 0;
}

dt {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 400;
}

b, strong { 
	font-style: normal;
	font-weight: 700;
}

em {
	font-style: italic;
	font-weight: 400;
}

strong em, b em {
	font-style: italic;
	font-weight: 700;
}

ins {
	background: none repeat scroll 0 0 #FFF9C0;
	text-decoration: none;
}

a { 
	color: #CF3939;
	text-decoration:none;
	outline: none;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

a:visited { 
	color: #CF3939;
}

a:focus { 
	outline: thin dotted;
	color: #9E2A2A;
}

a:hover, a:active { 
	outline: 0;
	color: #9E2A2A;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

.alignleft {
	display: inline;
	float: left;
	margin: 0 20px 16px 0;
	margin: 0 1.25rem 1rem 0;
}

.alignright {
	display: inline;
	float: right;
	margin: 0 0 16px 20px;
	margin: 0 0 1rem 1.25rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	margin-top: 0;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

blockquote {
	max-width: 1000px;
	margin: 60px auto 60px auto;
	padding: 40px 0 40px 40px;
	text-align:left;
	border-left: 5px #000 solid;
}

blockquote.pull-right {
	margin: 0 auto;
	padding: 0;
	float: none;
}

blockquote.first{
	margin: 0 auto;
}

blockquote p {
	font-family: quatro, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 30px;
	font-style: italic;
	line-height: 1.5;
	margin-bottom:0;
}

blockquote strong {
	font-weight: 500;
	font-size: 24px;
	padding-bottom: 15px;
}

blockquote.pull-right p,
blockquote.pull-right small {
	text-align:center;
}

blockquote cite:before {
	content: "";
}

blockquote cite {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	font-size: 1.275rem;
	line-height: 1.125;
	color: #838383;
	display: block;
}

.quote-box blockquote {
	margin:0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

code, pre {
	border-radius: 3px;
	color: #707070;
	font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
	font-size: 12px;
	font-size: 0.75rem;
	padding: 0 3px 2px;
	padding: 0 0.1875rem 0.125rem;
}

code {
	background-color: #f7f7f9;
	border: 1px solid #e1e1e8;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
}

abbr,
dfn,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
	padding: 0.25rem;
}

.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-family: proxima-nova, sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #777;
	text-align: center;
}

img.wp-smiley, .rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.entry-content dl.gallery-item {
	margin: 0;
}

.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}

.gallery .gallery-icon img {
	height: auto;
}

#primary .entry-content [id^="gallery-"] img {
	border: none;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.menu-toggle, button, input {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem; 
	line-height: 1.25;
	margin: 0;
	font-size: 100%;
	vertical-align: middle;
}

.menu-toggle, button, input {
	*overflow: visible;
	line-height: normal;
}

.menu-toggle::-moz-focus-inner,
button::-moz-focus-inner,
input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="button"] {
	width: auto;
}

.menu-toggle {
	display: inline-block;
	*display: inline;
	width: 100%;
	margin:0;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: #FFF;
	text-align: right;
	vertical-align: middle;
	text-decoration:none;
}

.menu-toggle:hover, .menu-toggle:active, .menu-toggle:focus {
	color: #CF3939;
}

.btn,
input[type="submit"] {
	font-family: quatro, sans-serif;
	font-weight: 700;
	display: inline-block;
	*display: inline;
	padding: 10px 30px;
	margin-bottom: 0;
	*margin-left: .3em;
	font-size: 14px;
	line-height: 1.25;
	letter-spacing: 3px;
	background: #CF3939;
	color: #FFF;
	text-align: center;
	text-transform: uppercase;
	vertical-align: middle;
	cursor: pointer;
	border: 3px solid #CF3939;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

a.btn {
	color: #FFF;
	text-decoration: none;
}

.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
	color: #FFF;
	background: #9E2A2A;
	border: 3px #9E2A2A solid;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

.btn:first-child {
	*margin-left: 0;
}

.btn:hover,
input[type="submit"]:hover {
	color: #FFF;
	background: #9E2A2A;
	border: 3px #9E2A2A solid;
	text-decoration: none;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

.menu-toggle:focus,
.btn:focus,
input[type="submit"]:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.btn.active,
.btn:active,
input[type="submit"]:active {
	outline: 0;
	position:relative;
	top:1px;
}

.btn.disabled, .btn[disabled] {
	cursor: default;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
}

.btn.disabled:active, .btn[disabled]:active {
	top:0;
}

button.btn, input[type="submit"].btn {
	*padding-top: 2px;
	*padding-bottom: 2px;
}

button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.btn-large,
input[type="submit"].btn-large {
	padding: 10px 15px;
	padding: 0.625rem 0.9375rem;
	font-size: 20px;
	font-size: 1.25rem;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.btn-small,
input[type="submit"].btn-small {
	padding: 5px 9px;
	padding: 0.3125rem 0.5625rem;
	font-size: 13px;
	font-size: 0.8125rem;
}

/* Form fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
	font-family: inherit;
	padding: 8px;
	padding: 0.5rem;
	font-family: inherit;
	border: 1px solid #CCC;
	border-radius: 3px;
}

select {
	max-width: 100%;
}

/* Small headers */
.archive-title,
.page-title,
.entry-content th,
.comment-content th {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	text-transform: uppercase;
}


/* ==========================================================================
   Object Fit - IE Fix
   ========================================================================== */
   
.no-objectfit .portfolio-thumb img,
.no-objectfit .page-titlearea img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* ==========================================================================
   GUTENBERG - BUTTONS
   ========================================================================== */

.site-content .wp-block-button__link, .site-content .wp-block-button__link:visited {
	font-family: quatro, sans-serif;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 3px;
	color: #FFF;
	background: #CF3939;
	padding: 10px 30px;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 00.5s;
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

.site-content .wp-block-button__link:hover, .site-content .wp-block-button__link:focus {
	color: #FFF;
	background: #9E2A2A;
	cursor: pointer;
	text-decoration: none;
	-webkit-transition: all 00.5s;
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}



/* ==========================================================================
   GUTENBERG - ADDITIONAL STYLES
   ========================================================================== */

.site-content .wp-block-table {
}

.site-content .wp-block-table tr {
	border-bottom: 1px #CECECE solid;
}

.site-content .wp-block-table td {
	padding: 15px 10px;
}

.site-content figure.wp-block-image {
	margin: 0 0 20px 0;
}

figure.wp-block-image.border-top, figure.wp-block-image.border-right, figure.wp-block-image.border-left, .border-bottom, .no-border .wp-block-column {
	margin: 0;
	padding: 0;
} 

.image-breakout .wp-block-cover, .image-breakout .wp-block-cover-image, .image-breakout .wp-block-image {
	margin: 0;
}

/* ==========================================================================
   LOGO
   ========================================================================== */
   
#logo {
	margin: 0;
	float: left;
}

#logo a {	
	text-decoration: none;
}

#logo img {	
	height: 100px;	
	line-height: 100px;	
	width: 228px;
	display: block;
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
    transition: all 0.5s;
}

/* ==========================================================================
   HEADER SMALLER
   ========================================================================== */

#headercontainer.smaller {
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
    transition: all 0.5s;
}

#headercontainer.smaller #logo img {	
	height: 85px;	
	line-height: 85px;	
	width: 193px;
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
    transition: all 0.5s;
}

#headercontainer.smaller #mainnav {
	margin-top:22px;
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
    transition: all 0.5s;
}

/* ==========================================================================
   PORTFOLIO FEEDS
   ========================================================================== */

.portfolio-feed {
	width:100%;
	padding: 0;
	margin: 0 auto;
}

.portfolio-feed ul {
	list-style: none outside none;
	padding:0;
	margin:0;
}

.portfolio-feed ul li {
	padding:0;
	margin:0;
	line-height:0;
}

.portfolio-feed li.portfolio-grid-box {
	width:32%;
	height:400px;
	margin: 0 2% 0 0;
	overflow: hidden;
	position:relative;
	display:block;
	float:left;
}

.portfolio-feed li.portfolio-grid-box:nth-child(3n) {
	width:32%;
	margin: 0;
}

li.portfolio-grid-box .portfolio-thumb {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	background: #FFF;
	position: relative;
	overflow: hidden;
}

li.portfolio-grid-box .portfolio-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-ms-transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
	transform: scale(1, 1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.portfolio-grid-box .portfolio-thumb:hover img {
	-ms-transform: scale(1.1, 1.1);
	-webkit-transform: scale(1.1, 1.1);
	transform: scale(1.1, 1.1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay {
	background-color: rgba(0, 0, 0, 0.40);
	text-shadow: none;
	color: #666;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay:hover {
	background-color: rgba(35, 194, 183, 0.50);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay .overlay-inner {
	display: table;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	padding: 1.3em;
}

li.portfolio-grid-box .portfolio-thumb .portfolio-overlay .overlay-inner .overlay-content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.portfolio-overlay h3 {
	margin: 0;
	font-style: normal;
	font-weight: 700;
	font-size: 24px;
	text-transform: uppercase;
	color:#FFF;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}


/* ==========================================================================
   SITE SPECIFIC STYLES
   ========================================================================== */

#wrapper {
	width: 100%;
	position: relative;
	text-align: left;
}

#headercontainer {
	width: 100%;
	background: #000;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
    transition: all 0.5s;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.5);
}

.site-header {
	clear: both;
	width: 95%;
	margin: 0 auto;
	padding: 0;
	color: #FFF;
	position:relative;
	z-index:1000;
}

.site-title h1 {
	margin-top: 20px;
	margin-top: 1.25rem;
}

.site-title img {
	vertical-align: text-bottom;
}

.site-title a {
	color: #333;
	font-size: 64px;
	font-size: 4rem;
	text-decoration: none;
}

#maincontentcontainer {
	width: 100%;
	margin-top: 100px;
}

body.page-template-front-page #maincontentcontainer {
	margin-top: 0;
}

/* ==========================================================================
   MAIN BANNER
   ========================================================================== */

.main-banner {
    position:relative;
    width:100%;
    height: auto;
    margin:0 auto;
}

.main-banner img {
    width: 100%;
    height: auto;
}

#banner-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.banner-overlay-inner {
    display: table;
    padding: 0;
    width: 100%;
    height: 100%;
}

.banner-inner-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
	padding: 0;
}

.banner-inner-content h1 {
	background: none;
    font-size: 55px;
	text-transform: uppercase;
    line-height: normal;
    color: #FFF;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
	padding: 0;
}

a.welcome-arrow, a.welcome-arrow:visited {
	font-size: 40px;
	color: #FFF;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;	
}

a.welcome-arrow:hover, a.welcome-arrow:focus {
	color: #CF3939;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;	
}

.video1 {
    display: block;
}

.video2 {
    display: none;
}

/* ==========================================================================
   PAGE TITLE AREA
   ========================================================================== */

.page-titlearea {
    position:relative;
    width:100%;
    height: 500px;
    margin:0 auto;
	z-index: 1;
}

.page-titlearea img {
	display: block;
	vertical-align: middle;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#titlearea-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    text-align: center;
}

.titlearea-overlay-inner {
    display: table;
    padding: 0;
	width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.50);
}

.titlearea-inner-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.titlearea-inner-content h1 {
	font-family: refrigerator-deluxe, sans-serif;
	font-weight: 900;
    font-size: 70px;
	text-transform: uppercase;
    line-height: normal;
    color: #FFF;
	width: 90%;
	max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   BODY STYLES
   ========================================================================== */

body.page-template-front-page .site-content, body.page-template-front2-page .site-content, body.page-template-nogrid-page .site-content {
	max-width: 100%;
	width: 100%;
	padding: 0;
}

body.page-template-faq-page .site-content, body.page-template-form-page .site-content {
	max-width: 900px;
}

body.search .page-titlearea, body.blog .page-titlearea {
    height: 300px;
}

/* ==========================================================================
   BLOG SINGLE TEMPLATE CONTENT STYLES
   ========================================================================== */

body.single .site-content {
	max-width: 800px;
}

.share-block {
	text-align: right;
	padding: 20px 0;
}

body.single-post h1.blog-title {
	font-size: 40px;
	line-height: 1.25;
	margin-bottom: 20px;
}

body.single-post p.blog-date {
	font-size: 14px;
	margin: 0;
	color: #7D7D7D;
}

.red-line {
	width: 20%;
	height: 3px;
	background: #CF3939;
	margin: 0 0 30px 0;
}

/* ==========================================================================
   BLOG STYLES
   ========================================================================== */

p.blog-date {
	margin: 0;
}

.blog-image {
	margin-bottom: 30px;
}

.blog-article-container {
	padding-bottom: 60px;
	margin-bottom: 60px;;
	border-bottom: 1px #CCC solid;
}

.blog-article-container .blog-image {
	margin: 0;
}


/* ==========================================================================
   MAIN SITE STRUCTURE
   ========================================================================== */

.site-content {
	clear: both;
	width: 90%;
	font-size: 16px;
	font-weight: 400;
	max-width: 1200px;
	margin: 0 auto;
	padding:80px 0px;
	color: #000;
	line-height: 2;
	position: relative;
	z-index: 1;
	-webkit-hyphens:manual;
	-moz-hyphens:manual;
	hyphens:manual;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

.homepage-titles {
	width: 90%;
	padding: 60px 5%;
	margin: 0 auto;
	text-align: center;
}

.homepage-titles h1 {
	margin: 0;
}

/* ==========================================================================
   CUSTOM FEED BLOCKS
   ========================================================================== */

.customblock-feed {
	width:100%;
	max-width: 900px;
	padding: 0 0 60px 0;
	margin: 0 auto;
}

.customblock-feed ul {
	list-style: none outside none;
	padding:0;
	margin:0;
}

.customblock-feed ul li {
	padding:0;
	margin:0;
	line-height:0;
}

.customblock-feed li.customblock-grid-box {
	width:49%;
	height:600px;
	margin: 0 2% 20px 0;
	overflow: hidden;
	position:relative;
	display:block;
	float:left;
}

.customblock-feed li.customblock-grid-box:nth-child(2n+0), .customblock-feed li.customblock-grid-box:nth-child(3n+0) {
	width:49%;
	height:290px;
	margin: 0 0 20px 0;
}

.customblock-feed li.customblock-grid-box:nth-child(3n+0) {
	margin: 0;
}

li.customblock-grid-box .customblock-thumb {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 auto;
	background: #FFF;
	position: relative;
	overflow: hidden;
}

li.customblock-grid-box .customblock-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-ms-transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
	transform: scale(1, 1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.customblock-grid-box .customblock-thumb:hover img {
	-ms-transform: scale(1.1, 1.1);
	-webkit-transform: scale(1.1, 1.1);
	transform: scale(1.1, 1.1);
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

li.customblock-grid-box .customblock-thumb .customblock-overlay {
	background-color: rgba(0, 0, 0, 0.3);
	text-shadow: none;
	color: #666;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

li.customblock-grid-box .customblock-thumb .customblock-overlay:hover {
	background-color: rgba(0, 0, 0, 0.7);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

li.customblock-grid-box .customblock-thumb .customblock-overlay .overlay-inner {
	display: table;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	padding: 1.3em;
}

li.customblock-grid-box .customblock-thumb .customblock-overlay .overlay-inner .overlay-content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.customblock-overlay h3 {
	font-size: 30px;
	color:#FFF;
	padding: 0;
	margin: 0;
	text-shadow:0px 0px 10px rgba(0,0,0,0.75);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

/* ==========================================================================
   SOCIAL MEDIA
   ========================================================================== */

/* Social Media icons */
.social-media-icons {
	text-align:right;
	margin:0;
}

.social-media-icons ul {
	list-style: none;
	margin:0;
	padding: 0;
}

.social-media-icons li {
	display: inline-block;
	margin: 0 20px;
	text-align: center;
	line-height: normal;
}

.social-media-icons a {
	font-size:30px;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

.social-media-icons a, .social-media-icons a:visited {
	color:#FFF;
	text-decoration: none;
}

.social-media-icons a:hover, .social-media-icons a:active { 
	color: #CF3939;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */

#mainnav {
	padding:0;
	float:right;
	margin-top:30px;
	-webkit-transition: all 0.5s; 
	-moz-transition: all 0.5s; 
    transition: all 0.5s;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.entry-meta {
	clear: both;
}

.entry-header .entry-title a {
	color: #CF3939;
	text-decoration: none;
}

.entry-header h1 a:visited {
	color: #CF3939;
}

.entry-header h1 a:hover {
	color: #CF3939;
}

.site-content article {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	-ms-word-wrap: break-word;
	-webkit-hyphens: auto;
	word-wrap: break-word;
}

.header-meta {
	margin-bottom: 15px;
	padding:0;
	*zoom: 1;
}

.header-meta:before,
.header-meta:after {
	content: "";
	display: table;
}

.header-meta:after { clear: both; }

.header-meta a {
	text-decoration:none;
}

.header-meta a:visited {
	color: #333;
}

.header-meta a:hover {
	color: #2997ab;
}

.entry-content {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	*zoom: 1;
}

.entry-content:before,
.entry-content:after {
	content: "";
	display: table;
}

.entry-content:after { clear: both; }

.post-categories a,
.post-tags a {
	font-size: 14px;
	font-size: 0.875rem;
	background-color: #333;
	color: #fff;
	padding: 0 5px;
	padding: 0 0.3125rem;
	margin: 0 3px 0 0;
	margin: 0 0.1875rem 0 0;
	display: inline;
	text-decoration: none;
}

.post-categories a:visited,
.post-tags a:visited {
	color: #fff;
}

.post-categories a:hover,
.post-tags a:hover {
	background-color: #2997ab;
	color: #fff;
}

.entry-header address,
.comment-content address {
	font-family: proxima-nova, sans-serif;
	font-style: italic;
	font-weight: 400;
	display: block;
}

.entry-header address {
	display: inline;
}

.entry-header time,
.entry-header address {
	font-family: proxima-nova, sans-serif;
	font-weight: 400;
	font-size: 12px;
	font-size: 0.675rem;
	margin: 0 20px 0 0;
	margin: 0 1.25rem 0 0;
}

.page-links {
	clear: both;
	line-height: 1.75;
	color: #333;
}

.page-links .page-numbers {
	background-color: #333;
	border: 1px solid #333;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
	color: #fff;
}

.page-links a {
	text-decoration: none;
}

.page-links a .page-numbers {
	background-color: transparent;
	color: #333;
}

.page-links a:hover .page-numbers {
	background-color: #2997ab;
	color: #fff;
}

.page-numbers .fa {
	font-size: 12px;
}

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

.post-edit-link {
	text-decoration: none;
}

.entry-content dl,
.comment-content dl {
	margin: 0 24px;
	margin: 0 1.5rem;
}

.entry-content dt,
.comment-content dt {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
}

.entry-content dd,
.comment-content dd {
	line-height: 1.5;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ccc;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	width: 100%;
}

.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
}

.entry-content td,
.comment-content td {
	border-top: 1px solid #ccc;
	padding: 6px 10px 6px 0;
	padding: 0.375rem 0.625rem 0.375rem 0;
}

.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul {
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	line-height: 1.5;
	padding: 0;
}

.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}

.entry-content ul,
.comment-content ul {
	list-style: disc outside;
}

.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}

.entry-content li,
.comment-content li {
	margin: 0 0 0 28px;
	margin: 0 0 0 1.75rem;
}

/* ==========================================================================
   PRE-FOOTER
   ========================================================================== */

.pre-footercontainer {
	width: 100%;
	border-top: 10px #A4CD3B solid;
	background-color: #000;
	color: #FFF;
	padding: 60px 0 40px 0;
	margin: 0 auto;
	position: relative;
}

.footer-logo {
	max-width: 200px;
	text-align: center;
	margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footercontainer {
	width: 100%;	
	background:#000;
	position: relative;
	line-height: 1.5;
}

.footercontainer p {
	line-height: 1;
}

.site-footer {
	clear: both;
	width: 90%;
	font-weight: 400;
	max-width: 1400px;
	margin: 0 auto;
	padding:15px 0px;
	color: #FFF;
	line-height: 2;
	position: relative;
	z-index: 1;
	-webkit-hyphens:manual;
	-moz-hyphens:manual;
	hyphens:manual;
}

.smallprint {
	color: #FFF;
}

.smallprint p {
	font-family: proxima-nova, sans-serif;
	font-weight:400;
	font-size: 12px;
	line-height:42px;
	margin-bottom:0;
}

.smallprint a, .smallprint a:visited { 
	color: #CF3939;
	text-decoration:none;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

.smallprint a:hover, .smallprint a:focus { 
	color: #9E2A2A;
	text-decoration:none;
	-webkit-transition: all 00.5s; 
	-moz-transition: all 00.5s;
    transition: all 00.5s;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-area {
	-moz-hyphens: auto;
	-ms-word-break: break-all;
	-webkit-hyphens: auto;
	hyphens: auto;
	word-wrap:break-word;
	word-break: break-word;
	margin-bottom: 48px;
}

.widget-area ul {
	list-style: none outside none;
	padding: 0;
	line-height: 2;
}

h2.widgettitle, .widget-area h3, .pre-footercontainer h3 {
	margin-bottom: 0;
	font-size: 21px;
	line-height:1.5;
	color: #FFF;
	text-transform: uppercase;
}

.widget-content {
	padding: 0;
	word-wrap: normal;
}

.widget-area ul a, .widget-area ul a:visited {
	color:#FFF;
	text-decoration:none;
}

.widget-area ul a:hover, .widget-area ul a:focus {
	color:#CF3939;
	text-decoration:none;
}

.widget select {
	margin-left: 1px;
	margin-left: 0.0625rem;
}

.widget-area .widget ul ul {
	margin-left: 12px;
	margin-left: 0.75rem;
}

.widget_rss li {
	margin: 12px 0;
	margin: 0.75rem;
}

.widget_recent_entries .post-date,
.widget_rss .rss-date {
	font-size: 12px;
	font-size: 0.75rem;
	margin-left: 12px;
	margin-left: 0.75rem;
}

#wp-calendar {
	margin: 0;
	width: 100%;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
}

#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: center;
}

#wp-calendar thead {
	border-top: 1px solid #AAA;
	border-bottom: 1px solid #AAA;
}

#wp-calendar caption {
	font-family: proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

#wp-calendar #today {
	background-color: #ddd;
}

#wp-calendar tfoot {
	border-top: 1px solid #AAA;
	border-bottom: 1px solid #AAA;
}

#wp-calendar #next {
	padding-right: 24px;
	padding-right: 1.5rem;
	text-align: right;
}

.widget_search label {
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.widget_twitter li {
	list-style-type: none;
}

.widget_twitter .timesince {
	display: block;
	text-align: right;
}

/* ==========================================================================
   Content Navigation
   ========================================================================== */

.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}

#nav-above {
	padding: 24px;
	padding: 1.5rem;
}

#nav-above {
	display: none;
}

.paged #nav-above {
	display: block;
}

.nav-previous,
.previous-image {
	float: left;
	width: 50%;
	line-height: 1.3;
}

.nav-previous a,
.nav-next a {
	text-decoration: none;
}

.nav-next,
.next-image {
	float: right;
	text-align: right;
	width: 50%;
	line-height: 1.3;
}

.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 48px 48px 0;
	margin: 3rem 3rem 3rem 0;
}

ul.page-numbers {
	padding: 0;
	margin: 60px 0 0 0;
	text-align: center;
	line-height: 2;
}

li a.page-numbers,
li span.page-numbers {
	padding: 0;
	margin: 0 10px;
	color:#CF3939;
	text-decoration: none;
}

li a:visited.page-numbers {
	color: #CF3939;
}

li a:hover.page-numbers {
	color: #9E2A2A;
}

li a:hover.prev,
li a:hover.next {
	color:#9E2A2A;
}

.page-numbers li {
	display: inline;
}

li span.current {
	color: #9E2A2A;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

/*  Breakpoints are set based on the design, not based on device sizes */
@media only screen and (max-width: 1290px) {
	#headercontainer .site-header, #headercontainer.smaller .site-header {
		width:100%;
		max-width: 100%;
		height:65px;
	}
	#logo {
		margin-left:10px;
		z-index:4000;
		float:none;
		position:absolute;
	}
	.menu-toggle .fa {
		margin-right: 10px;
	}
	#logo a {
		display:block;
		width:100%;
	}
	#headercontainer #logo img, #headercontainer.smaller #logo img {
		height: 65px;	
		line-height: 65px;	
		width: 148px;
	}
	#headercontainer .site-header, #headercontainer.smaller .site-header {
		width:100%;
		max-width: 100%;
		height:65px;
	}
	#maincontentcontainer, body.page-template-front-page #maincontentcontainer {
		margin-top: 65px;
	}
	.banner-inner-content h1 {
		font-size: 50px;
	}	
	#mainnav {
		width:100%;
		margin-top:18px;
	}
	#mainnav, #headercontainer.smaller #mainnav {
		position:absolute;
	}
}

@media only screen and (max-width: 900px) {
	#pre-footercontainer h1 {
		font-size: 50px;
		width: 90%;
		text-align: center;
	}
	h1 {
		font-size: 35px;
	}
	.site-content {
		padding: 40px 0;
	}
	.smallprint p {
		margin-bottom: 10px;
		text-align: center!important;
	}
	.social-media-icons {
		text-align:center;
	}
	.social-media-icons li {
		margin: 0 10px;
	}
	.view-all-container {
		background: none;
		background: #188780;
		padding: 30px 0;
		text-align: center;
		margin: 0;
	}
	.view-all-container a, .view-all-container a:visited {
		padding: 0;
	}	
}
@media only screen and (max-width: 767px) {
	.grid_1_of_12,
	.grid_2_of_12,
	.grid_3_of_12,
	.grid_4_of_12,
	.grid_5_of_12,
	.grid_6_of_12,
	.grid_7_of_12,
	.grid_8_of_12,
	.grid_9_of_12,
	.grid_10_of_12,
	.grid_11_of_12,
	.grid_12_of_12 {
		width: 100%; 
	}
	.col {
		margin: 0;
	}
    .main-banner {
        height: 400px;
        display: block;
        overflow: hidden;
    }
    .main-banner img {
        display: block;
        vertical-align: middle;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
	.banner-inner-content {
		padding: 0;
	}
    .banner-inner-content h1 {
        font-size:30px;
    }
	.video1 {
        display: none;
    }
	.video2 {
        display: block;
    }
	.site-content {
		padding: 60px 0;
	}
	blockquote p {
		font-size: 18px;
	}
	.site-content {
		width: 90%;	
	}
	.site-content .wp-block-column {
		flex-basis: 100%;
	}
	.wp-block-column:not(:first-child), .wp-block-column:nth-child(2n) {
		margin-left: 0;
	}
	.titlearea-inner-content h1 {
		font-size: 40px;
	}
	#pre-footercontainer {
		text-align: center;
	}
	.pre-footercontainer img {
		max-width: 100px;
		display: block;
		margin: 0 auto;
	}
	.widget-area {
		text-align: center;
	}
}

@media only screen and (max-width: 650px) {	
	.customblock-feed li.customblock-grid-box, .customblock-feed li.customblock-grid-box:nth-child(2n+0), .customblock-feed li.customblock-grid-box:nth-child(3n+0) {
		width:100%;
		height: 300px;
		margin: 0 0 10px 0;
	}
}


/* ==========================================================================
   Non-semantic helper classes from HTML5 Boilerplate
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
.clear {clear:both;}

/* ==========================================================================
   Print styles from HTML5 Boilerplate
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
