/* 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 w/ opacity */
    text-align: center;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
}

/* Mobile Portrait Size -> Mobile Landscape Size */
@media only screen and (max-width:479px) {

    /* Modal Content/Box */
    .modal-content {
        margin: 30% auto; /* 15% from the top and centered */
        padding: 20px;
        border: 1px solid #888;
        width: 70%; /* Could be more or less, depending on screen size */
    }

}

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

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

.contact-modal {
    border: 2px solid #04C3A5;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #04C3A5;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    margin-top: 20px;
    padding: 10px 20px 10px 20px;
    position: relative;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.modal-title {
    font-size: 25px;
    font-weight: 100;
    color: #04c3a5;
}

.modal-message {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 100;
    color: #999999;
}

.modal-text {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 100;
    color: #999999;
}
