

/*-- -------------------------- -->
<---           LANDING          -->
<--- -------------------------- -*/

body.dark-mode {
    background: #000 !important;
}

body.dark-mode li {
    color: #fff;
}

body.dark-mode h4 {
    color: #fff;
}
body.dark-mode #contact h3 {
    color: #fff;
}

.contact-topper.dark-mode {
    color: #fff !important;
}

.contact-right h4.dark-mode {
    color: #fff;
}

.contact-right a.dark-mode {
    color: #fff;
}



/*-- -------------------------- -->
<---            FORM            -->
<--- -------------------------- -*/

#contact {
    height: auto;
    padding-top: 0;
    padding-bottom: 50px !important;
}

.contact-topper {
    font-weight: 700;
    font-size: 2.1875em;
    margin-bottom: 0px;
    position: relative;
    margin-top: 50px;
    color: #414141;
}

#contact h3 {
    width: 100%;
    margin-bottom: 25px;
    margin-top: 0;
}

.contact-topper span {
    color: var(--primary);
    display: inline-block;
    display: block;
}

/* Form */
#valley-form {
    display: relative;
}

#contact input[type="text"],
#contact input[type="email"], 
#contact input[type="tel"], 
#contact input[type="url"], 
#contact textarea, 
#contact button[type="submit"] { 
    font:400 12px/16px "Open Sans", Helvetica, Arial, sans-serif; 
}

label, .license {
    font-family: "Open Sans", Helvetica, Arial, sans-serif; 
    margin-bottom: 7px;
    display: block;
}

input[type="radio"] {
    font-family: "Open Sans", Helvetica, Arial, sans-serif; 
}

#contact {
    background: transparent;
    position: relative;
    z-index: 3;
    max-width: 350px;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 100px;
}

#contact h3 {
    color: #414141;
    display: block;
    font-size: 1.75em;
    font-weight: 700;
}

.form-text {
    margin: 0 0 30px 0;
    display:block;
    color: #414141;
    line-height: 1.6em;
}

form p{
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

.link {
    color: var(--primary);
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}

.license {
    display: block;
    margin-bottom: 15px;
}
.inline {
    display: block;
}

.bottom {
    margin-bottom: 25px;
}

.margin {
    margin-bottom: 40px;
}

#height, #license {
    margin-bottom: 20px;
}

#contact input[type="text"], 
#contact input[type="email"], 
#contact input[type="tel"], 
#contact input[type="url"], 
input[type="date"],
input[type="number"],
#job, #height, #license,
#contact textarea {
    width:100%;
    border:1px solid #CCC;
    background:#FFF;
    margin:0 0 35px;
    padding:15px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

#contact input[type="text"]:hover, 
#contact input[type="email"]:hover, 
#contact input[type="tel"]:hover, 
#contact input[type="url"]:hover, 
#contact textarea:hover {
    -webkit-transition:border-color 0.3s ease-in-out;
    -o-transition:border-color 0.3s ease-in-out;
    transition:border-color 0.3s ease-in-out;
    border:1px solid #AAA;
}

#contact textarea {
    height:100px;
    max-width:100%;
    resize:none;
    margin-bottom: 30px;
}

#contact button[type="submit"] {
    cursor:pointer;
    width: 100%;
    font-weight: 900;
    font-size: 1em;
    margin: 0;
    background: var(--primary);
    color: #1a1a1a;
    width: auto;
    padding: 10px 30px;
    border: none;
}

#contact button::before {
    border-color: var(--primary);
}

#contact button::after {
    border-color: var(--primary);
}

#contact button[type="submit"]:hover {
    opacity: .6;
    -webkit-transition:background 0.3s ease-in-out;
    -webkit-transition:background-color 0.3s ease-in-out;
    -o-transition:background-color 0.3s ease-in-out;
    transition:background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active { 
    -webkit-box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); 
    box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
    outline:0;
    border:1px solid #999;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}

.form-h4 {
    font-size: 1.5625em;
}

.form-p {
    margin-bottom: 100px;
}

.form-submit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.contact-right {
    padding-top: 50px;
    padding-bottom: 50px;
}

.contact-right h3 {
    font-weight: 700;
    font-size: 2.1875em;
    margin-bottom: 0px;
    position: relative;
    color: #414141;
}

.contact-right h4 {
    font-size: 1.25em;
    line-height: 1.8em;
    color: #808080;
    font-weight: normal;
    margin-top: 20px;
}

.contact-right p {
    margin: 15px auto;
}

.contact-right p span {
    color: var(--primary);
    font-weight: bold;
}

body.dark-mode label {
    color: #fff;
}


/* Tablets */
@media screen and (min-width: 500px) and (max-width: 1024px) {


    /*-- -------------------------- -->
    <---            FORM            -->
    <--- -------------------------- -*/

    #valley-form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    #contact {
        max-width: 100%;
        margin-top: 50px;
    }

    .contact-right {
        text-align: left;
        width: 500px;
        margin-bottom: 50px;
        width: 100%;
    }

}

/* Desktop */
@media screen and (min-width: 1025px) {


    /*-- -------------------------- -->
    <---            FORM            -->
    <--- -------------------------- -*/

    #valley-form {
        height: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        padding-top: 80px;
        padding-bottom: 0px;
        position: relative;
        z-index: 100;
        margin-bottom: 60px;
    }

    #contact {
        max-width: 600px;
    }

    .contact-right {
        width: 300px;
        -webkit-transform: translateY(40px);
            -ms-transform: translateY(40px);
                transform: translateY(40px);
    }

}