/* Shared Details */
.shared-detail {
	margin-top: 0px;
	margin-bottom: 80px;
}

/* Shared Top */
.shared-top {
	margin: 0 auto 50px;
	text-align: center;
	width: 100%;
	max-width: 960px;
}

.shared-top h1 {
	font-size: 38px;
	line-height: 48px;
	color: #505151;
	font-weight: 500;
	font-family:'Lucida Fax W01 Regular';
	margin: 0 0 15px;
	text-align: center;
}

.shared-top ul {
	list-style: none;
	margin: 0;
}

.shared-top ul {
	font-size: 21px;
	line-height: 31px;
	color: #505151;
	margin-bottom: 20px;
}

.shared-top ul.info .add-to a {
	color: #505151;
}

.shared-top ul.info .add-to .fa {
	font-size: 19px;
	margin-right: 5px;
	color: #43a5d1;
}

.shared-top ul.ta-info .review-cont > div {
	display: flex;
	align-items: center;
	justify-content: center;
}

.shared-top ul.ta-info .review-cont > div > img {
	margin-right: 10px;
}

.shared-top ul.ta-info .review-cont .review-total {
	font-size: 15px;
}

.shared-top ul.ta-info .review-cont .review-total span:last-child {
	color: #43a5d1;
}

.shared-top ul.links {
	display: flex;
	align-items: center;
	justify-content: center;
}

.shared-top ul.links li a {
	font-family:'Lucida Fax W01 Regular';
	color: white;
	font-size: 20px;
	background-color: #e0bd6e;
	margin: 0 22px;
	padding: 10px 15px;
	width: 170px;
	display: block;
}
.shared-top ul.links li.tb a {
	display: inline-block;
	font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
	color: #505151;
	background-color: transparent;
	width: auto;
}
.shared-top ul.links li.tb a .fa {
	color: #43a5d1;
}

.shared-top .add-this-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.shared-top .add-this-panel .back-button {
    color: #43a5d1;
    flex: 0 0 auto;
}

.shared-top .add-this-panel .back-button i {
    margin-right: 5px;
    font-size: 15px;
}

@media (max-width: 1024px) {
	.shared-detail {
		margin-bottom: 20px;
	}
	.shared-top h1 {
		font-size: 34px;
		line-height: 40px;
		margin-bottom: 5px;
	}
}

@media (max-width: 641px) {
	.shared-detail {
		margin-top: 10px;
		margin-bottom: 20px;
	}
	.shared-top {
		margin-bottom: 20px;
	}
	.shared-top ul.links {
		flex-direction: column;
	}
	.shared-top ul.links li a {
		width: 150px;
		font-size: 18px;
		margin: 10px 0;
	}
	.shared-top h1 {
		font-size: 24px;
		line-height: 30px;
		margin-bottom: 5px;
	}
	.shared-top ul {
		font-size: 15px;
		line-height: 20px;
		margin-bottom: 10px;
	}
	.shared-top ul.ta-info .heading {
		font-size: 17px;
	}
	.shared-top ul.ta-info .review-cont > div > img {
		margin-right: 5px;
		width: 110px;
	}
	.shared-top ul.ta-info .review-cont .review-total {
		font-size: 14px;
	}
}

/* Shared Gallery */
.shared-gallery {
	margin-bottom: 30px;
}

.shared-gallery .slider-primary {
	margin-bottom: 0;
}

.shared-gallery .slider-primary .slide {
	position: relative;
	padding: 10px;
	border: 1px solid #e0bd6e;
	z-index: 1;
}

.shared-gallery .slider-primary .slide img {
	position: relative;
	z-index: 2;
}

.shared-gallery .slider-primary .slide .view-gallery {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	pointer-events: none;
}

.shared-gallery .slider-primary .slide .view-gallery a {
	display: flex;
	align-items: center;
	color: white;
	font-size: 20px;
}

.shared-gallery .slider-primary .slide .view-gallery img {
	width: auto;
	margin-right: 10px;
}

.shared-gallery .slider-primary .slide::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0) 40%);
	z-index: 2;
}

.shared-gallery .slider-primary .slide img {
	display: block;
	width: 100%;
}

.shared-gallery .slider-primary .slick-prev,
.shared-gallery .slider-primary .slick-next {
	width: 40px;
	height: 40px;
	z-index: 1;
}

.shared-gallery .slider-primary .slick-prev {
	left: 0;
	background-image: url(/includes/public/assets/images/listings/slick-prev.png);
}

.shared-gallery .slider-primary .slick-next {
	right: 0;
	background-image: url(/includes/public/assets/images/listings/slick-next.png);
}

.shared-gallery .slider-primary .slick-prev:before,
.shared-gallery .slider-primary .slick-next:before {
	content: none;
}

@media (max-width: 641px) {
	.shared-gallery {
		margin-bottom: 20px;
	}
	.shared-gallery .slider-primary .slide .view-gallery {
		bottom: 15px;
	}
	.shared-gallery .slider-primary .slide {
		padding: 5px;
	}
	.shared-gallery .slider-primary .slide::before {
		left: 5px;
		top: 5px;
		width: calc(100% - 10px);
		height: calc(100% - 10px);
	}
}

/* Shared Bottom */
.shared-bottom {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}

.shared-bottom ul {
	margin: 0;
	list-style: none;
}

.shared-bottom ul li {
	position: relative;
	padding: 10px 0;
	margin-bottom: 15px;
}

.shared-bottom ul li .tab-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #618fb3;
	text-transform: uppercase;
	font-size: 22px;
	position: relative;
	padding: 15px;
	background-color: white;
	border: 1px solid #618fb3;
	z-index: 1;
}

.shared-bottom ul li .tab-inner::before {
	content: "";
	display: none;
	position: absolute;
	top: 5px;
	left: 5px;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	border: 1px solid white;
	z-index: 2;
}

.shared-bottom ul.detail-tabs li.active dd.active a,
.shared-bottom ul.detail-tabs li.active .tab-title.active a {
	background-color: #618fb3;
	color: #fff;
}

.shared-bottom ul li .tab-inner .fa {
	position: relative;
	z-index: 2;
	cursor: pointer;
}

.shared-bottom ul li .tab-inner .fa.fa-minus {
	display: none;
}

.shared-bottom ul li.active .tab-inner {
	background-color: #618fb3;
	color: white;
}

.shared-bottom ul li.active .tab-inner a { color: white; }

.shared-bottom ul li.active .tab-inner .fa.fa-plus {
	display: none;
}

.shared-bottom ul li.active .tab-inner .fa.fa-minus {
	display: inline-block;
}

.shared-bottom ul li.active .tab-inner::before {
	display: block;
}

.shared-bottom ul li .tab-content {
	height: 0;
	overflow: hidden;
	padding: 0 60px;
}

.shared-bottom ul li.active .tab-content {
	height: auto;
	padding: 30px 60px;
}

.shared-bottom ul li .tab-content h6 { font-family:'Avenir LT W01_85 Heavy1475544'; }

.shared-bottom [data-gMapContainer] [data-mapHolder] {
	overflow: hidden;
	min-height: 300px;
	margin-bottom: 20px;
}

.shared-bottom [data-gMapContainer] img.temp {
	display: block;
	width: 100%;
	min-height: 100%;
}

.shared-bottom [data-gMapContainer] ul li {
	padding: 0;
	margin: 0;
}

.shared-bottom ul.amen-subtab li,
.shared-bottom ul.meeting-subtab li {
    display: inline-flex;
    width: 100%;
    background-color: #e9e9e9;
    padding: 10px 5px;
    font-size: 14px;
}

.shared-bottom ul.meeting-subtab li {
	width: 100% !important;
}

.shared-bottom ul.amen-subtab li:nth-of-type(2n),
.shared-bottom ul.meeting-subtab li:nth-of-type(2n) { background-color: #fff; }

@media only screen and (max-width: 641px) {
    .shared-bottom ul.custom-tabs li strong {
        font-size: 18px;
    }
    .tabs dd, .tabs .tab-title { width: 100%; }
}

@media (max-width: 1024px) {
	.shared-bottom ul li.active .tab-content {
		padding: 30px 0;
	}
}

@media (max-width: 641px) {
	.shared-bottom ul li:last-child {
		margin-bottom: 0;
	}
	.shared-bottom ul li .tab-content {
		padding: 0;
	}
	.shared-bottom ul li.active .tab-content {
		padding: 15px 0;
	}
	.shared-bottom ul li .tab-inner {
		font-size: 18px;
	}
}
