@font-face {
    font-family: 'DreibeinFont';
    src: url('/fonts/sk-modernist-regular-webfont.eot');
    src: url('/fonts/sk-modernist-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/sk-modernist-regular-webfont.woff') format('woff'),
    url('/fonts/sk-modernist-regular-webfont.ttf') format('truetype'),
    url('/fonts/sk-modernist-regular-webfont.svg#webfont') format('svg');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DreibeinFont';
    src: url('/fonts/sk-modernist-light-webfont.eot');
    src: url('/fonts/sk-modernist-light-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/sk-modernist-light-webfont.woff') format('woff'),
    url('/fonts/sk-modernist-light-webfont.ttf') format('truetype'),
    url('/fonts/sk-modernist-light-webfont.svg#webfont') format('svg');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'DreibeinFont';
    src: url('/fonts/sk-modernist-bold-webfont.woff2') format('woff2'),
    url('/fonts/sk-modernist-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* oswald-600 - latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/oswald/oswald-v26-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('/fonts/oswald/oswald-v26-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/fonts/oswald/oswald-v26-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('/fonts/oswald/oswald-v26-latin-600.woff') format('woff'), /* Modern Browsers */
    url('/fonts/oswald/oswald-v26-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/fonts/oswald/oswald-v26-latin-600.svg#Oswald') format('svg'); /* Legacy iOS */
}


* {
    font-family: 'DreibeinFont';
    font-size: 18px;
    box-sizing: border-box;
    color: #3c3c3c;
}

body {
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.row {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.w-25, .w-33, .w-50,
.w-66, .w-75, .w-100 {
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
}
.w-25 {
    width: 25%;
}
.w-33 {
    width: 33%;
}
.w-50 {
    width: 50%;
}
.w-66 {
    width: 66%;
}
.w-75 {
    width: 75%;
}
.w-100 {
    width: 100%;
}

@media screen and (min-width: 577px) {
    .sm-w-25 {
        width: 25%;
    }
    .sm-w-33 {
        width: 33%;
    }
    .sm-w-50 {
        width: 50%;
    }
    .sm-w-66 {
        width: 66%;
    }
    .sm-w-75 {
        width: 75%;
    }
    .sm-w-100 {
        width: 100%;
    }
}
@media screen and (min-width: 768px) {
    .md-w-25 {
        width: 25%;
    }
    .md-w-33 {
        width: 33%;
    }
    .md-w-50 {
        width: 50%;
    }
    .md-w-66 {
        width: 66%;
    }
    .md-w-75 {
        width: 75%;
    }
    .md-w-100 {
        width: 100%;
    }
}
@media screen and (min-width: 993px) {
    .lg-w-25 {
        width: 25%;
    }
    .lg-w-33 {
        width: 33%;
    }
    .lg-w-50 {
        width: 50%;
    }
    .lg-w-66 {
        width: 66%;
    }
    .lg-w-75 {
        width: 75%;
    }
    .lg-w-100 {
        width: 100%;
    }
}

h1, .h1 {
    font-size: 2rem;
    margin: 0 0 25px;
    font-weight: bold;
    width: 100%;
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
}
h2, .h2 {
    font-size: 1.75rem;
    margin: 0 0 25px;
    font-weight: bold;
    width: 100%;
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
}
a {
    text-decoration: none;
    color: #f01937;
}
a:hover, a:hover {
    color: #a51008;
    text-decoration: underline;
}
p {
    margin-top: 0;
    line-height: 170%;
}

/* Login */
body.loginbody {
    background-image: url("../data/img/agentur-dreibein-portal-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100vw;
}

body.loginbody > p {
    background-color: #ffffff;
    margin: 0;
    padding: 20px;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #f01937;
}

.login {
    overflow: hidden;
    background-color: #f5f5f5;
    padding: 40px 30px 30px 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 400px;
    text-align: center;
}

.login input {
    display: block;
    font-size: 1rem;
    background: white;
    width: 100%;
    border: 0;
    padding: 10px 15px;
    margin: 15px 0;
}

.login span.login_header {
    display: block;
    font-size: 25px;
    width: 100%;
    text-align: center;
    margin: 0 15px 30px 0;
}

.login input[type="submit"] {
    color: #fff;
    width: 200px;
    border: 0;
    padding: 10px 0;
    background-color: #f01937;
    margin: 50px auto 15px;
}

.login input[type="submit"]:hover {
    background-color: #a51008;
    cursor: pointer;
}
/* Login Ende*/

/* Header */
div#head {
    border-bottom: 1px solid black;
    width: 100%;
    height: 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: white;
}

#head #home {
    font-size: 20px;
    margin-left: 30px;
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: inline-block;
    -ms-flex-item-align: center;
    align-self: center;
}

#head #home img {
    max-width: 150px;
}

#head #logout {
    font-size: 20px;
    margin-right: 30px;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    display: inline-block;
    -ms-flex-item-align: center;
    align-self: center;
}

#inhalt {
    overflow: hidden;
    max-width: 1400px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 10px auto 4rem;
}

/* Header Ende */
/* Navbar -> Elemente */

div.navbar {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding-left: 15px;
}

ul.list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.list li {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

ul.list li a {
    text-decoration: none;
    padding: 10px 15px;
}

ul.list li a:hover {
    color: #a51008;
}

ul.list li a.active {
    background-color: #f01937;
    color: white;
}

/* Navbar Ende */
/* Standard-Listen Tabelle */
table {
    margin-bottom: 20px;
}
table.liste {
    border-collapse: collapse;
    border: 1px solid #bebebe;
    width: 100%;
}

table.liste th, td {
    text-align: left;
    padding: 10px 20px;
}

table.liste tr.listenzeile:nth-child(even) {
    background-color: white;
}

table.liste tr.listenzeile:nth-child(odd) {
    background-color: #e6e6e6;
}

table.liste tr.listenzeile:hover {
    background-color: #bebebe;
}

table.liste th {
    text-transform: uppercase;
    background-color: white;
    border-bottom: 2px solid black;
}
table.projektliste td,
table.projektliste th {
    width: 130px;
    text-align: center;
}
table.projektliste td:first-child,
table.projektliste th:first-child {
    text-align: left;
    width: calc(100% - 390px);
}

/* Tabelle Ende */
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

/* Collapse Table */
.collapse-table {
    overflow: hidden;
    max-height: 45px; /* height of thead */
    margin-bottom: 15px;
    transition: max-height 0.6s;
}

.collapse-toggler {
    cursor: pointer;
}

.collapse-toggler:hover {
    text-decoration: underline;
}

.footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.blog-posts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 15px;
    padding-right: 15px;
}

.blog-post {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.blog-post:hover {
    text-decoration: none;
}

.blog-post>.inside {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    background-color: white;
}

.blog-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.blog-image:before {
    content: "";
    padding-top: 66.7%;
    display: block;
}

.blog-image img {
    position: absolute;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    bottom: 0;
    max-height: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ccc;
}

.blog-content {
    padding: 1rem;
}

.blog-post-more {
    display: inline-block;
    margin: auto;
}
