@CHARSET "UTF-8";

/* ============================ LOADER =============================== */
.loader {
	position: fixed;
	width: 100px;
	height: 100px;
	top: 50%;
	left: 50%;
	margin: -50px 0px 0px -50px;
	z-index: 120;
	display: none;
	
	border: solid 2px;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 10px;
}

.loader_content {
	position:relative;
	width: 100%;
	height: 100%;
	
	/* Internet Explorer 10 */
	display:-ms-flexbox;
	-ms-flex-pack:center;
	-ms-flex-align:center;
	
	/* Firefox */
	display:-moz-box;
	-moz-box-pack:center;
	-moz-box-align:center;
	
	/* Safari, Opera, and Chrome */
	display:-webkit-box;
	-webkit-box-pack:center;
	-webkit-box-align:center;
	
	/* W3C */
	display:box;
	box-pack:center;
	box-align:center;
}

/* ============================ HEADER =============================== */
header {
	position: fixed;
	right: 0;
	top: 0;
	left: 0;
	
	height: 40px;
	
	margin: 0;
	padding: 0;
	border-bottom: solid 2px;
}

header div {
	position: relative;
	display: inline-block;
	vertical-align: top;
	
	height: inherit;
}

header div:nth-child(1) {
	width: 150px;
}

header div:nth-child(2) {
	margin: 0 0 0 20px;
	
	line-height: 40px;
	font-size: 1.3em;
}

header div:nth-child(3) {
	margin: 0 0 0 20px;
	
	line-height: 40px;
}

header .change_user_div {
	position: absolute;
	top: 0;
	right: 71px;
	bottom: 0;
	
	width: 50px;
	
	cursor: pointer;
}

header .admin_div {
	position: absolute;
	top: 0;
	right: 121px;
	bottom: 0;
	
	width: 50px;
	
	cursor: pointer;
}

header div img {
	position: absolute;
	top: 50%;
	left: 50%;
	
	margin: 0;
	margin-right: -50%;
	
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* ========================== MENU UTENTE ============================ */
#user_menu {
	position: fixed;
	left: 0;
	top: 42px;
	
	width: 150px;
	height: 70px;
	
	font-size: 1em;
}

#user_menu figure {
	position: relative;
	
	height: 30px;
	line-height: 30px;
	
	cursor: pointer;
}

#user_menu figure img {
	position: relative;
	margin: 0 5px 0 30px;
	
	display: inline-block;
	vertical-align: middle;
}

#user_menu figure figcaption {
	position: relative;
	
	display: inline-block;
	vertical-align: middle;
}

#user_menu figure:nth-child(1) {
	margin-top: 5px;
}

/* ============================== NAV ================================== */
nav {
	position: fixed;
	top: 114px;
	left: 0px;
	bottom: 0;
	
	width: 150px;
	
	font-size: 1em;
}

.nav_label {
	position: relative;
	margin: 0;
	
	/*height: 100px;*/
	height: calc((100% - 70px) / 5);
	
	border-top: solid 2px;
	
	cursor: pointer;
	box-sizing: border-box;
}

/*.nav_label:nth-child(1) {
	margin: 5px 0 0 0;
}*/

.nav_label figure {
	position: relative;
	margin: 0;
	
	height: 100%;
	width: 100%;
}

.nav_label figure img {
	position: absolute;
	top: 30%;
	left: 50%;
	
	margin: 0;
	margin-right: -50%;
	
	border: solid 7px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	
	-webkit-transform: translate(-50%, -30%);
	-moz-transform: translate(-50%, -30%);
	-o-transform: translate(-50%, -30%);
	-ms-transform: translate(-50%, -30%);
    transform: translate(-50%, -30%);
}

.nav_label figure figcaption {
	position: absolute;
	top: 80%;
	left: 50%;
	
	margin: 0;
	margin-right: -50%;
	
	-webkit-transform: translate(-50%, -80%);
	-moz-transform: translate(-50%, -80%);
	-o-transform: translate(-50%, -80%);
	-ms-transform: translate(-50%, -80%);
    transform: translate(-50%, -80%);
}

.nav_action_menu {
	position: relative;
}

.nav_action_menu figure {
	position: relative;
	
	width: 100%;
	height: 70px;
	
	/*border-top: solid 2px;*/
	
	cursor: pointer;
}

.nav_action_menu figure .img_container,
.nav_action_menu figure figcaption {
	position: relative;
	
	display: inline-block;
	vertical-align: top;
	
	margin: 0;
	padding: 0;
	
	height: inherit;
}

.nav_action_menu figure .img_container {
	width: 50px;
}

.nav_action_menu figure figcaption {
	width: 95px;
	
	font-size: 1.2em;
}

.nav_action_menu figure .img_container img,
.nav_action_menu figure figcaption .figcaption_container {
	position: absolute;
	top: 50%;
	left: 50%;
	
	margin: 0;
	margin-right: -50%;
	
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* =========================== MAIN =================================== */
#macro_content_area {
	position: absolute;
	margin: 0px;
	
	top: 42px;
	right: 80px;
	bottom: 1px;
	left: 160px;
	
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
}

#macro_content_area .content_area {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
}

#macro_content_area .content_area #paginator {
	position: absolute;
	top: 45px;
	left: 0px;
	
	margin: 0;
	padding: 0;
	
	height: 30px;
	width: 200px;
	
	line-height: 30px;
}

#macro_content_area .content_area #paginator form {
	position: relative;
	height: inherit;
	line-height: inherit;
}

#macro_content_area .content_area #paginator form div,
#macro_content_area .content_area #paginator form select {
	position: relative;
	margin: 0 10px 0 0;
	
	display: inline-block;
	vertical-align: top;
}

#macro_content_area .content_area #paginator form select {
	width: 50px;
}

#macro_content_area #resultset {
	position: absolute;
	top: 85px;
	right: 0;
	bottom: 5px;
	left: 0;
}

/* ========================= FOOTER =================================== */
footer {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	
	padding-right: 20px;
	
	height: 40px;
	line-height: 40px;
	
	font-size: 1em;
	text-align: center;
}

footer a {
	float: right;
	
	width: 180px;
}

footer a:nth-child(1) {
	width: 250px;
}
