
.block-courses {
}

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

.courses-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-course-item {
    flex: 0 1 433px;
    padding: 20px;
    box-shadow: 0 0 14.538px 2.908px rgba(0,48,181,.15);
    border-radius: 15px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}
.block-course-item.hide {
    display: none;
}

.block-course-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
}

.block-course-img {
    width: 100%;
    height: auto;
    border-radius: 6px !important;

}

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



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

.block-course-person {
}

.block-course-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-course-live::before {
    content: "";
    background: #74bc42;
    width: 8px;
    height: 8px;
    border-radius: 13px;
    margin: 2px 0 0
}

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

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



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

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

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

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

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

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

.block-course-item-hover {
    background: #001a80;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.block-course-item:hover .block-course-item-hover{
    display: flex;
}
.block-course-item-hover-download {
    width: 232px;
    height: 45px;
    color: #000c3d;
    font-size: 20px;
    background-color: #fff;
    border-radius: 20px;
    text-align: center;
    line-height: 45px;
    font-weight: 500;
    
}

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

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

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

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

}