/* General Demo Style */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
  font-family: 'fontawesome-selected';
  src: url("../font/fontello.eot");
  src: url("../font/fontello.eot?#iefix") format('embedded-opentype'), url("../font/fontello.woff") format('woff'), url("../font/fontello.ttf") format('truetype'), url("../font/fontello.svg#fontawesome-selected") format('svg');
  font-weight: normal;
  font-style: normal;
}


body {
    font-family: 'Lato', Calibri, Arial, sans-serif;   
    font-weight: 300;
    font-size: 15px;
    color: #333;
    height: 100%;
    background: #f7f7f7;
    min-width:300px; 
}

html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

h2,
h3 {
	float: left;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 4px;
	text-shadow: 1 1px 0 rgba(255,255,255);
	margin-bottom: 30px;
	width: 100%;
}

h3 {
	margin-top: 40px;
	margin-bottom: 10px;
	font-weight: 300;
	text-shadow: none;
}
	
	
a:link, a:visited{ color: #99CCCC; text-decoration:none; font-weight: 300;} 
a:hover{color:#649600; text-decoration: underline;font-weight: 300}

.break {clear:both;}

p.info-error  {
	background: #EBEBEB;
	border: 1px solid #a40115;
	color: #a40115 !important;
	padding: 20px 10px 20px 10px;
}

/* LOGIN */

#flogin {border: 1px solid #CCCCCC; max-width:340px; padding: 10px; background: #EFEFEF; margin: 20px auto;}

#header {background-color: #696969; color: #FFF; font-weight: bold; padding: 5px; }
#header a:hover {color:#FFFFFF; text-decoration: none }
#header a:link, 
#header a:visited, {color: #99CCCC; text-decoration:none; }

#container {max-width:950px;margin:0 auto; padding:10px; text-align: left;}

#menucms{margin: 20px; padding: 0; list-style-type: none; float:left; width:auto;} 

#menucms a:hover {filter:alpha(opacity=50);	-moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5;}

#divMenu {margin: 50px auto; text-align: center;}
.boxMenu {width: 20%; float:left; text-align: center; margin-bottom: 30px;}
.boxMenu  img {padding: 0 0 10px 0; margin: 0 0 10px 0; }
.boxMenu a {font-weight: 300; color: #333; }

/* INTERNO */

#menumod { text-align: right; margin-top: 30px;	margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #EBEBEB; position: relative;}
#menumod a {font-weight: 300; color: #111111; }
#menumod a:hover { font-weight: 300; color: #99CCCC; text-decoration: none;}


#back-button {
	font-family: 'fontawesome-selected';
	font-size: 25px;
	cursor: pointer;
	content: '';
	color: #666666;
	display: inline-block;
	text-align: center;
	position: absolute;
	top: 0; 
	left: 0;

}

span#back-button:before {
	content: '\E802';
}

p.col50a {
	float:left;
	width: 49%;
	margin-right: 1%;
}

p.col50b {
	float:left;
	width: 49%;
	margin-left: 1%;
}


/*mod ok */


#cfooter { margin: 50px;}


#filter { text-align: right;}

#choose {
	margin: 0 auto;
	width: 500px;
	margin-top: 60px;
	text-align: center;
}

#choose td {

	text-align: center;
}

#ProdSelect {width: 250px; height: 500px;}



/* ADMIN MENU */

.clear {clear:both;}

.subMenu {display: none;}
.hrefA {display: none;}



#divImg {float:left; margin: 5px;}
#divImg img {margin: 0 0 8px 0;}
#divImg li {text-align: center; list-style: none; float:left; margin: 5px 18px 15px 0; border: 1px solid #CCC; padding: 5px 5px 0px 5px;}
#divImg li:hover {background: #CCC; filter:alpha(opacity=60); -moz-opacity:0.6;	-khtml-opacity: 0.6; opacity: 0.6;}


.error { 
    background-color: #a40115;
}


/* SORT TABLE */

.dataTables_length {float:left; width: 50%; height: 50px;}
.dataTables_length select {width: 100px;}
.dataTables_filter {float:left; width: 50%;height: 50px; text-align: right;}
.dataTables_filter input {width: 50% !important;}
#sortable {clear: both; width: 100%;}
#sortable2 {clear: both; width: 100%;}

.DataTables_sort_wrapper:hover {cursor: pointer;}

table.display thead th {
    cursor: pointer;
}

table.display thead th div.DataTables_sort_wrapper span {
    margin-top: -8px;
    position: absolute;
    right: 0;
    top: 50%;
}
.ui-state-default .ui-icon {
    background-image: url("../img/ui-icons_888888_256x240.png");
}
.css_right {
    float: right;
}
.ui-icon-triangle-1-n {
    background-position: 0 -16px;
}

.ui-icon-triangle-1-s {
    background-position: -64px -16px;
}

.ui-icon-carat-2-n-s {
    background-position: -128px 0;
}

.ui-icon {
    background-image: url("../img/ui-icons_222222_256x240.png");
    height: 16px;
    width: 16px;
    margin-top: 5px;
}

.ui-icon {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
    line-height: 30px;
}

.css_right {
    text-align: right;
}

#sortable_info {float:left; width: 50%; height: 50px;}
#sortable_paginate {float:left; width: 50%; height: 50px; text-align: right;}
#sortable_paginate a {border: 1px solid #CCC; padding: 3px 5px 3px 5px; margin: 0 2px 0 2px;}
#sortable_paginate a:hover {cursor: pointer; background: #666;}
#sortable_paginate a.ui-state-disabled {color: #CCC;}

#sortable2_info {float:left; width: 50%; height: 50px;}
#sortable2_paginate {float:left; width: 50%; height: 50px; text-align: right;}
#sortable2_paginate a {border: 1px solid #CCC; padding: 3px 5px 3px 5px; margin: 0 2px 0 2px;}
#sortable2_paginate a:hover {cursor: pointer; background: #666;}
#sortable2_paginate a.ui-state-disabled {color: #CCC;}

.fg-toolbar {float:left; width: 100%; margin: 20px 0 0 0;}

/* table */

.list-table {
	font-weight: 300;
	font-size: 14px;
	margin-top: 20px;
	float:left;
}

.list-table th {
	background: rgba(0,0,0,0.1);
	color: #666666;
	line-height: 30px;
	padding: 5px;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 14px;
	text-shadow: 1 1px 0 rgba(255,255,255);
	
}

.list-table td	{  text-align:left; border-bottom:1px solid #EBEBEB; padding: 10px;}
.list-table tr {border-bottom:1px solid #EBEBEB; padding: 5px 0 5px 0;}

.list-table tr.red td{
	background: rgba(251, 95, 95, 0.83) !important; 
}


.list-table tbody span {
	float:right;
}

.list-table tbody span:hover {
	background: rgba(255,255,255,0.5);
}

.list-table tbody span:before {
	font-family: 'fontawesome-selected';
	color: #666666;
	display: inline-block;
	text-align: center;
	width: 100%;
	text-indent: 4px;
	font-size: 20px;
}

.list-table tbody span.custom-edit:before {
	content: '\E803';
	margin-right: 10px;

}

.list-table tbody span.custom-delete:before {
	content: '\E801';
}

#filter {
	float:right !important;
	text-align: right !important;
	width: 100%;
	
}

#filter form {
	float:right;
	margin: 0; 
	padding: 0;
}
#filter label {
	margin: 10px 10px 0 0;	
	float:left;
	width: 100px;

}

#filter select {
	border: 1px solid #EBEBEB;
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
	-moz-appearance: none; /* Removes Default Firefox style*/
	-webkit-border-radius: 0;
	line-height:30px; 
	padding: 10px 0 10px 10px;
	background: url('../img/ArrowSelect.jpg') no-repeat right 10px center;  /*Adds background-image*/
	background-color: #FFF;
	width: 150px; /*Width of select dropdown to give space for arrow image*/
	text-indent: 0.01px; /* Removes default arrow from firefox*/
	text-overflow: "";  /*Removes default arrow from firefox*/
	float:left;
	margin-top: 1px;
}

#filter input[type=submit] {
	float:left;
	background: #666666;
	color: #FFFFFF;
	text-transform: uppercase;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	border: 0;
	margin: 0 0 0 10px !important;	
	-webkit-appearance: none;
   -webkit-border-radius: 0;
}



/* FORM */

label {
	margin: 20px 0 10px 0;	
	float:left;
	width: 100%;
}

input[type=text] {	
	width: 100%;
	border: 1px solid #EBEBEB;
	line-height: 20px;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 14px; 
	-webkit-appearance: none;
    -webkit-border-radius: 0;
    padding: 10px 0 10px 10px;	
    text-transform: uppercase;
} 

input[type=password] {	
	width: 100%;
	border: 1px solid #EBEBEB;
	line-height: 20px;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 14px; 
	-webkit-appearance: none;
    -webkit-border-radius: 0;
    padding: 10px 0 10px 10px;	
    text-transform: uppercase;
} 

input[type=submit], input[type=button]{
	background: #666666;
	color: #FFFFFF;
	text-transform: uppercase;
	float:right;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	border: 0;
	margin: 20px 0 20px 10px;
	padding: 0 10px 0 10px;
	-webkit-appearance: none;
   -webkit-border-radius: 0;
}

button {
	background: #666666;
	color: #FFFFFF;
	text-transform: uppercase;

	height: 40px;
	line-height: 40px;
	font-size: 16px;
	border: 0;
	margin: 20px 0 20px 0;
	padding: 0 10px 0 10px;
	-webkit-appearance: none;
   -webkit-border-radius: 0;

}

textarea#textDiv {
	width: 250px;
	height: 30px;
	margin: 20px 0 20px 0;
	text-align:center;
}

select {
	border: 1px solid #EBEBEB;
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
	-moz-appearance: none; /* Removes Default Firefox style*/
	-webkit-border-radius: 0;
	line-height:20px; 
	padding: 10px 0 10px 10px;
	background: url('../img/ArrowSelect.jpg') no-repeat right 10px center;  /*Adds background-image*/
	background-color: #FFF;
	width: 100%; /*Width of select dropdown to give space for arrow image*/
	text-indent: 0.01px; /* Removes default arrow from firefox*/
	text-overflow: "";  /*Removes default arrow from firefox*/
}


textarea {
	width: 100%;
	border: 1px solid #EBEBEB;
	min-height: 100px;
	line-height: 20px;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 14px; 
	-webkit-appearance: none;
    -webkit-border-radius: 0;	
}

label.etichetta {width: 20%; float: none; margin: 0 0 0 20px;}
.col20 {width: 20%;}
.col15 {width: 15%;}


.addStufa {margin: 20px 0 0 0; border-top: 1px dotted #EBEBEB; padding: 20px 0 0 0; text-align: right;}


@media screen and (max-width: 400px) {
	.boxMenu {width: 50%; float:left; text-align: center; }
	
	p.col50a {
	float:left;
	width: 99%;
	margin-right: 1%;
	margin-left: 1%;
}

p.col50b {
	float:left;
	width: 99%;
	margin-right: 1%;
	margin-left: 1%;
}

}



.author {
	float:right;
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 20px;
	
}

.clear-note {
width: 90%;
clear: both;
border-bottom: 1px solid #EBEBEB;
margin: 0 auto;
margin-bottom: 10px;

/* */

.descr-b {
	height: 400px !important;
}


