
.arrow-up {
	width: 1em;
	height: 1em;
	top: -.5em;
	right: 1em;
}
.arrow-up:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	 -webkit-transform: rotate(45deg);
	 -ms-transform: rotate(45deg);
	 -o-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* на главной странице и в подробностях */
.photos {
	font-size: 77%;
	line-height: 160%;
	margin-top: 2em;
}
.photo {
	position: relative;
	width: 18.5em;
}
.photo img {
	width: 100%;
}
.photo .name {
	font-size: 80%;
	padding: 0 1em .3em;
}
br:target ~ .active {
	position: fixed;
	top: 5em;
	right: 25em;
	left: 10em;
	z-index: 1;
    margin: 0;
}
.arrow-button {
	display: none;
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	width: 7em;
	opacity: .1;
	background-color: rgba(0,0,0,0.5);
	background-size: 90%;
    background-position: 50%;
	background-repeat: no-repeat;
}
.prev {
	left: 0;
	background-image: url(/img/prev.svg);
}
.next {
	right: 0;
	background-image: url(/img/next.svg);
}
br:target ~ .active .arrow-button {
	display: block;
}
.active:hover .arrow-button {
	opacity: .3;
}
.active .arrow-button:hover {
	opacity: .6;
}
#city-selection {
	background: url(/img/planet-mini.png) center center no-repeat;
	background-size: 100% 100%;
}
#city-selection .item {
	background-color: rgba(156, 218, 255, .92);
}
/* /на главной странице и в подробностях */

/* выбор локации */
.title_img {
	display: block;
	height: 8em; margin-bottom: 1em;
	background-size: cover;
	background-position-y: 50%;
}
  
.title_img h2 {
	background-color: rgba(207, 207, 207, 0.6);
	padding: .5em 1em;
}

/* details */
#map_canvas {
	height: 30em;
	width: 30%;
	float: right;
	transition: width .5s;
	 -webkit-transition: width .5s;
	 -moz-transition: width .5s;
	 -o-transition: width .5s;
	background-image: url(/img/compass.png);
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: 50%;
}
.width-none {
  	width: 0 !important;
}
#map_canvas.fixed {
	position: fixed !important;
	top: 0;
	right:0;
}
/* /details */

/* popular */
.pop-type {
	float: left;
	height: 2em;
	margin-right: 1em;
}
/* /popular */

/*@media (max-width: 600px) {
	#head {
		font-size: 120%;
	}
	#city {
		font-size: 100%;
		left: 8em;
	}
	#head form {
		margin-left: 20em;
	}
	#head ul {
		font-size: 100%;
	}
	#body, #problem {
		font-size: 200%;
	}
	.half {
		width: auto;
	}
}*/

@media only screen and (max-width: 767px) {
	body {
		font-size: 3.5vw;
	}
	#auth-block, #reg-block {
		width: 70%;
		font-size: .9em;
	}
}

/*@media (max-width: 980px) {
	#logo, #nav-types {
		display: none;
	}
}*/