﻿body {
    font-family: Arial, Helvetica, sans-serif;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    padding-top: 100px; /* Location of the box */
    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 {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}



/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 2px 16px;
    background-color: #222b36;
    color: white;
    text-align: center;
    display: table;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 55px;
}

    .modal-header h2 {
        text-align: center;
        vertical-align: middle;
        display: table-cell;
        font-weight: 600;
        font-size: 24px;
        padding: 7px;
    }


.modal-body {
    padding: 2px 16px;
    background-color: #f4f4f4;
}

.form-modal-footer {
    padding: 2px 16px;
    background-color: #222b36;
    color: white;
}

.left-column {
    width: 20%;
    float: left;
    margin-top: 3px;
}

.right-column {
    width: 80%;
    float: right;
}

.clear {
    clear: both;
}

.required {
    color: red;
}

.form-text-box {
    width: 90%;
    padding: 5px;
}

#form-button-cancel {
    float: left;
    margin-bottom: 20px;
}

#form-button-submit {
    float: right;
    margin-bottom: 20px;
}

.form-modal-footer {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

    .form-modal-footer .left-footer-column {
        float: left;
        margin-left: -17px;
    }

    .form-modal-footer .right-footer-column {
        float: right;
        margin-right: -23px;
    }

.result-message-container {
    text-align: center;
    margin-top: 7px;
    margin-bottom: 7px;
}

    .result-message-container p {
    }

#form-button-cancel-contact-info {
    background-color: rgb(57,57,57);
    border: 1px solid #fff;
    color: #fff;
    margin-top: 30px;
    margin-left: 20px;
    margin-bottom: 10px;
    padding: 7px;
    border-radius: 3px;
}

#form-button-submit-contact-info {
    background-color: rgb(57,57,57);
    border: 1px solid #fff;
    color: #fff;
    margin-top: 30px;
    margin-right: 25px;
    margin-bottom: 10px;
    padding: 7px;
    border-radius: 3px;
    cursor: pointer;
}

#form-button-submit-contact-info:disabled {
    background-color: rgb(160,160,160);
    border: 1px solid #aaa;
    color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

#resultModal .modal-content {
    background-color: #222b36;
}

.result-message-container p {
    color: #fff;
}

#result-button-ok {
    background-color: #393939;
    border: 1px solid #fff;
    color: #fff;
    padding-top: 4px;
}

#form-errors {
    border: 3px solid red;
    padding: 7px;
}


/* test contact information */

#contactInfoModal {
    display: none;
}

.required-indicator {
    color: #da1e28;
    margin-left: 2px;
}

.form-group {
    margin-bottom: 24px;
}

#contactForm {
    padding-top: 10px;
}

#contactForm label {

    font-size:1.3rem;
}

input::placeholder{
    font-size:0.8rem;
}

.form-control{
    padding:0.25rem;
}

/* Turnstile widget — allow it to shrink/scroll on narrow containers */
.cf-turnstile {
    max-width: 100%;
    overflow: hidden;
}

/* Tablet */
@media screen and (max-width: 768px) {

    .modal-content.contact-modal-content {
        width: 80%;
    }

    .modal {
        padding-top: 60px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {

    .modal-content.contact-modal-content {
        width: 95%;
    }

    .modal {
        padding-top: 20px;
    }

    #form-button-cancel-contact-info,
    #form-button-submit-contact-info {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media screen and (max-width: 400px) {

    input::placeholder {
        font-size: 0.7rem;
    }
       

}

/*@media screen and (min-width: 1200px) {

    #contact-info-header {
        padding:10px;
        font-weight:bold;
    }
}*/

#contact-info-header {
    padding: 10px;
    font-weight: bold;
}


@media screen and (max-width: 1300px) {

    #contact-info-header {
        padding:10px;
        font-weight:bold;
        font-size:1rem;
    }
}
