.modal{
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content{
    background-color: white;
    margin: 20% auto;
    width: 500px;
    min-height: 160px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    animation-name: openModal;
    animation-duration: 0.5s;
}
.modal-content h2{
    text-align: center;
    font-size: 26px;
    line-height: 60px;
    background-color: #ff7942;
    border-bottom: 3px solid #333;
    color: white;
    margin: 0;
}

.modal-content p{
    margin: 0;
    padding: 10px;
}

.modal-content textarea{
    margin: 10px;
    width: calc(100% - 20px);
    min-height: 100px;
}

.modal-button{
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    background-color: #ff7942;
    border-top: 3px solid #333;
}

.modal-button a{
    display: inline-block;
    width: 49.6%;
    text-align: center;
    color: white;
    line-height: 40px;
    text-decoration: none;
    transition: all 0.2s ease-in; /* Standard */
    -webkit-transition: all 0.2s ease-in; /* Webkit */
    -moz-transition: all 0.2s ease-in; /* FireFox */
    -o-transition: all 0.2s ease-in; /* Opera */
}
#modalValidateBtn:hover{background-color: #0F0; color: black;}
#modalValidateBtn{cursor: pointer}
#comModal{display: none; resize: vertical;}

.modal-button a:hover{
    cursor: pointer;
    background-color: #F00;
    color: black;
}

@keyframes openModal {
    from{opacity: 0}
    to{opacity: 1}
}

#modalError{
    color: red;
    display: none;
}
