.container {
    margin: 0 auto;
    max-width: 1420px;
}
.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 5rem;
}
.pagination > a {
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}
.pagination > a:hover {
    text-decoration: underline;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}
@media screen and (max-width: 900px) {
    .pagination {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}
a {
    color: #000;
    text-decoration: none;
}
figcaption,
p,
td {
    font-size: 2rem;
}
figcaption small {
    font-size: smaller;
    float: right;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    margin: 0.5em;
    padding: 0.5em;
}
ul {
    list-style: none;
}
input:focus,
textarea:focus {
    outline: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 0;
}
h1 {
    font-size: 6rem;
    font-weight: 900;
}
h2 {
    font-size: 6rem;
    font-weight: 900;
}
h3 {
    font-size: 4rem;
    font-weight: 700;
}

.blog,
.contacts,
.price,
.projects,
.service {
    margin-top: 10rem;
    text-align: center;
}
th {
    font-weight: 500;
    font-size: 2rem;
    padding: 1rem 0;
}
tr {
    transition-duration: 0.1s;
}
.blog_content_load_link {
    font-size: 0;
}
.blog__show {
    display: flex;
    box-sizing: border-box;
    padding: 10rem 2rem 12rem 4rem;
    border-bottom: 2px solid;
    margin-bottom: 9rem;
}
.blog__show-img {
    height: 480px;
    max-width: 45%;
    width: 100%;
}
.blog__show-img img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.blog__show-box {
    max-width: 67rem;
    text-align: left;
    padding-left: 9rem;
    margin-top: 3rem;
    overflow: auto;
}
.blog__show-title {
    line-height: 5rem;
}
.blog__show-text {
    padding-top: 5rem;
    line-height: 3rem;
}
.blog__list {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    padding-left: 3rem;
    padding-right: 2rem;
}
.blog .blog__list {
    flex-wrap: wrap;
}
.blog__list-item {
    text-align: left;
    padding-bottom: 5rem;
    width: 30%;
}
.blog__list-item:nth-child(3n + 2) {
    margin: 0 5%;
}
.blog__list-item img {
    width: 100%;
    height: 100%;
    max-height: 28rem;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}
.blog__list-item figure {
    width: 100%;
    font-size: 0;
}
#sidebar .blog__list-item {
    width: 100%;
}
#sidebar .blog__list-item img {
    max-height: 22rem;
}
#sidebar .blog__list-item:nth-child(3n + 2) {
    margin: 0;
}
#sidebar .blog__list-item:nth-child(even) {
    margin-left: 0;
}
.blog__list-item figcaption {
    font-weight: 700;
    padding-top: 1.5rem;
    font-size: 1.9rem;
    line-height: 3rem;
}
.blog__list-item-first {
    width: 100%;
    border-bottom: 2px solid;
    margin-bottom: 9rem;
}
.blog__list-image_box {
    max-width: 60rem;
    max-height: 41rem;
}
.blog__list-image_box img {
    width: 100%;
    height: 100%;
}
.blog__goBackLink {
    font-size: 1.6rem;
    line-height: 3rem;
    border-bottom: 1px solid;
    display: inline-block;
    margin-top: 3rem;
}
.wrapper {
    display: flex;
    margin-top: 10rem;
    margin-bottom: 10rem;
}
.post {
    max-width: 70%;
}
.post__image {
    font-size: 0;
}
.post__image img {
    width: 100%;
}
.post__title {
    font-size: 4rem;
    line-height: 4.5rem;
    max-width: 80rem;
    padding-bottom: 4rem;
}
.post__text h2,
.post__text-title,
.service__descrip h3 {
    font-size: 2.5rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
}
.socials {
    display: flex;
    padding-bottom: 2.5rem;
    padding-top: 3rem;
}
.socials > li:not(:last-of-type) {
    margin-right: 0.5rem;
}
.social {
    width: 156px;
    height: 33px;
    border-radius: 3px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: center;
}
.icon {
    margin-right: 0.5rem;
}
.social .icon {
    background-repeat: no-repeat;
    background-size: cover;
    width: 2rem;
    height: 2rem;
}
#facebook .icon {
    background-image: url(../../images/blog/facebook.svg);
}
#vk .icon {
    background-image: url(../../images/blog/vk.svg);
}
#twitter .icon {
    background-image: url(../../images/blog/tw.svg);
}
.post__text {
    padding-top: 1.5rem;
    box-sizing: border-box;
    padding-left: 4rem;
    font-size: 2rem;
}
.post__text > p {
    padding-bottom: 2rem;
    line-height: 3rem;
}
#sidebar {
    margin-left: 9rem;
}
#sidebar .blog__list {
    flex-direction: column;
    margin: 0;
}
#sidebar .blog__list-item {
    padding-bottom: 2rem;
}
#sidebar .blog__list-item:last-child {
    padding-bottom: 0;
}
#sidebar .different-banner {
    border: 1px solid;
    margin: 0 auto 5rem;
    width: 38rem;
}
#sidebar .different-banner img {
    width: 100%;
}
.different-banner h3 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
    text-align: center;
}
.different-banner a {
    width: 316px;
    height: 7rem;
    border-radius: 100px;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 7rem;
    margin: 5rem auto;
}
.post__author {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.post__date {
    margin-bottom: 6rem;
}
.post__author time {
    font-weight: 400;
}

@media screen and (max-width: 1480px) {
    .blog__show > img {
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }
    .container {
        max-width: 1240px;
    }
    h1 {
        font-size: 7rem;
    }
    #sidebar {
        max-width: 32.5%;
    }
    .blog,
    .contacts,
    .price,
    .projects,
    .service,
    .wrapper {
        margin-top: 8rem;
    }
    .blog__show {
        padding: 8rem 2rem 10rem 4rem;
        height: 45rem;
        box-sizing: content-box;
    }
    #sidebar .blog__list-item:nth-child(n + 3) {
        display: none;
    }
    .post {
        padding-left: 6rem;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1290px) {
    .container {
        max-width: 1180px;
    }
}
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 5rem;
    }
    .blog,
    .contacts,
    .price,
    .wrapper {
        margin: 0;
        padding-top: 13.5rem;
    }
    .blog__show {
        height: auto;
        flex-direction: column;
        padding: 4rem 5.6rem 5rem;
    }
    .blog__show img {
        width: 82%;
        margin: 0 auto;
    }
    .blog__list {
        padding-left: 0;
        padding-right: 0;
        max-width: 76rem;
        margin-top: 5rem;
        flex-wrap: wrap;
    }
    .blog__show-box {
        max-width: 100%;
        margin-top: 4rem;
        padding: 0;
    }
    #sidebar {
        margin-left: 0;
    }
    .blog__show-text {
        padding-top: 4rem;
    }
    .blog__list-item:nth-child(3n + 2) {
        margin: 0;
    }
    .blog__list-item:nth-child(even) {
        margin-left: 4%;
    }
    .blog__list-item {
        width: 48%;
    }
    .blog__list,
    .blog__show-box {
        margin-left: auto;
        margin-right: auto;
    }
    .map__image {
        height: 60rem;
    }
    .wrapper {
        flex-direction: column;
    }
    .post__text {
        padding-left: 0;
    }
    #sidebar {
        margin: 0;
        max-width: 100%;
    }
    #sidebar .different-banner {
        width: 100%;
    }
    #sidebar .blog__list {
        max-width: 100%;
    }
    #sidebar .blog__list-item img {
        height: 100%;
    }
    #sidebar .blog__list-item {
        padding-bottom: 4rem;
    }
    #sidebar .blog__list-item figcaption {
        font-size: 2rem;
    }
    .post {
        margin-left: 5.6rem;
        margin-right: 5.6rem;
        margin-bottom: 5rem;
    }
    #sidebar .blog__list {
        margin-left: 5.6rem;
        margin-right: 5.6rem;
        margin-bottom: 5rem;
    }
    #sidebar .blog__list {
        flex-direction: row;
    }
    #sidebar .different-banner figure {
        width: 100%;
    }
    .different-banner img {
        width: 100%;
    }
    #sidebar .start-sticky {
        padding-top: 0;
    }
    #sidebar .different-banner {
        max-width: 88%;
    }
    #sidebar .different-banner figure {
        margin: 0 auto;
    }
    .post {
        max-width: 100%;
    }
    .blog__show-img {
        height: 100%;
    }
    .blog__show img {
        width: 100%;
        max-height: 48rem;
        -o-object-fit: cover;
        object-fit: cover;
    }
    .blog__list {
        max-width: 90%;
    }
    .blog__list-item img {
        height: 100%;
        max-height: 30rem;
        -o-object-fit: cover;
        object-fit: cover;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1150px) {
    .container {
        max-width: 1025px;
    }
    .post {
        padding-left: 4rem;
        max-width: 50%;
    }
    .blog__show-box {
        max-width: 50rem;
        padding-left: 6rem;
    }
    .blog__show-img {
        height: 44rem;
    }
}
@media screen and (max-width: 1024px) {
    .blog__show-img {
        max-width: 100%;
    }
    .post {
        padding-left: 0;
    }
}
@media screen and (max-width: 800px) {
    h3 {
        font-size: 3rem;
        line-height: 30px;
    }
    .blog__list {
        margin-left: 5.6rem;
        margin-right: 5.6rem;
        margin-bottom: 5rem;
    }
    .blog__show img {
        width: 100%;
    }
    .post__title {
        padding-bottom: 4rem;
    }
    th {
        padding: 1rem 0.5rem;
    }
}
@media screen and (max-width: 500px) {
    .blog__show {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 3.5rem;
    }
    .blog__show-box {
        margin-left: 1.7rem;
        margin-right: 1.7rem;
        margin-top: 2.5rem;
    }
    .blog__show-title {
        line-height: 35px;
        font-size: 3rem;
    }
    .blog__show-text {
        padding-top: 1.5rem;
    }
    .blog__list {
        margin-right: 0;
        margin-left: 0;
    }
    .blog__list-item {
        padding-bottom: 3rem;
    }
    .blog__list-item,
    .blog__list-item figure {
        width: 100%;
    }
    .blog__list-item figcaption {
        font-size: 2rem;
        margin: 0 2rem;
    }
    .blog__list-item:nth-child(even) {
        margin-left: 0;
    }
    .blog__show-text {
        font-size: 1.5rem;
        line-height: 20px;
    }
    h1 {
        font-size: 4rem;
        line-height: 5rem;
    }
    h2 {
        font-size: 5rem;
    }
    .blog,
    .contacts,
    .price,
    .wrapper {
        padding-top: 11.5rem;
    }
    .post__title {
        font-size: 3rem;
        line-height: 35px;
        padding-bottom: 2rem;
    }
    .post__text {
        padding-top: 0;
        font-size: 1.6rem;
    }
    .post__author {
        margin-bottom: 0.8rem;
    }
    .post__text > p {
        font-size: 1.5rem;
        line-height: 20px;
    }
    .post__text h2,
    .post__text-title,
    .service__descrip h3 {
        font-size: 2rem;
        line-height: 30px;
        padding-top: 0;
        padding-bottom: 1rem;
    }
    .post__text > p:last-of-type {
        padding: 0;
    }
    .post {
        margin-bottom: 4rem;
    }
    #sidebar .blog__list,
    .post {
        margin-left: 0;
        margin-right: 0;
    }
    .news-detail-share,
    .post__image,
    .post__text,
    .post__title,
    .price__box {
        margin-left: 1.7rem;
        margin-right: 1.7rem;
    }
    #sidebar .blog__list-item {
        padding-bottom: 3.5rem;
    }
    .blog__list {
        max-width: 100%;
    }
    .blog__show {
        border-bottom: 0;
    }
    .news-detail-share {
        display: none;
    }
    .post__text {
        padding-top: 2rem;
    }
    .blog__show-text {
        display: none;
    }
    .blog__show {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .blog__show-img {
        height: 100%;
        font-size: 0;
    }
    .blog__list-item figcaption,
    .blog__show-title {
        line-height: 3.5rem;
        font-size: 3rem;
    }
    .blog__show-box {
        margin-top: 1.5rem;
    }
    .blog__list {
        margin-top: 2rem;
    }
}
@media screen and (max-width: 425px) {
    .blog__goBackLink {
        margin-left: 1.7rem;
    }
    .blog__show {
        padding-top: 3rem;
    }
}
@media screen and (max-width: 330px) {
    .blog__list-item img {
        max-height: 24rem;
    }
}
