/*
Theme Name: PARTEItheme
Text Domain: PARTEItheme
Version: 1.3
Description: Ein sehr gutes Theme!
Author: Layla Schmidt
Author URI: instagram.com/missallya_
*/

@font-face {
    font-family: 'Rubik';
    src: url('Rubik-Black.eot');
    src: local('Rubik Black'), local('Rubik-Black'),
        url('fonts/Rubik-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/Rubik-Black.woff2') format('woff2'),
        url('fonts/Rubik-Black.woff') format('woff'),
        url('fonts/Rubik-Black.svg#Rubik-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('Rubik-Regular.eot');
    src: local('Rubik Regular'), local('Rubik-Regular'),
        url('fonts/Rubik-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Rubik-Regular.woff2') format('woff2'),
        url('fonts/Rubik-Regular.woff') format('woff'),
        url('fonts/Rubik-Regular.svg#Rubik-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.heightWrapper{
    min-height: 100vh;
    padding-bottom: 80px;
}

.sidebar ul{
    padding: 0;
}

.sidebar li{
    list-style-type: none;
    margin-top:1em;
}
.navbar-fix{
    position: fixed !important;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar{
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.40) , rgba(0,0,0,0));
    background-color: hsla(0%, 100%, 0%, 0.25) !important;
    transition: background-color 200ms linear;
}

.navbar.scrolled {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) , rgba(0,0,0,0));
    background-color: #fff !important;
    transition: background-color 200ms linear;
    color:#b91023 !important;
}
.navbar.scrolled div a h1 {
    color: #b91023 !important;
    transition: background-color 200ms linear;
}
.navbar.scrolled .nav-item a{
    color: #b91023 !important;
    transition: background-color 200ms linear;
}
.footer{
    position: absolute;
}

.footer-menu{
    list-style-type: none;
    padding:0;
}

.footer-menu li{
    float: left;
    margin-right: 1em;
}

.footer-menu li a{
    color:white;
}

.footer-menu li a:hover{
    color:white;
    text-decoration: underline;
}

.main-content{
    position: relative;
    width: -webkit-fill-available;
    border-radius:10px 10px 5px 5px;
}
.main-shadow{
    -webkit-box-shadow: 0 0px 15px 10px rgb(0 0 0 / 15%);
    box-shadow: 0 0px 15px 10px rgb(0 0 0 / 15%);
    border-radius:5px;
}
.main-offset-big{
    margin: -110px 30px 0 !important;
}
.main-offset-small{
    margin: -60px 30px 0 !important;
}


.news{
    border-radius:5px 5px 0px 0px;
}

.head-img-front{
    height: 800px;
    object-fit: cover;
}

.head-img-other{
    height: 400px;
    object-fit: cover;
}

.navbar-collapse ul{
    margin: auto !important;
}

.header-name{
    font-size: normal;
}

.header-image{
    height: 50px;
}

.logo-image{
    width: 180px;
    vertical-align: unset;
}

.logo-image-liste{
    width: 140px;
    vertical-align: unset;
}

.orga-text{
    font-size: 1.25rem !important;
}

.navbar-toggler{
    position: fixed;
    right: 0;
    top: 0.5em;
}

.social-icons{
    z-index: 1;
    margin:auto;
    width: fit-content;
    font-size: 30px;
    border-radius:5px 5px 0px 0px;
    -webkit-box-shadow: 0 0px 15px 10px rgb(0 0 0 / 15%);
    box-shadow: 0 0px 15px 10px rgb(0 0 0 / 15%);
}

.person{
    min-width:500px;
}

@media (max-width: 991px){

    /*.navbar {
        background-image: linear-gradient(to bottom, rgba(0,0,0,0) , rgba(0,0,0,0));
        background-color: #fff !important;
        transition: background-color 200ms linear;
        color:#b91023 !important;
    }
    .navbar div a h1 {
        color: #b91023 !important;
        transition: background-color 200ms linear;
    }
    .navbar .nav-item a{
        color: #b91023 !important;
        transition: background-color 200ms linear;
    }*/
    .navbar-collapse.collapse{
        background-color: rgba(0, 0, 0, 0.6);
        padding-bottom: 1em;
    }
    
    .navbar-collapse.collapsing{
        background-color: rgba(0, 0, 0, 0.6);
        padding-bottom: 1em;
    }
    
    .navbar-collapse.collapse.show{
        background-color: rgba(0, 0, 0, 0.6);
        padding-bottom: 1em;
    }
    
    .scrolled .navbar-collapse.collapse{
        background-color: white;
    }
    
    .scrolled .navbar-collapse.collapsing{
        background-color: white;
    }
    
    .scrolled .navbar-collapse.collapse.show{
        background-color: white;
    }

    .main-content{
        border-radius:0;
    }

    .main-offset-big{
        margin: 0 !important;
    }
    
    .main-offset-small{
        margin: 0 !important;
    }

    .news{
        border-radius: 0;
    }

    .head-img-front{
        height: 400px;
        object-fit: cover;
    }
    
    .head-img-other{
        height: 300px;
        object-fit: cover;
    }

    .logo-image{
        width: 100px;
        vertical-align: unset;
    }

    .navbar-collapse ul{
        margin: 1em !important;
    }

    .header-name{
        font-size: smaller !important;
    }

    .header-image{
        height: 40px;
    }

    .orga-text{
        font-size: 1rem !important;
    }

    .person{
        min-width:100%;
    }
    

    .social-icons{
        max-width: 100%;
        font-size: 30px;
        border-radius:0px;
		-webkit-box-shadow: 0 0px 0px 0px rgb(0 0 0 / 15%);
        box-shadow: 0 0px 0px 0px rgb(0 0 0 / 15%);
    }    
}



.post-head{
    color: #a2a2a2;
}
.post-head a{
    color: #a2a2a2;
}
.post-head a:hover{
    color: #505050;
}

.news-tags {
    color: #ffffff96;
}
.news-tags a{
    color: #ffffff96;
}
.news-tags a:hover{
    color: #ffffff;
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    border-left: 5px solid #eee;
}
blockquote p {
    font-style: italic;
}
blockquote cite {
    font-size: .8em;
    color: #777;
    font-style: normal;
    font-weight: 400;
}

.thumbnail{
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
}



.page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px 0 0;
    border: 1px solid #eee;
    line-height: 1;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
}

.page-numbers.current, a.page-numbers:hover {
    background: #f9f9f9;
}

.pagination .nav-links{
    margin: auto !important;
}

.head-img-container {
    position: relative;
    text-align: center;
    color: white;
  }
  
/* Centered text */
.head-img-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
 }

 .wp-block-image img {
    max-width: 100%;
    height: auto !important;
}

.content-div{
    max-width: 800px !important; 
}


