
#map {
	position: fixed;
	height: 100%;
}

input,textarea {
	margin: 0 0 1em 0;
	display:block;
	width: 100%;
	background-color: #eee;
	padding: 0.5em;
	border: 1px solid #eee;
	border-radius: 3px;
	resize: none;
}

.hidden {
	display:none;
}

button {
	padding: 0.5em 1em;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0,0,0,0.8);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.overlay.active {
	opacity: 1;
}

.modalContainer {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: white;
	border-radius: 0;
	padding: 35px 40px 40px 40px;
}

@media screen and (min-width:851px) {
	.modalContainer {
		border-radius: 4px;
	}
}


.placeContainer {
	width: 500px;
	max-height: 700px !important;
	overflow-y: auto;
	max-width: 100vw;
}

.newPlacePromptContainer {
	width: 400px;
	height: 140px;
	text-align: center;
}

.promptLabel {
	margin: 0 0 1em 0;
}

.placeTitle,
.titleInput {
	font-family: Georgia, serif;
	font-size: 2em;
	margin-bottom: 1em;
}





/* image */

.imageContainer {
	position: relative;
	display:block;
	width: 100%;
	padding-bottom: 70%;
	overflow:hidden;
	margin-bottom: 2em;
}

.imageContainer.empty {
	padding-bottom: 0;
	margin: 0;
}

.imageContainer img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.imageContainer img.portrait {
	max-height: 100%;
	max-width: 60%;
}

.imageContainer img.landscape {
	max-width: 100%;
	max-height: 100%;
	height: auto;
}


/* gallery */

.gallery {
	position: relative;
	text-align: center;
	-ms-touch-action: none;

}

.gallery img {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	transition: opacity ease 0.3s;
}

.gallery img.portrait {
	height: 100%;
	width: auto;
}

.gallery img.active {
	opacity: 1;
}

/* slide indicators */

.gallery .slidesIndicators {
	position: absolute;
	bottom: 0;
	text-align: center;
	margin: 0 auto;
	padding-bottom: 0.4em;
	width: 100%;
}

.gallery .slidesIndicators span {
	position: relative;
	display:inline-block;
	width: 8px;
	height: 8px;
	border-radius: 4px;
	margin-right: 6px;
	background-color: rgba(200, 200, 200, 1.0);
}

.gallery .slidesIndicators span:not(.active) {
	background-color: rgba(200, 200, 200, 0.4) !important;
}

.slidesButtons {
	display:block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.slidesButtons>div {
	position: absolute;
	display:block;
	width: 50%;
	height: 100%;
	cursor: pointer;
}

.slidesButtons>div:hover .slidesArrow{
	opacity: 1;
}

.slidesArrow {
	opacity: 0;
	width: 20px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
	transition: margin-left ease 0.1s;
	fill: #444;
	background-color: white;
	padding: 6px 4px;
	/*
	-webkit-filter: drop-shadow( 1px 1px 1px #000 );
  filter: drop-shadow( 1px 1px 1px #000 );
 */
}

.slidesArrow:hover {
	fill: black;
}

.slideLeftButton .slidesArrow,
.slideLeftButton {
	left: 0;
}

.slideRightButton .slidesArrow,
.slideRightButton {
	right: 0;
}




/* comment */

.comment {
	margin-bottom: 0.5em;
}
/*
.comment::before {
	content: '«';
}

.comment::after {
	content: '»';
}
*/
.commenter {
	font-style: italic;
	color: grey;
}

.commenter::before {
	content: '– ';
}

.comment a {
	color: #108ec7;
}

.comment a:hover {
	color: #0645ad;
}


/* likes */

.likeContainer {

}

.likeButton {
	font-size: 1.2em;
	color: red;
	background-color: transparent;
	border: 0;
	padding: 0.5em;
	cursor:pointer;
	display:inline-block;
	margin-left: -0.5em;
	outline:none;
}

.likeCount {
	cursor:default;
	display:inline-block;
}

.likeButton:disabled {
	cursor:default;
}



.editEntryButton {
	font-size: 1.2em;
	position: absolute;
	top: 10px;
	right: 40px;
	background-color: transparent;
	border: 0;
	padding: 0.5em;
	margin-left: -0.5em;
	margin-top: -0.5em;
	color: grey;
	outline: none;
	cursor: pointer;
}

.editEntryButton:hover {
	color: black;
}


.overlayCloser {
	position: absolute;
	top: 10px;
	right: 10px;
	height: 24px;
	width: 24px;
	cursor:pointer;
	font-size: 1.9em;
	color: grey;
	text-align: center;
	line-height: 0.9;
}

.overlayCloser:hover {
	color: black;
}


.formContainer {
	position: relative;
	height: 100%;
}


.commentArea {
	position: relative;
	width: 100%;
	height: 15em;
}

.buttons {
	position: relative;
	margin-bottom: 1em;
}

.yesButton,
.saveButton,
.cancelButton {
	margin-right: 0.5em;
}


.missing {
	border: 1px solid red;
}

.errorNote {
	margin-bottom: 2em;
	color: red;
}


.savingIndicator {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 40;
	background-color: rgba(255,255,255, 0.8);
}

.savingIndicator svg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}


/* file upload */

.fileInputContainer,
.addAnotherUploadAreaButton {
	position: relative;
	width: 110px;
	height: 110px;
	border: 0;
	box-shadow: 0 0 0 8px #eee;
	border-radius: 2px;
	margin-left: 8px;
	margin-right: 20px;
	margin-bottom: 2em;
	display:inline-block;
	vertical-align: top;
	background-color: #eee;
	color: #888;
	cursor:pointer;
	font-size: 0.9em;
	text-align: center;
}

.fileInputContainer {
	border: 2px dashed #ddd;
	box-shadow: 0 0 0 8px #eee;
	z-index: 2;
}

.addAnotherUploadAreaButton {
	margin-right: 0;
}

.fileInputContainer:nth-child(3n) {
	margin-right: 0;
}

.addAnotherUploadAreaButton:hover {
	background-color: #ddd;
	box-shadow: 0 0 0 8px #ddd;
}

.fileInputContainer:hover,
.fileInputContainer.hovered {
	border-color: #aaa;
}

.inputFile {
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.fileInputNote,
.formUploadProgress {
	position: absolute;
	left: 0;
	right: 0;
	top: 24px;
	margin: 0 auto;
	color: #888;
	font-size: 1em;
	cursor:pointer;
	z-index: -1;
}

.filePreviewContainer {
	overflow: hidden;
}

.filePreview {
	max-width: 90%;
	max-height: 90%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.filePreviewDeleteButton {
	font-size: 1.4em;
	position: absolute;
	background-color:black;
	border: 0;
	padding: 0 0 0 0.03em;
	border-radius: 14px;
	width: 28px;
	height: 28px;
	color: grey;
	line-height: 0.2;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	cursor:pointer;
	text-align: center;
	z-index: 5;
}

.filePreviewDeleteButton:hover {
	color: white;
}



.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
     -khtml-user-select: none; /* Konqueror */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  not supported by any browser */
}