@import "fonts.min.css";

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

html {
    font-size: 100%;
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #fff;
    color: #161616;
    overflow-x: hidden;
    position: relative;
    font-size: 15px;
}

/* H1 - H6 */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    display: block;
    font-family: inherit;
    font-weight: normal;
    line-height: 1.1;
    color: inherit;
    text-align: left;
    margin: 20px 0;
    padding: 0;
}

h1 small, .h1 small,
h2 small, .h2 small,
h3 small, .h3 small small,
h4 small, .h4 small,
h5 small, .h5 small,
h6 small, .h6 small {
    font-weight: normal;
    line-height: 1;
    font-size: 70%;
}

h1, .h1 {
    font-size: 36px;
    line-height: 1.1;
}

h2, .h2 {
    font-size: 26px;
    padding-bottom: 0.5em;
}

h3, .h3 {font-size: 22px;}

h4, .h4 {
    font-size: 18px;
    font-weight: normal;
}

h5, .h5 {
    font-size: 16px;
    font-weight: normal;
    color:#000;
}

h6, .h6 {
    font-size: 15px;
    font-weight: normal;
}

:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}

img {
    width: 100%;
    display: block;
}

/* Common classes */

.hidden-wrap {
    position:relative;
    overflow: hidden;
}

.hidden {
    display: none;
}

.container {
    display: block;
    max-width: 1340px;
    padding: 0 15px;
    height: auto;
    margin: 0 auto;
    position: relative;
}

.container.info p {
    font-size: 17px;
}

.row {
    width: 100%;
    padding-bottom: 20px;
}

.container.info .row {
    padding-bottom: 25px;
}

.tag {
    margin-right: 5px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 11px;
    line-height: 150%;
    color: #009cdb;
    cursor: pointer;
}

.tag:last-of-type {
    margin-right: 0;
}

.nx {
    font-family: nx;
    color: inherit;
    font-weight: normal;
}

.link__phone:before,
.link__mail:before,
.location__addr:before,
.order-form:before {
    font-family: nx;
    margin-right: 10px;
    font-weight: normal;
}

.link__mail:before {
    content: 'M';
    font-size: 16px;
}

.link__phone:before {
    content: 'P';
    font-size: 23px;
}

.order-form:before {
    content: 'B';
    font-size: 20px;
}

.location__addr:before {
    content: 'L';
    font-size: 20px;
}

.btn-load__wrapper {
    width: 100%;
    margin: 5px 0 0;
}

.btn {
    position: relative;
    cursor: pointer;
    display: flex;
    display: -ms-flex;
    display: -webkit-flex;
    flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    -webkit-flex: 1 1 100%;
    margin: auto;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #2a3f67;
    padding: 8px 25px;
    color: #fff;
    background: #2a3f67;
    text-transform: uppercase;
    line-height: 229%;
}

.btn:hover {
    border: 1px solid #009cdb;
    background: #009cdb;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.btn.btn-load__more:before {
    content: '+';
    font-family: nx;
    font-size: 20px;
    font-weight: normal;
    margin-right: 8px;
}

::placeholder {
    color: #161616;
}

select::-ms-expand {
    display: none;
}

.nx-modal {
    background: #000;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 900;
    opacity: 0.8;
}

.loader,
.loader:after {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.loader {
    margin-left: -5em;
    font-size: 10px;
    position: fixed;
    text-indent: -9999em;
    left: 50%;
    top: 50%;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
    z-index: 901;
    transform: translateY(-50%);
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.inpt {
    width: 100%;
    margin-bottom: 15px;
    padding: 14px;
    font-weight: 300;
    font-size: 16px;
    line-height: 135%;
    color: #161616;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    background: #f4f4f4;
    border: 1px solid #c4c4c4;
}

textarea {
    height: 125px;
    overflow: hidden;
    resize: none;
    font-family: inherit;
}

/* Link styles */

a {
    text-decoration: none;
    color: #2a3f67;
}

a:hover,
a:focus {
    color: #009cdb;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

/* Header */

#header {
    background: #fff;
    border-bottom: 1px solid #c4c4c4;
}

.header-wrapper {
    padding: 30px 15px 10px;
}

.header-wrapper .row {
    padding-bottom: 0;
}

.header-logo__noic {
    display: block;
    width: 241px;
    height: 73px;
    background: url(../img/theme/noic.svg) no-repeat;
    background-position: center center;
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    background-size: auto 100%;
    text-indent: -9999em;
}

.header-logo__main {
    display: block;
    width: 560px;
    height: 70px;
    background: url(../img/theme/main_logo.svg) no-repeat;
    background-position: center center;
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    background-size: auto 100%;
    text-indent: -9999em;
}

.header-contacts__wrapper {
    width: 300px;
}

.header-contacts__wrapper .link-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

.header-contacts__wrapper .link-info a:first-of-type {
    margin-right: 2px;
}

.header-contacts__wrapper .link-info a:last-of-type {
    margin-left: 2px;
}

.header-contacts__wrapper a,
.order-form {
    color: #2a3f67;
    font-size: 14px;
    font-weight: 500;
    line-height: 229%;
    margin-bottom: 5px;
}

.header-social__wrapper a {
   line-height: normal;
}

.header-social__wrapper a.telegram {
    font-size: 24px;
}

.order-form {
    cursor: pointer;
}

.order-form.hidden {
    display: none;
}

.order-form:hover,
.header-contacts__wrapper a:hover {
    color: #009cdb;
}

.header-search__wrapper {
    width: 100%;
    padding-top: 30px;
}

.header-search__wrapper #search-field {
    width: 89.67%;
    padding: 14px 24px 14px 16px;
    font-weight: 300;
    font-size: 16px;
    line-height: 135%;
    color: #161616;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    background: #f4f4f4;
    border: 1px solid #c4c4c4;
}

.header-search__wrapper #search-btn,
#result-search .clear-result {
    width: 10%;
    position: relative;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #2a3f67;
    background: #2a3f67;
    color: #fff;
    text-transform: uppercase;
    line-height: 135%;
}

.header-search__wrapper #search-btn:hover,
#result-search .clear-result:hover {
    border: 1px solid #009cdb;
    background: #009cdb;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.header-search__wrapper #search-btn:before {
    content: 'S';
    font-family: nx;
    text-transform: uppercase;
    margin-right: 5px;
    font-size: 20px;
}

.header-category__wrapper {
    padding-top: 10px;
}

.header-category__wrapper .rubric-label {
    margin-right: 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    line-height: 135%;
    color: #161616;
}

.popular-tags__list {
    width: 50%;
}

.popular-tags__list .popular-label {
    margin-right: 5px;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 135%;
    color: #c4c4c4;
}

.popular-tags__list .tag,
.photo-info__wrapper .tag {
    margin-right: 10px;
    font-size: 13px;
    line-height: 135%;
}

.popular-tags__list .tag .counter,
.photo-info__wrapper .tag .counter {
    color: #c4c4c4;
    margin-left: 5px;
}

.photo-tags .tag:hover,
.popular-tags__list .tag:hover {
    color: #2a3f67;
}

.rubric-select__wrapper {
    width: 30%;
}

.rubric-select__wrapper .select {
    width: 60%;
    padding: 12px 35px 12px 16px;
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNiAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuNzA3IDYuMjkzMDlMMS40MTQgOS4zMzk4M2UtMDVMLTMuMzY4ODRlLTA3IDEuNDE0MDlMNy43MDcgOS4xMjEwOUwxNS40MTQgMS40MTQwOUwxNCA5LjI4NDgxZS0wNUw3LjcwNyA2LjI5MzA5WiIgZmlsbD0iIzJBM0Y2NyIvPgo8L3N2Zz4=) #f4f4f4 no-repeat;
    background-position: right 13px center;
    border: 1px solid #c4c4c4;
    font-size: 16px;
    line-height: 135%;
    text-transform: uppercase;
    vertical-align: top;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    color: #161616;
}

/* Main wrapper */

.main h4 {
    margin: 25px 0 15px;
}

/* Photo & results search block */

#result-search {
    width: 100%;
    padding: 35px 0 40px;
    background: #f2f2f2;
}

#result-search .search-head__wrapper {
    width: 100%;
}

#result-search .clear-result {
    width: 105px;
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
    font-weight: normal;
    cursor: pointer;
}

#result-search h4 {
    width: calc(100% - 120px);
    margin-top: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 133%;
    text-transform: uppercase;
    color: #2a3f67;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    gap: 5px;
}

#result-search h4.no-found,
#result-search h4 .search-text {
    text-transform: none;
    text-shadow: none;
    color: #161616;
}

#photo-block .card {
    width: calc(100% / 3 - 5px);
    margin-bottom: 55px;
}

#photo-block .cards-photo:before {
    content: '';
    width: calc(100% / 3 - 5px);
    order: 9999;
}

#photo-block .cards-photo:after {
    content: '';
    width: calc(100% / 3 - 5px);
}

#result-search .card {
    width: calc(100% / 4 - 5px);
    margin-bottom: 15px;
}

#result-search .cards-photo:before {
    content: '';
    width: calc(100% / 4 - 5px);
    order: 9999;
}

#result-search .cards-photo:after {
    content: '';
    width: 24.5%;
}

#photo-block  .photo-prw {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

#result-search .photo-prw {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

#result-search  .photo-prw img,
#photo-block  .photo-prw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#result-search .photo-info,
#photo-block .photo-info {
    width: 100%;
    padding: 5px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

#result-search .tags,
#photo-block .tags {
    padding: 0 5px;
}

#result-search .photo-info {
    padding: 10px 5px 0;
}

#result-search .photo-title,
#photo-block .photo-title {
    width: 100%;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 22px;
    line-height: 118%;
}

#result-search .card:hover,
#photo-block .card:hover {
    cursor: pointer;
}

#result-search .card:hover .photo-title,
#photo-block .card:hover .photo-title {
    color: #2a3f67;
}

#result-search .photo-title {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 118%;
}

#result-search .author,
#result-search .date-published,
#photo-block .author,
#photo-block .date-published {
    margin-bottom: 5px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%;
    color: #828282;
}

#result-search .author:before,
#photo-block .author:before {
    content: 'U';
    margin-right: 5px;
    font-family: nx;
    font-size: 15px;
    font-weight: normal;
}

#result-search .tags,
#photo-block .tags {
    width: 100%;
}

/* Author block */

#photo-block h4,
#author-block h4 {
    width: 100%;
    position: relative;
    color: #2a3f67;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500;
    line-height: 133%;
    overflow: hidden;
}

#author-block h4 {
    margin-top: 0;
}

#photo-block h4:after,
#author-block h4:after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 8px;
    height: 2px;
    background: #2a3f67;
    margin-left: 10px;
}

#author-block img {
    width: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
}

#author-block .author-card {
    width: 32%;
    padding-top: 30px;
    margin-bottom: 40px;
    border-bottom: none;
    padding-bottom: 0;
}

#author-block .author-wrap:after {
    content: '';
    width: 32%;
}

#author-block .card-photo {
    /*width: 150px;
    height: 150px;*/
    width: 125px;
    height: 125px;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

#author-block .card-person {
    /*width: calc(100% - 170px);*/
    width: calc(100% - 150px);
    padding-top: 15px;
}

#author-block .person-name {
    color: #2a3f67;
    /*font-size: 24px;*/
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

#author-block .person-name:hover {
    color: #009cdb;
}

#author-block .person-name_surname {
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
}

#author-block .person-position {
    margin-top: 15px;
    color: #828282;
    /*font-size: 14px;*/
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
}

#author-block .card-quote {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    width: 100%;
    margin-bottom: 0;
}

/* Partners block */

#parners-block {
    background: #f2f2f2;
    padding-top: 60px;
}

#parners-block .partner {
    width: calc(100% / 6);
    margin-bottom: 40px;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    background-size: auto;
    background-position: center;
    text-indent: -9999em;
}

.partner__mobile .partner {
    background-position: center;
}

.partner__old {
    height: 62px;
    width: 140px;
    background: url(../img/theme/pravda_old.svg) no-repeat;
}

.partner__new {
    height: 53px;
    width: 192px;
    background: url(../img/theme/pravda_new.svg) no-repeat;
}

.partner__com {
    height: 56px;
    width: 166px;
    background: url(../img/theme/com_pravda.svg) no-repeat;
}

.partner__news {
    height: 40px;
    width: 180px;
    background: url(../img/theme/news_nn.png) no-repeat;
}

#parners-block .partner.partner__news {
    -webkit-background-size: contain;
    -moz-background-size: contain;
    background-size: contain;
}

.partner__case {
    height: 25px;
    width: 182px;
    background: url(../img/theme/new_case.svg) no-repeat;
}

.partner__earth {
    height: 50px;
    width: 196px;
    background: url(../img/theme/earth_nn.svg) no-repeat;
}

.partner__sport {
    height: 53px;
    width: 173px;
    background: url(../img/theme/sport_nn.svg) no-repeat;
}

.partner__course {
    height: 90px;
    width: 102px;
    background: url(../img/theme/cours_nn.svg) no-repeat;
}

.partner__nia {
    height: 58px;
    width: 132px;
    background: url(../img/theme/nia_nn.svg) no-repeat;
}

.partner__nta {
    height: 30px;
    width: 170px;
    background: url(../img/theme/nta_nn.svg) no-repeat;
}

/* Modals */

.order-form__wrapper,
.photo-info__wrapper {
    width: 1030px;
    display: block;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 10%;
    margin-left: -515px;
    border-right: 0;
    border-left: 0;
    background: #fff;
    overflow: auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.order-form__wrapper {
    width: 400px;
    padding: 35px 15px 15px;
    margin-left: -200px;
}

.order-form__wrapper h3 {
    margin-top: 0;
    font-weight: 500;
}

.order-form__wrapper .btn {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.hide-form {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 14px;
    color: #2a3f67;
    cursor: pointer;
}

.photo-info__wrapper .row {
    padding-bottom: 0;
}

.hide-form:hover {
    color: #009cdb;
}

.photo-info__wrapper .photo-info {
    width: 100%;
    padding: 85px 45px 0;
    margin-bottom: 60px;
}

.photo-info__wrapper .photo-img {
    width: 600px;
    height: 340px;
}

.photo-info__wrapper .photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.photo-info__wrapper .info {
    width: calc(100% - 620px);
}

.photo-info__wrapper .text-row {
    width: 100%;
    margin-bottom: 5px;
    color: #161616;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    line-height: 167%;
}

.photo-info__wrapper .text-row strong {
    margin-right: 5px;
    font-weight: bold;
}

.photo-info__wrapper .photo-tags {
    width: 100%;
    line-height: 167%;
}

.photo-info__wrapper .photo-tags .tag-label {
    margin-right: 5px;
    color: #161616;
    font-size: 16px;
    font-weight: bold;
}

.photo-info__wrapper .tag {
    line-height: 167%;
}

.photo-info__wrapper .add-to-cart {
    position: relative;
    display: block;
    max-width: 230px;
    margin: 0;
    margin-top: 10px;
    font-weight: normal;
}

.photo-info__wrapper .add-to-cart:before {
    content: 'p';
    text-transform: lowercase;
    font-family: nx;
    font-weight: normal;
    margin-right: 10px;
}

.photo-info__wrapper .add-to-cart.in-cart:before {
    content: 'C';
    text-transform: uppercase;
}

.photo-info__wrapper .photo-related {
    width: 100%;
    padding: 40px 45px 35px;
    background: #f2f2f2;
}

.owl-carousel .owl-item .selected {
    border: 1px solid #000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
}

.newOwlNav {
    margin: 0 auto;
    padding-top: 40px;
}

.newOwlPrev,
.newOwlNext {
    font-family: nx;
    font-weight: normal;
    font-size: 25px;
    color: #2a3f67;
    cursor: pointer;
}

.newOwlPrev {
    content: '<';
}

.newOwlNext {
    content: '>';
}

#cntPhoto {
    margin: 0 15px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%;
    color: #828282;
}

/* Footer */

#footer {
    padding-top: 35px;
    background: #161616;
    color: #fff;
}

#footer .footer-logo {
    width: 330px;
    height: 102px;
    background: url(../img/theme/noic.svg) no-repeat;
    text-indent: -9999em;
}

#footer .copy-data {
    width: 330px;
    font-size: 12px;
    line-height: 267%;
}

#footer .copy-data a,
#footer .copy-data a:hover {
    color: #009cdb;
}

#footer .footer-info__contacts,
#footer .informers {
    width: calc(100% - 405px);
}

#footer .footer-info__contacts a,
#footer .footer-info__contacts p {
    color: #fff;
    font-size: 14px;
    line-height: 229%;
}

#footer .footer-social__wrapper a.telegram {
    font-size: 24px;
    line-height: 1.5;
}

#footer .footer-info__contacts a:hover {
    color: #009cdb;
}

.up-btn {
    position: fixed;
    display: none;
    cursor: pointer;
    bottom: 3rem;
    right: 2%;
    z-index: 1000;
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.up-btn span {
    cursor: pointer;
    font-style: normal;
    font-size: 25px;
    color: #2a3f67;
}

.up-btn:hover span {
    color: #009cdb;
}

/* Flexbox Preset */

.nx-flex-row,
.nx-flex-col,
.nx-flex-col-st,
.nx-flex-row-btw,
.nx-flex-col-btw,
.nx-flex-row-btw-st,
.nx-flex-col-btw-st,
.nx-flex-row-btw-c,
.nx-flex-row-c-c,
.nx-flex-col-c-c,
.nx-flex-row-b-c,
.nx-flex-row-t-c,
.nx-flex-col-t-c,
.nx-flex-row-t-r,
.nx-flex-col-t-r,
.nx-flex-row-l-c,
.nx-flex-col-l-c,
.nx-flex-row-r-c,
.nx-flex-col-r-c {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.nx-flex-row-btw,
.nx-flex-col-btw,
.nx-flex-row-btw-st,
.nx-flex-col-btw-st,
.nx-flex-row-btw-c {
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.nx-flex-col-st,
.nx-flex-row-btw-st,
.nx-flex-col-btw-st {
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.nx-flex-row-t-r,
.nx-flex-row-r-c,
.nx-flex-col-r-c {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.nx-flex-row-c-c,
.nx-flex-col-c-c,
.nx-flex-row-b-c,
.nx-flex-col-l-c,
.nx-flex-row-t-c,
.nx-flex-col-r-c {
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.nx-flex-row-btw-c,
.nx-flex-row-c-c,
.nx-flex-col-c-c,
.nx-flex-col-t-c,
.nx-flex-row-l-c,
.nx-flex-row-r-c {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}
.nx-flex-col-t-r,
.nx-flex-row-b-c,
.nx-flex-col-r-c {
    -webkit-align-content: flex-end;
    -ms-flex-line-pack: end;
    align-content: flex-end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.nx-flex-col,
.nx-flex-col-st,
.nx-flex-col-btw,
.nx-flex-col-btw-st,
.nx-flex-col-t-c,
.nx-flex-col-t-r,
.nx-flex-col-c-c,
.nx-flex-col-l-c,
.nx-flex-col-r-c {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Media */

@media only screen and (max-width: 1368px) {
    #photo-block .photo-title {
        font-size: 20px
    }
}

@media only screen and (max-width: 1200px) {
    .rubric-select__wrapper {
        width: 40%;
    }

    #result-search {
        padding: 25px 0 30px;
    }

    #result-search .card {
        width: calc(100% / 3 - 5px);
        margin-bottom: 10px;
    }

    .btn-load__wrapper {
        margin: 0;
    }

    #author-block .author-card {
        padding-top: 0;
    }

    #author-block .person-name {
        font-size: 20px;
    }

    #author-block .person-position {
        margin-top: 10px;
    }

    #parners-block .partner {
        width: calc(100% / 5);
    }

    #photo-block .card {
        margin-bottom: 25px;
    }

    #parners-block {
        padding-top: 35px;
    }

    #footer .footer-logo {
        background-size: 85%;
    }

    #footer .copy-data {
        width: 340px;
    }

    #footer .footer-info__contacts,
    #footer .informers {
        width: calc(100% - 370px);
    }
}

@media only screen and (max-width: 1170px) {
    .header-contacts__wrapper {
        width: auto;
    }

    #author-block .card-photo {
        width: 125px;
        height: 125px;
    }

    #author-block .card-person {
        width: calc(100% - 140px);
    }

    #author-block .person-name {
        font-size: 17px;
    }

    #author-block .person-position {
        font-size: 12px;
        line-height: 160%;
    }

    #footer {
        padding-top: 20px;
    }

    .footer-info__contacts p {
        display: block;
    }

    .photo-info__wrapper {
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        width: auto;
        transform: none;
        overflow-y: auto;
    }

    .photo-info__wrapper .photo-info {
        padding: 45px 25px 0;
        margin-bottom: 25px;
    }

    .photo-info__wrapper .photo-img {
        width: 512px;
    }

    .photo-info__wrapper .info {
        width: calc(100% - 532px);
    }

    .photo-info__wrapper .photo-related {
        padding: 25px;
    }

    .newOwlNav {
        padding-top: 25px;
    }
}

@media only screen and (max-width: 1170px) {
    #author-block .author-card {
        width: calc(100% / 2);
    }
    #author-block .author-wrap:after {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    body.modal-opened {
        overflow-y: hidden;
    }

    .container {
        padding: 0 10px;
    }

    .container.info p {
        font-size: 15px;
    }

    .row {
        padding-bottom: 10px;
    }

    .header-wrapper {
        padding: 10px;
    }

    .header-logo__main {
        width: 467px;
    }

    #result-search .clear-result {
        padding: 10px;
    }

    .header-contacts__wrapper {
        width: 100%;
        padding-top: 10px;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .header-search__wrapper {
        padding-top: 10px;
    }

    .header-search__wrapper #search-field {
        width: 80%;
    }

    .header-search__wrapper #search-btn {
        width: 20%;
        margin-right: 0;
    }

    .popular-tags__list .popular-label {
        margin-right: 10px;
    }

    #photo-block .photo-title {
        font-size: 17px;
    }

    #parners-block .partner {
        width: calc(100% / 4);
    }

    .photo-info__wrapper .photo-tags .tag-label,
    .photo-info__wrapper .text-row,
    #cntPhoto {
        font-size: 15px;
    }
}

@media only screen and (max-width: 968px) {
    #author-block .author-card {
        margin-bottom: 30px;
    }

    #author-block .card-photo {
        width: 100px;
        height: 100px;
    }

    #author-block .card-person {
        width: calc(100% - 110px);
    }

    #author-block .person-name {
        font-size: 16px;
    }
}

@media only screen and (max-width: 898px) {
    .photo-info__wrapper .photo-img {
        width: 400px;
    }
    .photo-info__wrapper .info {
        width: calc(100% - 420px);
    }
}

@media only screen and (max-width: 868px) {
    .popular-tags__list {
        width: 100%;
        margin-bottom: 10px;
    }

    .rubric-select__wrapper {
        width: 100%;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .header-category__wrapper .rubric-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .rubric-select__wrapper .select {
        width: 100%;
    }

    #photo-block .photo-prw {
        height: 200px;
    }

    #parners-block .partner {
        width: calc(100% / 3);
    }

    #footer .footer-info__contacts {
        width: 100%;
    }

    #footer .copy-data,
    #footer .informers {
        width: 100%;
    }

    #footer .copy-data {
        margin-bottom: 10px;
    }
}

@media (max-height: 768px) and (max-width: 1368px) {
    .modal-form {
        top: 50%;
        transform: translateY(-50%);
    }

    .photo-info__wrapper .photo-info {
        padding: 15px 15px 0;
        margin-bottom: 15px;
    }

    .photo-info__wrapper .text-row {
        font-size: 15px;
        line-height: 125%;
    }

    .photo-info__wrapper .photo-related {
        padding: 15px;
    }

    .newOwlNav {
        padding-top: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .header-logo__noic {
        width: 180px;
        -webkit-background-size: auto 75%;
        -moz-background-size: auto 75%;
        background-size: auto 75%;
    }

    .header-logo__main {
        width: 350px;
        -webkit-background-size: auto 75%;
        -moz-background-size: auto 75%;
        background-size: auto 75%;
    }

    #result-search .card,
    #photo-block .card {
        width: calc(100% / 2 - 5px);
    }

    .photo-info__wrapper .photo-img {
        width: 320px;
        height: 280px;
    }

    .photo-info__wrapper .info {
        width: calc(100% - 335px);
    }

    .photo-info__wrapper .photo-info {
        padding: 45px 15px 0;
        margin-bottom: 15px;
    }

    .photo-info__wrapper .photo-tags .tag-label,
    .photo-info__wrapper .text-row,
    #cntPhoto {
        font-size: 14px;
    }

    .photo-info__wrapper .text-row {
        line-height: 135%;
    }

    .photo-info__wrapper .photo-related {
        padding: 15px;
    }

    .newOwlNav {
        padding-top: 15px;
    }

    .photo-info__wrapper .add-to-cart {
        font-size: 13px;
    }
}

@media only screen and (max-width: 640px) {
    h1, .h1 {
        font-size: 22px;
        line-height: 1.1;
    }

    h2, .h2 {font-size: 18px;}
    h3, .h3 {font-size: 16px;}

    .header-logo__noic,
    .header-logo__main {
        width: 100%;
    }

    .header-contacts__wrapper {
        padding-top: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-contacts__wrapper a,
    .order-form {
        width: 50%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-contacts__wrapper .link-info {
        width: 100%;
        order: 1;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header-contacts__wrapper .link-info a {
        width: auto;
    }

    #result-search h4 {
        font-size: 20px;
    }

    #photo-block .photo-title {
        font-size: 16px;
    }

    #author-block .author-card {
        width: 100%;
    }

    #parners-block .partner {
        width: calc(100% / 2);
    }

    .photo-info__wrapper .photo-img {
        width: 100%;
        height: auto;
    }

    .photo-info__wrapper .info {
        width: 100%;
    }

    .photo-info__wrapper .photo-img {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 500px) {
    .header-search__wrapper #search-field {
        width: 75%;
        font-size: 14px;
    }

    .header-search__wrapper #search-btn {
        width: 25%;
    }

    #result-search h4 {
        width: 100%;
        font-size: 17px;
    }

    #result-search .clear-result {
        width: 100%;
    }

    #result-search .card,
    #photo-block .card {
        width: 100%;
        margin-bottom: 15px;
    }

    #result-search .photo-prw,
    #photo-block .photo-prw {
        height: auto;
    }

    #result-search .photo-info,
    #photo-block .photo-info {
        padding: 5px 0;
    }

    #result-search .tags,
    #photo-block .tags {
        padding: 0;
    }

    .order-form__wrapper {
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        width: auto;
        overflow-y: auto;
    }
}

@media only screen and (max-width: 425px) {
    .header-search__wrapper #search-field {
        width: 70%;
        padding: 10px 15px 10px 10px;
        font-size: 14px;
    }

    .header-search__wrapper #search-btn {
        width: 30%;
    }

    .header-contacts__wrapper {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
    }

    .header-logo__main {
        -webkit-background-size: auto;
        -moz-background-size: auto;
        background-size: auto;
    }

    #parners-block {
        padding-top: 30px;
    }

    #author-block {
        padding-bottom: 20px;
    }

    #author-block .author-card {
        margin-bottom: 10px;
    }

    #parners-block .partner {
        width: 100%;
        margin-bottom: 30px;
    }

    .header-contacts__wrapper a,
    .order-form {
        width: auto;
    }

    #footer .footer-info__contacts a,
    #footer .footer-info__contacts p {
        font-size: 14px;
    }
}