/*
 Theme Name:   RI Monthly
 Version:      0.1
 Template:     gtxcel
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  www.rimonthly.com
*/


/* --- Structural ---*/

.wpb_content_element {
    margin-bottom: 15px !important;
}

.vc_row-fluid.row-with-border {
    border-bottom: 2px solid #ccc;
}


/*--- Body ---*/

a:visited {
    color: #00599d;
}

a:link {
    color: #00599d;
}


/*------ Header Styling - All Devices ------*/

.header {
    background: #fff;
    margin-bottom: 80px;
}


/*------ Header Styling - Prior to Menu Collapse ------*/

@media (min-width:980px) {
    .header {
        height: 110px;
    }
}


/*------ Header Styling - After Menu Collapse ------*/

@media (max-width:980px) {
    .header {
        height: 110px;
        margin-bottom: 10px;
    }
}


/* --- Header Desktop Positioning --- */

@media (min-width:980px) {
    .header #company-logo {
        max-width: 300px;
        width: 300px;
        z-index: 99;
        margin-top: 3px;
        margin-left: 40px;
    }
    .header .primary-nav-wrapper {
        top: 110px;
        left: 30px;
    }
    .header .search-form-wrapper {
        top: 58px;
        right: 60px;
        width: 318px;
    }
    .header .utility-nav-wrapper {
        top: 18px;
        right: 60px;
        width: 345px;
    }
    nav.primary .nav li a {
        padding: 0 1.5em;
    }
}


/* --- 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 .5em;
    }
    .header .search-form-wrapper {
        width: 303px;
    }
}


/*--- Primary Nav ---*/

@media (min-width:1200px) {
    .primary-nav-wrapper nav.primary ul li a {
        display: inline-block;
        font-family: 'Roboto', sans-serif;
        color: #000;
        font-weight: 500;
        font-size: .8em;
        text-transform: uppercase;
    }
}

nav.primary .nav li a:hover {
    color: #00599d;
}

nav.primary .nav li.current-menu-item a {
    color: #00599d;
}

@media (min-width:981px) and (max-width:1199px) {
    .primary-nav-wrapper .primary ul li a {
        display: inline-block;
        font-weight: 500;
        font-size: .8em;
        text-transform: uppercase;
    }
}


/* --- Search ---*/

#searchform button {
    width: 20px;
}

.search-form-wrapper #searchform input {
    border: solid 1px #9c9c9c !important;
    height: 24px;
}

.fa-search {
    color: #9c9c9c;
}


/* Utility Nav */

nav.utility ul li {
    margin: 0;
    padding-top: 1px;
}

nav.utility .nav li a {
    padding: 0px 5px;
    margin-top: 0px;
    color: #fff;
    font-size: 1.3em;
    font-weight: 700;
}

nav.utility .nav li i {
    font-size: 1.3em;
    margin-right: 5px;
    color: #9c9c9c;
}

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.ri-icon a {
    background-image: url('/wp-content/uploads/2017/03/GuideRI_Icon_3.png');
    background-repeat: no-repeat;
}

.header .utility-nav-wrapper .ri-icon {
    top: 12px;
}


/*Fixed Header*/

@media (min-width:1200px) {
    body.fixed .header {
        position: fixed;
        top: 0px;
        min-height: 50px!important;
        height: 50px!important;
        background: #fff;
        border-bottom: 1px solid #ccc;
        box-shadow: 2px 2px 4px #666;
        width: 100%;
        Z-index: 999;
    }
    body.fixed .header .logo-wrapper {
        margin-left: 10px;
        margin-top: 0px;
        max-width: 120px;
        float: left;
        position: absolute;
        top: -5px;
    }
    body.fixed #company-logo {
        height: 40px;
        max-width: 150px;
    }
    body.fixed .primary-nav-wrapper {
        position: absolute;
        top: 10px;
        left: 210px;
    }
    body.fixed .primary-nav-wrapper li {
        margin-right: -25px;
    }
    body.fixed .primary-nav-wrapper li a {
        font-size: .8em
    }
    body.fixed .utility-nav-wrapper, body.fixed header.header nav.secondary, body.fixed #searchform, body.fixed .header .ad-manager-placeholder .gtx-dfp-ad-wrapper .gtx-dfp-ad-inner-wrapper {
        display: none;
    }
}


/*Content Lists*/

h2, .h2 {
    font-size: 1.3em;
    color: #00599d;
    border-bottom: 1px solid #00599d;
    margin-top: 0px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.content-list-wrapper .h3.entry-title a, .h3.entry-title a {
    color: #000;
    font-size: .8em;
    font-weight: bold;
    line-height: 1.3em;
    font-family: 'Roboto', san-serif;
}

.content-list-wrapper.content-list-basic .h3.entry-title {
    display: table;
}

.content-list-wrapper .h3.entry-title a:hover, .h3.entry-title a:hover {
    color: #444444;
}

.grid-item h3, .grid-item h3 a {
    text-transform: uppercase;
}

.basic-content-wrap .entry-meta {
    font-family: 'Roboto', san-serif;
    font-weight: 500;
    color: #808080;
}

.basic-content-wrap .subtitle {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: .9em;
    display: table;
    font-family: 'Roboto', san-serif;
    color: #000;
    line-height: 1.3;
    letter-spacing: 0;
}

.content-list-wrapper .read-more {
    display: none;
}

.content-list-wrapper p {
    font-size: .9em;
    display: table;
    font-family: 'Roboto', san-serif;
    color: #000;
    line-height: 1.3;
}

.content-list-wrapper .categories-list:before {
    content: "";
}

.content-list-wrapper .categories-list a {
    color: #808080;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    font-style: italic;
    font-weight: 700;
}

@media (min-width:480px) {
    .fullwidth-mobile-images .thumb-wrap {
        width: 25% !important;
    }
}

.content-list-wrapper .entry-meta.entry-author .by {
    display: none;
}

.content-list-wrapper .entry-content p {
    hyphens: inherit;
}

.hentry.post, .hentry.video, .hentry.gtx_gallery {
    border-bottom: solid 1px #CCC;
    padding-bottom: 0;
}

.wpb_text_column.wpb_content_element.list-title-link {
    margin: 0;
}

h2.content-list-link a {
    font-size: 1.0em;
    line-height: 1em;
    color: #3f4954;
    margin-top: 0px;
    padding: 10px 0px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: .5px;
    margin-bottom: 0.375em;
}


/*Modules*/

.headline-stack .h3.entry-title a {
    font-size: 0.9em;
}

.headline-stack .hentry {
    margin-bottom: 10px;
}

.leaderboard-ad {
    margin-bottom: 20px;
    margin-top: 0px;
}

.promotions-row {
    margin: 0;
}


/*Directories*/

span.key {
    display: block;
}

span.address1 {
    display: block;
}

.geobase-content-wrapper h3.entry-title a {
    color: #000;
    font-size: 1.4em;
    line-height: 1.2em;
    text-transform: uppercase;
}

div.geo-field .label {
    font-weight: bold;
}


/*Ads*/

.dfp.leaderboard .gtx-dfp-ad-inner-wrapper {
    margin: 0 auto;
}

.ad-manager-placeholder {
    margin-bottom: 35px !important;
    margin-top: 0 !important;
}


/*Grids*/

.grid-item, .grid-item.hentry.post, .grid-item.hentry {
    border: none;
    padding: 0px 10px;
}

.grid-item .post-thumb {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.grid-item .post-thumb:hover {
    opacity: .85;
}


/*Promotions Grids*/

.promotions-grid .grid-item h3 {
    text-align: center;
    width: 100%;
}


/*Top Story Area*/

@media (min-width:990px) {
    .homepage-carousel .thumb-wrap {
        width: 70% !important;
    }
}

.homepage-carousel .entry-content-wrap {
    margin-right: 10px;
}

.content-list-wrapper.homepage-carousel .slide .categories-list {
    font-size: 16px !important;
}

.content-list-wrapper.homepage-carousel .slide .post-author {
    font-size: 16px;
}

.content-list-wrapper.homepage-carousel .slide .subtitle {
    margin-top: 10px;
    margin-bottom: 10px;
}

.content-list-wrapper.homepage-carousel .slide .h3.entry-title a {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.9em;
    position: relative;
    top: -5px;
}

.content-list-wrapper.homepage-carousel .entry-meta {
    position: relative;
    top: 10px;
}

.content-list-wrapper.homepage-carousel p {
    position: relative;
    padding-top: 20px;
    font-size: 1.2em;
}

.content-list-wrapper.homepage-carousel h5.subtitle {
    text-transform: none;
    font-size: 18px;
    line-height: 1.3em;
    color: #000;
    letter-spacing: 0;
}

@media (max-width:989px) {
    .content-list-wrapper.homepage-carousel .slide .h3.entry-title a {
        top: 5px;
    }
}


/*Landing Page Top Story Area*/

@media (min-width:990px) {
    .landing-topstory .thumb-wrap {
        width: 70% !important;
    }
}

.landing-topstory .entry-content-wrap {
    margin-right: 10px;
}

.content-list-wrapper.landing-topstory .categories-list {
    font-size: 16px !important;
}

.content-list-wrapper.landing-topstory .post-author {
    font-size: 16px;
}

.content-list-wrapper.landing-topstory .subtitle {
    margin-top: 10px;
    margin-bottom: 10px;
}

.content-list-wrapper.landing-topstory .h3.entry-title a {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.9em;
    position: relative;
    top: -5px;
}

.content-list-wrapper.landing-topstory .entry-meta {
    position: relative;
    top: 10px;
}

.content-list-wrapper.landing-topstory p {
    position: relative;
    top: 20px;
    font-size: 1.2em;
}

.content-list-wrapper.landing-topstory h5.subtitle {
    text-transform: none;
    font-size: 18px;
    line-height: 1.3em;
    color: #000;
    letter-spacing: 0;
}

@media (max-width:989px) {
    .content-list-wrapper.landing-topstory .h3.entry-title a {
        top: 5px;
    }
}


/* Right Rail */

.right-rail .wpb_content_element {
    margin-bottom: 35px !important;
}


/*List Marker Correction*/

article .basic-content-wrap.cf ul {
    list-style-type: initial;
    list-style-position: inside;
}

article .basic-content-wrap.cf .gtx-gallery-slider ul {
    list-style-type: none;
}

article ol li {
    list-style-type: decimal;
    margin-left: 20px;
}


/*Articles*/

.single .post.type-post p {
    color: #000;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    font-weight: 500;
}

.single .post.type-post h1.entry-title {
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    font-size: 2.5em;
    line-height: 1.1em;
    margin-top: 20px;
}

.single .post.type-post h2 {
    color: #000;
}

.single .post.type-post .entry-meta {
    font-size: 1.2em;
}

.single .post.type-post .post-date {
    line-height: 3em;
}

.single .post.type-post h5.subtitle {
    text-transform: none;
    font-size: 18px;
    line-height: 1.3em;
    color: #000;
    letter-spacing: 0;
}

.single .post.type-post .entry-meta.post-author a {
    color: #808080;
}

.single .post.type-post .entry-meta.post-author a:hover {
    color: #666;
}

.single .post.type-post .subtitle {
    margin-bottom: 0px;
    margin-top: 12px;
}

.single .post.type-post p.wp-caption-text {
    font-size: 1em;
    line-height: 1em;
    color: #fff;
    text-align: left;
    padding: 0 5px 10px 5px;
}

.wp-caption {
    max-width: 100%;
    background: #000;
    padding: 0;
}

.single #main .post.type-post 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;
}

figure.gtxfimage {
    display: table;
    margin-bottom: 20px;
    width: 100%;
    height: auto;
}

.hentry img {
    height: auto;
}


/* -- Article Pagination -- */

.single-post #page-links {
    border-top: 1px solid #ccc;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    font-size: 1.5em;
}


/*Forms*/

.gform_wrapper .gfield_checkbox li input, .gform_wrapper .gfield_checkbox li input[type=checkbox], .gform_wrapper .gfield_radio li input[type=radio] {
    margin-top: 0px!important;
}


/*Calendar*/

#tribe-community-events input[type="text"], #tribe-community-events textarea {
    border: solid 1px #ccc;
    border-radius: 0px;
}

input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .field {
    color: #5c6b80;
    border-radius: 0px;
    border: solid 1px #ccc;
    font-family: 'Libre Franklin', sans-serif;
    background-color: #fff;
}

.chosen-container-single .chosen-single {
    height: 23px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background-color: #fff;
}

.tribe-events-schedule h2 {
    border-bottom: none;
}


/* Footer -- All Devices */

.footer {
    background-color: #000;
    color: #fff;
}

.footer a {
    color: #fff;
    font-size: 1.2em;
}

.footer .fa {
    text-align: center;
    float: left;
    margin-right: 10px;
    font-size: 22px;
}

.footer li.ri-icon a {
    background-image: url('/wp-content/uploads/2017/03/GuideRI_white-e1490903855352.png');
    background-repeat: no-repeat;
    float: left;
    margin-top: 3px;
}

.footer li.social-media a {
    width: 24px;
    height: 24px;
    color: transparent !important;
    overflow: hidden;
}

.footer .copyright {
    left: 10px;
    width: 100%;
    margin: 0px auto;
}

.footer p.copyright, .powered-by-container {
    text-align: left;
}

.footer .powered-by-container {
    margin-left: 20px;
}

@media (min-width:481px) and (max-width:767px) {
    .footer .bucket {
        width: 50%;
        padding: 15px
    }
    .footer .widget ul li {
        margin-bottom: .5em;
    }
}

@media (max-width:480px) {
    .footer .bucket {
        float: none;
        width: 75%;
        padding: 15px
    }
    .footer .widget ul li {
        margin-bottom: .5em;
    }
}


/* Volt-481: hide Facebook comments on Geobases */

article.geobase-post div#wpdevar_comment_1 {
    display: none;
}





/*Directories*/

span.key {
   display: block;
}
span.address1 {
   display: block;
}
.geobase-content-wrapper h3.entry-title a {
   color: #000;
   font-size: 1.4em;
   line-height: 1.2em;
   text-transform: uppercase;
}
.geobase-field .label {
   font-weight: bold;
}
.geobase-filter label {
   background: #efefef;
   padding: 4px;
   width: 100%;
   margin-bottom: 4px;
   color: #000;
   display: block;
   font-size: .9em;
}
.geobase-list .geobase-post {
   border-bottom: 1px solid #ccc;
   padding-bottom: 15px;
   margin-bottom: 5px;
}
.geobase-wrapper {
   padding: 4px 10px;
}
.geobase-list .gtx_geobase_a_level {
   background: #efefef;
}
.geobase-wrapper .meta {
   margin: 0px;
}
.geobase-wrapper .meta .phone {
   display: table;
}
.geobase-filter h2 {
   border-top: 1px solid #efefef;
   border-bottom: 1px solid #efefef;
   padding: 0px;
}
.geobase-filter br {
   display: none;
}
.geobase-filter input {
   margin-right: 8px;
}
.geobase-list .filterlist {
   font-size: 120%;
   color: #000 !important;
}
.geobase-list .filterlistbox .filtertitle {
   display: none;
}
.geobase-list .filterlist .filtervalue {
   display: table-cell;
}
.geobase-list .filterlistbox {
   border-bottom: 1px solid #eaeaea;
   border-top: 1px solid #eaeaea;
   padding: 6px 0 8px 0;
}
.geobase-list .geobase-field.website .label {
   display: none;
}

/*--Share Buttons--*/
.ssbp-btn {
margin-right: 15px
}

/* fix for RI icon in navbar in Safari 37543 */
ul#menu-social-media.nav.top-nav a#menu-item-link-27512 {
   float: left;
}



/*Volt-614: Sticky Header fix*/

@media (min-width: 1200px) {
body.fixed {
   margin-top: 160px !important;
}
}

/* Added by GMaciolek for ticket 37905 */
/* remove play button overlay on content lists for articles with video */
.content-list-wrapper .has-video .overlay {
background-image:none;
}

/*fix padding on in between breakpoints ticket 38163 */
@media (min-width:980px) and (max-width:1269px) {
   nav.primary .nav li a {
	   padding: 0 1em !important;
   }}

/* GMaciolek Centering ads - post DFP release fix */
.ad-manager-placeholder {
   text-align:center;
}

/* WC-1271: replace the logo for the Health section */

.header #company-logo {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

#company-logo a {
    display: block;
}
#company-logo img {
    display: block;
}
#company-logo-subtitle {
    text-indent: 0;
    color: #1F4785;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.016em;
    line-height: 1;
}

body.fixed #company-logo #company-logo-subtitle {
    display: none;
}