﻿html,
body {
    background-color: #FFF;
}


.mtp-header {
    margin-bottom: -1px;
    z-index: 520;
}

    .mtp-header :active,
    .mtp-header :focus {
        outline: 0;
        border: 0;
    }

    .mtp-header .navbar-brand {
        font-family: "PT Sans Narrow";
        position: relative;
        z-index: 1051;
    }

        .mtp-header .navbar-brand img {
            margin-bottom: -45px;
            margin-top: -23px;
        }

    .mtp-header a.text-default {
        color: #FFF;
    }

.carousel {
    z-index: 510;
}

    .carousel .item {
        background-color: #777;
    }

    .carousel .carousel-inner {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

.carousel-inner > .item > img {
    min-width: 100%;
    height: auto;
}

.mtp-blockaccess {
    background-color: #FFF;
    outline: 1px solid #8D8D8D;
    z-index: 530;
}

    .mtp-blockaccess .text-justify {
        padding-left: 30px;
        padding-right: 30px;
    }

    .mtp-blockaccess .divider,
    .mtp-blockaccess .spacer {
        line-height: 10px;
    }

    .mtp-blockaccess .divider {
        border-bottom: 3px double #C6C6C6;
    }

    .mtp-blockaccess .btn-link {
        color: #989898;
    }

    .mtp-blockaccess .btn-default {
        border-radius: 0;
        text-transform: uppercase;
    }

    .mtp-blockaccess .mtp-buttonrow:nth-child(odd) .btn-link {
        padding-bottom: 0;
    }
    .mtp-blockaccess .mtp-buttonrow:nth-child(even) .btn-link {
        padding-top: 0;
    }

.mtp-privatenav a {
    text-transform: uppercase;
}

.btn-primary,
.btn-success,
.btn-danger{
    border-radius: 0;
    text-transform: uppercase;
    min-width: 125px;
    background-image: none;
}

.btn-wrappable {
    white-space: normal;
}

.underline {
    border-bottom: 1px solid #C6C6C6;
    padding-bottom: 5px;
}

.overline,
.buttonrow-overline {
    border-top: 1px solid #C6C6C6;
    padding-top: 5px;
}

.buttonrow,
.buttonrow-overline {
    margin-top: 15px;
    margin-bottom: 15px;
}

.mtp-btn-replacer {
    min-height: 36px;
}

.mtp-listadettaglio .overline {
    padding-bottom: 5px;
}

.mtp-listadettaglio dt {
    font-weight: normal;
}

.mtp-userstyle .mtp-messageheader {
    margin-bottom: -20px;
}

.mtp-pagetitle {
    color: #00458A;
}

.mtp-buttonspacer {
    padding-top: 20px;
    padding-bottom: 30px;
}

.mtp-pagetitle,
.mtp-privacy h4 {
    text-transform: uppercase;
}

.mtp-privacy {
    padding-top: 21px;
}

.mtp-devicedetail h3,
.mtp-devicedetail h4 {
    text-transform: uppercase;
}

.mtp-editform .form-group {
    margin-bottom: 0;
}

.mtp-devices-item strong {
    display: block;
}

.mtp-devices-item .thumbnail .list-group,
.mtp-devicedetail .mtp-devicesummary .list-group {
    margin-top: 5px;
}

.d-inline {
    display: inline;
}

.panel-body .table {
    border: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

    .panel-body .table th a {
        color: #00458a;
    }

    .panel-body .table th,
    .panel-body .table td {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

        .panel-body .table th:first-child,
        .panel-body .table td:first-child {
            border-left-width: 0;
        }

        .panel-body .table th:last-child,
        .panel-body .table td:last-child {
            border-right-width: 0;
        }

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}
.ml-2 {
    margin-left: 0.5rem;
}

.uppercase {
    text-transform: uppercase;
}

a.image-btn {
    text-decoration: none !important;
}

.device-commands {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    column-gap:0.5rem;
    row-gap:0.5rem;
}

    .device-commands .command-item {
        flex: 1;
    }

.spin-container-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(231,231,231,0.5);
    z-index: 1024;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .spin-container-overlay .spin-text {
        color: #777777;
    }

.d-block {
    display: block;
}

.fa-refresh.loader {
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.bg-success-block {
    background: none;
    background-color: green;
}

.bg-danger-block {
    background: none;
    background-color: red;
}

.d-flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-grow-1 {
    flex-grow: 1;
}

.h-100 {
    height: 100%;
}

@media (min-width: 992px) {
    .flex-row-md {
        flex-direction: row;
    }
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

#hlProfile {
    color: #999;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25)
}

    #hlProfile:hover {
        color: #FFF;
        text-decoration: none;
    }

.iti {
    width: 100% !important;
}

.bt-help {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 15px;
    line-height: 1.428571429;
    text-decoration: none !important;
    color: #999;
    /* border-radius: 4px; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .bt-help:hover, .bt-help:focus, bt-help:visited, bt-help:link {
        color: #999 !important;
    }

    .label-reset{
        margin-left:-15px;
    }