:root
{
    --theme-color: #0396f1;
    --offwhite: #faf4eb;
    --hover-eff: #ff7200;
}

*
{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif !important;
}

#booksDiv, #bibleStudy, #events, #programs, #leaders, #pictures, #sermons{
    width: 100%;
}

.contactUs
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    /* position: relative; */
    width: 100%;
    margin-top: 10px;
    /* padding: 0px 30px; */
}

.contactUs .title
{
    display: flex;
    justify-content: start;
    align-items: center
}

.contactUs .title h3
{
    /* font: 600 2rem sans-serif; */
    /* text-transform: uppercase; */
    font-size: 1.4em;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 20px;
    /* text-align: center; */
    color: var(--hover-eff);
}

.form
{
    grid-area: form;
}

.info
{
    grid-area: info;
}

.map
{
    grid-area: map;
}

.contact2
{
    border-radius: 10px;
    padding: 40px;
    background: white;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.buttons{
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.buttons button{
    background: var(--offwhite);
    color: var(--theme-color);
    border: none;
    font-size: 0.9em;
    max-width: 200px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 25px 5px 25px;
    transition: 0.4s;
    border-radius: 5px;
    margin-right: 10px;
}

.buttons button:hover{
    background: var(--hover-eff);
    color: var(--offwhite);
}

.box
{
    width: 100%;
    /* min-height: 64vh; */
    /* position: relative; */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: start;
    grid-template-areas: "form";
    /* grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas:
    "form info"
    "form map"; */
    grid-gap: 20px;
    margin-top: 20px;
}

.contact2 h3
{
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Form */
.formBox
{
    position: relative;
    width: 100%;
}

.formBox .row50
{
    display: flex;
    gap: 20px;
}

.inputBox
{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputBox
{
    width: 100%;
}

.formBox select{
    padding: 10px;
    font-size: 0.8em;
    outline: none;
    border: 1px solid #333;
}

.formBox select option{
    padding: 10px;
    font-size: 1.2em;
    outline: none;
    border: 1px solid #333;
    background-color: white;
}

.inputBox span
{
    font-family:'Arial';
    color: var(--hover-eff);
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.checkBox{
    margin-top: 20px;
    margin-bottom: 20px;
}

.checkBox span
{
    font-family:'Arial';
    color: var(--hover-eff);
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input
{
    padding: 10px;
    font-size: 0.8em;
    outline: none;
    border: 1px solid #333;
}

.inputBox textarea
{
 padding: 10px;
 font-size: 0.8em;
 outline: none;
 border: 1px solid #333;   
 resize: none;
 min-height: 220px;
 margin-bottom: 10px;
}

.inputBox input[type = "submit"]
{
    background: var(--theme-color);
    color: #fff;
    border: none;
    font-size: 1em;
    max-width: 200px;
    /* font-weight: 500; */
    cursor: pointer;
    padding: 5px 25px 5px 25px;
    transition: 0.4s;
    border-radius: 5px;
    margin-top: 10px;
    position: relative;
    /* animation: loaderRotate 2s linear infinite; */
}

.inputBox input[type = "submit"]:hover
{
    background: var(--hover-eff);
    /* font-size: 1.0em; */
}

#submitDiv{
    position: relative;
}

#loader, .loader{
    display: none;
    height: 20px;
    width: 20px;
    border: 5px dotted var(--hover-eff);
    border-radius: 50%;
    position: absolute;
    margin-top: 15px;
    /* margin-left: 90px; */
    animation: loaderRotate 2s linear infinite;
}

/* .inputBox input[type = "submit"]::before{
    content: 'kkkkkkkkkkkkkkkkk';
    color: black;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dotted black;
    background-color: red;
    position: absolute;
    animation: loaderRotate infinite;
} */

@keyframes loaderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.inputBox ::placeholder
{
    color: #999;
}

/* Info */
.info
{
    background: var(--theme-color);
}

.info h3
{
    color: #fff;
}

.ctn-icn
{
    object-fit: contain;
    width: 24px;
    height: 24px;
    fill: var(--theme-color);
}

.info .infoBox div
{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info .infoBox div span
{
    min-width: 40px;
    height: 40px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    border-radius: 50%;
}

.info .infoBox div p
{
    color: #fff;
    font-size: 1.1em;
}

.info .infoBox div a
{
    color: #fff;
    font-size: 1.1em;
    text-decoration: none;
}

.ssl
{
    margin-top: 40px;
    display: flex;
}

.ssl li
{
    list-style: none;
    margin-right: 23px;
}

.ssl .ctn-icn2
{
    object-fit: contain;
    width: 33px;
    height: 33px;
    fill: #eee4e4;
    transition: 0.2s;
}

.ssl .ctn-icn2:hover
{
    fill: #fff;
}

/* Map */
.map
{
    padding: 0;
}

.map iframe
{
    width: 100%;
    height: 100%;
}

/* Responsiveness */
@media (max-width: 991px)
{
    .contactUs
    {
        padding: 20px;
    }
    .box
    {
        grid-template-columns: 2fr;
        grid-template-rows: auto;
        grid-template-areas:
        "form"
        " info"
        "map";
    }
    .map
    {
        min-height: 300px;
    }
    .formBox .row50
    {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .inputBox
    {
        width: 100%;
    }
}

@media (max-width: 500px)
{
    .contactUs .title
    {
        font-size: 1.4em;
    }
    .contactUs .title h2
    {
        font-weight: 300;
    }
    .box
    {
        max-width: 100%;
    }
    .contact2
    {
        width: 100%;
    }
}