@media (max-width: 640px){
    nav.navbar {
        padding-top: 0;
        padding-bottom: 0;
    }

    nav.navbar a.navbar-brand,
    nav.navbar a.navbar-brand img {
        max-height: 65px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

nav.navbar a.navbar-brand {
    margin-right: 3rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1.5rem !important;
}

/* Mobile Navigation Drawer */
#app-navigation-drawer {
    display: none;
    position: fixed;
    top: 0;
    background-color: #eee;
    z-index: 999999;
    font-size: 20px;
    max-width: 100%;
}

@media (max-width: 368px){
    nav.navbar a.navbar-brand {
        margin-right: 0;
        width: 75% !important;
    }

    img.nav-logo {
        max-width: 100% !important;
    }
}

@media (min-width: 1501px){
    #app-navigation-drawer,
    #navigation-drawer-toggle{
        display: none;
    }
}

@media (max-width: 1500px){
    #main_nav {
        display: none !important;
    }
}

#app-navigation-drawer #sidebar #menu-items ul li a i.nav-item-icon,
#app-navigation-drawer #sidebar #menu-items a.nav-link .nav-subitems-toggle i{
    font-size: 24px;
    width: 28px;
    text-align: center;
}

#app-navigation-drawer * {
    color: #666;
}

#app-navigation-drawer #sidebar {
    width: 600px;
    max-width: 100%;
}

#app-navigation-drawer #sidebar_close {
    display: block !important;
    font-size: 32px;
    cursor: pointer;
}

#app-navigation-drawer #sidebar #menu-items ul li.nav-item:not(:first-child) {
    margin-top: 14px;
}

.nav-pills .nav-link.active span, .nav-pills .show>.nav-link span,
.nav-pills .nav-link.active span i, .nav-pills .show>.nav-link span i{
    color: #fff !important;
    cursor: pointer;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #0099cc;
}
/* Mobile Navigation Drawer ENDE */

/* FONTS */

@font-face {
    font-family: "DMSans";
    src: local("DMSans Regular"), url("../webfonts/DMSans-Regular.woff2");
    font-display: swap;
}

@font-face {
    font-family: "DMSans Thin";
    src: local("DMSans Light"), url("../webfonts/DMSans-Light.woff2");
    font-display: swap;
}

@font-face {
    font-family: "DMSans Thick";
    src: local("DMSans Bold"), url("../webfonts/DMSans-Bold.woff2");
    font-display: swap;
}

@-moz-document url-prefix() {
    body {
        font-weight: lighter !important;
    }
}

/* ANIMATIONS */

@keyframes invalid-pulse {
    0% {
        box-shadow: 0 0 2px 1px #ccc;
        background-color: #fff;
    }
    50% {
        box-shadow: 0 0 2px 1px #ff5e00;
        background-color: #ffe8db;
    }
    100% {
        box-shadow: 0 0 2px 1px #ccc;
        background-color: #fff;
    }
}

@keyframes valid-pulse {
    0% {
        box-shadow: 0 0 2px 1px #ccc;
        background-color: #fff;
    }
    50% {
        box-shadow: 0 0 2px 1px var(--primary_color);
        background-color: #c6f7b0;
    }
    100% {
        box-shadow: 0 0 2px 1px #ccc;
        background-color: #fff;
    }
}

@keyframes vertical-wobble {
    0% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(3px);
    }
    75% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes horizontal-wobble {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(3px);
    }
    75% {
        transform: translateX(-3px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes wiggle {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    2% {
        transform: translate(-1px, -1px) rotate(-0.3deg);
    }
    4% {
        transform: translate(-1px, 0px) rotate(0.3deg);
    }
    6% {
        transform: translate(0px, 1px) rotate(0deg);
    }
    8% {
        transform: translate(1px, -1px) rotate(0.3deg);
    }
    10% {
        transform: translate(-1px, 1px) rotate(-0.3deg);
    }
    10%, 100% {
        transform: rotateY(0deg);
    }
}

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

@keyframes coinspin {
    0% {
        transform: rotateY(0deg);
        top: 0;
    }
    10% {
        top: -20px;
    }
    20% {
        top: 0;
    }
    30% {
        top: -15px;
    }
    40% {
        top: 0;
    }
    50% {
        top: -10px;
    }
    60% {
        top: 0;
    }
    100% {
        transform: rotateY(360deg);
        top: 0;
    }
}

/* TEXT SELECTION & SCROLLBARS */

::selection {
    background-color: var(--secondary_color);
    color: #fff;
}

/* Anastasia ist kein Fan.

::-webkit-scrollbar
    {width: 14px; height: 14px;}

::-webkit-scrollbar-track
    {background-color: var(--light_grey2);}

::-webkit-scrollbar-thumb
	{
	background-color: var(--primary_color);
    border-radius: 2px;
	border: 1px solid #93b34a;
	box-shadow: 0 0 2px 0 #93b34a;
	}

::-webkit-scrollbar-thumb:hover
	{background-color: #a4c753;}

*/

::-webkit-input-placeholder {
    color: #aaa;
    font-family: "DMSans Thin", arial;
}

::-moz-placeholder {
    color: #aaa;
    font-family: "DMSans Thin", arial;
}

:-ms-input-placeholder {
    color: #aaa;
    font-family: "DMSans Thin", arial;
}

::placeholder {
    color: #aaa;
    font-family: "DMSans Thin", arial;
}


/* GLOBAL CLASSES */

nav{
    background-color: #fff;
}

nav *,
nav div ul li .nav-link{
    color: #777777 !important;
}

nav a,
nav a:hover{
    text-decoration: none !important;
}

.btn-color-1 {
    background-color: var(--primary_button_color);
    border-bottom: solid 2px var(--primary_button_border_color);
    /*
    background: linear-gradient(to bottom, var(--primary_color) 0%, #a8c54f 100%) repeat scroll 0 0;
    text-shadow: 1px 1px 2px #7b7b7b;
    box-shadow: 1px 2px 2px #888;
    border: 1px solid #93b34a;
    */
}

.btn-color-1:hover {
    background-color: var(--primary_button_color_hover);
    /*
    background: linear-gradient(to bottom,#a4c753 0%,#8aa944 100%) repeat scroll 0 0;
    */
}

.btn-color-2 {
    background-color: var(--secondary_button_color);
    border-bottom: solid 2px var(--secondary_button_border_color);
    /*
    background: linear-gradient(to bottom, #325386 0%, #365482 100%) repeat scroll 0 0;
    text-shadow: 1px 1px 2px #7b7b7b;
    box-shadow: 1px 2px 2px #888;
    border: 1px solid #3d5e8e;
    */
}

.btn-color-2:hover {
    background-color: var(--secondary_button_color_hover);
    /*
    background: linear-gradient(to bottom, #2c4c7c 0%, #263a58 100%) repeat scroll 0 0;
    */
}

.grey {
    background-color: #c1c1c1;
}

.grey:hover {
    background-color: #b4b4b4;
}

.bright-grey {
    background-color: var(--light_grey2);
}

.bright-grey:hover {
    background-color: #c1c1c1;
}

.pulse-red,
.pulse-red + label:before {
    animation: invalid-pulse 1s infinite;
}

.pulse-green,
.pulse-green + label:before {
    animation: valid-pulse 1s infinite;
}

.tooltip {
    background-color: var(--light_grey2);
    border-radius: 8px;
    position: absolute;
    opacity: 0.0;
    transition: opacity 0.25s, right 0.25s, left 0.25s;
    transition-timing-function: ease-out;
    font-size: 13pt;
    transform: translateY(9px);
    z-index: 12;
    padding: 16px 20px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.4);
}

.tooltip.visible {
    opacity: 1.0;
    transition-timing-function: ease-in;
    height: auto;
}

.tooltip {
    padding: 8px 10px;
    font-size: 13pt;
    border: solid 1px #ccc;
}

.tooltip.to-right {
    border-top-left-radius: 0;
}

.tooltip.to-left {
    border-top-right-radius: 0;
}

.tooltip > span {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: -20px;
}

.tooltip.to-right > span {
    left: -1px;
    background: linear-gradient(45deg,
    rgba(242, 242, 242, 1) 0%,
    rgba(242, 242, 242, 1) 50%,
    #ccc 51%,
    #ccc 52%,
    rgba(242, 242, 242, 0) 53%,
    rgba(242, 242, 242, 0) 100%);
    border-left: solid 1px #ccc;
}

.tooltip.to-left > span {
    right: -1px;
    background: linear-gradient(316deg,
    rgba(242, 242, 242, 1) 0%,
    rgba(242, 242, 242, 1) 50%,
    #ccc 51%,
    #ccc 52%,
    rgba(242, 242, 242, 0) 53%,
    rgba(242, 242, 242, 0) 100%);
    border-right: solid 1px #ccc;
}

.tooltip > ul,
.tooltip > div {
    position: relative;
    z-index: 1;
}

.tooltip > ul > li:not(.no-results) {
    padding: 2px 6px;
}

.tooltip > ul > li:not(.no-results):hover {
    cursor: pointer;
    background-color: #ddd;
    border-radius: 4px;
}

.msg {
    font-size: 13pt;
    padding: 4px 6px;
    display: block;
    font-weight: bold;
    border-radius: 3px;
    white-space: normal;
}

.msg.notice {
    background-color: #e7effc;
    border: solid 1px var(--secondary_color);
    color: var(--secondary_color);
}

.msg.notice:before {
    content: "\f05a";
}

.msg.warning {
    background-color: #ffefcc;
    border: solid 1px #ffb71e;
    color: #ffb71e;
}

.msg.warning:before {
    content: "\f071";
}

.msg.failure {
    background-color: #ffcfb2;
    border: solid 1px #b50000;
    color: #b50000;
}

.msg.failure:before {
    content: "\f057";
}

.msg.success {
    background-color: #e3fdd2;
    border: solid 1px #658532;
    color: #658532;
}

.msg.success:before {
    content: "\f058";
}

.msg.notice:before,
.msg.warning:before,
.msg.failure:before,
.msg.success:before {
    font-family: Font Awesome\ 5 Pro;
    margin-right: 8px;
}

.prompt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s;
    opacity: 0.0;
    z-index: 11;
}

.prompt.visible {
    opacity: 1.0;
}

.prompt > div {
    padding: 40px;
    border-radius: 8px;
    background-color: #fff;
    border-bottom: 3px solid #ddd;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 95%;
    overflow: hidden;
    overflow-y: auto;
}

.prompt.iframe > div {
    padding: 20px;
    min-width: 480px;
    width: 50%;
}

.prompt.iframe > div > iframe {
    width: 100%;
}

.prompt > div > p {
    margin-bottom: 20px;
}

.prompt > div > button {
    width: 100%;
}

.prompt.choice > div > button {
    width: 49%;
}

.prompt.choice > div > button:last-of-type {
    float: right;
}

.prompt > div > i:last-child {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 14pt;
}

.prompt > div > i:last-child:hover {
    cursor: pointer;
}

.prompt img {
    max-width: 100%;
}

img {
    max-width: 100%;
}

@media only screen and (max-width: 640px) {
    .prompt > div,
    .prompt.iframe > div {
        padding: 40px 20px;
        width: 90%;
        min-width: auto;
    }
}

/* COMMON TAGS */

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
}

a, *[data-href] {
    color: var(--secondary_color);
    text-decoration: none;
}

a.disabled, *[data-href].disabled {
    display: none;
}

p > a {
    font-weight: bold;
}

a:hover,
*[data-href]:hover {
    text-decoration: underline;
    cursor: pointer;
}

strong, b {
    font-family: "DMSans Thick";
    font-weight: normal;
    letter-spacing: 0.5px;
}

pre {
    white-space: pre-wrap;
}

/* Inputs */

input,
button,
select,
textarea {
    font-family: inherit;
    vertical-align: middle;
}

input:disabled,
button:disabled,
select:disabled {
    opacity: 0.5;
}

input:disabled[type="checkbox"] + label,
input:disabled[type="radio"] + label {
    opacity: 0.5;
}

/* Checkbox and radio buttons */

input[type="checkbox"],
input[type="radio"] {
    display: none;
    vertical-align: middle;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    content: "_";
    color: transparent !important;
    display: inline-block;
    background-color: #fff;
    width: 18px;
    height: 18px;
    box-shadow: inset 0 14px 14px -14px #ddd;
    border: solid 1px #ccc;
    font-size: 10pt;
    line-height: 18px;
    margin-right: 4px;
    overflow: hidden;
    vertical-align: -4px;
    font-weight: bold;
    border-radius: 3px;
}

input[type="checkbox"] + label[data-invisible-input]:before,
input[type="radio"] + label[data-invisible-input]:before {
    display: none;
}

input[type="checkbox"].small + label:before,
input[type="radio"].small + label:before {
    width: 13px;
    height: 13px;
    font-size: 8pt;
    line-height: 13px;
    vertical-align: -1px;
}

input[type="radio"] + label:before {
    border-radius: 18px;
}

input[type="checkbox"] + label:hover:before,
input[type="radio"] + label:hover:before {
    cursor: pointer;
    background-color: var(--light_grey2);
}

input[type="checkbox"]:disabled + label:before,
input[type="radio"]:disabled + label:before {
    color: #ccc;
}

input[type="checkbox"]:checked + label:before {
    content: "\f00c";
    text-align: center;
    font-family: Font Awesome\ 5 Pro;
    color: #434343 !important;
}

input[type="radio"]:checked + label:before {
    content: "\f058";
    text-align: center;
    font-family: Font Awesome\ 5 Pro;
    font-weight: 900;
    color: #434343 !important;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    vertical-align: middle;
    display: inline-block;
    margin: 0 8px 0 0;
    font-size: 13pt;
    line-height: 24px;
    font-family: "DMSans", arial;
}

input[type="checkbox"] + label:hover,
input[type="radio"] + label:hover {
    cursor: pointer;
}

/* Alternative checkbox style */

input[type="checkbox"].alt + label:before {
    content: "\f111";
    width: 40px;
    height: 25px;
    border-radius: 25px;
    text-align: left;
    font-size: 20px;
    line-height: 26px;
    color: #fff !important;
    font-family: Font Awesome\ 5 Pro;
    padding: 0 3px 0 2px;
    background-color: #c1c1c1;
    box-shadow: none;
}

input[type="checkbox"].alt + label:after {
    width: 30px;
    content: "AUS";
    text-align: right;
    float: left;
    line-height: 26px;
    margin-right: 8px;
}

input[type="checkbox"]:checked.alt + label:before {
    text-align: right;
    background-color: var(--primary_color);
}

input[type="checkbox"]:checked.alt + label:after {
    content: "AN";
}

/* Custom password input */

input[type="password"] {
    font-size: 18pt;
    font-family: monospace;
    background-image: url(../img/pw-eye-open.png);
    background-repeat: no-repeat;
    background-position: right;
}

input[type="password"]::placeholder {
    font-size: 13pt;
    font-family: "DMSans", arial;
}

input[type="password"].valid {
    background-image: url("../img/pw-eye-open-checkmark.png");
}

/* Buttons */

input[type="submit"],
input[type="button"],
button, .button {
    color: #fff;
    font-size: 13pt;
    line-height: 14pt;
    text-align: center;
    border-radius: 4px;
    padding: 8px 12px;
    display: inline-block;
    vertical-align: middle;
    /* Hebt seltsames Submit-Button-Rendering auf iPhone/Safari auf */
    -webkit-appearance: none;
}

input[type="submit"].cta,
input[type="button"].cta,
button.cta, .button.cta {
    font-family: "DMSans Thick";
}

input[type="submit"].big-cta,
input[type="button"].big-cta,
button.big-cta, .button.big-cta {
    font-family: "DMSans Thick";
    font-size: 15pt;
    line-height: 20pt;
    padding: 26px 18px;
    border-radius: 7px;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
a.button:hover {
    cursor: pointer;
    text-decoration: none;
}

input[type="submit"]:active,
input[type="button"]:active,
button:active,
a.button:active {
    transform: translate(2px, 2px);
}

label {
    font-size: 13pt;
    font-family: "DMSans Thick";
    font-weight: normal;
    vertical-align: middle;
}

select {
    vertical-align: middle;
    width: inherit;
    color: inherit;
    font-size: 13pt;
}

h1, h2, h3, h4, h5 {
    font-family: "DMSans Thick";
    font-weight: normal;
    color: inherit;
}

/* CSS text-transform: uppercase ändert ß zu SS
ß können in span gewrapped werden um das zu verhindern */
h1 > span, h2 > span, h3 > span, h4 > span, h5 > span {
    text-transform: none;
}

h1 {
    font-size: 30pt;
    line-height: 36pt;
    margin-top: 25px;
    margin-bottom: 15px;
}

h2 {
    font-size: 24pt;
    line-height: 30pt;
    margin-bottom: 10px;
}

h3 {
    font-size: 18pt;
    line-height: 22pt;
    margin-top: 20px;
    margin-bottom: 10px;
}

h4 {
    font-size: 16pt;
    line-height: 20pt;
    margin-top: 10px;
    margin-bottom: 10px;
}

h5 {
    font-size: 15pt;
    line-height: 19pt;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 640px) {
    h1 {
        font-size: 22pt;
        line-height: 26pt;
    }

    h2 {
        font-size: 20pt;
        line-height: 24pt;
    }

    h3 {
        font-size: 16pt;
        line-height: 18pt;
    }

    h4 {
        font-size: 15pt;
        line-height: 17pt;
    }
}

hr {
    clear: both;
}

ol {
    padding-left: 30px;
    margin: 10px;
}
/* UNIQUE TAGS */

body {
    word-wrap: break-word;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center 25px;
    background-size: 100% auto;
    color: #434343;
    font-family: "DMSans", arial;
    min-width: 320px; /* 360px; 420px */
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 13pt;
    line-height: 18pt;
    transform-origin: 0% 0%;
}

/* alert indicator within menu option */

@media only screen and (max-width: 640px) {

    /* General structure */
    body {
        padding-top: 0px;
    }

    header {
        position: fixed !important;
        z-index: 8;
        width: 100%;
        top: 0;
    }
}

/* Main */
main {
    width: 100%;
    max-width: var(--max_container_width);
    margin: 0 auto 0;
    margin-top: 0;
    padding: 40px 0 40px;
    border-radius: 8px;
    background-color: #fff;
    display: block;
    /*
    border: solid 1px rgb(248, 248, 248);
    border-bottom: 3px solid #ddd;
    */
    /* box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4); */
}

@media only screen and (max-width: 1620px) {
    main {
        padding: 40px 16px 40px;
    }
}

@media only screen and (max-width: 1200px) {
    main {
        width: 100%;
        border-radius: 0;
    }
}

/* Footer */

footer.fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer small {
    text-align: center;
    display: block;
    padding: 4px;
    font-size: 10pt;
    line-height: 18pt;
    overflow: hidden;
}

footer small > span {
    white-space: nowrap;
}

@media only screen and (max-width: 640px) {
    footer small {
        font-size: 8pt;
        line-height: 12pt;
    }
}

@media only screen and (max-width: 480px) {
    footer small {
        font-size: 6.5pt;
        font-family: "DMSans Thick";
    }
}

/* Responsive content */

.responsive-content > span {
    text-transform: inherit;
}

@media only screen and (min-width: 641px) {
    .responsive-content > span:last-of-type,
    .responsive-content > img:last-of-type {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    .responsive-content > span:first-of-type,
    .responsive-content > img:first-of-type {
        display: none;
    }
}

/* Kleiner Text beim AGB akzeptieren */

p.legal-sub-text {
    font-size: 10pt;
    line-height: 14pt;
}

/* Über Google Tag Manager eingebundener Live-Chat */

body > div.userlike {
    z-index: 2 !important;
}

body > div.userlike #userlike-tab {
    right: 0 !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.4);
    width: 70px !important;
    max-width: none !important;
    padding-left: 3px !important;
    transition: width 0.1s, padding-left 0.1s, bottom 0.5s ease-in-out !important;
}

body > div.userlike #userlike-tab:hover {
    width: 80px !important;
    padding-left: 8px !important;
    cursor: pointer !important;
}

img.aligncenter {
    width: 100%;
    object-fit: contain;
}

.offset-1-7th{
    margin-left: 9.28%;
}

.spacer-size-sm{
    height: 16px;
}

.spacer-size-md{
    height: 32px;
}

.spacer-size-lg{
    height: 64px;
}

.spacer-size-xl{
    height: 128px;
}

@media only screen and (max-width: 640px){
    .spacer-size-sm{
        height: 4px;
    }

    .spacer-size-md{
        height: 8px;
    }

    .spacer-size-lg{
        height: 16px;
    }

    .spacer-size-xl{
        height: 32px;
    }
}

.lightbox img:not(.round){
    max-width: 100%;
    object-fit: contain;
}

div.attachment_img img{
    max-width: 100%;
    object-fit: contain;
}
div.attachment_img.left{
    text-align: left;
}
div.attachment_img.right{
    text-align: right;
}
div.attachment_img.center{
    text-align: center;
}

div.attachment_img div.attachment_container div.attachment_img_caption{
    padding: 15px;
    /*background-color: #eee*/;
}

div.attachment_img div.attachment_container div.attachment_img_caption p{
    margin-bottom: 0;
}
/* SHORTCODES ENDE */

/* BOOTSTRAP VARIABLEN */
.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active,
.btn-primary:active, .show>.btn-primary.dropdown-toggle{
    border-color: #0099cc !important;
}

.btn {
    text-decoration: none !important;
}

.btn-primary:hover {
    border-color: #0077aa !important;
    background-color: #0077aa !important;
}

div.register{
    text-align: center;
}

iframe{
    max-width: 100%;
}

span.favourite-icon{
    position: absolute;
    top: 0;
    left: 0;
    margin: 10px;
}

span.favourite-icon i{
    font-size: 20px;
    font-weight: 500;
}

span.favourite-button{
    margin-top: 10px;
}

span.favourite-button a i{
    font-size: 20px;
    font-weight: 500;
}

/* BOOTSTRAP VARIABLEN ENDE */

/* Formulare */
form input[type="text"],
form input[type="password"],
form input[type="email"],
form select,
form textarea{
    width: 100%;
    border: solid 2px #ccc;
    border-radius: 4px;
    padding: 6px;
    font-size: 16px;
    box-shadow: none;
}
/* Formulare ENDE */

.fullwidth {
    width: 100%;
}