/*  -----------------------------------------------------
    MapView
    ----------------------------------------------------- */

#nnwitchmap_container {
    overflow: scroll !important;
    -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    overflow-scrolling: touch;
/*
    border: 2px solid orange;*/

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#nnwitchmap_map {
    width: 1950px;
    height: 1400px;
/*
    min-width: 1463px;
    min-height: 1050px;

    width: 100%;*/
/*
    background-image: url(../Images/nnwitchmap_hexenkarte_1950x1400.svg);
    background-image: url(../Images/rz_karte_web_Test.jpg);
    background-image: url(../Images/rz_karte_web.jpg);*/

    background-image: url(../Images/htgr_hexenkarte.jpg);

    margin: auto;
    position: relative;
}

#nnwitchmap_map .station {/*
    border: 1px dotted grey;
    padding: 10px;*/
    position: absolute;
}

#nnwitchmap_map .station * {
    margin: 0;
    padding: 0;
}

#nnwitchmap_map .station-icon {
    text-align: center;
    cursor: pointer;
}

#nnwitchmap_map .station-title {
    text-align: center;
    margin-top: -2px;
}

#nnwitchmap_map .station-title label {
    background-color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    padding: 4px 9px 1px 9px;
    font-size: 1.2rem;
    font-family: GraublauSans-Book, questa_sansregular, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    border-radius: 2px;
}

#nnwitchmap_map .station-link {
    text-align: center;
}

#nnwitchmap_map .debug {
    border: 1px dotted orangered;
    margin-top: 20px;
}

#nnwitchmap_map .hidden {
    display: none;
}

#nnwitchmap_map_buttons {
    position: fixed;
    left: 10px;
    top: 80px;
}

#nnwitchmap_map_buttons .button {
    display: block;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    text-align: center;
    font-family: questa_sansbold, sans-serif;
    font-size: 2rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    margin: 0 0 5px 0;
}

#nnwitchmap_map_buttons .button.reset {
    display: none;
}


/*  -----------------------------------------------------
    ShowView
    ----------------------------------------------------- */

#nnwitchmap_show {
    margin: 0 -20px 0 -20px;
}

#nnwitchmap_show .title {
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-position: 12% 5px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px 0 15px 18%;
}

#nnwitchmap_show .title h1 {
    margin: 0;
    font-family: questa_sansbold, sans-serif;
    text-transform: uppercase;
    font-size: 2.2rem;
    letter-spacing: 0.05rem;
    display: inline-block;
}

#nnwitchmap_show .text {
    padding: 20px 18% 20px 18%;
}

#nnwitchmap_show .footer {
    margin: 20px 0 0 0;
    padding: 0;
}

#nnwitchmap_show .footer a {
    font-family: questa_sansbold, sans-serif;
    text-transform: uppercase;
    margin: 0 0 0 5px;
}

#nnwitchmap_show .carousel-control {
    background-repeat: no-repeat;

}

#nnwitchmap_show .carousel-control.left {
    background-image: url(../Icons/slider_pfeil_links.svg);
    background-position: left center;
}

#nnwitchmap_show .carousel-control.right {
    background-image: url(../Icons/slider_pfeil_rechts.svg);
    background-position: right center;
}

#nnwitchmap_show .carousel-indicators {
    bottom: -5px;
    display: none;
}

#nnwitchmap_show .carousel-indicators li {
    margin-right: 10px;
    border-width: 3px;
    background-color: white;
}

#nnwitchmap_show .carousel-indicators li.active {
    background-color: #19A1BB;
}

#nnwitchmap_show .supervised-button {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    float: right;
    margin-right: 20px;
    cursor: pointer;
    background-color: #C3BAA2;
    background-image: url(../Icons/betreute-station.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

#nnwitchmap_show .supervised-text {
    background-color: white;
    margin: 20px 18% 0 18%;
    background-image: url(../Icons/betreute-station.svg);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: 10px 12px;
}

#nnwitchmap_show .supervised-text .text {
    padding: 20px 20px 20px 50px;
}

#nnwitchmap_show a.back {
    background: url(../Icons/pfeil_grau_links.svg) no-repeat 0 5px;
    padding: 7px 0 5px 25px;
}


/*  -----------------------------------------------------
    FeaturedView
    ----------------------------------------------------- */

#nnwitchmap_featured {

}

#nnwitchmap_featured .station {
    float: left;
    width: 15%;
    height: 120px;
    margin: 0 0.3% 5px 0;
    padding: 10px;
    vertical-align: top;
    text-align: center;
    cursor: pointer;
    position: relative;
}

#nnwitchmap_featured .station img {
    position: absolute;
    left: 30%;
    bottom: 40px;
}

#nnwitchmap_featured .station label {
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    text-align: center;
}

#nnwitchmap_featured .show-all-link {
    text-align: center;
    margin: 30px 0 10px 0;
}

#nnwitchmap_featured .show-all-link a {
    text-transform: uppercase;
    font-family: questa_sansregular, sans-serif;
    font-size: 1.4rem;
    color: #7a840f;
    border-radius: 10px;
    padding: 5px 30px 5px 20px;
    background-color: #E4ECD5;
    background-image: url(../Icons/pfeil_rechts_gruen.svg);
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 15px;
}


/*  -----------------------------------------------------
    ListView
    ----------------------------------------------------- */

#nnwitchmap_list .station {
    height: 100px;
    margin: 0 0 5px 0;
    cursor: pointer;
    background-color: #F5F4EF;
    position: relative;
}

#nnwitchmap_list .station:hover {
    background-color: #f2f1ec;
}

#nnwitchmap_list .station .left,
#nnwitchmap_list .station .right {
    display: inline-block;
}

#nnwitchmap_list .station .left {
    width: 140px;
    text-align: center;
    overflow: hidden;
    height: 100%;
    padding: 15px 0 0 0;
}

#nnwitchmap_list .station .left img {
    min-width: 50%;
    max-width: 90%;
    max-height: 90%;
}

#nnwitchmap_list .station .right {
    vertical-align: top;
    padding-top: 40px;
}

#nnwitchmap_list .station .right h3 {
    font-family: questa_sansbold, sans-serif;
    text-transform: uppercase;
    margin: 0;
    font-size: 2.2rem;
    word-wrap: break-word;
}

#nnwitchmap_list .station .right .arrow-icon {
    position: absolute;
    right: 15px;
    top: 35px;
    background-image: url(../Icons/pfeil_grau_kreis.svg);
    width: 28px;
    height: 28px;
    background-size: 100%;
}

@media screen and (max-width: 400px) {

    #nnwitchmap_list .station {
        height: 80px;
    }
    
    #nnwitchmap_list .station .left {
        width: 60px;
        margin-left: 5px;
    }

    #nnwitchmap_list .station .right {
        padding-top: 32px;
    }

    #nnwitchmap_list .station .right h3 {
        font-size: 1.6rem;
    }

    #nnwitchmap_list .station .right .arrow-icon {
        top: 26px;
    }
}


/*  -----------------------------------------------------
    Modal
    ----------------------------------------------------- */

#nnwitchmap_modal #myModalLabel {
    font-family: questa_sansbold, sans-serif;
    text-align: left;
    font-size: 2.0rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;

    background-repeat: no-repeat;
    padding: 20px 0 20px 100px;
    background-size: auto 80%;
    background-position: 5px 10px;
}

#nnwitchmap_modal .modal-content {
    border-radius: 0;
}

#nnwitchmap_modal #myModalText {/*
    background-color: #E9E3D2;
    background-image: url(../Images/effekt_htgr_klein.jpg);*/
    background-repeat: no-repeat;
    padding: 15px;
}

#nnwitchmap_modal .modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 500;
    padding: 0 0 0 4px;
    border: none;
}

#nnwitchmap_modal .modal-header .close {
    margin: -5px 0 0 0;
    float: none;
    font-size: 3rem;
}

#nnwitchmap_modal #myModalLink {
    font-family: questa_sansbold, sans-serif;
    text-transform: uppercase;
    display: inline-block;
    padding-right: 20px;
    background-image: url(../Icons/pfeil_grau.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: right;
}

#nnwitchmap_modal .carousel-control {
    background-repeat: no-repeat;

}

#nnwitchmap_modal .carousel-control.left {
    background-image: url(../Icons/slider_pfeil_left.svg);
    background-position: left center;
}

#nnwitchmap_modal .carousel-control.right {
    background-image: url(../Icons/slider_pfeil_rechts.svg);
    background-position: right center;
}

#nnwitchmap_modal .carousel-indicators {
    bottom: -5px;
    display: none;
}

#nnwitchmap_modal .carousel-indicators li {
    margin-right: 10px;
    border-width: 3px;
    background-color: white;
}

#nnwitchmap_modal .carousel-indicators li.active {
    background-color: #19A1BB;
}

#nnwitchmap_modal #myModalSliderImages {
    height: 350px;
    overflow: hidden;
}

#nnwitchmap_modal #myModalSliderImages .item {
    height: 360px;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 400px) {
    #nnwitchmap_modal .modal-footer {
    padding: 10px 15px 30px 15px;
    }
}

/*
#nnwitchmap_modal #myModalSliderImages .item img {
    height: 360px;
}*/


/*  -----------------------------------------------------
    mediaqueries
    ----------------------------------------------------- */

@media screen and (max-width: 768px) {

    /*
        FEATURED
    */
    #nnwitchmap_featured .station {
        width: 32%;
        margin: 0 1.3333% 7px 0;
    }


    /*
        SHOW
    */
    #nnwitchmap_show .carousel-indicators {
        display: block;
    }

    #nnwitchmap_show .carousel-control {
        display: none;
    }

    #nnwitchmap_show .text {
        padding: 20px;
    }

    #nnwitchmap_show .supervised-text {
        margin: 20px 0 -20px 0;
    }

    #nnwitchmap_show .title {
        background-image: none !important;
        padding-left: 20px;
    }


    /*
        MODAL
    */
    #nnwitchmap_modal .carousel-indicators {
        display: block;
    }

    #nnwitchmap_modal .carousel-control {
        display: none;
    }
}


/*  -----------------------------------------------------
    Hexenkarte innerhalb der Single Page
    ----------------------------------------------------- */
    
    
.page-2 #nnwitchmap_container {
	position: relative;
	margin-top: 50px;
	height: 700px;
	-webkit-overflow-scrolling: touch;
} 

.page-2 #nnwitchmap_map_buttons {
	display: none;
}

@media screen and (max-width: 768px) {
	.page-2 #nnwitchmap_container {
		margin: 50px -20px 0 -20px;
	}
}


