
#menu {
	font-family: 'Roboto', sans-serif;
	position: absolute;
	display: block;
	z-index: 999999999;
	right: 0;
	top: 0;
	bottom: 0;
	width: 320px;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	-o-user-select:none;
	user-select:none;
	transition: right 0.4s ease-in-out;
}

#menu.invisible{
	right: -400px !important;
}

#menu__buttons {
	width: 48px;
	display: flex;
	flex-direction: column;
	position: absolute;
	right: 16px;
	top: 40%;
	transform: translate(0, -50%);
	background-color: rgba(0, 0, 0, 0.75);
	border-radius: 5px;
	transition: right 0.4s ease-out;
}

#menu__buttons.invisible{
	right: -100px;
}

.menu__btn {
	width: 48px;
	height: 48px;
	background-image: url('../skin/icons/right_menu/close.svg');
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.menu__btn span {
	display: none;
}
/* шрифт подсказки к мини меню */
.menu__btn:not(.invisible):hover span {
	display: flex;
	right: 50px;
	background-color: rgba(0, 0, 0, 0.75);
	border-radius: 5px;
	padding: 12px 16px;
	position: absolute;
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 13px;
	line-height: 24px;
	white-space: nowrap;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
}

#menu .menu__body {
	overflow-y: hidden;
	height: calc(100% - 46px);
	/* padding-bottom: 20px; */
	scrollbar-width: thin !important;
}

#menu .menu__body::-webkit-scrollbar {
	width: 4px;
}

#menu .menu__body::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

#menu .menu__body::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.5);
	outline: 1px solid slategrey;
	border-radius: 5px;
}

.menu__header {
	display: flex;
	flex-direction: row;
	justify-items:flex-end;
	height: 40px;
	justify-content: flex-end;
	margin-right: 16px;
}

.menu__header__close {
	background-image: url('../skin/icons/right_menu/close.svg');
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-size: contain;
	align-self: flex-end;
	cursor: pointer;
	/* transform: translate(0%,50%); */
	transition: transform 0.4s ease-in;
}

.menu__header__close:hover {
	transform: scale(110%);
}
/*меню секций*/
.menu__section__btn{
	text-align: left;
	height: 40px;
	font-size: 14px;
	line-height: 40px;
	text-transform: uppercase;
	display: flex;
	flex-direction: row;
	justify-items: center;
	align-items: center;
	font-weight: normal;
	margin: 8px 40px;
	cursor: pointer;
	padding:0px 0px;
}

.menu__section__btn:first-child{
	margin-top: 0px;
}

.menu__section__btn .icon {
	height: 24px;
	margin: 0px 8px;
}


.menu__section {
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding: 0px 24px;
	margin: 0px 16px;
	scrollbar-width: none !important;
	height: 120%;
	position: relative;
	overflow: hidden;
	overflow-y: hidden;
}



/* .year__container::after {
	content: '. . .';
	color: rgba(255, 255, 255, 1);
	position: absolute;
	bottom: 46px;
	width: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
} */

.menu__section::-webkit-scrollbar {
	width: -10px;
	scrollbar-color: rgba(0,0,0,0);
}

.menu__section::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.menu__section::-webkit-scrollbar-thumb {
	background-color: darkgrey;
	outline: 0px solid slategrey;
}

.hidden{
	transition: 0.4s;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease-out;
}

.opened {
	/* padding-bottom: 8px; */
	overflow: hidden;
	overflow-y: hidden;
	/* сделать анимацию */
	transition: max-height 0.4s ease-in;
}

.openedFast {
	/* padding-bottom: 8px; */
	overflow:hidden;
	overflow-y:hidden;
	transition: max-height 0.0s ease-in;
}

.menu__section__item {
	background-color: rgba(255, 255, 255, 0);
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0px 16px;
	position: static;
	min-height: 40px;
	left: 0px;
	top: 0px;
	
	border: 2px solid #FFFFFF;
	box-sizing: border-box;
	border-radius: 5px;
	text-align: center;
	margin: 8px 0px;
	cursor: pointer;

/* шрифт панорам в меню */

	font-family: Roboto;
	font-style: normal;
	font-size: 13px;
	font-weight: normal;
	line-height: 24px;
	letter-spacing: 0px;
	line-height: 16px;
}
.menu__section__item:hover {
	background-color: rgba(255, 255, 255, 1);
	color: #333333;
}

/* .menu__section__item:last-child{
	margin-bottom: 8px;
} */

.active {
	background-color: rgba(255, 255, 255, 1);
	color: #333333;
}

.year__container{
	display: flex;
	flex-direction: row;
}
/* подпись с годами */
.year__sign {
	height: 42px;
	display: flex;	
	align-items: center;
	margin-top: 8px;
	font-size: 12px;
}
.year__container__spacer {
	width: 32px;
	margin-top: 29px;
	display: flex;
	align-items: center;
	height: 1px;
	background-color: rgba(255, 255, 255, 1);
	margin-left: 10px;
	margin-right: 10px;
}

.year__container__list {
	width: 100%;
}
/* шрифт месяцы */

.year__list__item {
	border: 2px solid #FFFFFF;
	border-radius: 5px;
	min-height: 42px;
	display: flex;
	justify-content: center;
	width: 100%;
	align-content: center;
	align-items: center;
	margin-top: 8px;
	box-sizing: border-box;
	cursor: pointer;
	font-family: Roboto;
	font-style: normal;
	font-size: 16px;
	font-weight: normal;
	line-height: 24px;
	text-transform: capitalize;
}

.year__list__item:hover{
	background-color: rgba(255, 255, 255, 1);
	color: #333333;
}


@media screen and (max-width: 660px) and (max-height: 1000px) {
	#menu {
		width: 100% !important;
		right: 0;
		top: 0;
		bottom: 0;
	}

	#menu.invisible {
		right: -100% !important;
	}

	#menu__buttons {
		right: 8px;
	}
}


.iScrollVerticalScrollbar {
	position: absolute !important;
	overflow: visible !important;
	width: 5px !important;
	right: 5px !important;
	top: 8px !important;
	bottom: 8px !important;
	background: rgba(255, 255, 255, 0.0) !important;
	border-right: 0px solid #555;
}

.iScrollIndicator {
	background: rgba(255, 255, 255, 0.5) !important;
	width: 4px !important;
	border: none !important;
	border-radius: 5px !important;
	margin-left: .25px !important;
}

.iScrollIndicator:hover {
	background: white;
}

.bottom_spacer{
	display: block;
	height: 8px;
	background-color: transparent;
}