/*!
Theme Name: Onsite
Theme URI: http://onsite.incolink.com.au/
Author: Elliot Kidd
Author URI: http://rouleurmade.com
Description: Theme for Onsite
Version: 1.0.0
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
    font-size: 16px;
    font-size: 1em;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

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

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/


body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
    font-family: 'Oswald', sans-serif;
}

p {
	margin-bottom: 1.5em;
    font-family: 'Open Sans', sans-serif;
    color: #58595b;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background-color: #f1f2f2;;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 0;
	background: #16b3a9;
	color: #fff;
	font-size: 0.825em;
	line-height: 1;
	padding: 15px;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #16b3a9;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 0;
    font-size: 0.825em;
	padding: 10px 15px;
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.cm__label {
    display: none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/


.site-header {
    background-color: #bd2227;
    position: fixed;
    width: 100%;
    min-height: 60px;
    z-index: 999;
}

@media screen and (max-width: 991px) {
    .site-header {
        position: relative;
    }
}

.site-header__logo {
    max-width: 176px;
    position: absolute;
}

.site-content {
    padding-top: 100px;
    background-image: url(img/bg-texture.png);
    background-repeat: repeat-x;
}

@media screen and (max-width: 991px) {
    .site-content {
        padding-top: 30px;
    }
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #035b9c;
    text-decoration: none;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}

a:visited {
	color: #035b9c;
}

a:hover, a:focus, a:active {
	color: #2f89b7;
}

a:focus {
	outline: none;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.container>.-t-collapse {
    margin-left: 0;
    margin-right: 0;
}

.main-navigation, .container>.navbar-collapse  {
	clear: both;
	float: left;
    background-color: #bd2227;
    margin-left: 200px;
    width: calc(100% - 200px);
    position: relative;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.8125em;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;

}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a, .main-navigation a:visited {
	display: block;
	text-decoration: none;
    color: #fff;
    padding: 20px 10px;
    margin: 0;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}

.main-navigation a:hover, .main-navigation a:active {
    background: #9a181b;
}


@media screen and (max-width: 991px) {
	.menu-toggle {
		display: none;
	}
    
    .main-navigation, .container>.navbar-collapse  {
        margin-left: 0px;
        margin-top: 100px;
        width: 100%;
    }
    
	.main-navigation ul {
		display: block;
	}
    .main-navigation li {
        float: none;
        position: relative;
        border-top: 1px solid #9a181b;
    }
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


.navbar-toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 12px 12px;
    margin: 0;
    font-size: 1em;
    background-color: #fff;
    color: #9a181b;
    border: 1px solid transparent;
    border-radius: 4px;
    width: auto;
}

.navbar-toggle:hover, .navbar-toggle:focus, .navbar-toggle:active {
    background: #fff;
}

.navbar-collapse {
    padding: 0;

}

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
 
.sb-search {
	position: absolute;
	width: 0%;
	min-width: 60px;
	height: 60px;
	float: right;
	overflow: hidden;
    right: 0;
	-webkit-transition: width 0.3s;
	-moz-transition: width 0.3s;
	transition: width 0.3s;

	-webkit-backface-visibility: hidden;
}

@media screen and (max-width: 991px) {
    .sb-search {
        position: relative;
        width: 100%;
    }
}

.sb-search-input {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	outline: none;
	background: #9a181b;
	width: 100%;
	height: 60px;
	margin: 0;
	z-index: 10;
	
	font-family: inherit;
	font-size: 1em;
	
}

input[type="search"].sb-search-input {
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
    padding: 20px 65px 20px 20px;
    border: none;
    color: #fff;
}

.sb-search-input::-webkit-input-placeholder {
	color: #fff;
    opacity: 0.6;
}

.sb-search-input:-moz-placeholder {
	color: #fff;
    opacity: 0.6;
}

.sb-search-input::-moz-placeholder {
	color: #fff;
    opacity: 0.6;
}

.sb-search-input:-ms-input-placeholder {
	color: #fff;
    opacity: 0.6;
}

.sb-icon-search,
.sb-search-submit  {
	width: 60px;
	height: 60px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
	margin: 0;
	line-height: 60px;
	text-align: center;
	cursor: pointer;
}

.sb-search-submit {
	background: #fff; /* IE needs this */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    filter: alpha(opacity=0); /* IE 5-7 */
    opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
}

.sb-icon-search {
	color: #fff;
	background: none;
	z-index: 90;
	font-size: 22px;

	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}

.sb-icon-search::before {
  	content: url('./img/search.svg');
	display: block;
	position: absolute;
	left: 16px;
	width: 24px;
}

.sb-search.sb-search-open,
.no-js .sb-search {
	width: 100%;
}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
	background: none;
	color: #fff;
	z-index: 11;
}

.sb-search.sb-search-open .sb-search-submit,
.no-js .sb-search .sb-search-submit {
	z-index: 90;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}


.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
    padding: 30px;
    background: #fff;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.page-title {
   margin-top: 0; 
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/*--------------------------------------------------------------
## Featured
--------------------------------------------------------------*/

.featured-posts {
    
}

.featured-posts__wrapper {
    margin-bottom: 50px;
    margin-top: -40px;
}

.featured {
    position: relative;
}


.featured__image-container {
    width: 100%;
    background: #333;
    position: relative;
    overflow: hidden;
    
}
.featured__image-container:after {
    content: "";
    display: block;
    padding-bottom: 64%;
    position: relative;
}

.featured-posts .featured__image-container:after {
    content: "";
    display: block;
    padding-bottom: 40%;
    position: relative;
}

.featured__image {
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right:0;
    background: no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}

.featured__image:hover {
    transform: scale(1.1);
}

.featured__content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 60%;
    background: rgba(0,0,0,0.7);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.featured__content {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    transform: translateY(-50%);
}

.featured__category-name {
    display: inline-block;
    padding: 3px 6px;
    background: orange;
    color: #fff;
    font-size: 0.625em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 10px;
    color: #fff;
}

.featured__content-title {
    text-transform: uppercase;
    font-size: 1.5em;
    margin: 0 0 10px 0;
}

.featured__content-title a {
    color: #fff;
}

.featured__content-entry-meta {
    font-size: 0.75em;
    margin-bottom: 10px;
    color: #fff;
}

.featured__content-excerpt p {
    color: #fff
}

@media screen and (max-width: 991px) {
    .featured__content-wrapper {
        position: relative;
        top: 0;
        left: 0;
        bottom: 0;
        right: 50%;
        background: #333;
        padding: 40px;
        text-align: center;
        color: #fff;
    }
    .featured__content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
    }
}

/*--------------------------------------------------------------
## Cards
--------------------------------------------------------------*/

.flex-stretch {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.card__container {
    margin-bottom: 30px;
}

.card {
    background-color: #fff;
    position: relative;
    display: block;
    height: 100%;
}

.card__image-container {
    width: 100%;
    background: #f1f2f2;
    position: relative;
    overflow: hidden;
    
}
.card__image-container:after {
    content: "";
    display: block;
    padding-bottom: 64%;
}

.card__image {
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right:0;
    background: no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: 0.2s;
    -webkit-transition: 0.2s;
}

.card__image:hover {
    transform: scale(1.1);
}

.card__category {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    padding: 0 20px;
    pointer-events: none;
    border-bottom: 4px solid orange;
}

.card__category-name {
    display: inline-block;
    padding: 3px 6px;
    background: orange;
    color: #fff;
    font-size: 0.625em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px 2px 0 0;
}

.card__category ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.card__content {
    padding: 20px 20px 0 20px;
}



.card__content-title {
    text-transform: uppercase;
    font-size: 1.5em;
    margin: 0 0 10px 0;
}

.card__content-entry-meta {
    font-size: 0.75em;
    color: #a7a9ac;
    margin-bottom: 10px;
}

.card__link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}


.pagination {
    display: block;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
}

.page-numbers {
    border: 1px solid #035b9c;
    padding: 15px 20px;
    background: transparent;
    
    transition: 0.2s;
    -webkit-transition: 0.2s;
}

.page-numbers:hover, .current {
    background: #035b9c;
    text-decoration: none;
    color: #fff;
}

/*--------------------------------------------------------------
## Posts
--------------------------------------------------------------*/
.entry-header {
    margin-bottom: 20px;
}

.post__category-name {
    display: inline-block;
    padding: 3px 6px;
    background: orange;
    color: #fff;
    font-size: 0.625em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 5px;
}

.post__title {
    margin: 0;
    text-transform: uppercase;
    color: #035b9c;
}

.post__content-entry-meta {
    font-size: 0.75em;
    color: #a7a9ac;
}

	.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%;
	}



.other-posts__category-name {
    position: relative;
    display: block;
    
    color: #2f89b7;
    font-size: 0.825em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    z-index: 1;
    margin-top: 50px;
}

.other-posts__category-name span {
    padding: 3px 6px 3px 0;
    background: #f1f2f2;
}

.other-posts__category-name:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: '';
    height: 1px;
    width: 100%;
    background: #d1d3d4;
    z-index: -1;
}

/*--------------------------------------------------------------
## Sidebar
--------------------------------------------------------------*/

.sidebar {
    max-width: 300px;
    margin: 0 auto;
}

.social {
    
    margin-bottom: 15px;
}

.social__heading {
    font-family: 'Open Sans', sans-serif;
    color: #035b9c;
    text-transform: uppercase;
    font-size: 0.8125em;
    font-weight: 700;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 3px solid #e6e7e8;
}

@media screen and (max-width: 991px) {
    .social__heading {
        margin-top: 20px;
    }
}

.social__icons {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.social__item {
}

.social__link, .social__link:visited {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #2f89b7;
    color: #fff;
    position: relative;
}

.social__link:hover, .social__link:active {
    background: #035b9c;
    color: #fff;
}

.social__link i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.375em;
}

.ad {
    margin-bottom: 30px;
}

.sidebar__links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar__link-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e7e8;
}

.sidebar__link, .sidebar__link:visited {
    display: block;
    width: 100%;
    padding-left: 40px;

    position: relative;
    font-size: 0.875em;
}

.sidebar__link:hover, .sidebar__link:active {
    text-decoration: none;
}

.sidebar__link i {
    position: absolute;
    left: 10px;
    font-size: 1.5em;
}

/*--------------------------------------------------------------
## Signup
--------------------------------------------------------------*/

.signup {
    text-align: center;
    background-color: #035b9c;
    margin-top: 30px;
    padding: 30px 0;
    background-image: url(img/footer-bg-texture.jpg);
    background-repeat: repeat-x;
}

.signup__heading {
    color: #fff;
    font-size: 0.8125em;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}

.signup__text {
    color: #fff;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer {
    padding: 30px 0;
    background: #333;
    color: #fff;
    
}

.site-footer__heading {
    color: #fff;
    font-size: 0.8125em;
    margin-top: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}


.site-footer p, .site-footer__text, .site-footer__copyright {
    color: #fff;
    font-size: 0.8125em;
}

.site-footer__menu {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.8125em;
}

.site-footer__menu li {
    margin-bottom: 10px;
}

.site-footer__menu a,
.site-footer__menu a:visited {
    color: #fff;
    opacity: 1;
}

.site-footer__menu a:hover,
.site-footer__menu a:active {
    opacity: 0.7;
    text-decoration: none;
}

.site-footer__divide {
    background-color: #58595b;
}

.site-footer__copyright {
    margin: 0;
}

/*
 * jQuery FlexSlider v2.6.4
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0 0 20px;
  background: #333;
  position: relative;
  zoom: 1;
}
@media (max-width: 991px) {
    .flexslider {
        margin: 0 0 40px;
    }
}

.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before, .flex-direction-nav a svg {
  font-family: "Font Awesome 5 Free";
  font-size: 30px;
  display: inline-block;
  content: '\f359';
  color: rgba(255, 255, 255, 0.8);
}
.flex-direction-nav a.flex-next:before {
  content: '\f35a';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -35px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;

  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

.post-slider {
    margin-bottom: 0;
}

.slider__caption {
    background: #333;
    color: #fff;
    padding: 10px;
    margin-bottom: 0;
    font-size: 0.825em;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}
