html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.head {
    height: 45px;
}

.head img {
    margin: 0px 10px 0px 30px;
}

.text-danger {
 margin: 0px 20px -5px;
}

/*Parent Form Stuff*/
h2 {
    margin: 0px 10px 10px;
    font-size: 28pt;
}

p {
    margin: 0px 25px 10px;
    font-size: 12pt;
}

.asterisk {
    color: red;
}

.p-last {
    margin-top: 20px;
}

h3 {
    margin: 20px 25px 10px;
    font-size: 22pt;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
}

.input-div {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
}

    .input-div label {
        margin: 10px 25px 0px;
        font-weight: bold;
    }

    .input-div input,
    .input-div select {
        padding: 8px;
        font-size: 16px;
        /* margin: 5px 5px; */
        margin: 5px 25px;
        padding: 8px 4px;
        box-sizing: border-box;
    }

.continue-button {
    float: right;
    padding: 10px;
    font-size: 12pt;
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(to top, #5978df, #7b8efa);
    color: white;
    margin: 15px 25px 0px auto;
}

    .continue-button:hover {
        cursor: pointer;
        filter: brightness(90%);
    }

@media screen and (max-width: 1000px) {
    .flex {
        flex-direction: column;
        width: 100%;
    }
}

/*Student Form*/
h2 {
    margin: 0px 10px 10px;
    font-size: 28pt;
}

p {
    margin: 0px 25px 0px;
    font-size: 12pt;
}

.asterisk {
    color: red;
}

h3 {
    margin: 20px 25px 10px;
    font-size: 22pt;
}

.school-info {
    margin: 10px 25px;
    display: flex;
    flex-direction: column;
}

    .school-info h3, .school-info p {
        margin-left: 0px;
    }

.question-box {
    margin: 15px 0px 0px;
}

select,
input[type="text"],
input[type="date"] {
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.student-info-flex {
    margin: 15px 25px;
    display: flex;
    flex-wrap: wrap;
}

.student-flex-object {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    margin-bottom: 15px;
}

.top-row-item {
    flex-basis: 30%;
}

.bottom-row-item {
    flex-basis: 30%;
}

.add-student {
    flex-direction: row;
}

button {
    margin: 25px 10px 10px 0px;
    padding: 8px 15px;
    font-size: 16px;
    cursor: pointer;
}

.changes-checkbox-container {
    margin: 20px 25px;
    width: 85%;
}

.changes-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.change-item {
    flex-basis: 40%;
    margin-bottom: 10px;
}

.other-info {
    margin: 20px 25px;
    display: flex;
    flex-direction: column;
}

textarea {
    margin-top: 10px;
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

    .buttons button {
        padding: 10px;
        font-size: 12pt;
        border: none;
        border-radius: 5px;
        background-image: linear-gradient(to top, #5978df, #7b8efa);
        color: white;
        margin: 15px 25px 15px;
    }

        .buttons button:hover {
            cursor: pointer;
            filter: brightness(90%);
        }



@media (max-width: 1000px) {
    .top-row-item {
        flex-basis: 100%;
    }

    .bottom-row-item {
        flex-basis: 100%;
    }

    .changes-checkbox-container {
        display: block;
        margin: 20px 25px;
        width: auto;
    }
}

.info-icon {
    /* Style the icon to look clickable, using the blue color from your validation */
    color: #258cfb;
    cursor: help; /* Change mouse pointer on hover */
    margin-left: 2px;
    font-size: 14pt; /* Make the icon noticeable */
}

.std {
    margin: 0px;
}

.top-button {
    padding: 10px;
    font-size: 12pt;
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(to top, #5978df, #7b8efa);
    color: white;
    margin: -15px 15px 0px;
}
.top-button:hover {
    cursor: pointer;
    filter: brightness(90%);
}
/*Confirmation page*/
.success {
    border: 2px solid green;
    background-color: #eaffe6;
    padding: 15px;
    margin: 20px 25px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.success p {
    margin-bottom: 15px;
    font-size: 16px;
}

.confirmation-button {
    padding: 10px;
    font-size: 12pt;
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(to top, #5978df, #7b8efa);
    color: white;
    margin: 0px;
}

.confirmation-button:hover {
    cursor: pointer;
    filter: brightness(90%);
}