/* 
FONTS

font-family: "indivisible", sans-serif;
font-weight: 400;
font-style: normal;

font-family: "indivisible", sans-serif;
font-weight: 600;
font-style: normal;

font-family: "indivisible", sans-serif;
font-weight: 700;
font-style: normal; 
*/

body {
    margin: 0;
    padding: 0;
    font-family: "indivisible", sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-text-size-adjust: 100%;
    @media screen and (min-width: 400px) {
        font-size: 1.2rem;
    }
}
button, input {
    font-family: "indivisible", sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-text-size-adjust: 100%;
    @media screen and (min-width: 400px) {
        font-size: 1.2rem;
    }
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

input,
textarea,
select {
	-webkit-text-size-adjust: 100%;
    font-size: 1rem;
    @media screen and (min-width: 768px) {
        font-size: 1.2rem;
    }
}

img {
    max-width: 100%;
    height: auto;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem 2rem;
    @media screen and (min-width: 767px) {
        justify-content: flex-start;
    }
    @media screen and (min-width: 1200px) {
        padding: 3rem 4rem 2rem;
    }
    @media screen and (min-width: 1500px) {
        padding: 3rem 6rem 2rem;
    }
}

header .image-container img {
    
}

header .button-container {
    display:none;
    
    @media screen and (min-width: 768px) {
        display: block;
        background-color: unset;
        padding: 20px 40px 20px 20px;
    }
}

header .button-container .view-table-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 20px 20px 30px;
    border: 2px solid black;
    border-radius: 40px;
    background-color: #4D56A3;
    color: #fff;
    text-align: left;
    transition: all 0.3s ease;
    @media screen and (min-width: 767px) {
        border: unset;
        padding: 20px 20px 20px 30px;
    }
}

header .button-container .view-table-plan:hover {   
    cursor: pointer;
    background-color: #3E4690;
    border-color: #ffffff;
    cursor: pointer;
    img {
        position: relative;
        transform: translateY(-3px);
    }
}

header .button-container .view-table-plan img {
    margin-left: 30px;
    transition: all 0.3s ease;
    @media screen and (min-width: 992px) {
        margin-left: 50px;
    }
}

main {
    box-sizing: border-box;
    background-image: url(/assets/images/Top-Curve-MOB.svg);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 20px;
    @media screen and (min-width: 767px) {
        background-image: url(/assets/images/Top-Curve-DT.svg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 50px 20px 20px;
    }
    @media screen and (min-width: 992px) {
        background-position: center top;
    }
    @media screen and (min-width: 1600px) {
        min-height: calc(100vh - 216px);
    }
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
}

@media screen and (min-width: 767px) {
    .grid-parent {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto;
        grid-column-gap: 20px;
        grid-row-gap: 10px;
        align-items: start;
    }

    .grid-child-1 { grid-column: 1; }
    .grid-child-2 { grid-column: 1; }
    .grid-child-3 { grid-column: 1; }
    .grid-child-5 { grid-column: 1; }
    .grid-child-6 { grid-column: 1; }

    .grid-child-4 { 
        grid-column: 2;
        grid-row: 1 / span 5;
        justify-self: center;
        align-self: start;
    }
}

main .search-title {
    color: white;
    margin: 10px 10px;
    padding: 10px 10px 10px 18px;
    @media screen and (min-width: 767px) {
        padding: 10px;
        margin: 10px 10px 0px;
    }
}
main .search-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 20px 20px 20px 28px;
    border: none;
    border-radius: 40px;
    @media screen and (min-width: 767px) {
        max-width: 90%;
        padding: 20px;
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
main .annual-dinner-graphic-mb, main .annual-dinner-graphic-dt {
    margin: 30px -20px 0px;
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
    height: auto;
    @media screen and (min-width: 768px) {
        margin: 0px;
        padding-right: 30px;
        width: 100%;
    }
}

main .annual-dinner-graphic-mb {
    display: block;
    @media screen and (min-width: 768px) {
        display: none;
    }
}

main .annual-dinner-graphic-dt {
    display: none;
    @media screen and (min-width: 768px) {
        display: block;
    }
}

main .button-container {
    background-color: #4D56A3;
    margin: 30px -20px;
    width: calc(100% + 40px);
    padding: 20px;
    
    @media screen and (min-width: 768px) {
        display:none
    }
}

main .button-container .view-table-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 20px 20px 20px 28px;
    border: 2px solid black;
    border-radius: 40px;
    background-color: #4D56A3;
    color: #fff;
    text-align: left;
}
main .button-container .view-table-plan:hover {   
    cursor: pointer;
}

main .info-text {
    color: #fff;
    margin-bottom: 150px;
    @media screen and (min-width: 768px) {
        padding: 20px 40px 20px 20px;
    }
    @media screen and (min-width: 992px) {
        max-width: 75%;
    }
}

.search-results-container {
    background-color: #E0E2E2;
    border-radius: 10px;
    margin-top: 30px;
    @media screen and (min-width: 768px) {
        margin-top: 20px;
    }
}

.search-results-header {
    display: flex;
    flex-direction: row;
    padding: 20px 40px;
}
.search-results-header h3 {
    padding: 0;
    margin: 0;
}
.search-results-header .clear-results {
    margin-left: auto;
    background-color: #E0E2E2;
    color: #4D56A3;
    border: none;
    text-decoration: underline;
}
.search-results-header .clear-results:hover {
    cursor: pointer;
}

.search-results {
    background-color: #fff;
    padding: 10px 40px;
    max-height: 300px;
    overflow: scroll;
    overflow-x: hidden;
    font-size: 1rem;
}

.search-results .list-item {
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
}

.search-results .results-name {
    display: inline-block;
    padding-right: 10px;
}

.search-results .table-number {
    display: inline-block;
    float: right;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    text-align: center;
}

.modal-close {
    position: fixed;
    top: 7px;
    right: 7px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;

    color: #CADE77;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;

    z-index: 1100;
    transition: all 0.2s ease;

    @media screen and (min-width: 768px) {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 40px;
    }
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
}

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #4FA988;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-top: 1px solid white;
    font-size: 1rem;
    @media screen and (max-width: 375px) {
        flex-direction: column;
        justify-content: center;
    }
    @media screen and (min-width: 450px) {
        padding: 10px 20px;
        font-size: 1.2rem;
    }
    @media screen and (min-width: 768px) {
        padding: 10px 2rem;
    }
    @media screen and (min-width: 1200px) {
        padding: 10px 4rem 10px;
    }
    @media screen and (min-width: 1500px) {
        padding: 10px 6rem 10px;
    }
}

footer .copyright-text {
    
}
footer .altar-text {
    margin-left: auto;
    margin-right: 3px;
    @media screen and (min-width: 400px) {
        margin-right: 5px;
    }
    @media screen and (max-width: 375px) {
        margin: auto;
        margin-bottom: 5px;
    }
}

footer .altar-logo {
    position: relative;
    bottom: 2px;
    object-fit: cover;
    width: 50px;
    height: 100%;
}