@font-face {
	font-family: 'Montserrat';
	src: url('/fonts/Montserrat.woff');
}

@font-face {
	font-family: 'Montserrat-sb';
	src: url('/fonts/Montserrat-SemiBold.woff');
}

@font-face {
	font-family: 'Montserrat-b';
	src: url('/fonts/Montserrat-Bold.woff');
}

.prevent_select {
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

body {
	font-family: Montserrat, verdana, sans-serif;
	font-weight: bold;
	font-size: 20px;
	margin: 0;
	padding: 0;
}

.main_color {
	color: #076EC8;
}

.fleft {
	float: left;
}

.fright {
	float: right;
}

.mr20 {
	margin-right: 20px;
}

.mr50 {
	margin-right: 50px;
}

.ml20 {
	margin-left: 20px;
}

.ml50 {
	margin-left: 50px;
}

.mb20 {
	margin-bottom: 20px;
}

.mb50 {
	margin-bottom: 50px;
}

#main_body {
	height: calc(100vh - 80px);
}

#main {
	width: 100%;
	float: left;
	height: calc(100vh - 92px);
}

#main_header {
	height: 75px;
	padding: 10px 0 0px 20px;
	border-bottom: 2px #808080 solid;
}

/* video o immagine o slide nella homepage */
#home_media {
	margin: 0;
	padding: 0;
	height: calc(100vh - 320px);
	text-align: center;
}

#home_media video {
	width: 100%;
}

#models {
	width: calc(35% - 2px);
	float: right;
	height: 100%;
	border-left: 2px #808080 solid;
}

#propertygrid_title {
	font-size: 24px;
	font-family: Montserrat, sans-serif;
	margin-bottom: 20px;
	margin-left: 30px;
	margin-top: 40px;
}

.propertygrid_subtitle {
	font-size: 24px;
	font-family: Montserrat, sans-serif;
	margin-bottom: 10px;
}

#model_description {
	font-size: 14px;
	font-family: Montserrat, sans-serif;
	margin-left: 30px;
	margin-bottom: 20px;
	padding-right: 135px;
}

#menu_title {
	margin: 40px 0 0 50px;
	font-size: 30px;
	font-family: Montserrat-sb, sans-serif;
}

iframe {
	border: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: calc(100vh - 175px);
}

#propertygrid {
	float: left;
	overflow-y: auto;
	overflow-x: hidden;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

#legenda {
	overflow: hidden;
	margin: 0 0 20px 0px;
	clear: both;
}

.legenda_item {
	margin-bottom: 5px;
	cursor: pointer;
	display: table;
}

	.legenda_item img {
		width: 32px;
		height: 32px;
		float: left;
	}

	.legenda_item div {
		float: left;
		margin: 6px 0 0 5px;
	}

#viewer {
	width: 65%;
	overflow: hidden;
	height: calc(100vh - 185px);
	padding-bottom: -2px;
	background-color: #fff;
}

#viewer_menu {
	padding-top: 15px;
	font-size: 14px;
	float: right;
	margin-right: 20px;
	width: 65px;
	position: absolute;
	top: 150px;
	left: 20px;
}

.viewer_menu_box {
	float: left;
}

#propertygrid_menu {
	height: 65px;
	float: right;
	padding-left: 30px;
	margin-top: 5px;
}

#footer {
	padding-top: 10px;
}

.footer_info {
	float: left;
	font-size: 12px;
	margin-top: 5px;
}

#logo_ad {
	cursor: pointer;
	margin-right: 60px;
	float: left;
	height: 50px;
}

#elenco_nodi, #elenco_materiali {
	width: 600px;
	display: inline-block;
	height: 800px;
	overflow: auto;
	vertical-align: top;
	border: 1px solid;
	display: none;
}

#elenco_nodi div, #elenco_materiali div, #info div {
	padding: 5px;
}

#info {
	float: left;
	width: 598px;
	height: 400px;
	border: 1px solid;
	overflow: auto;
	clear: left;
	display: none;
}

#menu {
	display: none;
}

.footer {
	height: 120px;
	width: 300px; 
	text-align: center;
	margin: 0 auto;
	font-size: 0.8em;
}

/* standard commands */

input[type=checkbox] {
	width: 24px;
	height: 24px;
}

.commands_section {
	font-size: 16px;
	margin-bottom: 20px;
	padding: 10px;
}

.commands_title {
	margin-left: -10px;
	font-weight: bold;
	margin-bottom: 15px;
}

.commands_text {
	padding-bottom: 3px;	
}

.commands_section input[type=checkbox] {
	float: left;
	margin-right: 5px;
}

.commands_section .checkbox_lbl {
	display: inline-block;
	margin-top: 5px;
}

input[type=radio] {
	transform: scale(1.5);
	margin-left: 15px;
	margin-bottom: 15px;
}

/* UI combo box */

.custom-combobox {
	position: relative;
	display: inline-block;
}

.custom-combobox-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
}

.custom-combobox-input {
	margin: 0;
	padding: 5px 10px;
	width: 455px;
	background-color: #fff;
	color: #000;
	font-size: 14px;
	height: 20px;
}

/* DIALOGS */

.dlg_input input {
	width: 100px;
	height: 24px;
	border-radius: 5px;
	border-width: 1px;
	text-align: center;
}

.input_lbl {
	padding-right: 10px;
	vertical-align: middle;
	color: #707070;
	font-family: Montserrat-sb, sans-serif;
}

.input_um {
	font-size: 14px;
	padding-left: 5px;
	color: #707070;
}

.dlg_input {
	margin-bottom: 10px;
	text-align: left;
}

.dlg_input div {
	display: inline-block;
	width: 110px;
	text-align: left;
}

	.dlg_input div:first-child {
		width: 10px;
		margin-right: 20px;
	}

.dlg_inline_input {
	margin: 0 auto;
	margin-bottom: 10px;
	text-align: center;
}

	.dlg_inline_input div {
		display: inline-block;
		width: 110px;
		text-align: center;
	}

	.dlg_inline_input div:first-child {
		text-align: right;
	}

	.dlg_inline_input div:last-child {
		text-align: left;
	}

	.dlg_inline_input input {
		width: 100px;
		height: 24px;
		border-radius: 5px;
		border-width: 1px;
		text-align: center;
	}

/* ACCESSIBILITA' - focus tastiera */
.a11y-focusable:focus,
#viewer:focus,
a:focus {
	outline: 3px solid #076EC8;
	outline-offset: 3px;
	box-shadow: 0 0 0 2px #fff;
}

#viewer:focus {
	outline-offset: -4px;
}