.seminar {
    position: relative;
    display: inline-block;
}

.seminar_list {
    border-top: 1px solid #eee;
    display: flex;
}

.seminar_titel a {
    color:#000;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.seminar_info .span {
    position: relative;
    font-size: 18px;
    display: block;
}

.seminar_info .span i{
    position: absolute;
    left:-20px;
    top:5px;

}

.seminar_info .span:first-child
{
    padding-bottom:0;
}
.zeitraum{
    font-size: 18px;
}
.seminaroverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.seminarLinkHelper {
    cursor: pointer;
}

.datebox {
    width: 85px;
    height: 85px;
    background: #e3010f;
    text-align: center;
    color: white;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
    display:block;
}
.flexcenter
{
    width: 100%;
    height:100%;
    display: flex !important;;
    justify-content: center;
    flex-direction: column;

}
.datebox span
{
    display:inline-block;
}
.datebox *
{
    color: white;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
}

.SeminarDetail .bg_red {
    background-color: #e3010f;
}

.SeminarDetail .bg_darkred {
    background-color: #ce000d;
}

.SeminarDetail .d-iblock {
    display: inline-block !important;
}

.SeminarDetail .seminarinfobox {
    width: calc(100% - 150px);
    height: 150px;
    position: relative;
    float: right;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
  }

.SeminarDetail .datebox {
    width: 150px;
    height: 150px;
}

.SeminarDetail .datebox div
{
    height: 100%;
    width:100%;
    display:flex;
    text-align: center;
}

.seminar_list .datebox {
    padding:15px;
    background: #e3010f;
    text-align: center;
    color: white;
    font-size: 20px;
    line-height: 16px;
    font-weight: bold;
    width: 100%;
}

.seminaroverlaycontent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 20px 20px 20px;
}

.seminaroverlaycontent span:nth-child(1), .seminarinfobox span:nth-child(1) {
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    color: #fff !important;
}

.seminaroverlaycontent span:nth-child(2), .seminarinfobox span:nth-child(2) {
    font-size: 16px;
    line-height: 28px;
    color: #fff !important;
}

.seminaroverlaycontent span:nth-child(3), .seminarinfobox span:nth-child(3) {
    font-size: 16px;
    line-height: 28px;
    /*font-weight: bold;*/
    color: white !important;
}

strong{
    font-weight: bold;
}

.seminarinfobox i {
    width: 20px;
}

.seminarinfobox *, .seminaroverlaycontent * {
    color: #fff !important;
}

.seminaroverlaycontent > span, .seminarinfobox > span {
    display: block;
}

.button_white {
    text-align: center;
    display: inline-block;
    border-radius: 42px;
    padding: 12px 24px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: black !important;
    text-decoration: none !important;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 6px;
    position: relative;
    text-transform: uppercase;
    top: 0;
    background: #fff;
    transition: top 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.seminarregistrationlink {
    position: absolute;
    top: 50%;
    right: 45px;
    transform: translateY(-50%);
}

.seminarregistrationlink.d-md-none {

}

.relative {
    position: relative;
}

.seminaroverlayhover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(227, 1, 15, 0.8);
    transition: 0.5s ease all;
    opacity: 0;
}

.seminaroverlayhover .button_white {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.seminarLinkHelper:hover .seminaroverlayhover {
    opacity: 1;
}

@media only screen and (max-width: 767.98px) {
    .seminar_list {
        border: 1px solid #eee;
        padding-top: 15px;
        padding-bottom: 15px;
        display: block;
    }

    .datebox_red .center-vertical {
        transform: none;
    }

    .datebox {
        margin-bottom: 50px;
    }

    .seminar_titel {
        margin-bottom: 20px;
    }

    .seminar_info {
        margin-bottom: 10px;
    }

    .seminar_list .center-vertical{
        position: relative;
        top: auto !important;
        transform: translateY(0) !important;
    }
}
