﻿
.custom-panel {
    padding: 7px;
    display: flex;
    align-items: center;
}

    .custom-panel .ol-control button {
        height: 32px !important;
        width: 32px !important;
        outline: 0;
        margin: 0 1px;
    }

    .custom-panel .back-btn {
        height: 32px;
    }

.draggable-panel .map-controls-drag {
    margin-right: 5px;
    width: 21px;
    transform: rotate(90deg);
    margin-top: 0px;
    height: 8px;
    padding: 0;
}

.custom-panel .ol-control button span {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 28px;
    display: block;
}

.custom-panel button span {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 28px;
    display: block;
}

.custom-panel .ol-control .bg-zoomin-icon {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/ZoomInSelected.png');
}

.custom-panel .ol-control .bg-zoomout-icon {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/ZoomOutSelected.png');
}

.custom-panel .ol-control .bg-funnel-tool {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/OverviewFunnelsToolSelected.png');
}

.custom-panel .ol-control .bg-hightlight-tool {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/LinkedHighlightsToolSelected.png');
}

.custom-panel .ol-control .bg-stickynotes-tool {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/StickyNotesToolSelected.png');
}
.custom-panel .ol-control .bg-home-icon {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/HomeSelected.png');
}
.custom-panel .ol-control .bg-search-icon {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/SearchSelected.svg');
    background-size:52%;
}
.custom-panel .ol-control .bg-relative-location-tool {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/RelativeLocationToolSelectedSlected.png');
}

.custom-panel .bg-back-icon {
    background-image: url('../../../images/configuration/menu-DELETE/normal/back.png');
}

.custom-panel .highlight-icon {
    background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/HighlightLabelToolSelected.png');
}

.custom-panel .ol-control .bg-funnel-tool-disabled {
    background-image: url('../../../_main/components/configuration/network/maps/utils/Toolbox_DisabledState/OverviewFunnelsTool_DisabledState.png');
}

.custom-panel .ol-control .bg-hightlight-tool-disabled {
    background-image: url('../../../_main/components/configuration/network/maps/utils/Toolbox_DisabledState/LinkedHighlightsTooDisabledState.png');
}

.custom-panel .ol-control .bg-stickynotes-tool-disabled {
    background-image: url('../../../_main/components/configuration/network/maps/utils/Toolbox_DisabledState/StickyNotesTool_DisabledState.png');
}

.custom-panel .ol-control .bg-home-icon-disabled {
    background-image: url('../../../_main/components/configuration/network/maps/utils/Toolbox_DisabledState/Home_DisabledState.png');
}

.custom-panel .highlight-icon-disabled {
    background-image: url('../../../_main/components/configuration/network/maps/utils/Toolbox_DisabledState/HighlightLabelTool_DisabledState.png');
}



/*for smaller layout*/


/*.toolbox-sm-menu .custom-panel {
    padding: 5px;
    display: flex;
    align-items: center;
}

    .toolbox-sm-menu .custom-panel .ol-control button {
        height: 24px !important;
        width: 24px !important;
        outline: 0;
        margin: 0 1px;
    }

    .toolbox-sm-menu .custom-panel .back-btn {
        height: 24px;
    }

        .toolbox-sm-menu .custom-panel .back-btn button {
            height: 24px !important;
            width: 24px !important;
            outline: 0;
            margin: 0 1px;
        }

    .toolbox-sm-menu .custom-panel .map-controls-drag {
        margin-right: 5px;
        width: 13px;
        transform: rotate(90deg);
        margin-top: 0px;
        height: 8px;
        padding: 0;
    }

    .toolbox-sm-menu .custom-panel .ol-control button span {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 20px;
        display: block;
    }

    .toolbox-sm-menu .custom-panel button span {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 20px;
        display: block;
    }
    .toolbox-sm-menu .custom-panel button span.bg-search-icon{
        height: 16px;
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-zoomin-icon {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/ZoomInSelected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-zoomout-icon {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/ZoomOutSelected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-funnel-tool {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/OverviewFunnelsToolSelected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-hightlight-tool {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/LinkedHighlightsToolSelected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-stickynotes-tool {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/StickyNotesToolSelected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-home-icon {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/HomeSelected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .ol-control .bg-relative-location-tool {
        background-image: url('../../../_main/components/configuration/network/maps/utils/ToolBoxIcons/RelativeLocationToolSelectedSlected-sm.png');
    }

    .toolbox-sm-menu .custom-panel .bg-back-icon {
        background-image: url('../../../images/configuration/menu-DELETE/normal/back.png');
    }*/
    



/*for LinkedMapList.html*/

.custom-height .view-grid {
    height: 398px;
}

.custom-height .ui-grid-render-container-left .ui-grid-viewport {
    height: 100%;
}

.custom-height .ui-grid-render-container-body .ui-grid-viewport {
    height: 100%;
}

.custom-height .ol-ctx-menu-container li.ol-ctx-menu-submenu .ol-ctx-menu-container {
    max-height: 170px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*Css for map gallary*/
.mapgallarypopup #vms-child-layer {
    bottom: inherit !important;
}
.mapgallarypopup .modal-dialog{
    display:flex;
    height:calc(100vh - 60px);
    align-items:center;
}
.mapgallarypopup .modal-dialog .modal-content{
   height:726px!important;
   width:100%;
   border-radius:0;
}

.mapgallarypopup iframe {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}
.gallary-popup .container {
    width: 100%;
}
.gallary-popup .upper-body {
    display: flex;
    align-items: center;
}

.upper-body {
    margin: 24px 0;
    padding-left: 9px;
}

    .upper-body h1 {
        font-size: 12px;
        line-height: 1.33;
        font-weight: bold;
        color: #fff;
        margin: 0;
        margin-right: 24px;
    }

    .upper-body .grid-menu {
        list-style: none;
        display: flex;
        align-items: center;
        margin-bottom: 0;
        padding-left: 9px;
    }

.upper-body .grid-menu .grid-menu-item .img-size {
    background-size: contain;
    height: 24px;
    width: 24px;
    background-repeat: no-repeat;
    display: block;
    margin-right: 24px;
}

.upper-body .grid-menu .grid-menu-item .bg-img-grid2 {
    background-image: url("/app/images/menu-copy.svg");
}

.upper-body .grid-menu .grid-menu-item.grid2 .active .bg-img-grid2 {
    background-image: url(../../../images/grid2-img-active.svg);
}

.upper-body .grid-menu .grid-menu-item .bg-img-grid3 {
    background-image: url("/app/images/menu.svg");
}

.upper-body .grid-menu .grid-menu-item.grid3 .active .bg-img-grid3 {
    background-image: url(../../../images/grid3-img-active.svg);
}

.upper-body .grid-menu .grid-menu-item .bg-img-grid4 {
    background-image: url("/app/images/menu-copy-3.svg");
}

.upper-body .grid-menu .grid-menu-item.grid4 .active .bg-img-grid4 {
    background-image: url(../../../images/grid4-img-active.svg);
}






.gallary-popup .container {
    overflow-y: auto;
    width: 100%;
    padding: 0 12px;
    align-content: flex-start;
    /*align-self:inherit;*/
   
}
.gallary-popup .container-grid {
    display: flex;
    flex-wrap: wrap;
    
}

.gallary-popup .container .gallary-unit {
    width: calc(50% - 25px);
    height: calc(50% - 16px);
      margin: 0 12px 16px;
}
.gallary-popup .container .gallary-unit .map_img {
    max-width: 530px;
}

.gallary-popup .container.four-by-four .gallary-unit .map_img {
    max-width: 254px;
}
.gallary-popup .container .gallary-unit .map_img img{
   width: 100%;
}
.gallary-popup .container.three-by-three .gallary-unit .map_img {
    max-width: 336px;
}
.gallary-popup .container.four-by-four .gallary-unit {
    width: calc(25% - 16px);
    height: calc(25% - 16px);
    margin: 0 8px 16px;
}
.gallary-popup .container.three-by-three .gallary-unit {
    width: calc(33.33% - 24px);
    height: calc(33.33% - 16px);
    margin: 0 12px 16px;
}
.gallary-popup .container .gallary-unit .map_img {
    margin-bottom: 8px;
    position: relative;
}

.gallary-popup .container .map_img .hover-div {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000;
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 3px 8px;
    font-size: 12px;
    letter-spacing: 0.17px;
    text-decoration: none;
    color: #292d35;
    transition: all 0.4s ease-in-out 0s;
    opacity: 0;
    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
}
.gallary-popup .container .map_img .hover-div .hover-div-icon {
    height:14px!important;
    width:14px!important;
    margin-right:8px;
}
.gallary-popup .container .map_img:hover .hover-div {
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 0.8;
    /*transition: height 0.3s;*/
    color: #3977e2;
}


    .gallary-popup .container .gallary-unit .map_img .dropdown {
        position: absolute;
        width: 5px;
        top: 12px;
        right: 22px;
    }

    .gallary-popup .container .gallary-unit .map_img .dropdown button {
        background: transparent;
        border: 0;
        outline: 0;
    }

.gallary-popup .container .gallary-unit .map_img .dropdown .dropdown-menu {
    right: -4px;
    background-color: #1f3f74;
    border-radius: 0;
    border: 0;
    left: inherit;
    margin: 0;
}

.gallary-popup .container .gallary-unit .map_img .dropdown .dropdown-menu li {
    padding: 10px;
}

.gallary-popup .container .gallary-unit .map_img .dropdown .dropdown-menu li a {
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.23;
    letter-spacing: normal;
    color: #cdd1d5;
    display: flex;
    padding: 0;
    align-items: center;
}

    .gallary-popup .container .gallary-unit .map_img .dropdown .dropdown-menu li a .bg-icon {
        background-image: url(../../../images/properties-icon.svg);
        background-size: contain;
        display: block;
        width: 15px;
        height: 16px;
        background-repeat: no-repeat;
        margin-right: 6px;
    }

    .gallary-popup .container .gallary-unit .map_img .dropdown .dropdown-menu li a:hover {
        background-color: transparent;
    }

    .gallary-popup .container .gallary-unit .map_img .bg-menu {
        background-image: url(../../../images/group.svg);
        background-size: contain;
        display: block;
        width: 10px;
        height: 18px;
        background-repeat: no-repeat;
        cursor: pointer;
        z-index: 999;
    }

@media (min-width: 768px) {
   
    .modal-dialog {
        width: 900px;
    }

    .gallary-popup .container {
        height: 450px;
    }

    .gallary-popup .container .gallary-unit .map_img canvas {
        height: 196px!important;
    }
     .gallary-popup .container .gallary-unit .map_img img {
        height: 196px;
    }
    /*.gallary-popup .container .gallary-unit.two-by-two .map_img img,
    .geo-loadBgImg {
        height: 196px;
    }*/
     .gallary-popup .container.three-by-three .gallary-unit .map_img  {
       margin-bottom: 5px;
    }

    .gallary-popup .container.three-by-three .gallary-unit .map_img canvas {
        height: 120px !important;
    }
     .gallary-popup .container.three-by-three .gallary-unit .map_img img {
        height: 120px;
    }
    .gallary-popup .container.four-by-four .gallary-unit .map_img canvas {
        height: 85px!important;
    }
        .gallary-popup .container.four-by-four .gallary-unit .map_img {
            margin-bottom: 5px;
        }
    .gallary-popup .container.four-by-four .gallary-unit .map_img img {
        height: 85px;
    }
    .gallary-popup .container .gallary-unit {
        font-size: 12px;
        font-weight: 400;
        color: white;
    }

}

@media (min-width: 1400px) {
.modal-dialog {
    width: 1120px;
}
   

.gallary-popup .container {
    height: 600px;
}

.gallary-popup .container .gallary-unit {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: white;
    margin: 0 12px 16px;
}

    .gallary-popup .container .gallary-unit .map_img canvas {
        width: 504px!important;
        cursor: pointer;
        height: 235px !important;
    }

    .gallary-popup .container .gallary-unit .map_img img{
        width: 504px;
        cursor: pointer;
        height: 235px;
    }
    .gallary-popup .container.four-by-four .gallary-unit .map_img canvas {
        height: 110px !important;
        width: 252px !important;
    }
    .gallary-popup .container.four-by-four .gallary-unit .map_img img {
        height: 110px;
        width: 252px
    }

    .gallary-popup .container.three-by-three .gallary-unit .map_img canvas {
        height: 154px !important;
        width:328px!important;
    }
    .gallary-popup .container.three-by-three .gallary-unit .map_img img{
        height: 154px;
        width:328px;
    }

.gallary-popup .modal-body {
    padding: 9px;
}

}
.disable-pointer {
pointer-events:none !important;
}




/*vax*/

/*TODO://update the css as per submenu levels*/

.ol-ctx-menu-container {
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);
    background-color: #212121;
}

/*.vax-container span {
    margin-left: 22px !important;
    display: block;
}*/

.vax-container .vax-container span {
    margin-left: 0 !important;
    display: block;
}

.ol-ctx-menu-container li.ol-ctx-menu-submenu .vax-container {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: visibility 0s linear .3s,opacity .3s;
    left: 160px !important;
}

.ol-ctx-menu-container .ol-ctx-menu-container li.vax-submenu:hover .vax-container {
    opacity: 1 !important;
    visibility: visible !important;
    transition-delay: 0s !important;
    left: 160px !important;
}

.ol-ctx-menu-container .ol-ctx-menu-container li.vax-submenu .vax-container1 {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: visibility 0s linear .3s,opacity .3s;
    left: 160px !important;
}

.ol-ctx-menu-container .ol-ctx-menu-container li.vax-submenu1:hover .vax-container1 {
    opacity: 1 !important;
    visibility: visible !important;
    transition-delay: 0s !important;
    width: 110px !important;
    left: 160px !important;
}


/*.vax-container {
    position: absolute;
    padding: 8px;
    background: #fff;
    color: #fff;
    font-size: 13px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    box-sizing: border-box;
    background-color: #222;
}*/
/*vax end*/


