/*@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url(../fonts/OpenSuns.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }*/

@import url("fonts.css");
  
/*==============RESET===================*/

:root{
    --white: #ffffff;
    --main-color: #026b9c;
    --bg-color: #383f4e;
    --link-color: #007fff;
    --title-color: #2a303b;
    --text-color: #383f4e;
    --text-color-add: #717b8e;
    --label-color: #717b8e;
    --label-color-add: #a2a9ae;;
    --box-shadow:  0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    --text-size: 1.7rem;
    /*--text-size-mobile: .5rem;*/
    --title-size: 2.6rem;
    --title-size-article: 2.2rem;
    /*--title-size-mobile: 1.4rem;*/
    --common-padding: 0 64px;
    --common-font-family: 'The Antiqua B';
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    color: var(--bg-color);
}

body {
    height: 100%;
    font-size: 16px;
    font-family: var(--common-font-family);
}

h1 {
    font-size: var(--title-size);
    font-weight: 500;
    line-height: 2rem;
    padding: 0;
    margin: 0;
    font-family: var(--common-font-family);
}

h2, h3 {
    color: var(--title-color);
    padding: 0;
    margin: 0;
    font-family: var(--common-font-family);
}

/* ol {
    list-style: none;
    padding: 0;
    margin: 0;
} */

p {
    font-size: var(--text-size);
    font-family: var(--common-font-family);
}

a {
    color: var(--link-color);
}

img {
    height: auto;
}

figcaption {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: transparent;
}

article {
    font-size: var(--text-size);
    line-height: 24px;
}

/*==============header==============*/


.un-header__topics {
    align-items: center;
    color: var(--label-color);
    display: flex;
    font-size: 1.6rem;
    font-weight: 500;
    list-style: none;
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'MarrSansCondensed', sans-serif;
}

.un-header__topic {
    align-items: center;
    display: flex;
    line-height: 1.6rem;
}

.un-header__topic:first-child:after {
    align-self: center;
    color: #bdc1c8;
    content: "•";
    padding: 0 .8rem;
}

@media all and (min-width: 1024px) {
    .un-header__heading {
        max-width: 85%;
    }
}

.un-header__title {
    color: var(--title-color);
    font-size: var(--title-size);
    font-weight:600;
    line-height:1.25;
    font-family: inherit;
}

@media all and (min-width: 576px) {
    .un-header__title {
        font-size: 2.8rem;
        line-height: 1.14;
        font-weight: 600;
    }
}

@media all and (min-width: 768px) {
    .un-header__title {
        font-size: 3.4rem;
        font-weight: 500;
        line-height: 1.11;
    }
}

@media all and (min-width: 1024px) {
    .un-header__title {
        font-size: 3.8rem;
        font-weight: 500;
    }
}

.un-header__excerpt {
    color: var(--title-color);
    font-size: 1.8rem;
    line-height:1.34;
    font-weight: 500;
    letter-spacing: .03rem;
    margin-bottom: 0;
    margin-top: .8rem;
    font-family: 'MarrSansCondensed';
}

@media all and (min-width: 576px) {
    .un-header__excerpt {
        font-size: 1.8rem;
        line-height: 1.41;
    }
}

@media all and (min-width: 768px) {
    .un-header__excerpt {
        font-size: 2rem;
        line-height: 1.33;
    }
}

@media all and (min-width: 1024px) {
    .un-header__excerpt {
        font-size: 2.2rem;
        line-height: 1.44;
    }
}

.un-header__author {
    color: var(--label-color);
    font-size: 1.4rem;
    letter-spacing: .02rem;
    line-height: 1.42;
    margin-top: 1.6rem;
}

@media all and (min-width: 576px) {
    .un-header__author {
        letter-spacing: .019rem;
    }
}

@media all and (min-width: 768px) {
    .un-header__author {
        letter-spacing: .02rem;
    }
}

@media all and (min-width: 1024px) {
    .un-header__author {
        max-width: 85%;
    }
}

.un-header__info {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-flow: wrap;
}

.un-header__date {
    color: var(--label-color);
    font-size: 1.4rem;
    letter-spacing: .314px;
    font-family: 'MarrSans';
}

.un-header__reading-time {
    color: var(--label-color);
    display: inline-flex;
    float: none;
    margin-top: 0;
    font-size: 1.4rem;
    letter-spacing: .314px;
    line-height: 1.42;
    align-items: center;
}

.un-header__reading-time::before {
    color: #d5d8dc;
    content: "•";
    display: inline-block;
    line-height: 1;
    padding-right: .4rem;
}

.un-header__icon-time {
    letter-spacing: .314px;
    background-image: url("urn:scrapbook:download:error:https://xycereneny.pro/_cdn/production/landing-cdn/71608f3d-e989-4787-a78b-ba30c12cdb87/e8ed39ca-5247-4d09-aaae-5840cfc52eb0/index/c4ab2b58ecac15d3206f8416b1f9da42d628bae9.svg");
    height: 2.4rem;
    margin-right: .8rem;
    width: 1.2rem;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    flex-shrink: 0;
}

.un-header__info-time {
    font-family: 'MarrSans';
    font-size: 1.4rem;
}

.un-header__actions {
    clear: both;
    gap: 1.2rem;
    justify-content: flex-start;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    position: relative;
    height: 3.2rem;
    align-items: center;
    z-index: 4;
    display: flex;
    list-style: none;
}

.un-header__favorites {
    letter-spacing: .314px;
    font-size: 1.4rem;
    position: relative;
    color: var(--title-color);
}

.un-header__favorites-wrapper {
    background-color: #fff;
    border: .1rem solid #d5d8dc;
    gap: .8rem;
    padding: 0 1rem;
    width: auto;
    cursor: pointer;
    align-items: center;
    border-radius: 25rem;
    display: flex;
    height: 3.2rem;
    justify-content: center;
    font-size: 1.4rem;
}

.un-header__favorites-icon {
    background-image: url("urn:scrapbook:download:error:https://xycereneny.pro/_cdn/production/landing-cdn/71608f3d-e989-4787-a78b-ba30c12cdb87/e8ed39ca-5247-4d09-aaae-5840cfc52eb0/index/b2087e4436656baab1dedd46af67f3ce83fd9b76.svg");
    height: 1.56rem;
    width: 1.1rem;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}

.un-header__favorites-description {
    letter-spacing: .314px;
    font-size: 1.4rem;
}

.un-header__sshare-button {
    background-size: auto;
    display: flex;
    height: 3.2rem;
    width: 3.2rem;
    align-items: center;
    background-color: transparent;
    border-radius: 25rem;
    justify-content: center;
}

.un-header__share-icon {
    background-size: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px 4px;
}

.un-header__image {
    /*margin: 0 -32px;*/
}
.un-header__image img {
    width: 100%;
    height: auto;
}


/*=========MAIN-CONTENT===========*/

#un-content {
    grid-column-gap: 6.4rem;
    display: grid;
    grid-template-columns: 1fr 31.6rem;
    grid-template-rows: auto auto auto;
    padding-bottom: 4rem;
    padding-top: 3.2rem;
    background-color: var(--white);
}

@media all and (max-width: 576px) {
    #un-content {
        margin: 0 1.6rem;
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }
}

@media all and (min-width: 576px) {
    #un-content {
        margin: 0 3.2rem;
    }
}

@media all and (min-width: 576px) and (max-width: 768px){
    #un-content {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }
}


@media all and (min-width: 768px) {
    #un-content {
        margin: 0 auto;
        max-width: 66.4rem;
    }
}

@media all and (min-width: 768px) and (max-width: 1023px){
    #un-content {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }
}

@media all and (min-width: 1024px) {
    #un-content {
        margin: 0 auto;
        max-width: 100rem;
        padding: 3.2rem;
    }
}

#un-header {
    padding-bottom:2rem;
    position:relative
}

@media all and (min-width: 1024px) {
    #un-header {
        grid-column: 1/span 2;
        grid-row: 1;
        padding-bottom: 2.4rem;
    }
}

#un-header:after {
    background-color: #d5d8dc;
    bottom: 0;
    content: " ";
    display: block;
    height: .1rem;
    position: absolute;
    width: 4rem;
}

/*==============CHECK==============*/

.check {
    box-shadow: var(--box-shadow);
    max-width: 100%;
    font-family: 'Open Sans';
    font-size: 1.4rem;
}

@media all and (max-width: 500px) {
    .check {
        font-size: 1.3rem;
    }
}

.check__wrapper {
    padding: .5rem;
}
.check__iban{
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
}
.check__top-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.check__top-col-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem;
}
.check__top-col-1-row {
    display: flex;
    flex-direction: column;
}
.check__top-col-title {
    color: var(--main-color);
    margin-bottom: 8px;
    margin-top: 8px;
}
.check__top-col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.check__bot{
    border-bottom: 3px solid #000;
}
.check__bot-grid{
    display: grid;
    grid-template-columns: 1fr 5fr 1fr 1fr 1fr;
}
.check__bot-grid-col{
    display: flex;
    flex-direction: column;
    border-right: 1px solid #000;
}
.check__bot-grid-col-title{
    font-weight: 500;
    background-color: rgba(128, 128, 128, 0.39);
    border-right: 1px solid #000;
    border-bottom: 3px solid #000;
    padding-left: 2px;
}
.check__thanks{
    text-align: right;
    display: block;
    margin: .5rem 2rem;
}

/*=============article================*/

.un-article {

}

.un-article__image {
    margin: 2.4rem auto 0;
}

.un-article__image img{
    width: 100%;
}

.un-article-image__caption {
    color: var(--label-color);
    font-size: 1.4rem;
    line-height: 1.42;
    font-family: 'MarrSans';
}

.un-article__paragraph, .un-article__callout, .un-steps__paragraph {
    margin: 2rem 0 2rem 0;
}

.un-article__headline3 {
    color: var(--title-color);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.18;
    margin-top: 2.4rem;
}

@media all and (min-width:1024px){
    .un-article__headline3 {
        line-height:1.2
    }
}

.un-article__callout {
    border-left: solid 3px var(--main-color);
    padding-left: 8px;
    font-style: italic;
}

.un-article__blockquote {
    position: relative;
    font-size: 16px;
    margin: 16px 16px 46px 16px;
    border: 2px solid var(--main-color);
    border-radius:20px;
    padding: 25px;
    margin-bottom: 4rem;
}

.un-article__blockquote::after {
    content:"";
    position: absolute;
    border: 2px solid var(--main-color);
    border-radius: 0 50px 0 0;
    width: 40px;
    height: 40px;
    bottom: -40px;
    left: 50px;
    border-bottom: none;
    border-left: none;
    z-index: 2; 
    box-sizing: border-box;
} 
.un-article__blockquote::before {
    content:"";
    position: absolute;
    width: 80px;
    border: 6px solid #FFF;
    bottom: -3px;
    left: 50px;
    z-index: 1;
}
.un-article__blockquote cite {
    position: absolute;
    bottom: -30px;
    left: 110px;
    font-size: 13px;
    font-weight: bold;
    color: var(--main-color);
}

/*=========steps==============*/

.un-steps{
    font-family: var(--common-font-family);
}

.un-steps__title{
    text-align: center;
    border: 1px solid var(--main-color);
    text-transform: uppercase;
    padding: 5px;
    font-weight: 700;
    font-family: var(--common-font-family);
    color: var(--text-color);
    margin: 1rem 0;
}

.un-steps__text{
    border-left: 4px solid var(--main-color);
    padding: .385rem;
}

.un-steps__important{
    font-style: italic;
    border-left: 8px solid var(--main-color);
    padding-left: 1rem;
}

.un-steps__img-chel{
    margin: 0 auto;
    display: block;
}

.un-steps__image {
    width: 100%;
    margin: 2.4rem auto 0;
}

.un-steps-image__img {
    box-shadow: var(--box-shadow);
}

.un-steps__image img {
    width: 100%;
}

.un-steps-image__description {
    color: var(--label-color);
    font-size: 1.4rem;
    line-height: 1.42;
    font-family: 'MarrSans';
}

/*=========instruction=============*/

.un-instruction ol{
    counter-reset: myCounter;
}
  
.un-instruction li{
    list-style: none;
    line-height: 1.7rem;
    margin: 0 0 8px 0;
    font-size: var(--text-size);
}
  
.un-instruction li::before {
    counter-increment: myCounter;
    content: counter(myCounter);
    display: block;
    border: 3px var(--main-color) solid;
    width: min-content;
    padding: 4px 8px;
    border-radius: 52%;
    color: var(--main-color);
    font-weight: 700;
    margin: auto 1rem auto 0;
    font-family: 'D-DIN Condensed';
    font-size: 2rem;
}

.un-instruction li:first-child:before {
    padding: 4px 9px;
}

.un-instruction span {
    margin: auto 0;
}

.un-instruction {
    font-family: var(--common-font-family);
}

.un-instruction__title {
    font-size: 2.2rem;
    font-family: var(--common-font-family);
    text-align: center;
    color: var(--text-color);
    margin: 0 0 2rem 0;
}

.un-instruction__list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.un-instruction p {
    text-align: center;
    display: block;
    max-width: 60%;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
    padding: 1rem;
    line-height: 24px;
}

.un-instruction__item {
    font-weight: normal;
    background-color: #f5f6f8;
    padding: 8px;
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    border-radius: 6px;
    width: 100%;
    display: flex;
    border-bottom: 1px solid #d5d8dc;
}

.un-instruction__button{
    background-color: #007fff;;
    display: block;
    text-align: center;
    color: var(--white);
    padding: 15px;
    margin: 0 auto;
    width: 80%;
    border-radius: 6px;
    animation: blink 4s linear infinite;
    font-family: var(--common-font-family);
}

.un-instruction__button:hover{
    color: var(--white);
    background-color: var(--text-color);
}

@keyframes blink {

    0%,
    50% {
      box-shadow: 0 0 10px #000000;
    }

    25%,
    75% {
      box-shadow: none;
    }

    100% {
      box-shadow: 0 0 10px #000000;
    }

    from {
      opacity: .8;
    }
  
    50% {
      opacity: 1;
    }
  
    to {
      opacity: .8;
    }
   }

/*=============COMMENTS==============*/

.un-comment {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.un-comment__like-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
}

.un-comment__like-row i {
    font-size: 1.2rem;
    color: #7e7e7e;
}

.un-comment__like-row-block {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.un-comment__actual {
    text-align: right;
    margin-right: 1rem;
    margin-top: 1rem;
    color: #7e7e7e;
}
.un-comment__content {
    display: flex;
    flex-direction: column;
}

.un-comment__block {
    margin: 0.5rem 1rem;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.204);
    padding-bottom: 0.5rem;
}

.un-comment__block-avatar {
    margin-right: 1rem;
}

.un-comment__block-avatar img {
    border-radius: 50%;
    min-width: 50px;
}

.un-comment__block-info-comment span {
    background-color: #f5f6f8;
    display: block;
      padding: 1rem;
    border-radius: 10px;
}

.un-comment__block-info-comment-name {
    font-weight: 700;
    color: var(--title-color);
}

.un-comment__block-info-line {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.un-comment__block-answer {
    display: flex;
    margin-top: 1.5rem;
}

.un-comment__date {
    color: rgba(0, 0, 0, 0.44);
}
  
.un-comment__like-top {
    border-top: 1px solid #7e7e7e;
    border-bottom: 1px solid #7e7e7e;
    max-width: 96%;
    width: 100%;
    margin: 0 auto;
}
.un-comment__like {
    display: flex;
    justify-content: flex-start;
    color: var(--main-color);
    font-size: 1.3rem;
    margin: .5rem 0 .3rem;
}
  
.un-comment__like-item {
    list-style: none;
    margin-right: 1rem;
}

.un-comment__more {
    display: block;
    margin: 0 auto;
    color: var(--main-color);
    text-align: center;
}
  
.hidden {
    overflow: hidden;
    height: 0;
    position: relative;
    z-index: 0;
    opacity: 0;
    transition: 0.3s;
}

/*=========CHECKMQ=======*/


@media (max-width: 992px){
    #subheader-category {
        display: none;
    }
    .un-comment__like-item, .un-comment__date {
        margin-right: 0.6rem;
    }
}

/*=========ADDITIONAL=======*/

#un-additional {
    display: block;
}

@media all and (min-width: 1024px) {
    #un-additional {
        grid-column: 2;
        grid-row: 2/3;
        margin-bottom: 4rem;
        padding-top: 2.4rem;
    }
}

.un-additional__wrapper {
    background-color: #f5f6f8;
    border-top: 4px solid #2a303b;
    padding: 0 20px 20px 20px;
}

.un-additional__title {
    font-family: 'MarrSansCondensed';
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
    margin-top: 28px;
    color: #2a303b;
}

.un-additional__list {
    margin: 0;
    padding: 0;
    background-color: hsl(220, 18%, 97%);
    list-style: none;
}

.un-additional__item {
    display: flex;
    padding: 24px 0;
    text-decoration: none;
    color: #2a303b;
    font-family: 'The Antiqua B';
    cursor: pointer;
}

.un-additional__item:not(:last-child) {
    border-bottom: 1px solid #d5d8dc;
}

.un-additional__item-number {
    margin-top: -3px;
    font-weight: 600;
    line-height: normal;
    color: #2a303b;
    font-size: 32px;
}

.un-additional__item-info {
    color: #2a303b;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.02px;
    font-weight: 400;
    padding-left: 16px;
}

.un-additional__item:hover {
    text-decoration: underline;
}

.footer-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
}

#Header {
    pointer-events: none;
}

.Header__nav-container {
    pointer-events: none;
}

.un-header__actions {
    pointer-events: none;
}

#un-additional {
    pointer-events: none;
}
.footer__bottom {
    border-top: none; padding-top: 0; justify-content: flex-start;
    gap: 20px;
}
@media(max-width: 1023px) {
    .footer__bottom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #un-additional {
        display: none;
    }
}

@media(max-width: 480px) {
    .footer {
        padding: 2rem 1.6rem;
    }
}