/**
 * bl_css.css
 *
 * General CSS for the blending site
 *
 * Table of Contents:
 * 1. General CSS                   - anything for multiple pages or the page in general
 * 2. Resources                     - the resources page styling
 * 3. Header                        - the header / nav bar
 * 4. Footer                        - the footer
 * 5. Transfer group                - the transfer groups page (potentially irrelevant)
 * 6. Privacy Policy                - privacy policy page
 * 7. Login                         - login page
 * 8. Activities                    - activities page
 * 9. Book Ask                      - bookInfoAsk.php CSS
 * 10. Modals                       - anything generic for modals
 * 11. MISC                         - things that are ambiguous
 * 12. Phone                        - the phone version of anything listed above
 *                                  - will be organized in the same order as above
 *
 * @author Sarah Stensland
 * @version 2/2/22
 */


/* -----------------------------------------------------SECTION 1: GENERAL CSS----------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
}

table {
    margin: auto;
    width: 50%;
}

th {
    border-bottom: 3px solid #182258;
    margin: 0;
    font-size: 14pt;
    color: #8b0368;
    padding-bottom: 10px;
    padding-right: 10px;
}

p {
    font-family: Helvetica;
    font-weight: 300;
    font-size: 16px;
    text-align: left;
    color: #707070;
}

div.col-6 {
    padding: 5px;
}

h1 {
    color: #192359;
    text-transform: uppercase;
}

h3 {
    font-family: Helvetica;
    font-weight: bold;
    text-align: center;
    color: #182258;
    margin-left: auto;
    margin-right: auto;
}

h5 {
    text-align: center;
}

h1:nth-child(1) {
    padding-left: 7%;
    width: 87%;
    margin: 0 0 20px 0;
}

h1+div {
    padding-left: 7%;
    padding-right: 15px;
    width: 87%;
}

div>h3 {
    padding: 30px 0;
}

form img {
    width: 45%;
    margin-left: 50%;
    transform: translateX(-55%);
}

input:disabled {
    opacity: .5;
}

input[type=submit] {
    color: white;
}

input[type=submit]:hover {
    background: #706d96;
    color: white;
}

fieldset input {
    width: 416px;
    height: 48px;
    margin: 10px 0;
    padding-left: 10px;
}

fieldset input[type='checkbox'] {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0;
}

input::placeholder {
    color: #5E6D9C80;
}

legend {
    width: 416px;
    height: 41px;
    color: var(--blending-primary-blue);
    text-align: center;
    font: Bold 30px/36px Helvetica;
    letter-spacing: 0px;
    color: #192359;
    opacity: 1;
}


/* Buttons or links hover */

[onclick],
[href],
button:hover {
    cursor: pointer;
}


/* keeps the main flex container from wrapping */

.pageContent {
    flex-wrap: nowrap;
}

div.pageContent {
    flex: 1;
}

.pageContent>.container {
    min-width: 100%;
    padding: 0;
    margin: 0;
}

.row {
    width: 100%;
    margin: 0;
}

.jumbotron {
    background: white;
    padding: 0;
}

.jumbotron.loggedOut {
    background-color: transparent;
}

.jumbotron p {
    height: auto;
    text-align: left;
    font: 24px/29px Helvetica;
    letter-spacing: 0px;
    color: #303033CC;
    opacity: 1;
}


/* Boostrap overrides */

.btn-info {
    width: 100%;
    color: #182258;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border: 2px solid #182258;
    border-radius: 4px;
}

.btn-info:hover {
    background-color: #e4e3e3;
    border-color: black;
    color: #182258;
}

.btn-danger {
    width: 100%;
    height: 48px;
    background: #8B0368 0% 0% no-repeat;
    opacity: 1;
    border-color: #8B0368;
    border-radius: 0;
    margin: auto;
}

.col-6 .btn-danger {
    width: 100%;
    background-color: #8b226a;
    border-color: #8b226a;
}

.btn-danger:hover {
    background-color: #791e5c;
    border-color: #791e5c;
}


/* Things that are always there */

.onForm {
    background-color: #706d96;
}

.onForm .jumbotron {
    background-color: inherit;
}

.flex-container {
    flex-wrap: nowrap;
    flex-direction: column;
    display: flex;
    padding-left: 15px;
}

form.flex-container {
    height: 100%;
    justify-content: space-around;
    padding: 0;
}

.flex-container.onForm {
    flex-direction: column !important;
}

#loggedOut h1,
#loggedOut p {
    color: white;
}

#loggedOut p {
    font-size: 18px;
}

.page-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 1400px;
    margin: 0 auto;
}


/* -----------------------------------------------------SECTION 2: RESOURCES----------------------------------------------------- */

.resourceGrid {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    padding: 10px;
    grid-gap: 25px;
    align-content: center;
    margin: auto;
    width: 75%;
}

.resourceEntry {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    align-content: center;
    position: relative;
    background: #FBFBFB 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border: none;
    border-radius: 4px;
    height: 300px;
}

.resourceEntry a {
    display: none;
}

.resourceEntry:hover a,
.resourceEntry:hover .resourceDesc {
    display: block;
}

.resourceEntry>div {
    padding: 10px 5px;
    background-color: #FFFFFFCC;
    border: #182258 solid 1px;
}

.resourceTitle {
    width: 75%;
    margin: auto;
    font-family: Helvetica;
}

.resourceTitle h1 {
    text-align: left;
    font-weight: bold;
    font-size: 38px;
    color: #182258;
    padding: 0;
    text-transform: capitalize;
}

.resourceTitle p {
    font-weight: lighter;
}

.resourceName {
    font-family: Helvetica;
    font-weight: bold;
    font-style: italic;
    font-size: 14px;
    text-align: left;
    color: #8b0368;
}

.resourceAuthor {
    font-family: Helvetica;
    font-weight: lighter;
    font-style: normal;
    font-size: 14px;
    text-align: left;
    color: #8b0368;
}

.resourceDesc {
    font-family: Helvetica;
    font-weight: lighter;
    font-style: normal;
    font-size: 12px;
    text-align: left;
    color: #303033;
    margin-bottom: 30px;
    display: none;
}

.resourceLink {
    text-align: center;
    font-family: Helvetica;
    font-weight: bold;
    font-size: 14px;
    color: #182258;
    text-transform: uppercase;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#resourceButton {
    color: #2FAC9F;
    font-size: 25px;
    font-weight: bold;
    margin: 50px 0 50px 50%;
    transform: translateX(-50%);
    width: fit-content;
}

#resourceButton .downArrow {
    width: 50px;
    height: auto;
    transform: rotateX(180);
}

#additionalResources {
    display: none;
}

.explore {
    font-family: Helvetica, bold;
    color: #2FAC9F;
    size: 30px;
    justify-content: center;
}


/* -----------------------------------------------------SECTION 3: HEADER----------------------------------------------------- */

nav.navbar {
    background-color: white;
    box-shadow: 0px 3px 6px #00000029;
}

li.nav-item {
    margin: 0 7px;
}

#logo {
    padding-right: 0;
    max-height: 50px;
}

#navbarLogo {
    max-width: 50%;
    padding: 0px;
}

#loggedOut #navbarSupportedContent ul li {
    box-shadow: 2px 3px 6px #00000033;
    border: 1px solid #707070;
    border-radius: 25px;
    width: 100px;
    text-align: center;
}

#testModeDiv {
    width: 100%;
    background-color: #8B0368;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

#testModeDiv a {
    color: white;
    text-decoration: underline;
}


/* -----------------------------------------------------SECTION 4: FOOTER----------------------------------------------------- */

footer {
    width: 100%;
    font-size: small;
}

.footer-navbar {
    display: flex;
    flex-direction: row;
    flex-flow: nowrap;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-flow: nowrap;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #182258;
    padding: 10px 5px;
    border-top: 1px solid #eee;
}

.footer-links a {
    color: #182258;
    text-align: center;
    padding: 0px 10px;
}

.footer-links img {
    color: #182258;
    text-align: center;
    padding: 0px 10px;
}

.copyright {
    background-color: white;
    color: #182258;
    padding: 10px;
}


/* -----------------------------------------------------SECTION 5: TRANSFER GROUP----------------------------------------------------- */

#transferGroup input[type='submit'] {
    margin-left: 50%;
    transform: translateX(-50%);
}

#transferGroup select {
    width: 278px;
    height: 37px;
    background: #ffffff;
    border: 1.25px solid #706d96;
    margin: 10px 0;
}

#transferGroup td:last-child {
    text-align: end;
}

#transferGroup th:last-child {
    text-align: center;
}

#transferGroup td:last-child,
#transferGroup th:last-child {
    padding-right: 30px;
}

#transferGroup td:first-child,
#transferGroup th:first-child {
    padding-left: 30px;
}


/* -----------------------------------------------------SECTION 6: PRIVACY POLICY----------------------------------------------------- */

.jumbotron.privacyPolicy {
    margin: 0 auto;
    width: 85%;
}

.privacyPolicy h2 {
    margin-top: 75px;
    margin-bottom: 32px;
}

.privacyPolicy h2,
.privacyPolicy h4 {
    font-weight: bold;
}


/* -----------------------------------------------------SECTION 7: LOGIN----------------------------------------------------- */

.loginBackground {
    background-image: linear-gradient(to bottom, #3B4673, #8B0368);
    background-position: top;
    background-size: cover;
    border: 1px solid #182258;
    border-radius: 10px;
    width: fit-content;
    padding: 25px;
    margin: 50px auto auto;
    box-shadow: #00000033 6px 6px 6px;
}

.loginBackground form,
.loginBackground legend {
    color: white;
}

.loginBackground form div {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.loginBackground form input[type=submit] {
    background-color: white;
    color: #801F67;
    border-radius: 25px;
    width: fit-content;
    padding: 0px 30px;
    justify-self: center;
    margin-left: 50%;
    transform: translateX(-50%);
}

.loginBackground form p {
    color: white;
    margin-top: 2rem;
    font-size: small;
}


/* -----------------------------------------------------SECTION 8: ACTIVITIES----------------------------------------------------- */

.activityBox {
    display: flex;
    flex-direction: row;
    margin: 0 5%;
}

.numbering {
    font-size: 50pt;
    margin-right: 8%;
    color: #706d96;
}

.notNumbering {
    color: #706d96;
}

.activityBox:nth-child(even) .numbering {
    color: #8b0368;
}

.activityBox:nth-child(even) .notNumbering {
    color: #8b0368;
}

#toBlendingDrawing {
    margin: 0 0 50px 50%;
    transform: translateX(-50%);
    width: fit-content;
    color: white;
}

#resourcesBtn {
    background-color: #182258;
    border-color: #182258;
    width: fit-content;
    margin-left: 50%;
    margin-bottom: 30px;
    transform: translateX(-50%);
}


/* -----------------------------------------------------SECTION 9: BOOK ASK----------------------------------------------------- */

.bookAsk {
    background-image: url("./../images/NewIndex/coupleBackground.svg");
    background-size: cover;
    background-position: bottom;
}


/* Do you consent to share info with family life div */

#consentDiv {
    width: 450px;
    margin: auto;
    margin-top: 50px;
    background-image: linear-gradient(to bottom, #3B4673, #8B0368);
    border-radius: 25px;
    padding: 30px;
    color: white;
}


/* The text in the consent div */

#consentDiv p {
    color: white;
}


/* The flex box holding the "yes/no" buttons */

#consentBtnDiv {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


/* The consent yes / no button styling */

#consentBtnDiv button {
    background-color: white;
    color: #8B0368;
    border-radius: 20px;
    box-shadow: 6px 6px 6px #00000033;
    border: 2px solid #551645;
    width: -webkit-fill-available;
    width: -moz-available;
    margin: 0 15px;
    height: 40px;
}


/* -----------------------------------------------------SECTION 10: MODALS----------------------------------------------------- */

.modal-body {
    -webkit-overflow-scrolling: touch;
}

.modal-backdrop {
    z-index: -1;
}

.vertical-alignment-helper {
    width: 96%;
    height: 55%;
}


/* -----------------------------------------------------SECTION 11: MISC----------------------------------------------------- */

.downArrow {
    width: 40px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.name,
.parentName {
    width: 120px;
}

.age {
    width: 60px;
}


/* -----------------------------------------------------SECTION 12: PHONE----------------------------------------------------- */

@media screen and (max-width: 1000px) {
    /* 1. General */
    .btn-danger {
        margin-left: -20%;
        width: 100%;
        height: auto;
        margin: auto;
        white-space: normal;
    }
    fieldset input {
        width: 95%;
        margin-left: 5%;
        border: grey 1px solid;
        border-radius: 3px;
    }
    fieldset input[type=submit] {
        margin-left: 5%;
        width: 95%;
        height: 48px;
    }
    legend {
        width: 95%;
        margin-bottom: 10%;
    }
    .flex-container {
        flex-direction: column;
    }
    h3 {
        font-size: 20px;
        width: 100%;
        height: 54px;
        color: #182258;
    }
    /* Submit Button */
    input[type=submit] {
        width: 95%;
        height: 48px;
        background: #8b226a;
        border-color: #8b226a;
        margin: auto;
    }
    h1 {
        font-size: 20pt;
        color: #192359;
        text-transform: uppercase;
    }
}

@media screen and (max-width: 750px) {
    /* 1. General */
    .div.col-6 {
        margin: 0;
    }
    .onForm {
        background-color: white;
    }
    .onForm .flex-container {
        padding-right: 9px;
    }
    /* 2. Resources */
    .resourceGrid {
        grid-template-columns: auto auto;
    }
    /* 9. Book Ask */
    #consentDiv {
        width: 95%;
    }
}

@media screen and (max-width: 500px) {
    /* 1. General */
    p {
        font-size: 14pt !important;
    }
    .div.col-6 {
        margin: 0;
    }
    /* 2. Resources */
    .resourceGrid {
        grid-template-columns: auto;
    }
    /* 8. Activities */
    .activityBox {
        margin-left: -5%;
    }
    .numbering {
        visibility: hidden;
    }
}

@media screen and (max-width: 320px) {
    /* 4. Footer */
    .footer-links {
        flex-direction: column;
    }
    .footer-links img {
        display: none;
    }
}

@media screen and (min-width: 1000px) {
    /* 1. General */
    div.col-6 {
        max-width: 450px;
        margin: 0 20px;
    }
    fieldset input[type=submit] {
        width: 416px;
        height: 48px;
    }
    /* Submit Button */
    input[type=submit] {
        width: 95%;
        height: 48px;
        background: #8b226a;
        font-size: 15pt;
        border-color: #8b226a;
        margin: 0 auto 10px;
    }
}

@media screen and (max-width: 1300px) {
    /* 1. General */
    .flex-container {
        flex-direction: column;
    }
}


/* 
COMMENTED OUT ON 1/24/22
.jumbotron.support {
    background: #FFFFFFE6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 15px #00000029;
    border: 1px solid #F0F0F0;
    margin: 0 auto;
    width: 85%;
    padding: 10px;
} 

.jumbotron.support h5 {
    text-align: left;
}

.jumbotron.support p {
    font-size: 14pt;
    padding: 0;
}

.jumbotron.support input {
    margin-left: 5%;
    border-color: #182258;
}

.jumbotron.support label {
    color: #182258;
}

.jumbotron.support textarea {
    width: 90%;
    height: 150px;
    margin-left: 5%;
    border: 1px gray solid;
} */