﻿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;
}

.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;
    min-height:53px;
}

.form-modal-footer .left-footer-column {
    float: left;
    
}

.form-modal-footer .right-footer-column {
    float: right;
   
}

.result-message-container {
    text-align:center;
    margin-top: 7px;
    margin-bottom: 7px;
    padding:7px;
    
}

.result-message-container p {

    
}

#form-button-cancel-contact {
    background-color: rgb(57,57,57);
    border: 1px solid #fff;
    color: #fff;
    margin-top: 30px;
    margin-left: 20px;
    padding:7px;
    border-radius:3px;
}

#form-button-submit-contact {
    background-color: rgb(57,57,57);
    border: 1px solid #fff;
    color: #fff;
    margin-top: 30px;
    margin-right: 25px;
    padding: 7px;
    border-radius: 3px;
    cursor: pointer;
}

#form-button-submit-contact: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;
    margin-top:6px;
    padding:7px;
    border-radius:2px;
}

#form-errors-contact{

    border:3px solid red;
    padding:7px;
}

.form-label.contact{

    font-size:1.3rem;
    color:rgb(22,22,22);
    font-weight:600;
}

p.contact-sender{

    text-align:center;
    font-weight:600;
    
}

.form-text-area-box
{
    width:100%;
}

/* responsive */

/* Turnstile widget — allow it to shrink/scroll on narrow containers */
.cf-turnstile {
    max-width: 100%;
    overflow: hidden;
}

@media screen and (min-width: 768px) {

    #contactModalForm {
        width: 33%;
    }
}

@media screen and (max-width: 768px) {

    #contactModalForm {
        width: 62%;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {

    .modal-content {
        width: 80%;
    }

    .modal {
        padding-top: 60px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {

    .modal-content {
        width: 95%;
    }

    .modal {
        padding-top: 20px;
    }

    #form-button-cancel-contact,
    #form-button-submit-contact {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {

    #tb-contact-subject {
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {

    #tb-contact-subject {
        font-size:10px;
    }
}

@media screen and (max-width: 400px) {

    p.contact-sender {
        font-weight:normal;
    }

    
}


