/*=====FIRST_ELEMENT========*/
.element_list_page:first-child .element_block:first-child {
    width: calc(66% - 72px);
}
.element_list_page:first-child .element_block:nth-child(3) {
    padding: 0 24px;
}


/*=====GENERAL========*/
.smi_container {
    position: relative;
}
h1.detail_header {
    margin: 60px 0 48px 0;
}
.year-filter-block {
    position: absolute;
    top: 11px;
    right: 0;
}
.year-filter-block a {
    display:inline-block;
    font-size: 15px;
    line-height: 130%;
    text-align:center;
    color: #1D2F3C;
    background: #F3FAEA;
    border-radius:5px;
    padding:5px 20px;
    margin-left:16px;
    cursor:pointer;
}
.year-filter-block a.filter-active {
    background:#fff;
    border:2px solid #82C831;
}

.element_list{
    width: 100%;
    position: relative;
    padding-bottom: 48px;
}
.element_block {
    display: inline-block;
    vertical-align: top;
    width: calc(100%/3 - 72px);
    padding: 0 24px;
    margin-bottom: 48px;
}
.element_block:nth-child(3n){
    margin-right: 0;
}
.element_list_page{
    width: 100%;
}
.element_list_page.new{
    display: none;
}
.element_block a {
    display: block;
    text-align:left;
    width: 100%;
}
.element_block .element_name{
    transition: 0.25s color;
}
.article_img_block_big {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 200px;
}
.article_img_block_small {
    min-height: 120px;
}
.element_img{
    object-fit: cover;
    font-family: 'object-fit: cover;';
    display: inline-block;
    max-height: 120px;
    border-radius: 8px;
}
.article_img_block_big .element_img {
    object-fit: contain;
    font-family: 'object-fit: contain;';
    overflow: hidden;
    max-height: 100%;
}
.article_img_block_big.second_article {
    display: flex;
    align-items: center;
}
.article_img_block_big.second_article img {
    max-height: 169px;
}
.element_name{
    font-style: normal;
    font-weight: bold;
    font-size: 21px;
    line-height: 29px;
    color: #1D2F3C;
    margin-bottom: 8px;
    min-height: 58px;
}
.element_name:hover {
    color: #82C831;
}
.element_preview {
    min-height: 60px;
}
.element_preview,
.element_preview + p{
    font-size: 15px;
    line-height: 130%;
    color: #1D2F3C;
    margin-top:16px;
}
.element_block .element_site {
    bottom: 60px;
    color: #82C831;
    margin: 20px 0 0;
    vertical-align: top;
    font-size: 15px;
    line-height: 21px;
}
.read_more{
    bottom: 30px;
    line-height: 1;
    opacity: 0;
    transition: 0.5s!important;
}
.read_more p {
    color: #82C831;
    margin: 0;
    vertical-align: top;
    font-weight: 500;
    line-height: 25px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.read_more svg{
    display: inline-block;
    margin-bottom:-7px;
    width: 24px;
    height: 24px;
    fill: #82C831;
}

/*=====GENERAL HOVER========*/
.element_block a:hover{
    text-decoration: none;
}
.element_block a:hover .element_name{
    color: #000;
}
.element_block:hover .read_more{
    opacity: 1;
}

/*=====NAVIGATION========*/
.nav_string_ajax{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

/*=====DETAIL========*/
.element_active_date.detail_date{
    font-size: 14px;
    line-height: 19px;
    color: #7A858D;
    margin-bottom: 24px;
}
.smi-section {
    position: relative;
}
.smi-site-name {
    color: #1D2F3C;
    background: #F0F0F0;
    font-size: 15px;
    line-height: 21px;
    border-radius: 8px;
    margin-left:10px;
    padding:7px;
}
.smi-site-name:hover {
    text-decoration:none;
}

.smi_main_text {
    width:calc(100% - 213px);
    min-height:450px;
    padding-right:40px;
}
.smi_main_text,
.smi_main_text p {
    font-size: 15px;
    line-height: 21px;
    color: #1D2F3C;
}
.doctors_block {
    position:absolute;
    right:0;
    top:-7px;
    width:182px;
    height:auto;
}
.member_info_spec {
    min-height: 50px;
}
.doctor_image {
    height: 112px;
}
.doctor_image a {
    display:inline-block;
    border-radius:10px;
    overflow:hidden;
    width:100%;
    height:100%;
}
.doctor_image img {
    display:block;
    object-fit:cover;
    width:100%;
}
.member_info .name {
    margin-bottom:0;
}
.member_info .name a {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #1D2F3C;
}
.member_info_spec {
    font-size: 13px;
    line-height: 17px;
    color: #7A858D;
}

.detail_pager {
    padding: 30px 0;
    height:20px;
    border-top: 1px solid #F0F0F0;
}
#prev_el_link,
#next_el_link {
    display:inline-block;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
#prev_el_link img,
#next_el_link img {
    display:inline-block;
    margin-bottom:-2px;
}
#prev_el_link img {
    margin-right:16px;
}
#next_el_link img {
    margin-left:16px;
}
#prev_el_link {
    float:left;
}
#next_el_link {
    float:right;
}
.link_disabled,
.link_disabled:hover {
    color:#A1A1A1;
    text-decoration:none;
    cursor:default;
}
.doctors_title {
    display: none;
}
.medium_button.second_button.article_button {
    display: block;
    max-width: 238px;
    margin-top: 40px;
}
.arrow_member_button {
    cursor: pointer;
    border-radius: 30px;
    border: 1px solid #DCDCDC;
    height: 32px;
    text-align: center;
    padding-top: 4px;
    box-sizing: border-box;
    transition: 0.3s;
}
.arrow_member_button svg {
    fill: #82C831;
    width: 24px;
    height: 24px;

}
.prev_slide.slider_member_button {
    position: absolute;
    top: -45px;
    width: 100%;
    transform: rotate(180deg);
}
@media (max-width: 1279px) {
    .main_head_block {
        max-width: 800px;
        margin-right: 64px;
    }
    .side_head_block {
        width: calc(100% - 870px);
    }
}
@media (max-width: 1200px) {
    .head_block{
        margin-bottom: 28px;
    }
    .main_head_block{
        width: 100%;
        margin: 0;
    }
    .side_head_block{
        margin-top: 32px;
        width: 100%;
    }
}
@media (max-width: 1150px) {
    .article_img_block_big {
        min-height: 185px;
    }
    .element_name{
        line-height: 20px;
        font-size: 15px;
        color: #1D2F3C;
        min-height: 15px;
    }
    .first_el_img {
        min-height: 240px;
    }
}
@media (max-width: 980px) {
    h1.detail_header {
        margin: 50px 0 48px 0;
    }
    .element_list_page {
        padding: 0 5%;
        box-sizing: border-box;
    }
    .element_block,
    .element_list_page:first-child .element_block:nth-child(2),
    .element_block:nth-child(3n){
        width: calc(50% - 54px);
        margin-bottom:0;
    }
    .element_list_page:first-child .element_block:first-child {
        width: 100%;
    }
    .element_preview {
        display:none;
    }
    .element_block:first-child .element_preview {
        display:block;
    }
    .element_block:first-child .element_site {
        bottom:20px;
    }
    .article_img_block_big {
        min-height: initial;
    }
    .first_article  {
        margin-bottom: 20px;
    }
    .full_text {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .doctors_block {
        position: initial;
    }
    .doctors_title {
        display: block;
        text-align: left;
    }
    .slider_member_button {
        display: none;
    }
}
@media (max-width: 800px) {
    .year-filter-block {
        position: initial;
        padding-bottom:30px;
    }
    .smi_main_text {
        min-height:280px;
        width:100%;
        padding-bottom:25px;
    }
    .doctors_block {
        position:static;
        width:100%;
        height:auto;
        text-align:center;
    }
    .doctor_image a {
        width:182px;
    }
    .first_el_img {
        min-height: 220px;
    }
    .first_el_text{
        padding-left: 24px;
    }
    .first_el_preview{
        display: none;
    }
}
@media (max-width: 720px) {
    h1.detail_header {
        margin: 30px 0 48px 0;
    }
    .element_active_date.detail_date{
        margin-bottom: 16px;
    }
    .element_list_page {
        padding: 0;
    }
}
@media (max-width: 530px) {
    .year-filter-block a {
        font-size: 12px;
        border-radius: 5px;
        padding: 5px 10px;
        margin-left: 5px;
    }
    .element_list_page {
        padding: 0 12%;
        box-sizing: border-box;
    }
    .element_block {
        width: 100% !important;
        margin-right: 0!important;
    }
    .element_block a {
        min-height:30px !important;
    }
    .element_preview,
    .element_block:first-child .element_preview {
        display: none;
    }
    .element_block:first-child .element_site {
        bottom:40px;
    }
    .read_more{
        display: none;
    }
    .element_block {
        padding: 0!important;
    }
}
@media (max-width: 450px) {
    .side_head_block{
        max-width: 100%;
    }
    .first_el_img {
        min-height: 310px;
    }
    .element_list_page {
        padding: 0;
    }
    .element_block a {
        display: block;
    }
}
@media (max-width: 400px) {
    .element_active_date.detail_date {
        font-size: 10px;
    }
    #prev_el_link,
    #next_el_link {
        font-size: 11px;
        line-height: 14px;
    }
}
