/***********************************
 * 
 * BLOCKS
 *
 ***********************************/
.me-block *,
.me-block *:before,
.me-block *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.me-block {
	position: relative;
	width: 1000px;
	margin: 0 auto;
}

.me-block .block {
	position: relative;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
	padding: 15px;
	margin-bottom: 15px;
}
.me-block .block.transparent {
	background: transparent;
	box-shadow: none;
	border: none;
	padding: 0;
}
.me-block .block.border { border-top: 3px solid #3e6f71; }
.me-block .block.no-padding { padding: 0 !important; }
.me-block .block .left { position: relative; }
.me-block .block .right { position: relative; }
.me-block .block .top { position: relative; }
.me-block .block .bottom { position: relative; }

.me-block .block h1,
.subcat .me-block .top h1 {
	color: #3e6f71;
	text-transform: uppercase;
	font-size: 28px;
	padding: 0 0 12px 0;
	letter-spacing: 1px;
	font-family: 'van_condensedbold';
	float: none; /* reset */
	width: 100%; /* reset */
	font-weight: normal;
}
.me-block .block h1.has-trip-builder { width: 76%; }

/***********************************
 * 
 * BLOCKS - CONTENT
 *
 ***********************************/
.me-block .top { margin-bottom: 15px; border-bottom: 1px solid #b2b2b2; }
.me-block .bottom {}
.me-block .content {
	position: relative;
	width: 74.4%;
}
.me-block .content.full-width { width: 100%; }
.me-block .content.right { float: right; }
.me-block .content.left { float: left; }
.me-block .content .block {}

.subcat .me-block .full-text img { width: 100%; height: auto; }

.me-block .content .left { width: 25%; margin-right: 2%; float: left; position: relative; }
.me-block .content .right { width: 73%; float: right; position: relative; }

/* Trip Ideas page */
.me-block .content .trip-categories .left { width: 75%; }
.me-block .content .trip-categories .right { width: 20%; }

/*************** MEDIA BLOCK ***************/
.me-block .media-block {}
.me-block .media-block.right {
	float: right;
	margin: 9px 0 15px 15px;
	width: auto;
}
.me-block .media-block.left {
	float: left;
	margin: 9px 15px 15px 0;
	width: auto;
}

/*************** TYPOGRAPHY ****************/

.lead h2 {
  color: #3c6d6e;
  font-family: "van_condensedbold";
  font-size: 15px;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: -5px;
  margin-top: 14px;
}


/***********************************
 * 
 * BLOCKS - SIDEBAR
 *
 ***********************************/
.me-block .sidebar {
	position: relative;
	width: 24%;
	margin: 0; /* reset to base styles */
}
.me-block .sidebar.right { float: right; }
.me-block .sidebar.left { float: left; }
.me-block .sidebar .block { padding: 15px; }
.me-block .sidebar .block:first-child { border-top: 3px solid #3e6f71; }

.me-block .sidebar .block h1,
.me-block .sidebar .block h2,
.me-block .sidebar .block h3,
.me-block .sidebar .block h4,
.me-block .sidebar .block h5,
.me-block .sidebar .block h6 {
	color: #315f60;
    font-family: "van_condensedbold",Arial,Helvetica,sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 18px;
    text-transform: uppercase;
}
.me-block .sidebar .block img + h1,
.me-block .sidebar .block img + h2,
.me-block .sidebar .block img + h3,
.me-block .sidebar .block img + h4,
.me-block .sidebar .block img + h5,
.me-block .sidebar .block img + h6 {
	margin-top: 15px;
}
.me-block .sidebar .block ul,
.me-block .sidebar .block ol {
	padding-left: 0;
	list-style-position: inside;
}
.me-block .sidebar .block ul li {}

/* resets */
#detail.story .me-block .right .block,
#detail .me-block .right .block { padding: 15px; }

/*************** TRIP IDEAS ***************/
.me-block .sidebar .trip-ideas-container, 
.me-block .sidebar .specials-container {
	background: none;
	padding: 0;
}
.me-block .sidebar .trip-ideas-container .item .right {
	width: 120px;
}
.me-block .sidebar .trip-ideas-container .item, 
.me-block .sidebar .specials-container .item,
.me-block .sidebar .trip-ideas-container .item:last-child, 
.me-block .sidebar .specials-container .item:last-child {
	padding: 0 0 15px 0;
	margin: 15px 0;
}
.ie8 .me-block .sidebar .trip-ideas-container .item { margin: 0; }

/*************** STORY BOX (NOTES) ***************/
.sidebar ul, 
.sidebar ol { margin: 5px 0 7px; }

/***********************************
 * 
 * FEATURED CONTENT
 *
 ***********************************/
.me-block .featured-content {
	position: relative;
	box-shadow: none; /* reset to base styles */
	border: none; /* reset to base styles */
	background: none; /* reset to base styles */
	padding: 0; /* reset to base styles */
	width: 100%; /* reset to base styles */
}
.me-block .featured-content .item {
	width: 32%;
}
.ie8 .me-block .featured-content .item { width: 31%; }
.me-block .featured-content .item:nth-child(3n) { margin-right: 0; }
.ie8 .me-block .featured-content .item.no-margin-right { margin-right: 0; }
.me-block .featured-content.stories .item { height: 285px; }
.me-block .featured-content.businesses .item { height: 130px; /* fix float clearing bug */ }
.me-block .featured-content.stories .item .image {
	width: 100%;
	height: 139px;
	display: block;
	overflow: hidden;
	background: transparent url(../img/no-photo.png) top center no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-ms-behavior: url(../assets/backgroundsize.min.htc);
}
.me-block .featured-content.similar .item > a.image {}
.me-block .featured-content .item > a.image {}
.me-block .featured-content .item > a {}
.me-block .featured-content h4 {}

.me-block .content .inner-nav-town { width: 100%; }

.me-block .clear-filter-town .modal { 
	width: 80px; 
	height: auto; 
	box-shadow: 0 1px 2px rgba(0,0,0,0.2); 
	color: #666666;
}

/************ BUSINESS LISTINGS - WIDE ************/
.me-block .featured-content.businesses .wide .item {
	width: 100%;
	height: auto;
	padding: 15px 0 0 0;
	margin: 0;
}
.me-block .featured-content.businesses .wide .item:first-child,
.me-block .featured-content.businesses .wide .item:first-child h4,
#detail .me-block .featured-content.businesses .wide .item:first-child h4 { padding-top: 0; }

/************ HAS FILTER ************/
.me-block .featured-content.has-filters .item { width: 48%; }
.me-block .featured-content.has-filters .item:nth-child(3n) { margin-right: 11px; }
.me-block .featured-content.has-filters .item:nth-child(2n) { margin-right: 0; }

.me-block .item-filters > div { margin-bottom: 15px; }
.me-block .item-filters > div .townFilter { margin-bottom: 10px; }

.item-filters p.title {
	color: #666666;
	display: block;
	float: none;
	font-family: 'van_condensedbold',Arial,Helvetica,sans-serif;
	font-size: 16px;
	line-height: 14px;
	margin: 0 0 10px;
	text-transform: uppercase;
	width: 100%;
}

/************ DEALS & EVENTS *************/
.me-block .deals .item,
.me-block .deals .item:nth-child(3n),
.me-block .deals .item:nth-child(2n),
.me-block .events .item,
.me-block .events .item:nth-child(3n),
.me-block .events .item:nth-child(2n) { 
	width: 100%; 
	border-bottom: 1px solid #dfdfdf;
    margin: 0 11px 10px 0;
    padding: 0;
}

.events .ev-left { width: 10%; }
.events .ev-right { width: 80%; }

/************ LOCAL ADVICE TAG ************/
.local-advice {
	position: absolute !important;
	background: #d47749;
	padding: 2px 4px;
	text-transform: uppercase;
	color: #fff;
	line-height: 11px;
	font-size: 12px;
	font-weight: bold;
}
.me-block .block .local-advice.top,
.me-block .block .local-advice.bottom { position: absolute; /* reset */ }
.subcat .local-advice.top,
.subcat .local-advice.bottom { background: #d47749; /* reset */ }
.local-advice.top {
	top: 0;
	right: 0;
}
.local-advice.bottom {
	bottom: 0; 
	left: 0;
	width: 100%;
	text-align: center;
}
.arrow_box {
	position: relative;
	background: #d47749;
}
.arrow_box:after {
	right: 104%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(212, 119, 73, 0);
	border-right-color: #d47749;
	border-width: 16px;
	margin-top: -19px;
}

/***********************************
 * 
 * CONTRIBUTOR BOX
 *
 ***********************************/
.contributor {
	position: relative;
	margin: 0 0 15px 0;
	background: #e9ebf2;
	display: table;
}
.contributor .avatar {
	position: relative;
	width: 17%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	-ms-behavior: url(../assets/backgroundsize.min.htc);
	display: table-cell;
}
.contributor .avatar .local-advice { /* see .local-advice */ }
.contributor .content,
#detail .contributor .content {
	position: relative;
	padding: 15px;
	width: 83%;
	display: table-cell;
}
.contributor .content h2 {
	font-size: 18px;
	color: #666666;
	margin-bottom: 8px;
	text-transform: uppercase;
	line-height: 15px;
	font-family: 'van_condensedbold';
	letter-spacing: 0.03em;
	font-weight: normal;
}
.contributor .content h3 {
	font-size: 14px;
	color: #385f60;
	margin-bottom: 12px;
	text-transform: uppercase;
	line-height: 11px;
	font-family: 'van_condensedbold';
	letter-spacing: 0.03em;
}
.contributor .content p {
	color: #666666;
	font-size: 11px;
	margin: 0;
}

/***********************************
 * 
 * MAPPING
 *
 ***********************************/

.popup { padding: 9px; }
.popup .title {
	color: #315f60;
    font-family: "van_condensedbold",Arial,Helvetica,sans-serif;
    font-size: 17px;
    font-weight: bold;
    line-height: 19px;
    margin: 0 0 6px;
    text-transform: uppercase;
}
.popup .title a {
	color: #315f60;
    text-decoration: none;
}
.popup .content {
	color: #757575;
    font-family: "van_condensedregular",Arial,Helvetica,sans-serif;
    font-size: 13px;
    width: auto;
}
.popup .content .desc {
	float: left;
    line-height: 15px;
    width: 195px;
}
.popup .content .image {
	float: left;
    height: 75px;
    margin: 0 10px 0 0;
    overflow: hidden;
    width: 125px;
}
.popup .content .contact {
	color: #757575;
    font-size: 12px;
    padding: 10px 0 0;
    width: 100%;
    clear: both;
    margin-top: 15px;
}

/* ------------------ Map Filters --------------------- */

.map-filter, .map-filter * , .map-filter *::after, .map-filter *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-transform: uppercase;
}
.map-filter { 
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	text-transform: uppercase;
	letter-spacing: 1.3px;
	z-index: 100;
	pointer-events: none;
}
.inner-mf-full {
	width: 100%; 
	height: 100%;
  	background: rgba(57, 109, 110, .8);
  	pointer-events: none;
  	opacity: 0;
	-webkit-transition: all 350ms linear;
	   -moz-transition: all 350ms linear;
	        transition: all 350ms linear;
}
.map-filter.show .inner-mf-full {
	opacity: 1;
	pointer-events: auto;
}
.inner-mf-full-abs {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	opacity: 1;
	-webkit-transition: all 350ms linear;
	   -moz-transition: all 350ms linear;
	        transition: all 350ms linear;
}
.inner-mf-full-abs .inner-mf * { pointer-events: auto; }
.map-filter.show .inner-mf-full-abs { opacity: 0; }
.inner-mf {
  position: relative;
  width: 100%; height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0;

}
.mf-content {}
.mf-group-abs {
	position: absolute;
	top: 30px;
	left: 0;
}
.mf-group {
  color: #fff;
  float: left;
  padding: 0 10px;
  margin-bottom: 20px;
}
.mf-group ul { list-style: none; margin: 0; padding: 0; }
.mf-group li {
  color: #fff;
  margin: 0 0 10px 0;
  float: left;
}
.mf-group.one-third li { width: 100%; }
.mf-group.two-third li { width: 50%; }
.mf-group.one-half li { width: 50%; }
.mf-group.full li { width: 33%; }    
.mf-group li img { margin: 0 10px; }

.mf-group input[type="checkbox"] { display: none; }
.mf-group input[type="checkbox"] + label { color: #fff; }
.mf-group input[type="checkbox"] + label span {
  display: inline-block;
  width: 12px; height: 12px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: transparent;
  vertical-align: middle;
  margin-right: 5px;
}
.mf-group input[type="checkbox"]:checked + label span { background: #031c3a; }

.mf-header {
  display: block;
  padding: 15px 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  background: rgba(57, 109, 110, .9);
}

.map-filter button {
	background: #d67746;
	border: none;
	color: #fff;
	padding: 5px 13px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0;
}
.map-filter button img { margin-left: 10px; }
.map-filter button.mf-apply,
.map-filter button.mf-close { 
	padding: 10px 13px;
	float: right; 
}
.map-filter button.mf-close {
	background: #999;
}
/* MF Helpers */
.map-filter .one-third { width: 33%; }
.map-filter .two-third { width: 66%; }
.map-filter .one-half { width: 50%; }
.map-filter .full { width: 100%; }

.map-feedback {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%);
	padding: 20px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.4);
	background: #fff;
	text-align: center;
	opacity: 0;
	display: block;
	pointer-events: none;
	z-index: 95;
	transition: all 350ms ease-in-out;
}
.map-feedback.show {
	opacity: 1;
	pointer-events: auto;
	transition: all 350ms ease-in-out;
}

/***********************************
 * 
 * RESETS FROM MASTER STYLE SHEET
 *
 ***********************************/
.clear-filter .modal { width: 80px; height: auto; }

ul > br,
ol > br,
#story-box br  { display: none; }


/***********************************
 * 
 * MEDIA QUERIES
 *
 ***********************************/
@media screen and (max-width:1400px){ /* match master style.css */ }
@media screen and (max-width:1200px){ /* match master style.css */ }
@media screen and (max-width:1100px){ /* match master style.css */ }
@media screen and (max-width:1024px){
	.me-block { width: 900px; }
	.contributor .avatar { width: 20%; }
	.contributor .content,
	#detail .contributor .content { width: 80%; }
	#main .sidebar .trip-ideas-container .item .left { display: none; }
	.me-block .sidebar .trip-ideas-container .item .right { width: 100%; margin: 0; padding: 0; }
	.me-block button.tp-save-story,
	button.tp-save { position: relative; }
	.me-block .block h1.has-trip-builder { width: 100%; }
}
@media screen and (max-width:900px){
	.me-block { width: 800px; }
	.contributor .avatar { width: 25%; }
	.contributor .content,
	#detail .contributor .content { width: 75%; }
	#main .business .sidebar, 
	#main .subcat .sidebar { width: 24%; margin: 0; }
}
@media screen and (max-width:800px){
	.me-block { width: 700px; }
	.story .featured-content .item,
	.me-block .featured-content .item,
	.me-block .featured-content .item:nth-child(3n) { width: 49%; margin: 0 0 20px 0; }
	.story .featured-content .item:nth-child(odd) { margin-right: 2%; }
	.me-block .featured-content.has-filters .item,
	.me-block .featured-content.has-filters .item:nth-child(3n) { width: 48%; margin: 0 11px 0 0; }
	.me-block .featured-content.businesses .wide .item { width: 100%; }
}
@media screen and (max-width:700px){
	.me-block { width: 90%; }
	.me-block .content { width: 100%; }
	.me-block .sidebar,
	#main .business .sidebar, 
	#main .subcat .sidebar { width: 100%; }
	.me-block .featured-content.businesses .item { height: 170px; }
	.me-block .featured-content.stories .item,
	.me-block .featured-content.has-filters .item { /*height: 305px;*/ }
	#main .sidebar .trip-ideas-container .item .left { display: block; width: 100px; height: 100px; }
	.me-block .sidebar .trip-ideas-container .item .right,
	#container #main .me-block .sidebar .trip-ideas-container .item .right { width: 60%; margin: 0 0 0 15px; padding: 0; }
	/* trip ideas */
	.me-block .content .trip-categories .left,
	.me-block .content .trip-categories .right { width: 100%; display: block; }
	
}
@media screen and (max-width:600px){
	.contributor .avatar { width: 35%; }
	.contributor .content,
	#detail .contributor .content { width: 65%; }
	/************ HAS FILTER ************/
	.me-block .left.item-filters { width: 100%; margin-right: 0; float: none; }
	.me-block .left.item-filters + .right { width: 100%; float: none; }
	.me-block .left.item-filters .topic,
	.me-block .left.item-filters .location { width: 50%; float: left; }

	.me-block .featured-content.has-filters .item { width: 48%; }
	.me-block .featured-content.has-filters .item:nth-child(3n) { margin-right: 11px; }
	.me-block .featured-content.has-filters .item:nth-child(2n) { margin-right: 0; }
	.me-block .content .left,
	.me-block .content .right { width: 100%; margin: 15px 0; }
	.events .ev-left { width: 10%; }
	.events .ev-right { width: 80%; }
}
@media screen and (max-width:500px){
	.contributor .avatar { display: none; }
	.contributor .content,
	#detail .contributor .content { width: 100%; }
	.story .featured-content .item,
	.me-block .featured-content .item:nth-child(3n),
	.me-block .featured-content.has-filters .item:nth-child(3n),
	.story .featured-content .item:nth-child(odd),
	.me-block .featured-content.businesses .item,
	.me-block .featured-content.stories .item,
	.me-block .featured-content.businesses .wide .item,
	.me-block .featured-content.has-filters .item { width: 100%; margin: 0; height: auto; padding: 15px 0; }
	.me-block .featured-content.has-filters .item .image { display: none; }
	.me-block .featured-content.businesses .wide .item:first-child,
	.me-block .featured-content.businesses .wide .item:first-child h4,
	#detail .me-block .featured-content.businesses .wide .item:first-child h4 { padding-top: 15px; }
}
@media screen and (max-width:400px){
	.me-block .media-block.right,
	.me-block .media-block.left,
	.attractions #search .main-container.events .bottom > .right, 
	.attractions #search .main-container.events .bottom .right .featured-content.similar,
	.events .ev-right {
		float: none;
		clear: both;
		width: 100%;
		margin: 15px 0;
	}
	#detail .me-block .story-image { width: 100%; }
	.me-block .sidebar .trip-ideas-container .item .right,
	#container #main .me-block .sidebar .trip-ideas-container .item .right { width: 100%; margin: 0; padding: 0; }
	.events .ev-left { display: none; }
	.events .ev-right { width: 100%; }
}
@media screen and (max-width:340px){}