html, body {
    min-height: 100%;
}

body {
    font-size: 14px;
    font-family: 'Fira Sans', sans-serif;
    background: #09494f;
    padding-top: 30px;
    padding-bottom: 30px;
}

a {
    color: #fff;
}

.modal a {
    color: #333;
}

a.as_block {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    background: #eee;
    margin-top: 10px;
}

a.as_block:first-child {
    margin-right: 20px;
}

p.text-center {
    margin-bottom: 0px;
}

.tab-pane a {
    color: #000;
    border-bottom: 1px solid #666;
}

.tab-pane a:hover {
    text-decoration: none;
    border-color: #ccc;
}

.container {
    max-width: 1250px;
}

.content {
    background: #fff;
    margin-top: -100px;
    box-shadow: 1px 1px 1px #ddd;
    min-height: 120px;
    padding: 40px;
}

/* Header & Navigation */

header {
    text-align: center;
    background: #D2D3BD;
    padding: 30px 0px;
    height: 130px;
    overflow: hidden;
    background: url(../img/bg-header.jpg) no-repeat center left;
    background-size: cover;
}

#logo {
    display: block;
}

#logo img {
    margin: 0px auto;
    display: block;
    transform: rotate(-11deg);
    width: 150px;
    margin-top: -18px;
}

ul.navigation {
    margin: 0px;
    padding: 10px;
    text-align: center;
    margin-bottom: 30px;
}

ul.navigation li,
ul.navigation li a {
    display: inline-block;
}

ul.navigation li a {
    margin-right: 10px;
    font-size: 1.8rem;
    color: #7e7f71;
    -webkit-font-smoothing: subpixel-antialiased;
    text-transform: uppercase;
    line-height: 100%;
    vertical-align: bottom;
    text-decoration: none;
    font-weight: lighter;
}

/* Teaser */

.teaser {
    margin-top: 25px;
    box-shadow: 1px 1px 1px #ccc;
    background: #eee;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    padding: 20px;
    vertical-align: baseline;
    position: relative;
    overflow: hidden;
}

.col-md-4 .teaser {
    overflow: visible;
    text-align: center;
}

.teaser .badge {
    position: absolute;
    background: #db5520;
    right: -10px;
    top: -10px;
    font-size: 2em;
    width: 50px;
    height: 50px;
    line-height: 43px;
    border-radius: 50px;
    z-index: 10;
}

.teaser .corner-badge {
    position: absolute;
    left: -44px;
    top: 19px;
    transform: rotate(-45deg);
    background: #FC6921;
    border-radius: 0p;
    color: #fff;
    width: 150px;
    z-index: 9;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
}

.teaser i {
    position: absolute;
    top: 10px;
    right: -15px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 6em;
    transition: transform ease 5s, color ease 1s;
}

.teaser a:not(.event-box):hover i {
    transform: rotateZ(360deg);
    color: rgba(255, 255, 255, 0.3);
}

.teaser h2,
.teaser p {
    margin: 0px;
    display: inline-block;
    color: #fff;
    font-size: 1.7em;
    line-height: 140%;
    font-weight: bold;
}

.teaser.teaser-schedule {
    background: url(../img/beton.jpeg);
    background-size: contain;
}

.teaser a {
    display: block;
}

.teaser p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    font-weight: normal;
    margin-top: 5px;
    transition: color ease 0.3s;
}

.teaser p strong {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.teaser a:hover p {
    color: #fff;
}

.teaser a {
    color: #fff;
    border: 0px;
}

.col-md-12 > .teaser {
    margin-top: 0px;
}

/* Sidebar */

.sidebar h3,
.sidebar_nav,
.sidebar header,
.sidebar .birthday {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    border-radius: 5px;
}

.sidebar h3 {
    padding: 10px 20px 15px 90px;
    font-size: 30px;
    margin-bottom: 20px;
    line-height: 100%;
    color: #fff;
    margin-top: 20px;
    background: linear-gradient(to bottom, #FF6900, #FF6900 80%);
    position: relative;
}

.sidebar h3 strong {
    width: 70px;
    height: 70px;
    background-size: contain;
    display: block;
    border-radius: 9px;
    position: absolute;
    left: 7px;
    top: 7px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.2);
    border: 5px solid #e55614;
}

.sidebar h3 a:hover {
    color: inherit;
    text-decoration: none;
}

.sidebar h3 span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: block;
    font-family: 'Fira Sans Condensed';
}

.sidebar_nav {
    list-style-type: none;
    padding: 0px;
    margin: 0px 0px 30px 0px;
}

.sidebar_nav a {
    background: #0F5F67;
    color: #fff;
    display: block;
    padding: 7px 13px;
    border-bottom: 1px solid #084449;
    transition: all ease 0.3s;
    position: relative;
}

.sidebar_nav a .badge {
    float: right;
    margin-right: -5px;
    background: #084449;
}

.sidebar_nav li:first-child a {
    border-radius: 3px 3px 0px 0px;
}

.sidebar_nav li:last-child a {
    border-radius: 0px 0px 3px 3px;
}

.sidebar_nav a.logout {
    background: #FF4050;
    border-bottom-color: #FF4050;
}

.sidebar_nav a i {
    position: absolute;
    right: 10px;
    top: 11px;
    opacity: 0.5;
    transition: all ease 0.3s;
}

.sidebar_nav a:hover i {
    opacity: 1;
}

.sidebar_nav a:hover,
.sidebar_nav a.active {
    background: #2f868e;
    text-decoration: none;
}

.sidebar_nav a.logout:hover {
    background: #d82b39;
}

.sidebar .birthday {
    background: #fff url(../img/birthday.jpeg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    vertical-align: baseline;
    font-size: 15px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 30px;
}

.sidebar .birthday span {
    background: rgba(0, 0, 0, 0.4);
    display: block;
    padding: 17px 0px;
    font-size: 13px;
    border-radius: 5px;
    color: #00FF84;
}

.sidebar .birthday strong {
    display: block;
    font-size: 15px;
    color: #fff;
}

.sidebar .birthday strong:nth-of-type(1) {
    margin-top: 5px;
}

/* Calendar */

.fc-toolbar h2 {
    margin-bottom: 20px;
}

.fc-event.type_event {
    cursor: pointer;
}

.fc-list-item-title a {
    border-bottom: 0px;
}

.waiting {
    line-height: 50px;
    text-align: center;
    font-size: 20px;
}

.modal-footer {
    text-align: center;
}

#modal_event #map {
    height: 200px;
    margin: 30px -15px 0px -15px;
}

#modal_event .modal-body {
    text-align: center;
}

#modal_event ul.event_data,
#modal_event ul.users {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

#modal_event .modal-body h2 {
    margin-top: 10px;
}

#modal_event .information {
    border: 1px solid #ccc;
    margin: 20px 0px;
    padding: 15px;
    text-align: left;
}

#modal_event .information p:last-child {
    margin-bottom: 0px;
}

#modal_event ul.event_data li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #0F5F67;
    color: #fff;
    padding: 5px 10px;
}

#modal_event ul.event_data li.edit_link {
    padding: 0px;
}

#modal_event ul.event_data li.edit_link a {
    display: block;
    background: #FC6921;
    color: #fff;
    padding: 5px 10px;
}

#modal_event ul.event_data li.edit_link a i {
    color: rgba(255, 255, 255, 0.5);
}

#modal_event ul.event_data li.edit_link a:hover {
    text-decoration: none;
}

#modal_event ul.event_data li span {
    color: rgba(255, 255, 255, 0.7);
}

#modal_event .participants {
    text-align: left;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    max-width: 80%;
    margin: 20px auto 0px auto;
}

#modal_event #map:empty + .participants {
    border-top: 0px;
}

#modal_event .participants h3 > span.voice {
    float: right;
    font-size: 12px;
    background: #eee;
    padding: 3px 7px;
    margin-left: 5px;
}

#modal_event .participants h3 > span.voice em {
    font-style: normal;
}

#modal_event .participants select {
    margin-top: 20px;
}

#modal_event .participants .users {
    margin-bottom: 10px;
    margin-top: 20px;
}

#modal_event .participants .users li {
    display: inline-block;
    background: #eee;
    padding: 5px 10px;
    white-space: nowrap;
    margin-bottom: 3px;
    font-size: 12px;
}

#modal_event .participants .users li.out {
    background: #b93046;
    color: #fff;
}

#modal_event .participants .users li .fa {
    color: green;
}

#modal_event .participants .users li.out .fa {
    color: #fff;
}

#modal_event .participants .users li.out {
    display: none;
}

#modal_event .messagebox {
    background: #629311;
    color: #fff;
    margin: -15px -15px 20px -15px;
    padding: 10px;
}

#modal_event .messagebox:visible + .messagebox {
    margin-top: -20px;
}

#modal_event .messagebox.out {
    background: #b92f45;
}

#modal_event .messagebox a {
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 7px;
    color: #333;
}

/* Messages */

.tab-pane {
    padding: 30px;
}

.tab-pane.single {
    font-size: 1.1em;
    padding: 50px;
    line-height: 170%;
}

.tab-pane.single .blog-content {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.tab-pane.single h1,
.tab-pane.list h2 {
    margin-top: 0px;
    color: #0C646F;
}

.tab-pane.list h2 {
    font-size: 23px;
}

.tab-pane.list h2:not(:first-child) {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #ccc;
}

.tab-pane.list h2 a {
    text-decoration: none;
    border: 0px;
    color: #0C646F;
}

.tab-pane.single blockquote {
    color: #0C646F;
    background: #f9f9f9;
}

.tab-pane.single h1 + div {
    color: #777;
}

.tab-pane.single .blog-content {
    color: #333;
}

.tab-pane.single .blog-content > p:first-child::first-letter {
    display: inline-block;
    font-size: 4em;
    float: left;
    line-height: 100%;
    margin: 0px 10px 0px 0px;
}

#profile.tab-pane {
    padding-top: 10px;
}

.tab-pane > .alert:first-child {
    margin-top: 20px;
}

.tab-content {
    background: #fff;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-tabs + .tab-content {
    border-radius: 0px 0px 5px 5px;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border-width: 0px 0px 2px 0px;
}

.nav>li>a:hover {
    background: none;
    border-color: transparent;
    color: #fff;
}

.messages {
    font-size: 14px;
    margin-bottom: 0px;
}

.messages .new td:nth-child(2):before {
    content: "Neu";
    display: inline-block;
    background: green;
    color: #fff;
    text-transform: uppercase;
    font-size: .8em;
    margin-right: 5px;
    padding: 2px 5px;
    border-radius: 3px;
    vertical-align: top;
}

#modal_message .modal-body {
    padding: 15px 35px;
}

.messages td:nth-child(2) {
    white-space: nowrap;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0F5F67;
}

.messages tr:first-child td {
    border-top: 0px;
}

.messages tr td {
    transition: background ease 0.3s;
}

.messages tr:hover td {
    background: #f5f5f5;
    cursor: pointer;
}

#editor, #editor * {
    font-family: arial;
}

.pagination-header {
    margin: 0px;
    color: #777;
    font-size: 12px;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.pagination > li > a:hover,
.pagination > li > span:hover {
    background: #0F5F67;
    border-color: #0F5F67;
    color: #fff;
}

#change_password {
    margin-top: 20px;
}

#change_password [type=submit] {
    margin-top: 10px;
}

/* Mitgliederliste */

.itemsearch {
    position: relative;
}

.itemsearch input {
    width: calc(100% + 10px);
    display: block;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.itemsearch:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f002";
    position: absolute;
    right: 5px;
    top: 8px;
    font-size: 16px;
    color: #555;
}

.itemlist {
    margin-bottom: -15px;
}

.itemlist .item {
    background: #eee;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: inset 1px 1px 2px #ccc;
    border-radius: 5px;
    margin-right: -10px;
    position: relative;
    min-height: 69px;
    overflow: hidden;
}

.itemlist .item div.icon {
    font-size: 2em;
    color: #148794;
}

.itemlist .item.download {
    text-align: center;
}

.itemlist .item.download p {
    display: block;
}

.itemlist .item .btn-success {
    color: #fff;
    margin-top: 10px;
}

.itemlist .item h6 {
    margin: 8px 0px 0px 0px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.itemlist .item .edit_link {
    font-size: .8em;
    display: inline;
}

.itemlist .item p {
    margin: 0px;
    margin-right: 3px;
    display: inline-block;
    color: #777;
    margin-top: 5px;
    font-size: 12px;
}

.item .onlinestate {
    position: absolute;
    top: 11px;
    left: 11px;
    display: none;
}

.item .onlinestate.online {
    display: block;
    color: #68a432;
}

.item span {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.item strong {
    display: inline-block;
    background: linear-gradient(to bottom, #ddd, #eee);
    width: 50px;
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
    border-radius: 5px;
    margin-right: 15px;
    transition: box-shadow ease .3s;
}

.item.has_avatar strong:hover {
    cursor: zoom-in;
    box-shadow: 1px 1px 10px #aaa;
}

.item.has_avatar.zoomed strong {
    width: 100%;
    cursor: zoom-out;
    float: none;
    display: block;
    min-height: 215px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.item strong[style=""]:before,
.sidebar h3 [style=""]:before {
    content: "\f007";
    font-family: "Font Awesome 5 Pro";
    display: block;
    text-align: center;
    line-height: 50px;
    font-size: 1.8em;
    color: #ccc;
}

.sidebar h3 [style=""]:before {
    line-height: 59px;
    font-size: 1.2em;
    color: rgba(0, 0, 0, 0.1);
}

/* Teaser */

.event-box {
    background: #17B28B;
    padding: 20px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.event-box.empty {
    background: #333;
    opacity: .4;
}

.event-box h3 {
    margin: 0px;
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
}

.event-box h3,
.event-box p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.event-box p, .event-box span {
    color: rgba(255, 255, 255, 0.7);
}

.event-box span {
    display: block;
    font-size: .8em;
    top: -2px;
}

.event-box i {
    display: block;
    position: static;
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFE747;
}

#verse {
    padding: 20px;
    border-radius: 5px;
    background: #f5f5f5;
    margin-top: 25px;
    font-size: 1.1em;
    line-height: 170%;
    position: relative;
    padding-left: 120px;
    min-height: 100px;
}

#verse:before {
    content: "\f10e";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 25px;
    font-size: 5em;
    color: rgba(23, 178, 139, 0.4);
    top: 42px;
}

#verse div {
    display: inline;
}

#verse div:first-child:before {
    content: "Vers des Tages";
    display: inline-block;
    background: #FC6921;
    color: #fff;
    padding: 0px 7px;
    line-height: 170%;
    margin-right: 8px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: .9em;
    position: relative;
    top: -1px;
}

#verse div:last-child {
    margin-left: 5px;
}

/* WP Blocks */

.wp-block-image {
    margin-top: 30px;
}

.wp-block-image img {
    border-radius: 5px;
}

/* Blog */

.readers {
    margin-top: 10px;
    line-height: 30px;
}

.readers span {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: #ddd;
    vertical-align: middle;
    background-size: cover;
}

.readers span:not(:first-child) {
    margin-left: -15px;
    border-left: 1px solid #fff;
}

.readers span:last-of-type {
    margin-right: 5px;
}
