/*=====================================================================*/
/*  Map Style Sheet                                                    */
/*=====================================================================*/

/*----------------------------HTML ELEMENTS->--------------------------*/

html {
    height: 100%;
}

body {
    height: 100%;
    min-height: 400px;
    min-width: 1200px;
    position: relative;
    overflow: hidden;
    background: url('../images/logo-back.png') #38553b no-repeat 50% 40%;
}

/*--------------------------<-HTML ELEMENTS----------------------------*/

.langBar {
    top: 8px;
    left: 500px;
}

.btn_lang {
    color: lightGray;
}

/*----------------------------HEADER->---------------------------------*/

.logo_1 {
    position: absolute;
    top: -2px;
    right: 330px;
}

.logo_small_i_map {
    height: 36px;
    width: 173px;
    background: url('../images/logo-small-i-map.png') transparent no-repeat;
}

.dialogConnectionModeBox {
    display: none; /* Don't display */
    position: absolute;
    top: 40px;
    left: 100px;
    background: rgba(213, 213, 213, 0.9);
    width: 450px;
    padding: 20px 5px 5px;
    border: 1px solid rgb(238, 238, 238);
    border-top: none;
    border-radius: 0 0 9px 9px;
    -moz-border-radius: 0 0 9px 9px;
}

.dialogConnectionModeContent label {
    line-height: 40px;
    width: 100%;
    display: inline-block;
    font-size: 1.5em;
}

.dialogConnectionModeContent label:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dialogConnectionModeContent table td {
    min-width: 130px;
}

.dialogConnectionModeContent table td.disabled {
    color: gray;
}

.dialogConnectionModeControls {
    padding-top: 16px;
    text-align: center;
}

/*--------------------------<-HEADER-----------------------------------*/

/*----------------------------LOGIN FORM->-----------------------------*/
#login {
    box-shadow: 0 0 10px rgba(53, 58, 53, 0.8);
    border: 1px solid rgb(116, 116, 116);
    background: rgba(38, 54, 29, 0.8);
}

#login div.logo {
    background-image: url('../images/logo-loginform-map.png');
}
/*--------------------------<-LOGIN FORM-------------------------------*/

/*----------------------------CONTAINER->------------------------------*/

#container.singleInformer {
    bottom: 33px;
}

#container.smallInformer {
    bottom: 134px;
}

#container.smallWithTabsInformer {
    bottom: 154px;
}

/*--------------------------<-CONTAINER--------------------------------*/

/*----------------------------TOOLS->----------------------------------*/

/*----------------------------SENSOR LIST->----------------------------*/

.sensorList {
}

.sensorList table.sensors {
    width: 100%;
    border-collapse: collapse;
}

.sensorList table.sensors tr.head td {
    border-bottom: 1px solid #9da3af;
    font-style: italic;
}

.sensorList table.sensors td {
}

/*--------------------------<-SENSOR LIST------------------------------*/

.mapPanel {
    display: none;
    width: 320px;
    /* !important is needed for overriding of jqui's resizable style */
    height: auto !important;
    float: left;
    /* !important is needed for overriding of jqui's resizable style */
    position: absolute !important;
    top: 0px;
    bottom: 0px;
    left: 0px;
    box-shadow: rgba(150, 150, 150, 0.5) 7px 0px 0px;
}

.mapPanel.transparent {
    opacity: 0.5;
}

.mapPanel .mapPanelWatchDevice {
    cursor: default;
    width: 600px;
    position: absolute;
    top: 0;
    right: -770px;
}

.mapPanel .mapPanelWatchDevice .name {
    padding: 1px 4px 1px;
    position: absolute;
    background: rgba(50, 170, 50, 0.3);
    color: #255f33;
    border-radius: 4px;
}

.mapPanel .mapPanelWatchDevice:hover .name {
    background: rgba(50, 170, 50, 0.7);
    color: #fff;
}

.mapPanel div.ui-resizable-handle.ui-resizable-e {
    background: url(../images/resizer.gif) 50% 50% no-repeat rgba(209, 209, 209, 0.6);
    cursor: col-resize;
    right: -7px;
    z-index: auto !important;
}

.mapPanelToggleView.asBar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 5px;
    background: #849c94;
    background: #547467;
    opacity: 0;
    cursor: default;
}

.mapPanelToggleView.asBar.showPanel {
    right: -5px;
    left: auto;
}

.mapPanelToggleView.asBar:hover {
    background: #547467;
    opacity: 1;
}

.mapPanelToggleView.asButton {
    position: absolute;
    width: 120px;
    top: 6px;
    right: 0px;
    border: 1px solid #EEE;
    background: silver;
    color: #fff;
    text-align: center;
    overflow: hidden;
    cursor: default;
    border-right-width: 0;
    padding: 2px 3px 4px;
    opacity: .5;

    border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
}

.mapPanelToggleView.asButton:hover {
    opacity: .9;
}

.mapPanelToggleView.asButton.show {
    right: -126px;
    right: -127px;
    border-right-width: 1px;
    border-left-width: 0;
    border-color: #aaa;

    border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
}

.mapPanelToggleView.asButton span.toggleLabel.show { display: none; } /* by default */

/* NOT USED
.mapPanel .mapPanelResizeHandler {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: red;
}
*/

/*--------------------------<-TOOLS------------------------------------*/

/*----------------------------OBJECTS->--------------------------------*/

.mapObjectsBox {
    border: 0px solid gray;
    position: absolute;
    top: 0px;
    left: 5px; /* for Panel Toggle */
    left: 0;
    right: 5px; /* for Panel Toggle */
    right: 0;
    bottom: 226px;
    background: #eaeaea;
    /*width: 310px;*/
    /*width: 100%;*/
}

.mapObjectsBox ::-moz-selection { background: transparent; }
.mapObjectsBox ::selection { background: transparent; }

.mapObjectsBox.full {
    bottom: 35px;
}

.mapObjectsBox .progressBar {
    height: 3px;
    width: 100%;
    background: rgba(100, 255, 0, 0.9);
}

.mapObjectsBox .toolsPanel {
    height: 29px;
    border-bottom: 1px solid #888;
    padding: 0 3px;
    text-align: right;
    line-height: 29px;

    background: rgba(214, 214, 214, 1); /* For old browsers */
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 20%, rgba(214, 214, 214, 1) 80%); /* For Safari */
    background: -o-linear-gradient(rgba(255, 255, 255, 0.3) 20%, rgba(214, 214, 214, 1) 80%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(255, 255, 255, 0.3) 20%, rgba(214, 214, 214, 1) 80%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(255, 255, 255, 0.3) 20%, rgba(214, 214, 214, 1) 80%); /* Standard syntax */
}

.mapObjectsContent {
    right: 0px;
    left: 0px;
    overflow: auto;
    border: 0px solid #993300;
    position: absolute;
    top: 65px;
    bottom: 0px;
}

.mapObjectsContentFooter {
    height: 40px;
}

.mapTitlePanelBox {
    /*
    height: 32px;
    width: 200px;
    width: 100%;
    */
    height: 34px;
}

.mapTitlePanelBox div.wrapper {
    padding: 6px 8px 8px;
}

.mapTitlePanelBox span.icon {
    display: inline-block;
    height: 16px;
    width: 16px;
    background: no-repeat 50% 50%;
}
.mapTitlePanelBox span.icon.objects {
    background-image: url('../images/map-panel-i-objects.png');
}
.mapTitlePanelBox span.icon.chat {
    background-image: url('../images/map-panel-i-chat.png');
}

.mapTitlePanelBox span.label {
    display: inline-block;
    margin-left: 4px;
    color: #F3F3F3;
    font-size: 16px;
    text-shadow: #4D4D4D 1px 1px 4px;
}

.mapObjectsTitle {
    border-bottom: 1px solid #9b2500;

    background: #ec3900; /* For old browsers */
    background: -webkit-linear-gradient(#cc350e, #ec3900); /* For Safari */
    background: -o-linear-gradient(#cc350e, #ec3900); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#cc350e, #ec3900); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#cc350e, #ec3900); /* Standard syntax */
}

/*--------------------------<-OBJECTS----------------------------------*/

/*----------------------------CHAT->-----------------------------------*/

.mapChatTitle {
    border-top: 1px solid #215E97;

    background: #217392; /* For old browsers */
    background: -webkit-linear-gradient(#78b1cc, #217392); /* For Safari */
    background: -o-linear-gradient(#78b1cc, #217392); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#78b1cc, #217392); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#78b1cc, #217392); /* Standard syntax */
}

.mapChatBox {
    position: absolute;
    bottom: 0;
    left: 5px; /* for Panel Toggle */
    left: 0;
    right: 5px; /* for Panel Toggle */
    right: 0;
}

.mapChatControl .toggle_view {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2px 4px;
    text-decoration: none;
    color: rgba(75, 93, 119, 1);
    font-size: 13px;
    line-height: 13px;
    background: rgba(193, 208, 221, 0.6);
    cursor: default;
    border-radius: 3px;
}

.mapChatMessages {
    height: 125px;
    overflow: auto;
    border-bottom: 1px solid #888;
    background: #d5d5d5;
    padding-bottom: 15px;
    margin: 0;
}

.mapChatMessages.hidden {
    display: block;
    height: 0;
    padding: 0;
}

.mapChatMessages .time {
    font-weight: normal;
    font-size: smaller;
    color: gray;
}

.mapChatMessages span.message {
    color: blue;
}

.mapChatMessages.has_new_mes {
    border: 1px solid red;
    background: #f1f1f1;
}

.mapChatMessages p {
    padding: 1px 2px 3px;
    border-bottom: 1px dotted gray;
}

.mapChatSay {
    height: 99%;
    width: 100%;
    border-width: 0;
    background: #eaeaea;
    background: transparent;
    margin-right: -5px;
}

.mapChatSay.hidden {
    display: none;
}

.mapChatBox .textar {
    height: 50px;
    width: 308px;
    width: 100%;
    border: 0px solid #424242;
    background: #eaeaea;
    position: relative;
}

.mapChatBox .textar .norecip {
    position: absolute;
    right: 10px;
    bottom: 2px;
    color: rgb(200, 0, 0);
}

.mapChatRecipBox {
    display: none;
    border: 1px solid #BB955B;
    background-color: rgba(247, 239, 136, 0.9);
    position: absolute;
    bottom: 3px;
    left: 330px;
    min-width: 200px;
    padding: 13px 28px;

    z-index: 10000;
}

.mapChatRecipTitle {
    font-size: 14px;
    font-style: italic;
}

.mapChatRecipList {
    margin: 8px 0;
}

.mapChatRecipList li {
    margin: 4px 0;
}

.mapChatRecipList input {
    cursor: default;
}

/*--------------------------<-CHAT-------------------------------------*/


/*----------------------------MAP->------------------------------------*/

.olMap {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 320px;
    border: 0px solid #424242;
    background-color: #f1eee8;
    font-family: sans-serif;
}

.olMap.fullScreen {
    left: 0 !important;
}

/*--------------------------<-MAP--------------------------------------*/

/*----------------------------DEVICES->--------------------------------*/

.mapObjectsList {
    list-style: none;
}

.mapObjectsList:last-child {
    padding-bottom: 30px;
}

.mapObjectsOwner {
    position: relative;
    height: 19px;
    padding: 8px 3px 3px;
    margin-top: 8px;
    border-top: 1px solid lightGrey;
    font-size: 0.9em;
    color: black;
    cursor: default;

    background: rgba(255,255,255,0); /* For old browsers */
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255,255,255,0) 70%); /* For Safari */
    background: -o-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255,255,255,0) 70%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(255, 255, 255, 0.5), rgba(255,255,255,0) 70%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255,255,255,0) 70%); /* Standard syntax */
}

.mapObjectsOwner.first {
    margin-top: 0 !important;
}

.mapObjectsOwner .name {
    position: absolute;
    left: 26px;
    top: 9px;
    font-weight: bold;
    color: #888;
}

.mapObjectsOwner .name .firstName {
    color: #0a3826;
}

.mapObjectsOwner .name .secondName {
}

.mapObjectsOwnerStatus .active {
    position: absolute;
    left: 5px;
    top: 7px;
    height: 17px;
    width: 17px;
    background: url('../images/user-stat-activ-init.png') no-repeat;
}

.mapObjectsOwnerStatus .active_online {
    background: url('../images/user-stat-activ-online.png') no-repeat;
}

.mapObjectsDevice {
    padding: 1px 2px 3px;
    position: relative;
    cursor: default;
    text-shadow: #e7e7e7 1px 1px 0;
    height: 16px;
    font-size: 12px;
    line-height: 20px;

    border-bottom: 1px dotted #acacac;
}

/*
.mapObjectsDevice.lastInList {
    border-bottom: 0px !important;
}
*/
.mapObjectsDevice:last-child {
    border-bottom: 0px !important;
}

.mapObjectsDevice.oldState * {
    color: gray !important;
}
.mapObjectsDevice.oldState span.name.own {
    color: rgb(89, 172, 112) !important;
}
.mapObjectsDevice.oldState span.name.trust {
    color: rgb(134, 150, 192) !important;
}

.mapObjectsDevice.unknownState * {
    color: rgb(162, 162, 162) !important;
    font-style: italic !important;
}

.mapObjectsDevice.contextMenuHover {
    font-weight: bold;
}

.mapObjectsDevice:hover {
    background: #fff;
    text-shadow: none;
}

.mapObjectsDevice .nameCover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16px;
    border-right: 172px solid #eaeaea;

    background: rgba(234,234,234, 1); /* For old browsers */
    background: -webkit-linear-gradient(left, rgba(234,234,234, 0.5), rgba(234,234,234, 1)); /* For Safari */
    background: -o-linear-gradient(right, rgba(234,234,234, 0.5), rgba(234,234,234, 1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(234,234,234, 0.5), rgba(234,234,234, 1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(234,234,234, 0.5), rgba(234,234,234, 1)); /* Standard syntax */
}

.mapObjectsDevice:hover .nameCover {
    border-color: #fff;

    background: rgba(255,255,255, 1); /* For old browsers */
    background: -webkit-linear-gradient(left, rgba(255,255,255, 0.5), rgba(255,255,255, 1)); /* For Safari */
    background: -o-linear-gradient(right, rgba(255,255,255, 0.5), rgba(255,255,255, 1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(255,255,255, 0.5), rgba(255,255,255, 1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(255,255,255, 0.5), rgba(255,255,255, 1)); /* Standard syntax */
}

.mapObjectsDevice.selected {
    background-color: rgba(51, 173, 51, 1);
    text-shadow: #424242 1px 1px 0;
    border-bottom: 1px solid white;
    color: white;
    font-weight: bold;
}
.mapObjectsDevice.selected * { color: #fff !important; }

.mapObjectsDevice.selected .nameCover {
    border-color: rgba(51, 173, 51, 1);

    background: rgba(51, 173, 51, 1); /* For old browsers */
    background: -webkit-linear-gradient(left, rgba(51, 173, 51, 0.5), rgba(51, 173, 51, 1)); /* For Safari */
    background: -o-linear-gradient(right, rgba(51, 173, 51, 0.5), rgba(51, 173, 51, 1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(51, 173, 51, 0.5), rgba(51, 173, 51, 1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(51, 173, 51, 0.5), rgba(51, 173, 51, 1)); /* Standard syntax */
}
.mapObjectsDevice .name.own { color: darkgreen; }
.mapObjectsDevice .name.trust { color: darkblue; }

.mapObjectsDevice .id {
    display: inline-block;
    display: none;
    height: 16px;
    color: #777;
    text-align: center;
    padding: 0;
    width: 20px;
}

.mapObjectsDevice .id.owner {
    /* background: url('../images/markers-set01-green-s.png') no-repeat transparent; */
}
.mapObjectsDevice .id.trusted {
    /* background: url('../images/markers-set01-blue-s.png') no-repeat transparent; */
}

.mapObjectsDevice .type {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin-right: 4px;
    margin-left: 4px;
    position: relative;
    bottom: -1px;
}

.mapObjectsDevice .type_terminal_uni {
    background: url('../images/devtype-avto-uni-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_terminal_own {
    background: url('../images/devtype-avto-own-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_terminal_trust {
    background: url('../images/devtype-avto-trust-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_phone_uni {
    background: url('../images/devtype-phone-uni-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_phone_own {
    background: url('../images/devtype-phone-own-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_phone_trust {
    background: url('../images/devtype-phone-trust-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_personal_uni {
    background: url('../images/devtype-personal-uni-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_personal_own {
    background: url('../images/devtype-personal-own-i.png') no-repeat transparent;
}

.mapObjectsDevice .type_personal_trust {
    background: url('../images/devtype-personal-trust-i.png') no-repeat transparent;
}

table.mapObjectsDeviceStatus {
    height: 18px;
    position: absolute;
    top: -2px;
    right: 3px;
    border-collapse: collapse;
}

.mapObjectsDeviceStatus td {
    /*width: 22px;
    text-align: center;
    */
    /*border-left: 1px solid gray;*/
    text-align: center;
    vertical-align: middle;
}

.mapObjectsDeviceStatus td.delim {
    padding: 0 3px;
    color: #ccc;
}

.mapObjectsDeviceStatus .txt {
    display: none;
    line-height: 22px;
}

/* Text for speed is displayed */
.mapObjectsDeviceStatus .txt.speed {
    display: inline-block;
    width: 48px;
    text-align: left;
}

.mapObjectsDeviceStatus .txt.speed.assumed {
    color: rgb(177, 177, 177) !important;
}

.mapObjectsDeviceStatus .ico {
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.mapObjectsDeviceStatus .ico.active {
    background: url('../images/device-stat-activ-init.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.active_receive {
    background: url('../images/device-stat-activ-receive.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.speed {
}

.mapObjectsDeviceStatus .ico.speed_moving {
}

.mapObjectsDeviceStatus .ico.speed_parking {
    background: url('../images/device-stat-speed-parking.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.heading {
    background: url('../images/dir-arrow.png') no-repeat 50%;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}

.mapObjectsDeviceStatus .ico.gzone {
    background: url('../images/device-stat-gzone-init.png') no-repeat 50%;
    /* For the Reserved Geofences */
    font-size: 13px !important;
    font-weight: bold !important;
    text-shadow: none !important;
    text-align: center !important;
    color: darkgreen !important;
}

.mapObjectsDeviceStatus .ico.gzone_ok {
    background: url('../images/device-stat-gzone-ok.png') no-repeat 50%;
    background: transparent;
}

.mapObjectsDeviceStatus .ico.gzone_alarm {
    background: url('../images/device-stat-gzone-alarm.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.gzone_warning {
    background: url('../images/device-stat-gzone-warning.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.sens_ignition {
    background: url('../images/device-stat-ignition-init.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.sens_ignition_on {
    background: url('../images/device-stat-ignition-on.png') no-repeat 50%;
}

.mapObjectsDeviceStatus .ico.sens_ignition_off {
    background: url('../images/device-stat-ignition-off.png') no-repeat 50%;
}

/* Legend */

table.mapObjectsDeviceStatusLegend {
    height: 18px;
    position: absolute;
    top: 8px;
    right: 2px;
    border-collapse: collapse;

    display: none; /* Test */
}

.mapObjectsDeviceStatusLegend td {
    width: 22px;
    text-align: center;
    /*border-left: 1px solid gray;*/
}

.mapObjectsDeviceStatusLegend .active {
    background: url('../images/device-stat-activ-init.png') no-repeat 50%;
}

.mapObjectsDeviceStatusLegend .speed {
}

.mapObjectsDeviceStatusLegend .heading {
    background: url('../images/device-stat-legend-head.png') no-repeat 50%;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}

.mapObjectsDeviceStatusLegend .gzone {
    background: url('../images/device-stat-legend-geof.png') no-repeat 50%;
    /* For the Reserved Geofences */
    font-size: 13px !important;
    font-weight: bold !important;
    text-shadow: none !important;
    text-align: center !important;
    color: darkgreen !important;
}

.mapObjectsDeviceStatusLegend .sens_ignition {
    background: url('../images/device-stat-ignition-init.png') no-repeat 50%;
}

/*--------------------------<-DEVICES----------------------------------*/

/*----------------------------INFO BOX->-------------------------------*/

.mapInfoboxBox {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    border: 1px solid gray;
    background-color: rgba(246, 246, 246, 0.9);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 4px;
}

.mapInfoboxBox.rightSideTop {
    border-radius: 12px 0 12px 12px;
    -moz-border-radius: 12px 0 12px 12px;
}

.mapInfoboxBox.rightSideBottom {
    border-radius: 12px 12px 0 12px;
    -moz-border-radius: 12px 12px 0 12px;
}

.mapInfoboxBox.leftSideTop {
    border-radius: 0 12px 12px 12px;
    -moz-border-radius: 0 12px 12px 12px;
}

.mapInfoboxBox.leftSideBottom {
    border-radius: 12px 12px 12px 0;
    -moz-border-radius: 12px 12px 12px 0;
}

/* Infobox Head */

.mapInfoboxHead {
    position: relative;
    height: 80px;
}

.mapInfoboxHead .close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 1px solid #aaa;
    background: #eee;
    cursor: default;
    padding: 1px 5px;

    border-radius: 4px;
    -moz-border-radius: 4px;
}

.mapInfoboxHead .close:hover {
    border: 1px solid #888;
    background: white;
    box-shadow: 0 0 2px gray;
}

.mapInfoboxHead .title {
    position: absolute;
    left: 56px;
    top: 15px;
    right: 30px;
    font-size: 16px;
    font-weight: bold;
}

.mapInfoboxHead .type {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 40px;
    width: 40px;
    /*
    border: 1px solid white;
    border-top-width: 0;
    border-left-width: 0;
    background: #d3d3d3;
    */
}

.mapInfoboxHead .type_terminal_own {
    background: url('../images/devtype-avto-own.png') no-repeat;
}

.mapInfoboxHead .type_terminal_trust {
    background: url('../images/devtype-avto-trust.png') no-repeat;
}

.mapInfoboxHead .type_phone_own {
    background: url('../images/devtype-phone-own.png') no-repeat;
}

.mapInfoboxHead .type_phone_trust {
    background: url('../images/devtype-phone-trust.png') no-repeat;
}

.mapInfoboxHead .type_personal_own {
    background: url('../images/devtype-personal-own.png') no-repeat;
}

.mapInfoboxHead .type_personal_trust {
    background: url('../images/devtype-personal-trust.png') no-repeat;
}

.mapInfoboxHead .deviceActions {
    position: absolute;
    right: 8px;
    bottom: 3px;
}

.mapInfoboxHead .deviceActions button.drawTrack {
    min-width: 28px;
}

.mapInfoboxFooter {
    height: 20px;
    background: #e6e6e6;

    border-radius: 0 0 12px 12px;
    -moz-border-radius: 0 0 12px 12px;
}

/* Infobox Info */

.mapInfoboxInfo {
    position: relative;
    /*background: #e3e3e3;*/
    background-color: rgba(230, 230, 230, .8);
    border-top: 1px solid #bbb;
    padding: 5px 10px;
    color: rgb(88, 88, 88);
}

.mapInfoboxInfo .deviceStatus {
    position: relative;
    height: 25px;
}

.mapInfoboxInfo .deviceStatus  table.mapObjectsDeviceStatus {
    left: 2px;
}

.mapInfoboxInfo table {
    border-collapse: collapse;
}

.mapInfoboxInfo table td.headtd {
    /*font-weight: bold;
    width: 130px;
    */
    width: 120px;
    vertical-align: top;
    padding-right: 6px;
    text-align: right;
}

.mapInfoboxInfo table tr td {
    padding: 1px 0;
}

.mapInfoboxInfo table tr.delim td {
    /*border-top: 1px solid #ccc;*/
    height: 10px;
}
.mapInfoboxInfo table tr.delim td div.line {
    height: 1px;
    background: #ccc;
    width: 100%;
}

.mapInfoboxInfo span.infoBoxTime,
.mapInfoboxInfo span.infoBoxAddress {
    color: #161616;
    font-weight: bold;
}

.mapInfoboxSensors {
    color: #3654a3;
    position: relative;
    background: #e6e6e6;
    padding: 5px 10px 0;
}

.mapInfoboxSensors .title {
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
}

.mapInfoboxSensors .sensorList table.sensors tr.head td {
    font-weight: bold;
}

.mapInfoboxSensors .sensorList table.sensors td {
    border-bottom: 1px solid #bdc2ce;
}

.mapInfoboxInfo .infoBoxNearestObjects span.name {
    white-space: nowrap;
    color: rgb(255, 255, 255);
    border-radius: 3px;
    padding: 1px 3px;
    display: inline-block;
    background: rgb(138, 138, 138);
    margin-bottom: 2px;
    margin-right: 2px;
}

/*--------------------------<-INFO BOX---------------------------------*/

/*----------------------------HISTORY INFO BOX->-------------------------------*/

.mapHistoryInfoBox {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0px;
    max-width: 400px;
    border: 1px solid rgb(195, 118, 99);
    border-right-width: 0;
    border-radius: 8px 0 0 8px;
    background-color: rgba(255, 192, 79, 0.59);
}

.mapHistoryInfoBox .mapHistoryInfoHead {
    padding: 4px 8px 0px;
    font-weight: bold;
    text-align: left;
    color: rgb(187, 82, 0);
}

.mapHistoryInfoBox .mapHistoryInfoContent {
    padding: 8px;
    color: rgb(187, 82, 0);
    min-width: 70px;
    text-align: left;
}

/*--------------------------<-HISTORY INFO BOX---------------------------------*/

/* DIALOG BOXES */

.mapDialogBox {
    display: none; /* by default: none */
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    padding: 10px;
    border: 1px solid #888;
    border-top-width: 0;
    /*background-color: rgba(208, 213, 199, 0.9);*/
    background: rgba(219, 224, 183, 0.9);
    box-shadow: gray 0px 0px 10px;

    border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
}

.mapDialogBox.mapDialogTrackBox {
    top: 0;
    left: 380px;
}

.mapDialogBox.mapDialogTrackBox span.deviceListSelectedName {
    color: gray;
}

.mapDialogBox.mapDialogSettingsBox {
    top: 0;
    left: 560px;
}

.mapDialogHead {
    height: 30px;
}

.mapDialogHead .title {
    position: absolute;
    right: 15px;
    top: 7px;
    /*
    font-size: 2em;
    font-weight: bold;
    */
    font-size: 24px;
    color: #3A5C3E;
}

.mapDialogHead .icon {
    position: absolute;
    left: 15px;
    top: 0;
    height: 40px;
    width: 40px;
    background: no-repeat 50% 50%;
}

.mapDialogHead .icon.track {
    background-image: url('../images/map-dialog-track.png');
}

.mapDialogHead .icon.settings {
    background-image: url('../images/map-dialog-settings.png');
}

.mapDialogContent {
    background: rgba(255, 255, 255, .8);
    padding: 8px 20px 20px;
    margin-top: 0px;
    box-shadow: #bbb -1px -1px 1px, #bbb 1px 1px 1px;
    box-shadow: #8A8A8A -1px -1px 1px, #7C7C7C 1px 1px 1px;

    border-radius: 10px;
    -moz-border-radius: 10px;
}

.mapDialogContent .warning {
    color: red;
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 7px;
    padding-bottom: 3px;
}

.mapDialogContent .markedLabel {
}
.mapDialogContent .markedLabel.info {
    color: #ff7000;
}

.mapDialogContent .inputs input {
    text-align: right;
}

.mapDialogContent input.small {
    width: 40px !important;
    min-width: 40px !important;
}

.mapDialogContent .inputs li {
    position: relative;
    padding: 2px;
    text-align: right;
}

.mapDialogContent .date {
    width: 100px;
}

.mapDialogContent .time {
    min-width: 0 !important;
    width: 56px;
}

.mapDialogContent .timeseconds {
    font-size: 14px;
    color: gray;
}

.mapDialogContent button.refreshTime {
    font-size: 12px;
    line-height: 12px;
}

.mapDialogContent .settingsGroup {
    margin-top: 10px;
}

.mapDialogContent .settingsGroup p.title {
    font-size: larger;
    font-weight: bold;
}

.mapDialogContent .settingsGroup ul.list {
    margin-top: 10px;
}

.mapDialogContent .settingsGroup ul.list li {
    padding-bottom: 5px;
}

.mapDialogControl {
    margin-top: 10px;
    text-align: right;
}

.mapDialogControl button {
    width: 80px;
}

.mapDialogControl .extraLinks {
    position: absolute;
    height: 20px;
    bottom: 8px;
    left: 16px;
}

/* OTHER */

.wait_anim_small_fobj {
    position: absolute;
    top: 2px;
    right: 30px;
}

div.mapPopupBox {
    padding: 10px;
}

div.mapPopupContent {
}

/* For any element */
div.mapPopupContent .prior_0 { color: #148500; }
div.mapPopupContent .prior_1 { color: #147bba; }
div.mapPopupContent .prior_2 { color: #e04b00; }
div.mapPopupContent .prior_3 { color: #d60000; }

div.mapPopupContent p.maintitle {
    font-size: 14px;
    font-weight: bold;
}

div.mapPopupContent p.title {
    font-size: 13px;
    font-weight: bold;
}

div.mapPopupContent p.text {
    font-size: 13px;
}

div.mapPopupContent p.tip {
    font-size: 11px;
    padding: 5px 0 5px;
    color: #aaa;
}

div.mapPopupControl {
    padding: 12px 0 0;
    font-size: 12px;
    color: #444;
}
div.mapPopupControl span {
    text-decoration: underline;
    cursor: pointer;
}

/* CANVAS */

#canvasBox {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 120px;
    height: 260px;
    background: rgba(10, 56, 38, .3);
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: rgba(10, 56, 38, .6);
}

#canvasBox .head {
    position: absolute;
    left: 0;
    top: -1px;
    width: 160px;
    border-bottom: 1px solid rgba(10, 56, 38, .8);
    padding: 1px 10px 2px;
    font-size: 1.1em;
    font-weight: bold;
    background: rgba(10, 56, 38, .8);
    color: #fff;
}

#canvasBox .content {
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}

#canvasBox .controls {
    padding: 6px 20px 6px 10px;
    position: absolute;
    bottom: -34px;
    background: 
    rgba(10, 56, 38, .8);

    border-radius: 0 0 10px 0;
    -moz-border-radius: 0 0 10px 0;
}

#canvasMarkers {
    position: absolute;
    top: 0;
    left: 0;
    background: #eee;
    background: #fafafa;
    border: 1px solid gray;
}

#canvasContent {
    position: absolute;
    top: 10px;
    left: 30px;
    background: rgba(55, 55, 55, .5);
    background: transparent;
}
