/*
Theme Name: KKGK Child
Theme URI: https://github.com/tidythemes/blankslate
Author: TidyThemes
Author URI: http://tidythemes.com/
Template: blankslate

*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;700&display=swap');
/*
font-family: 'Barlow Condensed', sans-serif;
font-family: 'Lato', sans-serif;
font-family: 'Libre Baskerville', serif;
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

:root {
    --purple: #7C1BF9;
    --green: #00FFA3;
}

html {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 10px;
    line-height: 1.4;
    color: var(--purple);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    background-image: url(https://kkgk.ch/wp-content/uploads/2021/01/bg_violet.svg);
    background-position: -350vh 100vh;
    background-size: 300%;
    background-repeat: no-repeat;
}

body.no-scroll {
    max-height: 99vh;
    overflow-y: hidden;
}

/* ATOMIC */
#sidebar, .entry-footer, #content article header, #content footer.footer {
    display: none;
}

.bg-purble {
    background-color: var(--purple);
}

.button {
    border-radius: 10rem;
}

.relative {
    position: relative;
}

/* TYPOGRAPHY */
h1 {
    font-weight: bold;
    font-size: 5rem;
    color: var(--purple);
    margin-bottom: 4rem;
    line-height: 1.3;
}

h2 {
    font-family: "Georgia", serif;
    font-weight: bold;
    font-size: 5rem;
    color: var(--purple);
}

h3 {
    font-family: "Georgia", serif;
    font-weight: bold;
    font-size: 7rem;
    color: var(--purple);
    margin-bottom: 10rem;
}

* {
    color: var(--purple);
}

h4 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

h5 {
    font-size: 2.5rem;
    font-weight: 700;
}

h6 {
    font-size: 1.6rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8.2rem;
    font-weight: 700;
}

h6.green {
    color: var(--green);
    margin-top: 9rem;
    margin-bottom: 4rem;
    text-align: left;
}

.no-login h6 {
    text-align: left;
    margin-bottom: 2rem;
    margin-top: 10rem;
}

.content-container p {
    font-family: "Georgia", serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.4;
}

p.lead-info, div.lead-info p,.content-container p.details {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.6rem;
    margin-top: 1.5rem;
    line-height: 1.7;
}

p.lead-info.small {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

p.info {
    font-family: "Georgia", serif;
    font-weight: bold;
    font-size: 2.3rem;
    line-height: 1.5;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

p.mitglied-name {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 3rem;
    line-height: 1.3;
    font-weight: 700;
}

/* CONTENT */
.content-container {
    padding: 0 5rem;
    width: 100%;
}

#main-content {
    margin-top: -25rem;
    margin-bottom: 25rem;
}

.mitglieder#main-content {
    margin-top: 10rem;
}

.tauschborse#main-content, .bildergalerie#main-content, .impressum#main-content {
    margin-top: 20rem;
}

#text-page {
    margin: 10rem 0;
}

.down-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10rem;
}

#main-content p a {
    color: var(--green);
}

#main-content p a:hover {
    color: var(--purple);
}

/* INFO BOX */
.home-infos {
    margin-top: 25rem;
    margin-bottom: 20rem;
}

.info-box {
    padding: 6rem;
    height: 100%;
}

.info-box.Violett {
    background-color: var(--purple);
}

.info-box.Grün {
    background-color: var(--green);
}

.info-box.Violett * {
    color: var(--green);
}

.info-box.Grün * {
    color: var(--purple);
}

.info-box .download-button {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;

    bottom: -7rem;
}

.info-box .download-button span {
    display: block;
}

.info-box.Grün .download-button {
    width: 12.6rem;
    height: 12.6rem;
    border-radius: 50%;
    background-color: var(--purple);
    color: var(--green);
}

.info-box.Grün .download-button span {
    color: var(--green);
    font-size: 1.6rem;
    margin-top: 1.4rem;
}

.info-box.Violett .download-button {
    width: 12.6rem;
    height: 12.6rem;
    border-radius: 50%;
    background-color: var(--green);
    color: var(--purple);
}

.info-box.Violett .download-button span {
    color: var(--purple);
    font-size: 1.6rem;
    margin-top: 1.4rem;
}

.info-box img {
    max-width: 50%;
}

/* NAVIGATION */
.admin-bar .navigation {
    margin-top: 32px;
}

.navigation {
    padding: 5rem 0;
    position: relative;
}

.navigation .row > div {
    display: flex;
    align-items: flex-end;
}

.navigation .row .logo-container {
    justify-content: flex-end;
}

.logo {
    position: relative;
    top: 21%;
}

.mitglied-werden {
    position: fixed;
    left: 2rem;
    max-width: 1rem;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
}

.logged-in .mitglied-werden {
    display: none;
}

.burger {
    width: 3rem;
    height: 3rem;
    position: relative;
    top: 0.5rem;
}

.burger section {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.balken {
    width: 3rem;
    height: 0.2rem;
    background-color: var(--purple);
    position: relative;
    transition: 0.5s;
}

#b2 {
    margin-top: 6px;
}

.burger.animated #b1 {
    transform: rotate(-45deg);
}

.burger.animated #b2 {
    margin-top: -0.2rem;
    transform: rotate(45deg);
}

.cross .burger {
    width: 4rem;
    height: 4rem;
}

.cross .balken {
    width: 100%;
    height: 0.5rem;
}

.cross .burger.animated #b2 {
    margin-top: -0.5rem;
}


/* NAV OVERLAY */
.nav-overlay, .contact-overlay, .login-overlay, .form-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #FAF5FF;
    z-index: 9;
    display: none;
    overflow-y: scroll;
    padding-bottom: 8rem;
}

#content article .form-overlay header.navigation {
    display: block;
}

.overlay-con {
    width: 100%;
    overflow-x: hidden;
}

.overlay-con .logo {
    visibility: hidden;
}

.login-overlay {
    display: block;
    z-index: 10;
}

.login-overlay header.navigation {
    display: block !important;
}

.admin-bar .nav-overlay, .admin-bar .contact-overlay {
    top: 0px;
}

.overlay-menu ul li a {
    font-size: 7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--purple);
}

#menu-overlay > li a:hover {
    text-decoration: none;
}

.overlay-menu ul li a:hover .sub-menu {
    display: block;
}

#menu-overlay > li {
    position: relative;
    display: inline-block;
    float: left;
    clear: left;
    margin-bottom: 2px;
}

#menu-overlay > li > a {
    display: inline-block;
    padding: 2.5rem 5rem;
    border-radius: 20rem;
    background-color: transparent;
}

#menu-overlay > li a.active, #menu-overlay .menu-item-has-children:hover > a {
    color: #000;
    background-color: var(--purple);
    color: #FAF5FF;
}

.overlay-menu .sub-menu {
    display: none;
    position: absolute;
    top: 50%;
    left: calc(100% + 15rem);
    width: 50vw;
    z-index: 9;
}

.overlay-menu .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 50vw;
    z-index: 9;
    padding-left: 15rem;
    padding-top: 5rem;
}

.overlay-menu .sub-menu:before {
    content: url(https://kkgk.ch/wp-content/uploads/2021/01/arrow-additional.svg);
    width: 9rem;
    display: inline-block;
    position: absolute;
    left: 3.5rem;
    top: 6.25rem;
}

.overlay-menu .sub-menu li a {
    font-size: 2.5rem;
    font-family: "Georgia";
    text-transform: none;
    padding: 1rem 2rem;
    border-radius: 10rem;
    display: inline-block;
    margin-bottom: 2px;
}

.overlay-impressum-menu {
    padding-left: 5rem;
    margin-top: 24rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8;
    text-transform: uppercase;
}

.overlay-impressum-menu ul li a {
    color: var(--purple);
    line-height: 1.5;
}

.overlay-impressum-menu ul li a:hover {
    text-decoration: none;
    color: var(--green);
}

#menu-overlay .menu-item-has-children:hover .sub-menu {
    display: block;
}

/* MAIN MENU LINKS */
.main-menu ul li a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
}

.main-menu ul li a:hover {
    color: var(--green);
    text-decoration: none;
}

.main-menu ul li {
    display: inline-block;
    margin-right: 5rem;
}

/*.main-menu ul li.current_page_item a, .main-menu ul li.current-menu-item a {
color: var(--green);
}*/

.overlay-menu .sub-menu li a:hover, #menu-overlay > li a:hover/*, .overlay-menu .current_page_item a, .overlay-menu .current-menu-parent > a, #menu-overlay > li.current-menu-parent > a*/ {
    background-color: var(--purple) !important;
    color: #FAF5FF !important;
}

/* Header Animations */
svg.header-image, .blob-container {
    margin-left: 10%;
    width: 100%;
    margin-top: -15%;
    z-index: -1;
}

.blob-container.mitglieder {
    margin-left: 0%;
    width: 160%;
    margin-top: -15%;
}

.blob-container.foot-blob {
    margin-left: 0%;
    width: 160%;
    margin-top: -15%;
    margin-bottom: -10rem;
    position: relative;
    z-index: 9;
}

.blob {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
}

.blob-0 {
    visibility: hidden;
}

.blob-1 {
    animation: myOrbit 12s linear infinite; /* Chrome, Firefox 16+, */
}

.blob-2 {
    animation: myOrbit 14s linear infinite; /* Chrome, Firefox 16+, */
}

.blob-3 {
    fill: #000;
    animation: myOrbit 10s linear infinite; /* Chrome, Firefox 16+, */
}

@keyframes myOrbit {
    0% { transform: rotate(0deg) translateX(10px) rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) translateX(5px) rotate(-180deg) scale(0.95); }
    100%   { transform: rotate(360deg) translateX(10px) rotate(-360deg) scale(1); }
}

/* ADDITIONAL MENU */
.additional-menu {
    padding-top: 2rem;
}

.additional-menu ul li a {
    display: block;
    padding: 2rem;
    background-color: var(--green);
    border-radius: 10rem;
    margin-bottom: 3rem;

    font-size: 3rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
}

.additional-menu ul li a:hover {
    text-decoration: none;
    color: var(--green);
    background-color: var(--purple);
}

.additional-menu ul li a:before {
    content:url('data:image/svg+xml; utf8, <svg version="1.1" id="Ebene_1" fill="%237C1BF9" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 97 10" style="enable-background:new 0 0 97 10;" xml:space="preserve"><g>	<path class="st0" d="M91.5,10c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4L93.1,6H1C0.4,6,0,5.6,0,5s0.4-1,1-1h92.1l-2.3-2.3		c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l4,4c0,0,0,0,0,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0v0c0.1,0.1,0.1,0.2,0.2,0.2v0c0,0,0,0,0,0		c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0.1,0.1,0.2,0.1,0.4l0,0c0,0,0,0,0,0s0,0,0,0		c0,0,0,0,0,0c0,0,0,0,0,0v0c0,0,0,0,0,0s0,0,0,0c0,0,0,0,0,0c0,0.1,0,0.3-0.1,0.4c0,0,0,0,0,0c0,0.1-0.1,0.2-0.2,0.3c0,0,0,0,0,0		l-4,4C92,9.9,91.8,10,91.5,10z"/></g></svg>');
    width: 20%;
    display: inline-block;
    position: relative;
    top: -0.5rem;
    margin-right: 2rem;
}

.additional-menu ul li a:hover:before {
    content:url('data:image/svg+xml; utf8, <svg version="1.1" id="Ebene_1" fill="%2300FFA3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 97 10" style="enable-background:new 0 0 97 10;" xml:space="preserve"><g>	<path class="st0" d="M91.5,10c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4L93.1,6H1C0.4,6,0,5.6,0,5s0.4-1,1-1h92.1l-2.3-2.3		c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l4,4c0,0,0,0,0,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0v0c0.1,0.1,0.1,0.2,0.2,0.2v0c0,0,0,0,0,0		c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0l0,0c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0.1,0.1,0.2,0.1,0.4l0,0c0,0,0,0,0,0s0,0,0,0		c0,0,0,0,0,0c0,0,0,0,0,0v0c0,0,0,0,0,0s0,0,0,0c0,0,0,0,0,0c0,0.1,0,0.3-0.1,0.4c0,0,0,0,0,0c0,0.1-0.1,0.2-0.2,0.3c0,0,0,0,0,0		l-4,4C92,9.9,91.8,10,91.5,10z"/></g></svg>');
}

/* FOOTER */
#footer {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 10rem;
}

#footer .main-menu {
    position: absolute;
    bottom: 0;
}

#footer img {
    margin-bottom: -2px;
}

#footer .row {
    padding: 10rem 0;
}

#footer .row > div {

}

#footer .main-menu ul li a, #footer .impressum-menu ul li a {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 700;
}

#footer .main-menu ul li a:hover, #footer .impressum-menu ul li a:hover {
    color: var(--green);
    font-size: 1.6rem;
    text-decoration: none;
}

/* FORM MITGLIEDER */
input[data-wpt-name=post_title] {
    display: none;
}

.contact-overlay input[data-wpt-name=post_title] {
    display: none;
}

label {
    display: none;
}

.form-check {
    padding-left: 0;
}

.form-check label {
    display: inline-block;
    font-size: 2.5rem;
    color: var(--purple);
    line-height: 2.5;
    font-weight: 700;
}

.cred-form {
    padding-left: 15px; /* HACK */
}

.contact-overlay .cred-form, .form-overlay .cred-form {
    padding-left: 0;
}

.cred-form input[type="radio"].radio {
    opacity: 0 !important;
}

.cred-form input[type="radio"].radio + label {
    cursor: pointer;
}

.cred-form .col-md-12 {
    padding: 0;
}

.cred-form input[type="radio"].radio + label:before {
    content: url(https://kkgk.ch/wp-content/uploads/2021/01/unchecked.svg);
    height: 5rem;
    width: 5rem;
    display: inline-block;
    margin-right: 7rem;
    position: relative;
    top: 1.75rem;
}

.wpt-form-set-radios-wpcf-mitgliedschafts-art {
    margin-bottom: 12rem !important;
}

.cred-form input[type="radio"].radio:checked + label:before {
    content: url(https://kkgk.ch/wp-content/uploads/2021/01/checked.svg);
}

/* FORMS */
textarea, input[type="text"], input[type="button"], input[type="submit"], input[type="reset"], input[type="search"], input[type="password"] {
    color: var(--purple) !important;
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
}

.form-control {
    outline: 0px;
    background-color: transparent;
    border: 0;
    border-bottom: 2px var(--purple) solid !important;
    padding: 2rem 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.form-control:focus {
    outline: 0px;
    background-color: transparent;
    box-shadow: none;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--purple) !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--purple) !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--purple) !important;
}

.wpt-form-error {
    display: block;
    color: #aa0000;
    position: absolute;
    right: 15px;
    top: 1rem;
}

.btn {
    font-weight: 700;
    font-size: 1.6rem;
    background-color: transparent;
    padding: 0;
    border: 0px;
    position: relative;
}

.btn:hover, .btn:focus, .btn:active {
    color: var(--green) !important;
    background-color: transparent !important;
    border: 0px;
    border-color: transparent !important;
    box-shadow: none !important;
}

.btn::after, p.lead-info a::after {
    content: url(https://kkgk.ch/wp-content/uploads/2021/01/arrow-right.svg);
    height: 5rem;
    width: 5rem;
    display: inline-block;
    position: relative;
    top: 1.75rem;
    z-index: 2;
}

.bt.btn {
    margin-top: 3rem;
}

.cred-form .form-group {
    padding-left: 0;
}

/* HACKY FILENAMES */
a.js-wpt-repadd.wpt-repadd.dashicons-before.dashicons-plus-alt {
    display: none !important;
}

.datei-name-container section {
    padding: 1.35rem 0 2.1rem 0;
    position: relative;
}

.upload-field-container {
    padding: 4rem;
    border: 2px var(--purple) solid !important;
    margin: 2rem -15px;
    border-radius: 2rem;
}

.special-warning {
    font-size: 1rem;
    font-weight: 600;
    color: red;
    top: 1rem;
    left: 2rem;
    display: none;
    position: absolute;
}

.special-warning.show {
    display: block;
}

.datei-name-container .special-warning {
    left: 0rem;
}

/* WIR */
#main-content.ueber-uns, #main-content.tauschboerse, #main-content.bildgalerie {
    margin-top: 15rem;
}

.team-mitglied {
    width: 100%;
    height: auto;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
}

.team-mitglied img {
    width: 100%;
    height: auto;
}

.vorstand-overlay {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--green);
    padding: 5.5rem 3.7rem;
}

.overlay-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-mitglied:hover .vorstand-overlay {
    display: block;
}

.funktion {
    position: absolute;
    bottom: 0;
    left: 0;
}

.mail-icon {
    max-width: 3.7rem;
    height: auto;
    margin-top: 2rem;
}

/* LOGIN */
.login-overlay .content-container{
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

form#loginform {
    position: relative;
}

p.login-username input, p.login-password input {
    padding: 3rem;
    border-radius: 10rem;
    border: var(--purple) 2px solid;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    display: inline-block;
    width: 100%;
    background-color: transparent;
}

form#loginform p input:focus {
    box-shadow: none;
    outline: 0px;
    background-color: #fff;
}

p.login-username, p.login-password {
    display: inline-block;
    width: calc(50% - 2.2rem);
}

p.login-password {
    margin-left: 4rem;
}

.login-submit {
    display: none;
    text-align: right;
    margin-top: 4rem;
}

.login-submit.show {
    display: block;
}

.login-submit input, .login-submit a, input[type="file"] {
    user-select: none;
    white-space: pre;
    align-items: flex-start;
    text-align: center;
    cursor: default;
    color: var(--purple);
    background-color: transparent;
    box-sizing: border-box;
    padding: 0px;
    border-width: 0px;
    border-style: outset;
    border-color: transparent;
    border-image: initial;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
}

.wpt-repctl.wpt-repctl-flex, .wpt-repctl.wpt-repctl-fle .wpt-repetitive-field {
    display: inline-block;
}

.dashicons-no:before {
    content: "\f182";
}

.dashicons-plus-alt:before {
    content: "+";
}

.wpt-hierarchical-taxonomy-add-new-show-hide, .wpt-taxonomy-popular-show-hide, .wpt-repadd {
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px var(--purple) dashed;
    display: block !important;
    color: var(--purple);
}

.file-label, label.show {
    display: block;
    cursor: pointer;
}

.file-container {
    margin-top: 4rem;
}

label.show {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 2rem;
}

input[type="file"] {
    display: block;
    color: transparent;
}

.login-submit a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.login-submit input:hover, .login-submit input:active, .login-submit input:focus {
    color: var(--green) !important;
    background-color: transparent;
}

.no-login a {
    user-select: none;
    white-space: pre;
    align-items: flex-start;
    text-align: center;
    cursor: pointer;
    color: var(--purple);
    background-color: transparent;
    box-sizing: border-box;
    padding: 0px;
    border-width: 0px;
    border-style: outset;
    border-color: transparent;
    border-image: initial;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.no-login a:hover {
    opacity: 0.8;
}

.wp-error {
    position: absolute;
    top: -2rem;
}

.arrow-right {
    max-width: 1.5rem;
    height: auto;
    margin-left: 1rem;
    margin-top: -0.5rem;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-bottom: 2px var(--purple) solid;
    padding: 1.2rem 0;
    font-size: 1.6rem;
    font-weight: 600;
    background-color: transparent;
    cursor: pointer;
}

select:focus {
    opacity: 0.8;
    outline: none;
    border: 0px 0px 2px 0;
}

div[data-item_name="taxonomyhierarchical-tauschborse-thema"]:after {
    content: "+";
    font-size: 1.6rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
}

div.isFocused:after {
    content: "-";
}

select * {
    padding: 1rem 2rem;
}

/* Logout */
.logout {
    position: absolute;
    right: 0;
}

.logout a {
    font-size: 1.6rem;
    color: var(--purple);
    font-weight: 600;
}

.logout a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.logout img {
    position: relative;
    transform: translateY(15%);
    margin-left: 1rem;
}

/* back */
.back-button {
    border-radius: 10rem;
    padding: 1.5rem 1rem;
    background-color: var(--green);
    position: absolute;
    left: 0;
    top: -10rem;
}

.back-button img {
    transform: rotate(180deg) translateY(10%);
    display: inline-block;
    width: 1.8rem;
    margin-right: 0.5rem;
}

.back-button span {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.4rem;
}

a:hover .back-button  {
    text-decoration: none;
    opacity: 0.8;
}

/* BUTTONS */

.bt {
    border-radius: 10rem;
    padding: 1.5rem 2.5rem;
    background-color: var(--green);
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--purple);
    display: inline-block;
}

.bt a {
    color: var(--purple);
}

a:hover {
    text-decoration: none;
}

.idea.bt {
    font-size: 2rem;
    position: absolute;
    right: 0;
    top: 100%;
}

/* Custom Upload */
.upload {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.addNewUpload {
    display: block;
    margin-top: 1rem;
    text-align: left;
    color: var(--purple);
}

.addNewUpload:hover {
    color: var(--green);
}

.hide {
    display: none;
}

.custom-file {
    height: 100%;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    line-height: 1.5;
    background-color: transparent;
    border: 2px solid var(--purple);
    border-radius: 10rem;
    padding: 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--purple);
    cursor: pointer;
    height: auto;
    white-space: nowrap;
    overflow: hidden;
}

.wpt-repetitive-controls {
    display: none !important;
}

input[type="file"] {
    height: 6.6rem;
    margin-bottom: 1rem;
}

input[type="file"]:focus {
    outline-color: var(--green);
}

.custom-file-label::after {
    content: "hochladen";
    border-radius: 0rem 10rem 10rem 0rem;
    background-color: #fff;
    color: var(--purple);
    height: 100%;
    border-left: 2px solid var(--purple);
    padding: 2rem;
    height: auto;
}

.custom-file small {
    top: 1rem;
    left: 20px;
}

.custom-file small + input + .custom-file-label, .custom-file small + input + .custom-file-label:after {
    border-color: red;
    color: red;
}

/* Downloads */
.download-file, .idee-container, .galerie-container {
    padding: 2rem;
    font-size: 3rem;
    font-weight: 600;
    border-top: 2px var(--purple) solid;
    position: relative;
}

.download-file {
    padding-right: 6rem;
}

.download-container:last-child, .gallery-overview article:last-child {
    border-bottom: 2px var(--purple) solid;
}

.download-file img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
}

a:hover .download-file {
    opacity: 0.8;
}

/* Image Slider */
.slider {
    width: 100%;
    position: relative;
}

.slider img {
    max-height: 100%;
    max-width: auto;
}

.slider-container {
    position: relative;
    padding: 10rem 0 6rem 0;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev {
    left: -3rem;
}

.next {
    right: -3rem;
}

/* IDEE Loop */
.idee-container {
    cursor: pointer;
}

.idee-container:focus, .ui-state-active, .idee-container:hover {
    border-color: transparent;
    background-color: var(--green);
    outline: none;
}

.idee {
    padding-top: 5rem;
}

.idee .info-box{
    padding: 3rem;
    height: 100%;
}

.idee .info-box p {
    color: #fff !important;
}

.idee .info-box p a {
    color: #fff;
}

.idee .info-box p a:hover {
    color: var(--green);
}

.idee > div {
    margin-bottom: 30px;
}

.idee span.inner {
    color: #fff;
}

.idee a:hover span.inner {
    color: var(--green);
}

.ui-accordion-content  {
    margin-bottom: 2rem;
}

.boerse {
    margin-top: 10rem;
}

.arr {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: 0.5s;
}

.arr-left {
    transform: translateY(10%) rotate(90deg);
    position: relative;
    right: 0;
    margin-right: 2rem;
}

.ui-state-active .arr {
    transform: translateY(-50%) rotate(180deg);
}

/* Gallerie */
.galerie-container {
    cursor: pointer;
}

.galerie-container .arr {
    transform: translateY(-50%) rotate(-90deg);
}

.galerie-container span {
    font-size: 1.6rem;
    margin-left: 3rem;
}

.gallery-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255,255,255,0.9);
    display: none;
}

.gallery-overlay .gallery-slider {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

article.gallery-slide {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

article.gallery-slide .relative {
    width: 100%;
    height: 100%;
}

article.gallery-slide .relative img {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: 0 auto;
    transform: translateY(-50%);
}

.gallery-overlay img {
    max-height: 85vh;
    max-width: 85vw;
}

.gallery-overlay .slick-slide img {
    display: inline-block;
    position: relative;
}

.gallery-overlay .prev {
    left: calc(5% - 3rem);
}

.gallery-overlay .next {
    right: calc(5% - 3rem);
}

.gallery-overlay section {
    width: 100%;
    height: 100%;
    position: relative;
}

.back {
    position: absolute;
    left: 5%;
    bottom: 5rem;
    cursor: pointer;
}

.back.cross {
    bottom: auto;
    top: 10rem;
    right: 4%;
    left: auto;
    z-index: 99999;
}

.back span {
    font-size: 1.6rem;
    font-weight: 700;
}

.gallery-overlay .slick-slider, .gallery-overlay .slick-track, .gallery-overlay .slick-list {
    height: 100%;
}

/* KURZINFOS */
.kurzinfo {
    position: absolute;
    top: 40vh;
    transform: translateY(-50%);
    left: 25%;
    width: 20rem;
    height: 20rem;
    padding: 2rem;
    background-color: var(--green);
    border-radius: 100rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    text-align: center;
    z-index: 8;
    justify-content: center;
}

.kurzinfo img {
    max-width: 3.5rem;
    max-height: auto;
    margin-top: 1rem;
}

.kurzinfo h4 {
    margin-bottom: 1rem;
}

.kurzinfo p {
    line-height: 1.3;
    margin-top: 0;
}

div#__lpform_cred_form_54_1-textfield-2-1612254744 {
    display: none !important;
}

/* DOWNLOADS */
#main-content.downloads, #main-content.gut-zu-wissen {
    margin-top: 0rem;
}

#main-content.downloads h2,  #main-content.gut-zu-wissen h2 {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.gut-zu-wissen .arr {
    max-width: 3rem;
    height: auto;
}

@media all and (min-width: 1600px){


    .home-infos {
        margin-top: 15rem;
    }

    .down-button {
        bottom: -8rem;
    }
}

@media all and (min-width: 2000px){
    .content-container {
        padding: 0 40rem;
    }

        .home-infos {
        margin-top: 5rem;
    }

    .down-button {
        bottom: 0rem;
    }
}

@media all and (max-width: 1600px) and (min-width: 1200px){
    .overlay-inner p {
        font-size: 1.2rem !important;
    }

    .overlay-inner p.mitglied-name {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }

    .vorstand-overlay {
        padding: 2rem;
    }

    .info-box .mitglied-name {
        font-size: 2rem;
    }
}

/* MOBILE */
@media all and (max-width: 1140px){
    html {
        font-size: 9px;
    }

    .info-box {
        padding: 5rem 3rem;
    }

    .blob-container.foot-blob {
        width: 100%;
        margin-top: 3rem;
        margin-bottom: 0;
        display: none;
    }

    .additional-info .info-box {
        margin-top: 7rem;
    }

    .additional-info-box {
        margin-bottom: 10rem;
    }
}

@media all and (max-width: 960px){
    #menu-haupt-menu {
        display: none;
    }

    .content-container p {
        font-size: 2.3rem;
    }

    p.mitglied-name {
        font-size: 2.8rem;
    }

    p.lead-info {
        font-size: 1.6rem;
    }

    .overlay-menu .sub-menu {
        position: relative;
        top: 0;
        left: 3.3rem;
        margin-top: 3rem;
        width: 100%;
    }

    .overlay-menu .sub-menu:before {
        display: none;
    }

    #main-content {
        margin-top: -5rem;
    }

    .down-button {
        bottom: -14rem;
    }

    #main-content {
        margin-bottom: 10rem;
    }

    .download-file {
        font-size: 2rem;
    }

    .bildgalerie#main-content, .impressum#main-content {
        margin-top: 5rem;
    }

    #main-content.ueber-uns {
        margin-top: 5rem;
    }

    #main-content.tauschboerse, .tauschborse#main-content {
        margin-top: 10rem;
    }

    .prev img, .next img {
        width: 4rem;
        height: 4rem;
    }

    .prev {
        left: -2rem;
    }

    .next {
        right: -2rem;
    }
    .gallery-overlay .prev {
        left: calc(5% - 1rem);
    }

    .gallery-overlay .next {
        right: calc(5% - 1rem);
    }
}

@media all and (max-width: 768px){
    .blob-container.mitglieder {
        margin-left: 0%;
        width: 100%;
        margin-top: 5rem;
    }

    #footer {
        margin-top: 7rem;
    }

    #footer ul li {
        margin-right: 0;
        display: block;
        text-align: center;
    }

    .logo {
        max-width: 80%;
    }

    .navigation .row > div {
        align-items: center;
    }

    .navigation .row .logo-container {
        justify-content: center;
    }

    .mitglieder#main-content {
        margin-top: 0;
    }

    .navigation .row {
        flex-wrap: nowrap;
    }

    .wpt-form-set-radios-wpcf-mitgliedschafts-art {
        margin-bottom: 6rem !important;
    }

    #menu-overlay .menu-item-has-children:hover .sub-menu {
        padding-left: 0;
        padding-top: 0;
    }


    .home-infos, #main-content {
        margin-bottom: 10rem;
    }

    .additional-menu ul li a:before {
        width: 17%;
    }

    #footer .main-menu {
        position: relative;
        margin-bottom: 2rem;
    }

    .form-check label {
        font-size: 2rem;
    }

    .ib {
        margin-bottom: 13rem;
    }

    .idee .info-box {
        margin-bottom: 0;
    }

    .logout {
        top: -10rem;
    }

    p.login-username, p.login-password {
        display: block;
        margin-bottom: 2rem;
        width: 100%;
    }

    p.login-username input, p.login-password input {
        display: block;
    }

    p.login-password {
        margin-left: 0;
    }

    .galerie-container span {
        display: block;
        margin-left: 0;
        margin-top: 1rem;
    }

    .login-overlay .content-container {
        position: relative;
        margin-top: 5rem;
    }

    .back-button, .back-button {
        left: 2rem;
    }

    h3 {
        font-size: 5rem;
    }

    .kurzinfo {
        top: 25vh;
        left: 10%;
    }
}

@media all and (max-width: 540px){
    .form-check label {
        font-size: 1.4rem;
    }

    .cred-form input[type="radio"].radio + label:before {
        margin-right: 1rem;
        width: 3rem;
        height: 3rem;
        top: 1rem;
    }

    .overlay-impressum-menu {
        padding-left: 3rem;
    }

    #menu-overlay > li > a {
        font-size: 4rem;
        padding: 2.5rem;
    }

    .overlay-menu .sub-menu {
        left: 2.5rem;
    }

    .idea.bt {
        position: relative;
        margin-top: 5rem;
        left: 2rem;
    }

    .download-file {
        font-size: 1.6rem;
    }

    .content-container {
        padding: 0 2rem 0 4rem;
    }

    .mitglied-werden {
        left: 1.4rem;
    }

    .logged-in .content-container {
        padding: 0 2rem;
    }

    .kurzinfo {
        display: none;
    }
}
