﻿.formContainer {    
    width: 300px;
    height: 500px;
    margin-left: -150px;
    padding-top:5px;
    top:5%;    
    left: -100%;
    position: fixed;
    z-index: 99999;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: rgba(0,0,0,.6) 0px 0px 35px;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    /*transition: opacity 1s ease-in-out;*/
}
.formContainerClose {
    float:right;
    margin-right:15px;
    font-size:1.5em;
    color: #d8d6d6;
    cursor:pointer;
    font-weight:600;
}
.formContainerClose:hover {
    color:#333;
}

.spinnerContainer {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99998;    
    left: 100%;
    top: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.shade.active {
    opacity: .4;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.formContainer.active {
    opacity: 1;
    transition: opacity 1s ease-in-out;
    left:50%;    
}
.formContainer.submitting {
    z-index:99997;    
}
.spinnerContainer.submitting {
    opacity: 1;
    left: 0;
    top:50%;
    transition: opacity 1s ease-in-out;  
}
.contactFormHeader {
    margin: 0;
    padding: 0;
    line-height: 2.75em !important;
    font-size: 1.5em !important;
    color: #7d7c7c;
    font-weight:600;
}

.formPanel {
    padding-left: 20px;
    padding-right: 20px;
    height: 500px;
    width: 300px;
}
.contact-info {
    color:#7d7c7c;   
    font-size:.9em;
    text-align:right; 
}
.g-recaptcha {
    transform: scale(.85);
    margin-left: -20px;
    margin-top: -10px;
}
.contactFormSubmitBtn {
    background: #e53e1b;
    color: #fff;
    padding-top: 3px;
    padding-bottom: 3px;
    line-height: 2.7em !important;
    font-size: 1.4em !important;
    text-align: center;
    border:none;
    outline:none;
    padding-left:25px;
    padding-right:25px;     
}

@media(min-width:768px) {
    .formPanel {
        width:515px;        
    }
    .formContainer {
        width: 515px;
        height: 700px;
        margin-top: -350px;
        margin-left: -250px;
        top: 50%;        
    }
    .contactFormSubmitBtn {
        float:right;
    }
    .formPanel {
        padding-left: 40px;
        padding-right: 40px;
    }

    .g-recaptcha {
        transform: scale(.8);
        margin-left: -35px;
        margin-top: -10px;
    }
}

.contactFormLabel {
    display: block;
    font-weight: 400;
    font-size: 1.1em !important;
    color: #7d7c7c;
    font-weight:600;
}
.contactFormSelect {
    display: block;
    
    margin-bottom: 20px;    
    width: 100%;
    background: #fff;
    color:#000;
    border: 1px solid #ddd;
    border-radius: 2px;        
    min-height:46px;
}
.contactFormInput {
    display: block;
    margin-bottom: 20px;
    margin-top: 5px;
    width: 100%;
    background: #fff;
    color:#000;
    border: 1px solid #ddd;
    border-radius: 2px;
    line-height: 2.5em !important;
    padding-left: 10px;
}

.formTooltip.input-desc-hidden {
    opacity: 0;
    transition: 1s opacity ease-in-out;
    height: 0;
}

.formTooltip {
    opacity: 1;
    height: auto;
    transition: 1s opacity ease-in-out;
    box-shadow: rgba(0,0,0,.2) 2px 2px;
    display: block;
    position: absolute;
    padding: 10px;
    top: 55px;
    width: 90%;
    left: 5%;
    border: 1px solid #700;
    border-radius: 3px;
    color: #333;
    background: #eee;
    z-index: 10;
    text-align: center;
    font-size: 1.2em !important;
    line-height: 2em !important;
}

    .formTooltip:after {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        margin-left: -5px;
        width: 0;
        height: 0;
        border-bottom: solid 10px #700;
        border-left: solid 15px transparent;
        border-right: solid 15px transparent;
    }

.badTouch:invalid {
    border: 1px solid #700;
}

.goodTouch:valid:after {
    content: 'here';
    color: #0f0;
}

.innerCirc {
    background-color: rgba(0,0,0,0);
    border: 5px solid rgba(251,145,0,1);
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0,153,255,.4);
    width: 30px;
    height: 30px;
    margin: 0 auto;
    position: relative;
    top: -40px;
    -moz-animation: spinoff 1.5s infinite linear;
    -webkit-animation: spinoff 1.5s infinite linear;
}
.outerCirc {    
    background-color: rgba(0,0,0,0);
    border: 5px solid rgba(0,153,255,1);
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    box-shadow: 0 0 35px rgba(0,153,255,.4);
    width: 50px;
    height: 50px;
    margin: 0 auto;
    -moz-animation: spin 1.5s infinite linear;
    -webkit-animation: spin 1.5s infinite linear;
}
@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-moz-keyframes spinoff {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spinoff {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}
