/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 17, 2018, 4:32:51 PM
     Author     : ALL-IN-DESIGN
    Location   : SÃO PAULO - BRAZIL
    Contact    : www.all-in-design.com.br
*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    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.7); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 40%;
    /*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;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {bottom:-300px; opacity:0} 
    to {bottom:0; opacity:1}
}

@keyframes animatetop {
    from {bottom:-300px; opacity:0}
    to {bottom:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: tomato;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    height: 200px;
    background-color: #0D47A1;
    /*background-image: url("../images/espaco-confinado-3.jpg") ;*/
    background-repeat: no-repeat;
    background-size: 100%;
    color: white;
        /*MY CODE*/
    -webkit-border-radius: 20px 20px 0 0;
}

.modal-header-title {
    height: 200px;
    -webkit-border-radius: 20px 20px 0 0;
    
}

.modal-header h2 {
    font-size: 38px;
    color: #fff;
    text-align: center;
    padding-top: 3%;
    text-shadow: 2px 2px tomato;
}

.modal-header img {
    padding-top: 7%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.modal-body {
    height: 200px;
    padding: 40px 50px; 
    background-color: #fff;
}

.modal-footer {
    height: 50px;
    padding: 40px;
    background-color: #fff;
        /*MY CODE*/
    -webkit-border-radius: 0 0 20px 20px;
}


@media screen and (max-width: 720px) {
    
.modal {
    display: none; /* Hidden by default */
    padding-top: 15px;
}
.modal-content {
    width: 100%;
}

}