@charset "UTF-8";
/*
Theme Name: Top 5 Zurich
Theme URI: https://top5zurich.com
Author: Rafael Hosli
Author URI: https://top5zurich.com
Description: Custom built theme for Top 5 Zurich
Version: 1.0
Text Domain: top5zurich
Tags: custom
*/
/*--------------------------------------------------------------*/

body {
	font-size:14px;
}
@media ( min-width:768px ) {
	body {
		font-size:16px;
	}
}

body div.grecaptcha-badge {
	opacity:0!important;
	display:none!important;
	bottom:-1000px!important;
}

/****************************************************
+SECTION - HEADER
*****************************************************/

/* Main Navigation
--------------------------*/
#mainNavWrap {
	/*padding-right:0;*/
	text-align:left;
}
nav#main-navigation {
	width:auto;
	overflow-x: scroll;
	overflow-y: hidden;
	
}
ul#menu-primary-menu {
	white-space: nowrap;
	list-style:none;
	margin:-7px 0 0 0;
	padding:0;
}
ul#menu-primary-menu li {
	display:inline-block;
	line-height:100%;
	margin-right:13px;
}
ul#menu-primary-menu li:last-child {
	margin-right:30px;
}
ul#menu-primary-menu li a {
	display:inline-block;
	padding:10px 0 20px 0;
	color:white;
}
@media (min-width: 768px) {
	#mainNavWrap {
		text-align:right;
	}
	ul#menu-primary-menu {
		margin:0;
	}
	ul#menu-primary-menu li {
		float:none;
		display:inline-block;
	}
	ul#menu-primary-menu li:last-child {
		margin-right:0px;
	}
	ul#menu-primary-menu li a {
		padding:0;
		line-height:60px;
	}
	ul#menu-primary-menu li.current-menu-item a {
		text-decoration:underline;
	}
	nav#main-navigation {
		width:auto;
		overflow-x: auto;
		overflow-y: auto;
	}
}
.mobNavshadow {
	display:block;
	position:absolute;
	top:0;
	right:0;
	height:100%;
	width:60px;
	background: rgb(42,62,69);
	background: linear-gradient(99deg, rgba(42,62,69,0) 0%, rgba(42,62,69,1) 100%);
}
@media (min-width:768px) {
	.mobNavshadow {
		display:none;
	}
}

/****************************************************
+SECTION - GENERAL FORMATING
*****************************************************/

/* HEADINGS
--------------------------*/
h4 {
	font-size:1.2em;
}

/****************************************************
+SECTION - ARCHIVE HEADER
*****************************************************/
.page-header {
	padding:2em 0;
	color:#FFF;
}

/****************************************************
+SECTION - LIST
*****************************************************/
.listings-wrap {
	padding:30px 15px;
	background:#efefef;
}
.listing-container {
	/*margin:0 15px 2em 15px;*/
	margin-bottom:2em;
}
@media (min-width:768px) {
	.listings-wrap {
		padding:30px 0;
	}
	.listing-container {
		padding:0 auto 2em auto;
	}
}
.listing-title {
	background:#2A3E45;
	color:white;
	margin-bottom:15px;
	padding:15px;
}
.listing-title h3 {
	position:relative;
	margin:0;
	padding:0 0 0 70px;
	font-size:1.2em;
	white-space:nowrap;
	overflow:hidden;
	width:100%;
}
@media (min-width:768px) {
	.listing-title h3 {
		font-size:1.4em;
	}
}
.num {
	position:absolute;
	left: 16px;
	top: -8px;
	width:60px;
	height:70px;
	line-height:50px;
	display:block;
	padding:10px;
	color:#FFF;
	text-align:center;
	font-size:1.4em;
}
.btn-red {
	background:#C02128;
	border:solid 1px #C02128;
}
.btn-red:hover,
.btn-red:active,
.btn-red:visited {
	background:#EC1C24!important;
	border:solid 1px #EC1C24!important;
}
.btn-red:active {
	background:#BE242D!important;
	border:solid 1px #BE242D!important;
}

.btn-dark-grey {
	background:#3E545B;
	border:solid 1px #3E545B;
}
.btn-dark-grey:hover {
	background:#5F767D;
	border:solid 1px #5F767D;
}
.rating h4 {
	color:#C02128;
	margin-bottom:15px;
}
.listings-wrap .summary {
	margin-bottom:15px;
	margin-top:-13px;
	font-size:0.9em;
}
@media (min-width:768px) {
	.listings-wrap .summary {
		font-size:1em;
	}
}

/****************************************************
+SECTION - SINGLE PLACE
*****************************************************/
.place-wrap {
	padding-bottom:30px;
}
@media (min-width:768px) {
	.place-wrap {
		padding-bottom:15px;
	}
}
/* Single Place Header
--------------------------*/
.single-place-header {
	/*background:#FFF;*/
	padding:15px 0 0 0;
	margin-bottom:15px;
	color:#000;
}
.backlink {
	margin-bottom:5px;
}
.single-place-header h1,
.single-place-header .page-title {
	font-size:2em;
}
.single-place-header .full-address {
	font-size:0.9em;
	opacity:0.5;
}
.single-place-header .full-address:hover {
	opacity:1;
}
.single-place-header .full-address a,
.backlink a {
	color:#c00;
}
.single-place-header .page-subtitle {
	color:#212529;
	font-size:1em;
	font-weight:normal;
}
.single-place-header .page-header-right {
	margin-top:1em;
	padding-top:1em;
	text-align:left;
	border-top:solid 1px #DDD;
}
.single-place-header .page-header-right h4.review-quote {
	font-size:1em;
}

.single-place-header .btn-primary:hover {
	-webkit-box-shadow: 0px 0px 15px -6px #ddd;
	-moz-box-shadow: 0px 0px 15px -6px #ddd;
	box-shadow: 0px 0px 15px -6px #ddd;
}
.btn-grey {
	background-color: #888;
	border-color: #888;
}
.btn-grey:hover {
	background:#555;
	border-color: #555;
}

.single-content h2 {
	font-size:1.6em;
}
.single-content h3 {
	font-size:1.4em;
}
.single-content h4 {
	font-size:1.2em;
}

@media (min-width: 768px) {
	.single-place-header {
		padding:2em;
	}
	.single-place-header .full-address {
		font-size:1em;
	}
	.single-place-header .page-subtitle {
		font-size:1em;
	}
	.single-place-header .page-header-right {
		margin-top:0;
		text-align:right;
		border-top:0px;
	}
	.single-place-header .page-header-right h4.review-quote {
		font-size:1.2em;
	}
}

/* Single Place Amenities
----------------------------*/
.amenities-wrap {
	margin-bottom:30px;
}
.amenities-wrap h4 {
	margin-bottom:15px;
}
.amenities-list {
	list-style:none;
	list-style-image:url("https://www.top5zurich.com/wp-content/themes/top5zurich/images/icon-check.jpg");
	margin:0 0 15px 24px;
	padding:0;
}
.amenities-list li {
	float:left;
	width: 98%;
	margin:0 1px 10px 0;
	line-height: 120%;
	padding:0 15px 0 0;
	background:#FFF;
}
.amenities-list li i {
	float:left;
	margin-right:5px;
}

@media (min-width: 768px) {
	.amenities-list li {
		width: 49%;
	}
}

/* SINGLE EVENT
--------------------------*/
.event-date {
	font-size:1em;
}
.event-date span {
	/*display:inline-block;*/
	/*font-size:0.7em;*/
	color:#c00;
}
.single-event .single-place-header .page-header-right h4.review-quote {
	font-weight:600;
	font-size:1.6em;
	margin-bottom:15px;
}
.single-event .single-place-header .page-header-right h4.review-quote .start-date,
.single-event .single-place-header .page-header-right h4.review-quote .end-date {
	display:inline-block;
}
.single-event .single-place-header .page-header-right h4.review-quote .end-date {
	font-weight:400;
	display:block;
	margin-top:7px;
	font-size:0.6em;
	opacity:0.5;
}


/* SWIPER GALLERY
--------------------------*/

.swiper,
.swiper-x {
  width: 100%;
  height: 100%;
}
.single-place .swiper {
    /*
	padding-top:10px;
    padding-bottom:10px;
	background:#efefef;
	*/
}
const swiper = new Swiper('.swiper', {
    slidesPerView: 'auto', // Allows dynamic adjustment
    spaceBetween: 15, // Consistent spacing
});
@media (min-width: 768px) {
	.single-place .swiper,
	.single-event .swiper {
	    padding-top:30px;
	    padding-bottom:40px;
		background:#efefef;
	}
}
.swiper h4.gallery-title {
	display:none!important;
	margin-bottom:15px;
	padding:7px 15px 0 15px;
}
.swiper-slide {
	/*
	width:100%;
	height:100%;
	max-height:450px;
	*/
	text-align:center;
}
body.single .swiper-slide {

}
.swiper-slide * {
	text-align:center;
}
.swiper-slide img {
    width: 100%; /* Fills the width of the slide */
    height: auto; /* Maintains the image's aspect ratio */
    object-fit: cover; /* Prevents distortion */
    display: block;
    box-sizing: border-box;
}
.swiper-slide {
    width: 100%; /* Matches the container width exactly */
    flex-shrink: 0; /* Prevents shrinking of the slide */
    overflow: hidden; /* Ensures no overflowing content */
    box-sizing: border-box; /* Keeps padding inside the box model */
    margin: 0; /* Removes default margins */
    padding: 0; /* Removes padding to ensure no extra spacing */
}
.swiper {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}
.swiper-slide .p_rating_score_avrg {
	display:none;
}
.swiper-slide .swiper-slide-cta .p_rating_score_avrg {
	display:inline-block;
}
.swiper-slide-cta span {
	display:inline-block;
}
.swiper-slide-excerpt {
	opacity:0.7;
}

.swiper-slide h5,
.swiper-slide-excerpt,
.swiper-slide .p_rating_score_avrg {
	margin-bottom:5px;
}

@media (min-width: 768px) {
	.swiper h4.gallery-title {
		display:none;
	}
	body.single .swiper-slide {
		max-width: 390px!important;
	}
	
	.swiper-slide {
		width:50%;
		height:auto;
		max-height:450px;
	}
	.swiper-slide * {
		text-align:left;
	}
	.swiper-slide-cta span {
		display:none;
	}
	.swiper-slide .p_rating_score_avrg {
		display:block;
	}
	.swiper-slide .swiper-slide-cta .p_rating_score_avrg {
		display:none;
	}
}
@media (min-width: 1000px) {
	.swiper h4.gallery-title {
		display:none;
	}
	.swiper-slide {
		width:33.333%;
		height:auto;
		max-height:450px;
	}
}

.place-description {
	padding-top:30px;
}
@media (min-width: 768px ) {
	.place-description {
		/*margin-bottom:30px;*/
	}
}

/* HOMEPAGE SLIDER
--------------------------*/
#home-swiper-container {
	position:relative;
  	width: 100%;
  	height: 100%;
  	color:white;
  	padding: 30px 0 40px 0;
  	background: #203136;
	overflow:hidden;
}
#home-swiper-container h1 {
	font-size:2em;
}
@media (min-width:768px) {
	#home-swiper-container {
		padding: 30px 0 40px 0;
		background: #203136;
	}
}
#home-swiper-container p {
	font-size:0.9em;
}
#home-swiper-container a {
	color:white;
}
#home-swiper-container .swiper-slide {
	max-height:650px;
	-webkit-box-shadow: 0px 0px 30px -6px #000;
	-moz-box-shadow: 0px 0px 30px -6px #000;
	box-shadow: 0px 0px 30px -6px #000;
}
@media (min-width: 768px) {
	#home-swiper-container .swiper-slide {
	    width: 50%;
	}
}
@media (min-width: 1000px) {
	#home-swiper-container .swiper-slide {
	    width: 33.333%;
	}
}
.image-overlay {
	position:absolute;
	top:0;
	bottom:0;
	width:100%;
	height:100%;
	opacity: .86;
	background-image: -webkit-linear-gradient(270deg,rgba(0,0,0,0.00) 12%,#000 97%);
	background-image: linear-gradient(-180deg,rgba(0,0,0,0.00) 12%,#000 97%);
}
#home-swiper-container .swiper-pagination-bullet {
	background:#405A62;
	opacity:1;
}
#home-swiper-container .swiper-pagination-bullet-active {
	background:orange;
}

/* SliderBoxList
--------------------------*/
.sliderBoxWrap {
	padding:30px 0 30px 0;
	background:#2A3E45;
}
@media (min-width:768px) {
	.sliderBoxWrap {
		padding:30px 0 50px 0;
	}
}
.sliderBoxWrap .container {
	background:transparent;
}
.sliderBoxWrap h3 {
	display:block;
	color:white;
}
.sliderBox {
	background:#FFF;
	width:100%;
	padding:10px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	flex-wrap: wrap;
}
.sliderBoxItemPreview {
	position:relative;
	width:64%;
	float:left;
	background-color:#DDD;
	margin-right:1%;
}
.sliderBoxList {
	width:35%;
	float:left;
}

.sliderBoxList .listItem {
	background:#FFF;
	cursor:pointer;
	padding:5px 0px 5px 0;
	margin-bottom:0px;
	border-bottom:solid 1px #DDD;
}
.sliderBoxList .listItem:first-child {
	padding-top:0;
}
.sliderBoxList .listItem:last-child {
	margin-bottom:0;
	padding-bottom:0;
	border-bottom:none;
}
.sliderBoxList .listItem:hover,
.sliderBoxList .listItem[selected=selected] {
	/*background:#DDD;*/
}

ul.sliderBoxTabs {
	list-style:none;
	margin:0;
	padding:0;
	height:auto;
	position:relative;
	height:1;
}
ul.sliderBoxTabs li {
	display:block;
	float:left;
	margin-right:0.1em;
	border-bottom:solid 1px #555;
}
ul.sliderBoxTabs li.active {
	border-bottom:solid 1px #FFF;
}
ul.sliderBoxTabs li a {
	color:#212529;
	text-decoration:none;
}
ul.sliderBoxTabs li a span {
	display:block;
	padding:0.5em 0.7em;
	background:#efefef;
	border-radius: 5px 5px 0 0;
}
ul.sliderBoxTabs li.active a span {
	background:#FFF;
}
ul.sliderBoxTabs li a:hover {
	text-decoration:underline;
}

/* ABOUT US
---------------------------*/
#aboutUs {
	padding-top:30px;
	padding-bottom:30px;
	display:block;
}
.about-us-photo {
	display:none;
}
@media (min-width:768px) {
	#aboutUs {
		padding-top:60px;
		padding-bottom:60px;
	}
	.about-us-photo {
		display:block;
	}
}

/* Latest updated categories on Mobile
--------------------------*/
.latestCatsMob {
	position:relative;width:48%;
	float:left;
	margin-right:2%;
	margin-bottom:1em;
	background-position:center center;
	background-size:cover;
	min-height:150px;
}
.latestCatsMob .absolute-bottom {
	width:70%;
	position:absolute;
	bottom:0;
	left:0;
	padding:1em;
	z-index:1;
}
.latestCatsMob h5 {
	font-size:1em;
	color:white;
}
.latestCatsMob a span {
	font-size:0.8em;
}



/* featuredBoxList Item
--------------------------*/
.featuredBoxList-wrap {
	
}
.featuredBoxList-wrap hr {
	height:2px;
	background:#c00;
}
.featuredBoxList {
	margin-bottom:30px;
}
@media (min-width:768px ) {
	.featuredBoxList {
		margin-bottom:30px;
	}
}
.featuredBoxList .listItem {
	background:transparent;
	cursor:pointer;
	padding:5px;
	border-bottom:solid 0px #DDD;
	-webkit-box-shadow: 0px 0px 30px -6px #ddd;
	-moz-box-shadow: 0px 0px 30px -6px #ddd;
	box-shadow: 0px 0px 30px -6px #ddd;
}
.featuredBoxList .listItem:hover,
.featuredBoxList .listItem[selected=selected] {
	background:#FFF;
}
.featuredBoxList hr {
	background:#c00;
	margin-top:1.5em;
	margin-bottom:1.7em;
	height:2px;
}
.featuredBoxList .listItem .itemTitle h5 {
	margin-top:2px;
	margin-bottom:5px;
	padding-bottom:0;
	font-size:1.1em;
}
.featuredBoxList .listItem .p_rating_score_avrg {
	font-size:0.9em;
}

/* categoriesBoxList Item
--------------------------*/
.categoriesBox hr {
	background:#c00;
	margin-top:1.5em;
	margin-bottom:1.7em;
	height:2px;
}
.categoriesBoxList .listItem {
	position:relative;
	width:100%;
	height:200px;
	cursor:pointer;
	padding:5px;
	border-bottom:solid 1px #DDD;
	color:white;
	border-radius:0px;
}
.boxoverlay {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:#000;
	opacity:0.3;
	z-index:9;
	transition: all 0.5s ease;
	border-radius:0px;
}
.categoriesBoxList .listItem:hover .boxoverlay {
	opacity:0.5;
}
.categoriesBoxList a {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:10;
	color:white;
	z-index:100;
}


/* RATING STARS
--------------------------*/
.rating_wrap {
	margin-bottom:30px;
}
.rating_wrap h5 {
	margin-bottom:15px;
}
.rating_item {
	margin-bottom:7px;
}
.rating_labels {
	margin-bottom:5px;
}
.p_rating_label {
	float:left;
	display:inline-block;
	width:45%;
}
.p_rating_score {
	float:right;display:inline-block;width:55%;
}
.p_rating_score i,
.p_rating_score_avrg i {
	color:orange;
}

/****************************************************
+SECTION - SIDEBAR
*****************************************************/
.sidebar-container {
	margin-top:0;
}
.sidebar-inner-wrap {
	position:relative;
	z-index:100;
}
@media (min-width: 768px) {
	.sidebar-container {
		margin-bottom:13px;
	}
	.sidebar-inner-wrap {
		position:relative;
		z-index:100;
		background:#efefef;
		padding:15px;
		margin-bottom:15px;
		border:solid 5px #FFF;
		-webkit-box-shadow: 0px 0px 30px -6px #ddd;
		-moz-box-shadow: 0px 0px 30px -6px #ddd;
		box-shadow: 0px 0px 30px -6px #ddd;
	}
}
@media (min-width: 1000px) {
	.sidebar-container {
		margin-top:2.3em;
		
	}
	.sidebar-inner-wrap {
		padding:22px;
	}
}

.p_social_links {
	list-style:none;
	margin:0;
	padding:0;
}
.p_social_links li {
	display:inline-block;
}
.p_social_links li a {
	display:block;
	padding:10px 15px;
	background:#efefef;
	color:#c00;
}

@media (min-width: 768px) {
	.p_social_links li a {
		background:#ffffff;
	}
	
}
.p_social_links li a:hover {
	background:#c00;
	color:#ffffff;
	text-decoration:none;
}
.p_social_links li .social_link_name {
	display:none;
}
.p_social_links li.link_bookingcom a {
	padding:8px 13px;
}
.p_social_links li.link_bookingcom a strong {
	font-size:1.1em;
}

/*
.sidebar-container .rating_wrap {
	display:none;
}
@media (min-width: 1000px) {
	.sidebar-container .rating_wrap {
		display:block;
	}
}
*/

/****************************************************
+SECTION - EVENTS CARDS LIST
*****************************************************/
.events-cards-list {
	background:#efefef;
	padding:0;
	padding:30px 0 0;
	display:block;
}
.related-cards-list {
	background:#2A3E45;
}
.post-type-archive-event .related-cards-list {
	background:#efefef;
}
.events-cards-list .card-wrap {
	margin-bottom:1.7em;
}
.events-cards-list .card {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid #fff;
	border-radius: 0;
}
.events-cards-list .card:hover {
	-webkit-box-shadow: 0px 0px 30px -6px #000;
	-moz-box-shadow: 0px 0px 30px -6px #000;
	box-shadow: 0px 0px 30px -6px #000;
}
.events-cards-list img {
	width:100%;
	height:auto;
	display:block;
}
@media (min-width: 1000px) {
	.events-cards-list {
		padding:30px 30px 30px 30px;
	}
}
.events-cards-list h3 {
	margin-bottom:0;
	font-size:1.3em;
}
@media (min-width:768px) {
	.events-cards-list h3 {
		font-size:1.75rem;
	}
}
.related-cards-list h3 {
	color:#FFF;
}
.related-cards-list h3 a,
.more-events-link a {
	color:#FFF;
}
.post-type-archive-event .related-cards-list h3,
.post-type-archive-event .related-cards-list h3 a,
.post-type-archive-event .more-events-link a {
	color:#212529;
}

.more-events-link a {
	text-decoration:none;
}
.more-events-link a:hover {
	text-decoration:underline;
	color:#FFF;
}

.events-cards-list .card .event-date {
	font-size:0.8em;
	margin-bottom:5px;
	color:orange;
}

.events-cards-list hr {
	background:#c00;
	margin-top:1.7em;
	margin-bottom:2em;
}
.events-cards-list h5,
.card-title {
	margin-top:2px;
	margin-bottom:5px;
	padding-bottom:0;
	font-size:1.1em;
}
.events-cards-list .p_rating_score_avrg {
	font-size:0.9em;
	margin-bottom:0.5em;
}

/* Misceleneous
--------------------------*/
a {
	color:#c00;
}
a:hover {
	color:#c00;
	text-decoration:underline;
}

.display-none {
	display:none;
}

/* Hide on handheld */
.nomob { display:none!important; }
.onlymob { display:block!important; }
@media (min-width:768px) {
	.nomob { display:block!important; }
	.onlymob { display:none!important; }
}

.screen-reader-text {display:none!important;}

.align-items-center {
	width:100%;
	height:100%;
	display:flex;
	align-items:center;
	justify-content:center;
}

hr.white {
	background:#FFF;
	height:2px;
}
hr.hr-grey {
	background:#DDD;
	height:2px;
}
hr.red {
	background:#C02128;
	height:2px;
}

.grey-fade {
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(239,239,239,1) 100%);
}

/* Responsive Video Wrapper
--------------------------*/
.videoWrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom:1em;
}
.videoWrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iframeWrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.iframeWrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Location Map Overlay
--------------------------*/
.locationMapBg {
	background:#000;
	opacity:0.7;
}
.locationMapBg,
.locationMapWrap {
	display:none;
	position:fixed;
	top:0;
	left:0;
    width: 100%;
    height: 100%;
	z-index:1000;
}
.locationMapWrap {
	z-index:1010;
}
.locationMap {
	position:relative;
	background:white;
	padding:0;
	width:95%;
	height:95%;
	margin-left:auto;
	margin-right:auto;
}
@media (min-width:768px) {
	.locationMap {
		width:80%;
		height:80%;
	}
}

.locationMap h2 {
	font-size:1.2em;
	padding:1em 1em 0.5em 1em;
}
.locationMap hr {
	display:none;
}
a.closeLocationMap {
	position:absolute;
	top:15px;
	right:15px;
	line-height:120%;
	font-size:1.45em;
	color:#999;
}
a.closeLocationMap span {
	display:none;
}
a.closeLocationMap:hover {
	color:black;
}


/* Single page
-------------------------*/
.page-content {
	padding-top:2em;
	padding-bottom:2em;
}
.page-content h1.page-title,
.page-content h2.page-title {
	margin-bottom:1em;
}

.alignleft {
	float:left;
	margin-right:1em;
	margin-bottom:0.5em;
}
.alignright {
	float:right;
	margin-left:1em;
	margin-bottom:0.5em;
}
.wp-caption {
}
.wp-caption img {
	margin:0 auto;
}
.wp-caption p.wp-caption-text {
	font-size:0.8em;
	opacity:0.7;
	text-align:center;
	padding:10px 10px 0 10px;
	margin-bottom:0;
}

/* Sinlge Page Sidebar
---------------------------*/
#sidebar-wrap {
	padding-top:2em;
}
#sidebar-wrap ul.menu {
	list-style:none;
	margin:0 0 1em 0;
	padding:0;
}
#sidebar-wrap ul.menu li a {
	display:block;
	border:solid 1px #DDD;
	border-width:1px 1px 0 1px;
	padding:7px 10px;
}
#sidebar-wrap ul.menu li:last-child a {
	border-width:1px 1px 1px 1px;
}
#sidebar-wrap ul.menu li.current-menu-item a {
	background:#efefef;
}


/* Share Overlay
--------------------------*/
.shoverlayBg,
.shoverlayWrap {
	display:none;
	position:fixed;
    width: 100%;
    height: 100%;
	z-index:1000;
}
.shoverlayBg {
	background:#000;
	opacity:0.7;
}
.shoverlay a.close {
	position:absolute;
	top:15px;
	right:15px;
	line-height:120%;
	font-size:1.1em;
	color:#999;
}
.shoverlay a.close span {
	display:none;
}
.shoverlay a.close i {
	margin-left:5px;
	font-size:1.4em;
}
.shoverlay a.close:hover {
	color:#000;
}

.shoverlayText p {
	font-size:1em;
	line-height:130%;
	margin-bottom:0.8em!important;
}

.shoverlay {
	background:#FFF;
	border-radius:5px;
	max-width:320px;
	width:90%;
	margin:0 auto;
	height:auto;
	-webkit-box-shadow: 0px 0px 30px -6px #000;
	-moz-box-shadow: 0px 0px 30px -6px #000;
	box-shadow: 0px 0px 30px -6px #000;	
}
.shoverlay p:last-child {
	margin-bottom:0;
}
.shoverlayInner {
	position:relative;
	padding:1em;
}
.shoverlay h2 {
	font-size:1.1em;
	font-weight:600;
	margin-bottom:1em;
}
.shoverlay p {
	font-size:0.9em;
	margin-bottom:2em;
}
.shoverlayButtons a {
	display:block;
	margin-bottom:0.5em;
	text-align:left;
}

/* Calendar Share Overlay
--------------------------*/
.calshoverlayBg,
.calshoverlayWrap {
	display:none;
	position:fixed;
    width: 100%;
    height: 100%;
	z-index:1000;
}
.calshoverlayBg {
	background:#000;
	opacity:0.7;
}
.calshoverlay a.close {
	position:absolute;
	top:15px;
	right:15px;
	line-height:120%;
	font-size:1.1em;
	color:#999;
}
.calshoverlay a.close span {
	display:none;
}
.calshoverlay a.close i {
	margin-left:5px;
	font-size:1.4em;
}
.calshoverlay a.close:hover {
	color:#000;
}

.calshoverlayText p {
	font-size:1em;
	line-height:130%;
	margin-bottom:0.8em!important;
}

.calshoverlay {
	background:#FFF;
	border-radius:5px;
	max-width:320px;
	width:90%;
	margin:0 auto;
	height:auto;
	-webkit-box-shadow: 0px 0px 30px -6px #000;
	-moz-box-shadow: 0px 0px 30px -6px #000;
	box-shadow: 0px 0px 30px -6px #000;	
}
.calshoverlay p:last-child {
	margin-bottom:0;
}
.calshoverlayInner {
	position:relative;
	padding:1em;
}
.calshoverlay h2 {
	font-size:1.1em;
	font-weight:600;
	margin-bottom:1em;
}
.calshoverlay p {
	font-size:0.9em;
	margin-bottom:2em;
}
.calshoverlayButtons a {
	display:block;
	margin-bottom:0.5em;
	text-align:left;
}

/*
LOGO CAROUSEL
-------------------*/
.wpl-logo-carousel-pro-section {
	margin-bottom:2em;
}
.wpl-logo-carousel-pro-section.theme-grid {
	margin-bottom:0;
}

/* PAGINATION
-------------------*/
.paginationWrap {
	margin-bottom:2em;
}
.pagination {
	display:inline-block;
	padding:1em;
}
.pagination .page_nav {
	/*
	width:100%;
	background:#DDD;
	padding:10px;
	*/
}
.pagination .page-numbers {
	border:none;
	padding:5px 10px;
	text-decoration:none;
	color:#475B61;
}
.pageCount {
	display:inline-block;
	text-align:left;
	padding:10px 0;
}
.pagination a.page-numbers:hover {
	text-decoration:underline;
}
.pagination .current {
	border:solid 1px #475B61; /* #C02128 red */
	background: #475B61;
	color:white;
}

/* FOOTER
------------------*/
footer {
	background:#2A3E45;
	color:#FFF;
	padding:30px;
	display:block;
}
footer a,
footer a:hover {
	color:white;
}
footer .widget-area h2 {
	font-size:1.2em;
	margin:0 0 0.7em 0;
	padding:0 0 0.7em 0;
	border-bottom:solid 4px #475B61;
	color:white;
	border-radius:0!important;
}

.site-logo-footer {
	width:200px;
	height:auto;
	padding:1em 0;
}

footer .menu {
	margin-left:0px;
	padding-left:0;
	list-style:none;
}
footer .menu li {
	border:dotted 1px red;
	/*border-width:0 0 1px 0:*/
	border-width:0;
}
footer .menu li:first-child {
	/*border-width:1px 0 1px 0px;*/
	border-width:0;
}
footer .menu li a {
	display:block;
	color:white;
	text-decoration:none;
	padding:5px 0;
}
footer .menu li a:hover {
	text-decoration:underline;
}

footer .footer-social-icons a {
	text-decoration:none;
	display:inline-block;
	margin-right:5px;
}
footer .footer-social-icons a i {
	font-size:2em;
}
footer .footer-social-icons a:hover i {
	color:#C02128;
}

.newsletter-signup label {
	clear:both;
	float:left;
	width:30%;
	margin-right:1em;
	display:none;
}
.newsletter-signup input[type=text],
.newsletter-signup input[type=email] {
	padding:10px;
	float:left;
	margin-right:15px;
	width:100%;
	margin-bottom:10px;
}
@media (min-width:1200px) {
	.newsletter-signup input[type=text],
	.newsletter-signup input[type=email] {
		width:60%;
	}
}
.newsletter-signup p:last-child input[type=submit] {
	clear:both;
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
	padding: .5rem 1rem;
	font-size: 1.25rem;
	line-height: 1.5;
	border-radius: .3rem;
	display:inline-block;
}

.copy,
.copy a {
	color:#7F8B8F;
}
.copy a:hover {
	color:#FFFFFF;
}

footer .copy .menu {
	margin-left:0px;
	padding-left:0;
	list-style:none;
}
footer .copy .menu li {
	display:inline-block;
	border:solid 1px #475B61;
	border-width:0 1px 0 0;
}
footer .copy .menu li:last-child {
	border-width:0 0 0 0;
}
footer .copy .menu li a {
	display:block;
	color:#7F8B8F;
	text-decoration:none;
	padding:0 5px;
}
footer .copy .menu li a:hover {
	text-decoration:underline;
	color:#FFF;
}
/* Ensure images stay inside the container */
.listing-container img, 
.events-cards-list .card img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Optional: Ensures proportional scaling */
    display: block;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%; /* Fills the width of the slide */
    height: auto; /* Maintains the image's aspect ratio */
    object-fit: cover; /* Prevents distortion */
    display: block;
    box-sizing: border-box;
}
.swiper-slide {
    width: 100%; /* Matches the container width exactly */
    flex-shrink: 0; /* Prevents shrinking of the slide */
    overflow: hidden; /* Ensures no overflowing content */
    box-sizing: border-box; /* Keeps padding inside the box model */
    margin: 0; /* Removes default margins */
    padding: 0; /* Removes padding to ensure no extra spacing */
}
.swiper {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}
document.addEventListener("DOMContentLoaded", function () {
    var swiper = new Swiper(".swiper", {
        slidesPerView: 1,
        spaceBetween: 15,
        pagination: {
            el: ".swiper-pagination",
            clickable: true,
        },
        on: {
            init: function () {
                this.update(); // Ensure Swiper recalculates on initialization
            },
            imagesReady: function () {
                this.update(); // Recalculate sizes once all images are loaded
            },
        },
    });
});