.scrollable {
	overflow: auto;
	height: 100%;
}
#tensio_banner{
	margin-top:40px;
}
/* hamburger menu */
#logo {
	float:left;
	width:calc(100% - 40px);
	height:40px;
	margin:0;
}
#logo img {
	height:auto;
}

#menu {
	margin:0;
	width:40px;
	height:40px;
	float:right;
	overflow: hidden;
	overflow: -moz-hidden-unscrollable;
}

 #menu.scrolling.clicked {
	background:inherit;
	background-repeat:inherit;
	background-position:inherit;
	background-size:inherit;
	position:inherit;
}

 ul#login li a:link,  ul#login li a:visited {
	padding:0;
}
 #language {
	display: block;
	clear:both;
	min-height:auto;
	height:auto;
	text-align:left;
	padding-top:10px;
}

 #language img.selected,  #language img:hover {
	border-radius:5px;
	margin:5px;
	padding:5px;
}

 #menu::before {
	background-color: #404042;
	color: transparent;
	content: "-";
	background-image:url(/images/burger.png);
	background-size:40px 40px;
	float: right;
	line-height: 40px;
	text-align:center;
	width: 40px;

	position:absolute;
	top:0;
	right:0;
}

 #menu ul, #menu ul#login,  #menu ul#login .profile-link , #menu ul#login li {
	max-width:initial;
	width:initial;
	height:initial;
	display:block;
	float:none;
}

 #menu.clicked ul li , ul#login li{
	display: block;
	text-align: right;
	height:initial;
	text-align:left;
}

 #menu.clicked::before {
    background-color: #404042;
    color: white;
    content: "";
}

 .clicked #login {
	display:inline-block;
	text-align:left;
	margin:auto;
}

 ul#login li:before {
	content:none;
	margin-left:auto;
	padding:auto;
}

 #menu > div {
	display:block;
}

 #menu.clicked {
	padding-top:10vh;
	background:url("/images/tensio_flower.png") ,#404042!important;
	background-repeat:no-repeat,  repeat!important;
	background-position:right top, left top !important;
	background-size:10vh auto, auto auto !important;
	position:fixed !important;
	top:0;
	padding-right:20px;
	padding-left:20px;
	overflow:auto;
}

 #menu.clicked , #menu.clicked ul.submenu {
	max-width:90vw;
	min-width:50vw;
	width:auto;
	height:100vh;
	position:fixed;
	top:0;
}
 #menu.clicked ul.submenu {
	border-right:solid white 3px;
	right:1vw;
	width:100%;
}

 div#menu.clicked ul {
	text-alignt:auto;
}

 div#menu.clicked ul li {
	display:block;
}

#news {
	font-size:14px;
}
#content-footer #mottes-slogan {
    width: calc(90% - 100px);
    max-width: calc(90% - 100px);
    overflow: hidden;
    text-align: left;
    position: relative;
    bottom: -100px;
 }
 #mottes-slogan img {
	 visibility:hidden;
 }
.he #mottes-slogan {
	background: url(/images/he_slogan.png);
	background-repeat: no-repeat;
	background-size: contain;
}

.en #mottes-slogan {
	background: url(/images/en_slogan.png);
	background-repeat: no-repeat;
	background-size: contain;
	
}
.es #mottes-slogan {
	background: url(/images/es_slogan.png);
	background-repeat: no-repeat;
	background-size: contain;
	
}
.fr #mottes-slogan {
	background: url(/images/fr_slogan.png);
	background-repeat: no-repeat;
	background-size: contain;
	
}
.it #mottes-slogan {
	background: url(/images/it_slogan.png);
	background-repeat: no-repeat;
	background-size: contain;
	
}
.ru #mottes-slogan {
	background: url(/images/ru_slogan.png);
	background-repeat: no-repeat;
	background-size: contain;
}

 .login-form {
	display: block;
	left: 10%;
	max-height: 50%;
	min-height:200px;
	height:30%;
	max-width: 80%;
	min-width:300px;
	width:80%;
	padding: 3%;
	position: fixed;
	top: 10%;
}

#sidebar {
	/*font-size:small;*/
}
#sidebar .toggle-button {
	display:none;
}

 #sidebar .scrollable {
	max-height: calc( 100vh - 160px );
}

 .sidebar_box input {
	max-width:none;
}

 #content {
	margin-right: 40px;
	margin-left:20px;
	font-size:small;
}
.popup #content {
	margin:auto;
}
 #sidebar .toggle-button {
	margin-top:-1px;/*don't know why, but it is needed */
	background-color: #eeeeee;
	border-radius:5px 0 0 5p;
	border-color:gray;
	border-style:solid;
	border-width:1px;
	border-right: none;
	color: black;
	display: block;
	margin-right: 60vw;
	max-width:40px;
	width:40px;
	position: absolute;
	top: 0;
	height:40px;
}

 #sidebar .sidebar_box {
	max-width:60vw;
}

 #sidebar .toggle-button{
	background-image:url(/images/sidebar_arrow_lt.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 4vh auto;
}

 #sidebar.clicked  .toggle-button{
	background-image:url(/images/sidebar_arrow_gt.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 4vh auto;
}

 #sidebar {
	background: #eeeeee none repeat scroll 0 0;
	border-color:gray;
	border-style:solid;
	border-width:1px;
	border-right:none;
	margin-right: -60vw;
/*	padding-left:60px;*/
	max-width:calc(60vw - 40px);
	min-width:50vw;
	position:fixed;
	margin-top:30px;
	top:40px;
	/*top: 6vh;*/
	z-index:90;
	width:calc(60vw - 40px);
}

 #sidebar.clicked {
	right: 0;
	left: auto;
	margin-right: 0;
	box-sizing: content-box;
	width: 60vw;
	max-width: initial;
}

 .box,  .two-box {
	min-heght:auto;
	min-width: 100%;
}

 #content table#my-units td,  #content table#my-units th {
	border-width:initial;
	padding:initial;
}
 #content table#my-units th {
	display:none;
}
 #content table#my-units td {
	display: block;
	border: none;
}
 #content table#my-units tr {
	background-image:url(/images/units_icon_ltr.png);
	background-repeat:no-repeat;
	background-size:40px;
	background-position:75% center;
	display: block;
	float: right;
}
 #content h1 {
	font-size:medium;
}
 #content h2,  #content h3 {/*,  #content:first-child > div:first-child p:first-child{*/
	padding:0 10px 10px 0;
	margin: 20px 0;
	font-size:medium;	
}

 #unit-form #select-unit select {
	max-width:auto;
}
 #unit-form > form {
	display:block;
	width:100%;
}
/* #select-unit label,  form[name="data"] label {
	width:25%;
	align:left;
}
 #select-unit input,  #select-unit select ,  form[name="data"] input,  form[name="data"] select{
	width:75%;
	align:rightt;
}
 .navigation input {
	width:initial;
}*/
 #unit-form div {
	width:100%;
	text-align:center;
} 
 #unit-form div > div:before {
	content:'';
}
