/* The Modal (background) */
.modal-custom {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px;
    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-custom-aberto {
    display: block !important;
}
/* Modal Content/Box */
.modal-custom-content {
    position: relative;
    width: 85%;
    margin: 0 auto 30px;
    padding: 0;
    background-color: #fefefe;
    color: #000;
    border-radius: 30px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
@media (min-width: 992px) {
    .modal-custom-content {
        width: 60%;
    }
}
//* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.modal-custom-body h3 {
    margin: 0 0 30px;
}
.modal-custom-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 30px;
    overflow: hidden;
}
.modal-custom-flex .modal-custom-text {
    flex-grow: 1;
    padding: 30px;
    text-align: center;
}
@media (min-width: 992px) {
    .modal-custom-flex {
        flex-direction: row;
    }
    .modal-custom-flex .modal-custom-text {
        padding: 50px;
        text-align: left;
    }
}
.modal-custom-foto {
    width: 100%;
    height: 250px;
    background: url('../image/foto-modal.jpg') no-repeat center;
    background-size: cover;
    flex-grow: 1;
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .modal-custom-foto {
        width: 35%;
        height: auto;
    }
}
/* The Close Button */
.modal-custom-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal-custom-close:hover,
.modal-custom-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-custom .btn {
    height: 44px;
    line-height: 44px;
    font-size: 1rem;
}
.btn-outlined {
    background-color: transparent !important;
    border: 2px solid #04f706 !important;
    color: #04f706 !important;
    line-height: 42px !important;
}
.btn-outlined:hover {
    background: #04f706 !important;
    border-color: #04f706 !important;
    color: #fff !important;
}