#map {
    position: relative;
    position: relative;
    margin: 50px -15px 150px;
    padding: 0;

}

#network {
    background-color: #005752;
    position: relative
}

#network:after {
    content: '';
    display: block;
    padding-bottom: 56%
}


@media (min-width: 768px) {
    #network:after {
        content: '';
        display: block;
        padding-bottom: 56%
    }
}

#karte {
    position: relative;

}

#karte.clicked {
    transition: transform ease .3s;
}


.circle {
    width: 200px;
    height: 200px;
    border: 5px dashed #005752;
    position: absolute;
    left: 0;
    top: 50%;
    margin: -100px 0 0 -50px;
    border-radius: 50%;
    -webkit-animation: rotate 4s linear 0s infinite;
    -moz-animation: rotate 4s linear 0s infinite;
    -o-animation: rotate 4s linear 0s infinite;
    animation: rotate 4s linear 0s infinite;
}

.circle2 {
    width: 150px;
    height: 150px;
    border: 5px dashed #bf9c5e;
    position: absolute;
    left: 0;
    top: 50%;
    margin: -75px 0 0 -25px;
    border-radius: 50%;
    -webkit-animation: rotate 4s linear 0s infinite reverse;
    -moz-animation: rotate 4s linear 0s infinite reverse;
    -o-animation: rotate 4s linear 0s infinite reverse;
    animation: rotate 4s linear 0s infinite reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.capital {
    position: absolute;
    left: 30%;
    top: 50%;
}

.capitaltoengland {
    width: 13%;
    left: 17%;
    top: 45%;
    height: 8%;
    /* background-color: #f00; */
    position: absolute;
    transform-origin: right center;
    transform: rotateZ(3deg);
    background-color: #ff0;


}

.capitaltoengland:before {
    content: '';
    position: absolute;
    top: 0;
    border-top: 5px dotted #f00;
    /*
    -webkit-animation: lineAnim 4s linear 0s  ;
    -moz-animation: lineAnim 4s linear 0s infinite ;
    -o-animation: lineAnim 4s linear 0s infinite;*/
    animation: lineAnim 4s linear 0s infinite;
}


@keyframes lineAnim {
    0% {
        right: 100%;
        left: 0%;
    }
    50% {
        right: 0;
        left: 0%;
    }
    100% {
        left: 100%;
        right: 0;
    }
}

/*
.maplocations {
    pointer-events: all;
    position: absolute;
    right: 30px;
    left: 30px;
    top: 60%;
    bottom: 15px;
    padding: 0px;
    opacity: 1;
    overflow: auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, .15);

}

.locationholder {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}

@media (min-width: 1200px) {
    .maplocations {
        left: 60%;
        top: 15%;
        bottom: 15%;
    }
}


@media (min-width: 1600px) {
    .maplocations {
        left: 75%;
        top: 15%;
        bottom: 15%;
    }
}
*/

.maplocations.container {
    z-index: 2;
    position: relative;
    opacity: 1;
    overflow: hidden;
    pointer-events: none !important;
}

.locationholder {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    pointer-events: all !important;
    overflow: auto;
    max-height: 50vH;
}

@media (min-width: 768px) {
    .maplocations.container {
        margin-top: -90px
    }
}

@media (min-width: 992px) {
    .maplocations.container {
        position: absolute;
        z-index: 2;
        right: 15px;
        top: 15px;
        bottom: 15px;
        margin-top: 0;
    }

    .locationholder {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        max-height: none;
    }
}

.dotholder {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    pointer-events: none
}

.dotholder {
    margin-top: -5px;
}


.dot {
    width: 16px;
    height: 16px;
    position: absolute;
    pointer-events: all;
    cursor: pointer;
    overflow: visible;
    transform-origin: center;
    transition: transform ease .3s;
    transform: scale(.5);
    z-index: 15;
}

.dot.partner {
    width: 8px;
    height: 8px;
}

@media (min-width: 992px) {
    .dot {
        width: 30px;
        height: 30px;
    }

    .dot.partner {
        width: 15px;
        height: 15px;
    }
}


#mapinner.zoom2 .dot {
    width: 20px;
    height: 20px;
}

.locationitem {
    font-size: 14px
}


.locationitem .locationheader {
    text-decoration: none;
    color: #454545;
    font-size: 18px;
    margin-bottom: 0;
    cursor: default;
}

.locationitem a.locationheader {
    cursor: pointer;

}

.locationitem:hover .locationheader {
    color: #005752
}

/*
                .locationitem:hover  {
                    font-weight: bold;
                }
*/
.locationitem.active a {
    color: #bf9c5e
}

.dot.active {
    z-index: 16;
}

.dot:not(.partner).active, .dot:not(.partner):hover {
    transform: scale(.75);
    z-index: 16;
}


.dot.active .thedot {
    background-color: #005752;
}

.dot.hovered .thedot {
    background-color: #999 !important;
}


.thedot {
    width: 100%;
    height: 100%;
    background-color: #bf9c5e;
    box-shadow: 0 0 5px rgba(0, 0, 0, .15);
    border-radius: 50%;
    border: 1px solid #fff;
}

@media (min-width: 992px) {
    .thedot {
        border: 2px solid #fff;
    }
}

.thedot.partnerdot {
    background-color: #999
}

#map {

}


#map .karte {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#map:hover .karte {
    background-color: rgba(255, 255, 255, .15)
}

#map .karte .kartenholder {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform-origin: center;
    transition: transform ease .15s;
}

#map .karte.zoom1 .kartenholder {
    transform: scale(1);
}

#map .karte.zoom2 .kartenholder {
    transform: scale(2.5);
}


#map .karte .zoombutton {
    display: none;
    position: absolute;
    top: 50%;
    left: 60px;
    transition: left ease .3s;
    transform: translateY(-50%);
    background-color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    cursor: pointer;
}


#map .karte .zoombutton:hover {
    background-color: #333;
    color: #fff;
}

@media (min-width: 992px) {
    #map .karte.zoom1 .zoombutton.pluszoom,
    #map .karte.zoom2 .zoombutton.minuszoom {
        display: block;
    }
}

@media (max-width: 991px) {
    #map .karte .kartenholder {
        transform: scale(1.5) !important
    }
}

.network {
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    background-color: #fff;
    padding: 45px;
    margin: -45px 0;
}

#karte {
    cursor: grab;
}

#karte svg path {
    transition: all ease .3s;
    pointer-events: all;
}

#karte svg path.hasStandorte {
    cursor: grab

}

#karte svg path.hasStandorte:hover {
    fill: #bf9c5e
}

#map:before, #map .container {
    pointer-events: none
}

.testline {
    stroke: #000000;
    stroke-miterlimit: 10;
}

#karte path {
    stroke: #005752;
    stroke-width: 0.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: #fff;
    opacity: .5;
}

#karte path.hasStandorte {
    opacity: 1;
}

#karte path.hasStandorte.active {
    fill: #efefef
}

#logistics path {
    fill: none;
    stroke: #ccc;
    opacity: 1;
    stroke-dasharray: 3;
    animation: dashdraw 20s linear infinite;
    stroke-width: .5;
    pointer-events: none !Important;
}

@keyframes dashdraw {
    to {
        stroke-dashoffset: 200;
    }
}

#logistics, #logistics *, #cities, #cities *, #logistics svg path, #cities svg path, #logistics path, #cities path {
    pointer-events: none
}

#cities path {
    stroke: none;
    opacity: 1;
}

#cities circle, #cities g .st3 {
    fill: #ddd;
}

/** FRONTPAGE MAP **/

#network {
    position: relative;
    padding: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    background-color: #bfd5d4;
}


#network:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -90px;
    right: 0;
    top: 0;
    z-index: 1;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: repeat-x;
    background-image: url(../images/zeichnung-weltkarte.svg);
}

#network:after {
    content: '';
    display: block;
    padding-bottom: 75%;
}

@media (min-width: 768px) {
    #network:after {
        content: '';
        display: block;
        padding-bottom: 56%;
    }
}

#network .karte {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;

}

#network:hover .karte {
    background-color: rgba(255, 255, 255, .15)
}

#network .karte .kartenholder {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform-origin: center;
    transition: transform ease .15s;
}

#network .karte.zoom1 .kartenholder {
    transform: scale(1);
}

#network .karte.zoom2 .kartenholder {
    transform: scale(2);
}

#network .karte .zoombutton {
    display: none;
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    background-color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    cursor: pointer;
}

#network .karte .zoombutton:hover {
    background-color: #333;
    color: #fff;
}

@media (min-width: 992px) {
#network .karte.zoom1 .zoombutton.pluszoom,
#network .karte.zoom2 .zoombutton.minuszoom {
    display: block;
}
}

.network {
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    background-color: #fff;
    padding: 3rem;
    margin: -3rem 0;
}

#karte {
    cursor: pointer
}

svg path {
    transition: all ease .3s;
    pointer-events: all;
}

svg path:hover {
    fill: #bf9c5e
}

#network:before, .frontnetwork .container {
    pointer-events: none;

}

.frontnetwork .container {
    z-index: 2;
    position: relative;
    margin-top: -45px
}

@media (min-width: 768px) {
    .frontnetwork .container {
        margin-top: -90px
    }
}

@media (min-width: 992px) {
    .frontnetwork .container {
        position: absolute;
        z-index: 2;
        right: 0;
        top: 0;
        bottom: 0;
        margin-top: 0;
    }

   body.home #network #karte {
        transform: translateY(-25%) translate3d(0, 0, 0) !important
    }
}

ul.facts {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.facts li {
    margin: 0 5px 5px 0;
    display: block;
    float: left;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1
}

ul.facts li span {
    padding: 5px 7px;
    background-color: #005752;
    color: #fff;
    display: inline-block
}