﻿

.mainlogo {
    background: white;
    padding: 0px;
    position: absolute;
    bottom: 0px;
    width: 188px;
    left: 50%;
    margin-left: -94px;
}
    .mainlogo > img {
        vertical-align: middle;
        float: left;
       
        padding-bottom: 10px;
    }

.header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 70px;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}
    .header > .header-logo {
        float: left;
        width: 350px;
    }

        .header > .header-logo > .logo {
            font-family: 'Oxygen', sans-serif;
            float: left;
            line-height: 70px;
            height: 70px;
            font-size: 24px;
            text-decoration: none;
            padding-left: 25px;
            color: #43455A;
        }

            .header > .header-logo > .logo:hover,
            .header > .header-logo > .logo:focus {
                text-decoration: none;
            }

    .header > .header-right {
        margin-left: 325px;
    }

        .header > .header-right > .profile-section {
            float: right;
            height: 70px;
            padding-right: 40px;
            line-height: 70px;
        }

            .header > .header-right > .profile-section .username-icon {
                color: #555;
                font-size: 14px;
            }

            .header > .header-right > .profile-section .username-text {
                margin-left: 7px;
                font-size: 14px;
            }

            .header > .header-right > .profile-section .actions {
                float: left;
                margin-left: 50px;
                font-size: 18px;
            }

                .header > .header-right > .profile-section .actions .action {
                    height: 70px;
                    width: 70px;
                    float: left;
                    color: #43455A;
                    position: relative;
                    text-align: center;
                    transition: background ease-in-out .15s;
                }

                    .header > .header-right > .profile-section .actions .action .counter {
                        position: absolute;
                        top: 14px;
                        right: 12px;
                        font-size: 9px;
                        background: #f49d12;
                        color: #fff;
                        padding: 3px 7px;
                        border-radius: 20px;
                        line-height: normal;
                        border: 2px solid #fff;
                    }

                    .header > .header-right > .profile-section .actions .action:hover {
                        background: #f5f5f5;
                        transition: background ease-in-out .15s;
                    }



/* sidebar */
.sidebar {
    font-family: 'Oxygen', sans-serif;
    position: fixed;
    top: 70px;
    bottom: 50px;
    left: 0;
    z-index: 10;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #43455A;
    width: 200px;
    color: #A4A5B7;
}

    .sidebar .clients-dropdown {
        margin: 20px 20px 0 20px;
    }

    .sidebar .clients-dropdown .dropdown-toggle {
        text-align: left; 
        width: 100%;
        border: none;
    }
    .sidebar .clients-dropdown .dropdown-toggle .caret {
        float: right; margin-top: 8px;
    }
    

ul.nav-sidebar {
    float: left;
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}

    ul.nav-sidebar > li {
        width: 100%;
        float: left;
        line-height: 16px;
    }

        ul.nav-sidebar > li > a {
            color: #d3d3d3;
            transition: 200ms all linear;
            padding: 15px 20px;
            width: 100%;
            float: left;
            text-decoration: none;
        }

            ul.nav-sidebar > li > a:hover {
                background-color: rgba(0, 0, 0, .4);
                transition: 100ms all linear;
                text-decoration: none;
                color: #fff;
                cursor: pointer;
            }

            ul.nav-sidebar > li > a > .counter {
                float: right;
                height: 16px;
                text-align: center;
                background: rgba(67, 69, 90, 0.38);
                border-radius: 3px;
                padding: 0 3px;
                font-size: 11px;
                color: #e0e0e0;
                min-width: 16px;
            }

            ul.nav-sidebar > li > a > .text {
                margin-top: 0;
                padding-left: 30px;
                background-repeat: no-repeat;
                background-position: left center;
                background-size: 16px;
            }

            ul.nav-sidebar > li > a > .text.clients {background-image: url('/images/menu-icons/clients.svg');}
            ul.nav-sidebar > li > a > .text.vehicles {background-image: url('/images/menu-icons/vehicles.svg');}
            ul.nav-sidebar > li > a > .text.drivers {background-image: url('/images/menu-icons/drivers.svg');}
            ul.nav-sidebar > li > a > .text.trips {background-image: url('/images/menu-icons/trips.svg');}
            ul.nav-sidebar > li > a > .text.map {background-image: url('/images/menu-icons/map.svg');}
            ul.nav-sidebar > li > a > .text.search {background-image: url('/images/menu-icons/search.svg');}
            ul.nav-sidebar > li > a > .text.api {background-image: url('/images/menu-icons/api.svg');}
            ul.nav-sidebar > li > a > .text.validation {background-image: url('/images/menu-icons/validation.svg');}
            ul.nav-sidebar > li > a > .text.locations {background-image: url('/images/menu-icons/locations.svg');}
            ul.nav-sidebar > li > a > .text.dashboard {background-image: url('/images/menu-icons/dashboard.svg');}

            ul.nav-sidebar > li > a[aria-expanded='true'],
            ul.nav-sidebar > li > a[aria-expanded='true']:hover,
            ul.nav-sidebar > li > a[aria-expanded='true']:focus,
            ul.nav-sidebar > li > a.active,
            ul.nav-sidebar > li > a.active:hover,
            ul.nav-sidebar > li > a.active:focus {
                color: #fff;
                background-color: #f49d12;
                border-right: 5px solid #e4900a;
                padding-right: 15px;
            }


.main-content {
    padding: 0px;
    position: absolute;
    top: 0px;
    right: 0;
    left: 0px;
    bottom: 0px;
}

.main-content > .row:last-child {
    margin-bottom: 40px;
}

.footer {
    position: fixed;
    bottom: 0;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 25px;
    text-align: center;
    background: #43455a;
    font-size: 0.9em;
    height: 50px;
    width: 200px;
    border-top: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
    line-height: 50px;
}
    .footer a {
        color: rgba(255, 255, 255, 0.3);
        text-decoration: underline;
    }
    

.fullscreen-map {
    position: absolute; left: 0; right: 0; bottom: 0px; top: 0;
}

.map-toolbar {
    position: absolute; z-index: 1; top: 20px; right: 20px; background: #fff; padding: 15px; border-radius: 2px; box-shadow: 1px 2px 3px rgba(0,0,0,.1);
}

.map-sidebar {
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 10px;
    bottom: 100px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 2px;
    box-shadow: 1px 2px 3px rgba(0,0,0,.1);
    width: 450px;
    overflow-y: scroll;
}