/*
Theme Name:     Newspaper 6 Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper                             
Version:        6.1c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

.clearfix {
    clear:both;
}

ul#lightgallery {
    margin:0;
    padding:0;
    list-style-type:none;
}

ul#lightgallery li {
    float:left;
    margin-left:0 !important;
    margin-right:10px !important;
}

/*
 * Header Tweaks
 */
#td-header-menu {
    min-height:auto;
}

/*
 * Listings
 */
.listing {
    padding:0 20px;
    margin-bottom:15px;
    border-bottom:1px dashed #e6e6e6;
    word-wrap: break-word;
}

.listing.no-thumb {
    padding-left:0;
}

.td-container .listing:first-child {
    padding-top:0;
}

.td-container .listing:last-child {
    padding-bottom:0;
}

.listing h3, .listing h1 {
    margin-top:0;
}


.listing .first-col,
.listing .second-col,
.listing .third-col {
    float:left;
}

.listing .first-col {
    width: 23%;
}

.listing .second-col {
    padding-left:2%;
    padding-right:2%;
    width:50%;
}

.listing .second-col.no-thumb {
    padding-left:0;
    width:73%;
}

.listing .third-col {
    width:23%;
}

.listing .center-content {
    text-align:center;
}

.listing.premium {
    background:#e1ffff;
    border:1px solid #7bb3c4;
    padding:10px;
}

.listing.premium:first-child {
    padding-top:10px;
}

.listing.premium:last-child {
    padding-bottom:10px;
}

.listing p {
    margin-bottom:10px;
}

.listing a:hover {
    text-decoration:underline !important;
}

.listing a h3, .listing h1 {
    color:#7bb3c4;
}

.single-listing h1 {
    border-bottom:4px solid #7bb3c4;
}

.single-listing .business-card {
    float:right;
    clear:right;
    display:inline-block;
    background:#e6e6e6;
    padding:10px;
    margin-left:15px;
    margin-top:15px;
}

.single-listing .business-card h4 {
    margin-top:0;
    border-bottom:1px solid white;
}

.search-component {
    padding:15px;
    background:#e6e6e6;
    margin-bottom:15px;
}

.search-component h3 {
    margin-top:0;
}

.search-component label {
    font-weight:bold;
    display:block;
}

.search-component .left {
    float:left;
    width:50%;
    padding:15px 0;
    padding-right:5px;
    box-sizing:border-box;
}

.search-component .right {
    float:right;
    width:50%;
    padding:15px 0;
    padding-left:5px;
    box-sizing:border-box;
}

.search-component select {
    width:100%;
    padding:7px;
    box-sizing:border-box;
}


/*
 *  Events
 */
#tribe-events-bar {
    margin-bottom:0;
}
h2.tribe-events-page-title {
    margin-top:0;
    padding-top:10px;
}

#tribe-events-content-wrapper {

}

#tribe-events-pg-template {
    max-width:1021px;
    padding-left:15px;
    padding-right:15px;
    padding-top:15px;
    background:white;
}

.single-tribe_events .tribe-events-venue-map {
    float:left;
    clear:both;
    width:100%;
}

.single-tribe_events h1 {
    font-size: 40px;
    line-height: 50px;
}

.tribe-events-loop {
    box-sizing:border-box;
}
ul.tribe-bar-views-list {
    z-index:5 !important;
}

p.tribe-events-promo {
    display:none;
}

.tribe-events-event-image {
    display:inline-block;
    float:left;
    margin-right:15px;
}

#tribe-bar-views .tribe-bar-views-list {
    z-index:1 !important;
}

/*.tribe-events-cal-links {
    clear:both;
}*/

.tribe-events-single-section {
    clear:both;
}

.tribe-events-single-section .row dl {
    /*display:table;*/
}

.tribe-events-single-section .row {
    clear:both;
    border-bottom:1px dashed #efefef;
    padding-bottom:5px;
    margin-bottom:10px;
}

.tribe-events-single-section .row dt, .tribe-events-single-section .row dd {
    float:left;
    width:35%;
    word-wrap: break-word;
    display:inline-block;
}

.tribe-events-single-section .row dd {
    width:65%;
    position:relative;
    top:-3px;
}

.tribe-events-single-section dt {

}

.tribe-events-meta-group-venue {
    border-left:1px solid #eeeeee;
    border-right:1px solid #eeeeee;
}

.tribe-events-event-meta .tribe-events-meta-group {
    margin-bottom:0;
    padding-bottom:20px;
}
/*.tribe-events-single-section dt, */ .tribe-events-single-section dd {


                                      }

#tribe-events .tribe-events-button {
    /* background:#caa808; */
}

/**
* Logo Hack
*/
.logo-mobile-container {
    width: calc(100% - 108px);
    text-align:center;
    float:right;
}
img.td-logo.mobile {
    width:50%;
    margin-top:10px;
}

.td-banner-wrap-full.td-logo-wrap-full.mobile {
    max-height:0 !important;
    min-height:0 !important;
}

/**
 * Gradient only 50% on images
 */
.td-module-thumb a:last-child:before {
    height:50% !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.7))) !important;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0) !important;
}

.td-module-thumb a:last-child:before:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.7))) !important;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0) !important;
}

/*.td-post-featured-image {
    float:left;
    margin-right:15px;
    display:inline-block;
}

.td-post-featured-image .wp-caption-text {

}

.td-next-prev-wrap, .td-load-more-wrap {
    margin-bottom:10px !important;
}

.wpb_widgetised_column.wpb_content_element {
    margin-bottom:0;
}

.td_block_big_grid_1, .td_block_big_grid_2, .td_block_big_grid_3, .td_block_big_grid_4, .td_block_big_grid_5, .td_block_big_grid_6, .td_block_big_grid_7, .td_block_big_grid_8, .td_block_wrap {
    padding-bottom:0;
}*/

.td-post-template-2 .td-post-featured-image img {
    margin:0 auto;
}

.td-post-template-2 .td-post-featured-image .wp-caption-text {
    text-align:center;
}

@media (max-width: 768px) {
    .td-header-menu-wrap:not(.td-affix) #menu-td-demo-header-menu {
        position:relative !important;
        top:15px !important;
    }

    .td-header-menu-wrap:not(.td-affix) ul.sub-menu {
        margin-left:-85px !important;
    }

}

ul.sf-menu > .td-menu-item > a  {
    font-size:11px !important;
}

.tribe-mini-calendar-event .list-date {
    background: #7bb3c4 !important;
}

/** Formatting **/
.general-btn {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    background-color: #222222;
    border-radius: 0;
    border: none;
    padding: 8px 15px;
    font-weight: 500;
    color:white !important;
}

/** France map heaer ico **/
.td-header-top-menu {
    position:relative;
}

a.france-map-ico-desk {
    position:absolute !important;
    left:0px;
    top:30px;
}


a.france-map-ico-mob {
    display:none !important;
}

@media (max-width: 1050px) {

    a.france-map-ico-desk {
        display:none !important;
    }

    a.france-map-ico-mob {
        display:block !important;
        position:absolute;
        top:40px;
        left:0;
    }



    .td-header-sp-logo img.td-logo {
        width:300px;
    }
}

@media (max-width: 767px) {
    a.france-map-ico-desk {
        display:none !important;
    }

    a.france-map-ico-mob {
        display:none !important;
    }
}

/** Mobile Menu Tweaks */
/*.sf-menu ul .td-menu-item > a:hover, .sf-menu ul .sfHover > a, .sf-menu ul .current-menu-ancestor > a, .sf-menu ul .current-category-ancestor > a, .sf-menu ul .current-menu-item > a, .sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after, .td_block_mega_menu .td-next-prev-wrap a:hover, .td-mega-span .td-post-category:hover, .td-header-wrap .black-menu .sf-menu > li > a:hover, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .sfHover > a, .header-search-wrap .td-drop-down-search:after, .header-search-wrap .td-drop-down-search .btn:hover, .td-header-wrap .black-menu .sf-menu > .current-menu-item > a, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .current-category-ancestor > a, .td-mobile-close a {
    background:#004e82 !important;
}*/

.social-wrap {
    position:absolute;
    right:15px;
    top:75px;
}

.social-wrap i {
    color: white !important;
    font-size:30px !important;
    margin-left:10px;
    display:inline-block;


}

.social-wrap a:hover i {
    color:#004e82 !important;
}

span.custom-post-label {
    display:inline-block;
    background:#004e82;
    color:white;
    padding:5px;
    text-transform:uppercase;
    font-weight:bold;
}

.td-post-comments, .td-post-views {
    vertical-align:middle !important;
}
.td-post-views {
    padding-top:5px !important;
}

/**
Email icon in post tweaks
*/
.td-email-to-friend, .td-print {
    display:inline-block;

}

.td-email-to-friend a:first-child, .td-print a:first-child {
    position:relative;
    top:4px;
}


/**
* Change hyperlink colour in post content
*/
body.single-post .td-post-content a {
    color:#d12b73;
}

/**
* Hide ajax search
*/

.header-search-wrap .td-aj-search-results {
    display:none !important;
}

.header-search-wrap .result-msg {
    display:none !important;
}

/** MoneyCorp iFrame **/
.mcIframeWrapper {
    position: relative;
    height: 550px;
    padding: 20px;
    min-height: 410px;
    background-color: #ed1944;
    border: 1px solid #ed1944;
}

.mcIframeWrapper .mcIframeText {
    float: none;
    width:  100%;
    margin: 0;


}

@media (max-width: 350px) {
    .mcIframeWrapper .mcIframeText {
        float: none;
        width: 100%;
    }
}

.mcIframeWrapper .mcIframe {
    display: table-cell;
    float: right;
    max-width: 480px;
    border: none;
    overflow: hidden;
    width:  100%;
    min-height: 430px;
}

/** Increase search icon size **/
.header-search-wrap .td-icon-search {
    font-size:30px;
}