.grid-wrapper article {
    position: absolute !important;
}

.gtx-dfp-ad-inner-wrapper {
    margin: auto;
}

body {
    color: #384056;
}

h1, h2, h3 {
    color: #121212;
}


/*------ Header Styling - All Devices ------*/

.header {
    background: #000;
}


/*------ Header Styling - Prior to Menu Collapse ------*/

@media (min-width:980px) {
    .header {
        height: 100px;
        border-bottom: 30px solid #00aa13;
    }
}


/* --- Header Desktop Positioning --- */

@media (min-width:980px) {
    #company-logo {
        width: 100%;
        height: 50px;
    }
    .header .logo-wrapper .wrap {
        width: 300px;
        z-index: 99;
    }
    .header .primary-nav-wrapper {
        top: 20px;
    }
    .header .search-form-wrapper {
        top: 20px;
        right: 15px;
        width: 230px;
    }
    .header .utility-nav-wrapper {
        top: -35px;
        right: 15px;
    }
    .header .secondary-nav-wrapper {
        top: 72px;
    }
}


/* --- Large Phone and Tablet Positioning --- */

@media (min-width:980px) and (max-width:1269px) {
    .header.header nav.secondary .nav li a {
        font-size: 12px;
    }
    .nav.primary .nav li a {
        padding: 0 .8em;
    }
    .header .search-form-wrapper {
        width: 150px;
    }
}


/*--- Secondary Nav ---*/

header.header nav.secondary .nav li a {
    font-size: 14px;
    color: #fff;
    text-transform: none;
    font-weight: 500;
    opacity: .8;
    padding-top: 0;
}

header.header nav.secondary .nav li {
    border-right: solid 1px #a8525d;
    text-align: center;
    max-height: 20px;
    margin-top: 2px;
}

header.header nav.secondary .nav li:last-of-type {
    border-right: none !important;
}

header.header nav.secondary .nav li a:hover {
    background: none;
    opacity: 1;
}

header.header nav.secondary .nav li#menu-item-205 {
    padding-right: 0;
    border-right: none;
    font-weight: 600;
}

header.header nav.secondary .nav li#menu-item-205 a {
    padding-right: 0;
}

header.header nav.secondary .nav li#menu-item-205 a:hover {
    cursor: default !important;
    color: #262d33 !important;
}


/*--- Primary Nav ---*/

nav.primary .nav li a {
    color: #FFF;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-transform: none;
}

nav.primary .nav li a:hover {
    color: #CCC;
}

nav.primary .nav li#menu-item-165 a {
    color: #FFF;
}

nav.primary .nav li#menu-item-165 a:before {
    content: '\f04e ';
    font-family: 'FontAwesome';
    margin-right: 5px;
    font-size: 14px;
    position: relative;
    bottom: 2px;
    color: #bababa;
}

nav.primary .nav li#menu-item-165 {
    margin-left: 5px;
}

nav.primary .nav li.current-menu-item a {
    color: #FFF;
    background-color: #333;
}


/* Site Search */

.searchform .fa {
    font-size: 18px;
    color: #EAEAEA;
    font-size: 19px;
    position: relative;
    top: -3px;
}

#searchform {
    border: none;
    border-radius: 3px;
    background: #333;
    border: solid 1px #444;
    height: 28px;
}

.search-form-wrapper #searchform input {
    border: none;
    height: 25px;
    position: relative;
    z-index: 999;
}

.header #searchform input[type="text"] {
    color: #FFF;
    height: 25px;
    background-color: transparent;
}

.header #searchform button {
    margin: 0;
}


/* Utility Nav */

nav.utility ul li {
    margin: 0;
    padding-top: 1px;
}

nav.utility .nav li a {
    padding: 0px 5px;
    margin-top: 0px;
    color: #4b4b4b;
    font-size: 90%;
    font-weight: 600;
}

nav.utility .nav li i {
    font-size: 24px;
    margin-right: 5px;
    color: #4b4b4b;
}

nav.utility ul li {
    float: none;
    display: inline-block;
}

nav.utility .nav li.social-media a {
    font-size: 0px;
    width: 28px;
    height: 28px;
    color: transparent !important;
    overflow: hidden;
    margin-left: 5px;
    margin-top: 2px;
}

nav.utility .nav li.social-media.facebook a {
    background-image: url('http://www.alabamanews.net/wp-content/uploads/2015/11/facebook.png');
    background-repeat: no-repeat;
    margin-right: 0;
}

nav.utility .nav li.social-media.twitter a {
    background-image: url('http://www.alabamanews.net/wp-content/uploads/2015/11/twitter.png');
    background-repeat: no-repeat;
    margin-right: 0;
}

nav.utility .nav li.social-media.instagram a {
    background-image: url('http://www.alabamanews.net/wp-content/uploads/2015/11/instagram.png');
    background-repeat: no-repeat;
    margin-right: 0;
}

nav.utility .nav li.social-media.youtube a {
    background-image: url('http://www.alabamanews.net/wp-content/uploads/2015/11/youtube.png');
    background-repeat: no-repeat;
    margin-right: 0;
}

#menu-item-20553 {
    border: solid 1px #bbb;
    padding: 2px;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 80%;
    position: relative;
    bottom: 10px;
}

#menu-item-13, #menu-item-169 {
    display: none;
}


/*Content Lists*/

h2, .h2 {
    font-size: 1.4em;
    line-height: 1em;
    color: #00aa13;
    padding: 5px 0px;
    font-family: 'Montserrat', sans serif;
    font-weight: 500;
    border-bottom: solid 1px #CCC;
    text-transform: uppercase;
    margin-top: 0;
}

.content-list-wrapper .h3.entry-title a {
    color: #222;
    font-size: 120%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.2em;
    display: table;
}

.entry-meta.post-author {
    color: #000;
    font-size: 90%;
    font-family: 'Lora', sans-serif;
}

.content-list-wrapper .h3.entry-title a:hover {
    color: rgb(57, 195, 83);
}

.grid-item h3, .grid-item h3 a {
    text-transform: none;
}

.content-list-wrapper .read-more {
    display: none;
}

.content-list-wrapper .categories-list {
    margin-bottom: 10px;
}

.content-list-wrapper .categories-list:before {
    content: none;
}

.content-list-wrapper .categories-list a {
    color: #9197a3;
    font-size: 11px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 5px;
}

.content-list-wrapper .categories-list a:hover {
    opacity: .8;
}

.content-list-wrapper .categories-list span {
    display: none;
}


/*  This is messing up grid content lists - it only affects non-video posts -Dan
.content-list-wrapper article {
  border-bottom:dashed 1px #dadada;
}
*/

.wpb_content_element {
    margin-bottom: 20px !important;
}


/*Homepage Top Story Treatment*/

.top-story .grid-wrapper article {
    position: relative !important;
}

@media (max-width: 979px) {
    .vc_row-fluid.top-story-area .vc_col-sm-8 {
        width: 100%;
        float: none;
    }
    .vc_row-fluid.top-story-area .vc_col-sm-4 {
        float: none;
        width: 100%;
    }
}

@media (min-width:980px) {
    .vc_row-fluid.top-story-area .grid-wrapper.col-span-1 {
        max-height: 0px!important;
    }
}

.vc_row-fluid.top-story-area .vc_column_container.vc_col-sm-8 {
    border: none;
    padding: 0;
}

.top-story-area .vc_col-sm-12, .top-story-area .vc_col-sm-8, .top-story-area .vc_col-sm-4 {
    padding: 0px;
}

.content-list-wrapper.top-story .h3.entry-title {
    padding: 15px;
}

.content-list-wrapper.top-story .h3.entry-title a {
    font-size: 150%;
    color: #FFF;
}

.content-list-wrapper.top-story .hentry.post, .content-list-wrapper.top-story .hentry.video, .content-list-wrapper.top-story .hentry.gtx_gallery {
    border: none;
    padding: 0px;
    margin-bottom: 0px;
    width: 100%;
}

.top-story-area {
    background-color: #FFFFFF !Important;
}

.top-story-area .hentry {
    background-color: transparent;
}

.top-story .entry-content p {
    margin-bottom: 0;
    padding: 15px 15px;
}

.top-story-area .vc_row-fluid .vc_col-sm-4:last-of-type .wpb_content_element {
    border: none;
    padding: 0;
}

.top-story-area .wpb_content_element {
    margin-bottom: 0!important;
}

.top-story .entry-content-wrap {
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.top-story .grid-item h3.entry-title {
    font-size: 1.5em!important;
    color: #fff;
    left: 0;
    margin-bottom: 0;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 10px;
}

.top-story .grid-item .entry-content {
    color: #FFF;
    line-height: 18px;
}

.top-story article {
    height: auto !important;
}

@media (min-width:1260px) {
    .top-story .grid-item h3.entry-title {
        font-size: 1.5em!important;
    }
    .vc_row-fluid.top-story-area {
        min-height: 453px;
    }
}

@media (min-width:980px) and (max-width:1024px) {
    .top-story .entry-content-wrap {
        position: absolute;
        top: 78%;
        left: 0;
        width: 100%;
        background-color: #4b4b4b;
        color: #fff;
    }
    .top-story .grid-item h3.entry-title {
        font-size: 1.2em!important;
        padding-top: 10px !important;
    }
    .top-story .entry-content p {
        padding: 5px 15px;
    }
}

@media (min-width:1025px) and (max-width:1259px) {
    .top-story .entry-content-wrap {
        position: absolute;
        bottom: 0px !Important;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
    }
    .top-story .entry-content-wrap {
        bottom: 30px;
    }
    .top-story .entry-content {
        padding-top: 0;
    }
    .top-story .entry-content p {
        padding: 10px 15px;
    }
}

@media (max-width:979px) {
    .top-story .entry-content-wrap {
        position: static;
        width: 100%;
        background-color: #4b4b4b;
        color: #fff;
        display: inline-block;
    }
}

.homepage-headlines .h3.entry-title {
    padding-top: 5px
}

.homepage-headlines .h3.entry-title a {
    font-size: 95%;
    font-weight: 500;
}

.homepage-headlines .thumb-wrap {
    margin-right: 10px !important;
}

.homepage-headlines .thumb-wrap {
    line-height: 0;
}

.homepage-headlines .basic-content-wrap {
    padding: 5.5px;
}

.content-list-wrapper.homepage-headlines article {
    padding-bottom: 0!important;
    margin-bottom: 0!important;
    padding-right: 0px;
    padding-left: 0px;
    border-bottom: dashed 1px #ccc;
}

.content-list-wrapper.homepage-headlines article:last-of-type {
    border-bottom: none !important;
}


/*Video Button Overlays*/

.content-list-wrapper .type-video .overlay {
    opacity: .6;
    background-size: 70%;
}

.content-list-wrapper .type-video:hover .overlay {
    opacity: .9;
}

.top-story.content-list-wrapper .type-video .overlay {
    background-size: 20%;
}

@media (max-width:480px) {
    .content-list-wrapper .type-video .overlay {
        background-size: 30%;
    }
}


/* Check it Out */

.check-it-out .grid-item, .check-it-out .grid-item.hentry.post {
    border: none;
}

.check-it-out .grid-item, .check-it-out .grid-item.hentry {
    background-color: #EAEAEA;
    border: none;
    margin-top: 0px;
}

.check-it-out .grid-item .h3.entry-title a {
    color: #222;
    font-size: 115%;
    font-weight: normal;
    font-weight: 500;
    position: relative;
    bottom: 10px;
}


/* Grids*/


/* Dan commenting out trying to fix grid layout problems
.grid-item, .grid-item.hentry.post, .grid-item.hentry {
  border:solid 1px #ccc;
}
*/


/* The Latest */

.the-latest .grid-item, .the-latest .grid-item.hentry.post, .the-latest .grid-item.hentry {
    box-shadow: 0px 1px 6px 2px rgba(0, 0, 0, 0.08);
    padding: 0px;
    border: solid 1px #EAEAEA
}

.the-latest .grid-item .grid-item h3, .the-latest .grid-item h3 a {
    padding: 0 10px;
}

.the-latest .grid-item .entry-content {
    padding: 0 10px;
    font-size: 14px;
}

.the-latest .h3.entry-title {
    position: relative;
    bottom: 10px;
}

.the-latest .grid-item .categories-list {
    margin-left: 10px;
}


/* Page Right Rail & Sidebar */

.vc_row-fluid .vc_col-sm-4:last-of-type .wpb_content_element, .vc_row-fluid .templatera_shortcode .vc_col-sm-12 .wpb_content_element, .vc_row-fluid .vc_col-sm-4:last-of-type .popular-posts-module, .last-col .wpb_content_element {
    padding: 10px;
    background-color: #FFFFFF;
    border: solid 1px #fff;
}

.vc_row-fluid .vc_col-sm-4:last-of-type h2, .vc_row-fluid .templatera_shortcode .vc_col-sm-12 .wpb_content_element h2, .popular-posts-module h2, h2.facebookfeed, .vc_row-fluid .vc_col-sm-12 .wpb_content_element h2 {
    border-top: none;
    background-color: #00aa13;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 1.2em;
    font-weight: 500;
    color: #FFF;
    padding-top: 0;
    text-align: center;
    border-bottom: solid 1px #EAEAEA;
    padding: 5px;
    margin-bottom: 20px;
    margin-top: 0;
}


/* Homepage and site-wide trending title updates */

.trending-title .wpb_wrapper h2 a {
    border-top: none;
    background-color: #00aa13;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 1.1em;
    font-weight: 500;
    color: #FFF;
    text-align: center;
}

.vc_row-fluid .vc_col-sm-4:last-of-type h2 a {
    border-top: none;
    background-color: #00aa13;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 1.1em;
    font-weight: 500;
    color: #FFF;
    text-align: center;
}

.trending-title .wpb_wrapper h2 {
    border-top: none;
    background-color: #00aa13;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 1.1em;
    font-weight: 500;
    color: #FFF;
    text-align: center;
}

.trending-title {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.popular-posts-module h2 {
    display: none
}


/*end homepage title updates */

.vc_row-fluid .vc_col-sm-4:last-of-type h3.entry-title, .last-col h3.entry-title {
    font-size: 100%;
}

.vc_row-fluid .vc_col-sm-4:last-of-type .hentry.post {
    padding-bottom: 10px;
    margin-bottom: 10px;
    background-color: transparent;
}

@media (min-width: 1030px) {
    .d-2of7 {
        width: 32%;
    }
    .d-5of7 {
        padding-right: 0.75em;
        width: 68%;
    }
}

#sidebar1 {
    margin-top: 0;
}

#sidebar1 .widget {
    margin-top: 5px;
}


/* Landing Page Sidebar Menu */

.widget.widget_nav_menu {
    margin: 0;
}

.vc_wp_custommenu.wpb_content_element a:hover {
    color: #30c14e;
}

.vc_wp_custommenu.wpb_content_element a {
    padding: 8px;
    color: #222;
}

.vc_wp_custommenu.wpb_content_element a:before {
    content: " \f105";
    font-family: "FontAwesome";
    float: left;
    position: relative;
    top: 1px;
}


/* Weather - Right Rail Current Conditions Widget */

.right-rail-wx h2 {
    margin-bottom: 10px !important;
}

.right-rail-wx .wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-sky img {
    height: 60px;
}

.right-rail-wx .wx-icon.wx-sky-icon {
    padding-top: 5px;
}

.right-rail-wx {
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
}

.right-rail-wx .wx-skin-default .wx-panel-widget .wx-format {
    border: none;
    margin-bottom: 10px;
    color: #666;
}

.right-rail-wx .wx-skin-default .wx-panel-widget p.wx-feels-like {
    text-align: center;
}

.right-rail-wx .wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-temperature .wx-wrapper {
    text-align: center !important;
}

.right-rail-wx .wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-temperature .wx-wrapper dl.wx-current dd {
    font-size: 45px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
}

.right-rail-wx .wx-col.wx-col-1.wx-sky {
    border-right: solid 1px #eaeaea;
}

.wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-sky .wx-wrapper, .wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-temperature .wx-wrapper {
    height: 110px !important;
}

.right-rail-wx .wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-temperature .wx-text {
    top: 80px;
    color: #666;
}

.page-id-28 .wx-skin-default .wx-current-conditions-widget .wx-box-format .wx-content .wx-summary .wx-sky .wx-wrapper {
    height: 150px !important;
}

.wpb_raw_code.wpb_content_element.wpb_raw_html.right-rail-wx {
    background-color: #FFFFFF;
    border: solid 1px #fff;
}


/* Promotions */

.promotions .grid-wrapper {
    background-color: #30c14e;
    padding: 10px;
    border-radius: 5px;
}

.promotions .grid-item .h3.entry-title a {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}

.promotions .grid-item {
    background-color: #FFF;
}


/* Promotions */

.promotions .grid-wrapper {
    background-color: #30c14e;
    padding: 10px;
    border-radius: 5px;
}

.promotions .grid-item .h3.entry-title a {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}

.promotions .grid-item {
    background-color: #FFF;
}


/* Popular Articles */

.popular-posts-module {
    background-color: #FFF;
    padding: 10px;
}

.popular-posts-module ul {
    margin-top: 0;
}

.popular-posts-module li {
    padding: 10px 0px;
    border-bottom: 1px dashed #dadada;
}

.popular-posts-module li:last-of-type {
    border: none;
}

.popular-posts-module li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 110%;
}

.popular-posts-module li a:hover {
    color: rgb(57, 195, 83);
}

.popular-posts-module .pp-img-thumb {
    display: none;
}

.popular-posts-module {
    margin-bottom: 25px;
}

.vc_row-fluid .vc_col-sm-4:last-of-type .popular-posts-module h2 {
    margin: 0;
}


/* Article Video Gallery Index Page Content Area Styles */

.single .hentry.post.type-post, .single .type-gtx_gallery.hentry, .single .type-video.hentry, .single.single-gtx_gallery .gtx_gallery.hentry {
    padding: 15px;
    border-bottom: none;
    margin-top: 15px;
}

#disqus_thread {
    padding: 15px;
}

.single .post.type-post h1.entry-title, .single.single-video .video h1.entry-title, .single.single-gtx_gallery .gtx_gallery h1.entry-title {
    color: #000;
    font-weight: 500;
    font-size: 2.5em;
    line-height: 1.1em;
    font-size: 2.2em;
}

.single .post.type-post .entry-meta, .single.single-video .video .entry-meta, .single.single-gtx_gallery .gtx_gallery .entry-meta {
    font-family: 'Lato', sans-serif;
    color: #333;
    font-size: 15px;
}

.single .post.type-post .subtitle, .single.single-video .video .subtitle, .single.single-gtx_gallery .gtx_gallery .subtitle {
    margin-bottom: 0px;
    margin-top: 5px;
}

.single .post.type-post p, .single.single-video .video p, .single.single-gtx_gallery .gtx_gallery p {
    color: #222;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5em;
    font-size: 1.2em;
    margin-top: 0;
}

.single .post.type-post p.wp-caption-text, .single.single-video .video p.wp-caption-text, .single.single-gtx_gallery .gtx_gallery p.wp-caption-text {
    font-size: 1em;
    line-height: 1.1em;
    color: #5b5b5b;
    text-align: left;
    margin-bottom: 10px;
}

.single #main .post.type-post h3, .single.single-video .video h3, .single.single-gtx_gallery .gtx_gallery h3 {
    color: #222;
    font-weight: 600 !important;
    font-size: 1.3em;
}

.single .post.type-post ul:not(.flex-direction-nav, .slides) {
    margin-left: 15px;
    list-style-type: disc;
    font-size: 1.1em;
    color: #222;
}

.single .post.type-post .jwplayer, .single.single-video .video .jwplayer {
    margin: 20px 0;
}

.page .wpb_text_column p {
    color: #222;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5em;
    font-size: 1.2em;
    margin-top: 0;
}

@media (max-width:767px) {
    .single .post.type-post h1.entry-title, .single.single-video .video h1.entry-title {
        font-size: 1.8em;
    }
}


/*fixes problem of first image in article floating to the right of the byline */

.single .post.type-post img:nth-of-type(1) {
    display: table;
    padding: 10px 0;
}


/*Expired Video Message*/

.expired-video-message {
    font-size: 150%;
    color: #666;
    font-weight: bold;
    border: 1px solid #ccc;
    width: 70%;
    margin: 20px auto;
    margin-top: 0px;
    text-align: center;
    padding: 20px 10px;
    box-shadow: 2px 2px 4px #efefef;
}


/* Related Posts */

#jp-relatedposts h3.jp-relatedposts-headline em {
    font-family: 'Montserrat', sans-serif !important;
    color: #3f4954;
    text-transform: uppercase;
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: .5px;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
    color: #222;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600 !important;
    font-size: 18px !important;
}


/* Weather Widget */

.weather {
    text-align: center;
}

.weather a {
    font-family: 'Montserrat', sans-serif;
    color: #000;
}

.weather .current-conditions {
    font-size: 34px;
    line-height: 60px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 0 auto;
    height: 70px;
}

.weather .current-conditions {
    width: 150px;
}

.weather .current-conditions img {
    float: left;
    padding: 0;
}

.weather p {
    margin: 0;
}

.vc_row-fluid .vc_col-sm-4:last-of-type .weather h2 {
    margin-bottom: 5px;
}


/* Submenus */

.on-page-menu {
    width: 100%;
}

.on-page-menu li {
    display: inline;
    list-style-type: none;
    padding-right: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.on-page-menu ul {
    margin-top: 0;
}

.on-page-menu li a {
    color: #000;
}

.on-page-menu li a:hover {
    color: rgb(57, 195, 83);
}

.on-page-menu li a:after {
    content: "|";
    color: #666;
    font-weight: 400;
    margin-left: 20px;
}

.on-page-menu li:last-of-type a:after {
    content: none;
}

.on-page-menu {
    background-color: #EAEAEA;
    padding: 5px;
    text-align: center;
}


/*Ads*/

.right-rail-ad {
    padding: 20px;
    background-color: #FFFFFF;
    border: solid 1px #fff;
}

.right-rail-ad div:first-child {
    margin: 5px auto
}

.dfp.leaderboard .gtx-dfp-ad-inner-wrapper {
    margin: 0px auto;
    border: solid 1px #ccc;
}

#inner-content .vc_row:first-child.wpb_row, #inner-content .vc_row:first-child .templatera_shortcode .wpb_row {
    margin-bottom: 0px;
}


/*Newsletter page*/

.newsletter h1, .newsletter p {
    margin: 0;
}

@media (min-width:1200px) {
    .newsletter iframe {
        position: relative;
        top: -100px;
        z-index: -1;
    }
}

@media (min-width:980px) and (max-width:1199px) {
    .newsletter iframe {
        position: relative;
        top: -80px;
        z-index: -1;
    }
}

@media (max-width:979px) {
    .newsletter iframe {
        position: relative;
        top: -50px;
        z-index: -1;
    }
}


/*Calendar*/

.tribe-events-content>p {
    display: block!important;
}

.wrapper-top-row .templatera_shortcode .calendar-right-rail {
    margin-bottom: 0 !important;
}

#tribe-events {
    margin-top: 0;
}

#tribe-events-content {
    padding: 12px;
}

.tribe-events-filter-view .tribe-events-list h2.tribe-events-page-title {
    border: none;
    background-color: transparent;
    text-align: center;
}

.tribe-events-list h2.tribe-events-list-event-title {
    background-color: transparent;
}

.tribe-events-list h2.tribe-events-list-event-title a {
    color: #000;
    font-size: 22px;
}

.tribe-events-list h2.tribe-events-list-event-title a:hover {
    color: #00aa13;
}

.single-tribe_events h2.tribe-events-single-event-title, h2.tribe-events-page-title {
    border: none;
    background-color: transparent;
    text-transform: none;
}

.tribe-events-single h2 {
    border: none;
    background: none;
}

@media (max-width:768px) {
    #tribe-events-pg-template {
        padding-top: 0;
    }
}

@media (min-width: 1030px) {
    #tribe-events .d-5of7 {
        width: 68%;
        margin-left: -15px;
    }
}

.tribe-events-single p.tribe-events-back {
    border-top: solid 1px #CCC;
    padding-top: 15px;
}

.event-category-wrapper.wpb_content_element {
    margin: 0;
    margin-top: 20px;
}

.event-category-wrapper {
    width: 310px;
    margin: 0;
    z-index: 99;
}

.event-category-wrapper p {
    margin: 0;
}

.event-category-wrapper a {
    float: right;
    margin-right: 10px;
    border: solid 1px #CCC;
    border-bottom: none;
    background-color: #F5F5F5;
    padding: 3px 8px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

#tribe-events-bar {
    border-top: solid 1px #CCC;
}


/* Submit an Event Button */

.wpb_content_element.event-submission-wrapper {
    border: none;
    margin-bottom: 10px;
    padding-top: 0px;
    text-align: center;
    background: transparent;
}

.event-submission-wrapper a.button {
    background-color: #00aa13;
    color: #FFF;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
}


/*Calendar Submit An Event Page*/

#tribe-community-events input[type="text"], #tribe-community-events textarea {
    border: 1px solid #ccc;
}

#tribe-community-events.form {
    margin-top: 50px;
}


/* Search Page */

.search #main {
    background-color: #fff;
    padding: 20px;
    margin-top: 40px;
    border: solid 1px #CCC;
    margin-bottom: 40px;
}


/* Breaking News & Basic Top Row Behavior*/

.wpb_column.vc_column_container.vc_col-sm-12 {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 15px;
}

.toprow.wpb_column {
    padding: 0px;
    padding-bottom: 5px;
}

.toprow-landing.wpb_column {
    padding: 0px;
    padding-bottom: 5px;
    margin-left: -15px;
}

.breaking-news-wrapper {
    display: none;
}

.breaking-news-wrapper.live {
    display: block;
    background-color: #d33330;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #FFF;
    width: 100%;
    margin: 0px auto;
    margin-top: 15px;
    margin-bottom: -15px;
}

.bn-prefix {
    font-size: 20px;
}

.breaking-news-wrapper p {
    margin: 0;
    color: #fff;
}

.breaking-news-wrapper a {
    color: #fff;
}

.breaking-news-wrapper a:hover {
    text-decoration: underline;
    color: #fff;
}

.gtx-breaking-news-type-single .gtx-breaking-news-message:before {
    content: "Breaking News:";
}


/*Message Scheduler*/

#header-content-0 .wrap {
    max-width: 100% !important;
    width: auto;
    margin: 0;
}

#header-content-0 {
    position: absolute;
    top: 0;
    width: 100% !important;
}

.scheduled-messages-wrapper {
    text-align: right;
    background-color: #191919;
}

.scheduled-messages-wrapper.live {
    width: 100% !important;
    margin: 0;
    background: #191919;
    top: 0;
    letter-spacing: .3px;
    font-weight: 600;
    padding: 1px 15px;
}

.scheduled-messages-wrapper a {
    color: #00AA13;
    font-size: 14px;
    padding: 0px;
}

.scheduled-messages-wrapper a:hover {
    color: #EAEAEA;
}

.scheduled-message {
    max-width: 1200px !important;
    margin: 0 auto;
    padding-left: 25px;
}

@media (max-width:980px) {
    .scheduled-messages-wrapper {
        display: none;
    }
}


/*Weather Widget - Extended Forecast */

.wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-content .wx-summary.wx-horizontal ul.wx-summary-list li.wx-summary-item .wx-wrapper {
    height: 149px !important;
}

.wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-content .wx-summary.wx-horizontal {
    width: 100% !important;
    height: 149px !important;
}

.wx-skin-default .wx-daily-widget .wx-horizontal-format {
    max-width: 700px;
    width: auto !important;
    margin: 0 auto;
}

.wx-skin-default .wx-daily-widget-detailed .wx-content .wx-details h2 {
    text-transform: none;
    padding: 10px 0 5px 10px;
    border-bottom: none;
    margin-top: 10px;
}

.wx-skin-default .wx-panel-carousel-widget .wx-content .wx-summary.wx-horizontal ul.wx-summary-list li.wx-summary-item .wx-temperatures {
    position: relative !important;
    bottom: 0 !important;
}

@media (max-width:480px) {
    .wx-skin-default .wx-daily-widget-detailed .wx-content .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col {
        float: none !important;
    }
    .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-1, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-2, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-3, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-4, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-5 {
        padding-top: 10px;
    }
    .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details .wx-moonphase, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details .wx-wind-direction {
        margin-top: 0 !important;
    }
}

@media (min-width:481px) and (max-width:767px) {
    .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-1, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-2, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details div.wx-ui-tab-content .wx-wrapper .wx-col-3 {
        width: 30%;
        padding-top: 10px;
    }
    .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details .wx-moonphase, .wx-skin-default .wx-daily-widget-detailed .wx-horizontal-format .wx-details .wx-wind-direction {
        margin-top: 0 !important;
    }
}


/* Weather - Hourly Forecast Widget */

.wx-skin-default .wx-panel-carousel-widget .wx-box-format {
    width: auto !important;
    max-width: 400px !important;
}


/* Weather - Hourly Forecast Widget */

.wx-skin-default .wx-panel-carousel-widget .wx-box-format {
    width: auto !important;
    max-width: 400px !important;
}

.wx-skin-default .wx-panel-carousel-widget .wx-content .wx-summary.wx-vertical ul.wx-summary-list li.wx-summary-item {
    height: 62px !important;
}

.wx-skin-default .wx-hourly-widget-simple .wx-box-format .wx-content .wx-summary.wx-vertical .jcarousel-clip-vertical {
    height: 340px !important;
}

.wx-skin-default .wx-hourly-widget-simple .wx-box-format .wx-content .wx-summary.wx-vertical {
    height: 324px !important;
}

.wx-skin-default .wx-panel-carousel-widget .wx-content .wx-summary.wx-vertical .jcarousel-container-vertical {}


/* Weather Map */

.map-container .wpb_wrapper {
    width: 100%;
    height: 600px;
    margin: 0px auto;
    margin-top: 40px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 4px #ccc;
}

.vc_col-sm-8 .vc_col-sm-6 {
    padding-left: 0;
}

.vc_col-sm-8 .vc_col-sm-6:last-of-type {
    padding-right: 0;
}

.wx-widget h2 {
    border-bottom: none;
}


/* More Link */

.more-link {
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    text-align: right;
}

.more-link a.button {
    background-color: #eaeaea;
    color: #444;
    padding: 5px 10px;
    border-radius: 3px;
    border: solid 1px #ccc;
}

.more-link a.button:hover {
    background-color: #dddddd;
}

.more-link a.button:after {
    content: " \00BB";
}


/* Footer */

.footer {
    color: #FFF;
    margin-top: 0;
    background-color: #000;
}

.footer p {
    color: #eaeaea;
}

.footer a {
    color: #FFF;
}

.footer .bucket li a {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    padding: 0 5px;
}

.footer li.menu-item-has-children>a {
    text-transform: uppercase;
    font-size: 18px;
}

.footer li.menu-item-has-children {
    margin-top: 20px;
}

.footer .widget ul li ul {
    padding-left: 0;
    padding-top: 10px;
}

.footer .fa {
    display: inline-block;
    font-size: 26px;
    float: left;
    margin-right: 15px;
}

.footer #menu-item-77792 a, .footer #menu-item-77793 a, .footer #menu-item-77794 a {
    padding: 0;
}

.footer li.non-linking.menu-item-has-children a {
    cursor: default!important;
}

@media (min-width: 481px) {
    .footer .bucket {
        width: 20%;
        margin: 5px 0px;
    }
    .footer .bucket .widget {
        margin: 0;
    }
    .footer .bucket ul {
        padding-top: 15px
    }
    .footer .bucket li a:hover {
        color: #00AA13;
    }
    .footer .bucket h4 {
        border-bottom: none;
        font-weight: 700;
        margin-top: 5px;
        margin-bottom: 0;
    }
}

@media (min-width:481px) and (max-width:767px) {
    .footer .bucket {
        width: 50%;
        border-left: none;
    }
    .footer .widget ul li {
        margin-bottom: .5em
    }
}

@media (max-width:480px) {
    .footer .bucket {
        float: none;
        width: 100%;
    }
    .footer li {
        padding: 4px 0;
    }
}


/*Pagination*/

.pagination a {
    color: #00AA13;
}

.pagination a:hover, .pagination a:focus, .page-numbers.dots:hover {
    background: #000;
    color: #fff;
}

.pagination .current {
    background: #00AA13;
    color: #fff;
}


/*Related Posts*/

.yuzo_related_post {
    background-color: #FAFAFA;
    border: 1px solid #EAEAEA;
    padding: 15px;
}

.yuzo_related_post .yuzo-list a {
    color: #000;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px !important;
}

.yuzo_related_post .yuzo-list a:hover {
    color: #00aa13;
}

.style-3 .yuzo-list:before {
    background: none;
    font-family: 'FontAwesome';
    content: '\f138';
    color: #bbb !important;
    opacity: 1;
}

.yuzo_related_post h2 {
    border-top: none;
    border-bottom: solid 1px #ccc;
    margin-top: 0;
    padding-top: 0;
}


/* Powered by Rayos */

.powered-by-container p {
    margin-bottom: 0px;
}

.powered-by-container p a img.powered-by {
    display: block;
    margin: auto;
}


/* Category Pages */

.archive #main, .archive .author_content {
    background-color: #FFF;
    padding: 15px;
    border: solid 1px #CCC;
}

.archive h3.entry-title a {
    color: #000;
    font-size: 22px;
    line-height: 20px;
}

.archive h3.entry-title a:hover {
    color: #00aa13;
}


/* Author Bio Pages */

.archive .author_content {
    background-color: #FFF;
    padding: 15px;
    border: solid 1px #CCC;
    margin-top: 15px;
    margin-bottom: 15px;
}

.single-authors .type-authors {
    padding: 15px;
    border: solid 1px #ccc;
}

.single-authors .type-authors h1 {
    font-size: 2.1em;
    margin: 0;
    color: #000;
}

.single-authors .type-authors h3 {
    margin: 0;
}

.single-authors .type-authors .author_email h3 {
    margin: 0;
    font-size: 16px;
    padding-bottom: 10px;
}


/*Related Content for Featured Guests*/

.featured-related {
    padding: 20px;
    background-color: #FAFAFA;
    border: solid 1px #CCC;
}


/*Homepage Slider*/

#advps_container1 .bx-wrapper .bx-viewport {
    background: #00aa13;
    padding-top: 15px;
    padding-bottom: 15px;
    min-height: 130px;
    border-radius: 5px;
}


/* Social Sharing Tools */

@media (min-width:1100px) {
    .kfloating.plain {
        top: 35% !important;
    }
}

@media (min-width:320px) and (max-width:768px) {
    .ksharelinks.plain .kintro {
        float: none !important;
    }
}

@media (max-width:410px) {
    .ksharelinks.plain ul li {
        float: none !important;
    }
}

.ksharelinks.plain ul li {
    list-style-type: none;
}

.ksharelinks {
    clear: both;
    padding: 10px 0;
}


/*Livestream Page*/

.livestream-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
    box-shadow: 2px 2px 4px #666;
}

.livestream-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* 404 Page */

.error404 #post-not-found {
    text-align: center;
    margin-top: 20px;
    color: #222;
}


/*Responsive Youtube videos*/

#main .youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

#main .youtube iframe, #main .youtube object, #main .youtube embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*Our Team Page FireFox image fix*/

@-moz-document url-prefix() {
    .page.page-id-36.page-child.parent-pageid-34.page-template-default.tribe-theme-parent-gtxcel.tribe-theme-child-sandiego6.wpb-js-composer.js-comp-ver-4\.8\.0\.1.vc_responsive .wpb_single_image img {
        width: 100%;
    }
}


/* List Syle Article Fix*/


/*resolved bottom border not showing for mixed content in lists*/

.hentry.video, .hentry.gtx_gallery {
    clear: both;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #CCC;
    border-radius: 0;
}


/* Hide Deleted JWplayer Videos */

.botrplayer {
    display: none;
}
