﻿* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    position: relative;
    height: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, Tahoma, sans-serif;
    background: rgba(0,104,175,0.05);
    color: #93969a;
    font-size: 13px;
    font-kerning: auto;
}

    body.blue {
        background-color: #1b456d;
        color: #b9d5ee;
    }

/* ================================== ELEMENTS =============================================== */

#container {
    position: relative;
    min-height: 100%;
    background: #f1f5f8;
    background: #e3e7eb;
}

#sidebar {
    background: #1b456d;
    color: #fff;
    width: 250px;
    position: absolute;
    bottom: 0;
    top: 0;
    box-sizing: border-box;
    padding: 40px;
}

    #sidebar ul.menu {
        margin: 40px 0 0 0;
        padding: 0;
        list-style: none;
    }

        #sidebar ul.menu li {
            display: block;
            text-transform: uppercase;
            color: #5682b2;
            font-weight: bold;
        }

            #sidebar ul.menu li ul {
                margin: 10px 0 40px 0;
                padding: 0;
                position: relative;
            }

                #sidebar ul.menu li ul li {
                    position: relative;
                }

                    #sidebar ul.menu li ul li .icon24 {
                        position: absolute;
                        top: 50%;
                        left: 10px;
                        transform: translate(0, -50%);
                        -webkit-transform: translate(0, -50%);
                        -moz-transform: translate(0, -50%);
                        -ms-transform: translate(0, -50%);
                        transition: all .3s;
                    }

            #sidebar ul.menu li a {
                display: block;
                text-decoration: none;
                color: #fff;
                box-sizing: border-box;
                padding: 15px 0 15px 60px;
                transition: all .2s;
                border-radius: 5px;
                -moz-border-radius: 5px;
                -webkit-border-radius: 5px;
                position: relative;
            }

                #sidebar ul.menu li a:after {
                    position: absolute;
                    top: 0;
                    left: 46px;
                    width: 1px;
                    height: 100%;
                    content: '';
                    background: #1b456d;
                }

                #sidebar ul.menu li a:hover {
                    background: #285583;
                }

                #sidebar ul.menu li a:hover .icon24 {
                    background-position-y: -56px;
                }

    #sidebar .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #285583;
        width: 250px;
        box-sizing: border-box;
        padding: 0;
        font-size: 11px;
        color: #12aaeb;
    }

        #sidebar .footer .halfFill {
            width: 50%;
            float: left;
            font-size: 15px;
            text-align: center;
            display: block;
            color: #12aaeb;
            border-radius: 0;
            -mox-border-radius: 0;
            -webkit-border-radius: 0;
            border: none;
            padding: 15px 0;
            box-sizing: border-box;
        }

            #sidebar .footer .halfFill:hover, #sidebar .footer .halfFill:focus {
                color: #fff;
                background: #12aaeb;
            }

.changelog {
    position: relative;
}

    .changelog.app {
        float: left;
        width: 44%;
        padding: 0 3%;
    }

    .changelog.web {
        float: right;
        width: 44%;
        padding: 0 3%;
    }

    .changelog .container {
        background: white;
        border-radius: 10px;
        box-sizing: border-box;
        padding: 40px;
        text-align: left;
        color: #92acb6;
    }

    .changelog h2 {
        font-size: 30px;
        color: #395b77;
        text-align: center;
        margin-bottom: 80px;
        position: relative;
    }

        .changelog h2:after {
            position: absolute;
            bottom: -20px;
            left: 50%;
            width: 60px;
            height: 2px;
            content: '';
            margin-left: -30px;
            background: #12aaeb;
        }

    .changelog h4 {
        color: #395b77;
        font-size: 17px;
    }

        .changelog h4 span {
            font-size: 12px;
            display: block;
            color: #92acb6;
            font-weight: normal;
        }

#content {
    padding: 40px 40px 0 40px;
    padding-left: 290px;
    box-sizing: border-box;
}

.head {
    height: 85px;
    margin: -40px -40px 0 -40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
    box-sizing: border-box;
    padding: 28px 40px;
}

    #sidebar .head {
        background: #285583;
        font-weight: normal;
    }

    #content .head {
        background: #fff;
        color: #395b77;
        font-weight: normal;
        margin-bottom: 40px;
        position: relative;
        z-index: 999;
    }

        #content .head a.backButton {
            display: inline-block;
            position: relative;
            bottom: -5px;
            margin-right: 20px;
        }

        #content .head .TopActions {
            position: absolute;
            top: 20px;
            right: 40px;
            vertical-align: top;
        }

            #content .head .TopActions > * {
                float: left;
                margin-left: 20px;
            }

        #content .head .TopActions a {
            display: inline-block;
        }

#centeredColumn {
    width: 450px;
    text-align: center;
    margin: 0px auto;
}

    #centeredColumn .appName {
        margin: 40px 0;
        display: inline-block;
    }

    #centeredColumn a {
        color: #12aeef;
        text-decoration: none;
        transition: all .3s;
    }

    #centeredColumn a:hover {
        color: #fff;
    }

ul.simpleDotted {
    background-image: url(../images/spaced_pixel.png);
    background-repeat: repeat-x;
    background-position: top left;
}

    ul.simpleDotted li {
        position: relative;
        background-image: url(../images/spaced_pixel.png);
        background-repeat: repeat-x;
        background-position: bototm left;
        padding: 20px;
        box-sizing: border-box;
    }

        ul.simpleDotted li .circle {
            background-color: #12aaeb;
            position: absolute;
            top: 0;
            left: 0;
        }

ul.list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    ul.list li {
        box-sizing: border-box;
    }

    ul.list.sensors {
        text-transform: uppercase;
        color: #95acbc;
        font-weight: 700;
    }

        ul.list.sensors li {
            position: relative;
            padding: 10px;
            transition: all .2s;
            border-radius: 5px;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            z-index: 50;
            border: 1px solid transparent;
        }

            ul.list.sensors li:hover {
                background: #f3f4f6;
                z-index: 51;
            }

        ul.list.sensors .actions {
            box-sizing: border-box;
            padding: 10px;
            display: none;
            position: absolute;
            top: 3px;
            right: 3px;
            background: inherit;
        }

            ul.list.sensors .actions a {
                width: 16px;
                height: 16px;
                background-color: #c8d3dc;
                display: inline-block;
                padding: 5px;
                transition: all .3s;
            }

                ul.list.sensors .actions a:hover {
                    background-color: #12aaeb;
                }

        ul.list.sensors li:hover .actions {
            display: block;
        }

        ul.list.sensors strong {
            font-size: 19px;
            color: #395b77;
            transition: all .2s;
        }

        ul.list.sensors li:hover strong {
            color: #12aaeb;
        }

    ul.list.sensorTiles {

    }

    ul.list.sensorTiles .ds_icon64,
    ul.list.sensorTiles .ds_icon32 {
        background-color: #d6dfe6;
        position: absolute;
        top: 50%;
        left: 0px;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        -moz-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
    }

    ul.list.sensorTiles li {
        width: 33%;
        min-width: 200px;
        float: left;
        position: relative;
        display: inline-block;
        padding: 20px 20px 20px 60px;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        text-align: left;
        text-transform: uppercase;
        font-weight: 900;
        color: #5e7a9b;
    }

        ul.list.sensorTiles li:before {
            position: absolute;
            top: 20px;
            bottom: 20px;
            left: 45px;
            width: 2px;
            content: '';
            background-color: #d6dfe6;
        }

        ul.list.sensorTiles li strong {
            color: #17a4ec;
            font-size: 20px;
            font-weight: 900;
        }

        ul.list.sensorTiles li .light {
            color: #c6cfd7;
            font-size: 12px;
            font-weight: bold;
        }

ul.tiles {

}

    ul.tiles li {
        display: inline-block;
    }

    ul.tiles.sensors li {
        width: 120px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        background-color: #f1f5f8;
        text-align: left;
        padding: 40px 20px 20px 20px;
        position: relative;
        margin: 0 10px 10px 0;
    }

        ul.tiles.sensors li strong.value {
            color: #395b77;
            letter-spacing: -1px;
            font-size: 20px;
        }

        ul.tiles.sensors li:before {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            height: 5px;
            border-radius: 5px;
            content: '';
            background: #8fc351;
        }

        ul.tiles.sensors li .ds_icon32 {
            position: absolute;
            bottom: 10px;
            right: 10px;
        }

ul.footBar {
    border-top: 1px solid #e1e8ec;
    background: #f1f5f8;
    margin: 0 -40px -40px -40px;
}

    ul.footBar li {
        display: inline-block;
    }

        ul.footBar li a {
            display: inline-block;
            padding: 20px;
            text-align: center;
            text-transform: uppercase;
            font-weight: 900;
        }

ul.lightGrey {
    margin: 0;
    padding: 0;
    list-style: none;
    background-image: url(../images/spaced_pixel.png);
    background-position: bottom left;
    background-repeat: repeat-x;
    padding-bottom: 7px;
}

    ul.lightGrey li {
        display: block;
        background-image: url(../images/spaced_pixel.png);
        background-repeat: repeat-x;
        background-position: top left;
        box-sizing: border-box;
        padding: 10px 0;
        position: relative;
    }

        ul.lightGrey li strong {
            color: #395b77;
            font-size: 14px;
        }

        ul.lightGrey li .actions {
            position: absolute;
            bottom: 10px;
            right: 0;
        }

/* ================================== TABS =============================================== */

ul.tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    background: #fff;
}

.blue ul.tabs {
    background: #285583;
}

    ul.tabs li {
        display: inline-block;
        text-align: center;
        position: relative;
        margin: 0;
        padding: 0;
        font-size: 14px;
        box-sizing: border-box;
    }

        ul.tabs.t2 li {
            width: 49%;
        }

        ul.tabs li a {
            color: #cfd9e0;
            font-weight: bold;
            text-transform: uppercase;
            display: inline-block;
            box-sizing: border-box;
            padding: 20px;
        }

            ul.tabs li a.active {
                border-bottom: 3px solid #12aaeb;
                color: #12aaeb;
            }

/* ================================== COLUMNS =============================================== */

.column {
    position: relative;
    box-sizing: border-box;
}

    .column.withRightPadding {
        padding-right: 40px;
    }

    .column.withLeftPadding {
        padding-left: 40px;
    }

    .column.w66 {
        width: 67%;
    }

    .column.w33 {
        width: 33%;
    }

    .column.w50 {
        width: 50%;
    }

    .column.w75 {
        width: 75%;
    }

    .column.w25 {
        width: 25%;
    }

    .column.left {
        float: left;
    }

    .column.right {
        float: right;
    }

/* ================================== WINDOWS =============================================== */

.window {
    position: relative;
    padding: 40px;
    margin-bottom: 40px;
}

    .window.absolute {
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0;
    }

    .window .sideInfo {
        position: absolute;
        top: 40px;
        bottom: 40px;
        right: 0px;
        width: 30%;
        background-color: #f8f9fa;
        box-sizing: border-box;
        padding: 20px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
    }

    .window.full {
        padding: 0;
    }

    .window.white {
        background: #fff;
    }

    .window.grey {
        background: #f1f5f8;
    }

    .window.blue {
        background: #1b456d;
    }

    .window h2 {
        font-size: 27px;
        font-weight: 700;
        margin: 0 0 40px 0;
    }

        .window h2 span {
            display: block;
            padding-top: 1px;
            font-size: 14px;
            font-weight: 700;
        }

    /*.window h2 {
        font-size: 27px;
        font-weight: 700;
        margin: 0 0 40px 0;
    }

        .window h2 span {
            display: block;
            padding-top: 1px;
            font-size: 14px;
            font-weight: 700;
        }*/

    .window h4 {
        font-size: 19px;
        font-weight: 700;
    }

        .window h4 span {
            font-size: 14px;
            display: block;
            font-weight: 700;
        }

    .window.white h2, .window.white h4 {
        color: #395b77;
    }

        .window.white h2 span, .window.white h4 span {
            color: #12aaeb;
        }

.actionBar {
    text-align: right;
}

/* ================================== SLIDEIN + OVERLAY =============================================== */

.pageOverlay {
    background: rgba(11,31,56,0.75);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 999;
}

.slideIn {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 50%;
    right: -50%;
    z-index: 1000;
    background: #ffcc00;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    padding: 0 40px;
    border-left: 5px solid #0087e2;
}

    .slideIn .scrollable {
        overflow-y: scroll;
        position: absolute;
        top: 100px;
        bottom: 0;
        left: 40px;
        right: 0;
    }

    .slideIn h4 {
        font-size: 27px;
        font-weight: 700;
        color: #395b77;
    }

        .slideIn h4 span {
            display: block;
            padding-top: 1px;
            font-size: 15px;
            font-weight: 700;
            color: #12aaeb;
        }

    .slideIn .closeSlideIn {
        width: 85px;
        height: 85px;
        background: #0087e2;
        color: #fff;
        position: absolute;
        top: 0;
        left: -85px !important;
        font-size: 40px;
        text-decoration: none;
        text-align: center;
        line-height: 86px;
        overflow: hidden;
        transition: all .2s;
    }

        .slideIn .closeSlideIn:hover {
            background: #16a1ff;
        }

/* ================================== BOXES =============================================== */

.box {
    position: relative;
    box-sizing: border-box;
    padding: 40px;
    text-align: left;
}

    .box.rounded {
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
    }

    .box.white {
        background-color: #fff;
        color: #92acb6;
    }

    .box h2 {
        text-align: center;
        font-size: 27px;
        text-transform: uppercase;
        margin: 0 0 60px 0;
    }
        
        .box h2 span {
            display: block;
            font-size: 14px;
        }

    .box.white h2 {
        color: #395b77;
    }

        .box.white h2 span {
            color: #219dd0;
        }

    .box.white h4 {
        color: #395b77;
        font-size: 17px;
    }

        .box.white h4 span {
            font-size: 12px;
            display: block;
            color: #92acb6;
            font-weight: normal;
        }

/* ================================== TABLES =============================================== */

table.flat {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    width: 100%;
}

    table.flat tr td {
        text-align: left;
    }

    table.flat tr th {
        background: red;
    }

ul.cleanTiles table.flat tr td:first-child {
    padding-right: 20px;
    width: 100px;
}

ul.changelogList {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.changelogList li {
        border-left: 1px solid #92acb6;
        padding-left: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
        position: relative;
    }

        ul.changelogList li:after {
            position: absolute;
            top: 6px;
            left: -6.5px;
            width: 10px;
            height: 10px;
            content: '';
            border: 1px solid #92acb6;
            border-radius: 50%;
            background: white;
        }

/* ================================== SHARED =============================================== */

a {
    color: #12aaeb;
    text-decoration: none;
}

a:focus {
    outline: none !important;
}

a img {
    border: none;
}

#calendar h2 {
    font-size: 15px;
}

.lightBlue {
    color: #12aaeb !important;
}

p.header {
    color: #c9d3dd;
    text-transform: uppercase;
    font-weight: bold;
}

strong.green {
    color: #8fc351;
}

p.header strong {
    color: #597a96;
    font-size: 19px;
    font-weight: 900;
}

    p.header strong.big {
        font-size: 27px;
    }

ul.sensorIcons li {
    display: inline-block;
    margin: 0 10px 10px 0;
}

ul.sensorIcons li a {
    display: inline-block;
    background-color: #f1f5f8;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    transition: all .5s;
}

    ul.sensorIcons li a:hover, ul.sensorIcons li a.active {
        background-color: #16a1ff;
    }

    ul.sensorIcons li .ds_icon32 {
        transition: all .5s;
    }

    ul.sensorIcons li a:hover .ds_icon32, ul.sensorIcons li a.active .ds_icon32 {
        background-position-y: -160px;
    }

ul.cleanTiles {
    display: block;
    margin-right: -20px;
}

    ul.cleanTiles li {
        background-color: #fff;
        padding: 20px;
        display: inline-block;
        margin: 0 20px 20px 0;
    }

        ul.cleanTiles li.inactive {
            background-color: rgba(255,255,255,0.5);
        }

            ul.cleanTiles li.inactive .shape-map {
                opacity: 0.5;
                filter: alpha(opacity=50);
            }

.big {
    font-size: 19px;
}

.bigger {
    font-size: 27px;
}

.blue {
    color: #12aaeb;
}

    .head .bigger {
        display: block;
    }

    .head .blue {
        text-transform: uppercase;
        font-weight: bold;
    }

.appName {
    font-size: 27px;
}

    body.blue .appName {
        color: #fff;
    }

.circle {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.alignLeft {
    text-align: left !important;
}

.alignRight {
    text-align: right !important;
}

.alignCenter {
    text-align: center !important;
}

.profile-picture {
    display: inline-block;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    overflow: hidden;
    position: relative;
}

    .profile-picture img {
        display: inline-block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

.shape-map, .route-map {
    display: inline-block;
}

.human-distance {
    color: #889bac;
    font-weight: bold;
}

.human-distance .distance-value {
    font-size: 27px;
    display: inline-block;
    margin-right: 5px;
}

.roundedTop {
    border-top-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    overflow: hidden;
    margin: -20px -20px 0 -20px;
    position: relative;
}

    .roundedTop .whiteShader {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        bottom: 0;
        background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 3%, rgba(255,255,255,1) 80%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,1) 80%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,1) 80%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    }

.footer .profile-picture {
    border: 5px solid #285583;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transition: all .2s;
}

    .footer .profile-picture:hover {
        border-color: #12aaeb;
    }

.rounded {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.spacer {
    display: block;
    clear: both;
}

.counter {
    font-size: 27px;
    color: #395b77;
    font-weight: bold;
}

.dottedLeft {
    background-image: url(../images/spaced_pixel.png);
    background-repeat: repeat-y;
    background-position: top left;
}

.dottedRight {
    background-image: url(../images/spaced_pixel.png);
    background-repeat: repeat-y;
    background-position: top right;
}

.dottedTop {
    background-image: url(../images/spaced_pixel.png);
    background-repeat: repeat-x;
    background-position: top left;
}

.dottedBottom {
    background-image: url(../images/spaced_pixel.png);
    background-repeat: repeat-x;
    background-position: bottom left;
}

    ul.cleanTiles .dottedTop {
        padding-top: 10px;
    }

.capitalized {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    color: #c7d2dc;
}

.hidden {
    margin: 0;
    padding: 0;
    display: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.devicePhotoCrop {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    background: #f1f5f8;
}

    .devicePhotoCrop img {
        position: absolute;
        display: block;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    .devicePhotoCrop .error {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        background: #e74c3c;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
    }

#mapFilters {
    box-sizing: border-box;
    padding: 20px;
}

/* =================================== DROP-DOWN-MENU =============================================== */

.dropDownMenu {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
}

    .dropDownMenu a.expand {
        text-align: center;
        line-height: 24px;
        display: block;
        width: 24px;
        height: 24px;
        position: absolute;
        top: -12px;
        left: 0;
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        background-color: #0087e2;
        color: #fff;
    }

    .dropDownMenu ul {
        display: none;
        background-color: #0087e2;
        color: #fff;
        box-sizing: border-box;
        padding: 20px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

        .dropDownMenu ul li {
            display: block;
        }

            .dropDownMenu ul li a {
                display: block;
                padding: 5px 10px;
                color: #fff;
                text-transform: uppercase;
                font-weight: bold;
                border-radius: 5px;
                -moz-border-radius: 5px;
                -webkit-border-radius: 5px;
            }

                .dropDownMenu ul li a:hover {
                    background-color: rgba(0,0,0,0.15);
                    background-color: #16a1ff;
                }

    .dropDownMenu:hover {
        z-index: 999;
    }

    .dropDownMenu:hover ul {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }

/* =================================== FLASH =============================================== */
#flash {
    box-sizing: border-box;
    padding: 20px 40px;
    color: #fff;
    margin: -40px -40px 40px -40px;
}

    #flash.message {
        background-color: #8fc351;
    }

    #flash.error {
        background-color: #e74c3c;
    }

    .slideIn #flash {
        margin: 0 0 40px 0;
    }

#flash a {
    display: inline-block;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: rgba(255,255,255,0.75);
    padding: 10px;
    transition: all .3s;
}

    #flash a:hover {
        background-color: rgba(255,255,255,1);
    }

.validation-summary-errors {
    background: #f1f5f8;
    margin-bottom: 20px;
    margin-left: -40px;
    padding: 10px 0 10px 40px;
    border-left: 3px solid #e74c3c;
    position: relative;
}

    .slideIn .validation-summary-errors {
        margin-left: 0;
    }

    .validation-summary-errors:before {
        position: absolute;
        top: -12px;
        left: -14px;
        width: 24px;
        height: 24px;
        background: red;
        color: #fff;
        content: '!';
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        text-align: center;
        font-size: 20px;
        line-height: 24px;
        font-weight: 900;
    }

/* ================================== BUTTONS =============================================== */
a.button {
    display: inline-block;
    border: 1px solid #12aaeb;
    padding: 10px 20px;
    text-decoration: none;
    color: #12aaeb;
    text-align: center;
}

    a.button:hover, a.button.active {
        background: #16a1ff;
        border-color: #16a1ff;
        color: #fff;
    }

    a.button.withIcon24 {
        padding-left: 64px;
        position: relative;
    }

        a.button.withIcon24 .icon24 {
            position: absolute;
            top: 5px;
            left: 10px;
            transition: all .3s;
        }

        a.button.withIcon24:hover .icon24, a.button.active .icon24 {
            background-position-y: -32px;
        }

    a.button.blue {
        background: #0087e2;
        color: #fff !important;
        display: inline-block;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        font-size: 14px;
        transition: all .3s;
    }

        a.button.blue:hover {
            background: #16a1ff;
        }

    .button.full {
        width: 100%;
    }

/* =================================== GOOGLE MAP INFO WINDOW =======================================*/

/*style the box*/
.gm-style .gm-style-iw {

}

    .gm-style .gm-style-iw  h4 {
        color: #395b77;
        font-size: 20px;
        margin: 20px 0 0 0;
    }

    .gm-style .gm-style-iw .icon16 {
        position: relative;
        margin-right: 10px;
        bottom: -3px;
    }

    .gm-style .gm-style-iw strong {
        color: #12aaeb;
    }


/* ================================== ICONS =============================================== */
.icon24 {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(../images/sprites.png);
    background-repeat: no-repeat;
    position: relative;
}

    .icon24.dashboard {
        background-position: 0px -32px;
    }

    .icon24.alert {
        background-position: -24px -32px;
    }

    .icon24.account {
        background-position: -48px -32px;
    }

    .icon24.shout {
        background-position: -72px -32px;
    }

    .icon24.logout {
        background-position: -96px -32px;
    }

    .icon24.menu {
        background-position: -120px -32px;
    }

    .icon24.boat {
        background-position: -168px -32px;
    }

    .icon24.polygon {
        background-position: -216px -32px;
    }

    .icon24.worldLocation {
        background-position: -240px -32px;
    }

    .icon24.markers {
        background-position: -264px -32px;
    }

    .icon24.mapMarker {
        background-position: -288px -32px;
    }

    .icon24.mapEdit {
        background-position: -312px -32px;
    }

    .icon24.back {
        background-position: -336px -32px;
    }

        .icon24.back.blue {
            background-position: -336px -56px;
        }

    .icon24.filter {
        background-position: -192px -32px;
    }

        .icon24.filter.blue {
            background-position: -192px -56px;
        }

.icon16 {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/sprites.png);
    background-repeat: no-repeat;
    position: relative;
}

    .icon16.edit {
        background-position: 0px 0px;
    }

        .icon16.edit.blue {
            background-position: 0px -16px;
        }

    .icon16.marker {
        background-position: -16px 0px;
    }

        .icon16.marker.blue {
            background-position: -16px -16px;
        }

    .icon16.timer {
        background-position: -32px 0px;
    }

        .icon16.timer.blue {
            background-position: -32px -16px;
        }

    .icon16.bell {
        background-position: -48px 0px;
    }

        .icon16.bell.blue {
            background-position: -48px -16px;
        }

    .icon16.bell.inactive {
        background-position: -64px 0px;
    }

        .icon16.bell.blue.inactive {
            background-position: -64px -16px;
        }

        .icon16.bell.masked {
            background-position: -80px 0px;
            background-color: #94a8ba;
        }

        .icon16.bell.masked.active {

        }

            .icon16.bell.masked.inactive {
                background-position: -96px 0px;
            }


/* ================================== ICONS DeviceSensors =============================================== */
.r40 {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    position: relative;
}

.r50 {
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    position: relative;
}

.r40 .ds_icon32,
.r50 .ds_icon32 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.ds_icon32 {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(../images/sensors-sprites.png);
    background-repeat: no-repeat;
    background-position: 0 -128px;
    position: relative;
}

    .ds_icon32.red {
        background-color: red;
    }

    .ds_icon32.water {
        background-position: -32px -128px;
    }

    .ds_icon32.temperature {
        background-position: -64px -128px;
    }

    .ds_icon32.engine {
        background-position: -96px -128px;
    }

    .ds_icon32.light {
        background-position: -128px -128px;
    }

    .ds_icon32.door {
        background-position: -160px -128px;
    }

    .ds_icon32.white {
        background-position-y: -160px;
    }

    .ds_icon32.grey {
        background-position-y: -192px;
    }

.ds_icon64 {
    display: inline-block;
    width: 64px;
    height: 64px;
    background-image: url(../images/sensors-sprites.png);
    background-repeat: no-repeat;
    position: relative;
    background-position: 0 0;
}

    .ds_icon64.water {
        background-position: -64px 0;
    }

    .ds_icon64.temperature {
        background-position: -128px 0;
    }

    .ds_icon64.engine {
        background-position: -192px 0;
    }

    .ds_icon64.light {
        background-position: -256px 0;
    }

    .ds_icon64.door {
        background-position: -320px 0;
    }

    .ds_icon64.white {
        background-position-y: -64px;
    }

/*========================================================= PROGRESS BAR ====================================*/

.progressBar {
    display: block;
    width: 100%;
    height: 5px;
    line-height: 1px;
    font-size: 1px;
    background: #fff;
    position: relative;
}

    .progressBar .progress {
        display: block;
        width: 0%;
        background: #285583;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
    }

/* ================================== FORMS =============================================== */

form {
    margin: 0;
    padding: 0;
}

    .TopActions form {
        display: inline-block;
    }

form input[type="text"],
form input[type="email"],
form input[type="password"],
textarea,
select {
    border: 1px solid #E1E6EF;
    box-sizing: border-box;
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #395b77;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all .3s;
}

    form input[type="text"]:focus,
    form input[type="email"]:focus,
    form input[type="password"]:focus,
    textarea:focus,
    select:focus {
        border-color: #0088e3;
        outline: none !important;
    }

    form.full input[type="text"],
    form.full input[type="email"],
    form.full input[type="password"],
    form.full textarea,
    form.full select,
    form.full input[type="submit"],
    form.full button {
        width: 100%;
    }

form button, form input[type="submit"] {
    border: none;
    display: inline-block;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #0088e3;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #0088e3;
    transition: all .3s;
}

    form button.facebook {
        background: #3a5897;
        color: #fff;
    }

        form button.facebook:hover,
        form button.facebook:active {
            background: #4467b0;
        }

    form button.blue, form input[type="submit"].blue {
        background: #0087e2;
        color: #fff;
    }

        form button.blue:hover,
        form button.blue:focus,
        form input[type="submit"].blue:hover,
        form input[type="submit"].blue:focus {
            background: #16a1ff;
            border: 1px solid #16a1ff;
        }

input.input-validation-error,
select.input-validation-error {
    border-color: #e74c3c !important;
}

form label {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 400;
    color: #95acbc;
}

form#logoutForm button.logout {
    width: 50px;
    height: 50px;
    background: #c8d3dc;
    border: none;
    transition: all .2s;
}

    form#logoutForm button.logout:hover, form#logoutForm button.logout:focus {
        background-color: #12aaeb;
    }

/*========================================================= SWITCHES ====================================*/

.switchContainer {
    display: inline-block;
    margin: 0 40px 10px 0;
}

    .switchContainer label.visible {
        display: inline-block;
        margin-left: 5px;
        cursor: pointer;
    }

        .switchContainer label.visible strong {
            font-size: 15px;
            color: #395b77;
            transition: all .5s;
        }

        .switchContainer label.visible:hover strong {
            color: #0087E2;
        }

.onoffswitch {
    display: inline-block;
    position: relative;
    width: 50px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 24px;
    padding: 0;
    line-height: 24px;
    border: 2px solid #E3E3E3;
    border-radius: 24px;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease-in;
}

    .onoffswitch-label:before {
        content: "";
        display: block;
        width: 24px;
        margin: 0px;
        background: #FFFFFF;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 24px;
        border: 2px solid #E3E3E3;
        border-radius: 24px;
        transition: all 0.3s ease-in 0s;
    }

.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #0087E2;
}

    .onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
        border-color: #0087E2;
    }

        .onoffswitch-checkbox:checked + .onoffswitch-label:before {
            right: 0px;
        }

/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    box-sizing: border-box;
    padding-left: 60px;
    margin-bottom: 10px;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

    .switch .label {
        display: inline-block;
        margin-left: 10px;
        min-width: 200px;
    }

        .switch .label strong {
            font-size: 17px;
            color: #395b77;
            transition: all .5s;
        }

        .switch .label:hover strong {
            color: #0087e2;
        }

/* 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: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #0087e2;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
    -moz-border-radius: 34px;
    -webkit-border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
    }

/* =============================================== MAPS =========================================== */
#mapContainer {
    position: relative;
    margin: -125px -40px 0 -40px;
    height: 100vh;
    box-sizing: border-box;
    padding-top: 85px;
}

    #mapContainer .shader {
        position: absolute;
        top: 0;
        left: 0px;
        bottom: 0;
        width: 10px;
        background: rgba(0,0,0,0.15);
        background: -moz-linear-gradient(left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 90%);
        background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,0,0,0.15)), color-stop(90%, rgba(0,0,0,0)));
        background: -webkit-linear-gradient(left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 90%);
        background: -o-linear-gradient(left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 90%);
        background: -ms-linear-gradient(left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 90%);
        background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 90%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=1 );
    }

#mapDevicesLocations {
    width: 100%;
    height: 100%;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.10);
}

#map.editShape {
    height: 500px;
    margin: 0 -40px -40px -40px;
}

/* =============================================== PLACEHOLDERS =========================================== */

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #95acbc;
    font-weight: normal;
    font-style: italic;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #95acbc;
    font-weight: normal;
    font-style: italic;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #95acbc;
    font-weight: normal;
    font-style: italic;
}

:-moz-placeholder { /* Firefox 18- */
    color: #95acbc;
    font-weight: normal;
    font-style: italic;
}

.toggleSideMenu {
    display: none;
}

/* ============================================= RESPONSIVE =========================================== */

@media screen and (max-width: 1024px) {
    .column {
        width: 100% !important;
        float: unset;
    }

    .withRightPadding {
        padding-right: 0 !important;
    }
}

@media screen and (max-width:800px) {

    .toggleSideMenu {
        display: inline-block;
        position: relative;
        margin-top: -5px;
        margin-right: 20px;
        bottom: -5px;
    }

    #sidebar {
        width: 100%;
        position: relative;
        padding-bottom: 20px;
        z-index: 999;
    }

        #sidebar .head {
            padding-left: 20px;
        }

        #sidebar .head .bigger {
            display: inline-block;
        }

        #sidebar ul.menu {
            display: none;
            margin: 0 -20px -20px -20px;
            padding: 10px 0 0 0;
        }

        #sidebar .footer {
            all: initial;
            width: 50px;
            height: 50px;
            position: absolute;
            top: 30px;
            right: 20px;
        }

    #content {
        padding: 20px 20px 0 20px !important;
    }

        #content .head {
            margin: -40px -20px 20px -20px;
            padding: 28px 20px;
        }

            #content .head .bigger {
                margin-top: -5px;
            }

            #content .head .actions {
                position: absolute;
                top: 20px;
                right: 0;
                display: block;
            }

    #content .head .TopActions {
        right: 20px;
        top: 10px;
    }

    .window {
        margin-bottom: 20px;
        padding: 30px;
    }

    .box {
        padding: 30px;
    }

    .head {
        height: 60px;
        padding: 20px !important;
    }

    #centeredColumn {
        width: 90%;
    }

    #mapContainer {
        margin: -140px -20px 0px -20px;
        padding-top: 120px;
    }

        #mapContainer .shader {
            display: none;
        }

    .footer .profile-picture {
        width: 40px !important;
        height: 40px !important;
    }

    .footer .profile-picture img {
        width: 100% !important;
    }

    .halfFill {
        display: none !important;
    }

    .bigger {
        font-size: 21px;
    }

    .slideIn {
        width: 100%;
        right: -100%;
        border-left: 80px solid transparent;
    }

    #flash {
        padding: 20px;
        margin: -20px -20px 20px -20px;
    }

    .validation-summary-errors {
        margin-left: -30px;
        padding-left: 30px;
    }

    #map.editShape {
        height: 500px;
        margin: 0 -30px -30px -30px;
    }

    ul.footBar {
        margin: 0 -30px -30px -30px;
    }
}