﻿/* The Modal (background)  */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place  */
    z-index: 1; /* 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 opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 4% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    width: 40%; /* Could be more or less, depending on screen size */
    border-radius: 10px;
}

.modal_popup {
    width: 500px;
    padding: 15px;
    box-shadow: 0px 0px;
}

.modal_popup_srv {
    padding: 15px;
    box-shadow: 0px 0px;
}

.modal_popup_srv_buscar {
    width: 600px;
}

/* The Close Button (x) */
.close_popup {
    position: absolute;
    right: 0px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    font-size: 18px;
}

    .close_popup:hover,
    .close_popup:focus {
        color: red;
        cursor: pointer;
    }

    /* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}
