@charset "UTF-8";
html {
	margin: 0 auto;
    padding: 0;
    background-color: #EEE;
    font-size: 0.88em;
}
body, button, input, select, textarea, legend {
	font-size: 1em;
}
ul,label {
	margin: 0;
	padding: 0;
}
body {
	position: relative;
	height: auto!important;
    background-color: #EEE;
}
th {
	text-align: center;
}
abbr[title] {
	border: 0;
    text-decoration: none;
}
.h1, h1 {
    font-size: 1.7em;
    margin-bottom: 0.1em!important;
}
.h2, h2 {
    font-size: 1.2em;
}
.h1, .h2, .h3, .h4, .panel-title, h1, h2, h3, h4 {
    font-family: "Titillium Web","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 600;
    margin: 0.8em 0;
}
caption {
	color: #000;
    font-size: 1.2em;
    font-weight: bold;
    padding-bottom: 4px;
}
caption.hide_text {
	height: 0;
    font-size: 0;
    padding: 0;
}
.elenco a:focus, .elenco a:hover {
	color: #0066CC;
	/*font-weight: bold;*/
}

/* Common */
.fullWidth {
	width: 100%!important;
}
.noMargin {
	margin: 0!important;
}
.noMarginBottom {
	margin-bottom: 0;
}
.verticalAlign {
    display: inline-block;
    vertical-align: middle;
    float: none;
    padding: 0 15px;
}
.vertical-align {
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.verticalAlign span {
	font-size: 18px;
}
.bold,
.bold_text,
.fattura th > label {
	font-weight: bold;
}
.bold_line {
	font-weight: 600;
    text-decoration: underline;
}
.left,
.btn-singoli button.left {
	float: left;
}
.right {
	float: right;
}
.both {
	clear: both;
}
.text-left, th.text-left {
	text-align: left;
}
.text_center,
.ng-table th.text_center {
	text-align: center;
}
.text_right,
.ng-table th.text_right {
	text-align: right;
}
.primaryBg {
	background-color: #F5F5F5;
}
.primaryColor {
	color: #004080;
}
.uppercase {
    text-transform: uppercase;
}
.dynamicContainer {
    height: auto;
    overflow-y: auto;
}
.changed {
	background-color: rgba(227, 236, 37, 0.41)!important;
}
input.form-control.ng-invalid-pattern,
input.form-control.ng-invalid-date,
input.form-control.ng-invalid-email {
	background-color: rgba(255, 186, 186, 0.5)!important;
	color: #D8000C;
}
input.form-control.ng-invalid-required {
	outline: 0;
}
.campoRequired {    
    margin-left: 2px;
}
.form-control[readonly]:focus {
	border-color: #ddd;
    box-shadow: none;
}
.block {
	display: block;
}
.pointer {
	cursor: pointer;
}
.error_info > div {
	padding: 15px;
}

.button-label {
	font-size: 0;
    height: 1px;
    overflow: hidden;
    display: block;
}

.skipnav { text-align: left; }
.skipnav a { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skipnav a:focus, .skipnav a:active { position: static; left: 0; width: auto; height: auto; overflow: visible; text-decoration: underline; }

/* Content */
#main-content {
    max-width: 1280px;
    min-width: 980px;
    margin: 0 auto;
    padding: 0 10px;
    background-color: white;
    border: 3px solid #e5e1e0;
    border-top: 0 none;
    font-size: 1em;
}
#content {
	margin: 10px;
	font-size: 1em;
	min-height: 295px;
}
#content h1 {
	margin-top: 0;
	margin-bottom: 0.3em;
}
.allineaTop {
	margin-top: 8px;
}

/* Section menu */
.menu {
	background-color: #295C83;
    height: 2.65em;
    margin: 0 10px;
    padding-top: 4px;
    border-radius: 5px;
}
.menu ul {
	float: left;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: -1px 0 0 rgba(0, 0, 0, 0.1);
    padding-left: 4px;
    height: 2.5em;
    width: 100%;
}
.menu ul li {
	list-style: none;
	float: left;
	height: 100%;
    text-align: center;
}
.menu ul li a {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.11);
    padding: 4px 15px 4px;
    color: white;
    font-size: 1.0em;
    font-weight: bold;
    text-decoration: none;
    font-style: normal !important;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.6em;
    height: 100%;
    width: 100%;
}
.menu ul li a:hover,
.menu ul li a.selected {
	background-color: white;
    text-shadow: none;
    box-shadow: none;
    border-radius: 4px 4px 0 0;
}
.menu ul li a:hover {
	color: #F48026;
	cursor: pointer;
}
.menu ul li a.selected:hover,
.menu ul li a.selected {
    color: #295C83;
    cursor: default;
}
.menu ul li a span.glyphicon {
	margin-right: 0.3em;
}

/******* Home page *******/

.home_section {
	width: 85%;
	margin: 0 auto;
}
.home_section > section {
	margin-bottom: 2.6em;
}
.elenco_home table {
	margin-bottom: 7px;
}
.elenco_home table > tbody > tr > td,
.elenco_home table > thead > tr > th {
	padding: 5px;
	text-align: left;
}
.elenco_home .table-bordered > tbody > tr > td,
.elenco_home .table-bordered > thead > tr > th {
	border: 0;
	border-top: 1px solid #ddd;
}
.elenco_home .table-bordered > tbody > tr:HOVER,
.elenco_variazioni .table-bordered > tbody > tr:HOVER,
.elenco_richieste .table-bordered > tbody > tr:HOVER {
    background-color: #f2f2f2;
    border-left: 1px solid #295C83;
}
.elenco a {
	text-decoration: underline;
}
.elenco a:visited {
	color: #551a8b;
}
.elenco a:focus {
	outline: 2px solid #ff8c00 !important;
	outline-offset: 1px;
}
.tot_doc {
	font-size: 1em;
}

/******* Form *******/
.form-control {
	color: #454545;	
}
.richiesta_title {
	margin: 5px 0;
    padding: 5px;
    height: 4em;
}
.richiesta_title > div {
	float: left;
}
.richiesta_title > div.separa {
	margin-left: 20px;
}
.richiesta_title > div > input {
	font-weight: bold;
}
.richiesta_title div.doc_image {
	position: relative;
    height: 3.3em;
    margin-left: 10px;
}
.richiesta_title div.doc_image > img {
	max-height: 2.4em;
    position: absolute;
    bottom: 0;
}
.fattura label {
	font-weight: normal;
}

.fattura select,
.fattura input,
ul[role=listinput] > li > input {
	height: 1.85em;
}
.fattura select,
.fattura input,
ul[role=listinput] > li > input {
	width: inherit;
}
select.form-control,
input.form-control {
    padding: 2px;
    font-size: 1em;
}
select.form-control [disabled] {
	color: blue;
}
.glyphicon-missing {
	margin-left: 16px;
}
div.sezione_inner > div {
	margin: 10px 10px 0 0;
	float: left;
	color: #004080;
}
div.sezione_inner > div.beni_acquistati {
	margin: 10px 0 0 0;
}
div.sezione_inner.popup > div {
	margin-right: 25px;
}
div.sezione_inner > div.date {
	margin-right: 23px;
}
.panel-title {
	font-size: 1.1em;
	color: #004080;
	margin: 0;
}
.panel-title > a:focus,
.panel-title > a:hover {
	outline: 0;
	text-decoration: none;
}
.header_fixed .panel-title > a {
	text-decoration: none;
    cursor: default;
    outline: none;
    outline-offset: 0;
}
.header_fixed .panel-title > a > span {
    color: #004080;
    font-weight: bold;
}
.panel-title button {
	float: left;
}
.panel-heading {
	padding: 5px 10px;
	color: #004080;
}
.panel-body {
    padding: 5px;
}
.modifiche .panel-body {
	background-color: white;
}
.modifiche .beni_acquistati .panel-body {
	background-color: white;
}
div.sezione_inner > div.iva_pagata {
	margin: 10px 20px 0 10px;
}
.iva_pagata > label,
.iva_pagata > span,
.iva_pagata > input {
	float: left;
}
.iva_pagata > input {
	margin: auto 3px auto 20px;
	border-color: #FFF;
	width: 1em;
}
.iva_pagata > input.start-row {
	clear: both;
}
.iva_pagata > label.yesOrNo {
    margin: auto 3px;
    line-height: 1.83em;
    font-weight: normal;
}
div.sezione_inner > div.fallback {
	float: right;
    border: 2px dotted;
    border-radius: 5px;
    padding: 6px;
    padding-bottom: 0;
    margin: 0;
}
div.fallback > input {
	height: 22px;
	width: 1em;
	float: left;	
}

div.fallback > input.start-row {
	clear: both;
}
div.fallback > label {
	margin-left: 5px;
}

.date input,
.ext_info input,
.separa input {
	clear: both;
}
.date.interval input {
	clear: none;
}
.date .input-group-btn button,
.input-group-btn.left > button {
	margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    width: 26px;
    height: 26px;
}
div.sezione_inner input[type="checkbox"],
.beni_acquistati table .qta {
	margin: 0 auto;
}
.date.interval .input-group-btn {
	width: inherit;
}
.date.interval label.dal {
	clear: both;
    line-height: 26px;
    margin-right: 8px;
}
.date.interval label.al {
	margin: 0 13px 0 5px;
    line-height: 26px;
}

.paese_visto {
	width: 265px;
}
.paese_visto input {
	width: 100%;
}

.elenco {
	padding: 0;
}
.elenco table thead {
	background-color: #295C83;
    color: white;
}
.elenco table thead .noBg {
	width: 90px;
}
.elenco table tbody,
.elenco table tfoot {
	background-color: #FFF;
}

/* Sezione Fattura */
div.sezione_inner > div.totali {
	width: 100%;
    margin: 0;    
    height: 3.5em;
    /*padding: 10px 81px 10px 0;*/
    border-radius: 5px;
    padding-right: 70px;
}
div.totali > div.sez_totali {
	/*width: 480px;*/
	float: right;
}

div.sezione_inner > div.totali.viewMode {
	padding-right: 0;
	background-color: #FFF;
	position: relative;
}
div.sez_totali > div {
    float: left;
}
div.sez_totali > div.tot_imp {
    margin-left: 1px;
}
div.sez_totali > div.tot_imp > input {
    float: right;
}
div.sez_totali > div.tot_iva {
	margin-left: 72px;
}
div.sez_totali > div.tot_fatt {
	margin-left: 22px;
}
div.sez_totali input {
	width: 128px;
}

/* Sezione Beni acquistati */
.beni_acquistati .table > thead > tr > th {
	padding: 5px;
}
.beni_acquistati .table > tbody > tr > td {
	line-height: 18px;
	padding: 4px;
}
.beni_acquistati .table.table-editable > tbody > tr > td {
	line-height: 27px;
}
.beni_acquistati table {
	margin-bottom: 10px;
}
.beni_acquistati table .natura {
 	width: 165px;
 }
.beni_acquistati table .descrizione {
	text-align: left;
}
.beni_acquistati table .importo {
	width: 135px;
}
.beni_acquistati table .aliquota_iva {
	width: 105px;
}
.beni_acquistati table .importo_iva {
	width: 100px;
}
.beni_acquistati table .importo_aliquota_iva {
	width: 200px;
}
.beni_acquistati table .importo_tot {
	width: 150px;
}
.beni_acquistati table .no_importo {
	width: 90px;
}
.popup .beni_acquistati table .importo {
	width: 100px;
}
.beni_acquistati table .operazioni {
	width: 71px;
}
.beni_acquistati .titolo {
	font-size: 15px;
}
.beni_acquistati .titolo > span {
	display: inline-block;
    padding-top: 3px;
}
.beni_acquistati .titolo span > button {
    padding: 1px 9px;
    background-color: white;
    color: #004080;
    border-color: #06c;
    font-weight: bold;
}

/* Sezione visto doganale */
.sezione_libera {
    margin: 5px 0;
    padding: 5px;
    height: 73px;
}

/* Sezione Importi calcolati */
.importi_calcolati {
	border: solid 1px #ddd;
    margin: 5px 0;
    border-radius: 4px;
    padding: 5px;
    height: 4.2em;
}
.importi_calcolati .text_importi  {
	width: calc(100% - 490px);
    float: left;
    text-align: right;
    font-weight: bold;
    font-size: 1.1em;
    padding-top: 20px;
    position: absolute;
    bottom: 5px;
}
.importi_calcolati .tot_imp > label {
	width: 139px;
    display: block;
}

/* Elenco Richieste */
.elenco_richieste table th {
	text-align: left;
}
.elenco_richieste table th.text_center {
	text-align: center!important;
}

/* pulsanti */
.disclaimer {
	margin-left: .5em;
	color: red;
}
.buttons {
	clear: both;
	margin-top: 10px;
}
.btnApp {
    line-height: 1.333;
    background-color: #295C83;
    border-color: #06c;
    margin: .5em;
    color: #FFF;
    height: 2.2em;
    font-size: 1em;
    font-weight: bold;
}
.buttons > .btnApp:first-child {
	margin-left: 0;
}
.buttons div {
	float: left;
}
.glyphicon {
	top: 2px;
}
.btn-sm {
    padding: 4px 7px;
}
.btn-sm.margin-dx {
	margin-right: 10px;
}
.btn-expand {
    color: #004080;
    background-color: transparent;
    padding: 0 3px;
    margin-left: -5px;
    border: 0;
}
.table > tbody > tr > td.btnVariazione {
	padding: 2px;
}
.table > tbody > tr > td.btnVariazione > button {
	margin: 0 0 0 5px;
}

/* Popup per paesi */
.popover-inner {
	width: 270px;
}
.popover-content {
	padding: 0;
}
.title-ricerca-object {
	background: #EEE;
    font-size: 12px;
    height: 26px;
    line-height: 26px;
    border-radius: 4px 4px 0 0;
    padding-left: 10px;
}
.popover-content .main {
	padding: 9px 15px;
}
.popover-content label {
	font-size: 12px;
}

/* Intervallo date */
.intervallo > fieldset {
    border: 1px solid #ddd;
    padding-left: 15px;
    padding-bottom: 10px;
}
.intervallo > fieldset > legend {
    color: #004080;
    border-bottom: none;
    margin: 0 0 5px 0;
    max-width: 100%;
    padding: 0 5px;
    width: auto;
}

/* Finestra modale */
.modal {
	text-align: center;
	padding: 0!important;
}
.modal:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px;
}
.modal-dialog {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
	font-size: 1em;
}
.modal-content {
	padding: 10px;
}
.modal-header {
	font-size: 1em;
    font-weight: bold;
    text-align: center;
    padding: 0 15px 5px 15px;
    margin-bottom: 10px;
}
.modal-close {
	display: inline-block;
    float: right;
    line-height: 20px;
    cursor: pointer;
}
.modal-content label {
    font-weight: normal;
}
.modal-content .table {
    margin-bottom: 5px;
}
.modal-content .totaleTributi {
	text-align: right;
}
.modal-content .totaleTributi > strong {
	padding: 2px 10px;
    background-color: lightblue;
    border-radius: 4px;
}
.modal-content .message > span {
	float: left;
}
.modal-content .message > .glyphicon {
	font-size: 25px;
    line-height: 25px;
    margin-right: 5px;
}
.modal-content .message > .glyphicon-remove-sign {
	color: red;
}
.modal-content .message > .glyphicon-question-sign {
	color: goldenrod;
}
.modal-content .message > .glyphicon-info-sign {
	color: #004080;
}
.modal-content .message > .testo {
	vertical-align: top;
	width: calc(100% - 32px);
}
.modal-content .message > .testo_max {
	font-size: 1em;
    display: inline-block;
    margin-bottom: 5px;
}
.modal-content .selPiva {
	width: 500px;
    margin-left: 30px;
    font-weight: bold;
}
.modal-content .selPiva > select {
    font-size: 16px;
    height: 30px;
}
.modal-content .buttons.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Finestra modale Dettaglio Variazione" */
div.v_isFallback {
	float: right;
	display: inline-table;
}
div.v_isFallback > input {
	height: 1em;
    width: 1em;
    float: left;
    margin-top: 1px;
}
div.v_isFallback > label {
	margin-left: 5px;
}

/* Loader */
.page-loader.in {
    opacity: .5;
    filter: alpha(opacity=50);
}
.wait {
    cursor: wait;
}
.page-loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background: url(../images/loader.gif) no-repeat scroll center center #eee;
}

/* Accessibilita' BEGIN*/
.form-control::-moz-placeholder {
	color:#747474;
}
.form-control:-ms-input-placeholder {
	color:#747474;
}
.form-control::-webkit-input-placeholder {
	color:#747474;
}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {
	background-color:#f7f7f7;
}
.btn.focus,.btn:focus, nav > ul > li > a:focus {
	outline: 2px solid #ff8c00;
	outline-offset: 1px;
	color: #fff;
}
.btn:hover {
	outline: 2px solid #0066CC;
	outline-offset: 1px;
	color: #fff;
}
.btn.disabled,.btn[disabled],fieldset[disabled] .btn {	
	filter:alpha(opacity=75);	
	opacity:.75;
}

a:focus {
	outline: 2px solid #ff8c00 !important;
	outline-offset: 1px;
}
/* Accessibilita' END*/

/* MEV 2018 - PACK 2 - Link Assistenza - Begin */
div#leftAssitenza{    
    float: left;
    padding-left: 1em;
    margin-bottom: 1em;
}
div#rightAssitenza{
    float: right;    
    margin-bottom: 2px;
    margin-right: 2em;
    text-align: right;
}
div#clearAssitenza{
	clear: both;
}
/* MEV 2018 - PACK 2 - Link Assistenza - End */

.help {cursor: help;}

ol.note { counter-reset: decimal; list-style: none; }
ol.note > li:before { counter-increment: decimal; content:"(" counter(decimal)") "}
