.authors table {
	border-spacing: 0;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.authors th {
	font-weight: normal;
	color: #000;
	text-align: left;
	padding-bottom: 3px;
	margin-bottom: 10px;
}

.authors td, .authors th {
	font-size: 14px;
	margin: 0;
	padding: 12px 3px 0;
	vertical-align: top;
}

 .authors th {
	border-bottom: 1px solid #000; 
 }
 
.authors td a {
	color: inherit !important;
}

.photo-cards {
	clear: both;
}


@media all and (max-width: 799px) {
	.photo-cards {
		text-align: center;
	}
	.photo-card {
		text-decoration: none;
	}
	.photo-card .photo {
		width: 83px;
		height: 83px;
		overflow: hidden;
		background-image: cover;
		display: inline-block;
		margin: 0 4px 8px 4px;
	}

}

@media all and (min-width: 800px) {
	.photo-cards {
	}
	.photo-card {
		text-decoration: none;
	}
	.photo-card .photo {
		float: left;
		width: 83px;
		height: 83px;
		overflow: hidden;
		background-image: cover;
		margin: 0 8px 8px 0;
	}

}
#textfield{
	font-family: Helvetica;
	border: 3px solid black;
	height: 50px;
	width: 200px;
	font-size: 14px;
	padding: 5px;
}

.autocomplete-suggestion{
	font-family: Helvetica;
	color: #aaa;
	border-bottom: 1px solid #cdcdcd;
	padding: 5px;
	font-size: 13px;
	position: relative; 
	padding: 0.6em; 
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
}

.autocomplete-suggestion:last-child{
	border-bottom: none;
}

.autocomplete-suggestion b{
	font-family: Helvetica;
	color: black;
	font-weight: normal;
}

@media all and (min-width: 500px){

	.reset_img {
	height: 20px;
	position: absolute;
	top: 25px;
	right: 7px;
	display: none;
	}

	.autocomplete-suggestions{
		position: absolute;
		top: 100%;
		margin-top: -15px;
		right: 0;
		left: 0;
		max-height: 250px;
    	z-index: 9999; 
    	overflow: hidden; 
    	overflow-y: auto; 
	}
	
	.autocomplete-suggestions::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 10px;
        background-color: #ccc;
		padding: 3px;
    }
	.autocomplete-suggestions::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background-color: #999;
        border: 2px solid #ccc;
	}

	.autocomplete-suggestion{	
		line-height: 25px; 
	}

	.menu_img, .menu_img_child{
		height: 20px;
		position: absolute;
		top: 25px;
		right: 7px;
	}
	
	.menu_img_child{
		transform: rotate(-90deg);
	}

	.menu_img_child{
		top: 10px;
	}

	/*.loadingGif{
		top: 25px;
		right: 7px;
		position: absolute;
		height: 20px;
		display: none;
	}*/
}

@media all and (max-width: 499px){
	.reset_img {
		height: 30px;
		position: absolute;
		top: 25px;
		right: 7px;
		display: none;
	}

	.autocomplete-suggestions{
		margin-top: -15px;
		margin-left: 0px;
		width: 100%;
		display: block;
		margin-bottom: 20px;
	}

	.autocomplete-suggestion{	
		line-height: 35px; 
	}

	.menu_img, .menu_img_child{
		height: 30px;
		position: absolute;
		top: 25px;
		right: 7px;
	}

	.menu_img_child{
		top: 10px;
	}

	/*.loadingGif{
		top: 25px;
		right: 7px;
		position: absolute;
		height: 30px;
		display: none;
	}*/
}

#outputtitle{
	color: black;
}

.autocomplete-suggestions {
    text-align: left; 
    cursor: default; 
    border: 1px solid #cdcdcd; 
    border-top: 0; 
    background: #fff; 
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;

    /* core styles should not be changed */
    display: none; 
    box-sizing: border-box;
}

.autocomplete-suggestion.selected { 
	background: #eee; 
}

#erroralert{
	padding: 5px;
	font-family: Helvetica;
	font-size: 13px;
	color: #aaa;
}
// Place all the styles related to the Collections controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/





.collections table {
	border-spacing: 0;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	width: 100%;
}

.collections th {
	font-weight: normal;
	color: #000;
	text-align: left;
	padding-bottom: 3px;
	margin-bottom: 10px;
}

.collections td, .collections th {
	font-size: 14px;
	margin: 0;
	padding: 12px 3px 0;
	vertical-align: top;
}

 .collections th {
	border-bottom: 1px solid #000; 
 }
 
.collections td a {
	color: inherit !important;
}
#label-3dhop {
    position: absolute; 
    bottom: 0; 
    right: 0; 
    padding-right: 20px;
    padding-bottom: 15px;
}

.view3D-header {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    padding: 6px 36px 6px 8px;
    color: #ccc;
    border-radius: 4px;
    max-width: 300px;
    max-width: calc(min(300px, 100vw - 170px));
}

.view3D-header p {
    margin: 0;
}
.query-result-nav {
	background: rgba(255,255,200,0.5);
	padding: 5px;
	text-align: center;
	border: 1px solid rgba(240,240,180,1);
	border-radius: 4px;
}

.query-result-nav .prev {
	float: left;
}
.query-result-nav .next {
	float: right;
}

@media all and (min-width: 500px) {
	.two-column .monument-card-wrapper {
		float: left;
		width: 50%;
		box-sizing: border-box;
		padding: 5px;
	}
}

.monument-cards {
	margin: 0 -5px;
	clear: both;
}

.monument-card-wrapper {
	padding: 5px;
}

.monument-card-wrapper{
	font-size: 12px;
	box-sizing: border-box;
	text-align: center;
}

a.monument-card {
	display: block;
	background: #eee;
	height: 85px;
	text-decoration: none;
	color: inherit;
	border-radius: 2px;
	overflow: hidden;
	text-align: left;
}

.monument-card .photo {
	width: 85px;
	height: 85px;
	overflow: hidden;
	background-image: cover;
	float: left;
	margin: 0 10px 0 0;
}

.photo{
	background-size: cover;
	position: relative;
}

.show-more-photo{
	height: 55px;
	width: 55px;
	position: relative;
	top: 15px;
	left: 15px;
}

.show-more-text{
	position: relative;
	top: -7px;
	left: 40px;
}

.monument-card-wrapper .monument-card p {
	padding: 10px 0 0 0;
	font-size: 12px;
	margin: 0 10px 0 10px;
	padding: 4px 0 0 0;
}

.monument-card-wrapper .monument-card p.id {
	padding: 10px 0 0 0;
}

.monument-card-wrapper .monument-card p.detail {
	color: rgba(0,0,0,0.5);
	
}

.monument-card-wrapper .monument-card p.detail b {
	color: rgba(200,0,0,0.7);
	font-weight: normal;
}


.monument-card-wrapper .monument-card b {
	color: rgba(200,0,0,1.0);
	font-weight: normal;
}

.monument-card a {
	font-size: 12px;
}
.monument-photos {
	margin: 0 -2px;
	clear: both;
}

.monument-photo-wrapper {
	padding: 4px 2px;
	float: left;
	font-size: 12px;
	box-sizing: border-box;
	text-align: center;
	width: 25%;
	height: 150px;
	overflow: hidden;
}

a.monument-photo {
	background: #eee;
	width: 100%;
	height: 150px;
	text-decoration: none;
	color: inherit;
	border-radius: 2px;
	overflow: hidden;
	text-align: left;
}

.monument-photo .photo {
	width: 100%;
	height: 150px;
	overflow: hidden;
	background-image: cover;
	float: left;
	margin: 0 10px 0 0;
}

.photo{
	background-size: cover;
	position: relative;
}
@media all and (min-width: 800px) {
	.monument {
		position: relative;
		left: -120px;
	}
	.monument .photos {
		position: absolute;
		top: 40px;
		left: 585px;
		width: 240px;
	}
	.monument .photos a.photo {
		margin: 0 0 10px;
		display: block;
	}
	.monument .photos img {
		max-width: 240px;
		max-height: 100vh;
	}
}
@media all and (max-width: 799px) {
	.monument .photos a.photo {
		margin: 0 5px 5px 0;
		display: inline-block;
		vertical-align: top;
	}
	.monument .photos {
		margin-bottom: 20px;
	}
	.monument .photos img {
		max-height: 200px;
		max-width: 220px;
	}
}

.photos a.photo {
	position: relative;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset;
	background-size: cover;
}

.photos a.photo img {
	border: none;
	display: block;
	opacity: 0;
}

.photos a.photo span {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 1px 3px;
	background: #eee;
	text-decoration: none;
	color: #000;
	font-size: 10px;
	opacity: 0.7;
}

.photos .caption {
	font-size: 11px;
	color: #666;
	margin-bottom: 25px;
}
.photos .caption h4 {
	font-weight: inherit;
	margin: 0 0.4em 0 0;
	font-size: inherit;
}

.photos .caption h4 + p {
	margin: 0 0 0;
}

.photos .caption p {
	margin: 0.4em 0 0;
}

.photos .caption p span {
	border: 1px solid #666;
	color: #666;
	padding: 0px 2px;
	font-size: 9px;
	font-weight: normal;
	display: inline-block;
	vertical-align: 1px;
}

dl {
	margin: 0;
}

dl.third {
	display: inline-block;
	width: 30%;
	vertical-align: top;
}

dt {
	color: #aaa;
	font-size: 13px;
	line-height: 16px;
	padding-top: 0px;
	margin-bottom: 0px;
	font-weight: 100;
}

p.footnote {
    font-size: 14px;
}

.monument dd p {
	margin: 0;
}

dd {
	margin: 0 0 7px;
/*	margin-left: 130px;*/
	font-size: 14px;
	line-height: 19px;
}

dd a {
	color: inherit !important;
}

dd a:hover {
	text-decoration: underline;
}

.deemph {
	color: #999;
}

dd .measurement + .measurement {
	margin-left: 1em;
}

hr {
	border: 0px solid #eee;
	border-bottom: 1px solid #ddd;
}

.page .section h3 {
	font-family: inherit;
	font-weight: inherit;
	font-size: 13px;
	padding: 3px 5px;
	margin: 15px -5px 8px;
	color: #fff;
	background-color: #aaa;
	border-radius: 2px;
	clear: both;
}

.minimap {
	float: right;
	margin: 0 -4px 8px 4px;
	position: relative;
	border: 1px solid #999;
}

.minimap img {
	display: block;
}

.minimap .marker {
	position: absolute;
	left: 96px;
	top: 71px;
	width: 9px;
	height: 9px;
}

.view3Dbutton {
    display: block;
    padding: 6px 20px;
    text-align: center;
    text-decoration: none;
    background-color: #ddd;
    transition: 0.3s;
	font-family: Helvetica;
	font-weight: 100;
	font-size: 18px;
    color: black;
    margin-bottom: 14px;
}
.view3Dbutton:hover {
    background-color: #eee;
}
.museum dt {
	width: 3em;
	text-align: left;
}

.museums h1 {
	margin: 1.5em 0 0;
}

.museums table {
	border-spacing: 0;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	margin-top: -30px;
}

.museums th {
	font-weight: normal;
	color: #000;
	text-align: left;
	padding-bottom: 3px;
	margin-bottom: 10px;
}

.museums td, .museums th {
	font-size: 14px;
	margin: 0;
	padding: 12px 3px 0;
	vertical-align: top;
}

 .museums th {
	border-bottom: 1px solid #000; 
 }
 
.museums td a {
	color: inherit !important;
}

@media all and (max-width: 500px) {
	.museums h1 {
		font-size: 22px;
		padding-bottom: 10px;
	}
	.museums tr {
		clear: left;
		display: block;
		padding: 0 0 0 0;
		position: relative;
		min-height: 25px;
	}
	.museums td, .museums th {
		margin: 0;
		padding: 0;
		border: 0;
		vertical-align: bottom;
	}
	
	.museums th {
		color: #555;
	}
	
	.museums th:nth-child(1), .museums td:nth-child(1) {
		width: 100%;
		float: left;
	}
	.museums td:nth-child(1) {
		padding-right: 2em;
		box-sizing: border-box;
	}
	.museums th:nth-child(1) {
		border-bottom: 1px solid #999;
		margin: 0 -2px 0 -2px;
		padding: 0 2px 0  2px;
	}
	
	.museums th:nth-child(2) {
		display: none;
	}
	.museums td:nth-child(2) {
		float: left;
		padding-bottom: 14px;
	}
	.museums th:nth-child(3) {
		position: absolute;
		right: 0;
		top: 0px;
	}
	.museums td:nth-child(3) {
		position: absolute;
		right: 0;
		top: 1px;
	}
}
@media all and (min-width: 800px) {

	div.page-menu {
		position: absolute;
		left: 50%;
		width: 0px;
		top: 117px;
		text-align: right;
	}
	div.page-menu div.page-menu-inner {
		position: absolute;
		right: 295px;
	}
	div.page-menu a {
		margin: 0 0 8px 0;
		padding-right: 9px;
		font-size: 14px;
		line-height: 22px;
		text-decoration: none;
	}
	div.page-menu a.current {
		color: black;
		text-decoration: none;
		color: black;
	}

	div.page-menu a:hover{
		color: black;
	}
}

@media all and (max-width: 799px) {

	div.page-menu {
		max-width: 550px;
		margin: 0px auto;
		padding: 40px 10px 0px;
	}
	div.page-menu a {
		margin: 0 0 8px 0;
		text-decoration: none;
		padding: 5px 0 5px 9px;
		font-size: 18px;
		border-left: 1px solid white
	}
	div.page-menu a.current {
		border-left: black solid 5px;
		padding-left: 5px;
		color: black;
	}

	div.page-menu a:hover{
		color: black;
		text-decoration: none;
	}
}

div.page-menu a {
	display: block;
	color: #aaa;
}


div.page {
	max-width: 550px;
	margin: 0px auto;
	padding: 20px 10px 40px;
}

div.page img {
	max-width: 100%;
}

div.page > p {
	font-size: 14px;
	line-height: 22px;
}

div.page h1, div.page h2, div.page h3 {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-weight: normal;
	color: #4e4e4e;
	line-height: 1em;
}

h1 a, h2 a, h3 a {
	color: inherit !important;
}

div.page h1 + h2 {
	margin: -0.5em 0 0.5em;
	font-size: 1.50em;
}

div.page h2 {
	margin: 2em 0 0.5em;
	font-size: 1.75em;
}

div.page h3 {
	margin: 0;
	font-size: 1.25em;
}


@media all and (min-width: 800px) {
	div.multi-page {
		display: flex;
		justify-content: center;
	}
	
	div.multi-page > div.page {
		margin: 1em 1.5em;
	}
}
/* line 1, app/assets/stylesheets/photo.scss */
body.photo-box {
  background-color: #444;
}

/* line 5, app/assets/stylesheets/photo.scss */
body.photo-box {
  margin: 0;
  padding: 0;
}

/* line 10, app/assets/stylesheets/photo.scss */
.no-permission-required .permission-required, .permission-required .no-permission-required {
  display: none;
}

/* line 19, app/assets/stylesheets/photo.scss */
.photo-box-zoom-button {
  display: none;
}

@media all and (min-width: 501px) {
  /* line 25, app/assets/stylesheets/photo.scss */
  .photo-box-zoom-button {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
  }
  /* line 31, app/assets/stylesheets/photo.scss */
  .photo-box-zoom-button a {
    display: block;
    float: left;
    margin: 3px;
  }
  /* line 36, app/assets/stylesheets/photo.scss */
  .fit-width .fit-width, .fit-height {
    fill: #fff;
    stroke: #fff;
  }
  /* line 40, app/assets/stylesheets/photo.scss */
  .fit-width .fit-height, .fit-width {
    fill: #999;
    stroke: #999;
  }
  /* line 45, app/assets/stylesheets/photo.scss */
  .photo-box-zoom-button svg {
    display: block;
  }
  /* line 49, app/assets/stylesheets/photo.scss */
  .photo-box-zoom-button {
    background: rgba(0, 0, 0, 0.8);
    padding: 3px;
    border-radius: 14px;
  }
  /* line 55, app/assets/stylesheets/photo.scss */
  .photo-box-header {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 36px 6px 8px;
    color: #ccc;
    border-radius: 4px;
    max-width: 300px;
    max-width: calc(min(300px, 100vw - 170px));
  }
  /* line 69, app/assets/stylesheets/photo.scss */
  .photo-box-header p {
    margin: 0;
  }
  /* line 73, app/assets/stylesheets/photo.scss */
  .photo-box-header p + p {
    margin-top: 0.5em;
  }
  /* line 77, app/assets/stylesheets/photo.scss */
  .photo-box-header #photo-caption, .photo-box-header .info {
    font-size: 13px;
  }
  /* line 81, app/assets/stylesheets/photo.scss */
  .hide-details .detail {
    display: none;
  }
  /* line 85, app/assets/stylesheets/photo.scss */
  .toggle-detail {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: url(/assets/close-icon-photo-b9c456befdacaffae136d098458be1fdd9636dcfef2b1e3da00151ba6d46a3e8.png) 50% 50% no-repeat;
    background-size: 25px 25px;
    font-size: 0;
    opacity: 0.85;
  }
  /* line 97, app/assets/stylesheets/photo.scss */
  .hide-details .toggle-detail {
    top: 50%;
    margin-top: -18px;
    background: url(/assets/unclose-icon-photo-93ccd49e25c10b0f1310f0b2cf2928cb607b39fdcd967f0a808e059696762afc.png) 50% 50% no-repeat;
    background-size: 25px 25px;
  }
  /* line 104, app/assets/stylesheets/photo.scss */
  .photo-box-header p {
    font-size: 13px;
  }
  /* line 108, app/assets/stylesheets/photo.scss */
  .photo-box-header a {
    color: inherit;
  }
  /* line 112, app/assets/stylesheets/photo.scss */
  .photo-box-header .title a {
    font-size: 15px;
  }
  /* line 116, app/assets/stylesheets/photo.scss */
  .photo-box-footer {
    padding: 10px 10px;
    color: #ccc;
    font-size: 13px;
    border-radius: 4px;
    text-align: center;
  }
  /* line 124, app/assets/stylesheets/photo.scss */
  .photo-box-footer p {
    margin: 0;
  }
  /* line 128, app/assets/stylesheets/photo.scss */
  .photo-box-footer p + p {
    margin-top: 0.5em;
  }
  /* line 132, app/assets/stylesheets/photo.scss */
  .photo-box-container {
    min-height: 100vh;
    min-height: calc(100vh - 50px);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  /* line 142, app/assets/stylesheets/photo.scss */
  .photo-box {
    margin-bottom: 75px;
  }
  /* line 146, app/assets/stylesheets/photo.scss */
  .photo-box .photo-box-container .main-photo {
    max-height: 100vh;
    max-height: calc(100vh - 50px);
  }
  /* line 151, app/assets/stylesheets/photo.scss */
  .photo-box.fit-width .photo-box-container .main-photo {
    max-width: 100vw;
    max-height: none;
  }
  /* line 159, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons a {
    width: 60px;
    height: 50px;
    /*		border-radius: 8px;*/
    text-align: center;
    color: #aaa;
    text-decoration: none;
    padding: 0 10px;
    position: fixed;
    bottom: 0px;
    border-radius: 4px;
    z-index: 2;
    font-size: 0;
  }
  /* line 174, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons a[rel~="prev"] {
    left: 0px;
    background: url(/assets/arrow-left-acc74f93281d9d97d18693941227b622f0b52016426c86d0215e62f06d7b7243.png) 50% 50% no-repeat;
    background-size: 40px 40px;
  }
  /* line 179, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons a[rel~="next"] {
    right: 0px;
    background: url(/assets/arrow-right-45ca2a63f14f54cba39c18df39cd2a8bf138497a08d645c6f9ab8da2b9409e9c.png) 50% 50% no-repeat;
    background-size: 40px 40px;
  }
  /* line 185, app/assets/stylesheets/photo.scss */
  .photo-box .nav-index-buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 60px 6px;
  }
  /* line 195, app/assets/stylesheets/photo.scss */
  .photo-box .nav-index-buttons a {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid transparent;
    margin: 0 3px;
    border-radius: 4px;
    display: inline-block;
    padding: 7px 11px;
    color: #ccc;
    text-decoration: none;
    font-size: 18px;
  }
  /* line 207, app/assets/stylesheets/photo.scss */
  .photo-box .nav-index-buttons a.active {
    color: #ddd;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ddd;
  }
}

@media all and (max-width: 500px) {
  /* line 216, app/assets/stylesheets/photo.scss */
  body.photo-box {
    padding-bottom: 75px;
  }
  /* line 220, app/assets/stylesheets/photo.scss */
  .photo-box-header {
    display: block;
    padding: 0px 20px;
    color: #ccc;
    margin-bottom: 10px;
  }
  /* line 227, app/assets/stylesheets/photo.scss */
  .photo-box-header #photo-caption, .photo-box-header .info {
    font-size: 13px;
  }
  /* line 231, app/assets/stylesheets/photo.scss */
  .photo-box-header a {
    color: inherit;
  }
  /* line 235, app/assets/stylesheets/photo.scss */
  .photo-box-header .title a {
    font-size: 15px;
  }
  /* line 238, app/assets/stylesheets/photo.scss */
  .photo-box-header p {
    font-size: 13px;
  }
  /* line 242, app/assets/stylesheets/photo.scss */
  .photo-box-container {
    text-align: center;
  }
  /* line 246, app/assets/stylesheets/photo.scss */
  .photo-box {
    padding-bottom: 100px;
  }
  /* line 250, app/assets/stylesheets/photo.scss */
  .toggle-detail {
    display: none !important;
  }
  /* line 254, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
  }
  /* line 262, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons a {
    width: 50px;
    height: 40px;
    text-align: center;
    color: #aaa;
    text-decoration: none;
    padding: 20px;
    font-size: 0;
  }
  /* line 272, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons a[rel~="prev"] {
    float: left;
    background: url(/assets/arrow-left-acc74f93281d9d97d18693941227b622f0b52016426c86d0215e62f06d7b7243.png) 50% 50% no-repeat;
    background-size: 40px 40px;
  }
  /* line 277, app/assets/stylesheets/photo.scss */
  .photo-box .nav-buttons a[rel~="next"] {
    float: right;
    background: url(/assets/arrow-right-45ca2a63f14f54cba39c18df39cd2a8bf138497a08d645c6f9ab8da2b9409e9c.png) 50% 50% no-repeat;
    background-size: 40px 40px;
  }
  /* line 283, app/assets/stylesheets/photo.scss */
  .photo-box-footer {
    padding: 10px 10px;
    color: #ccc;
    font-size: 14px;
  }
  /* line 289, app/assets/stylesheets/photo.scss */
  .photo-box-footer p {
    margin: 0;
  }
  /* line 293, app/assets/stylesheets/photo.scss */
  .photo-box-footer p + p {
    margin-top: 0.5em;
  }
  /* line 297, app/assets/stylesheets/photo.scss */
  .photo-box .nav-index-buttons {
    display: none;
  }
  /* line 301, app/assets/stylesheets/photo.scss */
  .photo-box .photo-box-container .main-photo {
    max-width: 90vw;
  }
}
#map.full {
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 0;
	right: 0;
	min-height: 300px;
}

#map.inline {
	clear: both;
	min-height: 500px;
}

#legend {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10000;
	background: white;
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 4px;
	padding: 3px 0;
}

#legend span {
	padding: 6px;
	cursor: pointer;
}
#legend span + span {
	padding-left: 6px;
}
#legend span img {
	margin-right: 5px;
}
#legend span:first-child {
	padding-left: 12px;
}
#legend span:last-child {
	padding-right: 12px;
}
#legend span.active {
	text-decoration: underline;
}

#action-buttons {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 10000;
	background: white;
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 4px;
	padding: 3px 0;
}

#action-buttons span {
	padding: 6px;
	cursor: pointer;
}
#action-buttons span + span {
	padding-left: 6px;
}
#action-buttons span img {
	margin-right: 5px;
}
#action-buttons span:first-child {
	padding-left: 12px;
}
#action-buttons span:last-child {
	padding-right: 12px;
}
#action-buttons span.active {
	text-decoration: underline;
}


.breadcrumb {
	font-size: 11px;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

.breadcrumb li {
	display: inline;
	margin: 0;
	padding: 0;
	color: #aaa;
}

.breadcrumb li + li::before {
	content: "» ";
}

.breadcrumb li a {
	text-decoration: none;
	color: inherit;
}

.breadcrumb li a:hover {
	text-decoration: underline;
}

.place h1 {
	margin-bottom: 0;
}

.placename-list {
	margin: 0;
	padding: 0;
}

.placename-list li {
	display: inline;
	margin: 0;
	padding: 0;
}

.placename-list li a {
	color: inherit;
	font-size: 14px;
}

.placename-list li + li::before {
	content: " · ";
	color: #999;
}

.show-more, .pagination {
	text-align: center;
}

.show-more a, .pagination a, .button, .pagination .page.current {
	border-radius: 4px;
}

.show-more a, .pagination a, .button, .mode-selector a, .pagination .page.current {
	display: inline-block;
	margin: 8px auto 8px;
	cursor: pointer;
	padding: 5px 8px 4px;
	font-size: 12px;
	color: #666 !important; /* override a:visited */
	background: #f9f9f9;
	text-decoration: none;
	border: 1px solid #ccc;
	box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
	font-family: inherit;
}

.button.primary {
	background: #fe3;
	color: #000 !important;
	border-color: #a93 !important;
}

.button.primary:active {
	background: #000;
	color: #fe3 !important;
}

.mode-selector a:first-child {
	border-bottom-left-radius: 4px;
	border-top-left-radius: 4px;
}

.mode-selector a:last-child {
	border-bottom-right-radius: 4px;
	border-top-right-radius: 4px;
}

.pagination {
	float: left;
}

.mode-selector {
	float: right;
}

.mode-selector a + a {
	border-radius: 0;
	margin-left: -6px;
}

.mode-selector a.active, .pagination .page.current {
	background: #c9c9c9 !important;
}


.show-more a:active, .pagination a:active, .button:active {
	background: #ddd;
	border-color: #bbb;
}

.show-more.show-all {
	margin: 0em 0 2.5em;
}
.show-more.show-all a {
	margin: 8px 16px;
}

.pagination .current {
	font-size: 14px;
	margin: 7px auto;
	padding: 5px 8px 4px;
}
.qr {
	width: 165px;
	border: 2px solid black;
	padding: 10px 0;
	margin: 30px;
	display: inline-block;
}

.qr h1, .qr .url {
	font-family: Tahoma, sans-serif;
	font-size: 13px;
	font-weight: normal;
	margin: 0 5px;
	text-align: center;
}

.qr table {
  border-width: 0;
  border-style: none;
  border-color: #0000ff;
  border-collapse: collapse;
  margin: 0 auto;
}

.qr td {
  border-left: solid 5px #000;
  padding: 0; 
  margin: 0; 
  width: 0px; 
  height: 5px; 
}

.qr td.black { border-color: #000; }
.qr td.white { border-color: #fff; }
.query-summary {
	display: block;
	border-radius: 6px;
	padding: 10px 20px 10px;
	justify-content: flex-end;
	align-items: flex-end;
	margin: 0 0 10px;
	background: #f6f6f6;
}

.query-summary p {
	margin: 0.5em 0;
	font-size: 14px;
}

.query-summary strong {
	font-weight: normal;
	color: rgba(0,0,0,0.4);
}

.query-summary {
}

.query-box{
	position: relative;
}

.query-summary .show-more {
	text-align: right;
	float: right;
	margin: 0;
}

.query-summary .show-more a {
	margin: 3px -8px 0 0;
}

.query-summary p.query-hits {
	text-align: center;
	clear: both;
	font-size: 18px;
	margin: 18px 0 6px;
}

.query-form {
	display: block;
	border-radius: 6px;
	text-align: center;
	margin-bottom: 50px;
	margin-top: 50px;
}

.query-form label {
	flex-grow: 0;
	display: block;
	margin: 0 0 5px 0;
	font-size: 13px;
	text-align: left;
	padding: 0;
	color: #666;
	float: left;
	position: relative;
	left: 0;
}

.query-form input[type=text] {
	width: 100%;
	display: block;
	margin: 0 0 15px 0;
	border: none;
	color: black;
	border: 1px solid #cdcdcd;
	padding: 0 0 1px 5px;
	outline: none;
	font-family: inherit;
	border-radius: 2px;
	background-color: #f9f9f9;
	box-sizing: border-box;
}

@media all and (min-width: 500px) {

	.query-form label {
		white-space: nowrap;
	}

    .query-inside{
		/*padding: 5px;*/
		text-align: left;
		display: block;
		margin-left: -10px;
		margin-right: -10px;
	}

	.query-box{
		float: left;
		width: calc(50% - 20px);
		box-sizing: border-box;
		margin-right: 10px;
		margin-left: 10px;
	}
	.query-box-slim{
		float: left;
		width: calc(25% - 20px);
		box-sizing: border-box;
		margin-right: 10px;
		margin-left: 10px;
	}

   	.query-box-wide {
		box-sizing: border-box;
		margin-right: 10px;
		margin-left: 10px;
		clear: left;
	}
	

	.clearfloat{
		clear: left;
	}

	.query-box {
	}

	.query-form input[type=text]{		
		height: 30px;
		font-size: 14px;
	}

    .query-form input[type="checkbox"] {
        display: block;
        margin-top: 28px; 
        margin-bottom: 25px;
    }    
}

@media all and (max-width: 499px){
	.query-form input[type=text]{
		font-size: 20px;
		height: 40px;
	}
	.query-box + .query-box-slim {
		margin-left: 0px;
	}
	.query-box-slim{
		float: left;
		width: calc(50% - 10px);
		box-sizing: border-box;
		margin-left: 20px;
//		margin-left: 10px;
	}
	.query-box {
		clear: left;
	}

    .query-form input[type="checkbox"] {
        display: block;
        margin-top: 33px; 
        margin-bottom: 30px;
    }    
}

#query-names{
	width: 50%;
}

.query-form h1{
	text-align: left;
}

.query-form input[type=submit] {
	margin: 0 auto;
	min-width: 100px;
	margin-top: 15px;
	border-radius: 2px;
}

.query-link {
	font-size: 11px;
	color: #aaa;
	margin: 0;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
	font-family: Helvetica, sans-serif;
	font-weight: normal;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-y: scroll;
}
  	
a {
	/*color: #266eaf;*/
    color: inherit;
}

a:visited {
	/*color: #6b43b7;*/
    color: inherit;
}
	
#lupa-title {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 25px;
	font-weight: 800;
	background: #fff;
	color: #000;
}

#lupa-title img {
	width: 80px;
	height: 80px;
	position: absolute;
	left: 5px;
	top: 4px;
	z-index: 1000;
	border: 0;
}

#lupa-title h1 {
	font-weight: normal;
	margin: 4px 6px 2px;
	font-size: 24px;
	float: left;
}

#lupa-title h2 {
	font-family: Helvetica, sans-serif;
	font-weight: 100;
	margin: 6px 6px 3px;
	font-size: 16px;
	color: #4e4e4e;
	float: right;
	text-align: right;
	line-height: 24px;
}

@media all and (max-width: 500px) {
	#lupa-title h2 {
		display: none;
	}
	#lupa-title img {
		position: absolute;
		left: 5px;
		top: 5px;
	}
	#lupa-title h1 {
		display: none;
	}
	
	#lupa-menu {
		padding-left: 80px;
	}
}

@media all and (min-width: 501px) {
	#lupa-title h1 {
		display: none;
	}
	#lupa-menu {
		padding-left: 70px;
	}
}

#lupa-menu {
	font-family: Helvetica;
	font-weight: 100;
	font-size: 15px;
	clear: both;
	text-align: center;
	background: #eee;
}

#lupa-menu a {
	display: inline-block;
	text-decoration: none;
	color: #666;
	height: 19px;
	padding: 8px 10px;
	vertical-align: center;
}

#lupa-menu a.active {
	color: black;
	text-decoration: underline;
}

#content {
	clear: both;
	flex-grow: 1;
	position: relative;
}
