html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

p{
    font-family: 'Microsoft Yahei', arial, sans-serif;
}
#map {
    height: 100%;
}
.controls {
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#origin-input,
#destination-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
}

#origin-input:focus,
#destination-input:focus {
    border-color: #4d90fe;
}

#mode-selector {
    color: #fff;
    background-color: #4d90fe;
    margin-left: 12px;
    padding: 5px 11px 0px 11px;
}

#mode-selector label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}
.cartodb-legend .custom{
    font-size: 20px;
}

.a2a_default_style a {line-height:30px !important;}
.social-btns a{vertical-align:top;}
.social-btns .addtoany{display:inline-block;}
.social-btns{padding:0;display:block;clear:both;overflow:hidden;float:right;}
.social-btns .a2a_kit{margin:0.5em auto!important;text-align:right!important;}

.addtoany{margin:0!important;text-align:center!important;}
.addtoany a{font-family:'FontAwesome';background:#fff;color:#fff;font-size:20px;width:38px;height:38px;vertical-align:middle;padding:0.35em 0 0 0!important;text-align:center;border-radius:50%;-moz-border-radius:50%;-khtml-border-radius:50%;-webkit-border-radius:50%;display:inline-block;cursor:pointer;cursor:hand;z-index:10000;margin:0 0.3em;border-bottom:none!important;}
.addtoany a:hover{background:#d8091d;color:#fff!important;text-decoration:none !important;}
.addtoany a.a2a_button_facebook{color:#3b5998;}
.addtoany a.a2a_button_facebook:before{content:"\f09a";font-size:0.9em!important;}
.addtoany a.a2a_button_twitter{color:#55acee;}
.addtoany a.a2a_button_twitter:before{content:"\f099";}
.addtoany a.a2a_button_email{color:#ffa500;}
.addtoany a.a2a_button_email:before{content:"\f0e0";font-size:0.75em!important;}
.addtoany a.a2a_button_whatsapp:before{content:"\f232";}
.addtoany a.a2a_button_whatsapp{background:#0dc143;display:none;}
.a2a_svg{background-image:none!important;display:none!important;}
.a2a_default_style a{float:none!important;}
.a2a_button_whatsapp{display:none!important;}


.share{
    position: fixed;
    width: 100%;
    height: 50px;
    bottom: 0;
    background-color: #55acee;
    z-index: 1000;
}

.bullet{
    background-repeat: no-repeat!important;
    background-size: 16px!important;
}

div.cartodb-legend.custom ul li .bullet{
    width: 10px !important;
    height: 10px !important;

}

div.cartodb-legend.custom ul li.bkg .bullet{
    background-size: 16px 16px !important;
    width: 20px !important;
    height: 20px !important;
}
div.cartodb-legend.custom ul li{
    text-transform:none;
}

.intro{
    font-size: 16px;
    line-height: 1.5;
    position: fixed;
    width: 350px;
    height: auto;
    top: 300px;
    left: 50%;
    margin-left: -150px;
    z-index: 1000;
    background: white;
    border: 2px solid #eaeaea;
    border-radius: 20px;
    padding: 20px;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    z-index: 999;
    height: 100%;
    width: 100%;
}

.flex-caption {
    width: 96%;
    padding: 2%;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    font-size: 14px;
    line-height: 18px;
}

.slider{
    width: 350px;
    padding: 5px;
    border-radius: 5px;
    background-color: white;
    border: whitesmoke 1px solid;
    position: fixed;
    bottom: 60px;
    left: 10px;
}

.carousel-indicators {
    bottom: 0px;
}

.carousel-caption {
    font-size: 16px;
    position: relative;
    right: 0; 
    bottom: 0px; 
    left: 0; 
    z-index: 10;
    padding-top: 5px;
    padding-bottom: 0px;
    color: #000;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}

@media(max-width: 798px){
    #origin-input,
    #destination-input {
        width: 80%;
        margin-left: 12px;
        position: relative!important;
    }

    #destination-input{
        left: 0 !important;
    }

    div.cartodb-legend.custom ul li{
        font-weight: normal!important;
        font-size: 12px;
    }

    div.cartodb-legend.custom ul li.bkg{
        margin-bottom: 5px !important;
    }

    .intro{
        width: 90%;
        /*left: 50%;*/
        margin-left: -45%;
        top: 10%;
    }
    .slider{
        position: relative;
        width: 100%;
        bottom: 0px;
        left:0px;
        margin-bottom: 60px;
    }
}