/* no margin padding of the body */

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-y: hidden;
    overflow-x: none;
    font-size: 14px;
    font-family: "CircularPro", Verdana, Arial, sans-serif;
}

#mapContainer {
    will-change: width; 
    transition: width 0.3s 0s cubic-bezier(.4,0,.2,1);
}

.btn-flat {
    font-size: 14px;
    font-family: "CircularPro", Verdana, Arial, sans-serif;
}

p,
form p {
    margin:0;
    padding: 0;
}

/* don't show border around linked image */

a img {
    border: 0;
}

.button.material-icons {
    font-family: 'Material Icons';
    font-size: 24px;
}

button.btn:hover,
button.mdc-icon-button:focus {
    background-color: transparent;
}

.container-flex {
    display: flex;
}

.container-flex > * {
    margin-right: 8px;
}

.container-flex > *:last-child {
    margin-right: 0;
}

.container--wid888 {
    max-width: 888px;
    margin: 0 auto;
}
body .ui-widget {
    font-size: 12px;
}


/* */
.body15 {
    font-weight: 600;
    font-family: "CircularPro", sans-serif;
    letter-spacing: 0.15px;
    font-size: 15px;
    color: #212121;
    max-width: 60%;
    height: 20px;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 auto 0 0;
}



/* jQuery-UI styled message, icon accompanying a message */

.jqMsg {
    padding: 0.7em;
    margin: 5px 0;
}

.jqMsg .ui-icon {
    float: left;
    margin-right: 0.3em;
}

.buttons {
    width: 50%;
    margin: auto;
    font-weight: bold;
    font-size: larger;
}

.buttons input {
    margin: 1em 1em 0em 0em;
}

.buttons input[name=save] {
    float: right;
}

.buttons input[name=cancel] {
    float: left;
}

#mainContainer {
    position: absolute;
    top: 64px;
}

/* APPBAR **/

.mdc-top-app-bar__section {
    width: 50%;
}

.mdc-top-app-bar.lightBlue {
    flex-direction: row;
    background: #00b0ff;
}

.mdc-top-app-bar .mdc-top-app-bar__title {
    font-size: 20px;
}

.archiv #appbar {
    background-color: #00b0ff;
}

.events #appbar {
    background-color: #ff3d00;
}
.settings #appbar {
    background-color: #546E7A;
}

.settings-container {
    box-sizing: border-box;
    z-index: 1;
    box-shadow: rgba(0,0,0,0.14) 0px 2px 4px 0px, rgba(0,0,0,0.12) 0px 4px 5px 0px, rgba(0,0,0,0.2) 0px 1px 10px 0px;
}

.tagColorBar {
    border-left: 4px solid currentColor;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

#navigation-drawer .mdc-drawer__header {
    background: #fff;
    font-family: 'CircularPro', sans-serif;
    font-weight: 100;
    padding: 0px 16px 16px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

#navigation-drawer + .scrum {
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top:0;
    display: none;
    z-index: 5;
    cursor: pointer;
}

#navigation-drawer.expanded + .scrum { display: block };

.mdc-drawer__header .mdc-drawer__title {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.26px;
    color: #212121;
    font-weight: 500;
}

.mdc-drawer__header .mdc-drawer__subtitle {
    font-size: 14px;
    color: #757575;
    letter-spacing: 0.24px;
    line-height: 20px;
}

#accountName {
    margin-top: 4px;
}

#customerNumber {
    margin-bottom: 4px;
}

#btn-openProfileOptions .mdc-list-item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: #212121;
    font-weight: 400;
    text-decoration: none;
}

#navigation-drawer {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 6;
    height: 100vh;
    width: 320px;
    margin:0;
    background: #fff;

    box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12);

    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);

    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform,-webkit-transform;

    -webkit-transition-timing-function: cubic-bezier(.4,0,.2,1);
    -o-transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

#navigation-drawer.expanded {
    margin-top: 0;
    height: 100%;
    height: 100vh;

    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition-duration: 250ms;
    -o-transition-duration: 250ms;
    transition-duration: 250ms;
    display: block;
    overflow-y:auto;
}

/* NAVIGATION MENU */

#navigation {
    z-index: 1;
    position: relative;
    padding: 10px 8px;
    margin: 0;
}

#navigation li,
#navigation li a {
    margin: 0;
    padding: 0;
}

#navigation li {
    display: flex;
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 4px;
    font-family: 'CircularPro', sans-serif;
    border: none;
    text-decoration: none;
}

#navigation li.spacer {
    border-bottom: 1px solid #cbcbcb;
    position: absolute;
    left: 0;
}

#navigation li.spacer + li {
    margin-top: 9px;
}

#navigation li a {
    text-decoration: none;
    font-weight: 600;
    padding: 0 10px;
    width: 100%;
    display: flex;
    border-radius: 4px;
    font-size: 16px;
    padding: 12px;
    font-weight: 400;
    color: #212121;
}

#navigation li a:hover {
    text-decoration: underline;
}

#navigation li.ui-state-active {
    border-top: 0;
    border-bottom: 0;
    border-radius: 4px;
}

#navigation li.ui-state-active a {
    color: #343434;
    font-weight: normal;
}

#navigation li.ui-state-highlight {
    border: none;
}

#navigation li.ui-state-highlight a {
    color: white;
}

#navigation li.ui-state-active .icon-new {
    display: none;
}

#navigation li.ui-state-active {
    background-color: rgba(0,176,255,0.15);
}

#navigation li.ui-state-active a {
    color: #00b0ff;
}

#navigation li:hover:not(.ui-state-active) a {
    background-color: rgba(0,0,0,0.06);
    text-decoration: none;
}


/* right-hand toolbox container */

#toolboxContainer {
    border-width: 0;
    float: right;
    overflow-y: hidden;
    overflow-x: hidden;
    /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);*/
    position: relative;
    z-index: 0;
    box-sizing: border-box;


    display: flex;
    flex-direction: column;

    justify-content: flex-start; /* align items in Main Axis */
    align-items: stretch; /* align items in Cross Axis */
    align-content: stretch;

}

.navContainerWidth {
    width: 375px;
}

/* buttons for the map */

#map_controls {
    z-index: 1 !important;
    padding: 17px 20px 0px 0px;
    border: 0;
}

#map_controls.ui-widget-content {
    background: none;
}

#map_controls .ui-button-text {
    font-weight: 600;
}

#map_controls .dropdownContent {
    display: none;
    font-family: CircularPro, Verdana, Arial, sans-serif;
    width: 288px;
    border-radius: 4px;
    top: 15px;
    right: 15px;
    text-align: left;
    font-weight: 600;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#map_controls .dropdownElement {
    padding: 12px 10px;
}

#map_controls .dropdownElement:first-child {
    margin-top: 10px;
}

#map_controls .dropdownElement:last-child {
    margin-bottom: 10px;
}

#map_controls .dropdownElement:hover {
    background-color: #F5F5F5;
    cursor: pointer;
}

#map_controls.dropdownElement.active {
    color: #3d8ce3;
}

.map_controls .dropdownElement.disabled:hover {
    color: LightGrey;
    background-color: white;
    cursor: default;
}

#map_controls .dropdownElement>.dropdownText {
    display: inline-block;
    position: relative;
    top: -6px;
    color: #424242;
    text-decoration: none;
    font-size: 11pt;
}

#map_controls .dropdownElement>.dropdownIcon {
    display: inline-block;
    position: relative;
    margin-right: 15px;
    margin-left: 7px;
    color: #424242;
    text-decoration: none;
    font-size: 18pt;
}

#map_controls .dropdownElement>.dropdownIcon.disabled {
    visibility: hidden;
}

#map_controls .dropdownLine {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0.5px solid rgb(245, 245, 245);
}

.map_control_btn {
    float: left;
    margin-left: 8px;
}

.map_control_btn button:hover {
    background: #fff;
}

.map_control_btn button:focus {
    outline: none;
    background: #fff;
}

.map_control_btn button i {
    position: relative;
    font-size: 18pt;
    color: #616161;
}

.map_control_btn button:hover i {
    color: #424242;
}

.map_control_btn .roundBtn {
    border: none !important;
    border-radius: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
}

.map_control_btn .squareBtn {
    border: none !important;
    border-radius: 0%;
    width: 40px;
    height: 40px;
}

.map_control_btn .material-icons.map_search {
    top: 2px;
    right: 4px;
}

.map_control_btn .material-icons.map_full {
    top: 1px;
    right: 5px;
}

.map_control_btn .material-icons.map_show_more_controls {
    top: 1px;
    right: 5px;
}

.map_control_btn .material-icons.map_show_client_location {
    top: 2px;
    right: 4px;
}

#map_show_client_location_btn {
    top: 28px !important;
    margin-left: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    border-radius: 2px;
}

.map_control_btn .material-icons.map_show_device_list {
    top: 2px;
    right: 0.24em;
}

.map_control_btn .material-icons.map_show_device_list.hidden {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
}

#map_show_device_list_btn {
    border: none !important;
    border-radius: 40px 0 0 40px;
    background: #fff !important;
    box-shadow: rgb(0, 0, 0) 0px 1px 5px;
    width: 40px;
    height: 40px;
    right: -2px;
}

.mapSearchDialog .ui-dialog-title {
    font-size: 12pt;
}

/* the big square in the middle that contains the form
   has "relative" so that child elements can be absolute
   positioned within */

#login {
    position: relative;
}

#login p {
    margin-top: 0px;
}

.control {
    height: 27px;
    position: relative;
}

.control input[type=text], .control input[type=password], .control input[type=submit], .control select {
    position: absolute;
    right: 0px;
}

/* make the header text a bit smaller than jQuery-ui norm */

.ui-widget-header h3 {
    line-height: 0;
    font-size: 10pt;
    padding-left: 1em;
    padding-right: 1em;
}

.ui-widget-overlay {
    background: #000 !important;
    opacity: .8 !important;
}

/* this div's width is controlled by each page's CSS */

#poweredBy {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0 0 5px 0;
    margin: 0;
    font-size: smaller;
    text-align: center;
    z-index: 1;
}

p.success {
    color: #00cc00;
}

p.error {
    color: #cc0000;
}

#logo {
    cursor: pointer;
}

#boag_logo {
    padding: 10px 10px 5px 5px;
}

#boag_logo img {
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    height: 40px;
    border: 1px solid #cbcbcb;
}

#deviceList .live {
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 16px 12px 0;
    height: auto;
    min-height: 40px;
}

#deviceList .status .fg {
    background-image: url(../images/status/icons_white_20x20.png) !important;
}

.ui-datepicker .ui-state-disabled .ui-state-default {
    color: #343434;
    font-weight: normal;
}

.ui-datepicker .ui-state-highlight .ui-state-default {
    background-color: transparent;
}

.ui-datepicker .ui-state-default {
    font-weight: 600 !important;
}

/* Google Map Controlssettings HACK */

.gm-style-mtc {
    border: 1px solid #e3e3e3;
}

.gm-style-mtc * {
    color: #3d8ce3 !important;
}

.gm-style-mtc>div {
    padding: 7px !important;
}

.gm-bundled-control-on-bottom {
    margin-bottom: 25px !important;
    margin-left: 10px !important;
}

.gm-svpc {
    top: 25px !important;
}

.boag-cpicker {
    background-color: white;
}

.boag-cpicker .sp-palette-container {
    border: 0;
}

.boag-cpicker .sp-palette-button-container button, .boag-cpicker .sp-button-container button {
    border: 1px solid #cbcbcb;
    background-color: #fff;
    color: #3d8ce3;
    background-image: none;
    margin-top: 5px;
}

.boag-cpicker .sp-palette-button-container button:hover, .boag-cpicker .sp-button-container button:hover {
    background-color: #e3e3e3;
}

.boag-cpicker-replace {
    padding: 0;
    border: 0;
}

.boag-cpicker-replace .sp-preview {
    padding: 0;
    margin: 0;
}

.boag-cpicker-replace .sp-dd {
    display: none;
}

.boagButton {
    background-color: #fff !important;
    color: #3d8ce3 !important;
}

.liveButtonGroup .toggleButton {
    font-family: "CircularPro", sans-serif;
    margin-bottom: 8px;
    /*margin-right: 8px;*/
    border-radius: 4px;
    padding: 6px 12px 7px 12px;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
}


.liveButtonGroup .toggleButton .ui-button-text {
    margin-top: 4px;
    color: #757575;
}
.liveButtonGroup .toggleButton.ui-state-focus {
    color: #C2C2C2 !important;
    background-color: transparent;
}

.liveButtonGroup .toggleButton.ui-state-active,
.liveButtonGroup .toggleButton:hover {
    border: 1px solid #00b0ff;
    color: #00B0FF !important;
    background-color: rgba(0,176,255,0.15);
}

.boagButton:hover {
    background-color: #3d8ce3 !important;
    color: #fff !important;
}

.boagButton.ui-state-active {
    background-color: #3d8ce3 !important;
    color: #fff !important;
}

.boagButton.ui-state-disabled {
    background-color: #ccc !important;
    color: #888 !important;
}

.boagButton.flat,
.boagButton.flat.ui-state-default {
    border: none;
    font-size: 14px;
    color: #00b0ff !important;
    letter-spacing: 1.25px;
    padding: 6px 12px 7px 12px;
    font-weight: 400;
    font-family: "CircularPro", sans-serif;;
    background-color: transparent;
}

.boagButton.flat:hover,
.boagButton.flat.ui-state-hover {
    background-color:rgba(0,176,255,0.15) !important; 
}


#deviceList,
#tourDiv {
    /*padding-bottom: 34px;*/
    max-height: calc(100% - px); 
    overflow-y: auto;
    will-change: scroll-position;
}

/*.dialogCloseButton{
  background-color: #fff;
}

.dialogCloseButton:hover{
  background-color: #3d8ce3;
  background-image: url('images/ui-icons_ffffff_256x240.png');
}*/

.mdc-text-field-helper-text,
.row .mdc-text-field-helper-text {
    opacity: 1;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

@font-face {
    font-family: "CircularPro";
    src: url("fonts/CircularPro-Book.woff2") format("woff2"), url("fonts/CircularPro-Book.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "CircularPro";
    src: url("fonts/CircularPro-BookItalic.woff2") format("woff2"), url("fonts/CircularPro-BookItalic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "CircularPro";
    src: url("fonts/CircularPro-Medium.woff2") format("woff2"), url("fonts/CircularPro-Medium.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "CircularPro";
    src: url("fonts/CircularPro-MediumItalic.woff2") format("woff2"), url("fonts/CircularPro-MediumItalic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "CircularPro";
    src: url("fonts/CircularPro-Bold.woff2") format("woff2"), url("fonts/CircularPro-Bold.woff") format("woff");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "CircularPro";
    src: url("fonts/CircularPro-BoldItalic.woff2") format("woff2"), url("fonts/CircularPro-BoldItalic.woff") format("woff");
    font-weight: 900;
    font-style: italic;
}



.typo--h1 {
    font-size: 96px;
    letter-spacing: -1.55px;
    line-height: 115px;
    font-weight: 900;
}

.typo--h2 {
    font-size: 60px;
    letter-spacing: -0.53px;
    line-height: 72px;
    font-weight: 100;
}

.typo--h3 {
    font-size: 48px;
    letter-spacing: 0;
    line-height: 57px;
    font-weight: 100;
}

.typo--h4 {
    font-size: 34px;
    letter-spacing: 0.24px;
    line-height: 40px;
    font-weight: 100;
}

.typo--h5 {
    font-size: 24px;
    letter-spacing: 0;
    line-height: 29px;
    font-weight: 100;
}

.typo--h6 {
    font-size: 20px;
    letter-spacing: 0.26px;
    line-height: 24px;
    font-weight: 700;
}

.typo--body1 {
    font-size: 16px;
    letter-spacing: 0.49px;
    line-height: 28px;
    font-weight: 100;
}

.typo--body2 {
    font-size: 14px;
    letter-spacing: 0.24px;
    line-height: 20px;
    font-weight: 100;
}

.typo--subtitle1 {
    font-size: 16px;
    letter-spacing: 0.15px;
    line-height: 19px;
    font-weight: 100;
}

.typo--subtitle2 {
    font-size: 14px;
    letter-spacing: 0.24px;
    line-height: 20px;
    font-weight: 100;
}

.typo--button {
    font-size: 14px;
    letter-spacing: 1.25px;
    line-height: 17px;
    font-weight: 700;
}

.typo--caption {
    font-size: 12px;
    letter-spacing: 0.4px;
    line-height: 14px;
    font-weight: 100;
}

.typo--overline {
    font-size: 12px;
    letter-spacing: 1.88px;
    line-height: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.md {
    font-weight: 600;
}

.col--grey900 { color: #212121; }
.col--grey700 { color: #757575; }
.col--grey600 { color: #999; }
.col--green { color: rgb(0, 153, 0);}

#btn-show-notifications.unread {
    transform-origin: center center;
    animation-name: ring;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes ring
{
    0% { transform: rotate(0deg) }
    5% { transform: rotate(45deg) }
    15% { transform: rotate(-40deg) }
    25% { transform: rotate(20deg) }
    35% { transform: rotate(-15deg) }
    45% { transform: rotate(10deg) }
    55% { transform: rotate(-5deg) }
    60% { transform: rotate(0deg) }
    100% { transform: rotate(0deg) }
}


/** CSS for Reseller **/
.branding {
    width: 80px;
    display: flex;
    margin: 0 auto;
    margin-top: 16px;
}

#appSelection {
    width: 320px;
    font-family: "CircularPro", Verdana, Arial, sans-serif;
}

.app__container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 16px;
}

.app__footer {
    border-top: 1px solid #e0e0e0;
}

.app__footer a {
    text-decoration: none;
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app__footer a:hover {
    color: #212121;
    background-color: #fbfbfb;
}

.app__container__item {
    text-align: center;
    display: flex;
    flex-flow: column;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    width: 72px;
    margin: 8px 4px;
}

.app__container__item:hover {
    background-color: #fbfbfb;
}


.app__container__item > img,
.app__container__item > span {
    margin: 0 auto;
    text-align: center;
}

.app__container .app__container__item > img {
    width: 32px;
    height: 32px;

}

.app__container .app__container__item:hover > img {
    transform: scale(1.1);
}

.mdc-banner {
    padding: 0;
    height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1;
    position: relative;
    justify-content: space-between;
    transition: all .3s 4s ease-in-out;
}

.mdc-banner.show {
    height: 32px;
    padding: 10px 24px;
}

.mdc-banner > .mdc-button {
    margin-right: 0;
}


.map__context-menu {
    position: absolute;
    background-color: #fff;
    z-index: 1;
    width: 254px;
    border-radius: 4px;
    padding: 8px 0px;
    color: #212121;
    font-size: 16px;
    display: none;
    flex-direction: column;
    box-shadow: 0 1px 6px rgba(60,64,67,.28);
}

.map__context-menu.open {
    display: flex;
}

.map__context-menu .item {
    height: 40px;
    text-decoration: none;
    color: #757575;
    align-items: center;
    display: flex;
    padding: 0px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map__context-menu .item:hover {
    background-color: #fbfbfb;
    color: #212121;
}

.info_content {
    font-size: 12px;
    color: #999;
    line-height: 18px;
    display: flex;
    flex-direction: column;
}

.info_content .item {
    display: flex;
}

.info_content a.item {
    color: #212121;
    font-weight: 600;
    display: inline-flex;

    align-items: center;
}

.infleet-contact a{
    color:#fff !important;
}



li.whiteLabel, div.whiteLabel{
    display:none !important;
}


