/*
	Theme Name: Stiftungschweiz
	Theme URI: 
	Description: WordPress Theme
	Version: 0.0.1
	Author:   
	Author URI: 
	Tags: HTML5, CSS3
*/
p:last-child { margin-bottom: 0;}

.wp-block-image {
	margin-left: 0;	
	margin-right: 0;
}


.card.blog-article-full p:last-child {
	margin-bottom: 0;
}


.wp-block-cover{
 min-height: 209px;
}

.category > a {display: inline !important;}
.category > span:after{
	content: ',';
}
.category > span:last-child:after{
	content: '';
}
.category > span:last-child{
	padding-right: 0;
}
  




@media (min-width: 992px){
	.offset-lg-1 {
		margin-left: 8.33333% !important;
	}
}

@media (min-width: 768px){
	.offset-md-2 {
		margin-left: 16.66667% !important;
	}
}


.wp-block-column:not(:first-child)[class*="col-"]{
	margin-left: 0;
}


.headlessForm{
	margin: 0 !important;
}


.back-to-top {
	position: fixed;
	bottom: 90px;
	right: 64px;
	z-index: 10;
	color: #ffffff;
	background: #FF0000;
	width: 40px;
	height: 40px;
	line-height: 28px;
	text-align: center;
	display: block;
	padding: 5px;
	font-size: 15px;
}
.back-to-top span {
	line-height: inherit;
}
.back-to-top:hover {
	text-decoration: none;
}

@media (max-width: 767px) {
	.back-to-top {
	  bottom: 0;
	  right: 0;
	}
}

.form-subscribe form {

}
.form-subscribe form input[type="submit"]  {
	height: auto;
	line-height: 1.5;
	border: 1px solid #fff!important;
	text-transform: none;
	text-align: center;

}
.form-subscribe .headlessForm input {
	border: none;
	border-bottom: 1px solid #fff;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0;
}


.form-subscribe.modified label.error {
	margin: 0;
	font-size: 11px;
	/* margin-top: -1.5rem; */
}


.widget_block {
	margin-bottom: 29px;
}

.widget_block > div {
	margin: 0;
}


@media (min-width: 768px) {
	.widget_block {
		margin-bottom: 35px;
	}
}

.sidebar .social-box{
	padding: 30px;
	min-height: 140px;
}
.sidebar .social-box .widget,
.sidebar .social-box .wp-block-cover__inner-container{
	color: inherit !important;
}


.at-share-tbx-element .at-icon-wrapper {
	border-radius: 50% !important;
	background: #000 !important;
	line-height: 36px !important;
    height: 36px !important;
    width: 36px !important;
	text-align: center;
}
.at-share-tbx-element .at-share-btn{
	margin: 0 15px !important;
}
.at-share-tbx-element .at-share-btn:first-child{
	margin-left: 0 !important;
}

.at-share-tbx-element .at-icon-wrapper .at-icon{
	width: 28px !important;
	height: 28px !important;
	display: inline-block;
}


.form-subscribe {
	font-size: 1rem;
}

.pagination {
	justify-content: center;
}
.pagination .current {
	color: #f00;
}
.pagination > * {
	display: inline-block;
	padding: 0 10px;
}

.nav-slide {
	position: relative;
}
.main-nav {
	position: static !important;
}
@media (min-width: 768px){
	.main-nav > li {
		margin-right: 70px;
	 	padding-right: 0 !important;
	}
}
.main-nav li.dropdown {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.main-nav li.dropdown > a{
	margin: 0 !important;
}
.main-nav li.dropdown [data-bs-toggle="dropdown"] {
	margin: 0;
	margin-left: 10px !important;
	font-size: 8px;
}
@media (max-width: 768px){
	.main-nav li.dropdown [data-bs-toggle="dropdown"] {
		margin-left: auto !important;
	}
}

.main-nav li.dropdown > a:after {
	display: none;
}


.main-nav .active.menu-active .dropdown-menu  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}
#header .main-nav .dropdown-menu.visible,
.main-nav .active.menu-active .dropdown-menu  .dropdown-menu.show,
.main-nav .active.menu-active .dropdown-menu  .menu-active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    z-index: 100;
}
#header .main-nav .dropdown-menu li.active  a{
	color: #797979;
	font-weight: 300;
}
#header .main-nav .dropdown-menu li.active > a {
    color: #000;
    font-weight: bold;
}





.article-info span.time:first-child:before{
	display: none !important;
}


.section-single p a {
	color: #f00;
}

.section-single p a:hover {
	color: #f00;
	text-decoration: underline;
}



.section-heading .post-info .avatar img {
	margin: 0;
}


.main-nav {
	flex-wrap: wrap;
}
@media (min-width: 768px) {
	.main-nav {
		padding-bottom: 7px !important;
	}
	.main-nav > li > a {
		padding-top: 7px !important	;
		padding-bottom: 7px !important;
	}
}

@media (min-width: 1024px){
	.nav-slide .main-nav .dropdown-menu {
		top: 100% !important;
	}
}


.form-subscribe .form-check input[type="radio"],
.form-subscribe .form-check input[type="chackbox"] {
	height: 15px;
	width: 15px;
	margin-right: 5px;
	padding: 0;
	border: 1px solid #fff;
	position: absolute;
	opacity: 0;
	visibility: hidden;
}
.form-subscribe .form-check  {
	position: relative;
}
.form-subscribe .form-check  label:before {
	display: block;
	height: 15px;
	width: 15px;
	border: 2px solid #fff;
	border-radius: 50%;
	content: '';
	position: absolute;
	top: 0.25em;
	left: 0;
	transition: border 0.2s ease;
}

.form-subscribe .form-check  input[type="radio"]:checked + label:before,
.form-subscribe .form-check  input[type="checkbox"]:checked  + label:before {
	border-width: 5px;
}
