a.logo
{
	line-height: 1.6rem;
}

span.instance_label
{
	font-size: 1.5rem;
	color: #606c76;
}

input.withButton
{
	width: 100%;
	padding-right: 56px;
	box-sizing: border-box;
}

input.comuneButton, input.comuneButton:focus
{
	float: right;
	position: relative;
	top: -5.3rem;
	width: 3.8rem;
	padding: 0;
	margin-bottom: -5.3rem;
	background-color: #f0f0f0;
	background-image: url('../img/wizard.png');
	background-repeat: no-repeat;
	background-position: center center;
}

input.findButton, input.findButton:focus
{
	float: right;
	position: relative;
	top: -5.3rem;
	width: 3.8rem;
	padding: 0;
	margin-bottom: -5.3rem;
	background-color: #f0f0f0;
	background-image: url('../img/viewmag.png');
	background-repeat: no-repeat;
	background-position: center center;
}

input.comuneButton:hover
{
	background-color: #e0e0e0;
}

label
{
	margin-bottom: 0.4rem;
}

form .required label:after {
	content: '*';
	display:inline;
}

.formFlexContainer, .formFlexContainer3, .flexAuto {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
}

.formFlexContainer > div {
	padding: 5px;
	flex: 1 1 50%;
	min-width: 300px;
}

.formFlexContainer3 > div {
	padding: 5px;
	flex: 1 1 33%;
	min-width: 230px;
}

.flexAuto > div {
	padding: 5px;
	flex: 1 1 auto;
}

input.dimensioni, select.dimensioni
{
	display: inline;
	width: unset;
	max-width: 100px;
}

div.form_section
{
	border-radius: 0.5rem;
	border: solid 1px #bbbbbb;
	padding: 1.5rem;
}

div.form_section legend
{
	margin-bottom: 0.2rem;
}

div.form_section th, div.form_section td
{
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
	border-bottom: none;
	vertical-align: middle;
}

ul#psw_check
{
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

ul#psw_check li {
	padding-left: 3em;
	text-indent: -1em;
}

.psw_valid {
	color: green;
}

.psw_valid:before {
	position: relative;
	left: -1em;
	content: "✔";
	padding-right: 5px;
}

.psw_invalid {
	color: red;
}

.psw_invalid:before {
	position: relative;
	left: -1em;
	content: "✖";
}

h4 span
{
	font-size: 65%;
}

label span
{
	font-size: 65%;
	font-weight: normal;
}

label.multiline
{
	line-height: 1;
}

table#strati_table td.actions a
{
	display: block;
	margin-bottom: 1.5rem;
}

/* The dropdown container */
.dropdown {
	display: inline-block;
	overflow: visible;
	position: relative;
	border: none;
	outline: none;
	background-color: inherit;
	font-family: inherit; /* Important for vertical align on mobile phones */
	margin: 0; /* Important for vertical align on mobile phones */
}

.dropdown > img
{
	border: none;
	outline: none;
	display: block;
	margin-bottom: -10px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
	display: none;
	position: absolute;
	right: 0px;
	top: 36px;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
	background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content
{
	display: block;
} 


div.locationButton
{
	background-color: #ffffff;
	width: 30px;
	height: 30px;
	border: solid 2px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}

div.checked
{
	background-color: #ffff00;
}

.info_note
{
	font-size: 80%;
}

#map_error
{
	color: red;
}

div.locationButton, div.locationButton img
{
	cursor: pointer;
}

div.map_popup
{
	font-size: 10pt;
}

div.map_popup p
{
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}

div.map_popup h4
{
	margin-bottom: 0.6em;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12pt;
	font-weight: bold;
}

div.img_preview
{
	display: inline-block;
	text-align: center;
	padding: 1em;
}

div.small_menu
{
	display: none;
}


header
{
	max-width: 112rem;
	margin: 0 auto 2rem;
	padding: 2rem;
}

header.header ul
{
    list-style: none;
}

.logo{
    display: inline-block;
    margin-left: 10px;
}

.nav{
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
	z-index: 1;
	background-color: #f5f7fa;
	margin-left: -1rem;
	padding-left: 2rem;
	padding-top: 1rem;
}

.menu a{
    display: block;
    padding: 0.2em;
    color: #606c76;
	font-size: 2.2rem;
}

/*
.menu a:hover{
	background-color: var(--gray);
}*/

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 0.5em 0.5em;
	margin-top: 0.8rem;
}/* Style label tag */

.hamb-line {
    background: #606c76;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: #606c76;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

input.side-menu {
    display: none;
} /* Hide checkbox */


/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

/* Sub nav */
.subnav-content {
    width: 100%;
    z-index: 1;
}

.subnav-content a {
    text-decoration: none;
    padding: 0;
    margin: 10px 0;
}


.subnavbtn
{
	display: none;
}

.actions input[type="button"]
{
	padding: 0 1.0rem;
}

span.anim_ellipsis
{
	min-width: 2rem;
	display: inline-block;
}

table.row_link td
{
	padding: 0;
}

table.row_link td a
{
	display: block;
	padding: 1rem 1rem;
}

table.row_link tr:hover td
{
	background-color: #e0e0e0;
}

table.row_link tr:hover td:first-child
{
	border-top-left-radius: 10px; 
	border-bottom-left-radius: 10px;
}

table.row_link tr:hover td:last-child
{
	border-bottom-right-radius: 10px; 
	border-top-right-radius: 10px; 
}

table.commesse_nav
{
	width: 100%;
}

table.commesse_nav td
{
	width: 25%;
}

input.inline_in
{
	width: unset;
}

label.inline_in
{
	display: unset;
}

@media screen and (max-width: 640px){
	
	table td, table th
	{
		display: revert;
	}

	table tbody
	{
		display: revert;
	}

	table
	{
		display: revert;
	}

	div.standard_menu
	{
		display: none;
	}

	div.small_menu
	{
		display: unset;
	}

	.content
	{
		padding: 1rem;
	}

	div.form_section
	{
		padding: 1rem;
	}
}

@media (min-width: 768px) {


	.nav{
		max-height: none;
		top: 0;
		position: relative;
		float: right;
		width: fit-content;
		background-color: transparent;
	}

	.menu li{
		float: left;
	}

	.menu a:hover{
		background-color: transparent;
		color: var(--gray);
	}

	.hamb{
		display: none;
	}

	.menu a{
		font-size: 1.6rem;
	}

	.nav
	{
		overflow: visible;
		padding-top: 0.2rem;
	}

	.subnav
	{
		overflow: visible;
		position: relative;
		margin-top: -5px;
		padding-left: 5px;
	}

	/* Sub nav */
	.subnav-content {
		display: none;
		position: absolute;
		right: 0px;
		top: 36px;
		background-color: #f9f9f9;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
		z-index: 1;
		width: fit-content;
		padding-left: 1rem;
		padding-right: 1rem;
		text-align: right;
	}

	.subnavbtn
	{
		display: unset;
	}
	
	.subnav:hover .subnav-content {
		display: block;
	}
}