/* style sheet for contact page only*/
/* based on examples found on the internet*/
/* Tested and uploaded 19 Dec 2023*/

#contact {
    display:block;
}

#check {
    display:block;
}

.body {
    margin: 0;
    font-family:Tahoma;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #f2f2f2;
    padding: 30px;
    padding-bottom: 10px;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    max-width: 100%;
    max-width: 600px
}

.error {
    color: #FF0000;
}

.contact-group {
    margin-bottom: 1rem;
}

.input {
    position: relative;
    /*display: -ms-flexbox;*/
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 600px
}

.check-control {
    display: block;
    width: 33%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.15rem 0.15rem 0.15rem 28rem;/* box to far right*/
    font-size: 0.2rem;
    font-weight: 100;
    line-height: 1.5;
    opacity: 0.1;
    color: brown;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    /*border: 3px solid red; only for debug*/
    outline: none;
    border-radius: 0.4rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.contact-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    color: brown;
    /*color: #495057;*/
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.4rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.contact-control:focus {
    border: 1px solid #313131;
}

select.contact-control[size], select.contact-control[multiple] {
    height: auto;
}

textarea.contact-control {
    font-family: Tahoma;
    height: auto;
}

label.lbl {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #f2f2f2;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #008000;
    /*border: 1px solid brown;*/
    padding: 0.375rem 0.75rem;
    font-size: 1.2rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.btn:hover {
  background-color: #fff111;
  color: red;
}
