/* swatches - purple
dark: #352a57
medium; #a084bf
light: #b8a0d4
highlight: 124, 88, 169 -social network icon
*/

body{font-family: 'Open Sans',Arial,Helvetica,sans-serif;font-size: 20px;color: #464646;background-color: #ebebeb;}
h1 {margin: 0 0 20px; font-size: 1.95em;line-height: 1.128em; letter-spacing: 2px;}
h1 .subtitle, h2 .subtitle {font-size: 14px;letter-spacing: initial;}
h2, h3 {margin: 0 0 10px;}
a, a:active {color: #337ab7;}
h2 a, h3 a, h4 a {color: #333;}
.smaller {font-size:65%;}
hr {border-top: 1px solid #ddd;}

/* bootstrap 4 bypass */
.img-responsive, .img-fluid {max-width: 100%;height: auto;}
.d-none, .hidden {display: none!important;}

#wrapper {overflow: hidden;width: 100%;height: 100%;display: table;margin: 0 auto;table-layout: fixed;}
.module-blank {margin-bottom:20px;}
.module {margin-bottom:20px;background: #fff;padding:20px;}
.main-post {background: #fff;margin-bottom: 20px;/*box-shadow: 0 1px 6px 0 rgba(17, 17, 17, .37);*/}
.main-post h1 {font-size: 1.95em;line-height: 1.128em; letter-spacing: 2px;margin-bottom: 29px;margin-top: 0;}
.white-bg {background-color:#fff; padding:20px;/*box-shadow: 0 1px 6px 0 rgba(17, 17, 17, .37);*/}
.white-bg h1 {font-size: 1.95em;line-height: 1.128em; letter-spacing: 2px;margin-bottom: 29px;margin-top: 0;}
.main-photo {margin:-20px -20px 20px -20px;}
.full-width-photo {margin:0 -20px;}
.detail-description{clear: both;}
.detail-photo {max-width:300px; float: left; padding-right:20px; padding-bottom:20px;}

.sort-dropdown .glyphicon-question-sign {margin-top: 6px; margin-left: 10px;}
.detail-page .media:last-child {border-bottom:none;}
.media-left {padding-right:20px;}
.right-rail .media-left {max-width: 100%;flex: none;}
.right-rail .media-right, .right-rail .media-body {max-width: 100%;flex: none;}
.right-rail .media-left img { margin-bottom: 10px;}
.rating .stars span {color:#FFD700;text-shadow: 1px 1px #999;}

#header {background-color:#fff;margin-bottom: 20px;}
#header .top-header {background: #ccc;padding: 0 9999px;margin: 0 -9999px;}
.animated .social-networks,
.animated .search-form,
#header .top-header {display:none;}
#header .sign-up-box {float: left;padding: 16px 0;font-size: .9em;line-height: 1.111em;color: #fff;}
#header .sign-up-box a {color: #fff;font-weight: 900;margin-right: 5px;text-transform: uppercase;}
#header .top-menu {background-color:none;}
#header .top-menu .brand {font-size: 60px; float:left; margin: 0 20px 0 0; height: 90px; /*width: 390px;*/ display: flex; align-items: center;}
#header .top-menu .brand a {color:#fff !important;}
#header .top-menu .brand a img.site-log {color:#fff !important;}
#header .top-menu .brand a img {max-width: 100%;}
#header .header-ad-div {max-width:100%;height:90px;}
/*#header .top-menu .brand a:hover {text-decoration: none; border-bottom: 4px solid #fff;}*/

.row.breadcrumb {margin-bottom: 20px;}

#footer {background-color:#CCC;font-size:75%; margin-top: 2rem;}
#footer .container {padding:10px 0; color:#fff;}

.social-networks {float: right;padding: 10px 0 0;list-style:none;margin:0}
.social-networks li {float: left;font-size: 1.15em;padding-left: 30px;}
.social-networks a {color: #fff;text-shadow: 1px 4px 6px #999, 0 0 0 #000;}
.top-header .social-networks a:hover {color: #352a57;text-shadow: none;}
.search-form {float: right;margin: 0 2px 0 44px;}
.search-form input[type="search"] {height: 50px;background: #ddd;border: none;font-weight: 300;font-size: 1em;color: #fff;box-shadow: none;margin: 0;width: 207px;border-radius: 0;}

ul.nav {float:right;font-size: 1.5em;/*margin-top: 32px;*/}
ul.nav li a{color:#000;}
ul.nav>li>a:focus, ul.nav>li>a:hover {background: none; color:#ccc;}
.navbar-toggle {margin-top: 10px;}
.navbar-toggle .icon-bar {background-color: #999;}
#bs-navbar {margin: 0px; width: 100%;}
#bs-navbar .social-networks a {color:#ccc; text-shadow:none;}
#bs-navbar .social-networks li {padding-left:20px;}
#bs-navbar .social-networks li:first-child {padding-left:0;}
#bs-navbar .search-form { margin-left:20px;}
#bs-navbar .search-form input { width:140px;}

.main-post .location-link {color:#333}
.module .row {margin-left:-8px !important;margin-right:-7px !important;}
.module .col-lg-1, .module .col-lg-10, .module .col-lg-11, .module .col-lg-12, .module .col-lg-2, .module .col-lg-3, .module .col-lg-4, .module .col-lg-5, .module .col-lg-6, .module .col-lg-7, .module .col-lg-8, .module .col-lg-9, 
.module .col-md-1, .module .col-md-10, .module .col-md-11, .module .col-md-12, .module .col-md-2, .module .col-md-3, .module .col-md-4, .module .col-md-5, .module .col-md-6, .module .col-md-7, .module .col-md-8, .module .col-md-9, 
.module .col-sm-1, .module .col-sm-10, .module .col-sm-11, .module .col-sm-12, .module .col-sm-2, .module .col-sm-3, .module .col-sm-4, .module .col-sm-5, .module .col-sm-6, .module .col-sm-7, .module .col-sm-8, .module .col-sm-9, 
.module .col-xs-1, .module .col-xs-10, .module .col-xs-11, .module .col-xs-12, .module .col-xs-2, .module .col-xs-3, .module .col-xs-4, .module .col-xs-5, .module .col-xs-6, .module .col-xs-7, .module .col-xs-8, .module .col-xs-9 {
	padding-right: 8px;
    padding-left: 7px;
}


.media-item {border-bottom: 1px solid #ddd;padding-bottom: 20px;padding-top: 15px;}
.media {border-bottom: 1px solid #ddd;padding-bottom: 20px;padding-top: 15px;}
.media .media-object {max-height: 160px;max-width: 160px;}
h3.media-heading {font-size: 1.95em;line-height: 1.128em;}
h3.media-heading.small {font-size: 1.5em;margin-bottom: 10px; margin-left: 0;}
.media-heading a {color:#337ab7;}
.item-readmore {font-size: 14px}

.answerbook .media-heading {font-size: 24px; line-height: 30px;}
.answerbook .header-category {font-size: 36px;  margin: 30px 0 0;}

.gp-photos .photo-item {margin: 7px 0; height:150px; overflow:hidden;}
.gp-photos .photo-item img {width: 100%;height: 100%; object-fit: cover;}
.gp-photos .photo-item .img-attribution {
	position: relative;
    top: -20px;
    right: 1px;
    font-size: 12px;
    background-color: #fff;
    display: inline;
    padding: 0 5px;
    border-radius: 2px;
}
.media-special-offer {background: #fdffe7; border: 1px solid #EAB000; font-size: 65%; display: table; padding: 4px 8px; margin: 10px 0;}
.media-special-offer .glyphicon-tag {color: #EAB000; }
.media-special-offer .yext_special_offer {display: inline; margin-left: 5px; }
.btn-ecl-popup {margin-bottom: 8px;}

.show-more {margin: 10px 0;}
.btn-primary, .btn-primary:focus, .btn-primary:active:focus {color: #fff;/*background-color: #a084bf;border-color: #a084bf;*/}
.btn-primary:hover {background-color: #352a57;}
.btn-facebook {background-color: #3b5998;border-color: #3b5998;}
.btn-twitter {background-color: #00aced;border-color: #00aced;}
.btn-pinterest {background-color: #cb2027;border-color: #cb2027; padding: 10px 12px 9px 11px}
a.btn-facebook, a.btn-twitter, a.btn-pinterest {color:#fff;text-transform: uppercase;font-size: 18px; text-decoration:none;}
a.btn-facebook:hover, a.btn-twitter:hover, a.btn-pinterest:hover {color:#ddd;}
a.btn-facebook span,  a.btn-twitter span {margin-left: 5px;}
iframe.instagram-media {position: relative !important;min-width: initial !important;max-width: initial !important;}

.add-events, .add-org, .add-articles {display: none;}

#event_sort {margin-top: 5px;font-size: 75%;}

.search-by-geo .main-post {margin-bottom: 0 !important;padding-bottom: 0 !important;}
.search-by-geo-container .town-link {margin-top: 15px;}
.search-by-geo-town-picker {margin-bottom:20px;}
#find-location-again { margin-bottom: 10px; }

.ui-autocomplete {position: absolute;top: 100%;left: 0;z-index: 10002;display: none;float: left;min-width: 160px;padding: 5px 0;margin: 2px 0 0;font-size: 14px;text-align: left;list-style: none;background-color: #fff;border: solid 2px #cbd2dc;border-radius: 0;-webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);}
.ui-autocomplete li.ui-menu-item {display: block;padding: 5px 5px;clear: both;white-space: nowrap;cursor: pointer;border-bottom: 1px solid #ccc;}

.map_canvas {width:100%;height:100%;min-height:500px;border: 1px solid #CCC;}
img[src="http://maps.gstatic.com/mapfiles/api-3/images/mapcnt6.png"] {display: none;}
.pbgoogle .pbgoogle_text {color: #aaa;font-size: 10.5px;display: inline-block;margin-right: 2px;}
.pbgoogle.bottom {display:none; text-align: center;  margin: 10px 0 0;}
.marker-pop .icon-close {font-size: x-large !important;width: auto !important;height:auto !important;}
.marker-pop .moreinfo {font-size: smaller;font-weight: bold;}
.marker-pop .name {font-size: large;}
.localmap_nav {border-top: 1px solid #CCC;background-color: #66757F;color:#FFF;font-size: 10pt;padding: 4px 0;text-align: center;margin: 15px 0 0;}
.localmap_nav .grey {color:#CCC;}
.localmap_nav .arrow {color: #FFF;}
.localmap_nav .arrow.grey {color:#CCC;}
.localmap_button_next, .localmap_button_prev { cursor:pointer;margin: 5px;}
.map-module-gp .media-body .location {font-size: 75%;}
.map-module-gp .media {padding-top: 0;padding-bottom: 10px;}
.map-module .map-canvas {min-height: 400px;}

#atCarousel .carousel-indicators {width: 100%; margin-left: unset; left: unset; padding: 0 10px;}
#atCarousel {margin: 13px 13px 17px 17px;}
#atCarousel .carousel-inner .item {height: 400px;min-height:250px; background-position: 50% 50%; background-size: cover;}
#atCarousel .carousel-inner .item a {color:#fff;}
#atCarousel .carousel-inner .item .carousel-caption {bottom: unset; right: 0; left: unset; text-align: left; max-width: 500px; background-color: rgba(28,82,113,.6); padding: 10px; margin: 20px;}
#atCarousel .carousel-indicators li {box-shadow: 0 0 10px 1px rgba(0,0,0,.5);margin: 0 5px;}
#atCarousel .carousel-indicators .active {background-color: #1c617b;}

.articles-row-item {margin:10px 0 20px;}



.dimg {height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px 0px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg0{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px  0px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg1{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px -98px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg2{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px  -196px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg3{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px -294px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg4{height: 87px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px  -393px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg5{height: 86px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px  -492px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg6{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px  -588px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg7{height: 86px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px -688px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg8{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px  -784px;border-radius: 1px;border: 1px solid #d9e0e6;}
.dimg9{height: 88px;width: 88px;background:url("../img/sprite-listing-thumbs.png")no-repeat 0px -882px;border-radius: 1px;border: 1px solid #d9e0e6;}

/* 5 Columns */

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}


.articles-row-item .row-image.compat-object-fit {
   background-size: cover;
   background-position: center center;
}

.row .left-rail {  
	padding-right: 10px;
}
.row .right-rail {  
	padding-left: 10px;
}

.full-width {
    margin-left: calc(51% - 50vw);
    margin-right: calc(51% - 50vw);
}

@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
	.articles-row-item .row-image {
		display: block;
		width: 200px;
		height: 150px;
	}
	.articles-row-item .row-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}


/* xs style */
@media all and (max-width: 767px) {
	
	.media {padding-top: 0;}
	.media-left {display: block;  margin-bottom: 10px; padding-right:0;}
	ul.nav,
	#header .top-menu .brand {float:none;margin-top: 0;}
	ul.nav>li>a:focus, ul.nav>li>a:hover {border:none;}
	ul.nav li {margin: 10px 0;}
	#header .top-menu .brand {font-size: 30px;margin-top: 8px;height: 80px;width: 100%;}
	#header .top-menu .right-rail {padding:0}
	.row.breadcrumb {font-size: 65%;height: 34px; line-height: 21px; overflow-y: hidden;}
	.gp-photos .photo-item {height:auto;}
	.detail-photo {max-width:100%; padding-right:0; float:none;}
	.map-module-gp .left {visibility:hidden; height:0;}
	.map-module-gp .media-left {display:none;}
	.pbgoogle.bottom {display:block; }
	.twoColumn.row, #footer .row { margin:0;}
	.twoColumn .left-rail, .twoColumn .right-rail { padding:0;}
	#footer .copyright {padding: 0 20px;}
    .media .media-object {max-height: 120px !important;max-width: 120px !important;}
}

/* sm style */
@media all and (min-width: 768px) and (max-width: 991px) {
	
	ul.nav {float: left;margin-top: 0;}
	#bs-navbar {margin-left: -30px;}

}

/* md style */
@media all and (min-width: 992px) and (max-width: 1199px) {

}

/* lg style */
@media all  and (min-width: 1200px) {

}


/* Deals */


.grid .box { text-align: center; border: 1px solid #ccc; padding: 30px; border-radius: 5px; margin: 10px 0;background-color: #FFF; height:100%;padding-bottom:185px;}
.grid .box.noborder {border: none;padding: 5px;background-color: unset;}
.grid .box .icon { max-width: 100px; margin-bottom: 20px; }
/* .grid .box .logo { max-width: 100%; margin-bottom: 20px; border: 1px solid #ccc;} */
.grid .box .title {color: #09528a; font-weight: 800; font-size: 32px;line-height: 36px; margin-bottom: 15px;}

.grid .box .bottom {position: absolute; bottom: 0; margin: 0 auto; left: 0; right: 0; padding-bottom: 5px;}
.grid .box .brand {font-weight: 800;}
.grid .box .btn {margin-top: 10px; font-size: 16px; font-weight: 600; padding: 10px 20px; width: 80%; }
.grid .box .btn.view-all-deals {opacity: .75; color: #FFF;}

.deals-detail .main { border: 1px solid #ccc;}
.deals-detail .logo { max-width: 100%; border: 1px solid #ccc;}
.deals-detail .title {color: #09528a; font-weight: 800; font-size: 32px;line-height: 36px; margin-bottom: 15px;}
.deals-detail .brand {font-weight: 800;}
.deals-detail .btn {margin-top: 15px; font-size: 16px; font-weight: 600; padding: 12px 30px;}

.grid .box .deal_image {
	display: flex;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	overflow: hidden;
}
.grid .box .deal_image img.logo {
	margin: auto 0;
	border: none;
	width: 100%;
}
@media all and (max-width: 767px) {
	.grid .box {padding-bottom: 0;}
	.grid .box .bottom {position: unset;}
	.grid .box .btn { width: 100%;}
}
@media all and (min-width: 768px) and (max-width: 991px) {
	.grid .box .deal_image {
		height: 250px;
	}	
}
@media all and (min-width: 992px) and (max-width: 1199px) {
	.grid .box .deal_image {
		height: 373px;
	}	

}
@media all  and (min-width: 1200px) {
	.grid .box .deal_image {
		height: 278px;
	}	

}