﻿.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
#userMapDialog .modal-content {
    background-color: #fefefe;
    margin-top: 20%;
    margin-left: 60%;
    padding: 5px;
    border: 1px solid #888;
    width: 35%;
}

#loader-1:before, #loader-1:after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 10px solid transparent;
    border-top-color: #3498db;
}

#loader-1:before {
    z-index: 100;
    animation: spin 1s infinite;
}

#loader-1:after {
    border: 10px solid #ccc;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#uploadCustomersDialog .modal-content {
    margin-top: 20%;
    margin-left: 45%;
    width: 5%;
    height: 10%;
    background-color: rgba(0,0,0,0);
    box-shadow: none;
    border: none
}

#allUsersMapDialog .modal-content {
    background-color: #fefefe;
    margin-top: 5%;
    margin-left: 10%;
    padding: 5px;
    border: 1px solid #888;
    width: 80%;
}

#userMapDialog .modal-content {
    background-color: #fefefe;
    margin-top: 20%;
    margin-left: 60%;
    padding: 5px;
    border: 1px solid #888;
    width: 35%;
}

#changeUsersUT .modal-content {
    background-color: #fefefe;
    margin-top: 10%;
    margin-left: 40%;
    padding: 15px;
    border: 1px solid #888;
    width: 15%;
}


/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

#userMap {
    padding-top: 100px; /* Location of the box */
    width: 100%;
    height: 300px;
}

#allUsersMap {
    padding-top: 30px; /* Location of the box */
    width: 100%;
    height: 600px;
}