.st-doctors-library {
    width:100%;
}


.st-doctors-library__title {
    color: #000;
    font-size: 75px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.st-doctors-library {
    width: 100%;
    margin-bottom: 100px;
}

.st-doctors-library-title {
    width: 100%;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 800;
    font-size: 52px;
    line-height: 52px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: #000000;
    margin-top: 100px;
    margin-bottom: 50px;
}

.st-doctors-library__items {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: wrap;
}



.st-doctors-library__item {
    border: 5px solid transparent;
    width: 1270px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.st-doctors-library__item:nth-child(odd):hover {
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.10);
    border: 5px solid #170CBD;
}

.st-doctors-library__item:nth-child(even):hover {
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.10);
    border: 5px solid #AA355B;
}


.st-doctors-library__item-logo {
    width: 245px;
    height: 116px;
    flex-shrink: 0;
    border-radius: 20px;
    background: linear-gradient(0deg, #D8D5FC 0%, #D8D5FC 100%), #FFF;
    margin-left:50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-doctors-library__item-info {
    margin-left: 95px;
    width:535px;
}

.st-doctors-library__item-title {
    color: #000;
    font-size: 24px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.st-doctors-library__item-date {
    margin-top:7px;
    color: #7E7E7E;
    font-size: 24px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

.st-doctors-library__item-button {
    width:200px;
    height: 50px;
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #170CBD;
    cursor:pointer;
    margin-left:54px;
}

.st-doctors-library__item:nth-child(odd) .st-doctors-library__item-button {
    background: #170CBD;
}
.st-doctors-library__item:nth-child(even) .st-doctors-library__item-button {
    background: #AA355B;
}




.st-doctors-library__item-info-user {
    color: #979393;
    font-size: 22px;
    font-family: Raleway;
    font-weight: 500;
    margin-bottom: 35px;
}

.st-doctors-library__item-info-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-doctors-library__item-info-button {
    border-radius: 10px;
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-family: Raleway;
    font-weight: 800;
    display: flex;
    width: 240px;
    height: 60px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 40px;
    background: #E0E0E0;
    cursor: pointer;
}

.st-doctors-library__item-info-button.blue {
    background: #170CBD;
}

.st-doctors-library__item-info-button.bordo {
    background: #AA355B;
}

.st-doctors-library__pagination {
    width:100%;
    display: flex;
    align-items: center;
    font-feature-settings: 'pnum' on, 'lnum' on;
    margin-top:50px;
    margin-bottom: 130px;
}


.st-doctors-library__pagination-all {
    color: #7E7E7E;
    font-size: 20px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.st-doctors-library__pagination-buttons {
    display: flex;
    align-items: center;
    margin-left:25px;
    color: #7E7E7E;
    font-size: 24px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.st-doctors-library__pagination-buttons .prev {
    cursor:pointer;

}

.st-doctors-library__pagination-buttons .next {
    cursor:pointer;
    margin-left: 25px;
}

.st-doctors-library__pagination-buttons .prev[disabled] {
    pointer-events: none;
    opacity: 0.4;
}

.st-doctors-library__pagination-buttons .next[disabled] {
    pointer-events: none;
    opacity: 0.4;
}

@media (max-width:1024px) {

    section {
        margin-top: 30px;
    }

    .st-doctors-library {
        margin-bottom: 15px;
    }

    .st-doctors-library__title {
        color: #000;
        font-family: Raleway;
        font-size: 24px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }

    .st-doctors-library__item {
        position: relative;
        width:100%;
        height:110px;
        align-items: flex-start;
        border-radius: 10px;
        box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.10);
    }

    .st-doctors-library__item:nth-child(even):hover {
        border: 2px solid #AA355B;
    }

    .st-doctors-library__item:nth-child(odd):hover {

        border: 2px solid #170CBD;
    }

    .st-doctors-library__item-title {
        font-size: 12px;

        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        word-wrap: break-word;
        overflow: hidden;
    }

    .st-doctors-library__item-logo {
        width: 104px;
        height: 50px;
        padding: 7px 16px;
        margin-left:15px;
        border-radius: 6px;
        margin-top:15px;
    }

    .st-doctors-library__item-logo img {
       width:100%;
    }

    .st-doctors-library__item-info {
        width:240px;
        margin-left:15px;
        margin-top:15px;
    }

    .st-doctors-library__item-date {
        font-size: 10px;
    }

    .st-doctors-library__item-action {
        position: absolute;
        right: 15px;
        bottom: 10px;
        margin:0;
    }

    .st-doctors-library__item-button {
        width: 107px;
        height: 25px;
        padding: 3px 11px 2px 12px;
        border-radius: 6px;
        font-size: 12px;
        margin:0;
    }

    .st-doctors-library__pagination {
        margin-top: 0px;
        margin-bottom: 40px;
    }


    .st-doctors-library__pagination-all {
        font-size: 12px;
    }

    .st-doctors-library__pagination-buttons {
        font-size: 12px;
    }


}