.locate {
    width: 100%;
}

.locate header {
    background-color: #ddd;
    padding: 1em;
    width: 100%;
}

.locate header h3 {
    margin: 0;
}

.locate header p {
    margin: 0.5em 0.5em 0;
}

.locate header form {
    height: 90px;
    position: relative;
    width: 100%;
}

.locate header form > fieldset {
    bottom: 15px;
    position: absolute;
    top: 15px;
}

.locate header form > fieldset:first-child {
    left: 15px;
    right: 510px;
}

.locate header form > fieldset + fieldset {
    right: 280px;
    top: 15px;
    width: 215px;
}

.locate header form > * {
    color: #555;
}

.locate header form > fieldset > label {
    display: block;
    text-align: left;
}
.locate header form > fieldset > input,
.locate header form > fieldset > select  {
    background-color: #fff;
    color: #000;
    height: 50px;
    margin-top: 5px;
    padding: 5px 10px;
    width: 100%;
}

.locate .dealerPhone {
    font-size:14px;
    font-family: "Open Sans", "Arial", sans-serif;
    color: #888;
    font-weight: normal;
}

.locate header form > p {
    bottom: 15px;
    position: absolute;
    right: 15px;
    top: 40px;
    text-align: center;
    width: 250px;
}

.locate > div {
    height: 500px;
    position: relative;
    width: 100%;
}

.locate .locateMapCanvas {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 200px;
    top: 0;
}

.locate > div > aside {
    background-color: #fff;
    bottom: 0;
    color: #888;
    overflow-y: scroll;
    right: 0;
    position: absolute;
    top: 0;
    width: 200px;
}

.locate > div > aside > div {
    padding: 10px;
}

.locate > div > aside h4 {
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

.locate > div > aside span {
    display: block;
    margin: 5px;
}

.locate > div > aside a {
    color: #2d96cd;
    display: block;
    font-size: 12px;
    text-decoration: underline;
}

.dealer-info {
    font-size: 10px;
    height: 140px;
    position: relative;
    width: 200px;
}

.dealer-info h4 {
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.locateWidgetGetDirLink, .locateWidgetVisitSiteLink {
    background-color: #1d4580;
    bottom: 15px;
    color: #fff;
    left: 0;
    line-height: 35px;
    position: absolute;
    right: 50%;
    top: 90px;
    text-align: center;
}

.locateWidgetVisitSiteLink {
    background-color: #2d96cd;
    left: 50%;
    right: 0;
}

.dealer-info .caption {
    color: #888;
}

@media screen and (max-width: 1200px) {
    .locate > div,
    .locateMapCanvas {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .locate > div,
    .locateMapCanvas {
        height: 250px;
    }

    .locate header {
        padding: 1em 0;
    }

    .locate header form {
        height: 50px;
    }
    .locate header form > p,
    .locate header form > fieldset > label {
        display: none;
    }
    .locate header form > fieldset > select {
        background-color: #2d96cd;
        color: #fff;
    }
    .locate header form > fieldset > input,
    .locate header form > fieldset > select  {
        margin: 0;
    }
    .locate header form > fieldset {
        bottom: 0;
    }
    .locate header form > fieldset:first-child {
        left: 0;
        right: 215px;
    }
    .locate header form > fieldset + fieldset {
        right: 0;
    }
}


/* Styling for when it includes the submit button */
.locate[data-has_button="true"] button.btn.btn-primary.submitNow {width: 100%;height: 100%;background-color: #0181ca;min-height:50px; margin-top:-3px}
@media only screen and (max-width: 768px) {
    .locate[data-has_button="true"] button.btn.btn-primary.submitNow {width: 100%;height: 100%;background-color: #0181ca;min-height:50px;margin-top:0px;}
    .locate[data-has_button="true"] header {
        height: 170px;
        padding: 15px;
    }
    .locate[data-has_button="true"] header form > p {display:block; top: 65px; width: 100%; left: -7px;}
    .locate[data-has_button="true"] > div > aside { bottom:0;}
}
