.map-preview img{
    max-width: none!important;
}

#panel {
    /*position: absolute;*/
    top: 5px;
    left: 50%;
    margin-left: -180px;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #999;
}
#directions-panel {
    height: 100%;
    float: right;
    width: 100%;
    overflow: auto;
}

.bt-map-contain {
    background: #fff;
    font-size: 14px;
    font-family: Arial;
    float: right; 
}

.bt-map-contain .bt-map-wrap{
    padding: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 2px rgba(33, 33, 33, 0.4);
}

.bt-map-contain-fancybox {
    background: #fff;
    font-size: 14px;
    font-family: Arial;
    box-shadow: 0 2px 2px rgba(33, 33, 33, 0.4);
    float: right; 
}

#control .route-data {
    clear: both;
    display: inline-block;
    margin-top: 10px;
}

.map-preview{
    border: solid 1px #888;
}

.control{
    float: left;
    width: 40%;
}

.map-direction{
    width: 60%;
    float: left;
}
ul.places-list{
    list-style: none!important;
    margin: 0!important;
    padding: 0!important;
}
ul.places-list li{
    padding: 0 5px!important;
}
ul.places-list li.li-select, ul.places-list li:hover{
    background: #69c;
    cursor: pointer;
}

.places-list-s{
    margin-top: -9px;
    padding: 5px 0;
    border: solid 1px #888;
    z-index: 999;
    position: absolute;
    background: #fff;
}

/*.places-list-s ul{
    list-style: none!important;
    margin: 0!important;
    padding: 0!important;
}*/

.map-direction .route-message{
    color: red;
    border: solid 1px peachpuff;
    background: #F2DEDE;
    display: none; 
    padding: 5px 10px;
}

.map-direction .route-loadding{
    display: none;
}

.route-data .inputbox, .route-data .inputbox:focus, .place-filter .inputbox, .place-filter .inputbox:focus {
    background: url("../images/content_bg.gif") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #DDDDDD;
    min-width: 15em;
    max-width: 20em;
    border-radius: 3px;
    color: #555555;
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 9px;
    padding: 4px 0;
    vertical-align: middle;
}

.route-data .inputbox{
    width: 100%;
}

label {
    display: block;
    margin-bottom: 5px;
}

.bt-map-contain legend {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #E5E5E5;
    border-image: none;
    border-style: none none solid;
    border-width: 0 0 1px;
    color: #333333;
    display: block;
    font-size: 19.5px;
    line-height: 36px;
    margin-bottom: 18px;
    padding: 0;
    width: 100%;
}

.bt-map-contain fieldset {
    border: 0 none;
    margin: 0;
    padding: 0;
}

.fancybox-close, .fancybox-outer a.fancybox-close:hover {
    background: url("../images/close_btn.png") no-repeat scroll center center rgba(0, 0, 0, 0) !important;
}
.fancybox-close {
    right: 0 !important;
    top: 0 !important;
}


