/*Theme Name: The Wire V9
Author: Timothy Hendershot
Description: A custom theme for your site courtesy of The Branding Iron LLC.
Author URI: http://thebrandingiron.us/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
body {
    color: black;
    font-size: 18px;
    font-family: Lora,Georgia,serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-weight: normal;
    background-color: #f9faf8;
    max-width: 100%;
    overflow-x: hidden;
}

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

iframe {
    max-width: 100%;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    background-color: white;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #1c3511;
    border: 1px solid white;
}

input, button, select, textarea {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,sans-serif;
    margin: 0px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

h3 {
    font-size: 17px;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover, a:active, a:focus {
    color: inherit;
    text-decoration: none
}

.read-more {
    color: #1c3511;
}

pre, code {
    font-family: Monaco, Menlo, monospace;
    padding: 5px 10px;
    background-color: #f8f8f8;
    border: 1px solid #e2e2e2;
    overflow: scroll;
}

hr {
    border-top: 1px solid #e2e2e2;
    border-right: none;
    border-bottom: none;
    border-left: none;
    margin: 30px 0 50px 0;
}

.wp-caption {
    width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
}

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

.alignleft {
    float: left;
    display: block;
    margin-right: 10px;
}

.alignright {
    float: right;
    display: block;
    margin-left: 10px;
}

@media all and (max-width: 600px) {
    .aligncenter, .alignleft, .alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/*Object Fit*/
.object-fit {
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}

.object-fit.contain {
    object-fit: contain;
    margin: 0 auto;
    background-size: contain;
    display: inline-block;
}

.object-fit.left-top {
    object-position: left top;
    background-position: left top;
}

.object-fit.center-top {
    object-position: center top;
    background-position: center top;
}

.object-fit.right-top {
    object-position: right top;
    background-position: right top;
}

.object-fit.left-center {
    object-position: left center;
    background-position: left center;
}

.object-fit.center-center {
    object-position: center center;
    background-position: center center;
}

.object-fit.right-center {
    object-position: right center;
    background-position: right center;
}

.object-fit.left-bottom {
    object-position: left bottom;
    background-position: left bottom;
}

.object-fit.center-bottom {
    object-position: center bottom;
    background-position: center bottom;
}

.object-fit.right-bottom {
    object-position: right bottom;
    background-position: right bottom;
}

/*Column Positions*/
[class*="col-xs-"].vbottom {
    display: inline-block;
    float: none;
    vertical-align: bottom;
}

[class*="col-xs-"].vtop {
    display: inline-block;
    float: none;
    vertical-align: top;
}

[class*="col-xs-"].vmiddle {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    [class*="col-sm-"].vbottom {
        display:inline-block;
        float: none;
        vertical-align: bottom;
    }

    [class*="col-sm-"].vtop {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    [class*="col-sm-"].vmiddle {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    [class*="col-md-"].vbottom {
        display:inline-block;
        float: none;
        vertical-align: bottom;
    }

    [class*="col-md-"].vtop {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    [class*="col-md-"].vmiddle {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    [class*="col-lg-"].vbottom {
        display:inline-block;
        float: none;
        vertical-align: bottom;
    }

    [class*="col-lg-"].vtop {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    [class*="col-lg-"].vmiddle {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }
}

.container {
    max-width: 1170px;
    margin: 0 auto;
}

/*Header*/
#header-wrapper {
    color: #1c3511;
    line-height: normal;
    width: 100%;
    display: block;
    position: relative;
    background-color: white;
}

#header-wrapper .con {
    max-width: 1170px;
    margin: 0 auto;
}

#header-wrapper .title {
    display: inline-block;
    vertical-align: middle;
}

#header-wrapper h1 {
    font-family: Lora, Georgia, serif;
    text-transform: uppercase;
    margin: 0px;
    font-weight: normal;
}

#header-wrapper h1 em {
    text-transform: capitalize;
    font-style: italic;
}

#header-wrapper .menu {
    text-transform: uppercase;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
}

#header {
    padding-top: 16px;
}

#header h1 {
    font-size: 45px;
    max-width: 380px;
    margin-left: 16px;
}

#header .logo {
    width: 175px;
    height: auto;
}

#header .top {
    border-bottom: 3px solid #1c3511;
    background-color: white;
    background: -webkit-linear-gradient(white 50%, #D5D0D3);
    background: -o-linear-gradient(white 50%, #D5D0D3);
    background: -moz-linear-gradient(white 50%, #D5D0D3);
    background: linear-gradient(white 50%, #D5D0D3);
}

#header .top .con {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
}

#header .tagline {
    font-style: italic;
    text-align: right;
    font-size: 24px;
}

#header .tagline strong {
    font-style: normal;
    text-transform: uppercase;
    font-weight: normal;
}

#header-mobile {
    position: relative;
    display: none;
}

#header-mobile .text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    right: 0;
    left: 0;
    background-color: white;
    background: -webkit-linear-gradient(white 50%, #D5D0D3);
    background: -o-linear-gradient(white 50%, #D5D0D3);
    background: -moz-linear-gradient(white 50%, #D5D0D3);
    background: linear-gradient(white 50%, #D5D0D3);
    border-bottom: 3px solid #1c3511;
    z-index: 9999;
}

#header-mobile .logo {
    height: 76px;
    width: auto;
    margin-right: 16px;
}

#header-mobile h1 {
    font-size: 16px;
    width: auto;
}

#header-mobile h1 em {
    font-size: 18px;
    display: block;
}

@media all and (max-width: 1120px) {
    #header {
        display:none;
    }

    #header-mobile {
        display: block;
    }

    #content {
        padding: 16px;
    }
}

@media all and (max-width: 768px) {
    #header-mobile .logo {
        height:50px;
    }
}

/*Menu*/
#header-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#head-menu {
    display: block;
    margin: 0;
    padding: 0;
    text-align: right;
}

#head-menu .menu {
    margin: 0;
    padding: 0;
}

#head-menu .menu .fa {
    float: right;
    padding: 16px;
}

#head-menu .menu li {
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 16px;
    position: relative;
    font-weight: bold;
}

#head-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin: 0;
    padding: 0;
    left: 50%;
    margin: auto;
    transform: translateX(-50%);
    min-width: 200px;
    text-align: center;
    border-top: 22px solid transparent;
    border-bottom: 4px solid #1c3511;
}

#head-menu .menu>li:hover .sub-menu {
    display: block;
}

#head-menu .sub-menu li {
    display: block;
    background-color: #1c3511;
    color: white;
}

#head-menu .sub-menu li:hover, #head-menu .sub-menu li.current-menu-item {
    color: #1c3511;
    background-color: #dad5d8;
}

#head-menu-mobile .button {
    color: #1c3511;
    cursor: pointer;
    margin-right: 8px;
    font-size: 26px;
}

#head-menu-mobile .button .fa-bars {
    display: block;
}

#head-menu-mobile .button .fa-times {
    display: none;
}

#head-menu-mobile .button.open .fa-bars {
    display: none;
}

#head-menu-mobile .button.open .fa-times {
    display: block;
}

#head-menu-mobile .content {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0px;
    margin-top: 0px;
    background-color: #1c3511;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    color: white;
}

#head-menu-mobile .social {
    text-align: center;
    height: 47px;
}

#head-menu-mobile .social a {
    padding: 8px;
    display: inline-block;
    font-size: 24px;
}

#head-menu-mobile .social:after {
    content: "";
    display: inline-block;
    width: 100%;
}

#head-menu-mobile .menu li a {
    padding: 8px 28px 8px 8px;
    display: block;
}

#head-menu-mobile .menu .fa-search {
    display: none;
}

#head-menu-mobile .sub-menu {
    border-top: 2px solid #646462;
    border-bottom: 2px solid #646462;
    margin: 0px 8px;
}

#head-menu-mobile .sub-menu li a {
    font-size: 16px;
    text-transform: lowercase;
}

/*Newsletter*/
#newsletter {
    display: flex;
    background-color: #1c3511;
    color: white;
    align-items: center;
    margin: 16px 0px;
    flex-wrap: wrap;
}

#newsletter .logo {
    max-width: 325px;
    margin: auto;
}

#newsletter .left {
    flex-grow: 1;
    flex-basis: 234px;
}

#newsletter .right {
    flex-grow: 1;
    flex-basis: 500px;
}

#newsletter h2 {
    font-size: 24px;
    padding: 8px;
}

#newsletter .button {
    background-color: #5D8AA8;
}

#newsletter a {
    color: #5D8AA8;
}

/*Content*/
#content-wrapper {
    background-color: white;
}

#content {
    padding: 0px 16px 16px 16px;
}

#content a, #content a:visited {
    color: #5D8AA8;
    text-decoration: none;
}

#content a:hover, #content a:active, #content a:focus {
    color: #1c3511;
}

.section-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 20px;
    padding: 4px 0px;
    border-bottom: 1px solid #efefef;
    margin-bottom: 15px;
}

@media all and (max-width: 1170px) {
    #content {
        padding: 0px;
    }
}

/*
*
* FORMS
*
*/
input[type=text], input[type=email], input[type=password] {
    border: 0px;
    padding: 0px 15px;
    margin-top: 0px;
    margin-bottom: 10px;
    height: 45px;
    background-color: #fff;
    border: 1px solid #1c3511;
    color: #063649;
    font-weight: 300;
}

#content-wrapper button, #content-wrapper .button, #content-wrapper input[type="submit"] {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
    background-color: #5D8AA8;
    color: #efefef;
    font-weight: 300;
    cursor: pointer;
    height: 45px;
    vertical-align: top;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border: 0px;
    margin-left: -3px;
    padding: 0px 9px;
}

#content-wrapper button:hover,#content-wrapper button:focus,#content-wrapper .button:hover,#content-wrapper .button:focus,#content-wrapper input[type="submit"]:hover, input[type="submit"]:focus {
    background-color: #1c3511;
    color: #fff;
}

a.button {
    padding: 11px 10px 10px 10px;
}

/*Single-Post*/
#single-post {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#single-post .hero-image {
    flex-basis: 100%;
    margin-bottom: 24px;
}

#single-post .left {
    flex-basis: 66.66%;
    flex-grow: 1;
    position: relative;
    padding-right: 16px;
}

#single-post .story-image-content {
    position: relative;
    z-index: 1;
}

#single-post .story-image-content .featured-image {
    display: block;
    width: 100%;
    height: 400px;
}

#single-post .wrap {
    border: 2px solid #5D8AA8;
    padding: 24px;
    position: relative;
    max-width: calc(100% - 32px);
    margin: -50px auto 16px auto;
    z-index: 2;
    background-color: white;
}

@media all and (max-width: 768px) {
    #single-post .wrap {
        max-width:calc(100% - 8px);
        padding: 10px;
    }
}

#single-post .right {
    flex-basis: 33.33%;
    flex-grow: 1;
    position: relative;
    max-width: 100%;
}

#single-post .left .story-title {
    font-size: 44px;
    line-height: 44px;
    margin-top: 16px;
}

#single-post .story-content h1 {
    font-size: 55px;
}

#single-post .story-content h2 {
    font-size: 45px;
}

#single-post .story-content h3 {
    font-size: 35px;
}

#single-post .story-content h4 {
    font-size: 25px;
}

#single-post .wrap .category-title-flag {
    font-size: 24px;
}

#single-post .story-content strong, #single-post .story-content b, #single-post .story-content a {
    font-weight: 700;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.15em;
}

#single-post .story-subheadline {
    font-size: 35px;
    font-weight: 300;
    margin: 10px 0px 20px 0px;
}

@media all and (max-width: 991px) {
    #single-post .story-image-content .featured-image {
        height:300px;
    }

    #single-post .left, #single-post .right {
        flex-basis: 100%;
        padding: 0px;
    }

    #single-post .right {
        margin-top: 16px;
    }
}

@media all and (max-width: 768px) {
    #single-post .left .story-title {
        font-size: 22px;
        margin-top: 16px;
        margin: 16px 0px;
        line-height: 22px;
    }

    #single-post .story-content h1 {
        font-size: 22px;
    }

    #single-post .story-content h2 {
        font-size: 18px;
    }

    #single-post .story-content h3 {
        font-size: 18px;
    }

    #single-post .story-content h4 {
        font-size: 18px;
    }
}

@media all and (max-width: 500px) {
    #single-post .story-image-content .featured-image {
        height:200px;
    }
}

/*Navigation*/
#nav a, #nav-single a.more {
    width: 100%;
    text-align: center;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
    background-color: #1c3511;
    color: white;
    font-weight: 300;
    font-size: 18px;
    cursor: pointer;
    display: block;
    padding: 8px;
}

#nav a:hover,#nav-single a.more:hover {
    color: white;
}

#nav-single {
    padding: 16px;
}

#nav-single .section-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 20px;
    padding: 4px 0px;
    border-bottom: 1px solid #efefef;
    margin-bottom: 15px;
    text-align: center;
}

#nav-single .stories-latest h4 {
    font-weight: 500;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef;
    padding-bottom: 5px;
    min-height: 85px;
    font-size: 18px;
    max-width: 100%;
    vertical-align: top;
    text-align: left;
}

#nav-single .stories-latest h4 a {
    color: #1c3511;
}

#nav-single .stories-latest h4 img {
    float: left;
    margin-right: 10px;
}

/*Footer*/
#footer {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
    border-top: 1px solid #f9faf8;
    text-align: center;
    margin-top: 30px;
}

#footer a {
    color: #5D8AA8;
}

#footer .social-links {
    font-size: 25px;
    text-align: justify;
    margin: 0px 0px 10px 0px;
    border-bottom: 1px solid #efefef;
    padding: 16px;
    height: 68px;
}

#footer .social-links:after {
    content: "";
    display: inline-block;
    width: 100%;
}

/*Story Flags*/
.category-title-flag {
    overflow: hidden;
    font-size: 13px;
    position: relative;
}

.category-title-flag h3 {
    background-color: #1c3511;
    color: white;
    font-size: inherit;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: top;
    padding: 0.2em 1em 0.2em 1em;
    position: relative;
    margin: 0;
    white-space: nowrap;
}

.category-title-flag svg {
    height: calc(1em + 0.5em);
    width: auto;
    display: inline-block;
    vertical-align: top;
    fill: #1c3511;
}

.category-title-flag a {
    color: white;
}

/*Archive*/
.category-title {
    border-bottom-color: rgb(226, 226, 226) ;
    border-bottom-style: solid ;
    border-bottom-width: 1px ;
    box-sizing: border-box ;
    color: rgb(0, 0, 0) ;
    display: block ;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif ;
    font-size: 40px ;
    font-weight: 300 ;
    line-height: 48px ;
    margin-bottom: 25px ;
    margin-top: 45px ;
    padding-bottom: 10px ;
    padding-left: 0px ;
    padding-right: 0px ;
    padding-top: 0px ;
    text-align: center ;
}

/**/
.story-meta {
    text-transform: uppercase;
    font-size: 14px;
    margin: 16px 0px;
    color: #646462;
    font-weight: normal;
    font-family: Lora,Georgia,serif;
}

/*Preview*/
.preview .story-content-wrapper {
    background-color: #fff;
    padding: 25px;
    position: relative;
    border-radius: 3px;
    max-width: 90%;
    margin: -60px auto 0 auto;
    z-index: 100;
    border: 1px solid gray;
}

.preview .story-image {
}

.preview .featured-image {
    width: 100%;
}

.preview .story-title {
    font-weight: bold ;
    letter-spacing: -1px;
    color: black;
}

/*Featured*/
.preview.featured .story-image .featured-image {
    height: 500px;
}

.preview.featured .story-image .category-title-flag {
    position: absolute;
    left: 0;
    top: 0;
}

.preview.featured .story-image .category-title-flag {
    font-size: 18px;
}

.preview.featured .story-title {
    font-size: 40px;
}

@media all and (max-width: 991px) {
    .preview.featured .story-image .featured-image {
        height: 300px;
    }

    .preview .story-content-wrapper {
        height: auto!important;
    }
}

@media all and (max-width: 768px) {
    .preview.featured .story-title {
        line-height: 1.2;
        margin-bottom: 10px;
        font-size: 1.5em;
    }
}

/*Teaser*/
.preview.teaser {
    margin: 36px;
}

.preview.teaser .story-image .featured-image {
    height: 300px;
}

/*Teaser Small*/
.preview.teaser-small {
}

.sidebar .preview.teaser-small {
    margin: 0px 0px 16px 0px;
}

.preview.teaser-small h3.story-meta {
    margin-top: 10px;
    text-align: right;
    align-self: flex-end;
}

.preview.teaser-small .story-author {
    display: block;
}

.preview.teaser-small .story-date {
    display: block;
}

.preview.teaser-small .story-share {
    display: block;
    color: #5D8AA8;
}

.preview.teaser-small .story-content-wrapper {
    padding: 8px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    border: 1px solid gray;
}

.preview.teaser-small .story-content-wrapper>* {
    flex-basis: 100%;
    align-self: flex-start;
}

.sidebar .preview.teaser-small:first-child {
    margin-top: 0;
}

.preview.teaser-small .story-image .featured-image {
    height: 181px;
}

.preview.teaser-small .story-title {
    font-size: 18px;
    margin: 16px 0px 0px 0px;
}

.story-wrapper[class^="col-"]:nth-child(2n+1) {
    clear: left;
}

.story-wrapper:nth-child(odd):after {
    height: 80%;
    content: '';
    position: absolute;
    left: calc(100% - 1px);
    top: 0;
    bottom: 0;
    margin: auto;
    border-right: 2px solid #e2e2e2;
}

@media all and (max-width: 991px) {
    .preview.teaser-small .story-image .featured-image:first-child {
        height: 300px;
    }

    .story-wrapper:nth-child(odd):after {
        border: 0;
    }

    .sidebar .preview.teaser, .sidebar .preview.teaser-small {
        margin: 16px 0px;
    }

    .preview.teaser-small {
        margin-top: 16px;
    }
}

@media all and (max-width: 768px) {
    .preview.teaser-small .story-image .featured-image:first-child {
        height: 200px;
    }
}

.sidebar h3.sidebar-title {
    font-size: 24px;
    margin: 0 auto;
    padding: 8px;
    font-weight: bold;
    text-align: center;
}

blockquote:before {
    color: #5D8AA8;
    content: open-quote;
    font-size: 60px;
    margin: 0;
    padding: 0;
    line-height: 0px;
    vertical-align: -40px;
}

blockquote {
    border-left: 10px solid #5D8AA8;
    margin: 8px auto;
    padding: 16px;
    quotes: "\201C""\201D";
    font-style: normal;
    color: #5D8AA8;
}

.green-border {
    border: 2px solid #1c3511;
    margin: 0px 8px;
    padding: 8px;
}

.white-bg {
    background-color: white;
    padding: 48px;
}

@media all and (max-width: 768) {
    .white-bg {
        padding:16px;
    }
}

/*Events Single*/
#content.single-event .event-header {
    position: relative;
    margin-bottom: 24px;
}

#content.single-event h1.story-title {
    font-size: 36px;
    margin-top: 0;
    line-height: initial;
}

#content.single-event .event-header .event-title {
    position: absolute;
    padding: 8px;
}

#content.single-event .event-header .event-title {
    background-color: #1c3511;
    color: white;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    padding: 3px 15px 3px 10px;
    height: 27px;
    line-height: 22px;
    font-size: 13px;
    vertical-align: top;
    margin-top: 0px;
    position: absolute;
    top: 0;
    left: 0;
}

#content.single-event .event-header .event-title:after {
    content: '';
    border-left: 27px solid #1c3511;
    border-bottom: 27px solid transparent;
    position: absolute;
    height: 0;
    left: 100%;
    top: 0;
}

#content.single-event .event-header .featured-image {
    display: block;
    width: 100%;
    height: 400px;
}

#content.single-event .text-wrapper {
    position: absolute;
    z-index: 1;
    bottom: 16px;
    right: 0;
    width: 80%;
    padding: 16px;
    background-color: rgba(255,255,255,0.7);
    color: #1c3511;
}

#content.single-event .text-wrapper .title {
    font-size: 24px;
    margin: 0px 0px 8px 0px;
}

#content.single-event .text-wrapper .meta {
    font-weight: bold;
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,sans-serif;
}

#content.single-event .event-nav {
    display: flex;
    justify-content: space-around;
    margin: 8px 0px 0px 0px;
    flex-wrap: wrap;
}

#content.single-event .event-nav .sub-page-button {
    text-transform: uppercase;
    background-color: white;
    color: #1c3511;
    padding: 8px;
    flex-grow: 1;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
}

#content.single-event .event-nav .sub-page-button:last-of-type {
}

#content.single-event .event-nav .sub-page-button:hover, #content.single-event .event-nav .sub-page-button.active {
    background-color: #1c3511;
    color: white;
}

#content.single-event .event-content {
    display: flex;
    flex-wrap: wrap;
}

#content.single-event .event-content>.left {
    border: 2px solid #5D8AA8;
    flex-basis: calc(66% - 16px);
    flex-grow: 1;
    padding: 32px;
    margin-right: 16px;
}

#content.single-event .event-content>.right {
    flex-basis: 33%;
    flex-grow: 1;
}

@media all and (max-width: 991px) {
    #content.single-event .event-header .featured-image {
        height:300px;
    }

    #content.single-event .text-wrapper {
        position: relative;
        bottom: 0;
        border: 2px solid #1c3511;
        width: 100%;
        margin: 16px 0px;
    }

    #content.single-event .event-content>.left {
        flex-basis: 100%;
        margin: 16px;
        padding: 16px;
    }

    #content.single-event .event-content>.right {
        flex-basis: 100%;
        margin: auto;
    }
}

@media all and (max-width: 768px) {
    #content.single-event .event-header .featured-image {
        height:200px;
    }

    #content.single-event .event-header {
        margin: 0px 8px;
    }

    #content.single-event .event-content>.left {
        margin: 8px
    }
}

/*Detailed Agenda*/
#detailed-agenda {
    margin-bottom: 16px;
}

#detailed-agenda .da-item {
    display: flex;
    font-size: 16px;
}

#detailed-agenda .left {
    flex-grow: 1;
    flex-basis: 100px;
    /* border: 1px solid #065e10; */
}

#detailed-agenda .right {
    flex-grow: 999;
    /* border: 1px solid #065e10; */
    margin: 0;
    flex-basis: 300px;
}

#detailed-agenda .heading {
    font-size: 18px;
    font-weight: bold;
    padding: 4px;
    text-align: center;
    color: white;
    background-color: #1c3511;
    border: 1px solid #1c3511;
}

#detailed-agenda .da-time {
    padding: 4px;
    text-align: center;
}

#detailed-agenda .da-title {
    margin: 0;
    padding: 4px;
    font-size: 28px;
    font-weight: normal;
}

#detailed-agenda .da-content {
    padding: 16px;
}

#detailed-agenda .da-content *:first-child {
    margin-top: 0;
}

@media all and (max-width: 991px) {
    #detailed-agenda .da-item {
        display:block;
    }

    #detailed-agenda .heading {
        display: none;
    }
}

/*Convening Panel*/
#convening-panel {
    margin-bottom: 16px;
}

#convening-panel .cp-item {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
}

#convening-panel .cp-item>div {
    padding: 8px;
    flex-grow: 1;
    flex-basis: 33%;
    margin: 0;
}

#convening-panel .heading {
    background-color: #1c3511;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

#convening-panel .cp-item:nth-child(2n+3) {
    background-color: #f3f3f3;
    border-top: 1px solid #065e10;
    border-bottom: 1px solid #065e10;
}

@media all and (max-width: 991px) {
    #convening-panel .cp-item {
        display:block;
    }

    #convening-panel .cp-item {
        padding: 8px;
        display: flex;
        flex-wrap: wrap;
        flex-basis: 200px;
    }

    #convening-panel .cp-item>div {
        display: block;
        width: 100%;
    }

    #convening-panel .cp-item .left {
        font-weight: bold;
    }

    #convening-panel .heading .center,#convening-panel .heading .right {
        display: none;
    }

    #convening-panel .heading .left {
        text-align: center;
        display: block;
    }
}

@media all and (max-width: 500px) {
    #convening-panel .cp-item .center {
        display:none;
    }
}

/*Home List*/
#home-list-container {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    flex-wrap: wrap;
}

#home-list-container .title {
    color: #1c3511;
    margin: 16px auto;
}

#home-list-container .home-list {
    flex-basis: 300px;
    flex-grow: 1;
    text-align: center;
}

#home-list-container .image {
    width: 200px;
    height: auto;
}

#home-list-container .link {
    display: block;
    text-align: center;
    padding: 8px;
    font-weight: bold;
}

/*Home-slider*/
#home-slider {
    white-space: nowrap;
    overflow-x: hidden;
    position: relative;
}

#home-slider>.slider {
    position: relative;
}

#home-slider .featured {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    width: 100%;
    position: relative;
}

#home-slider .chev-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    justify-content: space-between;
    align-items: center;
    display: flex;
    opacity: 0;
    transition: opacity 0.5s;
}

#home-slider:hover .chev-wrapper {
    opacity: 1;
}

#home-slider .chev {
    pointer-events: all;
    cursor: pointer;
    font-size: 40px;
    color: #1c3511;
    padding: 16px;
    background-color: rgba(255,255,255,0.5);
}

#home-slider .left {
}

#home-slider .right {
}

#home-slider .story-content {
    display: none;
}

#home-slider .featured-image {
    max-height: 400px;
}

/*Home Teaser*/
@media all and (min-width: 991px) {
    .home-teaser {
        display:flex;
        padding: 10px 0px;
    }

    .home-teaser .preview {
        flex-basis: 33.33%;
        margin: 6px;
    }
}

.home-teaser .preview h2 {
    font-size: 24px;
}

#main-banner {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
}

#main-banner .buffer {
}

#main-banner .text {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
    color: white;
    background-color: #1c3511;
    text-align: center;
    padding: 0px 16px;
}

#main-banner .text a.button {
    text-align: center;
    display: inline-block;
    vertical-align: baseline;
    padding: 0px 8px;
    font-size: 18px;
    color: #1c3511;
    margin: 8px;
    height: auto;
    background-color: white;
    background: -webkit-linear-gradient(white 50%, #D5D0D3);
    background: -o-linear-gradient(white 50%, #D5D0D3);
    background: -moz-linear-gradient(white 50%, #D5D0D3);
    background: linear-gradient(white 50%, #D5D0D3);
}

@media all and (max-width: 1170px) {
    #main-banner .text {
        bottom:0;
    }

    #main-banner .buffer {
        display: none;
    }
}

/*Event Ad*/
#event-ad-square {
    width: 300px;
    position: fixed;
    z-index: 9999;
    right: 16px;
    bottom: 50px;
    display: none;
}

#event-ad-square .fa-times-circle {
    float: right;
    color: #1c3511;
    padding: 8px;
    cursor: pointer;
    font-size: 25px;
}

#event-ad-square h2 {
    margin: 0;
    padding: 8px;
    text-align: center;
    color: white;
    font-size: 18px;
    background-color: #1c3511;
}

#event-ad-square>a {
    display: inline-block;
}

#event-ad-square .featured-image {
    display: block;
}

#event-ad-square button {
    display: block;
    width: 100%;
    margin: 0;
    font-weight: bold;
    background-color: #1c3511;
}

#event-ad-square button:hover {
    background-color: #5D8AA8;
}

/*Latest-popular*/
#wire-latest-popular {
    padding: 0px;
    margin-left: 16px;
    margin-bottom: 16px;
    background-color: white;
}

#wire-latest-popular .nav {
    display: flex;
    flex-wrap: wrap;
}

#wire-latest-popular button {
    display: block;
    flex-grow: 1;
    font-weight: bold;
    background-color: white;
    border: 0;
    margin: 0;
    padding: 0;
    flex-basis: 100px;
    color: #1c3511;
}

#wire-latest-popular button.active,#wire-latest-popular button:hover {
    background-color: #1c3511;
    color: white;
}

#wire-latest-popular .list {
    display: none;
    padding: 16px;
    border: 1px solid #1c3511;
}

#wire-latest-popular .list .title {
    font-size: 18px;
    margin: 0px;
    color: #1c3511;
}

#wire-latest-popular .list .meta {
    color: #646462;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 8px;
}

#wire-latest-popular .list .author {
}

#wire-latest-popular .list .author:after {
    content: " | "
}

#wire-latest-popular .list.active {
    display: block;
}

@media all and (max-width: 991px) {
    #wire-latest-popular {
        margin:16px;
    }
}

/*Related Posts*/
#related-posts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#related-posts-wrapper .title {
    text-align: center;
    font-weight: normal;
}

#related-posts>* {
    flex-basis: 300px;
    flex-grow: 2;
    margin: 8px;
}

/*Subscribe Shortcode*/
#content .subscribe-shortcode {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: white;
    color: #1c3511;
    padding: 8px;
    align-items: center;
}

#content .subscribe-shortcode .left {
    flex-basis: 200px;
    text-align: center;
    flex-grow: 1;
    padding: 8px;
}

#content .subscribe-shortcode .logo {
    width: 200px;
    height: auto;
    max-width: 100%;
}

#content .subscribe-shortcode .right {
    flex-basis: 400px;
    flex-grow: 9999;
    padding: 8px;
    text-align: center;
}

#content .subscribe-shortcode h2 {
    font-size: 18px;
}

/*Teaser Tiny*/
#content .teaser-tiny {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

#content .teaser-tiny .left {
    flex-basis: 125px;
    text-align: center;
    flex-grow: 0;
    padding: 8px;
}

#content .teaser-tiny .right {
    flex-grow: 1;
    flex-basis: 200px;
    padding: 8px;
}

#content .teaser-tiny .right>a {
    color: #1c3511;
}

#content .teaser-tiny .featured-image {
    width: 125px;
    height: 50px;
}

/*Sidebar*/
#right-sidebar>*:first-child {
    padding-top: 0px!important;
}

#right-sidebar .widget {
    /* padding: 8px 0px 8px 16px; */
}

#right-sidebar .widget>h2:first-child {
    text-align: center;
}

#right-sidebar .widget.widget_media_image {
    text-align: center;
}

#right-sidebar .wire-separator {
    border-top: 2px solid #e2e2e2;
    height: 0px;
    max-width: 200px;
    margin: 0 auto;
    border-radius: 8px;
}

@media all and (max-width: 991px) {
    #right-sidebar .widget {
        padding:8px 16px;
    }
}

iframe.featured-image {
    background-color: black;
}

iframe.featured-image:hover {
    position: relative;
    z-index: 9999;
}

#sidebar-ad {
    position: sticky;
    top: 60px;
    text-align: center;
	margin:8px;
}
