/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 12-febc-2014
    Author     : Vincenzo
*/

html {
	height: 100%;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0px;
}

body {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14px;
	line-height: 24px;
	color: #666;
	font-weight: 400;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

textarea {
	font-family: Arial;
	font-size: 14px;
}

strong {
	color: #000000;
}

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

section.main {
	width: calc(100% - 321px);
	box-sizing: border-box;
	padding: 20px 50px;
	float: left;
	height: 100%;
	position: relative;
}

#canvas {
	width: 100%;
	height: 100%;
	background-color: #EEE;
	cursor: move;
	cursor: -moz-grab;
	cursor: -webkit-grab;
}

#canvas.grabbing {
	cursor: -moz-grabbing;
	cursor: -webkit-grabbing;
}

#sidebar {
	float: right;
	width: 320px;
	background-color: #EFEFEF;
	border-left: 1px solid #DDD;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
}

#frm-rete h6 {
	font-size: 14px;
	margin-top: 20px;
	border-bottom: 1px solid #DDD;
	margin-bottom: 10px;
}

#frm-rete input[type="submit"] {
	margin-top: 10px;
}

#frm-rete input[type="text"], 
#frm-rete select {
	width: calc(100% - 104px);
	background-color: #FFF;
	border: 0px;
	border-bottom: 1px solid #DDD;
	padding: 3px 5px;
	box-sizing: border-box;
}

#frm-rete .row {
	margin-bottom: 10px;
	position: relative;
}

#frm-rete label {
	display: inline-table;
	width: 100px;
	text-transform: uppercase;
	font-size: 12px;
}

#peso {
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	color: #000;
}

#frm-rete fieldset {
	border: 0px;
	margin: 0px;
	padding: 0px;
}

#frm-rete legend {
	background-color: #333;
	color: #FFF;
	width: 100%;
	margin-bottom: 10px;
	padding: 5px 10px;
	box-sizing: border-box;
	border-radius: 6px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 16px;
}

#frm-rete output {
	font-size: 12px;
	background-color: #333;
	color: #FFF;
	padding: 0px 5px;
	border-radius: 3px;
	position: absolute;
	right: 0px;
}


#box-zoom {
	position: absolute;
	width: 50px;
	padding: 10px;
	background-color: rgba(255,255,255,0.7);
	border-radius: 5px;
	right: 70px;
	top: 40px;
}

#box-zoom h6 {
	font-size: 14px;
	text-align: center;
	color: #666;
}

#box-zoom button {
	width: 50px;
	height: 50px;
	font-size: 24px;
	color: #333333;
	line-height: 0px;
	border: 0px;
	background-color: #DDD;
	border-radius: 3px;
	border-bottom: 2px solid #999;
	margin-top: 5px;
	cursor: pointer;
	outline: none;
}

#box-zoom button:first-of-type {
	margin-top: 0px;
}

#box-zoom button:hover {
	color: #FFFFFF;
	background-color: #333333;
	border-bottom: 2px solid #000000;
}

.tbl {
	width: 100%;
	background-color: #000000;
	margin-top: 50px;
}

.tbl thead th {
	color: #FFF;
}

.tbl thead tr {
	background-color: #333333 !important;
}

.tbl tr:nth-child(odd) {
	background-color: #DDDDDD;
}
.tbl tr:nth-child(even) {
	background-color: #FFFFFF;
}

.tbl td {
	padding: 5px 10px;
}

.tbl td:nth-child(2),
.tbl td:nth-child(3) {
	width: 50px;
	text-align: center;
	color: #000;
}



#popup {
	position: absolute;
	background-color: rgba(0,0,0,0.8);
	width: 100%;
	height: 100%;
	display: none;
}

#popup .container {
	position: absolute;
	width: 580px;
	height: 445px;
	background-color: #FFFFFF;
	top: calc(50% - 225px);
	left: calc(50% - 250px);
	padding: 30px;
	box-sizing: border-box;
	border-radius: 10px;
}

#popup .container h3 {
	font-size: 24px;
	color: #000;
}

#popup .container input,
#popup .container textarea  {
	width: 100%;
	border: 1px solid #DDD;
	border-radius: 3px;
	padding: 10px 15px;
	font-size: 14px;
	margin-bottom: 10px;
	box-sizing: border-box;
}

#popup .close {
	position: absolute;
	top: -10px;
	right: -10px;
	background-color: #000000;
	border-radius: 100%;
	width: 26px;
	height: 26px;
	text-align: center;
	color: #FFFFFF;
	font-size: 18px;
	cursor: pointer;
}

#popup .loading {
	text-align: center;
}

.bt {
	width: 100%;
	background-color: #FF0000;
	border: 0px;
	border-radius: 3px;
	padding: 10px 0px;
	color: #FFFFFF;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 15px;
	border-bottom: 3px solid #880000;
	cursor: pointer;
	outline: none;
}

.ok {
	color: #5EA128;
	font-size: 16px;
	margin-top: 10px;
	padding-left: 30px;
	position: relative;
}

.ok:before {
	font-family: fontawesome;
	font-size: 18px;
	color: #5EA128;
	position: absolute;
	content: "\f00c";
	left: 0px;
	top: 0px;
}

.bt:hover {
	background-color: #880000;
}

.error {
	border: 1px solid #FF0000 !important;
}

.error:before {
	content: "obbligatorio";
	text-transform: uppercase;
	font-size: 11px;
	color: #FF0000;
	font-weight: 700;
}