/*******************************************************************
	CONTENT
*******************************************************************/

#backstretch {
	position: relative;
	z-index: 10;
}

/*******************************************************************
  SIDEBAR
*******************************************************************/

.sidebar {
	padding: 0;
	text-align: center;
	font-size: 15px;
}

.sidebar .item {
	background: #063E7C;
	margin-bottom: 20px;
}

.sidebar .item.link {
	background: none;
	border: 5px solid #022A59;
	padding-bottom: 0;
}

.sidebar .item.link a:link,
.sidebar .item.link a:visited {
	display: block;
	background: #063E7C;
	box-shadow: none;
	padding: 10px 0;
}

.sidebar .item.link a:hover {
	background: #032A55;
	text-decoration: none;
}

.sidebar h3 {
	border: 5px solid #022A59;
	border-bottom: none;
	margin: 0;
	padding: 15px;
	background: #032A55;
	font-size: 18px;
	line-height: 18px;
	color: #FFF;
}

.sidebar .item ul,
.sidebar .item p {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.sidebar .item ul {
	border: 5px solid #022A59;
	border-top: none;
	box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
}

.sidebar .item a:link,
.sidebar .item a:visited {
	display: block;
	color: #FFF;
	padding: 15px;
	text-decoration: none;
}

.sidebar .item a:hover {
	background: rgba(0,0,0,0.1);
	text-decoration: none;
	color: #FFF;
}

.sidebar #tripadvisor > div > div {
	margin: 0 auto;
}

@media handheld, only screen and (max-width: 768px) {
	.sidebar {
		margin: 40px 0 0 0;
	}
}

/*******************************************************************
  PHOTOBORDER
*******************************************************************/

.photoborder {
	float: right;
	margin: 30px 0 20px 20px;
	line-height: 0;
	max-width: 35%;
	position: relative;
	width: 35%;
	z-index: 100;
}

.photoborder img {
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	width: 100%;
}

/*******************************************************************
  CONTENT SECTIONS (ROOMS)
*******************************************************************/

.content-section {
	overflow: hidden;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.content-section:last-child {
	border-bottom: none;
}

.content-section .photoborder {
	box-shadow: none;
}

.content-section .photoborder .visible {
	position: relative;
}

.content-section .photoborder .visible:after {
	content: '\f030';
	position: absolute;
	z-index: 100;
	font: 44px Icons;
	width: auto;
	color: #FFF;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.8;
	-webkit-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.content-section .photoborder .visible:hover:after {
	opacity: 1;
	font-size: 52px;
	cursor: pointer;
}

.open-gallery {
	text-align: center;
	margin: 0;
}

.open-gallery a:link,
.open-gallery a:visited {
	display: inline-block;
	margin-bottom: 10px;
	padding: 10px 35px;
	font: 15px Open Sans, Myriad Pro, Arial, sans-serif;
	color: #FFF;
	background: #757575;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	border-radius: 5px;
}

.open-gallery a:hover {
	background-color: #F68433;
	text-decoration: none;
}

.gallery {
	text-align: justify;
}

.magnific.gallery:after {
	content: ' ';
	display: inline-block;
	width: 100%;
}

.gallery a.visible {
	max-width: 32%;
	box-shadow: none;
	margin-left:0;
	margin-right:0;
	margin-bottom: 20px;
	display: inline-block;
	font-size: 0;
}

.photoborder .gallery a.visible {
	max-width: none;
}

/*******************************************************************
	SPECIALS
*******************************************************************/

#specials .special {
	background: #f5f5f5;
	overflow: hidden;
	margin: 20px 0;
	padding: 20px;
}

#specials .special:last-child {
	border-bottom: none;
}

#specials .special:nth-of-type(even),
#specials .special:nth-of-type(even) h2 {
	background: #063E7C;
	color: #FFF;
}

#specials .special:nth-of-type(even) a {
	color: #FFF;
	text-decoration: underline;
}

#specials h2 {
	margin-top: 0;
}

#specials .photoborder {
	max-width: 40%;
}

/*******************************************************************
	MASTHEAD
*******************************************************************/

#masthead {
	height: 350px;
}

/*******************************************************************
	TESTIMONIALS
*******************************************************************/

.testimonials .quotes {
	display: none;
}

.testimonial-sender {
	text-align: right;
	font: 600 18px Open Sans, Myriad Pro, Arial, sans-serif;
	color: #1074A1;
	margin: 0 0 10px 0;
	font-style: italic;
}

/*******************************************************************
  GALLERY
*******************************************************************/

.gallery {
	text-align: justify;
}

.magnific.gallery:after {
	content: ' ';
	display: inline-block;
	width: 100%;
}

#accordion .slick.gallery {
	max-width: none;
}

#accordion .gallery a.visible {
	max-width: 100%;
	display: block;
	padding: 10px 10px 5px 10px;
	margin: 12px 0 0 12px;
	box-shadow: 0 2px 5px #666;
}

.gallery a.visible {
	max-width: 23%;
	box-shadow: none;
	margin-left:0;
	margin-right:0;
	display: inline-block;
}

/*******************************************************************
  CONTACT FORM
*******************************************************************/

.form {
	margin: 0 0 20px 0;
}

/* Contact form inputs and text areas*/
.form input[type='text'], .form textarea {
	max-width: 50%;
	border: 1px solid #cccccc;
	padding: 0.25em 0.5em;
	background-color: white;
	font-family: inherit;
	color: rgba(0, 0, 0, 0.75);
	-webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
	-moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
	transition: box-shadow 0.45s, border-color 0.45s ease-in-out; 
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Resizes the text area*/
.form textarea {
	width: 90%;
	max-width: 95%;
	height: 150px;
}

/* Removes the Chrome outline on focus, and produces an animation*/
.form input[type='text']:focus, .form textarea:focus {
	-webkit-box-shadow: 0 0 5px #999999;
    -moz-box-shadow: 0 0 5px #999999;
    box-shadow: 0 0 5px #999999;
    border-color: #999999; 
    border-color: #999999;
    outline: none;
}

.form input[type="radio"]:last-of-type {
	margin-left: 25px;
}

/* Submit button for the form*/
.form .submit {
	display: inline-block;
	width: 180px;
	border-style: none;
	padding: 10px 35px 10px 35px;

	background: #063E7C; 
	font: 16px Open Sans, Myriad Pro, Arial, sans-serif;
	line-height: 14px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	vertical-align: middle;
	cursor: pointer;

	border-radius: 2px;
}

/* Submit hover state*/
.form .submit:hover {
	background: #032A55; 
	color: #fff;
	box-shadow:  inset 0px 1px 1px 0px rgba(255,255, 255, 0.2), inset 0px -1px 1px 0px rgba(0,0, 0, 0.2);
	text-decoration: none;
}

/* Contact form error messages*/
.form strong.required, .form div.error {color: #ff0000}

/* Displays a GIF loading animation once the form is submitted*/
.form .throbber {
	display: none;
	padding-left: 10px;
}

/* Surrounds the inputs witha  red border if an error is found on submit*/
.form input.error,.form textarea.error {border: 1px solid #ff0000}

/* Hides error messages above individual inputs*/
.form p.error {display: none !important} 

/* The contact form success container. Displays a thank-you messgae*/
.form_success {
	display: none;
}

/*******************************************************************
  MAIN PAGE INCLUDE
*******************************************************************/

#mainPageLists {
	margin: 20px 0;
}


/*******************************************************************
  Portfolio
*******************************************************************/

#content .portfolioList {
	margin: 40px 0 0 0;
}

#content .portfolio form {
	overflow: hidden;
}

#content .portfolio form#property-search {
	padding: 0 0 10px 0;
}

#content .portfolio form#property-search-keyword {
	padding: 30px 0 20px 0;
}

#content .portfolio form > div {
	float: left;
	height: 50px;
	margin-right: 20px;
}

#content .portfolio form > div:last-of-type {
	float: right;
	margin-right: 0;
}

#content .portfolio form label {
	display: block;
}

#content .portfolio form input[type="text"] {
	width: 240px;
}

#content .portfolio form label,
#content .portfolio form select,
#content .portfolio form input[type="text"] {
	font-size: 12px;
}

#content .portfolio form input[type="submit"] {
	background: #1074A1;
	border: none;
	color: #FFFFFF;
	margin: 7px 3px 7px 0;
	padding: 7px 20px;
	text-decoration: none;
}

#content .portfolio form input[type="submit"]:hover {
	color: #1074A1;
	background-color: #FFFFFF;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

#searchDivider {
	border-bottom: 1px solid #1074A1;
	text-align: center;
}

#searchDivider span {
	background: #FFFFFF;
	font-weight: bold;
	position: relative;
	padding: 0 10px;
	top: 9px;
}

#resultsNotice {
	border-top: 1px solid #1074A1;
	display: block;
	margin: 10px 0 25px 0;
	padding: 15px 0 0 0;
}

#content .portfolio h2 {
	background: #616161;
	border-bottom: 1px solid #717171;
	color: #FFFFFF;
	font-size: 16px;
	margin: 0 0 5px 0;
	padding: 10px 0 10px 40px;
	background-image: url(images/plus.png);
	background-repeat: no-repeat;
	background-position: 10px 10px;
}

#content .portfolio h2:hover {
	background-color: #1074A1;
	cursor: pointer;
}

#content h2#portfolioMap,
#content .portfolio h2#searchTitle {
	background: #1074A1;
	border: none;
	color: #FFFFFF;
	font-size: 20px;
	margin: 25px 0;
	padding: 10px 0 10px 10px;
}

.location {
	border-bottom: 1px solid #616161;
	display: none;
	overflow: hidden;
	padding: 30px 0 20px 0;
	width: 100%;
}

.locImage {
	float: right;
	max-width: 35%;
}

.locImage img {
	border: 1px solid #616161;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	margin-right: 2px;
	width: 100%;
}

.locInfo {
	float: left;
	width: 65%;
}

.locInfo h3 {
	color: #424242;
	font-size: 16px;
	margin: 0;
}

.portfolio .contact {
	float: right;
	width: 35%;
	text-align: right;
}

#map-canvas, #map_canvas {
	height: 100%;
	margin-bottom: 20px;
	min-height: 350px;
}

#map-canvas img {
	max-width: none;
}

#panel {
	position: absolute;
	top: 5px;
	left: 50%;
	margin-left: -180px;
	z-index: 5;
	background-color: #fff;
	padding: 5px;
	border: 1px solid #999;
}

@media handheld, only screen and (max-width: 875px) {
	.mapWrap {
		padding: 0 75px;
	}
}

@media handheld, only screen and (max-width: 520px) {
	.mapWrap {
		padding: 0 35px;
	}
}

/*******************************************************************
  MEDIA QUERIES
*******************************************************************/


@media handheld, only screen and (max-height: 700px) {
	#masthead {
		height: 200px;
	}
}

@media handheld, only screen and (max-width: 875px) {
	#content {
		padding-top: 10px;
	}
}

@media handheld, only screen and (max-width: 600px) {

	.form a.reload {
		display: block;
	}

	.form .submit {
		margin: 0 auto;
	}
}	

@media handheld, only screen and (max-width: 540px) {
	.locImage,
	.locInfo {
		float: none;
		text-align: center;
		width: 100%;
	}

	.locImage {
		margin: 0 auto 10px auto;
		max-width: 210px;
	}
}

@media handheld, only screen and (max-width: 420px) {
	#masthead {
		height: 150px;
	}
}

/*******************************************************************
  Details / Summary
*******************************************************************/

.accordions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;

	details {
		summary {
			background-color: #063E7C;
			color: #fff;
			cursor: pointer;
			padding: 1rem;

			&:hover,
			&:focus {
				background-color: #032A55;
			}
		}

		>div {
			padding: 1rem;
		}
	}
}
