/*
 Theme Name:   Libertaere Partei Theme
 Description:  Dies ist ein Child Theme basierend auf "Blocksy"
 Author:       Paul Steinmann
 Author URI:   
 Template:     blocksy
 Version:      1.0
 Text Domain:  blocksy-child
*/


/********************************
*********************************
************* General ***********
********************************/

h2 a{
    color: black;
}

.lp-max-width-150px{
    max-width: 150px;
}

.w-100{
    width: 100%;
}

.h-100{
    height: 100%;
}

.max-width-400px{
    max-width: 400px;
}


.fix-ul-li-indent, .fix-ul-li-indent li{
    padding-left: 1em !important;
}


.link-black{
    color: black;
}

.link-black:hover{
    color: black;
}

.link-black:hover h2, .link-black:hover p{
    color: #cc9a26;
}

.text-size-23{
    font-size: 23px !important;
}

.text-nowrap{
    white-space: nowrap;
}


.wp-block-image.bg-dark img {
	background-color: black;
	padding: 1em;
}

.logo-resize img{
    width: 150px;
}

.bild-nr-wahlen img{
    width: 500px;
}

.foto-amberg img{
    width: 300px;
}




/******************************
**** change menu **************
******************************/
.menu .current-menu-item > a, .menu .current-menu-ancestor > a{
    font-weight: 900;
}

.menu > .menu-item{
    margin-left: 1em;
    margin-right: 1em;
}

.ct-header-cta .lp-button-mitmachen{
    font-size: 18px;
    padding: 0.5em 1.5em 0.5em 1.5em;
}

.mobile-menu .sub-menu{
    display: block !important;
}

.mobile-menu .child-indicator{
    display: none !important;
}




/******************************
**** change popup *************
******************************/
@media (max-width: 999px){
    .pum-container.pum-responsive{
        width: 100% !important;
        left: 0 !important;
    }
}



/********************************
*********************************
************* Mitmachen *********
********************************/

.lp-background-gray{
    background-color: #f5f5f5;
}

.lp-table-mitglied td + td{
    text-align: center;
}

.lp-table-mitglied th + th{
    text-align: center;
}

.lp-table-mitglied .tick{
    color: #2ca01c;
}

.lp-table-mitglied{
    border-style: none;
}

.lp-table-empty-cell{
    border-top: none;
    border-left: none;
    border-style: none;
}

.scroll-horizontally{
    overflow-x: auto;
    padding-left: 1px;
}


@media (max-width: 575px){
    .pum-overlay{
        background-color: white !important;
    }
}




 /* !important is needed sometimes */
 ::-webkit-scrollbar {
    height: 5px !important;
 }

 /* Track */
::-webkit-scrollbar-track {
    
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
   -webkit-border-radius: 10px !important;
   border-radius: 10px !important;
 }

 /* Handle */
 ::-webkit-scrollbar-thumb {
   -webkit-border-radius: 10px !important;
   border-radius: 10px !important;
   background: #808080 !important; 
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) !important; 

 }
 ::-webkit-scrollbar-thumb:window-inactive {
   background: #41617D !important; 
 }


/********************************
*********************************
************** post-list ********
********************************/


.lp-border-bottom-gray{
    border-bottom: 1px solid #ddd;
}

.lp-border-bottom-gray-condition:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.lp-list-post h2{
    margin-bottom: 0.5em;
}

.lp-list-post p{
    margin-bottom: 0px;
    font-size: 16px;
}

.lp-list-post h2 a{
    font-size: 18px;
}


p.lp-text-small-gray{
    font-size: 0.75em;
    color: #bbb;
    margin-top: 0.5em;
}


.lp-post-list-nav a{
    color: black;
    font-size: 1.5em;
    font-weight: bold;
}


/********************************
*********************************
******** Checkbox-toggle ********
********************************/

.lp-checkbox-toggle-receiver{
    display: none;
}

.lp-checkbox-toggle-sender:checked ~ .lp-checkbox-toggle-receiver{
    display: block;
}

.lp-checkbox-toggle-label{
    font-weight: bold;
    font-size: 1.5em;
}

.lp-checkbox-toggle-label::before {
    content: "";
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg) translate(-3px, -3px);
    -webkit-transform: rotate(45deg) translate(-3px, -3px);
    margin-bottom: 2px;
    margin-right: 1em;
}
.lp-checkbox-toggle-sender:checked ~ .lp-checkbox-toggle-label::before {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}


.lp-parole-green{
    background-color: #3bb033;
    font-weight: bold;
    color: white;
    padding: 0.0em 0.3em 0.0em 0.3em;
}

.lp-parole-red{
    background-color: #ca2723;
    font-weight: bold;
    color: white;
    padding: 0.0em 0.3em 0.0em 0.3em;
}



/********************************
*********************************
******** Post-spezifisch ********
********************************/
.easy-footnotes-wrapper{
	font-size: 0.8em;
}

