html,
body {
	height: 100%;	
}

body {
	max-width: 1920px;
	margin: 0;
	padding: 0;

	font-family: "Roboto", "Arial", sans-serif;
	font-size: 14px;
	color: #bab9b9;
}

.wrapper {
	display: flex;
	width: 100%;

	min-height: 100%;
}


.content-photo{

	/*
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;*/

	width: calc(100% - 300px);
	padding: 20px;
	/*
	background-color: #454545;
	*/
	background-color: black;
}


.content-photo img {
	display: inline;
	width: 100%;
}

.content-photo .nav-back {
	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 100;

	width: 54px;
	height: 54px;

	opacity: 0.4;
	background-image: url("../img/arrow-back.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 40px 40px;
}


.content-photo .nav-back_background{

	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 99;

	width: 54px;
	height: 54px;
	opacity: 0.2;
	background-color: #000000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.content-photo .nav-back:hover,
.content-photo .nav-back:focus {
	opacity: 1;
	outline: none;
}

.content-photo .nav-back:active {
	opacity: 0.1;
}


.content-panorama{

	/*
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;*/

	width: calc(100% - 300px);
	padding: 20px;
	/*
	background-color: #454545;
	*/
	background-color: black;
}


.content-panorama img {
	display: inline;
	/* width: 100%; */
}

.content-panorama .nav-back {
	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 100;

	width: 54px;
	height: 54px;

	opacity: 0.4;
	background-image: url("../img/arrow-back.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 40px 40px;
}


.content-panorama .nav-back_background{

	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 99;

	width: 54px;
	height: 54px;
	opacity: 0.2;
	background-color: #000000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.content-panorama .nav-back:hover,
.content-panorama .nav-back:focus {
	opacity: 1;
	outline: none;
}

.content-panorama .nav-back:active {
	opacity: 0.1;
}


.sidebar-info {
	width: 300px;
	padding: 28px 20px 33px 18px;

	background-color: #1b1b1b;
}

.sidebar-info .description {
	margin-bottom: 100px;
}

.sidebar-info h1, h2 {
	margin-bottom: 20px;

	font-size: 18px;
	font-weight: normal;
}

.sidebar-info .photo-info p {
	text-align: left;
}

.sidebar-info .photo-viewing {
	margin-top: 50px;
	margin-bottom: 60px;

	line-height: 18px;
	color: #bababa;
}

.sidebar-info .photo-viewing span {
	font-size: 28px;
	line-height: 18px;
	color: #ffffff;
}

.sidebar-info .photo-viewing a {
	color: #bab9b9;
}

.sidebar-info .photo-viewing a:hover {
	text-decoration: none;
}




/**
* Скрытый чекбокс (флажок)
* невидим и недоступен :)
* имя селектора атрибут флажка
*/

[id='nav-toggle'] {
	position: absolute;
	display: none;
}


/**
 * изменение положения переключателя
 * при просмотре на мобильных устройствах
 * когда навигация раскрыта, распологаем внутри панели
*/

[id='nav-toggle']:checked ~ .sidebar-info > .nav-toggle {
	left: auto;
	right: 2px;
	top: 1em;
}


/**
 * Когда флажок установлен, открывается панель
 * используем псевдокласс:checked
 */

[id='nav-toggle']:checked ~ .sidebar-info {
	right: 0;
	box-shadow:-4px 0px 20px 0px rgba(0,0,0, 0.5);
	-moz-box-shadow:-4px 0px 20px 0px rgba(0,0,0, 0.5);
	-webkit-box-shadow:-4px 0px 20px 0px rgba(0,0,0, 0.5);
	overflow-y: auto;
}


/*
 * изменение символа переключателя,
 * привычный крестик (MULTIPLICATION X),
 * вы можете испльзовать любой другой значок
*/

[id='nav-toggle']:checked ~ .sidebar-info > .nav-toggle:after {
	content: '\2715';
}


/**
 * профиксим баг в Android <= 4.1.2
 * см: http://timpietrusky.com/advanced-checkbox-hack
 */

body {
	-webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
	to {
		padding: 0;
	}
}


@media screen and (max-width: 1024px) {

	.content-photo{
		width: 100%;
	}

	.nav-toggle {
		/* абсолютно позиционируем */
		position: absolute;
		/* относительно правого края панели */
		right: 338px;
		/* отступ от верхнего края панели */
		top: 1em;
		/* внутренние отступы */
		padding: 0.5em;
		/* определяем цвет фона переключателя
         * чаще вчего в соответствии с цветом фона панели
        */
		background: inherit;
		/* цвет текста */
		color: #dadada;
		/* вид курсора */
		cursor: pointer;
		/* размер шрифта */
		font-size: 1.2em;
		line-height: 1;
		/* всегда поверх других элементов страницы */
		z-index: 2001;
		/* анимируем цвет текста при наведении */
		-webkit-transition: color .25s ease-in-out;
		-moz-transition: color .25s ease-in-out;
		transition: color .25s ease-in-out;
	}

	.nav-toggle:after {
		content: '\24D8';
		text-decoration: none;
		font-size: 22px;
	}

	/* цвет текста при наведении */

	.nav-toggle:hover {
		color: #f4f4f4;
	}

	.sidebar-info {
		position: fixed;
		top: 0;
		bottom: 0;
		margin: 0;
		/* сдвигаем (прячем) панель относительно правого края страницы */
		right: -338px;
		/* плавный переход смещения панели */
		-webkit-transition: right 0.3s;
		-moz-transition: right 0.3s;
		transition: right 0.3s;
		/* поверх других элементов */
		z-index: 2000;
	}

	.ug-default-button-fullscreen-single{
		display: none;
	}

	.content-panorama{
		width: 100%;
	}


}
