/*-- ARCHIVE --*/

.archive_title {
    color: #12275c;
    font-weight: 700;
}
.archive_items {
    max-width: 904px;
    margin: 40px auto 0;
}
.archive_item {
    background: #fff;
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
    padding: 16px;
}
.archive_item:last-child {
    margin-bottom: 0;
}
.archive_item_date {
    width: 88px;
}
.archive_item__date_day {
    background: #ccc;
    font-weight: 700;
    font-size: 50px;
    line-height: 120%;
    text-align: center;
    color: #1d1d1f;
    height: 88px;
}
.archive_item__date_month {
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    text-align: center;
    color: #1d1d1f;
    margin-top: 6px;
}
.archive_item_date_1 .archive_item__date_day {
    background: #81dbfc;
}
.archive_item_date_2 .archive_item__date_day {
    background: #d382f4;
}
.archive_item_date_3 .archive_item__date_day {
    background: #ff97b6;
}
.archive_item_date_4 .archive_item__date_day {
    background: #56e580;
}
.archive_item_date_5 .archive_item__date_day {
    background: #ff6b6b;
}
.archive_item_date_6 .archive_item__date_day {
    background: #fbab35;
}
.archive_item_date_7 .archive_item__date_day {
    background: #ff7fea;
}
.archive_item_date_8 .archive_item__date_day {
    background: #ffe063;
}
.archive_item_date_9 .archive_item__date_day {
    background: #16d9b7;
}
.archive_item_date_10 .archive_item__date_day {
    background: #f3e9dc;
}
.archive_item_date_11 .archive_item__date_day {
    background: #faff5d;
}
.archive_item_date_12 .archive_item__date_day {
    background: #bdc3c7;
}
.archive_item_info {
    padding-left: 24px;
    width: calc(100% - 88px);
}
.archive_item_top {
    min-height: 88px;
}
.archive_item_top a {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #12275c;
    text-decoration: none;
    transition: 0.25s;
}
.archive_item_top a:hover {
    opacity: 0.7;
}
.archive_item_image {
    padding-right: 24px;
    width: calc(100% - 424px);
}
.archive_item_image__link {
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    overflow: hidden;
    font-size: 0;
    height: 202px;
    transition: 0.25s;
}
.archive_item_image__link:hover {
    opacity: 0.7;
}
.archive_item_image__link img {
    display: block;
    object-fit: cover;
    max-width: 100%;
}
.archive_item_desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #1d1d1f;
    width: 424px;
}
.archive_items_loadmore {
    text-align: center;
    margin-top: 40px;
}
.archive_items_loadmore a {
    border-bottom: 1px solid #3867de;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    color: #3867de;
    text-decoration: none;
    vertical-align: top;
    transition: 0.25s;
}
.archive_items_loadmore a:hover {
    border-bottom-color: rgba(0,0,0,0);
    opacity: 0.7;
}
.archive_back {
    margin-bottom: 20px;
}
.archive_back a {
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    color: #3867de;
    padding-left: 33px;
    position: relative;
    text-decoration: none;
    vertical-align: top;
    transition: 0.25s;
}
.archive_back a:before {
    background-image: url(../img/icon_back_arr.svg);
    background-repeat: no-repeat;
    background-position: left center;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 25px;
}
.archive_back a:hover {
    opacity: 0.7;
}

/*-- SINGLE --*/

.single_info {
    padding-right: 24px;
    width: calc(100% - 536px);
}
.single_date {
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: #1d1d1f;
}
.single_title {
    margin-top: 30px;
    font-weight: 700;
    font-size: 50px;
    line-height: 120%;
    text-align: left;
    color: #12275c;
}
.single_exceprt {
    font-weight: 400;
    font-size: 25px;
    line-height: 130%;
    color: #1d1d1f;
    margin-top: 30px;
}
.single_image {
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    overflow: hidden;
    font-size: 0;
    height: 359px;
    width: 536px;
}
.single_image.without_border {
    border: none;
    height: auto;
}
.single_image img {
    object-fit: cover;
    max-width: 100%;
}
.single_main_content {
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
}
.single_main_content > * {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}
.single_main_content__full {
    margin-top: 70px;
}
.single_main_content__full > * {
    margin-bottom: 16px;
}
.single_main_content__full > *:last-child {
    margin-bottom: 0;
}
.single_main_content__small {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}
.single_main_content__small > * {
    margin-bottom: 12px;
}
.single_main_content__small > *:last-child {
    margin-bottom: 0;
}
.single_main_content strong {
    font-weight: 600;
}
.single_main_content a {
    color: #3867de;
}
.single_main_content .two_cols {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-left: -12px;
    margin-right: -12px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.single_main_content .two_cols > * {
    padding: 0 12px;
    width: 50%;
}
.single_main_content .two_cols {
    font-weight: 400;
    font-size: 16px;
}
.single_main_content .two_cols ul {
    padding-left: 35px;
    list-style: disc;
}
.single_main_content h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #1d1d1f;
}
.single_main_content span {
    color: #2d4174;
}
.single_main_content blockquote {
    padding-left: 17px;
    position: relative;
}
.single_main_content blockquote:before {
    background: #2d4174;
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    height: 90%;
    width: 1px;
}
.single_main_content blockquote > * {
    margin-bottom: 4px;
}
.single_main_content blockquote > *:last-child {
    margin-bottom: 0;
}
.single_main_content ol {
    padding-left: 20px;
}
.single_main_content ol li {
    list-style: decimal;
    margin-bottom: 12px;
}
.single_main_content ol li:last-child {
    margin-bottom: 0;
}
.single_main + .archive_back {
    margin-bottom: 0;
    margin-top: 20px;
}

/*-- POST ITEM ON FRONTPAGE --*/

.post_item_date {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #1d1d1f;
    margin-top: 12px;
}
.post_item_title {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #12275c;
    margin-top: 12px;
    min-height: 78px;
}
.post_item_title a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s;
}
.post_item_title a:hover {
    opacity: 0.7;
}
.post_item_desc {
    font-weight: 400;
    line-height: 130%;
    margin-top: 12px;
    overflow: hidden;
    max-height: 400px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;
}
.home_archive_btn {
    text-align: center;
}
.home_archive_btn a {
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    color: #3867de;
}
/* ADDITIONAL RESET */

.d_flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.f_wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.f_wrap_reverse {
    -webkit-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
}

.f_no_wrap {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.f_row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.f_direction_column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.j_content_start {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.j_content_end {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.j_content_center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.j_content_between {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.a_items_start {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.a_items_end {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.a_items_center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

/*--------------- RESPONSIVE ---------------*/

@media screen and (max-width: 1200px) {
    .single_title {
        font-size: 32px;
    }
    .single_exceprt {
        margin-top: 24px;
        font-size: 18px;
    }
}

@media screen and (max-width: 1024px) {
    .single_top {
        margin-left: -12px;
        margin-right: -12px;
    }
    .single_info,
    .single_image {
        padding: 0 12px;
        width: 50%;
    }
    .single_image {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .archive_items {
        max-width: 420px;
        margin: 24px auto 0;
    }
    .archive_item_inside {
        position: relative;
    }
    .archive_item_date {
        position: absolute;
        left: 0;
        top: 0;
    }
    .archive_item_info {
        padding-left: 0;
        width: 100%;
    }
    .archive_item_top {
        padding-left: 112px;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        min-height: 115px;
    }
    .archive_item_bottom {
        margin-top: 16px;
    }
    .archive_item_image {
        order: 1;
        padding-right: 0;
        margin-top: 16px;
        width: 100%;
    }
    .archive_item_image__link {
        height: 233px;
    }
    .archive_item_desc {
        width: 100%;
    }
    .single_top {
        margin: 0;
    }
    .single_info, 
    .single_image {
        padding: 0;
        width: 100%;
    }
    .single_image {
        padding: 0;
        order: 0;
        max-width: 420px;
        margin: 0 auto;
        height: 241px;
    }
    .single_image.without_border {
        height: 241px;
    }
    .single_image.without_border img {
        height: 100%;
        width: 100%;
    }
    .single_info {
        order: 1;
        margin-top: 20px;
    }
    .single_title {
        margin-top: 16px;
    }
    .single_exceprt {
        font-weight: 300;
        margin-top: 16px;
    }
    .single_main_content__full,
    .single_main_content__small {
        margin-top: 30px;
    }
    .single_main_content blockquote {
        padding-left: 16px;
    }
    .single_main_content blockquote ol {
        padding-left: 12px;
    }
    .single_main_content__small {
        font-size: 16px;
    }
    .single_main_content__small h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 679px) {
    .post_item_title {
        min-height: 0px;
    }
}

@media screen and (max-width: 540px) {
    .single_main_content .two_cols {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    .single_main_content .two_cols > * {
        margin-bottom: 8px;
        width: 100%;
    }
    .single_main_content .two_cols > *:last-child {
        margin-bottom: 0;
    }
    .single_main_content .two_cols ul {
        padding-left: 25px;
    }
    .single_main_content .two_cols ul li {
        margin-bottom: 8px;
    }
    .single_main_content .two_cols ul li:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 375px) {
    .archive_item_date {
        width: 60px;
    }
    .archive_item__date_day {
        height: 60px;
        font-size: 32px;
    }
    .archive_item__date_month {
        font-size: 12px;
    }
    .archive_item_top {
        padding-left: 84px;
        min-height: 104px;
    }
    .archive_item_top a {
        font-size: 18px;
    }
    .archive_item_image__link {
        height: 215px;
    }
    .single_title {
        font-size: 24px;
    }
}