.custom-select {
    position: relative;
    background-color: #1f01ff;
    color: white;
    font-size: 16px;
    border: none;
    padding: 5px;
}

.custom-select:focus{
    border:none !important;
}

.custom-select option{
    border: none !important;
}

.custom-select option:hover,
.custom-select option:focus,
.custom-select option:active,
.custom-select option:checked {
    border: none !important;
    background: linear-gradient(#5A2569, #5A2569);
}

.student-dates{
    padding: 100px 0;
    text-align: center;
    width: 60%;
    min-width: 600px;
    margin: 0 auto;
}

.student-dates h2{
    text-align: center;
    padding-bottom: 10px;
    font-size: 30px;
    color: #0a263d;
    display: inline;
}

.student-photo-container{
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

input[type="text"], input[type="number"], input[type="date"] {
    border: none;
    border-bottom: 2px solid #0a263d;
    font-size: 20px;
    margin-bottom: 19px;
    color: #0a263d;
    padding: 7px;
}

.student-photo{
    flex-grow: 1;
    text-align: left;
}

.student-main-info{
    flex-grow: 2;
    display: flex;
    flex-flow: column;
}

.student-photo label, .student-photo img {
    background-color: blue;
    cursor: pointer;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 150px;
}

.student-photo label:hover{
    background-color: #153db0;
}

.student-info-two{
    display: flex;
    flex-flow: column;
}

.student-number input{
    width: 70px;
}

.document-line{
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    align-items: center;
}

.document-name {
    max-width: 60%;
    text-align: left;
}

.document-line p{
    margin: 0;
    color: #0a263d;
    font-weight: bold;
}

.view-document{
    color: #1f01ff;
    border: 2px solid #1f01ff;
    text-decoration: none;
    padding: 8px 13px;
    font-weight: bold;
    cursor: pointer;
}

.upload-document{
    background-color: #1f01ff;
    border: 2px solid #1f01ff;
    color: white;
    text-decoration: none;
    padding: 8px 13px;
    font-weight: bold;
    cursor:pointer;
}

.view-document:hover{
    background-color: #1f01ff;
    color: white;
}

.upload-document:hover, .save:hover {
    background-color: white;
    color: #153db0;
}

.save{
    background-color: #1f01ff;
    border: 2px solid #1f01ff;
    color: white;
    text-decoration: none;
    padding: 17px 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    margin-top: 40px;
}

.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 */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

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

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