/*Schrift OpenSans importieren*/
@font-face {
    font-family: 'myiconsregular';
    src: url('../web_fonts/myIcons/myIcons-Regular.eot');
    src: url('../web_fonts/myIcons/myIcons-Regular.eot?#iefix') format('embedded-opentype'),
    url('../web_fonts/myIcons/myIcons-Regular.woff2') format('woff2'),
    url('../web_fonts/myIcons/myIcons-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanslight';
    src: url('../web_fonts/opensans_light_macroman/OpenSans-Light-webfont.eot');
    src: url('../web_fonts/opensans_light_macroman/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
    url('../web_fonts/opensans_light_macroman/OpenSans-Light-webfont.woff') format('woff'),
    url('../web_fonts/opensans_light_macroman/OpenSans-Light-webfont.ttf') format('truetype'),
    url('../web_fonts/opensans_light_macroman/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../web_fonts/opensans_regular_macroman/OpenSans-Regular-webfont.eot');
    src: url('../web_fonts/opensans_regular_macroman/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../web_fonts/opensans_regular_macroman/OpenSans-Regular-webfont.woff') format('woff'),
    url('../web_fonts/opensans_regular_macroman/OpenSans-Regular-webfont.ttf') format('truetype'),
    url('../web_fonts/opensans_regular_macroman/OpenSans-Regular-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('../web_fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.eot');
    src: url('../web_fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../web_fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.woff') format('woff'),
    url('../web_fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.ttf') format('truetype'),
    url('../web_fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansbold';
    src: url('../web_fonts/opensans_bold_macroman/OpenSans-Bold-webfont.eot');
    src: url('../web_fonts/opensans_bold_macroman/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../web_fonts/opensans_bold_macroman/OpenSans-Bold-webfont.woff') format('woff'),
    url('../web_fonts/opensans_bold_macroman/OpenSans-Bold-webfont.ttf') format('truetype'),
    url('../web_fonts/opensans_bold_macroman/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}


/*Allgemein*/
* {
    /*text-shadow:1px 1px 1px 1px rgba(0,0,0,0.005);*/
    /*text-rendering: optimizeLegibility !important;*/
    /*-webkit-font-smoothing: antialiased !important;*/
    /*-webkit-text-stroke: .025em rgba(51,51,51,0.50);*/
    /*-moz-osx-font-smoothing: grayscale !important;*/
}


body {
    font-family: 'open_sansregular', sans-serif;
    color: #858585;
}

b {
    font-family: 'open_sansbold', sans-serif;
    font-weight: normal;
}

table {
    border-collapse: separate;
}

/* Leaflet Map */
#mapid {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/*Ladebildschirm*/
.loading-screen {
    text-align: center;
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10000000000000;
    vertical-align: middle;
}

.loading-screen-info {
    display: table-cell;
    vertical-align: middle;
}

.loading-screen-info p {
    postition: relative;
    font-family: 'open_sanslight', sans-serif;
    display: inline-block;
    font-weight: 300;
    font-size: 22px;
    color: #7f8196;
    background-color: white;
    padding: 20px 30px 16px 30px;
}

.loading-animation {
    margin-right: 10px;
    position: relative;
    top: -2px;
}


/*please Wait*/
.pleaseWait {
    text-align: center;
    display: table;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000000000000;
    vertical-align: middle;
    background-color: rgba(255, 255, 255, 0.79);
}

.pleaseWait .cell {
    display: table-cell;
    vertical-align: middle;
}

.pleaseWait p {
    display: inline-block;
    font-weight: 200;
    font-size: 20px;
    color: #393942;
}


/*Routing Please Wait*/
.routing-please-wait {
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    background-color: rgba(255, 255, 255, 0.79);
    text-align: center;
    padding-top: 50px;
}


/*Leaflet Kontroller*/
.leaflet-control-layers.leaflet-control {
    z-index: 600;
}

.leaflet-bar {
    border-radius: 0 !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.leaflet-control-geocoder {
    border-radius: 0px;
}

.leaflet-control-geocoder-icon {
    border-radius: 0px;
}

.leaflet-bar a:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.leaflet-bar a:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.leaflet-control-layers {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    background: #fff;
    border-radius: 0;
}

input.leaflet-control-layers-selector {
    margin-top: 0;
    margin-right: 5px;
    margin-left: 5px;
    position: relative;
    top: 0;

}

.leaflet-control-layers-base span {
    font-family: 'open_sansregular', sans-serif;
    font-weight: normal;
    color: #5f5f5f;
}

.leaflet-control-geocoder-icon {
    border-radius: 4px;
    width: 26px;
    height: 26px;
    border: none;
    background-color: white;
    background-image: url('../img/changesFromLibs/geocoder.png');
    background-repeat: no-repeat;
    background-position: center;
}

.leaflet-control-geocoder-form input.undefined {
    font-family: 'open_sansregular', sans-serif;
    font-weight: normal;
    font-size: 100%;
}

.info.leaflet-control {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    background-color: rgb(253, 255, 255);
    min-width: 150px;
    min-height: 20px;
    padding: 5px;
    text-align: center;
    font-size: 10px;
}



/*Leaflet Popup*/
.leaflet-popup-content {
    margin: 15px 15px !important;
    padding: 0;
    text-align: center;
}

.leaflet-popup-content-wrapper {
    border-radius: 0px;
    white-space: nowrap;
}

.leaflet-container a.leaflet-popup-close-button {
    padding: 0 0 0 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 0;
}

.leaflet-container a.leaflet-popup-close-button {
    padding: 2px 1px 0 0;
}



/*Glue Popup*/
.glue-popup .leaflet-popup-content{
    padding-top: 5px;
}



/*popup für Routing-Linie*/
.popup-for-routing-line table {
    padding-top: 2px;
    margin: 0;
}

.popup-for-routing-line th{
    border-radius: 4px;
    font-size: 11px;
    font-family: 'open_sansregular', sans-serif;
    border:none!important;
    font-weight: normal!important;
    color: #2a2a2a;
}



/*Routing Kontainer*/
.routing-box-container {
    pointer-events: none;
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    overflow: hidden;
    z-index: 500;
    transition: height 0.5s;
}

.routing-box {
    pointer-events: auto;
    position: absolute;
    top: -146px;
    left: 10px;
    right: 0;
    width: 460px;
    height: 180px;
    background-color: white;
    transition: top 0.5s;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/*Routing-Box-Strip*/
.routing-box-strip {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    cursor: pointer;
    height: 34px;
    border-top: 1px solid #dedede;
    transition: all 0.5s;
}
.routing-box-strip:hover {
    background-color: #fbfbfb;
}

.routing-box-strip .menu-icon {
    position: relative;
    top: -6px;
    opacity: 0.5;
    font-family: 'myiconsregular';
    font-size: 25px;
    transition: all 0.5s;
}
.routing-box-strip:hover .menu-icon {
    opacity: 0.8;
}

.routing-box-strip .title {
    position: relative;
    top: -6px;
    color: #868686;
    font-size: 16px;
    margin-left: 2px;
    transition: all 0.5s;
}
.routing-box-strip:hover .title {
    color: #5a5a5a;
}



/*Routing-Box-Content*/
.routing-box-content {
    font-size: 0;
    padding-top: 10px;
    font-family: 'open_sansregular', sans-serif;
}

/*Routing-Input*/
.button-content {
    margin: auto;
    padding: 0 10px;
    max-width: 500px;
}

.first-container {
    /*border: 1px solid red;*/
    padding: 10px 5px 0 10px;
    margin-right: 40px;
}
.float-right {
    /*border: 1px solid blue;*/
    padding: 10px 10px 0 5px;
    display: inline;
    width: 40px;
    float: right;
}

/*input-group*/
.routing-input-group {
    margin-bottom: 10px;
    display: block;
    position: relative;
    width: 100%;
    min-width: 200px;
    text-align: left;
}

.routing-input-group label {
    position: relative;
    margin: 0;
    padding: 6px 7px 0 8px;
    text-align: left;
    height: 30px;
    width: 45px;
    font-weight: normal;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 11px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.input-container {
    position:absolute;
    height: 30px;
    top:0;
    left: 45px;
    right: 85px;
}

.input-container .routing-input {
    display: block;
    position: absolute;
    border: 1px solid #ddd;
    width: 100%;
    height: 100%;
    margin: 0;
    padding-left: 7px;
    font-size: 11px;
}
.input-container .routing-input:focus {
    font-family: 'open_sanssemibold', sans-serif;
}

.icon-button {
    display: inline-block;
    position: absolute;
    margin: 0;
    height: 30px;
    border: 1px solid #ddd;
    font-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-left: none;
}
.icon-button.get-my-current-postition {
    width: 45px;
    right: 40px;
    line-height: 11px;
    text-align: center;
    font-size: 9px;
    padding-top: 4px;
}

.icon-button.get-glue-postition {
    width: 40px;
    right: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;

    /*background-image: url("../img/icon-buttons/icon-button5.jpg");*/
    /*background-size:initial;*/
    /*background-position: 0 0;*/

    background-image: url("../img/icon-buttons/icon-button9.jpg");
    background-size:45px;
}
.change-input-content {
    position: absolute;
    width: 24px;
    height: 70px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}
.change-input-content .icon{
    position: absolute;
    text-align: center;
    top: 13px;
    left: 1px;
    color: #575757;
    font-size: 30px;
    font-family: 'myiconsregular', sans-serif;
}

.hover-effect{
    position: absolute;
    top:0;
    left: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    transition: opacity 0.5s;
}
.icon-button:hover .hover-effect, .change-input-content:hover .hover-effect {
    opacity: 1;
}

.get-routing {
    text-align: center;
    padding: 3px 20px 0;
}

.get-routing .routing-button{
    width: 100%;
    font-size: 12px;
    color: white;
    transition: all 0.5s;
}


/*Auflistung der Autocomplete*/
.typeahead {
    top: 27px;
}

.typeahead ul {
    width: 100%;
    padding: 0;
    border-radius: 0;
    font-size: 11px;
    color: grey;
}

.typeahead ul a {
    color: grey;
}
.typeahead .dropdown-menu > .active > a,
.typeahead .dropdown-menu > .active > a:hover,
.typeahead .dropdown-menu > .active > a:focus {
    color: white;
    background-color: #5bc0de;
}

.list-container li {
    padding: 2px 10px;
    text-align: left;
    width: 100%;
    list-style: none;
}
.list-container li:hover {
    background-color: #f3f3f3;
}


/*Result-Box*/
.result-box-container-for-draggable {
    position: absolute;
    z-index: 510;
    top: 194px;
    left: 10px;
    width: 300px;
    height: 24px;
}

.result-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background-color: white;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    cursor: default;
    pointer-events: auto;
}

.result-box .strip {
    background-color: #fbfbfb;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 24px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.result-box .strip p {
    padding-top: 5px;
    font-size: 10px;
}

.result-box .strip .close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 4px 0 0;
    text-align: center;
    width: 18px;
    height: 14px;
    font: 16px/14px Tahoma, Verdana, sans-serif;
    color: #c3c3c3;
    text-decoration: none;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
}
.result-box .strip .close-button:hover {
    color: #5d5d5d;
}

/*Result-Box Inhalt*/
.result-box-content {
    padding: 10px;
    margin-top: 24px;
    font-size: 11px;
    height: auto;
    max-height: 450px;
    overflow: auto;
}

.result-box-content table {
    cursor: pointer;
    border: 3px solid white;
    border-radius: 3px;
    margin: 0 0 10px 0;
    /*max-width: 200px;*/
}
.result-box-content table:last-child {
    margin: 0;
}

.result-box-content td, .result-box-content th {
    color: #2f2f2f;
    padding: 5px;
}

.result-box-content tr:nth-child(2) * {
    border: none;
}

.result-box-content td:first-child, .result-box-content td:first-child {
    min-width: 50px;
}

.result-box-content table * {
    vertical-align: middle!important;
}

.result-box-content .td-icon{
    text-align: center;
}

.result-box-content table th {
    font-weight: 300;
    border: none!important;
}

.result-box-content .table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: white;
}

.result-box-content table td:nth-child(1) {
    width: 30px;
}



span.vehicle-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

span.vehicle-icon.TRAM{
    background-image: url("../img/vehicle-icons/vehicle-icon.jpg");
}
span.vehicle-icon.BUS{
    background-image: url("../img/vehicle-icons/vehicle-icon2.jpg");
}
span.vehicle-icon.TROLLEY{
    background-image: url("../img/vehicle-icons/vehicle-icon3.jpg");
}
span.vehicle-icon.METRO{
    background-image: url("../img/vehicle-icons/vehicle-icon4.jpg");
}
span.vehicle-icon.RAIL{
    background-image: url("../img/vehicle-icons/vehicle-icon5.jpg");
}
span.vehicle-icon.CARTRAIN{
    background-image: url("../img/vehicle-icons/vehicle-icon6.jpg");
}
span.vehicle-icon.BOAT{
    background-image: url("../img/vehicle-icons/vehicle-icon7.jpg");
}
span.vehicle-icon.CABLECAR{
    background-image: url("../img/vehicle-icons/vehicle-icon8.jpg");
}
span.vehicle-icon.GONDOLA{
    background-image: url("../img/vehicle-icons/vehicle-icon9.jpg");
}
span.vehicle-icon.FUNICULAR{
    background-image: url("../img/vehicle-icons/vehicle-icon10.jpg");
}
span.vehicle-icon.WALK{
    background-image: url("../img/vehicle-icons/vehicle-icon11.jpg");
}
span.vehicle-icon.TAXI{
    background-image: url("../img/vehicle-icons/vehicle-icon12.jpg");
}



@media screen and (max-width: 600px){
    .result-box-container-for-draggable, .routing-box-container{
        display: none;
    }
}


.coloring {
    color: rgba(255, 151, 60, 0.51);
    color: rgba(91, 141, 255, 0.51);
    color: rgba(255, 89, 171, 0.53);
    color: rgba(51, 255, 213, 0.54);
    color: rgba(255, 233, 68, 0.49);
    color: rgba(168, 112, 255, 0.52);
    color: rgba(159, 255, 79, 0.51);
    color: rgba(66, 204, 255, 0.51);
    color: rgba(102, 80, 255, 0.51);
    color: rgba(255, 0, 15, 0.51);
}

/*ngAnimation für Result-Box*/

/*.my-slide.ng-hide-add {*/
    /*height: 0;*/
    /*transition: all 0.5s ease-in-out;*/
/*}*/

/*.my-slide.ng-hide-add.ng-hide-add-active {*/
    /*height: auto;*/
/*}*/

/*.my-slide.ng-hide-remove {*/
    /*height: auto;*/
    /*transition: all 0.5s ease;*/
/*}*/

/*.my-slide.ng-hide-remove.ng-hide-remove-active {*/
    /*height: 0;*/
/*}*/