html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    background: -webkit-linear-gradient(top, #00BEF0, #50D2DC) no-repeat;
    background: -moz-linear-gradient(top, #00BEF0, #50D2DC) no-repeat;
    background: linear-gradient(to bottom, #00BEF0, #50D2DC) no-repeat;
    font-family: Verdana, sans-serif;
    color: #AEAFB2;
    background-attachment: fixed;
    background-size: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    margin: 0 auto;
    max-width: 600px;
    width: 98%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    -webkit-box-shadow: 0px 5px 15px 2px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 5px 15px 2px rgba(0,0,0,0.25);
    box-shadow: 0px 5px 15px 2px rgba(0,0,0,0.25);
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border: 0px solid #000000;
}

.container-header {
    width: 100%;
    background: #094358;   
    color: #FFFFFF; 
}

.container-header p {
    padding: 2% 5% 2% 5%;
    height: 7%;
}

.form-multi-emails {
    background: #FFFFFF;
    width: 100%;
    height: 93%;
    padding: 30px 24px 30px 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.form-multi-emails input:not([type=file]), .form-multi-emails textarea {
    min-height: 32px;
    max-width: 600px;
    width: 100%;
    padding: 5px;
    margin-bottom: 12px;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 1px solid #E0E0E0;
    font-family: Verdana, sans-serif;
    font-size: 12px;
}

.form-multi-emails input:not([type=file]):focus,
.form-multi-emails textarea:focus {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,153,255,1);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,153,255,1);
    box-shadow: 0px 0px 15px 0px rgba(0,153,255,1);
}

::placeholder {
    font-family: Verdana, sans-serif;
    font-size: 12px;
}

.form-multi-emails input,
.form-multi-emails textarea {
    box-sizing: border-box;
}

.form-multi-emails textarea {
    resize: none;
    height: 132px;
 }

.form-submit {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.thumbnails {
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
 }

 .thumbnails > span {
    color: #757575;
    font-size: 14px;
}

.thumbnails-images {
    height: 15%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.img-thumbnail {
    max-height: 100%;
    max-width: 100%;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

.image {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 90px;
    height: 90px;
    margin: 10px 10px 10px 0px;
}

.img-overlay {
    display:none;
    line-height: 90px;
    text-align: center;
}

.image:hover .img-overlay {
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    position: absolute;
    top:0;
    left:0;
    display: inline-block;
    font-size:20px;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

#span-image {
    display: inline-block;
    color: #FFFFFF;
    background:rgba(136, 136, 136, 0.5);
    border-radius: 50%;
    padding: 0.5em 0.6em;
}

#span-file {
    display: inline-block;
    color: #AEAFB2;
    border-radius: 50%;
    border: 1px solid #E0E0E0;
    padding: 0.5em 0.6em;
    transform: scale(-1, 1) rotate(225deg);
}

#span-file:hover {
    cursor: pointer;
    color: #FFFFFF;
    background: -webkit-linear-gradient(top, #00BEF0, #50D2DC) no-repeat;
    background: -moz-linear-gradient(top, #00BEF0, #50D2DC) no-repeat;
    background: linear-gradient(to bottom, #00BEF0, #50D2DC) no-repeat;
}

#file-upload {
    display: none;
}

.button-submit {
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-weight: bold;
    color: #FFFFFF;
    padding: 10px 20px 10px 20px;
    background: #094358;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
  
.button-submit:disabled {
    background: #E0E0E0;
    color: #AEAFB2;
    border: none;
    cursor: default;
}

input[aria-invalid=true],
textarea[aria-invalid=true]  {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(252,0,0,0.5);
    -moz-box-shadow: 0px 0px 15px 0px rgba(252,0,0,0.5);
    box-shadow: 0px 0px 15px 0px rgba(252,0,0,0.5);
}