/* html, body -> only for standalone usage */

/*
html { height:100%; }
body { height:100%; margin:0px; font-family: Helvetica, Arial; }
*/

/* Colors

Yellow bright: #FFF064
Yellow darker: #E3DF5A

*/


/* General Layout
------------------------------------------------------------------------------------ */
.gm-style .gm-style-iw-c {
    z-index: 100;
}
.map_wrapper {
    height: 100%;
    position: relative;
}

#map_filter {
    width: 100%;
    height: 110px;
    position: absolute;
    top: 0;
    z-index: 1;
    -webkit-transition: 0.5s all ease-in-out;
    -o-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
    background: #FFF064;
}

#map_filter.filter-close {
    top: -90px;
}

#map_canvas {
	width:100%;
	height:100%;
	background: black;
}


/* Logo & Close */

.map_logo {
    width: 183px;
    height: 31px;
    background: transparent url(images/logo.svg) no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    left: 40px;
    top: 40px;
    z-index: 10;
    -webkit-transition: 0.5s all ease-in-out;
    -o-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}

.map_close {
    width: 32px;
    height: 32px;
    background: transparent url(images/close_icon_black.svg) no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    right: 40px;
    top: 36px;
    z-index: 10;
    -webkit-transition: 0.5s all ease-in-out;
    -o-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}

@media (min-width: 1200px ) {
    .filter-close .map_logo {
        top: -90px;
    }
    .filter-close .map_close {
        top: -90px;
    }
}

#map_filter.filter-close .wbox-tabview {
    display: none;
}

#map_filter.filter-close #map_filter_tabs {
    display: none;
}

.dragger {
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: -20px;
    background-color: transparent;
}

.dragger:after {
    content: '';
    height: 12px;
    width: 12px;
    background: transparent url(images/icon_arrow_up.svg) no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
    display: block;
    position: absolute;
    left: 50%;
    right: initial;
    top: 0px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

#map_filter.filter-close .dragger:after {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-left: -6px;
}

/* Tabs */

.wbox-tabview {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    display: none;
}

.wbox-tabview-center {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.wbox-tabview .wbox-tab-element {
    display: block;
    padding: 8px 20px;
    float: left;
    background: transparent;
    text-decoration: none !important;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}
.wbox-tabview .wbox-tab-element.active {
    background: #FFF064;
}

.wbox-tabview a.wbox-tab-element:first-child {
    margin-right: 10px;
}



/* Type-Ahead Styles */

.tt-input,
.tt-hint {
    width: 305px;
    height: 40px;
    padding: 8px 12px;
    padding-right: 30px;
    border: 0px solid #ccc;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    outline: none;
    background-color: white !important;
    color: #252525;
    margin-bottom: 10px;
    font-size: 18px;
}

.tt-hint {
    color: #999;
}

.tt-menu {
    width: 305px;
    margin-top: -2px;
    padding: 8px 0;
    padding-right: 10px;
    background-color: #fff;
    border: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.tt-suggestion {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 16px;
}

.tt-suggestion.tt-is-under-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

#map_filter .tt-menu.tt-open {
    top: 38px;
}

/* Filter Area 
------------------------------------------------------------------------------------ */

#map_filter_tabs {
	text-align: center;
    top: 15px;
    position: relative;
}

#map_filter label {
	display:inline-block;
	color: #252525;
	margin-bottom: -6px;
    font-weight: 500;
}

.map_filter_tab {
	display: inline-block;
	text-align: left;
	vertical-align: top;
    position: relative;
}

.map_filter_tab_head {
	cursor: pointer;
    display:block; /* show both tabs on desktop */
}



.map_filter_reset {
	display:inline-block;
	color: white;
    vertical-align: bottom;
    background-image: url(images/icon_search_black.svg);
    -webkit-background-size: 45% 45%;
    background-size: 45%;
    background-repeat: no-repeat;
    background-position: 10px 10px;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 28px;
    right: 0px;
    z-index: 1;
}

.map_filter_reset.active {
	background-image: url(images/close_icon_black.svg);
	cursor: pointer;
	position: absolute;
    -webkit-background-size: 40% 40%;
    background-size: 40%;
    background-position: 12px 12px
}


/* Map Area 
------------------------------------------------------------------------------------ */

.stops_pdf_icon {
    display:inline-block;
    background: url(images/pdf_icon_grey.png);
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 20px;
    margin: -2px 7px 0px 0px;
}

.gm-style-iw div div div div:nth-child(2n+2) .stops_pdf_icon {
    background-image: url(images/pdf_icon_blue.png);
}


/* Smaller Screens */

@media (max-width:1190px) {

    #map_filter {
		background-color: #E3DF5A;
        height: 150px;
	}
    
    #map_filter .map_filter_tab {
        margin-top: 15px;
    }
    
    #map_filter .wbox-tabview {
        display: block;
        top: 28px;
        position: relative;
    }
    
    #map_filter .map_filter_tab label {
        display: none;
    }
    
    .map_filter_reset { 
        top: 2px;
    }
    
    .map_filter_reset.active { 
    }
    
    #map_filter_tabs {
        background-color: #FFF064;
        position: absolute;
        bottom: 0;
        top: initial;
        width: 100%;
        height: 80px;
    }
    
    .filter-close .dragger:before {
        content: 'Suche';
        padding: 8px 20px 20px 20px;
        background: #FFF064;
        display: block;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        bottom: 20px;
    }
    
    .map_logo {
        top: 20px;
        width: 163px;
        height: 27px;
    }
    .map_close {
        top: 20px;
        width: 25px;
        height: 25px;
    }
    
    #map_filter.filter-close {
        top: -60px;
    }
    
}

/* Mobile */

@media (max-width: 767px ) { 
    
    #map_filter {
        height: 180px;
	}
    
    #map_filter .wbox-tabview {
        top: 57px;
    }
    
    #map_filter .wbox-tabview .wbox-tab-element {
        width: 50%;
        width: -webkit-calc(50% - 10px);
        width: calc(50% - 10px);
        text-align: center;
    }
    
    #map_filter.filter-close {
        top: -80px;
    }
    
    .map_logo {
        top: 15px;
        left: 20px;
        width: 134px;
        height: 22px;
    }
    .map_close {
        top: 15px;
        right: 20px;
        width: 22px;
        height: 22px;
    }
    
    #map_filter .wbox-tabview-center {
        width: 100%;
        width: -webkit-calc(100% - 30px);
        width: calc(100% - 30px);
    }
}

@media (max-width: 420px ) { 
    #map_filter {
        font-size: 14px;
    }
}

