/** Styles */

/** Contact Form **/

#contact-wrapper {
    position: relative;
    display: block;
}


.street-address {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -.5px;
    margin: 9px 0;
    color: #888;
    font-weight: bold;
    text-align: right;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: 100%;
}

.directions-form {
    display: none;
    clear: both;
    padding: 12px 0;
    height: 60px;
}

.directions-form ul {
    width: 100%;
    margin-bottom: 12px;
}


.directions-form input, .directions-form select {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.2;
}

.directions-form .filters{
    margin-bottom:12px;
}

.dir-label {
    color: #444;
    font-weight: bold;
    margin-bottom: 3px;
}

.directions-form select {
    display: block;
    float: left;
    margin-right: 12px;
}

#get-directions {
    background: none repeat scroll 0 0 #CCCCCC;
    color: #444444;
    display: block;
    float: right;
    height: 30px !important;
    padding: 6px;
    text-shadow: 1px 1px 0 #EEEEEE;
}

#get-directions:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.directions {
    clear: both;
    display: none;
}

#dir-container {
    display: none;
    clear: both !important;
}

.get-directions-button {
    text-align: center;
    padding: 6px;
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    background-color: #f1f1f1;
    background: -webkit-gradient(linear, left top, left 30, from(#f1f1f1), color-stop(4%, #ffffff), to(#f4f4f4));
    background: -moz-linear-gradient(top, #f1f1f1, #ffffff 1px, #f4f4f4 30px);
    border: 1px solid #dadada;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0px 1px 4px #ddd;
    -moz-box-shadow: 0px 1px 4px #ddd;
    text-shadow: 1px 1px 0px #fff;
    display: block;
    text-align: center;
    cursor: pointer;
}

#company-street-address{
    display:none;
}
/** Form Styles **/

label {
    display: block;
    width: 118px;
    padding:0 18px 0 0;
    float: left;
    color: #666;
    text-align: right;
    font: 16px/24px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
}

.overlay {
    display: none;
    z-index: 10000;
    background-color: #fff;
    padding: 24px;
    border: 1px solid #666;
    background: -webkit-gradient(linear, left top, left 30, from(#f1f1f1), color-stop(4%, #ffffff), to(#f4f4f4));
    background: -moz-linear-gradient(top, #f4f4f4, #ffffff 1px, #f4f4f4 95%);
    border: 1px solid #dadada;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0px 1px 4px #ddd;
    -moz-box-shadow: 0px 1px 4px #ddd;
}


.overlay .close:before {
    content: 'X';
}

.overlay .close {
    background: #eee;
    border-radius: 17px;
    -moz-border-radius: 17px;
    -webkit-border-radius: 17px;
    border: 1px solid #AAAAAA;
    cursor: pointer;
    height: 23px;
    padding-top: 5px;
    position: absolute;
    right: -15px;
    text-align: center;
    top: -15px;
    width: 29px;
}

#exposeMask{
    position:fixed !important;
}


/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

/* http://perishablepress.com/press/2009/12/06/new-clearfix-hack */

.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

/*
	The following zoom:1 rule is specifically for IE6 + IE7.
	Move to separate stylesheet if invalid CSS is a problem.
*/
* html .clearfix,
*:first-child+html .clearfix {
    zoom: 1;
}

/* This is the start of the Responsive Layouts */

@media screen and (min-width: 821px) {

.directions-form select {
    width: 22%;
}

#get-directions {
	width: 100px;
}

.form-wrapper {
    width: 1024px;
    position: relative;
}

.address-wrapper {
    width: 1024px;
	margin: 0 auto;
}

#map-outer {
    width: 515px;
    height: 365px;
    padding: 6px;
    border: 1px solid #ccc;
    clear: both;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-shadow: 0 0 6px #ddd;
    -webkit-box-shadow: 0 0 6px #ddd;
	margin: 20px auto;
}

#map {
    width: 500px;
    height: 350px;
    float: right;
}

#map-big {
    width: 872px;
    height: 312px;
    float: right;
}

.directions-form li {
    width: 441px;
    display: block;
    float: left;
}

.directions-form li:first-child{
	margin-right: 30px;
}

.directions-form input {
    width: 425px;
}

.get-directions-button, .submit input {
    width: 260px;
    margin: 12px auto;
}

.overlay {
	width: 912px;
	min-height: 200px;
}

}

/** all devices and responsive browser windows **/
@media screen and (max-width: 820px) {

.directions-form select {
    width: 22%;
}

#get-directions {
	width: 100px;
}

.form-wrapper {
    float: left;
    width: 500px;
    position: relative;
}

.address-wrapper {
    width: 500px;
	margin: 0 auto;
}

#map-outer {
    width: 515px;
    height: 365px;
    padding: 6px;
    border: 1px solid #ccc;
    clear: both;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-shadow: 0 0 6px #ddd;
    -webkit-box-shadow: 0 0 6px #ddd;
	margin: 20px auto;
}

#map {
    width: 500px;
    height: 350px;
    float: right;
}

#map-big {
    width: 610px;
    height: 312px;
    float: right;
}

.directions-form li {
    width: 441px;
    display: block;
    float: left;
}

.directions-form li:first-child{
	margin-right: 30px;
}

.directions-form li:last-child {
}

.directions-form input {
    width: 425px;
}

.get-directions-button, .submit input {
    width: 260px;
    margin: 12px auto;
}

.overlay {
	width: 650px;
	min-height: 200px;
}

}


/* smaller screen dropoff *******/
@media only screen and (max-width: 650px) {

.directions-form select {
    width: 22%;
}

#get-directions {
	width: 100px;
}

.form-wrapper {
    float: left;
    width: 500px;
    position: relative;
}

.address-wrapper {
    width: 400px;
}

#map-outer {
    width: 415px;
    height: 215px;
    padding: 6px;
    border: 1px solid #ccc;
    clear: both;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-shadow: 0 0 6px #ddd;
    -webkit-box-shadow: 0 0 6px #ddd;
	margin: 20px auto;
}

#map {
    width: 400px;
    height: 200px;
    float: right;
}

#map-big {
    width: 460px;
    height: 312px;
    float: right;
}

.directions-form li {
    width: 441px;
    display: block;
    float: left;
}

.directions-form li:first-child{
	margin-right: 30px;
}

.directions-form input {
    width: 425px;
}

.get-directions-button, .submit input {
    width: 260px;
    margin: 12px auto;
}

.overlay {
	width: 500px;
	min-height: 200px;
}

}

/* iPhone Landscape ********/
@media only screen and (max-width: 500px) {

.directions-form select {
    width: 22%;
}

#get-directions {
	width: 100px;
}

.form-wrapper {
    float: left;
    width: 200px;
    position: relative;
}

.address-wrapper {
    width: 420px;
}

#map-outer {
    width: 375px;
    height: 215px;
    padding: 6px;
    border: 1px solid #ccc;
    clear: both;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-shadow: 0 0 6px #ddd;
    -webkit-box-shadow: 0 0 6px #ddd;
	margin: 20px auto;
}

#map {
    width: 360px;
    height: 200px;
    float: right;
}

#map-big {
    width: 340px;
    height: 162px;
    float: right;
}

.directions-form li {
    width: 360px;
    display: block;
    float: left;
}

.directions-form li:first-child{
	margin-right: 30px;
}

.directions-form input {
    width: 360px;
}

.get-directions-button, .submit input {
    width: 160px;
    margin: 12px auto;
}

.overlay {
	width: 380px;
	min-height: 200px;
}

}

/* iPhone portrait *******/
@media only screen and (max-width: 440px) {

.directions-form select {
    width: 35%;
}

#get-directions {
	width: 50px;
}

.form-wrapper {
    float: left;
    width: 500px;
    position: relative;
}

.address-wrapper {
    width: 300px;
}

#map-outer {
    width: 245px;
    height: 215px;
    padding: 6px;
    border: 1px solid #ccc;
    clear: both;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-box-shadow: 0 0 6px #ddd;
    -webkit-box-shadow: 0 0 6px #ddd;
	margin: 20px auto;
}

#map {
    width: 230px;
    height: 200px;
    float: right;
}

#map-big {
    width: 220px;
    height: 200px;
    float: right;
}

.directions-form li {
    width: 441px;
    display: block;
    float: left;
}

.directions-form li:first-child{
	margin-right: 30px;
}

.directions-form input {
    width: 230px;
}

.get-directions-button, .submit input {
    width: 230px;
    margin: 12px auto;
}

.overlay {
	width: 250px;
	min-height: 200px;
}

}