@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-style: bold;
    font-weight: 700;
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-style: bolder;
    font-weight: 900;
    src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/PlayfairDisplay-Italic.otf');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #60327b;
    font-family: 'Montserrat';
}

html {
    background-color: transparent;
    padding: 0px;
    margin: 0px;
    width: 100%;
}

body {
    min-width: 350px;
    font-size: 14pt;
    font-weight: 400;
}

h1 { display: none; }

h2 {
    font-family: Playfair Display;
    font-style: italic;
    font-weight: bolder;
    margin: 2rem 0 1.5rem 0;
}
h3, h4 {
    margin: 1rem 0 0 0;
}

.header {
    background-image: url(/img/header_mobil.png);
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: calc(100vw/2.5);
    display: flex;
    justify-content: space-between;
}
.logo-click {
    flex: 1;
    cursor: pointer;
}
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-weight: bold;
    padding: 2rem 2rem 0 0;
}

.navbar .nav-links {
    display: none;
}

.navbar .nav-links a {
    color: #dfe5f3;
}
.navbar .contact-links {
    margin-right: 1rem;
}

.navbar .nav-icon i {
    color: #dfe5f3;
    font-size: 2rem;
    padding: 0.5rem;
}
.navbar .nav-icons {
    width: 7rem;
    padding: 0;
}

.menu-selector-container {
    display: flex;
    justify-content: end;
    background-color: transparent;
}

.menu-selector {
    width: 25px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-selector * {
    height: 5px;
    background-color: #dfe5f3;
    border-radius: 5px;
}

.menu {
    font-size: 1.25rem;
    text-transform: uppercase;
    background-color: #60327b;
}

.menu ul {
    list-style-type: none;
    display: none;
    position: absolute;
    top: 10vh;
    right: 0;
    background-color: #60327b;
    width: 48%;
}

.menu ul li {
    display: block;
    padding: 1rem;
}

.menu ul li a {
    color: #dfe5f3;
}
.menu ul li a.active {
    font-weight: bolder;
}
.menu-icon i {
    color: #dfe5f3;
    font-size: 3rem;
    padding: 0 0.5rem 0 0;
}
.menu ul.submenu {
    display: block;
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    border: 0 solid #eee;
    width: 12rem;
    top: 0rem;
    left: 0rem;
    padding: 1rem 0.25rem 0 0.25rem;
    font-size: 60%;
}
.menu ul.submenu li {
    padding: 0.5rem 0.5rem;
}
.container {
    padding: 0 3rem;
    line-height: 2.5rem;
}
.container a {
    text-decoration: underline;
}
.heros {
    width: 115%;
}
.heros img {
    width: 100%;
}

a {
    text-decoration: none;
}

.btn {
    padding: 1rem;
    border: thin solid light-grey;
    text-decoration: none!important;
}
.btn-primary {
    background-color: #60327b;
    color: white;
    font-weight: bold;
}

.paragraph {
    margin: 2rem 0;
}
.sect1 {
    margin: auto;
    max-width: 45rem;
}

/*** TABLE ***/
table,
th,
td {
    border: 0px solid red;
    padding: 0;
}

table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
}

td {
    border-top: 0px solid red;
    border-left: 0px solid red;
    border-right: 0px solid #dfe5f3;
    border-bottom: thin solid #dfe5f3;
    padding: 1;
}

td p {
    padding: 0.5rem;
}

.ulist {
    padding-left: 1rem;
}

.hero_top img {
    width: 100%;
}

/*** COURSES ***/
.courses-row {
    padding: 0;
    width: 100%;
}

.courses-column {
    border: none;
    margin-bottom: 0.25rem;
    padding: 0;
    min-width: 16%;
    background-color: #dfe5f3;
}

.courses-column h3 {
    border: none;
    font-weight: 700;
    background-color: #f0b2cb;
    line-height: 2rem;
    padding: 0.5rem;
    margin: 0;
}

.courses-column p {
    padding: 0.5rem 0.5rem 1rem 0.5rem;
    margin: 0;
    min-height: 8rem;
    max-width: 90%;
    overflow-wrap: break-word;
}

.courses-column p:not(:last-child) {
    border-bottom: thin solid white;
}

.courses-column p.empty {
    display: none;
}

p.tableblock {
    margin: 0;
    padding: 1rem;
    font-size: 0.75rem;
    min-width: 6rem;
    overflow-wrap: break-word;
}

tr>td:first>p.tableblock {
    color: red;
}

.qualis {
    width: 100%;
    padding: 1rem 0;
    border-bottom: solid thin #ccc;
}
.qualis .year {
    border: 0px solid red;
    font-weight: bold;
}
.qualis .quali {
    display: inline-block;
}

.preise {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    border-bottom: solid thin #ccc;
}
.preise .kurs {
    flex: 1;
    font-weight: bold;
}
.preise .info {
    flex: 1
}
.preise .preis {
    flex: 1;
    text-align: left;
    font-weight: bold;
}

/*** FOOTER ***/
footer .footer-img {
    background-image: url(/img/KKH_footer_mobil.png);
    background-repeat: no-repeat;
    background-size: 100%;
    min-height: calc(100vw/4);
}
footer .row {
    background-color: #60327b;
    padding: 0 3rem;
    margin-top: -1rem;
}

footer .col-last {
    padding-bottom: 3rem;
}

footer h3 {
    font-size: 17pt;
    color: #fff;
    border-bottom: #fff thin solid;
    margin: 1rem 0 0.5rem 0!important;
    padding: 0 0 0.5rem 0;
}

footer a {
    display: block;
    color: #fff;
    font-size: 14pt;
    line-height: 175%;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/*** MEDIA QUERIES ***************************************************************************************/
@media (min-width: 500px) {
    .header {
        background-image: url(/img/KKH_header.png);
        background-size: cover;
        min-height: calc(100vw / 5);
        padding: 0 1rem 1rem 0;
    }
    .navbar {
        padding: calc(100vw/75) 0 calc(100vw/15) 0;
    }
    .menu ul {
        top: 4vh;
    }
    .menu ul li {
        padding: 1rem 1rem 1 rem 0;
    }
    .menu-icon {
        display: none;
    }
    .container-index .row {
        display: flex;
    }
    .container-index .row .heros {
        flex: 1.1;
    }
    .container-index .row .col {
        flex: 0.9;
    }

    .courses-column p {
        height: 9rem;
    }
    .heros {
        width: 100%;
        padding-right: 4rem;
    }
    .preise {
        flex-direction: row;
    }
    .preise .preis {
        flex: 0.25;
        text-align: right;
    }
    .qualis {
        display: flex;
        width: 100%;
        padding: 1rem 0;
        border-bottom: solid thin #ccc;
    }

    .qualis .year {
        min-width: 6rem;
        max-width: 6rem;
        flex: 1;
        border: 0px solid green;
    }
    .qualis .quali {
        flex: 1
    }
}
@media (min-width: 850px) {
    .navbar .nav-links {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: Montserrat;
        color: #dfe5f3;
    }
    .menu-selector-container {
        display: none;
    }
    .menu {
        background-color: transparent;
        position: relative;
        top: 0;
        right: 0;
    }
    .menu ul {
        position: relative;
        display: block;
        background-color: transparent;
        width: 100%;
    }
    .menu ul li {
        display: inline-block;
        padding: 0.5rem 0.5rem 0.5rem 0;
        position: relative;
    }
    .menu ul li a {
        color: #60327b;
    }
    .menu ul.submenu {
        display: none;
        position: absolute;
        background-color: rgba(255, 255, 255, 0.75);
        border: thin solid #eee;
        width: 13rem;
        top: 2rem;
        left: 0rem;
        padding: 0.5rem;
        font-size: 80%;
    }
    .menu ul li:hover .submenu li {
        display: block;
        padding: 0.75rem;
    }
    .menu ul li:hover .submenu {
        display: block;
    }
}
/* Media Query for Tablets Ipads portrait mode */
@media (min-width: 35rem) {
    p.tableblock {
        font-size: 1rem;
    }

    .courses-column p {
        max-width: 20rem;
    }

    footer .row {
        display: flex;
        justify-content: space-between;
        flex-flow: row wrap;
        margin-top: -4rem;
    }

    footer .col {
        border: none;
        padding: 0 1.5rem;
        margin: 3rem;
    }

    footer h3 {
        color: white;
    }

    footer hr {
        display: none;
    }

    .courses-row {
        display: flex;
        flex-flow: row wrap;
    }

    .courses-column p.empty {
        display: inline-block;
    }
}
.youtube_video {
    margin: 3rem 0;
}
.youtube_video iframe {
    width: 18rem;
    height: 24rem;
}

.prefooter_logo {
    margin-top: 6em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0px solid blue;
}

.prefooter_logo img {
    border: 0px solid red;
    margin: auto;
}