@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.ttf");
    font-weight: bold;
    font-style: bold;
}

*, .navigation-bar, input, .text-input, .textarea, input[type=email], input[type=password], .button, .button--quiet, .search-input, .modal__content {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif
}

*, p, h1, h2, h3, h4, h5, h6 {
    color: #717a8f
}

body {
    background-color: #f7f7f7
}

.hidden {
    display: none !important
}

.container-fluid {
    max-width: 1100px
}

.main-logo {
    max-width: 260px;
    display: block;
    margin: 20px auto
}

.notification-icon {
    width: 60px;
    float: right
}

.info-icon, .logout-icon, .refresh-icon {
    width: 60px;
    float: right;
    cursor: pointer
}

.update-icon {
    width: 60px;
    float: right;
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
    transition-property: transform;
    transition-duration: 1s
}

.update-icon-small {
    width: 30px
}

.update-icon-small2 {
    width: 30px;
    float: none
}

.update-icon:hover, .update-icon.updating {
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    animation-name: rotate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes rotate {
    from {
        -moz-transform: rotate(0deg)
    }
    to {
        -moz-transform: rotate(360deg)
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}

.row {
    margin: 30px 0 70px
}

.nomargin {
    margin: 0 0 0 !important
}

.single-box {
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    border-bottom: 2px solid #ccc
}

.single-box:hover {
    border-bottom: 2px solid #2574a9
}

.box-image {
    position: absolute;
    top: -35px;
    right: 30px;
    border: 6px solid #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px
}

table {
    width: 100%
}

table .col-big-cam {
    width: 76%
}

table .col-big {
    width: 76%;
    height: 57px
}

table .col-medium {
    width: 38%;
    height: 57px
}

table .col-small {
    width: 24%
}

table .stdheight {
    height: 57px
}

.eye-icon {
    display: block;
    width: 40px;
    margin: 13px auto
}

.eye-icon-info {
    display: block;
    width: 40px;
    margin: 13px 0
}

.back-icon {
    max-width: 50px;
    margin: 6px 0
}

.memoria-eventi-table {
    margin-bottom: 10px
}

.memoria-eventi-table tr th, .memoria-eventi-table tr td {
    padding: 6px 3px
}

.memoria-eventi-table .insert span, .memoria-eventi-table .alarm span, .memoria-eventi-table .action span, .memoria-eventi-table .tech-alarm span {
    float: left;
    width: 25px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    border-radius: 50%;
    display: block;
    color: #fff;
    text-align: center;
    margin: 2px auto;
    font-size: 0.8em;
}

.memoria-eventi-table .alarm span {
    background-color: #f22613
}

.memoria-eventi-table .tech-alarm span {
    background-color: #f89406
}

.memoria-eventi-table .insert span {
    background-color: #d2d7d3
}

.memoria-eventi-table .action span {
    background-color: #ffd700
}

button, .button {
    font-size: 11px;
    color: #fff;
    padding: 8px 12px;
    border-radius: 3px;
    background-color: #6496c8;
    border: none;
    margin-top: 10px
}

button:hover, button.hover, .button:hover, .button.hover {
    background-color: #346392;
    text-shadow: -1px 1px #27496d;
    color: #fff;
    text-decoration: none
}

button:active, button.active, .button:active, .button.active {
    background-color: #27496d;
    text-shadow: -1px 1px #193047
}

.bg-redout span, .bg-red span, .bg-green span, .bg-gray span, .bg-white span {
    background-color: #fff;
    color: #fff;
    border-radius: 20px;
    padding: 3px 6px
}

.bg-red span {
    background-color: #d10000
}

.bg-gray span {
    background-color: #d2d2d2
}

.bg-white span {
    color: #717a8f
}

.bg-redout span {
    color: #717a8f;
    border: 1px solid #d10000
}

.bg-green span {
    background-color: #3fc380
}

@media screen and (min-width: 480px) {
    .single-box {
        min-height: 250px
    }
}

@media screen and (max-width: 760px) {
    .header .col-sm-3 {
        text-align: center
    }

    .col-sm-4 {
        margin-top: 40px;
        margin-bottom: 40px
    }

    .box-image {
        top: -25px
    }
}

.login_form input {
    display: block;
    opacity: 1
}

.login_form .password-input {
    width: 100%;
    height: 50px;
    border: 2px solid #ccc;
    border-radius: 3px;
    outline: none
}

.login_form input[type="submit"] {
    width: 100%;
    height: 40px;
    border-radius: 3px;
    border: 2px solid #2574a9;
    background-color: #2574a9;
    color: #fff
}

#modalContainer {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    background-image: url(tp.png)
}

#alertBox {
    position: relative;
    width: 300px;
    min-height: 100px;
    margin-top: 50px;
    border: 1px solid #666;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 20px 30px
}

#modalContainer > #alertBox {
    position: fixed
}

#alertBox h1 {
    margin: 0;
    font: bold .9em verdana, arial;
    color: #FFF;
    background-color: #0075ac;
    border-bottom: 1px solid #000;
    padding: 2px 0 2px 5px
}

#alertBox p {
    font: 1.1em verdana, arial;
    height: 30px;
    color: #000;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px
}

#alertBox #closeBtn {
    display: block;
    position: relative;
    margin: 5px auto;
    padding: 7px;
    width: 70px;
    font: .7em verdana, arial;
    text-align: center;
    color: #FFF;
    background-color: #0075ac;
    text-decoration: none
}

.sw {
    display: inline-block;
    position: relative;
    top: 12px;
    width: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.sw-checkbox {
    display: none
}

.sw-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    border-radius: 20px
}

.swins-inner, .swon-inner, .swinc-inner {
    display: block;
    width: 200%;
    margin-left: -100%
}

.swins-inner:before, .swins-inner:after, .swon-inner:before, .swon-inner:after, .swinc-inner:before, .swinc-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box
}

.swins-inner:before, .swon-inner:before, .swinc-inner:before {
    padding-left: 5px;
    background-color: #87d37c;
    color: #fff
}

.swins-inner:after, .swon-inner:after, .swinc-inner:after {
    padding-right: 5px;
    background-color: #d2d2d2;
    color: #999;
    text-align: right
}

.swins-inner:before {
    content: "INS"
}

.swins-inner:after {
    content: "DIS"
}

.swon-inner:before {
    content: "ON"
}

.swon-inner:after {
    content: "OFF"
}

.swinc-inner:before {
    content: "INC"
}

.swinc-inner:after {
    content: "ESC"
}

.sw-switch {
    display: block;
    width: 18px;
    margin: 6px;
    height: 18px;
    background: #FFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    border: 0;
    border-radius: 18px
}

.sw-checkbox:checked + .sw-label .swins-inner, .sw-checkbox:checked + .sw-label .swon-inner, .sw-checkbox:checked + .sw-label .swinc-inner {
    margin-left: 0
}

.sw-checkbox:checked + .sw-label .sw-switch, .sw-checkbox:checked + .sw-label .sw-switch, .sw-checkbox:checked + .sw-label .sw-switch {
    right: 0
}

.chkArea {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: normal !important
}

.chkArea input {
    position: absolute;
    opacity: 0;
    cursor: pointer
}

.chkAreachk {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee
}

.chkArea:hover input ~ .chkAreachk {
    background-color: #ccc
}

.chkArea input:checked ~ .chkAreachk {
    background-color: #2196f3
}

.chkAreachk:after {
    content: "";
    position: absolute;
    display: none
}

.chkArea input:checked ~ .chkAreachk:after {
    display: block
}

.chkArea .chkAreachk:after {
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.lblArea {
    display: block;
    border: 0;
    border-radius: 20px;
    font-size: 14px;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    height: 30px;
    width: 60px;
    padding: 0;
    line-height: 30px
}

.lblArea-redout {
    background-color: #fff;
    color: #717a8f;
    border: 1px solid #d10000
}

.lblArea-red {
    background-color: #d10000;
    color: #fff;
    border: 0
}

.lblArea-green {
    background-color: #3fc380;
    color: #fff;
    border: 0
}

.lblArea-white {
    background-color: #fff;
    color: #717a8f;
    border: 0
}

.modal-header {
    background-color: #6496c8
}

.modal-title {
    color: #FFF
}

.modal-body {
    white-space: pre
}

.footer:before {
    content: " "
}
