/*
Theme Name: Visit Kent
Theme URI: http://visitkent.com
Description: Custom theme for Visit Kent
Author: JayRay
Author URI: http://jayray.com
Template: runway-framework
Version: 1.0
Tags: one-column,,two-columns,,three-columns,,left-sidebar,,right-sidebar,,fixed-layout,,fluid-layout,,responsive-layout,,buddypress,,custom-menu,,editor-style,,featured-images,,flexible-header,,full-width-template,,sticky-post,,theme-options,,threaded-comments,,translation-ready
License: GNU General Public License

*/

/* LS */
/* Fix for: Home page - Remove white space after image */
@media all and (max-width: 456px) {
    .about-image {
        min-height: 215px;
    }
}

/* Fix for: Blog - Blog excerpt text width */
@media all and (max-width: 768px) {
    .fl-post-feed .fl-post-feed-image-beside-content .fl-post-feed-text p {
        margin-left: 0px;
    }
}
#post-1249{
	padding: 20px;
}
#newsletter-section .fl-row-content-wrap{
	width: 100%;
}
#post-1191 ul{
	padding-left: 15px;
}
/* Fix for: Blog Category - Mobile menu title */
@media all and (max-width:767px){
    .category .sub-nav .fa-map-marker:before {
        content: "\f04";
        font-size: 25px;
    }
    
    .category .sub-nav .fa-map-marker:after, .archive.date .sub-nav .fa-map-marker:after, .archive.tag .sub-nav .fa-map-marker:after {
        content: "Seasons";
        font-size: 17px;
        font-family: sans-serif;
        text-transform: uppercase;
        margin-left: 15px;
    }

	.fa-fw {
		width:auto !important;
		margin-right:10px;
	}
}
@media (max-width: 991px){
	.hero .intro-title{
		font-size: 54px;
	}
	.large-hero.hero .container,
	.small-hero.hero .container {
        padding-top: 88px;
    }
}

/* Fix for: Header height on mobile */
@media all and (max-width:767px){

	/*Fix for Events top banner*/
	.fl-builder-content-1522 .intro-text {
		margin-bottom:0px !important;
	}

	.fl-builder-content-1508 .fl-heading {
		font-size:35px !important;
	}

	.fl-builder-content-1522 .fl-heading {
		font-size:14px !important;
		font-weight:bold !important;
	}
}

/* Fix for: Remove gray bar and make text legible. */
.fl-col.fl-node-59e8090565d79.fl-col-small {
    background-color: transparent;
}

.fl-col.fl-node-59e8090565d79.fl-col-small .fl-col-content .fl-node-content {
    margin-top:-21px;
	border-radius: 20px;
	-webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}

#bgmp_map-canvas {
    width:100% !important;
}

/* Fix for: Remove cuisine card space */
@media all and (max-width:768px){
    .main.container .fl-row-content-wrap {
        padding-top:0px;
        padding-bottom:0px;
    }
}

/* Fix for: Fix listing card buttons/details */
@media all and (max-width: 456px) {
    .fl-post-grid.masonry {
        width: 100% !important;
    }

	/*Fix on Hotels cards*/
	article#post-1545 .hero > .fl-col > .fl-module > .fl-module-content.fl-node-content {
		margin-left:0px !important;
		margin-right: 0px !important;
	}

	article#post-1545 .fl-module-content.fl-node-content, .fl-col.fl-node-59bc98789a3ce.fl-col-small {
		width:100% !important;
		margin:0px !important;
	}

	article#post-1545 .ta-grid-item-container {
		margin:0px !important;
		padding:0px !important;
		width:100% !important;
	}

	/*Fix for Camping RV Parks */
	article#post-1748 .fl-row-content-wrap{
		padding-left:20px;
		padding-right:20px;
	}

	/*Fix for Things to do - Entertainment */
	article#post-1589 .fl-row-content-wrap{
		padding-left:20px;
		padding-right:20px;
	}

	/*Fix on Things to do - Attractions*/
	article#post-1581 .fl-row-content-wrap {
		padding-left:20px;
		padding-right:20px;
	}

	/*Fix on Things to do - Outdoor recreation*/
	article#post-1591 .fl-row-content-wrap {
		padding-left:20px;
		padding-right:20px;
	}

	/*Fix on Things to do - Shopping*/
	article#post-1593 .fl-row-content-wrap {
		padding-left:20px;
		padding-right:20px;
	}

	/*Fix on Things to do - Sports*/
	article#post-1595 .fl-row-content-wrap {
		padding-left:20px;
		padding-right:20px;
	}
}

@media all and (max-width: 767px) and (min-width: 540px){
	.fl-post-grid-image img.cuisine-type-image {
		width:68% !important;
	}

	.fl-post-grid-image.restaurants {
		text-align:center;
	}

	.fl-post-grid-image {
		overflow:visible !important;
	}
}

/* Fix for: Events page issues */
@media all and (max-width:991px){
	/* 1. Buttons colors */
    .tribe-bar-collapse #tribe-bar-collapse-toggle {
    	background-color:#5F5244 !important;
    }
}

@media all and (max-width:767px){
    /* 1. Buttons colors */
    .tribe-events-filter-view.tribe-filters-closed #tribe_events_filters_wrapper #tribe_events_filters_toggle {
        background-color:#5F5244 !important;
    }

	/* 2. When you click on "Show Filters" the filters dissapear ABOVE you */
    .tribe-mobile #tribe_events_filters_wrapper.tribe-events-filters-vertical {
        margin-top:67px !important;
		margin-bottom:15px !important;
    }
    
    #tribe_events_filters_wrapper.tribe-events-filters-horizontal .tribe-events-filters-label, #tribe_events_filters_wrapper.tribe-events-filters-vertical .tribe-events-filters-label::before{
    	content:"Filters - ";
    }

	.tribe-events-filter-view.tribe-filters-closed #tribe_events_filters_wrapper #tribe_events_filters_toggle {
		margin-top: -55px !important;
	}
    
    /* 3. Space between Show Filters and the next title*/
    .tribe-events-filters-vertical .tribe-events-filters-content {
        margin-top:24px !important;
    }
    
    #tribe-events-content {
        /*margin-top:75px;*/
    }

	/* 4. When clicking on "View As" month is cut off. */
    #tribe-bar-views .tribe-bar-views-list {
        padding:0px !important;
    }

	/* 5. When clicking into the calendar, it is rendered below the "View as" feature */
	.datepicker.dropdown-menu {
		z-index:999 !important;
	}
}

/* Fix for: Search page */
@media all and (max-width:767px){
    .search.search-results > .main.container {
        padding-left:0px;
        padding-right:0px;
    }

	.search.search-results > .main.container .fl-post-grid-actions-container {
        position:static;
        display:block;
        bottom:0; 
        width:100%;
    }

	.search.search-results > .main.container .fl-post-grid-post {
        position: relative !important;
    	height: auto !important;
    	display: block !important;
    	margin-top: 0px !important;
    	top: 0px !important;
		clear:both !important;
    }

	.search.search-results > .main.container .fl-post-grid-image {
        position:static;
    }

    .search.search-results > .main.container .fl-post-grid-text {
        position: static;
    	width: 100%;
    	display: block;
    	float: none;
    }
}

/*Buttons for resolution less than 320px (search section)*/
@media all and (max-width:319px){
	.search.search-results .fl-post-grid-actions .fl-button {
		display:block !important;
	}

	.search.search-results .fl-post-grid-actions .fl-button a {
		width:100% !important;
	}
}

/* Fix for: Landing Page Icons */
@media all and (max-width:767px){
    #menu-things-to-do > .menu-item > a > img,
	#menu-eat > .menu-item > a > img {
        width:4.5em !important;
		margin-right:0px !important;
    }

	#menu-things-to-do, #menu-eat {
    	display:flex;
    	flex-direction:row;
    	flex-wrap:wrap;
    }

    #menu-things-to-do >li, #menu-eat > li {
    	width:46% !important;
    	padding:0px;
    	position:relative;
    }

	#menu-things-to-do > li > a > span, #menu-eat > li > a > span{
    	font-size:13px !important;
		line-height:15px;
    }
}

/* Fix internet Explorer Rendering */
img { -ms-interpolation-mode: bicubic !important; image-rendering: optimizeQuality; }