
.block-events {
}

.block-events-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.events-showmore {
    text-align: center;
    border: 1px solid #607790;
    border-radius: 20px;
    color: #607790;
    font-size: 16px;
    display: block;
    margin: 50px auto 0;
    width: fit-content;
    padding: 0 45px;
    height: 45px;
    line-height: 45px;
    cursor: pointer;
}

.block-event-item {
    flex: 0 1 320px;
    padding: 20px;
    box-shadow: 0 0 14.538px 2.908px rgba(0,48,181,.15);
    border-radius: 15px;
    font-size: 16px;
    position: relative
}
.block-event-item.hide {
    display: none;
}

.block-event-type {
    color: #000c3d;
    font-size: 16px;
    font-weight: 600;
    border-radius: 20px;
    background: #fff;
    height: 32px;
    line-height: 32px;
    position: absolute;
    top: 27px;
    left: 30px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    width: fit-content;
}

.block-event-type::before {
    content: "";
    background: #74bc42;
    width: 8px;
    height: 8px;
    border-radius: 13px;
    margin: 2px 6px 0 0;
}
.block-event-item.red .block-event-type::before {
    background: #FF5C62;
}

.block-event-img {
    width: 100%;
    height: auto;
    border-radius: 6px !important;
    margin: 0 0 7px !important;
}

.block-event-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 22px
}

.block-event-title {
    font-weight: 600
}

.block-event-time {
    font-weight: 600;
    margin: 0 0 -1px
}

.block-event-person {
}

.block-event-live {
    display: flex;
    background: rgba(96,119,144,.1);
    padding: 0 16px;
    gap: 6px;
    height: 27px;
    border-radius: 13px;
    align-items: center;
    width: fit-content;
    margin: 12px 0 10px;
    font-weight: 600
}

.block-event-live::before {
    content: "";
    background: #74bc42;
    width: 8px;
    height: 8px;
    border-radius: 13px;
    margin: 2px 0 0
}

.block-event-description {
    overflow: hidden;
    margin: 0 0 12px;
}
.block-event-description p{
    margin: 0 0 12px;
}
.block-event-description > *:last-child {
    margin-bottom: 0 !important;
}

.block-event-btmlabel {
    margin: 30px 0 61px;
    padding: 0 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: #d5e5ff;
    height: 29px;
    font-weight: 700;
    width: fit-content;
    line-height: 30px;
}

.block-event-btmlink {
    color: #0030b5;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    bottom: 20px;
    left: 19px;
    display: flex;
    gap:8px;
    align-items: baseline;
}
.block-event-btmlink::after {
    content: "";
    background: url(../png/arrow-3.png) center / 100% auto no-repeat;
    width: 48px;
    height: 8px;
}



.block-event-line {
    border-top: 1px solid rgba(0,26,128,.3);
    margin: 15px 0
}

main .block-event-description ul {
    margin: 20px 0 20px;
    
}

main .block-event-description ul li {
    margin: 0;
    padding: 0 0 0 10px;
}

main .block-event-description ul li::before {
    height: 4px;
    width: 4px;
    background: #000c3d;
    border-radius: 50px;
    background-image: none;
    top: 8px;
}

.popup-events-btns{
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 390px;
}
.popup-events-btns > button{
    flex: 1 1 50%;
    border: 0;
    font-size: 16px !important;
}
.popup-events-btns > button:last-child{
    background: #001A80 !important;
}
.popup.popup-events h3{
    font-weight: bold;
    font-size: 36px !important;
    line-height: 1 !important;
    color: #001A80;
    margin: 0 0 40px;
}

.page-id-32568 .overlay {
    background: rgba(0, 12, 61, 0.77);
}
.popup.popup-events {
    border-radius: 44px;
}

@media screen and (max-width: 1023px) {

    .block-events-list {
        justify-content: center;
    }
    
}

@media screen and (max-width: 767px) {

    .block-event-item {
        flex: 0 1 540px;
    }

}