﻿
.destnavi1 #modal1,
.destnavi1 #modal2,
.destnavi1 #modal3,
.destnavi1 #modal4,
.destnavi1 #modal5,
.destnavi1 #modal6,
.destnavi1 #modal7,
.destnavi1 #modal8,
.hotnavizurueck #modal1 {
    display: none;
}

.overlay {
    position: fixed;
    top: -25%;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 93, 168, 0.2);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    width: 100% !important;
}

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

.popup {
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 800px !important;
    height: auto;
    position: relative;
    left: -96px;
    background-color: rgba(255,225,101,0.6);
    color: #000;
    /*transition: all 5s ease-in-out;*/
}

    .popup.karte {
        margin: auto;
        padding: 20px;
        background: #fff;
        border-radius: 5px;
        width: 800px !important;
        height: auto;
        position: relative;
        left: -105px;
        background-color: #ffe165;
        color: #000;
        /*transition: all 5s ease-in-out;*/
    }
        .popup.karte ul li.zoneGelb {
            background-color: #fef026;
        }
        .popup.karte ul li.zoneBlau {
            background-color: #97d6f4;
        }
        .popup.karte ul li.zoneOrange {
            background-color: #f6a427;
        }
        .popup.karte ul li.zoneGruen {
            background-color: #5eb34a;
        }


        .popup.spez {
            margin: auto auto auto 0;
            width: 100% !important;
            position: relative;
            left: 0;
        }

        .popup.spez .content li,
        .popup.leistungspaket .content li {
            line-height: normal;
            margin-left: 10px;
        }

        .popup.spez .content ul {
            border-top: none;
        }

            .popup.spez .content ul:last-child {
                border-bottom: none;
            }

        .popup.spez .content {
            border-top: 1px solid #000;
            padding-top: 10px;
        }

        .popup.spez ul li:last-child {
            font-weight: bold;
            list-style-type: none !important;
            margin-left: -5px;
        }


    .popup ul {
        width: 100%;
        margin: auto 0 15px 0;
        padding: 10px 15px;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        display: inline-block;
    }
    .popup.abhol ul {
        width: 100%;
        margin: auto 0 15px 0;
        padding: 10px 15px;
        border-top: 0;
        border-bottom: 0;
        display: inline-block;
    }
    .popup.abhol .modal-body {
        background-color: #fff;
    }



    #popup2 .popup ul {
        width: 100%;
        margin: auto 0 15px 0;
        padding: 10px 15px;
        border-top: none;
        border-bottom: 1px solid #000;
        text-align: left;
    }

.popup li {
    list-style-type: disc !important;
    padding: 5px 0;
}

.popup span {
    width: 100%;
}

.popup .content.zone li span {
    width: 100%;
    display: block;
    text-align: left;
}

.popup .content.zone span:last-child {
    text-align: left !important;
    display: block;
}

.popup .content.zone li {
    padding-left: 0;
    width: 100%;
    float: left;
    list-style-type: none;
}
.popup.abhol .content.zone li {
    width: calc(100% / 2 - 10px);
    float: left;
    list-style-type: none !important;
    padding: 10px 15px;
    margin: auto 5px;
    height: 100%;
}

.popup h2 {
    margin-top: 0;
    text-align: left !important;
    color: #333 !important;
    font-family: Tahoma, Arial, sans-serif;
    position: relative !important;
    font-size: 28px !important;
    background-color: transparent !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    height: auto !important;
}

/*.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    opacity: 1;
    width: 30px;
    height: 30px;
    background-color: #fff;
    text-align: center;
    border: 1px solid #000;
}*/


.popup .close:hover {
    color: #005ea8;
}

.popup .content {
    height: 100%;
    margin-top: 15px;
    width: 100% !important;
}

.popup.abhol .content p {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 0;
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}
