/* at map_user.php, map_publish.php, map.php, map2.php */

.shareIcon {
    font-size: 45px;
}

.shareFacebook {
    color: skyblue;
}

.shareWhatsapp {
    color: green;
}

.shareInstagram {
    color: purple;
}

.overlay {
    background-color: gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
    pointer-events: none;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    /* adjust max-width value as needed */
    .iframe-container {
        padding-bottom: 75%;
        /* 4:3 aspect ratio */
    }
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 15px;
    z-index: 999;
    border-radius: 15px;
    /* max-width: 340px; */
    /* width: 100%; */
    opacity: 0;
    pointer-events: none;
    border-style: inset;
    box-shadow: 5px 10px #888888;
}

@media screen and (max-width: 768px) {
    .popup {
        top: 50%;
        width: 90%;
        max-width: 400px;
    }
}

.popup.show {
    opacity: 1;
    pointer-events: auto;
}

.popup :is(header, .icons, .field) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup header {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    max-width: 400px;
}

.tabs_label {
    padding: 10px 16px;
    cursor: pointer;
}

.tabs_radio {
    display: none;
}

.popup .tabs .tabs_content {
    margin: 20px 0;
}

.tabs_content {
    order: 1;
    width: 100%;
    line-height: 1.5;
    font-size: 0.9em;
    display: none;
}

.popup .tabs_content {
    margin: 0px 0;
}

.tabs_content .field {
    margin: 12px 0 -5px 0;
    height: 45px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 0 5px;
}

.field.active {
    border-color: black;
}

.field input {
    border: none;
    outline: none;
    height: 100%;
    width: 75%;
    font-size: 15px;
}

.tabs_content .icons {
    margin: 15px 0 20px 0;
    padding-left: 10%;
    padding-right: 10%;
}

.tabs_radio:checked+.tabs_label {
    font-weight: bold;
    color: black;
    border-bottom: 2px solid black;
}

.tabs_radio:checked+.tabs_label+.tabs_content {
    display: initial;
}

.editMap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 15px;
    z-index: 999;
    border-radius: 15px;
    /* max-width: 340px; */
    /* width: 100%; */
    opacity: 0;
    pointer-events: none;
    border-style: inset;
    box-shadow: 5px 10px #888888;
    /* box-shadow: 5px 10px #0c3f97; */
    height: 400px;
    width: 600px;
    /* Adjust the width value as desired */
}

@media screen and (max-width: 768px) {
    .editMap {
        width: 90%;
        max-width: 400px;
        left: 50%;
        
    }
}

.editMap.show {
    opacity: 1;
    pointer-events: auto;
}

.editMap header {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}

.editMap :is(header, .icons, .field) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exportMap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 15px;
    z-index: 999;
    border-radius: 15px;
    width: 400px;
    /* max-width: 340px; */
    /* width: 100%; */
    opacity: 0;
    pointer-events: none;
    border-style: inset;
    box-shadow: 5px 10px #888888;
}

@media screen and (max-width: 768px) {
    .exportMap {
        width: 90%;
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
    }
}

.exportMap.show {
    opacity: 1;
    pointer-events: auto;
}

.exportMap header {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}

.exportMap .button-container {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.exportMap .button-container button {
    height: 40px;
}