﻿h4 {
    font-size: 1.1em;
    font-weight: 500;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}

.form-control,
.form-group .form-control::placeholder {
    font-size: 12px !important;
    line-height: 32px;
}

.btn {
    font-size: 13px;
}

.navbar {
    margin-bottom: 0px;
}

    .navbar a {
        color: #4B4B4B;
        font-size: 13px !important;
    }

.nav > .dropdown > a {
    font-weight: 600;
}

.table > thead > tr > th {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.btn:focus {
    outline: 0px;
    outline-offset: 0px;
}

.main {
    height: 100%; /* for IE to behave */
    margin-top: 60px;
    margin-bottom: 70px;
    padding-right: 0px;
    padding-left: 0px;
}

.viewContent {
    padding-left: 30px;
    padding-right: 30px;
    background-color: #eeeded !important;
}

.panel {
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24) !important;
    margin: 10px 0px;
    padding: 0px;
}

.footer {
    position: absolute;
    bottom: 0;
    padding-top: 20px;
    width: 100%;
    font-size: 0.85em;
    color: #607D8B;
    /* Set the fixed height of the footer here */
    height: 50px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}




/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
    min-width: 200px;
}


abbr[title] {
    border-bottom: 0 !important;
}

.ui-grid-pager-max-pages-number {
    vertical-align: central !important;
}

.modal-backdrop.am-fade {
    opacity: .5;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}


.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.selected-time {
    height: 100%;
    padding: 20px;
}


.ui-slider-horizontal {
    height: 8px;
    background: #D7D7D7;
    border: 1px solid #BABABA;
    box-shadow: 0 1px 0 #FFF, 0 1px 0 #CFCFCF inset;
    clear: both;
    margin: 8px 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
}

.ui-slider {
    position: relative;
    height: 2px;
    text-align: left;
}


.ui-slider-handle {
    background: #607D8B !important;
    border: 0px !important;
    top: -0.75em !important;
    box-shadow: none !important;
}

    .ui-slider-handle:after {
        display: none;
    }

.ui-slider-horizontal .ui-slider-range {
    top: -1px;
    left: 0px;
    height: 100%;
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    height: 8px;
    font-size: .7em;
    display: block;
    height: 2px !important;
    border-color: #607D8B;
    box-shadow: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    background: #607D8B;
}

.ui-slider .ui-slider-handle {
    border-radius: 50%;
    background: #F9FBFA;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #C7CED6), color-stop(100%, #F9FBFA));
    background-image: -webkit-linear-gradient(top, #C7CED6, #F9FBFA);
    background-image: -moz-linear-gradient(top, #C7CED6, #F9FBFA);
    background-image: -o-linear-gradient(top, #C7CED6, #F9FBFA);
    background-image: linear-gradient(top, #C7CED6, #F9FBFA);
    width: 22px;
    height: 22px;
    -webkit-box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.6), 0 -1px 0 1px rgba(0, 0, 0, 0.15) inset, 0 1px 0 1px rgba(255, 255, 255, 0.9) inset;
    -moz-box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.6), 0 -1px 0 1px rgba(0, 0, 0, 0.15) inset, 0 1px 0 1px rgba(255, 255, 255, 0.9) inset;
    box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.6), 0 -1px 0 1px rgba(0, 0, 0, 0.15) inset, 0 1px 0 1px rgba(255, 255, 255, 0.9) inset;
    -webkit-transition: box-shadow .3s;
    -moz-transition: box-shadow .3s;
    -o-transition: box-shadow .3s;
    transition: box-shadow .3s;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 22px;
    height: 22px;
    cursor: default;
    border: none;
    cursor: pointer;
}

    .ui-slider .ui-slider-handle:after {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        top: 50%;
        margin-top: -4px;
        left: 50%;
        margin-left: -4px;
        background: #30A2D2;
        -webkit-box-shadow: 0 1px 1px 1px rgba(22, 73, 163, 0.7) inset, 0 1px 0 0 #FFF;
        -moz-box-shadow: 0 1px 1px 1px rgba(22, 73, 163, 0.7) inset, 0 1px 0 0 white;
        box-shadow: 0 1px 1px 1px rgba(22, 73, 163, 0.7) inset, 0 1px 0 0 #FFF;
    }

.ui-slider-horizontal .ui-slider-handle {
    top: -.5em;
    margin-left: -.6em;
}

.ui-slider a:focus {
    outline: none;
}

.alert-danger {
    background-color: white !important;
    color: red !important;
    font-weight: bold;
}

.uib-tab {
    font-weight: bold;
}

.detailsPage {
    background-color: white;
}


.poiTitle {
    padding-top: 8px;
    font-weight: bold;
}

.backbutton {
    border-right: 1px solid #CCC !important;
    padding: 0px 30px;
}

#sessionsChart {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
}

#container {
    display: block;
    width: 100%;
    margin: 0;
}

.strechHeight {
    min-height: 100%;
}

#userActivity {
    min-height: 100%;
    width: 100%;
}

.tabset, .tab-content, .tab-pane, .tabbable {
    min-height: calc(100vh - 319px);
}



.poiActivitycontainer {
    min-height: 100%;
}

.map {
    min-height: 750px;
    height: calc(100vh - 550px);
}

.usertrackerMap {
    min-height: 750px;
    height: calc(100vh - 280px);
}

.userAtLocationView {
    min-height: calc(100vh - 280px);
}



.date-display {
    font-weight: normal !important;
}


.panel.panel-default > .panel-heading, .panel > .panel-heading {
    background-color: #ffffff;
    border-bottom: 1px solid #ccc;
}


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x- ng-cloak {
    display: none !important;
}

.site-header {
    background-color: #607D8B !important;
}


    .site-header .md-toolbar-tools h1,
    .site-header .md-toolbar-tools h2,
    .site-header .md-toolbar-tools h3,
    .site-header .md-toolbar-tools h4,
    .site-header .md-toolbar-tools label,
    .site-header .md-toolbar-tools {
        color: white !important;
    }

    .site-header > md-select {
        border-bottom-color: rgba(255,255,255,0.85) !important;
    }

    .site-header md-select-value {
        color: white !important;
        border-bottom-color: rgba(255,255,255,0.5) !important;
    }

    .site-header .md-select-placeholder {
        color: rgba(255,255,255,0.5) !important;
        border-bottom-color: rgba(255,255,255,0.5) !important;
    }

    .site-header .md-select-icon {
        color: white;
    }

.ui-grid-cell {
    border-left: 0px !important;
    border-right: 0px !important;
}

.ui-grid-header-cell {
    border-right: 0px;
    background-color: #fff;
    border-color: #fff;
}




/* SMART TABLES OVERRIDES
**************************************************/
table.smart-table {
    border: none;
    /*&.table-bordered { border-top: none; border-bottom: none;
        tfoot > tr > td { border: none; }
    }*/
}

th.md-cell {
    padding-left: 30px !important;
    font-weight: normal;
    color: #607D8B;
    text-transform: uppercase !important;
}

.md-cell {
    padding: 10px;
    padding-left: 30px !important;
    line-height: 42px;
}

    .md-cell > span {
        height: 42px;
        line-height: 42px;
    }

.md-numeric {
    padding-left: 0px !important;
    padding-right: 30px !important;
    text-align: right;
}

.pagination-footer select {
    display: inline !important;
}

.pagination-controls {
    display: inline-block;
}

.pagination-footer {
    align-items: center;
    border-top-color: rgba(0, 0, 0, 0.117647);
    border-top-style: solid;
    border-top-width: 0px;
    box-sizing: border-box;
    height: 57px;
    padding-bottom: 0px;
    color: #757575;
    margin: 0px 10px !important;
}


.pagination {
    align-items: center;
    box-sizing: border-box;
    height: 57px;
    display: inline;
    padding-bottom: 0px;
    color: #757575;
    margin: 0px !important;
}

.st-sort-ascent:after {
    font-family: 'Glyphicons Halflings';
    content: "\e113";
    float: right !important;
}



.st-sort-descent:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right !important;
}

footer > footer-content {
    min-height: 64px;
    padding: 0 16px 16px;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.54);
}

    footer > footer-content > div {
        margin-top: 1em;
    }

        footer > footer-content > div:not(:last-child) {
            margin-right: 24px;
        }

        footer > footer-content > div > *:not(span) + *:not(span) {
            margin-left: 24px;
        }

md-card {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: relative;
}


#loaderDiv {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    background-color: black;
    opacity: .6;
}


.spinner-animate {
    margin: 100px auto;
    position: absolute;
    margin-top: -60px;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 10px;
}

    .spinner-animate > div {
        background-color: #fff;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner-animate .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner-animate .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner-animate .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner-animate .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px; /* -1 * image width / 2 */
    margin-top: -32px; /* -1 * image height / 2 */
    display: block;
}



/* Sticky footer styles
-------------------------------------------------- */


.ngDatePick {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    background-color: transparent !important;
    padding-top: 7px !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
}

.datepicker-dropdown {
    background-color: white !important;
    border: 1px solid #607D8B !important;
    margin-top: -7px;
    padding-top: 0px !important;
    margin-top: -8px;
}

.fzn-date-picker .datepicker thead th {
    color: #607D8B !important;
    font-weight: normal;
}


.fzn-date-picker .datepicker .picker.active {
    background-color: white !important;
    font-weight: bolder;
    color: #607D8B !important;
    border-bottom: 2px solid #607D8B;
    border-radius: 0px;
}

.navbar-form > .form-group {
    margin-top: 0px;
    margin-bottom: 0px;
}

.panel-heading {
    padding: 0px 10px;
    min-height: 54px;
}

    .panel-heading h1,
    .panel-heading h2,
    .panel-heading h3,
    .panel-heading h4 {
        padding: 10px 0px;
        font-weight: 600 !important;
    }

.search > input {
    margin-top: 7px !important;
}



.radius {
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-top: 0px;
    top: 45px !important;
    left: 0px !important;
}


.form-group label {
    margin-top: 2px !important;
    font-size: 1em !important;
}

.radius .form-group {
    margin-top: 0px !important;
}

.form-control {
    padding-bottom: 0px !important;
}

.radius label {
    padding-top: 16px;
    font-weight: bolder;
}

.radius input {
    min-width: 170px !important;
    width: 170px !important;
    margin-top: 15px !important;
    margin-right: 7px !important;
    margin-left: 7px !important;
}

.control-label .glyphicon {
    padding: 0px 10px;
}


.panel-heading .navbar-form {
    display: inline;
}

.panel-body {
    padding: 0px;
}

.panel-heading > h4 {
    display: inline-block;
    font-weight: bolder;
    margin-left: 20px;
}

.togglePoiForm {
    background-color: white;
    padding: 10px;
    position: absolute;
    z-index: 2;
    float: right !important;
    right: 15px;
}

    .togglePoiForm input {
        width: auto;
        min-width: 0;
    }

    .togglePoiForm span {
        font-weight: bolder;
    }

.tabBtns button:focus,
.tabBtns button:hover,
.tabBtns button:active {
    background-color: rgb(252, 252, 252) !important;
}

.tabactive {
    border-bottom: 2px solid #607D8B !important;
}

.tabBtns {
    margin: 0;
    background-color: rgb(252, 252, 252);
}

    .tabBtns button {
        margin-bottom: 0px;
        margin-top: 0px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }




.followDeviceCell {
    min-width: 210px;
}


    .followDeviceCell .btn {
        margin-top: 0px;
        padding: 0px;
        margin-bottom: 0px;
        width: 20px;
        height: 20px;
        left: 50%;
        margin-left: -35px;
    }

.bottom-align-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
}

.deviceDetails .col-md-5,
.deviceDetails .col-md-7,
.deviceDetails .col-md-6 {
    padding: 10px 10px;
}

.medium-high-chart {
    height: 300px;
}

.small-high-chart {
    height: 200px;
}

#slider {
    display: inline-block;
    width: 300px;
    margin: 10px;
    margin-bottom: 2px;
}

.breadcrumb {
    background-color: white;
    margin: 0px 10px;
    display: inline-block;
    font-size: 1.1em;
}


.search {
    min-width: 440px;
}

    .search input {
        min-width: 400px;
    }

.modal-footer .btn {
    margin: 15px !important;
}

#surveyOverlay {
    position: absolute;
    left: 30px;
    top: 70px;
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }

        .row.equal .panel {
            height: calc(100% - 30px);
        }
}

.dropdown-menu {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
}