#overall_container{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	overflow-x: hidden;
}

#menu{
	position:absolute;
	left:0px;
	top:0px;
	width:calc(100% - 100px);
	height:100%;
	z-index:2;
	opacity: 0;
}

#swipe-to-menu{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	overflow-x: auto;
	overscroll-behavior-x: none;
	overscroll-behavior-y: none;
}

#swipe-from-menu-bloc{
	position:absolute;
	left:0px;
	top:0px;
	width:200px;
	height:100%;
	z-index:1;
}

#content{
	position:absolute;
	left:200px;
	top:0px;
	width:100%;
	height:100%;
	z-index:3;
}

#swipe-to-menu-bloc{
	position: absolute;
	top:0px;
	left:calc(100% + 200px);
	width:100px;
	height:100%;
	display: none;
}

#menu_bar{
	padding: 10px;
	padding-bottom: 20px;
	height:35px;
	opacity: 0;
}

#menu_icon{
	cursor: pointer;
}

#menu_items{
	overflow-y: auto;
	height: calc(100% - 100px);
}

.menu_head{
	padding: .75rem 1.25rem;
	padding: .75rem 1.25rem;
	font-size: 1.5rem;
}

.menu_bar{
	display:inline-block;
}

.menu_item{
	cursor: pointer;
	padding: .75rem 1.25rem;
}

#main_view{
	height: calc(100% - 65px);
}

#content-frame{
	width: 100%;
	height:calc(100% - 4px); /* not 100% because there is a strange issue on iOS */
	border:none;
}

.menu_button{
	position:relative;
	display: inline-block;
}

#notif_count{
	border-radius: 6px;
	font-weight: bold;
	font-size:1rem;
	position: relative;
	bottom:-20px;
	left:20px;
	min-width: 18px;
	text-align: center;
	display:none;
}

#mire{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:none;
	z-index: 3000;
}

#main_view_mask{
	position:absolute;
	width:100%;
	height:100%;
	display:none;
	z-index:1000;
	left:0;
	top:0;
}

#content_footer{
	position:absolute;
	width:100%;
	height:4px;
	bottom:0px;
	left:0px;
}

@media screen and (max-width: 599px) {
	.main_title{
		width:calc(100% - 110px);
	}
}

@media screen and (min-width: 600px) {
	.main_title{
		width:calc(100% - 140px);
	}
}

.main_title{
	text-align: center;
	display:inline-block;
	position: absolute;
	left:70px;
	height:65px;
}

.title_text{
	display:inline-block;
	font-size: 2rem;
	cursor: pointer;
}

#menu_footer{
	position:absolute;
	bottom: 25px;
	font-size: 12px;
	padding-left: 20px;
}

.version{
	display: inline-block;
	text-decoration: underline;
	cursor: pointer;
}

.politic{
	display: inline-block;
	text-decoration: underline;
	cursor: pointer;
	margin-left:10px;
}

#languages{
	display: inline-block;
	position: absolute;
	right: 10px;
}

.flag{
	width:30px;
	padding-right:10px;
	cursor: pointer;
}

#reload{
	position:fixed;
	width:100px;
	height:100%;
	right:0px;
	z-index:2;
	opacity: 0;
}

#reload_mire{
	position:absolute;
	top:calc(50% - 25px);
	right:20px;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

#view_purchase{
	display: none;
}

.option_label {
	display: inline-block;
}

.select_container{
	margin:20px;
}

#language_selection_select, #theme_selection_select {
	margin-top:10px;
}

#language_selection_container ,#theme_selection_container{
	display: none;
	position:absolute;
	top:0;
	left:0;
	text-align: center;
	width:100%;
	height:100%;
	z-index: 5000;
}

#language_selection, #theme_selection{
	padding-top: 1px;
	position:relative;
	width:75%;
	max-width:400px;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: auto;
	border-radius: 15px;
}

.inline_action{
	display:inline-block;
}

#view_purchase, .politic, .version{
	color:var(--color-action);
}

.frame-view{
	left: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	height:100%;
	opacity: 1;
	background-color:var(--color-main-view-bg);
	border:none;
}

#frame-view-base{
	left : 0;
}

#frame-container{
	position:relative;
	width:100%;
	height:100%;
	background-color:var(--color-main-view-bg);
	overflow: auto;
}

.content-frame{
	width:100%;
	height: calc(100% - 4px); /*those 4px... otherwise the frame can be scrolled vertically for a few px, dont ask why*/
	border:none;
}
