body {
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
}

audio, canvas, progress, video {
    vertical-align: middle;
}

label {
    cursor: default;
    margin-bottom: 0.4em;
}

input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
    height: 2.286em;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, textarea:focus {

}

.browsehappy {
    background: #ccc;
    color: #000;
    margin: .2em 0;
    padding: .2em 0
}

section.header {
    padding: 1.5em 0 1.5em 0;
    min-height: 132px;
}

section.content {
    margin: 1.5em 0 0 0;
}

section.brand {
    margin: 1em 0
}

section.footer {
    margin: 2em 0 1.5em 0;
    padding: 2em 0 2em 0;
}

section.copyright {
    margin: 1.5em 0 1.5em 0;
    padding: 1em 0 1em 0;
}

div.support .fa-envelope-o {
    font-size: 1.2em;
    padding: 0 1em 0 0;
}

div.support .fa-rotate-30 {
    -ms-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
}

div.support > div {
    color: #4d4d4d;
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5em;
}

hr {
    margin: 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    line-height: 1.2;
}

.row {
    max-width: 80em;
}

.contain-to-grid .top-bar {
     margin-bottom: 0;
     max-width: 80em;
 }

.top-bar.expanded .toggle-topbar a {
    color: #ffffff;
}

.top-bar .toggle-topbar.menu-icon a span {
    -webkit-box-shadow: 0 10px 0 1px #fff, 0 16px 0 1px #fff, 0 22px 0 1px #fff;
    box-shadow: 0 10px 0 1px #fff, 0 16px 0 1px #fff, 0 22px 0 1px #fff;
}

.top-bar-section .dropdown li.title h5 {
    margin-bottom: 0;
    margin-top: 0;
}

.top-bar-section .dropdown li.title h5 a {
    line-height: 30px;
}

.top-bar-section ul li > a {
    padding: 1em;
}

.top-bar-section .dropdown li > a {
    padding: 1em;
}

.ui-datepicker {
    z-index: 4 !important;
}

.ui-widget {
    font-size: 1.0em;
}

.ui-widget-content a.button {
    color: #ffffff;
}

.ui-widget-content a.button.secondary {
    color: #333333;
}

.iframe {
    width: 100%;
    min-height: 37.5em;
    border: none;
    background-color: white;
}

.terms_and_conditions {
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
    /*font-size: 0.875em;*/
    line-height: 1.15;
    margin: 0 0 1em 0;
    padding: 0.5em;
    height: 240px;
    overflow-y: scroll;
}

.credits {
    border: none;
    width: 100%;
    height: 46em
}

.faq p {
    font-size: 1.25em;
    margin-bottom: 1em;
    color: #6f6f6f;
}

form .hint {
    font-size: .85em;
    color: #999;
    margin: -1em 0 .5em;
    padding: 0
}

.colpick {
    z-index: 2;
}

.f-dropdown {
    z-index: 101;
}

.badge {
    width: 1.4em;
}


.required {
    color: #c60f13;
}

.recaptcha span.error, .recaptcha small.error {
    margin-top: 0;
}

span.error, small.error {
    padding: 0.25em 0.25em;
    margin-top: -1.25em;
}

.store {
    background-color: #555;
    text-align: center;
    margin-bottom: -2em;
}

.label {
    padding: 0.1875em 0.325em 0.25em;
}

.label.radius {
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.label.round {
    line-height: 1;
}

.label.small {
    font-size: .75em
}

.fa-toggle-on {
    color: #489600;
}

.fa-toggle-off {
    color: #8f8f8f;
}

span.success, i.success {
    color: #56B300;
}

span.alert, i.alert {
    color: #c60f13;
}

.label.success, .label.yes, .label.solved, .label.active, .label.inviata, .label.approved {
    background-color: #29bf00;
}

.label.warning, .label.incomplete, .label.unable_to_reproduce, .label.canceled, .label.extended, .label.expiring, .label.activated {
    background-color: #ffc107;
}

.label.error, .label.errore, .label.open, .label.expired, .label.locked, .label.canceled {
    background-color: #c60f13;
}

.label.disabled, .label.no, .label.not_possible, .label.closed, .label.registered, .label.disabled {
    background-color: #8f8f8f;
}

.alert-box.success {
    background-color: #56B300;
    border-color: #56B300;
}

.alert-box.warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

.alert-box.alert {
    background-color: #c60f13;
    border-color: #c60f13;
}

.alert-box.info {
    background-color: #8f8f8f;
    border-color: #8f8f8f;
}

aside:before, .note:before {
    font-family: 'FontAwesome';
    content: "\f005";
    position: absolute;
    left: 12px;
    top: 11px;
}

aside, .note {
    display: block;
    margin-bottom: 1em;
    position: relative;
    padding: 0.6875em 1.3125em 0.75em 2.6875em;
    font-size: 0.875em;
    background: #e1f5fe;
    color: #0288d1;
    line-height: 1.4;
}

td div.switch {
    font-size: 1.135em
}

.button.half {
    width: 45%;
}

button, .button {
    /*padding: 0.563em 0.500em 0.500em;*/
    box-shadow: none;
    border: none;
}

button.small, .button.small {
    font-size: small;
    padding: 0.625em 1em 0.625em 1em;
}

button.tiny, .button.tiny {

}

button.large, .button.large {

}

button.auto, .button.auto {
    min-width: 10%;
}

.sortable {
    list-style-type: none;
    margin: 0;
}

.sortable li {
    font-size: 0.875em;
    cursor: move;
    margin: 0 0 5px;
    padding: 4px 4px 4px 10px;
    color: #333;
}

.sortable li:hover {
    background: #f1f1f1;
}

.f-dropdown li {
    font-size: 1em;
    line-height: 1.5em;
}

ul.error {
    padding-left: 1.2em;
    margin-bottom: 2px;
    line-height: 1.2em
}

.opad {
    padding-left: 10px
}

.vpad {
    padding-bottom: 10px
}

.panel, table {
    border-color: #e6e6e6;
}

.panel.callout {
    background: #1A8DD8;
    border-color: #0D83CF;
}

.panel.callout.red {
    border-color: #C70000;
}

.scroll-small {
    max-height: 200px;
    overflow-y: scroll;
}

.scroll-medium {
    max-height: 400px;
    overflow-y: scroll;
}

.scroll-large {
    max-height: 600px;
    overflow-y: scroll;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table .label {
    line-height: 1.4em;
    margin-bottom: 1px;
}

table thead tr th > a.sorting, table thead tr th, .tile a.sorting {
    color: #333;
}

table thead a.sorting:hover, .tile a.sorting:hover {
    text-decoration: underline;
}

table thead tr th > .sorting, .tile .sorting {
    display: block;
    padding-right: 16px;
    background: url(momentum/images/sorting.png) no-repeat center right
}

table thead .sorting .fa, .tile .sorting .fa {
    display: none;
}

table thead {
    border-bottom: 2px solid #e6e6e6;
}

table th {
    border-right: 1px solid #e6e6e6;
}

table td.action-button {
    width: 130px;
    min-width: 130px;
}

table td.missionTemplateActionButton {
    width: 170px;
    min-width: 170px;
}

table td.missionTemplateActionButton button, table td.missionTemplateActionButton a {
    font-weight: normal;
}

.button-group > * {
    margin: 0 0 0 1px;
}

table td .button {
    font-size: medium !important;
    padding: 0.3em 0.6em 0.4em 0.6em !important;
    margin-bottom: 0 !important;
}

table td .button.primary {
    color: #ffffff !important;
}

table td .button.secondary {
    color: #797979 !important;
}

.tile .sorting.asc {
    background: url(momentum/images/sorting_asc.png?v=1) no-repeat center right
}

.tile .sorting.desc {
    background: url(momentum/images/sorting_desc.png?v=1) no-repeat center right
}

img.preview-x-small {
    max-height: 24px;
    max-width: 24px;
}

img.preview-small {
    max-height: 36px;
    max-width: 36px;
}

img.preview-medium {
    max-height: 48px;
    max-width: 48px;
}

img.preview-large {
    max-height: 64px;
    max-width: 64px;
}

.table-responsive {
    min-height: .01%;
    overflow-x: auto;
}

.row.dae {
    border-bottom: 1px solid #F0F0F0;
    padding-top: .625em;
    padding-bottom: .625em;
}

.row.dae:hover {
    cursor: pointer;
    background-color: #f9f9f9;
}

.row.dae p {
    font-size: 0.875em;
    line-height: 1.25em;
    margin-bottom: .25em;
}

.redactor_box {
    margin-bottom: 1em;
}

.top-button-bar {
    min-height: 45px;
    padding: 0.6em;
    background-color: #eeeeee;
}
.top-button-bar .inline-list, .top-button-bar div.switch, .top-button-bar .subheader  {
    margin-bottom: 0;
}
.top-button-bar .subheader {
    color: #606060;
}


.interventions .intervention {
    font-size: 1em;
    background-color: #fafafa;
}

.interventions .intervention table {
    border: none;
    font-size: 1.2em;
}

.interventions .background {
    background-color: #fafafa;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#interventionsList .intervention {
    border-bottom: 2px solid #eeeeee;
}

#interventionsList .intervention:last-child {
    border-bottom: none;
}

.interventions .arrow {
    color: #cecece;
    z-index: 1;
    position: absolute;
    font-size: 5em;
    right: 0;
    margin-top: 107px;
    margin-right: 10px;
}

.interventions .navigation a.button {
    color: #333333;
    background-color: #ffffff;
    border-bottom: 1px dotted #eeeeee;
    font-weight: 400;
    padding-left: 15px;
    padding-top: 0.575em;
    padding-bottom: 0.5em;
    font-size: 1.4em;
    text-transform: uppercase;
}

.interventions .navigation .fa {
    margin-right: 15px;
}

.intervention .columns {
    padding: 0.3em 1em 0.3em 1em;
    min-height: 3.75em;
    border-bottom: 1px solid #eeeeee;
}

.interventions label {
    cursor: inherit;
    padding: 0.125em 0.375em 0.1875em 0;
    margin-bottom: 0.375em;
}

.interventions .label {
    line-height: 1.2em;
}

.interventions .label.radius {
    min-width: 1.4em;
    line-height: 1;
}

.interventions input {
    font-size: 0.825em;
}

.interventions .row, .gmnoprint img {
    max-width: none;
}

.interventions button, .interventions .button {
    margin-bottom: 0;
}

.interventions .tile {
    background-color: #eeeeee;
}

.interventions .section {
    position: relative;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px dotted #eeeeee;
}

.interventions .section .text {
    text-align: center;
    line-height: 2.5em;
}

.interventions .section .title {
    line-height: 1.25em;
    font-size: 1.125em;
}

.interventions .section h5 {
    line-height: 1em;
    margin: 0;
}

.interventions .selectable:hover, .interventions .navigation .button:hover {
    cursor: pointer;
    background-color: #E8F3FF;
}

.interventions .notice .alert-box {
    margin-bottom: 0;
    padding: 0.5em;
}

.interventions .notice {
    background-color: #ffdadb;
}

.interventions .notice label {
    color: #666;
}

.interventions .selectable.notice:hover {
    background-color: #ffafb1;
}

#interventionsDetail .tile.table {
    font-size: 0.85em;
    font-weight: bold;
}

#interventionsDetail .tile.pagination {
    padding: 0.25em 0;
}

#interventionsDetail .tile.feedback_change {
    padding-bottom: 0;
}

.info-window {
    font-size: 1.125em;
    margin: 7px 3px 7px 0;
}
.info-window div.row {
    padding: 5px 0;
}

.info-window div.row:nth-child(odd) {
    background-color: #f8f8f8;
}

.info-content {
    width: 320px;
}

.info-content .button {
    margin-bottom: 0;
}

.info-content__multi-location {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.info-content__multi-location + .info-content__multi-location {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #4b4b4b;
}

.info-content__multi-location .button {
    margin: 0 0 0 auto;
    padding: 0;
    height: auto;
    width: auto;
    background-color: transparent;
    cursor: pointer !important;
}

.info-content__multi-location .button:hover,
.info-content__multi-location .button:active,
.info-content__multi-location .button:focus {
    background-color: transparent;
}

.info-content__site-notes {
    flex-grow: 1;
    margin-top: 8px;
}

.profile-interventions {
    padding-bottom: 0;
    background-color: #f4f4f4;
    border: 1px dotted #ddd;
}

.profile-interventions p {
    margin-bottom: 1em;
}

.profile-interventions label {
    line-height: 1.25em;
    color: #8B8B8B;
    font-weight: bold;
    border-bottom: 1px solid #D8D8D8;
}

.side-nav {
    margin: 0;
    padding: 0;
}

.side-nav li {
    margin: 0;
}

.side-nav li a {
    padding: .25em .5em .25em .5em;
}

.side-nav li a:hover {
    background-color: #f6f6f6;
    text-decoration: underline;
    transition: background-color 300ms ease-out;
}

.side-nav li.active {
    background-color: #f6f6f6;
    text-decoration: none;
}

.side-nav li.divider {
    margin-top: -1px;
}

.responder {
    border-bottom: 1px dotted #ddd;
    background-color: #fff
}

.responder .columns {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.responder h5 {
    line-height: .75em
}

.account-footer {
    background: #f5f5f5;
    padding: 10px 10px 0 10px
}

.account-menu {
    padding: 10px
}

.compass {
    background: rgba(0, 0, 0, 0) url(momentum/images/compass_needle.png) top left no-repeat;
    height: 48px;
    width: 48px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg)
}

.sfondo_compass {
    background: rgba(0, 0, 0, 0) url(momentum/images/compass_dial.png) top left no-repeat;
    height: 48px;
    width: 48px
}

.debug {
    width: 100%;
    position: absolute;
    bottom: 0;
    overflow: scroll;
    border: 2px solid #aaa;
    font-size: 0.875em;
    background-color: #eee;
    color: #555;
    font-family: monospace;
    padding: 1em;
}

.news {
    padding-top: 0;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ddd;
}

.news a:hover {
    text-decoration: underline;
}

.news .label {
    background: #9e9e9e;
}

.settings label, hr {
    color: #4e4e4e;
}

.settings label img {
    margin-right: 0.25em;
}

div.switch {
    width: 68px;
    background: none;
    border: none;
    overflow: hidden;
}

div.switch.round label {
    color: #fff;
    padding: 0 0.6em;
}

div.switch span:last-child {
    top:0;
    border: none;
    -webkit-box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.3), 1000px 0 0 1000px #5897fb, -2px 0 10px 0 rgba(0, 0, 0, 0.1), -1000px 0 0 1000px #aaaaaa;
    box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.3), 1000px 0 0 980px #5897fb, -2px 0 10px 0 rgba(0, 0, 0, 0.1), -1000px 0 0 1000px #aaaaaa;
    z-index: inherit;
}

div.switch.disabled span:last-child {
    top:0;
    border: none;
    -webkit-box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.05), 1000px 0 0 1000px #ededed, -2px 0 10px 0 rgba(0, 0, 0, 0.05), -1000px 0 0 1000px #ededed;
    box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.05), 1000px 0 0 980px #ededed, -2px 0 10px 0 rgba(0, 0, 0, 0.05), -1000px 0 0 1000px #ededed;
    z-index: inherit;
}

form.search label {
    text-align: left;
}

form.search .button {
    margin-bottom: 0;
}

form.search .switch {
    font-size: 1.0em;
}

form .switch {
    margin-bottom: 1em;
}

form .checkbox {
    width: 20px;
    height: 20px;
    margin-bottom: 1em;
}

form .checkbox.checked:before {
    font-size: 2em;
    left: 35%;
}

form label.prefix {
    border: none;
    background: none;
}

form .map-helper {
    border: 1px solid #ddd;
    height: 300px;
    margin-bottom: 1em;
}

.form_element_display {
    display: block;
    font-size: 0.875em;
    margin: 0 0 1em 0;
    padding: 0.5em;
    min-height: 2.3125em;
    background-color: transparent;
    border: 1px solid #ccc;
}

::-moz-selection, ::selection {
    background: #b3d4fc;
    text-shadow: none;
}

.header h1, .header h3, .store h4, .store p {
    margin: 0;
}

#dae .header {
    background-color: #00852d;
}

h2.reveal-title {
    font-size: 1.875em;
}

.reveal-title {
    text-transform: inherit;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 0.25em;
    margin-bottom: 0.25em;
}

.reveal-modal-bg {
    background: rgba(0, 0, 0, 0.35);
    z-index: 9998;
}

.reveal-modal.open {
    z-index: 9999;
}

.reveal-modal {
    border: none;
}

.reveal-modal p {
    color: #000;
    font-size: 1em;
    margin-bottom: 1em;
}

.reveal-modal button, .reveal-modal .button {
    margin-bottom: 0;
}

.reveal-modal .close-reveal-modal {
    font-size: 30px;
}

.reveal-modal span.phone {
    border: 2px solid #c60f13;
    padding: 5px;
    margin-left: -7px;
    border-radius: 2px;
}

#detailDaeModal {
    left: 65%;
    width: 50%;
}

ul.pagination li.pagetext {
    color: #999
}

ul.pagination {
    height: 1.0em;
}

ul.pagination li a {
    min-width: 1.725em;
    text-align: center;
}

ul.fancytree-container {
    font-family: inherit;
    border: 1px solid #e6e6e6 !important;
    padding: 0 !important;
    /*outline: none;*/
}

.ui-fancytree .fancytree-container {

}

.ui-fancytree .fancytree-node {
    border: none;
    padding: 0.275em;
}

.ui-fancytree span.fancytree-checkbox {
    margin: 0.45em;
}

.ui-fancytree span.fancytree-expander {
    margin: 0.45em;
    margin-right: 0.125em;
}

.ui-fancytree .fancytree-icon {
    margin: 0.45em;
}

.ui-fancytree span.fancytree-title {
    font-size: 1.125em;
    padding: 0;
    padding-left: 0.5em;
    margin: 0;
}

span.fancytree-title:hover {
    border: 1px solid transparent !important;
}

.tree-panel .fancytree-ext-table {
    border: none !important;
}

.fancytree-ext-table ul {
    line-height: 1;
}

.fancytree-ext-table .button {
    font-size: 100%;
    padding: 3px 4px 3px 4px;
    background-color: transparent;
    color: #555;
    border-radius: 1px;
    margin-bottom: 0;
}

.fancytree-ext-table input {
    border: none;
    margin: 0 !important;
    padding: 0;
    height: 1.25em;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

table.fancytree-ext-table thead th {
    border-bottom: 1px solid #e0e0e0;
}

table.fancytree-ext-table tbody tr:hover {
    background-color: #CBE8F6;
}

table.fancytree-ext-table tbody tr:first-child td {
    border-top: none !important;
}

.fancytree-ext-table tr.even, .fancytree-ext-table tr.alt, .fancytree-ext-table tr:nth-of-type(even) {
    background-color: transparent;
}

table.fancytree-ext-table tbody tr td {
    height: 40px;
    border-right: none !important;
    border-left: none !important;
}

table.fancytree-ext-table tbody tr.fancytree-active {
    background-color: #F7F7F7;
    outline: none !important;
}

span.fancytree-childcounter, span.fancytree-groupcounter {
    color: #fff;
    position: absolute;
    background-color: #777;
    font-size: 12px;
    padding: 2px;
    min-width: 16px;
    margin-top: -10px;
    margin-left: -10px;
    height: 16px;
    line-height: 1;
    vertical-align: baseline;
    border-radius: 100%;
    text-align: center;
}

span.fancytree-groupcounter {
    margin-top: -2px;
    margin-left: 4px;
}

.white-popup {
    padding: 20px 0;
    text-align: left;
    position: relative;
    background: #FFF;
    max-width: 600px;
    margin: 0 auto;
}

.tree-panel, .drag-panel {
    background-color: #F5F5F5;
    padding-top: 15px;
}

.tree-panel label {
    font-size: 0.875em;
}

.tree-panel table tr th, .tree-panel table tr td {

}

.tree-header {
    padding: 0;
    border-bottom: 2px solid #e6e6e6;
}

.tree-header .button {
    margin-bottom: 0;
}

.tree-panel .tree-splitter {
    background-color: white;
}

.tree-panel .row, .drag-panel .row {
    margin-left: 0;
    margin-right: 0;
}

.tree-panel label.inline, .drag-panel label.inline {
    margin: 0 !important;
    cursor: default;
}

.drag-header {
    color: #333;
    padding: 0 0 6px 0;
    font-weight: bold;
    border-bottom: 2px solid #e6e6e6;
}

.drag-row, .drag-info {
    background-color: #ffffff;
    padding: 10px 0;
    margin-bottom: 1px !important;
}

.drag-row:hover {
    cursor: move;
    background-color: #E5F3FB;
    outline: 1px solid #70C0E7;
}

.drag-user {
    padding: 9px 14px;
    background-color: #fff;
    border: 1px solid #f3f3f3;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    pointer-events: none;
}

.drag-pagination {
    padding-top: 15px;
}

.preview-table {

}

.preview-table * {
    list-style: none;
    line-height: 1;
}

.preview-table .title {
    background-color: #F5F5F5;
    padding: .75em 0;
    text-align: center;
    font-weight: bold;
}

.preview-table .button {
    margin-bottom: 0;
}

.preview-table .item {
    padding: 0.75em;
    border-bottom: dotted 1px #ddd;
}

.preview-table .action {
    background-color: #f5f5f5;
    text-align: center;
}

.splitter_panel .vsplitter {
    z-index: 97 !important;
    background-color: #dfdfdf !important;
}

.splitter_panel .vsplitter:hover {
    background-color: #c6c6c6 !important;
}

.activity {
    margin-top: -30px;
    margin-left: -30px;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    -webkit-box-sizing: border-box;
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    border: solid 6px #777777;
    border-top-color: transparent;
}

.activity.secondary {
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: solid 4px #777777;
    border-top-color: transparent;
}

.loadingBar, .loadingBarBackground {
    height: 2px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #d2d2d2;
}
.loadingBar:before {
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 2px;
    animation: loading 2s linear infinite;
}
@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% {left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes spin {
    100% {
        -o-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Crea nuova emergenza, styles */
.areas li a {
    display: block;
    min-height: 40px;
    padding: 0.75em;
    color: #555;
    background-color: #ffffff;
    border: 1px solid #888;
    font-weight: bold;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.areas li a.selected {

    color: blue;
    border: 1px solid blue;
    position: relative;
}

.areas li a.selected:after {
    font-family: 'FontAwesome';
    content: "\f00c";
    position: absolute;
    right: 10px;
}

.groups li a {
    display: block;
    min-height: 140px;
    padding: 15px;
    color: white;
    background-color: #777;
    border: 2px solid transparent;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.groups li a.selected {
    border: 2px solid blue;
    position: relative;
}

.groups li a.selected:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 36px solid blue;
    border-left: 36px solid transparent;
}

.groups li a.selected:after {
    font-family: 'FontAwesome';
    content: "\f00c";
    position: absolute;
    bottom: 0;
    right: 3px;
}

.groups li .title {
    font-size: 1.5em;
    font-weight: bold;
    line-height: initial;
}

.users li a {
    display: block;
    min-height: 40px;
    padding: 0.75em;
    color: #888;
    background-color: #ffffff;
    border: 1px solid #888;
    font-weight: bold;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.users li a.selected {
    color: #fff;
    border: 1px solid #3caadc;
    position: relative;
    background: #3caadc;
}

.users li a.selected:after {
    font-family: 'FontAwesome';
    content: "\f00c";
    position: absolute;
    right: 10px;
}

#create-intervention-by-users .map-helper {
    height: 500px;
}

.module-panel {
    background-color: #F5F5F5;
    padding: 1em;
    margin-top: -1em;
}

.module-info {
    padding: 10px 0;
}

.modules > li > a {
    display: block;
    position: relative;
    min-height: 140px;
    padding: 15px;
    border: 1px solid transparent;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .12), 0 1px 6px 0 rgba(0, 0, 0, .12);
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .12), 0 1px 6px 0 rgba(0, 0, 0, .12);
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.modules > li > a.active {
    background-color: #fff;
}

.modules > li > a span.state {
    position: absolute;
    display: inline-block;
    top: 15px;
    right: 15px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
}

.modules > li > a span.state {
    background-color: #cccccc;
}

.modules > li > a span.state.active {
    background-color: #56B300;
}

.modules > li > a.selected {
    border: 1px solid #cccccc;
    position: relative;
}

.modules > li > a.selected:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 36px solid #cccccc;
    border-left: 36px solid transparent;
}

.modules > li > a.selected:after {
    font-family: 'FontAwesome';
    content: "\f00c";
    color: #ffffff;
    position: absolute;
    bottom: 0;
    right: 3px;
}

.modules > li > a > img {
    margin-right: 0.5em;
}

.modules > li .title {
    font-size: 1.5em;
    font-weight: bold;
}

.modules .button-group {
    margin-top: -29px;
    margin-left: 2px;
}

.modules .button-group a {
    background-color: transparent;
}

.image_picker_image {
    width: 32px;
}

/* Portlet fullscreen */
.portlet {
    margin-bottom: 15px;
    border-radius: 2px;
    border: 0;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .12), 0 1px 6px 0 rgba(0, 0, 0, .12);
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .12), 0 1px 6px 0 rgba(0, 0, 0, .12);
    background-color: #fff;
}

.portlet-actions {
    padding: 5px;
    min-height: 32px;
    text-align: right;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #f5f5f5;
}

.portlet-actions a {
    color: #333;
    padding: 5px 7px 5px 7px;
    display: inline-block;
}

.portlet-actions a:hover {
    color: #333;
    background-color: #f5f5f5;
}

.portlet-fullscreen {
    display: block;
    z-index: 1;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
}

.portlet-body {
    padding: 1em;
}

.portlet-bg {
    background-color: #f5f5f5;
}

.body-fullscreen {
    overflow: hidden;
}

ul.thumbnails.image_picker_selector li .thumbnail {
    cursor: pointer;
}

ul.thumbnails.image_picker_selector li .thumbnail.selected {
    background: #ffffff !important;
}

.select2-container {
    margin: 0 0 1em 0;
    font-size: 0.875em;
}

.select2-container--default .select2-selection--multiple {
    border-color: #ccc;
}

.select2-container .select2-selection--single {
    border: 1px solid #cccccc;
    border-radius: 0;
    height: 32px;
    outline: 0;
    position: relative;
    background: -moz-linear-gradient(top, #fff 0%, #f3f3f3 100%);
    background: -o-linear-gradient(top, #fff 0%, #f3f3f3 100%);
    background: -webkit-linear-gradient(top, #fff 0%, #f3f3f3 100%);
    background: linear-gradient(to bottom, #fff 0%, #f3f3f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#f3f3f3', GradientType=0);
}

.select2-container--default.select2-container--disabled.select2-container--focus .select2-selection--single {
    border: 1px solid #cccccc;
}
.select2-container--default.select2-container--disabled .select2-selection--single {
    background: #ddd none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 32px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 6px;
    padding-right: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    border: none;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 28px;
    height: 28px;
    background: none;
}

.select2-container.select2-container--open .select2-selection--single {
    border: 1px solid #999;
}

.select2-container .select2-selection--single:focus {
    border: 1px solid #999;
}

.select2-container.select2-container--open .select2-dropdown {
    border-color: #999;
}

.select2-container.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom: none;
    border-radius: 0;
    background-image: -webkit-linear-gradient(top, #f3f3f3 50%, #fff 100%);
    background-image: -o-linear-gradient(top, #f3f3f3 50%, #fff 100%);
    background-image: linear-gradient(to bottom, #f3f3f3 50%, #fff 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3f3f3', endColorstr='#FFFFFFFF', GradientType=0);
}

.select2-container--default .select2-selection--multiple {
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #999 1px;
    outline: 0;
    -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
    -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
}

.select2-container--default .select2-selection--multiple input[type="search"] {
    height: 1.625em;
    margin-bottom: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 2px;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

#mapSplitter {
    font-family: Lato, sans-serif !important;
}

.color_state_1, .color_state_-1 {
    color: #00cc66;
}

.color_state_0 {
    color: #ff3333;
}

label[for="only_feedback"], label[htmlfor="only_feedback"] {
    display: inline-block;
    vertical-align: baseline;
    margin-left: 0.5rem;
    margin-right: 1rem;
    margin-bottom: 0;
    color: #505050 !important;
}

.badge-service {
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #ff3333;
    text-align: center;

    position: absolute;
    vertical-align: middle;
    z-index: 1;
    height: 16px;
    min-width: 16px;
    line-height: 16px;
    margin-top: -6px;
    margin-left: -6px;
    border-radius: 50%;
}

.badge-service.users {
    background-color: #7c7c7c;
}

.label.green {
    background-color: #00cc66;
}

.fm.green {
    color: #00cc66;
}

.label.blue {
    background-color: #3caadc;
}

.fm.blue {
    color: #3caadc;
}

.label.red {
    background-color: #ff3333;
}

.fm.red {
    color: #ff3333;
}

.fm.grey {
    color: #d0d0d0;
}

.label.yellow {
    background-color: #f1c30d;
    vertical-align: middle;
}

.fm.yellow {
    color: #f1c30d;
    vertical-align: middle;
}

.label.green2 {
    background-color: #3bbfb2;
    vertical-align: middle;
}

.fm.green2 {
    color: #3bbfb2;
    vertical-align: middle;
}

.fm.black {
    color: #000000;
    vertical-align: middle;
}

.fm.secondary {
    color: #e9e9e9;
    vertical-align: middle;
}

.fm.secondary.blue {
    color: #3caadc !important;
}

.users.selectable, .users.not-selectable {
    font-size: 0.85em;
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    height: 55px;
}

.users.not-selectable .name {
    padding-left: 34px;
}

.users .status {
    font-size: 15px;
    text-transform: uppercase;
}

.arrow_user_intervention {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: top;
    background-repeat: no-repeat;
    background-image: url(/assets/fancytree/skin-win8-n/icons.gif);
    background-position: -16px -80px;
    margin-right: 5px;
}

.users.selectable.active .arrow_user_intervention {
    background-position: -32px -80px;
}

.users.selectable .services > div, .usersList .services > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.users.selectable .services > div.feedback, .usersList .services > div.feedback {
    border-left: 1px dotted #e9e9e9;
    padding-right: 1px;
    margin-left: auto;
}

.users.selectable .services .service_time {
    font-size: 0.85em;
    color: #505050;
}

.users.selectable .services .fm-2x, .usersList .services .fm-2x {
    font-size: 24px;
}

.users.selectable .fm-md {
    font-size: 18px;
}


.accordion-user {
    background-color: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    opacity: 0;
}
.accordion-user.show {
    opacity: 1;
    max-height: 800px;
    overflow-y: auto;
}
.accordion-user.padding {
    padding-left: 32px;
}

.feedback_detail {
    width: 100%;
    font-size: 0.85em;
    background-color: #fff;
    border-bottom: 1px dotted #eeeeee;
}
.feedback_detail .row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

.feedback_detail .button {
    background-color: #fff;
    padding: 2px;
    border: 2px solid #3caadc;
    width: 100%;
}

.feedback_detail span {
    padding: 4px;
}
.feedback_detail .button .fa {
    color: #909090;
    margin: 0 5px;
}
.feedback_detail .fm {
    font-size: 24px;
}
.feedback_detail .button:hover, .feedback_detail .button:focus {
    background-color: #fafafa;
}
.feedback_detail.feedback_1 .button {
    border-color: #00cc66;
}
.feedback_detail.feedback_0 .button {
    border-color: #ff3333;
}
.feedback_detail.feedback_null .button {
    border-color: #3caadc;
}
.feedback_detail .button.reply span.fm-2x {
    font-size: 24px;
    margin: 0 5px;
    vertical-align: middle;
}

.section-container.tabs > section > .title.disabled, .section-container.tabs > .section > .title.disabled {
    background-color: #e2e2e2;
    color: #868e96;
}

.section-container.tabs > section > .title.disabled a, .section-container.tabs > .section > .title.disabled a {
    cursor: default;
    color: #868e96;
}

.mfp-close {
    margin-top: 0.5em;
    margin-right: 0.85em;
    font-weight: 100;
    font-size: 5em;
    font-family: Lato, Arial, sans-serif;
}

.mfp-close:hover, .mfp-close:focus {
    background-color: transparent;
}

/**
button sort styles
 */
.sort.button.small {
    padding-right: 2.8125em;
}

.sort.button {
    position: relative;
    padding-right: 3.1875em;
}

.asc.button.small:before {
    border-color: transparent transparent #fff transparent;
}

.asc.button.small:before {
    border-width: 0.5625em;
    right: 1.125em;
    margin-top: -0.9em;
}

.asc.button:before {
    border-color: transparent transparent #fff transparent;
}

.asc.button:before {
    border-width: 0.5625em;
    right: 1.5em;
    margin-top: -0.7em;
}

.asc.button:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    top: 50%;
}

.desc.button.small:before {
    border-color: #fff transparent transparent transparent;
}

.desc.button.small:before {
    border-width: 0.5625em;
    right: 1.125em;
    margin-top: -0.21875em;
}

.desc.button:before {
    border-color: #fff transparent transparent transparent;
}

.desc.button:before {
    border-width: 0.5625em;
    right: 1.5em;
    margin-top: -0.25em;
}

.desc.button:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    top: 50%;
}

.top-bar-section .has-dropdown .dropdown li.has-dropdown > a:after {
    content: "";
    margin-top: -8px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid rgba(255,255,255,0.5);
}

.activeInterventionCounter {
    margin-left: 0.5em;
}

/**
* Groups available on intervention
*/
.momentum-row {
    min-height: 500px;
    max-height: 500px;
    overflow-y: scroll;
}
.momentum-modal {
    padding: 0;
    background-color: #f1f2f4;
}
.momentum-modal .group-header {
    margin: 40px 20px 20px 50px;
}
.momentum-row ul>li {
    padding: 1.5em 1em 0.5em 2em;
    border-bottom: 1px solid silver;
    border-right: 1px solid silver;
}
.momentum-row [class*="block-grid-"] {
    margin: 0;
}
.momentum-row ul>li>p {
    line-height: 12px;
}
.momentum-container {
    margin: 0;
}
.momentum-container.tabs>section>.content, .momentum-container.tabs>.section>.content {
    padding: 0;
    border: none;
    border-top: 1px solid silver;
    border-left: 1px solid silver;
}
.momentum-container.tabs {
    margin: 0;
}
#detailGroupsModal .section-container.tabs>section>.title, #detailGroupsModal .section-container.tabs>.section>.title {
    margin-left: 50px;
}
.button-groups {
    background-color: transparent;
    margin-top: 1em;
}
.button-groups.disabled {
    background-color: transparent;
}

/**
* Triage
*/

.triage {
    margin: 10em auto;
}

.triage .list {
    margin-top: 20px;
}

.triage .list .button {
    background-color: #fff;
    -webkit-box-shadow:inset 0 0 0 3px #3caadc;
    box-shadow:inset 0 0 0 3px #3caadc;
    color: #3caadc;
}

.triage .list .button:hover {
    -webkit-box-shadow: inset 0 0 0 3px #008bc4;
    box-shadow: inset 0 0 0 3px #008bc4;
    color: #008bc4;
}

.triage .simple_text {
    background-color: #3caadc;
    color : #fff;
    border-radius: 20px;
    font-size: 24px;
    padding: 50px;
    margin-bottom: 20px;
    font-weight: bold;
    font-style: italic;
}

.triage .multi_choice .title, .triage .action .title {
    -webkit-box-shadow:inset 0 0 0 3px rgba(60, 170, 220, 0.6);
    box-shadow:inset 0 0 0 3px rgba(60, 170, 220, 0.6);
    font-style: italic;
    padding: 40px;
    border-radius: 20px;
    font-size: 24px;
}

.triage .input_form input[type="text"] {
    border: none;
    box-shadow: none;
    border-bottom: 1px solid #3caadc;
    font-size: 20px;
}

.triage .button {
    border-radius: 50px;
    -webkit-box-shadow:inset 0 0 0 4px #3caadc;
    box-shadow:inset 0 0 0 4px #3caadc;
    font-size: 24px;
    color: #ffffff;
}

.triage .button[disabled]:hover {
    -webkit-box-shadow:inset 0 0 0 4px #2ba6cb;
    box-shadow:inset 0 0 0 4px #2ba6cb;
}

.triage .button:hover {
    -webkit-box-shadow:inset 0 0 0 4px #008bc4;
    box-shadow:inset 0 0 0 4px #008bc4;
    color: #ffffff;
}

.triage .button.reverse {
    background: transparent;
    color: #3caadc;
}

.triage .button.reverse:hover {
    background: #008bc4;
    color: #fff;
}

.triage .checkbox label {
    font-size: 1em;
}

.triage h4 {
    margin: 3em auto;
}
.triage .navigation {
    margin-top: 5em;
}

.triage .radiobox {
    background: #fff;
    border-radius: 10px;
    color: #3caadc;
    border: 3px solid #3caadc;
}

.triage li.disabled .radiobox {
    box-shadow: 3px 3px 4px #ddd;
}

.triage li.enabled .radiobox{
    background-color: rgba(20, 170, 220, 0.1);
}

.triage .radiobox input[type="radio"]/*, .triage .checkbox input[type="checkbox"]*/ {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px; margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* One radio button per line */
.triage .radiobox label {
    display: block;
    cursor: pointer;
    line-height: 2.5;
    font-size: 1.5em;
    padding: 50px;
    margin: 0;
}

.triage .radiobox input[type="radio"] + span/*, .triage .checkbox input[type="checkbox"] + span*/ {
    display: block;
}

/* the basic, unchecked style */
.triage .radiobox input[type="radio"] + span:before/*, .triage .checkbox input[type="checkbox"] + span:before*/ {
    /*content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.25em;
    border-radius: 1em;
    border: 0.125em solid #fff;
    box-shadow: 0 0 0 0.15em #000;
    margin-right: 0.75em;
    transition: 0.5s ease all;*/
    display: none;
}

/* the checked style using the :checked pseudo class */
.triage .radiobox input[type="radio"]:checked + span:before/*, .triage .checkbox input[type="checkbox"]:checked + span:before*/ {
    background: green;
    box-shadow: 0 0 0 0.25em #000;
}

.triage .radiobox input[type="radio"]:focus + span:after/*, .triage .checkbox input[type="checkbox"]:focus + span:after*/ {
    background-color: rgba(60, 170, 220, 0.1);
}

.triage.show-element {
    display: block !important;
}

/* never forget focus styling */
/*.triage .checkbox input[type="radio"]:focus + span:after {
    content: '\0020\2190';
    font-size: 1.5em;
    line-height: 1;
    vertical-align: -0.125em;
}*/

.label-dot-decoration {
    height: 0.8em;
    width: 0.8em;
    display: inline-block;
    border-radius: 50%;
    margin-right: 0.5em;
    vertical-align: text-bottom;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    line-height: 28px;
    margin-right: 10px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #5898FB;
}

input:focus + .slider {
    box-shadow: 0 0 1px #5898FB;
}

input:checked + .slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 28px;
}

.slider.round:before {
    border-radius: 50%;
}

.switchLabel {
    display: inline-block;
    line-height: 28px;
}

#userHistoryDistanceModal {
    border-radius: 5px;
    background-color: #ffffff;
    padding: 2em 0;
}

#userHistoryDistanceModal .title {
    padding:0 0 1em 0;
}

#userHistoryDistanceModal .momentum-container .labels{
    padding: 1em 0;
    background-color: #f5f5f5;
}

#userHistoryDistanceModal .momentum-container span.distance,
#userHistoryDistanceModal .momentum-container span.timestamp {
    font-size: 0.875em;
    color: #555555;
}

.select2-dropdown {
    z-index: 100;
}

.align-center {
    text-align: center;
}