/*
 Theme Name:   Arlington Magazine
 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:  arlingtonmagazine.com
*/


/*Body*/

a:visited {
    color: #843224;
}

a:link {
    color: #843224;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    color: #000;
    line-height: 1.8;
}

p {
    -moz-hyphens: none;
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
    word-wrap: normal;
}


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

.header {
    background: #000;
}


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

@media (min-width:980px) {
    .header {
        height: 125px;
        margin-bottom: 25px;
    }
}


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

@media (min-width:1200px) {
    #company-logo {
        width: 100%;
        height: 110px;
    }
    .header .logo-wrapper .wrap {
        width: 300px;
        z-index: 99;
        margin-top: -10px;
    }
    .header .primary-nav-wrapper {
        top: 49px;
        left: 335px;
    }
    .header .search-form-wrapper {
        top: 10px;
        right: 60px;
        width: 230px;
    }
    .header .utility-nav-wrapper {
        top: -35px;
        right: 15px;
    }
    .header .secondary-nav-wrapper {
        top: 84px;
        left: 327px;
    }
    .header .secondary-nav-wrapper .wrap {
        width: 95%;
    }
}


/* --- 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;
    }
}

.mobile-button-wrapper .fa {
    font-size: 24px;
    color: #fff;
}


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

nav.primary {
    border-bottom: 1px solid #ccc;
}

nav.primary .nav li a {
    font-size: .8em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0 .7em;
}


/* Active Page */

nav.primary .nav li.current-menu-item a {
    color: #FFF;
    background-color: #333;
}


/* Submenu */

.nav li ul.sub-menu {
    border: none!important;
    background: transparent;
}

.nav li ul.sub-menu .current-menu-item a {
    color: #FFF;
}

nav.primary .nav li ul.sub-menu li {
    padding-top: 5px;
    background-color: #000;
    border: none;
    list-style-type: none;
    font-size: 12px;
}

.nav li ul.sub-menu li {
    padding-top: 5px;
    background-color: #000;
    border: none;
    list-style-type: none;
    font-size: 10px;
}

.nav li ul.sub-menu li a {
    width: 160px;
    border-bottom: solid 1px #5b5b5b;
    text-transform: uppercase;
    padding-left: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #FFF;
    font-size: 1.3em!important;
}

.nav li ul.sub-menu li a:hover {
    color: #555;
}

.nav li ul.sub-menu:before {
    border-color: transparent transparent #fff transparent;
    border-style: solid;
    border-width: 0 8px 8px 8px;
    bottom: 0;
    content: '';
    height: 0;
    left: 30%;
    margin-left: -8px;
    position: absolute;
    top: 8px;
    width: 0;
    z-index: 1000046;
}


/* Site Search */

.searchform .fa {
    font-size: 18px;
    color: #808080;
    font-size: 19px;
    position: relative;
    top: -1px;
}

#searchform {
    border: none;
    border-radius: 3px;
    background: #000;
    border: solid 1px #444;
    height: 28px;
}

.search-form-wrapper .wrap {
	display: inline-flex;
}

.search-form-wrapper .wrap a {
	margin: 4px 10px;
	color: white;
}

i.fa.fa-rss-square {
	font-size: 22px;
}

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


/*Secondary Nav*/

nav.secondary .nav li a {
    font-size: .75em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}


/* --- Header - Smaller Desktop Position and Style --- */

@media (min-width:980px) and (max-width:1199px) {
    #company-logo {
        width: 100%;
    }
    .header .logo-wrapper .wrap {
        width: 250px;
        z-index: 99;
        margin-top: -10px;
    }
    .header .primary-nav-wrapper {
        top: 49px;
        left: 270px;
    }
    .header .search-form-wrapper {
        top: 10px;
        right: 0px;
        width: 230px;
    }
    .header .utility-nav-wrapper {
        top: -35px;
        right: 15px;
    }
    .header .secondary-nav-wrapper {
        top: 84px;
        left: 270px;
    }
    nav.primary {
        border-bottom: 1px solid #ccc;
    }
    nav.primary .nav li a {
        font-size: .6em;
    }
}


/* --- Mobile Nav --- */

.mobile-button-wrapper .fa {
    font-size: 24px;
    color: #fff;
}


/*Top Story Module*/

.content-list-wrapper.home-carousel .slide .h3.entry-title a {
    font-weight: 500;
    font-size: 1.6em;
    line-height: 1.25em;
}

.cl-Carousel.cl-thumb-float-none .entry-content-wrap {
    padding: 10px 5px;
}

.top-story-row .wpb_content_element {
    margin-bottom: -40px;
}


/*Modules*/

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

.headline-stack .hentry.post {
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.headline-stack .hentry.gtx_link {
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.wpb_content_element h2 {
    border-bottom: solid 1px #000;
    color: #000;
    font-size: 1.6em;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

.h3.entry-title a {
    color: #000;
    font-size: 1.4em;
    line-height: 110%;
    color: #000;
    font-weight: 500;
}

.h3.entry-title a:hover {
    color: #843224;
}

.content-list-wrapper .entry-content {
    color: #000;
    font-size: 16px;
    line-height: 22px;
}

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

a.read-more {
    display: none
}

.categories-list:before {
    content: "Categories: ";
    display: none;
}

.categories-list, .categories-list a {
    color: #F60 !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

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


/* VOLT-486: change overlap on this screen resolution */

@media (min-width:770px) and (max-width:895px) {
    .grid-item, .grid-item.hentry.post, .grid-item.hentry {
        height: 420px !important;
    }
}

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

.top-row {
    margin-bottom: -20px;
    margin-top: -12px;
}


/*Profiles Right Rail*/

.profiles-menu .h3.entry-title a {
    font-size: 0.8em;
    font-family: 'Libre Franklin', sans-serif;
    padding-left: 5px;
    padding-right: 5px;
}

.profiles-menu .h3.entry-title a:hover {
    color: #fff;
    background-color: #000;
}


/*Previous Issues Grid*/

.previous-issues .grid-item {
    text-align: center
}

.previous-issues .grid-item .h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: .8em;
}


/*Ads*/

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


/*Articles*/

.sidebar {
    margin-top: 0px;
}

.single .post.type-post p {
    color: #000;
    font-size: 16px;
    hyphens: inherit;
}

.single .post.type-post h1.entry-title {
    color: #000;
    font-weight: 500;
    font-size: 2.5em;
    line-height: 1.1em;
}

.hentry.post h1 {
    font-family: 'Playfair Display', serif;
}

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

.single .post.type-post .entry-meta {
    font-size: 16px;
}

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

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

.hentry .entry-date {
    padding-right: 4px;
}

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

.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: .8em;
    line-height: 1.3em;
    color: #5b5b5b;
    text-align: left;
    padding: 0 5px 10px 5px;
}

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

.wp-caption p.wp-caption-text {
    font-size: .8em;
    line-height: 1.3em;
    color: #5b5b5b;
    text-align: left;
    padding: 0 5px 10px 5px;
}

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


/*Archive & Search Pages*/

.archive h5.subtitle {
    display: none;
}

.search h5.subtitle {
    display: none;
}

.archive .categories-list {
    display: none;
}


/*Magazine Page Fixes*/

.magazine .entry-date {
    display: none
}

.magazine .entry-author {
    display: none
}

.magazine .entry-title {
    border-bottom: solid 1px #000;
    color: #000;
    font-size: 1.6em;
    padding-bottom: 5px;
    padding-top: 22px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Libre Franklin', sans-serif;
}

.magazine .issue-title {
    font-family: 'Libre Franklin', sans-serif;
    text-align: center
}

.magazine .issue-thumb {
    text-align: center
}

.magazine a {
    color: #000
}

.magazine a:visited {
    color: #000
}


/*Single Issue Fixes*/

.single-issue #main .post h5 {
    display: none;
}

.single-issue .entry-date {
    display: none
}

.single-issue .entry-author {
    display: none
}

.single-issue h1.entry-title {
    border-bottom: solid 1px #000;
    color: #000;
    font-size: 1.6em;
    padding-bottom: 5px;
    padding-top: 22px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Libre Franklin', sans-serif;
}


/*Magazine Module*/

.magazine-module {
    display: block;
    min-height: 250px;
    margin-bottom: 20px;
}

.magazine-module a {
    color: #000;
}

.magazine-module a:visited {
    color: #000;
}

.magazine-module .mag-left {
    float: left;
    width: 45%;
}

.magazine-module .mag-right {
    float: left;
    width: 50%;
    margin-left: 5%;
}

.magazine-module .mag-right ul {
    margin: 0px;
    padding: 0px;
}

.magazine-module .mag-right ul li {
    padding: 1px 0;
    border-top: 1px solid #ccc;
}

.magazine-module .mag-right ul li:first-child {
    margin: 0;
    border-top: 0px;
}

.magazine-module .mag-left img {
    width: 90%;
    height: auto;
}

.magazine-module a:hover {
    color: #843224;
}

.wpb_content_element.magazine-module ul {
    list-style: none;
}


/*Right Rail Fixes*/

.home-right-rail {
    margin-top: -27px
}

.right-rail-top .wpb_content_element {
    margin-bottom: 32px
}

.wpb_content_element.right-rail-heading {
    margin-bottom: 0px;
}

.all-listings {
    margin-top: -20px;
}

.magazine .right-rail {
    margin-top: -22px
}

@media (min-width:980px) {
    .right-rail-top {
        margin-bottom: 0px
    }
}


/*Right Rail Social Media Widget*/

.right-rail-social-media h2 {
    margin-left: -10px;
    width: 106%;
}

.right-rail-social-media .fa {
    font-size: 35px;
    color: #f60;
    float: left;
    margin-right: 15px;
    margin-left: 25px;
    padding-left: 0px;
    padding-right: 0px;
}

.right-rail-social-media ul {
    width: 100%;
    margin: 0px auto;
    list-style: none;
}


/*Right Rail Email Sign Up*/

.gform_wrapper {
    border-bottom: 1px solid #ccc;
    padding: 5px;
    color: #000;
}

.gform_wrapper .newsletter-form {
    font-size: 14px;
}

.gform_wrapper .newsletter-form {
    margin-top: -45px!important;
    line-height: 0;
}

.gform_wrapper .newsletter-long {
    margin-top: -45px!important;
    line-height: .5em;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 99%!important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {
    color: #f60;
}

body .gform_wrapper .gform_footer input[type=submit] {
    border-radius: 0px
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text] {
    border-radius: 0px;
}

.gform_wrapper .gform_body .gform_fields .gfield .name_first label {
    display: none;
}

.gform_wrapper .gform_body .gform_fields .gfield .name_last label {
    display: none;
}

.gform_wrapper .top_label .gfield_label {
    margin: 0 !important;
}

.gform_wrapper .gform_footer {
    padding-top: 0 !important;
}

.gform_wrapper ul li.gfield {
    margin-top: 0 !important;
}

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


/*Directories*/

.geobase-list article {
    border-bottom: 1px solid #ccc;
}

.filterlist-vertical h2 {
    font-size: 1.1em;
    font-weight: 600
}

.filterlist-vertical .geobase-filter-text #geobase-submit {
    background-color: #000;
}

.filterlist-horizontal #geobase-submit {
    background-color: #000;
}

.category-private-schools-guide .geobase-field.description {
    display: none
}

.category-summer-camps .geobase-field.description {
    display: none
}


/*DIRECTORIES*/

span.key {
    display: block;
}

span.address1 {
    display: block;
}

.geobase-filter label {
    background: #efefef;
    padding: 4px;
    width: 100%;
    margin-bottom: 4px;
    color: #000;
    display: block;
    font-size: .9em;
}

.single-post a:hover {
    color: #843224;
}

.geobase-list .geobase-post {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.geobase-wrapper h3.entry-title a {
    font-size: 160%;
    line-height: 1.2em;
}

.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;
    font-weight: 600;
    padding: 0px;
    font-size: 100%;
    color: #000;
}

.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-promo-text li {
    text-align: center;
}

.geobase-promo-text {
    text-align: center;
}

.geobase-promo-text a.button {
    color: #333;
    border: solid 1px #666;
    padding: 5px;
    border-radius: 4px;
}

.geobase-promo-text a.button:hover {
    background-color: #EAEAEA;
}

.geobase-list .geobase-field.website .label {
    display: none;
}


/*Special rule to make profile image full width*/

.profiles-image .geobase-images-wrapper .geobase-image-row.single .geobase-image {
    max-width: 100%;
}


/*Dining Guide*/

@media (max-width: 3000px) {
    .filterlist-horizontal .filterlist-available, .filterlist-horizontal .geobase-filter {
        display: block;
        width: 100%;
    }
}

@media (max-width: 3000px) {
    .filterlist-horizontal .geobase-filter.geobase-filter-submit {
        width: 100%;
        padding-top: 10px;
        margin-bottom: 10px;
    }
    .filterlist-horizontal #geobase-submit {
        width: 100%;
    }
}


/*Calendar*/

#tribe-community-events input[type="text"], #tribe-community-events textarea {
    border: solid 1px black;
    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 black;
    font-family: 'Libre Franklin', sans-serif;
    background-color: #fff;
}

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


/* Footer */

.footer {
    background-color: #000!important;
    color: #fff;
    margin-top: 0;
    padding-top: 15px;
}

#inner-footer.wrap {
    text-align: center;
}

.footer .bucket {
    width: 100%;
    overflow: hidden;
    margin: 5px 0px;
    color: #fff;
}

.footer .bucket h4 {
    text-align: center;
}

.footer .bucket .widget {
    margin: 0;
}

.footer .bucket ul {
    padding-top: 5px;
    text-align: center;
}

.footer .bucket li {
    display: inline;
    padding: 0 5px;
}

.footer .bucket li a {
    color: #fff;
    font-size: 16px;
}

.footer .fa {
    font-size: 22px;
}

.footer .bucket li a:hover {
    text-decoration: underline;
}

.footer .bucket li:after {
    content: ' |';
    position: relative;
    left: 5px;
    color: #BBB;
}

.footer .bucket .menu-social-media-container li:after {
    content: ' ';
}

.footer .bucket .menu-social-media-container li {
    padding-right: 15px;
}

.footer .bucket h4 {
    color: #fff;
    border-bottom: none;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 0;
    text-transform: uppercase;
}


/* -- Article Pagination -- */

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


/*-- Best of Menu --*/

.best-of-menu h4 {
    margin-bottom: -10px;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
}

.best-of-menu li {
    position: relative;
    right: 40px;
    list-style: none;
    border-bottom: 1px #ddd solid;
}

.best-of-menu li a:hover {
    color: #000;
}


/*Powered By Logo - Footer*/

.powered-by-container p {
    margin-bottom: 0px;
}

.powered-by-container p a img.powered-by {
    display: block;
    margin: auto;
}


/* Add styles for profile page conditional fields VOLT-433 */

div.vc_separator.profile-separator {
    margin: 15px 0 !important;
}

.profiles-image .wpb_raw_code {
    margin-bottom: 0;
}

.profiles-image .geo-field {
    margin: 0;
}


/* fix for homepage grid headline overlapping */

.content-list-grid.cl-Grid.cl-thumb-float-left.homepage-lead h2 {
    margin-top: 40px !important;
}

/* fix for filter list titles */
.geobase-filterlist.filterlist-horizontal h2 {
    white-space: normal;
    overflow: visible;
}