.archive.tag main#main {
    padding-top: 180px;
}

.archive.tag .archive-header,
.archive.tag .wrap {
    background: #FFF5EF;
}

.page-template-resources .banner-page {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: inline-block;
    vertical-align: top;
}

.page-template-resources .backtotop_button_wrap {
    display: block;
}

.page-template-resources .banner-page .title-page {
    position: absolute;
    color: #ffffff;
    font-family: 'Marcellus';
    font-size: 60px;
    letter-spacing: 0;
    font-weight: 400;
    line-height: 66px;
    text-transform: uppercase;
    margin: 0;
    top: calc(50% + 60px);
}

.page-template-resources .banner-page img {
    width: 100%;
}

.page-template-resources .banner-page .banner-mobile {
    display: none;
}

.page-template-resources .wrapper-title-banner {
    position: absolute;
    width: 100%;
    height: 100%;
}

.page-template-resources .wrap {
    display: inline-block;
    width: 100%;
    background: #FFF5EF;
}

.page-template-resources .wrap-banner {
    max-width: 1060px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

.table-middle {
    display: table;
    width: 100%;
    height: 100%;
}

.table-cell {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.wrapper_menu_banner {
    width: 100%;
    display: inline-block;
    background: #504658;
    vertical-align: top;
    position: relative;
    z-index: 1;
    padding: 14.5px 0;
}

.wrapper_menu_banner .list_items {
    list-style-type: none;
    margin: 0;
    padding-left: 3px;
}

.wrapper_menu_banner .list_items .items_menu_banner {
    display: inline-block;
    float: left;
    position: relative;
    vertical-align: top;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter';
    letter-spacing: 0;
    text-transform: uppercase;
    margin-top: 14.5px;
    margin-bottom: 14.5px;
    cursor: pointer;
    margin: 0;
}

.wrapper_menu_banner .list_items .items_menu_banner.active {
    font-weight: 800;
}

.wrapper_menu_banner .items_menu_banner:after {
    background-image: url(../images/about4.png);
    background-repeat: no-repeat;
    content: "";
    width: auto;
    position: absolute;
    left: -8px;
    top: 5px;
    right: -7px;
    bottom: -5px;
    background-size: 100% 100%;
    height: auto;
    z-index: -1;
    transition: all 0.5s;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    opacity: 0;
}

.wrapper_menu_banner .items_menu_banner:hover:after {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.wrapper_menu_banner .list_items .items_menu_banner:first-child {
    margin-right: 82px;
}

.wrapper_menu_banner .wrap {
    background: transparent;
    display: block;
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.wrapper_menu_banner .action-tab {
    display: none;
}

#primary {
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.page-template-resources .title-desc {
    line-height: 56px;
    font-size: 50px;
    margin-bottom: 15px;
    color: #504658;
    /* letter-spacing: 0; */
    font-family: 'Marcellus';
}

.page-template-resources .main-desc {
    margin-top: 115px;
    margin-bottom: 50px;
}

.page-template-resources .content-desc {
    max-width: 500px;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #504658;
    font-weight: 400;
    font-family: 'Inter';
}

.row-resources {
    display: inline-block;
    width: 100%;
}

.item-resources {
    width: calc((100% - 60px) / 3);
    float: left;
    margin: 0 15px;
    display: inline-block;
    background: #fff;
    border-radius: 5px;
    margin-top: 57px;
    margin-bottom: 33px;
}

.container-useful-items {
    display: inline-block;
    margin: 67px auto;
    width: 100%;
    margin-bottom: 100px;
    box-sizing: border-box;
}

.items-useful {
    vertical-align: top;
    border-radius: 5px;
    opacity: 0;
    margin-bottom: 20px;
    padding: 20px;
    color: #ffffff;
    background: #F76D9D;
    font-size: 18px;
    font-family: 'Inter';
    font-weight: 600;
    letter-spacing: 0;
    line-height: 24px;
    width: 320px;
}

.items-useful a:hover {
    color: #fff;
}

.items-useful ul li {
    font-size: 14px;
}

.item-resources:nth-child(3n) {
    margin-right: 0;
}

.item-resources:nth-child(3n+1) {
    margin-left: 0;
}

.row-resources .feature-image {
    text-align: center;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-top: -30px;
}

.row-resources .feature-image figure {
    overflow: hidden;
    display: inline-block;
    border-radius: 3px;
}

.row-resources .feature-image img {
    margin: 0 auto;
    max-width: 280px;
    border-radius: 3px;
    transition: 1s;
    -webkit-transition: 1s;
    cursor: pointer;
}

.item-resources .main-post {
    padding: 0 20px 10px 20px;
    margin-bottom: 20px;
}

.item-resources .content-post .links {
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    letter-spacing: 0;
    color: #504658;
    font-family: 'Inter';
    font-weight: 600;
}

.item-resources:hover .content-post .links {
    color: #f76d9d;
}

.item-resources .tag-post {
    line-height: 21px;
}

.item-resources .tag-post .tag-name {
    font-size: 14px;
    line-height: 21px;
    color: #F76D9D;
    letter-spacing: 0;
    font-family: 'Inter';
    font-weight: 400;
}

.item-resources .see-time {
    font-weight: 300;
    font-family: 'Inter';
    margin-top: 0;
    position: relative;
    top: -1px;
}

.item-resources .content-post {
    font-weight: 500;
    font-family: 'Inter';
    margin-top: 5px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.item-resources .featured-img:hover img {
    transform: scale(1.04);
    transition: all 1s ease;
    cursor: pointer;
}

.item-resources .tag-post .tag-name:hover {
    text-decoration: underline;
    cursor: pointer;
}

.wrap-pagination {
    margin-bottom: 200px;
    display: inline-block;
    width: 100%;
}

.page-template-resources .wrap-pagination {
    margin-bottom: 0;
    margin-top: 22px;
}

.wrap-pagination a.btn-details.button.btn-forward {
    margin: 0 auto;
    display: none;
    text-decoration: none;
}

ul.page-numbers {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.pagination-list {
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: row;
    list-style: none;
    align-items: center;
}

ul.page-numbers li,
.pagination-list li {
    margin: 0;
}

ul.page-numbers li:hover a,
.pagination-list li:hover a {
    background: #504658;
    color: #fff;
    border-radius: 3px;
}

ul.page-numbers li:hover a.prev span,
ul.page-numbers li:hover a.next span,
.pagination-list li:hover a.page-numbers {
    color: #ffffff;
}

span.page-numbers.dots,
ul.page-numbers li span,
ul.page-numbers li a,
.pagination-list li a {
    display: inline-block;
    width: 35px;
    height: 35px;
    font-weight: 800;
    margin: 0 5px;
    text-align: center;
    position: relative;
    font-size: 14px;
    line-height: 35px;
    color: #504658;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Inter';
}

ul.page-numbers li .page-numbers.current,
.pagination-list li.active a {
    background: #504658;
    border-radius: 3px;
    color: #ffffff;
}

.pagination-list li a.page-numbers {
    width: auto;
}

a.prev.page-numbers {
    position: relative;
    width: auto;
    padding: 0 13px;
}

a.next.page-numbers {
    position: relative;
    width: auto;
    padding: 0 2px;
    margin: 0;
}

span.page-numbers.dots {
    position: relative;
    top: -1px;
    padding-right: 6px;
    margin-left: 3px;
}

ul.page-numbers span.page-numbers.dots {
    top: -1px;
    padding-right: 6px;
}

.prev .icon,
.next .icon {
    width: 16px;
    height: 18px;
    vertical-align: top;
    position: relative;
}

.next .icon {
    margin-left: 18px;
    right: 0;
    position: relative;
    left: -2px;
}

.prev .icon {
    margin-right: 18px;
    left: 4px;
}

.wrapprer-useful-links {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    padding-top: 110px;
}

.wrapper-useful {
    padding: 20px 25px;
}

.title-useful-link {
    max-width: 500px;
}

.title-useful {
    font-size: 18px;
    font-family: 'Inter';
    font-weight: 600;
    letter-spacing: 0;
    padding-top: 3px;
    line-height: 24px;
    margin-bottom: 13px;
}

.items-useful:not(:first-child) .title-useful {
    margin-bottom: 4px;
}

.title-useful-link .title {
    font-size: 50px;
    line-height: 56px;
    color: #504658;
    font-weight: 400;
    text-transform: uppercase;
    /* letter-spacing: 0; */
    margin-bottom: 15px;
    font-family: Marcellus;
    letter-spacing: -0.0415625em;
}

.content-desc-useful p {
    font-size: 16px;
    line-height: 24px;
    color: #504658;
    font-weight: 400;
    letter-spacing: 0;
    font-family: 'Inter';
}

.content-item-useful p {
    font-size: 14px;
    line-height: 21px;
    color: #ffffff;
    letter-spacing: 0;
    font-weight: 400;
    font-family: 'Inter';
    word-spacing: 1px;
}

.wrapper-container-post {
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.item-resources:hover {
    cursor: pointer;
}

.item-resources:hover .feature-image img {
    transform: scale(1.1);
    -ms-transform: scale(1.1);
    -ms-transform-origin: scale(1.1);
    -webkit-transform: scale(1.1);
    transition: 1s;
    -webkit-transition: 1s;
    cursor: pointer;
}

.container-useful-items {
    animation: fadein 3s;
    -moz-animation: fadein 3s;
    /* Firefox */
    -webkit-animation: fadein 3s;
    /* Safari and Chrome */
    -o-animation: fadein 3s;
    /* Opera */
}

.cloned__fixed {
    padding-top: 0 !important;
}

@media screen and (min-width: 1600px) {

    #primary,
    .wrapper_menu_banner .wrap,
    .page-template-resources .wrap-banner {
        max-width: 1440px;
    }

    .row-resources .feature-image figure {
        display: block;
    }

    .row-resources .feature-image img {
        width: 100%;
        max-width: 100%;
    }

    .row-resources .feature-image {
        padding: 0 20px;
    }

    .item-resources .see-time {
        padding-top: 5px;
        top: 0;
    }
}

@media screen and (max-width: 1060px) {
    .items-useful {
        width: calc((100% - 60px) / 2);
        width: -webkit-calc((100% - 60px) / 2);
        width: -moz-calc((100% - 60px) / 2);
    }
}

@media screen and (max-width: 999px) {
    .page-template-resources .main-desc {
        margin-top: 60px;
    }

    #primary {
        padding: 0 30px;
    }

    .wrap-pagination {
        padding: 0 15px;
        margin-bottom: 105px;
    }

    .page-template-resources .wrap-pagination {
        padding-right: 0;
    }

    .row-resources {
        padding: 0;
    }

    .item-resources {
        width: 50%;
        padding: 0 15px;
        float: left;
        background: none;
        margin: 0;
        margin-bottom: 70px !important;
    }

    .item-resources .container-item {
        background: #ffffff;
        border-radius: 5px;
    }

    .wrapper-resources {
        margin: 0 -15px;
    }

    .row-resources .feature-image img {
        max-width: 100%;
    }

    .row-resources .feature-image {
        padding: 5px 20px;
    }

    .row-resources .feature-image figure img,
    .row-resources .feature-image figure {
        width: 100%;
        border-radius: 3px;
    }
}

@media screen and (max-width: 660px) {
    .wrapper_menu_banner .wrap {
        padding: 0;
    }

    #primary {
        padding: 0 30px;
    }

    .archive.tag main#main {
        padding-top: 150px;
    }

    .items-useful>div {
        margin-bottom: 0;
    }

    .page-template-resources .banner-page .banner-desktop {
        display: none;
    }

    .page-template-resources .banner-page .banner-mobile {
        display: block;
    }

    .page-template-resources .container-desc {
        display: none;
    }

    .wrapper_menu_banner {
        padding: 14.5px 30px;
    }

    .row-resources .feature-image {
        margin-top: -120px;
    }

    .pagination-pager {
        display: none;
    }

    .wrap-pagination {
        display: inline-block;
        text-align: center;
        width: 100%;
        margin-bottom: 70px;
    }

    .wrap-pagination a.btn-details.button.btn-forward {
        display: block;
        font-family: "Inter";
        font-size: 14px;
        font-weight: 600;
        line-height: 28px;
        text-transform: uppercase;
        width: 180px;
    }

    .wrap-pagination a.btn-details.button.btn-forward:before {
        right: 8px;
    }

    .wrap-pagination a.btn-details.button.btn-forward:after {
        width: 51px;
    }

    .row-resources {
        margin-top: 0px;
    }

    .item-resources .see-time {
        color: #504658;
        font-family: Inter;
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        padding-top: 9px;
    }

    .item-resources .content-post .links {
        font-size: 20px;
        font-weight: 500;
    }

    .item-resources .content-post {
        font-weight: 400;
        font-family: 'Inter';
        margin-top: 5px;
        margin-bottom: 14px;
        letter-spacing: 0;
        line-height: 24px;
        font-size: 21px;
    }

    .item-resources .main-post {
        margin-bottom: 11px;
        padding: 0 25px 10px 28px;
    }

    /* .item-resources:last-child {
        margin-bottom: 70px !important;
        margin-top: 70px;
    } */

    .wrapprer-useful-links {
        padding-top: 100px;
    }

    .item-resources {
        width: 50%;
        margin-top: 70px;
        margin-bottom: 00px !important;
    }
}

@media screen and (max-width: 550px) {
    .row-resources {
        margin-top: 50px;
    }

    .row-resources .feature-image {
        margin-top: -65px;
    }

    .item-resources {
        margin-top: 50px;
        margin-bottom: 0px !important;
    }
}

@media screen and (max-width: 425px) {
    .item-resources .main-post {
        height: auto !important;
    }

    .item-resources .content-post {
        display: block;
    }

    .page-template-resources .wrap-banner {
        max-width: 275px;
        padding: 0;
    }

    .wrapper_menu_banner .sub_menu {
        width: 100%;
        display: none;
        background: #8f8994;
        position: absolute;
        top: 100%;
        left: 0;
    }

    .wrapper_menu_banner .sub_menu.active {
        display: block;
    }

    .wrapper_menu_banner .action-tab {
        display: block;
        color: #ffffff;
        font-family: "Inter";
        font-size: 18px;
        line-height: 21px;
        text-transform: uppercase;
        font-weight: 800;
        position: relative;
    }

    .wrapper_menu_banner .list_items {
        max-width: 275px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .wrapper_menu_banner .wrap {
        padding: 14.5px 0;
        margin: 0 auto;
        /* max-width: 275px; */
    }

    .wrapper_menu_banner {
        padding: 0 20px;
        background: #504658;
        z-index: 2;
    }

    .wrapper_menu_banner .action-tab:after {
        content: "";
        background: url(../images/arrow-menu-banner.png);
        width: 15px;
        height: 10px;
        background-size: cover;
        position: absolute;
        right: 2px;
        top: 5px;
    }

    .wrapper_menu_banner .action-tab.active:after {
        transform: rotate(180deg);
    }

    .wrapper_menu_banner .list_items .items_menu_banner {
        font-size: 18px;
        margin: 30px 0;
        display: inline-block;
        width: auto;
        vertical-align: top;
        z-index: 1;
    }

    .wrapper_menu_banner .list_items .items_menu_banner:last-child {
        margin-top: 0;
    }

    .page-template-resources .banner-page .title-page {
        font-family: Marcellus;
        font-size: 40px;
        font-weight: 400;
        line-height: 50px;
        text-transform: uppercase;
        letter-spacing: 0;
        position: absolute;
        top: calc(50% + 58px)
    }

    .items-useful {
        width: 100%;
        float: none;
        margin: 0 auto;
        margin-bottom: 15px;
        letter-spacing: 0;
    }

    .row-resources {
        max-width: 331px;
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .item-resources {
        width: 100%;
        padding: 0;
        float: left;
        background: #fff;
        margin-top: 0;
        margin-bottom: 65px !important;
    }

    .item-resources .main-post {
        margin-bottom: 13px;
        padding: 0 31px 10px 27px;
    }

    .row-resources .feature-image {
        padding: 0px 25px;
        margin-top: -150px;
    }

    .item-resources .see-time {
        padding-top: 5px;
    }

    .item-resources .content-post {
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 375px) {
    .container-useful-items {
        width: 100%;
        max-width: 320px;
        float: none;
        margin: 0 auto;
        display: block;
        padding-left: 0;
        margin-bottom: 129px;
    }

    .title-useful-link {
        max-width: 320px;
        padding-left: 0;
        margin: 0 auto;
        margin-bottom: 48px;
    }

    .wrapprer-useful-links .desc-useful-link {
        max-width: 280px;
        margin: 44px auto;
        padding-left: 2px;
    }

    .wrapprer-useful-links .title-useful-link .title {
        font-family: Marcellus;
        font-size: 35px;
        line-height: 40px;
        text-transform: uppercase;
        max-width: 285px;
        margin: 0 auto;
    }

    .cloned__fixed {
        padding-top: 0 !important;
    }

    .item-resources:last-child {
        margin-bottom: 55px !important;
        margin-top: 0;
    }
}

@media screen and (max-width: 370px) {
    .wrapper-resources {
        margin: 0;
    }

    .row-resources .feature-image {
        margin-top: 0;
    }

    .row-resources {
        margin-top: 80px;
    }
}