:-moz-placeholder {
    color: light grey;
}
 
::-webkit-input-placeholder {
    color: light grey;
}

*:focus {outline: none;}

.contact h2, .contact label {font-family:Georgia, Times, "Times New Roman", serif;}

.form_hint, .form_hint_area, .error {font-size: 12px;}
.required_notification {font-size: 11px;}

.contact ul {
    width:700px;
    list-style-type:none;
    list-style-position:outside;
    margin:0px;
    padding:0px;
}
.contact li{
    padding:12px; 
    border-bottom:1px solid #eee;
    position:relative;
}




.required_notification {
    color:#d45252; 
    margin:5px 10px 20px 0; 
    display:inline;
    float:right;
}



.contact label {
    width:150px;
    margin-top: 3px;
    display:inline-block;
    float:left;
    padding:3px;
}
.contact input {
    height:20px; 
    width:220px; 
    padding:5px 8px;
}
.contact textarea {padding:8px; width:300px;}
.contact button {margin-left:156px;}

.contact input, .contact textarea { 
    border:1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius:2px;
}
.contact input:focus, .contact textarea:focus {
    background: #fff; 
    border:1px solid #555; 
    box-shadow: 0 0 3px #aaa; 
}

.contact select {
    height:30px; 
    width:260px; 
    padding:0px 8px;
    margin:6px 0px;
}

.contact select { 
    border:1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius:2px;
}

.contact select:focus {
    background: #fff; 
    border:1px solid #555; 
    box-shadow: 0 0 3px #aaa; 
}

/* Button Style */
button.submit {
    background-color: #FF9900;
    background: -webkit-gradient(linear, left top, left bottom, from(#FF9900), to(#CC6600));
    background: -webkit-linear-gradient(top, #FF9900, #CC6600);
    background: -moz-linear-gradient(top, #FF9900, #CC6600);
    background: -ms-linear-gradient(top, #FF9900, #CC6600);
    background: -o-linear-gradient(top, #FF9900, #CC6600);
    background: linear-gradient(top, #FF9900, #CC6600);
    border: 1px solid #CC6600;
    border-bottom: 1px solid #CC6600;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #D68533;
    -webkit-box-shadow: 0 1px 0 0 #D68533 inset ;
    -moz-box-shadow: 0 1px 0 0 #D68533 inset;
    -ms-box-shadow: 0 1px 0 0 #D68533 inset;
    -o-box-shadow: 0 1px 0 0 #D68533 inset;
    color: white;
    font-weight: bold;
    padding: 6px 20px;
    text-align: center;
    text-shadow: 0 -1px 0 #396715;
}
button.submit:hover {
    opacity:.85;
    cursor: pointer; 
}
button.submit:active {
    border: 1px solid #CC6600;
    box-shadow: 0 0 10px 5px #A35200 inset; 
    -webkit-box-shadow:0 0 10px 5px #A35200 inset ;
    -moz-box-shadow: 0 0 10px 5px #A35200 inset;
    -ms-box-shadow: 0 0 10px 5px #A35200 inset;
    -o-box-shadow: 0 0 10px 5px #A35200 inset;
     
}

.contact input:focus, .contact textarea:focus { /* add this to the already existing style */
    padding-right:70px;
}

.contact input, .contact textarea { /* add this to the already existing style */
    -moz-transition: padding .25s; 
    -webkit-transition: padding .25s; 
    -o-transition: padding .25s;
    transition: padding .25s;
}

.contact input, .contact textarea {
    padding-right:30px;
}

input:required, textarea:required {
    background: #fff url(https://www.woodwardpetsitting.com/images/form_images/asterisk_red.png) no-repeat 98% center;
}

::-webkit-validation-bubble-message {
    padding: 1em;
}

.contact input:focus:invalid, .contact textarea:focus:invalid { /* when a field is considered invalid by the browser */
    background: #fff url(https://www.woodwardpetsitting.com/images/form_images/invalid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535
}

.contact input:required:valid, .contact textarea:required:valid { /* when a field is considered valid by the browser */
    background: #fff url(https://www.woodwardpetsitting.com/images/form_images/valid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.form_hint {
    background: #d45252;
    border-radius: 3px 3px 3px 3px;
    color: white;
    margin-left:8px;
    padding: 1px 6px;
    z-index: 999; /* hints stay above all other elements */
    position: absolute; /* allows proper formatting if hint is two lines */
    display: none;
}

.form_hint::before {
    content: "\25C0"; /* left point triangle in escaped unicode */
    color:#d45252;
    position: absolute;
    top:1px;
    left:-6px;
}

.form_hint_area {
    background: #d45252;
    border-radius: 3px 3px 3px 3px;
    color: white;
    width: 150px;
    margin-left:8px;
    padding: 1px 6px;
    z-index: 89; /* hints stay above all other elements */
    position: absolute; /* allows proper formatting if hint is two lines */
    display: none;
}

.form_hint_area::before {
    content: "\25C0"; /* left point triangle in escaped unicode */
    color:#d45252;
    position: absolute;
    top:1px;
    left:-6px;
}

.contact input:focus + .form_hint {display: inline;}
.contact input:required:valid + .form_hint {background: #28921f;} /* change form hint color when valid */
.contact input:required:valid + .form_hint::before {color:#28921f;} /* change form hint arrow color when valid */

.contact textarea:focus + .form_hint_area {display: inline;}
.contact textarea:required:valid + .form_hint_area {background: #28921f;} /* change form hint color when valid */
.contact textarea:required:valid + .form_hint_area::before {color:#28921f;} /* change form hint arrow color when valid */
