﻿#showVideo-modal .Video-content iframe{
    width: 100%!important;
}
.mapAclFlexContainer {
    --map-acl-h: 75vh;
}

.obj-marker-color, .mki-intext {
    color: blueviolet;
}/*color: blueviolet;  #1BD0FD; #38A9C6  */

table.fixed { table-layout:fixed; width: 100%;}
table.fixed td { overflow-x: hidden; }

.acliveMap .btn-xs{padding:1px 1px;font-size:12px;line-height:1.5;border-radius:3px;background-color:transparent;font-weight:bold;text-shadow:-1px -1px 1px white, 1px 1px 1px white;}

#showNote-modal .modal-body p{
    text-indent: 2em;
    margin-bottom: 3px;
}

#ph_descr{
    padding-left: 1em;
    padding-right:1em;
}
#ph_descr p{
    text-indent: 2em;
    margin-bottom: 3px;
}
#pho_descr{
    padding-left: 1em;
    padding-right:1em;
}
#pho_descr p{
    text-indent: 2em;
    margin-bottom: 3px;
}

.downloadSpGPXsPanel .dnlgpxN{ margin-left: 20px; }
.dnlgpx, .dnlgpxN{ color: black; }

/*-----------------------*/
.videoCluster {
    color: white; /*height: 20px; camera*/ 
	width: 24px; height: 24px; text-align: center; font-size: 10px; /*height: 20px;*/ 
    background-color:transparent;
    background-image: url('/Images/video24.png'); 
    padding-top: 2px;
}
.videoTextCls{display:block;margin-left: 15px;margin-top: -1px;  font-weight:bold; padding-top: 1px;
    text-shadow:  -1px -1px 1px white, 1px 1px 1px white;
}
.video-div-icon{
    white-space:nowrap;display: inline-block;
    background-image: url('/Images/video24point.png');
    height: 24px !important; /*height: 20px;*/ 
}

.Video-content-vk {
    background-image: url(/Images/kamera-min.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/*-----------------------*/
.wptCluster, .noteCluster {
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 10px;
    background-color: transparent;
    background-image: url('//aclive.anet.ru/Images/wptNote24.png');
    /*background-position: -6px -6px; background-size: 34px;*/
    padding-top: 1px;
    /*border: 2px solid #2962FF;
    border-radius:10px;*/
}
.wptTextCls, .noteTextCls{display:block;margin-left: 15px;margin-top: -1px;  font-weight:bold;
    text-shadow:  -1px -1px 1px white, 1px 1px 1px white;
}
.wpt-div-icon, .note-div-icon{
    /*background-color:blue;*/ 
    white-space:nowrap;display: inline-block;
background-image: url('//aclive.anet.ru/Images/wptNote24Point.png');
    /*border: 2px solid black; border-radius: 6px;*/
    /*display:none;*/
}

/*.leaflet-marker-icon,
.leaflet-marker-shadow
{
    display:none;
    width: 10px!important;
    height: 5px!important;
}

.leaflet-marker-pane img{
    width: 6px!important;
    height: 10px!important;
}*/

.infoPanelWrapper {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

/*.aclm-photo {
    width: 94%;
    object-fit: contain;
    margin-top: 10px;
}*/

.aclm-photo {
    max-height: 300px;
    object-fit: contain;
    margin-top: 10px;
}

.blog-date {
    color: green;
    font-weight: bold;
    font-size: 14px;
}

.blog-name {
    font-weight: bold;
}
.aclm-container {
    margin: 10px auto;

}
.aclm-text-sm {
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 300;
    color: #000;
    font-size: 14px;
}
.aclm-dot {
    height: 20px;
    width: 20px;
    margin-bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    color:white;
    padding-left: 3px;
}

.svgBtn {
    outline: none;
    display: inline-block;
    padding: 0;
    border: none;
    background-color: transparent;
    border-radius: 0;
    line-height: 1;
}

/*******************
Preloader
********************/
.preloader {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 99999;
    background: transparent;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    position: absolute;
    top: calc(50% - 3.5px);
    left: calc(50% - 3.5px);
}
    .lds-ripple .lds-pos {
        position: absolute;
        border: 2px solid #2962FF;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.1, 0.5, 1) infinite;
    }

        .lds-ripple .lds-pos:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}
.hide {
    display: none;
}

.leaflet-marker-object {
    border: 2px solid #fff;
    box-shadow: 3px 3px 10px #888;
}

    .leaflet-marker-object div {
        width: 100%;
        height: 100%;
        background-color: whitesmoke;
        display: inline-flex !important;
        justify-content: center !important;
        font-size: 24px;
    }

    .leaflet-marker-object b {
        position: absolute;
        top: -7px;
        right: -11px;
        color: #555;
        background-color: #fff;
        border-radius: 8px;
        height: 12px;
        min-width: 12px;
        line-height: 12px;
        text-align: center;
        padding: 1px;
        box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    }
.image_container {
    position: relative;
    margin: auto;
}
.objectName_container {
    position: relative;
    margin: auto;
    padding-left: 24px;
    padding-right: 25px;
}

.btn_edit {
    cursor: pointer;
    position: absolute;
    left: 40%;
    top: 0px;
    width: auto;
    padding: 10px;
    margin-top: -4px;
    color: red;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
}

/* Next & previous buttons */
.btn_prev, .btn_next {
    cursor: pointer;
    position: absolute;
    z-index: 1000102;
    z-index: 400;
    top: 120px;
    width: auto;
    padding: 16px;
    /*margin-top: -22px;*/
/*    color: red;*/
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(255, 100, 100, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);

    color: black;
    text-decoration: none;
}
    .btn_prev:hover, .btn_next:hover {
        color: black;
        text-decoration: none;
    }
    .btn_prev a, .btn_next a {
        text-decoration: none;
        color: black;
    }
.btn_prev_next_map {
    z-index: 1000102;
    display: none;
}
    .btn_prev_next_map.active{
        display: block;
    }
    /* Position the "next button" to the right */
    .btn_prev {
        left: 0;
        border-radius: 15px 0 0 15px;
    }
.btn_next {
    right: 0;
    border-radius: 0 15px 15px 0;
}
 
    .btn_prev:hover, .btn_next:hover {
        color: white;
        background-color: rgba(0,0,0,0.8);
    }
.btn_object_prev, .btn_object_next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin-top: -22px;
    color: blue;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
/* Position the "next button" to the right */
.btn_object_prev {
    left: 0;
    border-radius: 3px 0 0 3px;
    margin-left:20px;
}

.btn_object_next {
    right: 0;
    margin-right:20px;
}
    .btn_object_prev:hover, .btn_object_next:hover {
        background-color: rgba(0,0,0,0.8);
        color: white;
    }

.downloadSpGPXsCls{
    float:right;margin-right:3px;padding-left:5px;padding-right:5px;border: 1px solid #555;border-radius:5px;cursor:pointer;
    font-size:12px;color:white;background-color:green;
}

.rebuildGpxButtonCls00{
    display:none;
    float:right;margin-right:30px;padding-left:5px;padding-right:5px;border: 1px solid #555;border-radius:9px;cursor:pointer;
    font-size:12px;color:black;background-color:gray;
}
.rebuildGpxButtonCls01{
    float:right;margin-right:30px;padding-left:5px;padding-right:5px;border: 1px solid #555;border-radius:9px;cursor:pointer;
    font-size:12px;color:white;background-color:red;
}
.rebuildGpxButtonCls11{
    float:right;margin-right:30px;padding-left:5px;padding-right:5px;border: 1px solid #555;border-radius:9px;cursor:pointer;
    font-size:12px;color:white;background-color:green;
}

/* --------------------------- */
.mapAclFlexContainer {
    padding: 0 5px;
    display: grid;
    grid-template-columns: 1fr 360px;
    column-gap: 10px;
    min-height: var(--map-acl-h);
}
.acliveMap {
    width: 100%;
    /*    min-height: var(--map-acl-h);*/
    min-height: var(--map-acl-h);
    height: 100%;
}
.infosBlock {
    /*    min-height: var(--map-acl-h);*/
    /*    min-height: 100%;*/
    height: var(--map-acl-h);
    overflow-x: hidden;
    overflow-y: auto;
}


    .mapAclFlexContainer .mapBlock {
        background-size: 6px 6px;
        background-image: url('//aclive.anet.ru/Images/pt1.svg');
        position: relative;
    }

    .mapAclFlexContainer .infosBlock {
        position: relative;
    }
    .mapAclFlexContainer .infosBlock .t-heading {
        font-weight: 700;
        margin-bottom: 5px;
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 5px;
    }

.create-travel-dialog {
    /*    width: 80%;*/
    /*    max-width: 1024px;*/
    /*    max-width: 560px;*/
    /*    padding: 10px;*/
    /* margin: 0; */
    /*    margin-block: 0;*/

    margin: 0;
    padding: 0;
    height: 100vh;
    max-height: 100vh;
/*    width: 100vw;*/
    width: 100%;
    max-width: 100vw;
    border: none;
    /*    background-color: transparent;*/
/*    background-color rgba(0, 0, 0, 0.6);*/
    /*    background: linear-gradient(30deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%);*/
    background: linear-gradient(30deg,rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(255, 255, 255, 1) 78%);
    position: relative;
}
.create-travel-dialog__close {
    position: absolute;
    top: 0px;
    right: 10px;
    background-color: transparent;
    border: none;
    outline: none !important;
}
.create-travel-dialog__box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}
.create-travel-dialog__iframe {
    border: none;
    border-bottom: 1px solid black;
    flex-grow: 1;
    flex-shrink: 1;
}

/* --------------------------- */

.dialog-manual-bounds {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    user-select: none;
}
.dialog-header {
    padding: 10px;
    background: #f5f5f5;
    cursor: move;
    border-bottom: 1px solid #ddd;
}
.draggable-dialog {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    user-select: none;
    top: 40vh;
    left: 5vw;
    width: min-content;
}

.draggable-handle {
    padding: 10px 20px;
    white-space: nowrap;
    background: #f5f5f5;
    cursor: move;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    min-width: 320px;
    text-align: center;
}

.dialog-content {
    padding: 10px;
}

/* Стиль во время перетаскивания */
.draggable-dialog.dragging {
    opacity: 0.9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.buttons-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

/* --------------------------- */
@media (max-width: 990px) {
    .mapAclFlexContainer {
        padding: 0;
        grid-template-columns: 1fr;
        column-gap: 0;
    }
        .mapAclFlexContainer .mapBlock {
            padding-right: 30px;
/*            background-color: lightgray;*/
        }
        .mapAclFlexContainer .infosBlock {
            height: fit-content;
        }
}

@media (min-width: 768px) {
    .modal-dialog {
        margin-top: 25vh;
    }
}
