.img-responsive {
    width: 100%;
}

.unstyled-link {
    text-decoration: none;
    color: inherit;
}

/** Цвета у блоков **/
.b-promo {
    display: block;
}

@media (min-width: 641px) {
    .b-promo__1.white .b-p-content,
    .b-promo__1.white .b-p-content h1{
        color: white;
    }
}

.b-promo__1.white .b-p-content .b-p-content__tag {
    color: white;
    border-color: white;
}

.b-promo__1.black .b-p-content {
    color: black;
}

.b-promo__1.black .b-p-content .b-p-content__tag {
    color: black;
    border-color: black;
}

.b-quote__content p {
    margin: 0px;
}

.b-cslider {
    height: 310px;
}

.b-content figcaption p {
    margin: 0px;
}

.b-p-content figure,
.b-content figure {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.b-content figure.fleft {
    float: left;
    width: -webkit-calc(50% + 49px);
    width: -moz-calc(50% + 49px);
    width: calc(50% + 49px);
    margin-left: -100px;
    margin-right: 51px;
    clear: none;
}

.b-content figure.fright {
    float: right;
    width: -webkit-calc(50% + 49px);
    width: -moz-calc(50% + 49px);
    width: calc(50% + 49px);
    margin-right: -100px;
    margin-left: 51px;
    clear: none;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .b-content figure.fleft {
        margin-left: -20px;
        margin-right: 21px;
    }

    .b-content figure.fright {
        margin-left: 21px;
        margin-right: -20px;
    }
}

@media (max-width: 640px) {
    .b-content figure.fleft, .b-content figure.fright {
        clear: both;
        float: none;
        margin: 20px auto;
        width: 100% !important;
    }
}

.b-p-content figure.fcenter,
.b-content figure.fcenter {
    clear: both;
    text-align: center;
}

.b-content figure.fleft .scale,
.b-content figure.fright .scale {
    display: block;
}

.b-content figure.fleft img,
.b-content figure.fright img {
    width: 100%;
}

.b-content figure .scale {
    font-size: 0;
}

.b-content figure .image-wrap {
    position: relative;
}

.b-content figure .image-copyright {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
    color: #fff;
    font-family: "PT Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
    margin: 0;
    box-sizing: border-box;
}
.b-content figure .image-copyright p {
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.b-p-content.b-p-content-right,
.b-p-content.b-p-content-right h1 {
    text-align: right;
}

.b-p-content.b-p-content-white {
    color: white;
}

.b-links__link p {
    margin: 0px;
}

.tags-title {
    color: #19465b;
    text-decoration: none;
}

.b-nav a.active {
    color: #3b3b3a
}

.b-nav a h1 {
    font-size: inherit;
    padding: inherit;
    color: inherit;
    margin: inherit;
    margin-right: auto;
}

.b-promo {
    background-size: cover;
}

.b-quote__ava {
    background-position: center center;
    background-size: cover;
}

.b-quote__user .b-quote__name p {
    margin: 0px;
}

a.b-quote {
    display: block;
    text-decoration: none;
}

.b-quote.fcenter {
    clear: both;
}

/**
 * Блок материала
 */
.material-block {
    width: 400px;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background: #edf2f5;
    margin-top: 10px;
    margin-bottom: 10px;
}

.material-block:hover {
    text-decoration: none;
}

.material-block.fleft {
    float: left;
    margin-left: -100px;
    margin-right: 51px;
    width: -webkit-calc(50% + 49px);
    width: -moz-calc(50% + 49px);
    width: calc(50% + 49px);
}

.material-block.fright {
    float: right;
    margin-right: -100px;
    margin-left: 51px;
    width: -webkit-calc(50% + 49px);
    width: -moz-calc(50% + 49px);
    width: calc(50% + 49px);
}

.tags-title {
    font-weight: bold;
}

.tags-title h1 {
    font-size: 1em;
    margin: 1.33em 0;
    display: inline-block;
    padding: 0;
    color: inherit;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .material-block.fleft {
        margin-left: -20px;
        margin-right: 21px;
    }

    .material-block.fright {
        margin-left: 21px;
        margin-right: -20px;
    }
}

@media (max-width: 640px) {
    .material-block.fleft, .material-block.fright {
        clear: both;
        float: none;
        margin: 0 auto;
        width: 100% !important;
    }

    .tags-title {
        height: 44px;
        text-align: center;
    }
}

.material-block img {
    width: 100%;
}

.material-block h4 {
    padding: 0px 20px;
    font-weight: 500;
    color: #91ACBD;
}

/** Блок html **/
.b-widget.html-block {
    background: inherit;
}

.b-fullnews__item-c {
    white-space: pre-wrap;
}

.b-news h3 {
    cursor: initial;
}

.b-links__title p {
    margin: 0px;
}

.b-search.opened {
    border-color: #809bac;
    width: 160px;
}

.b-search.opened .b-search__container .b-search-mob__input {
    opacity: 1;
    -ms-filter: none;
    filter: none;
    visibility: visible;
}

.b-search-full {
    margin-top: 10px;
    height: 40px;
    right: 0;
    line-height: 30px;
    overflow: hidden;
    width: 100%;
    -webkit-transition: width 0.2s ease 0.1s, border-color 0.1s;
    -moz-transition: width 0.2s ease 0.1s, border-color 0.1s;
    -o-transition: width 0.2s ease 0.1s, border-color 0.1s;
    -ms-transition: width 0.2s ease 0.1s, border-color 0.1s;
    transition: width 0.2s ease 0.1s, border-color 0.1s;
}

.b-search-full .b-search__container .b-search-mob__input {
    opacity: 1;
    -ms-filter: none;
    filter: none;
    visibility: visible;
}

.b-search-full .fa.fa-search {
    display: inline-block;
    font-size: 14px;
    color: #668294;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 10px;
}

.b-search-full__container {
    width: 1000px;
    text-align: left;
    border: 2px solid #d2d8dc;
    position: absolute;
    font-size: 0;
}

.b-search-full__container input {
    border: 0;
    height: 38px;
    width: 878px;
    border: none;
    color: #668294;
    outline: none;
    font-family: "PT Sans", sans-serif;
    font-size: 14px;
    padding-left: 33px;
}

.b-search-full__container .search-button {
    border: 0;
    color: #ffffff;
    outline: none;
    outline-style: none;
    margin: 0;
    background-color: #98b4c2;
    width: 90px;
    font-size: 14px;
    font-family: "PT Sans", sans-serif;
    position: absolute;
    right: -90px;
    top: -2px;
    bottom: -2px;
    height: 44px;
}

.b-search-full__container .search-button:hover {
    background-color: #678295;
}

.b-search-full__container .search-button:active {
    background-color: #34495e;
}

.b-search-full__container .remove-text {
    height: 40px;
    width: auto;
    padding: 0 10px;
    border: 0;
    outline: none;
    outline-style: none;
    font-size: 14px;
    float: right;
}

.b-search-full__wrapper-input {
    display: inline-block;
    position: relative;
}

.b-search-full__container .search-text {
    display: none;
}

@media(max-width: 1024px) {
    .b-search-full__container {
        width: 100%;
        box-sizing: border-box;
        position: static;
    }

    .b-search-full{
        height: auto;
    }

    .b-search-full__wrapper-input {
        width: 100%;
    }

    .b-search-full__container .search-button {
        display: none;
    }

    .b-search-full__container input {
        width: 100%;
        box-sizing: border-box;
    }

    .b-search-full__container .search-text {
        display: inline-block;
        position: absolute;
        left: 8px;
        top: 0;
        background-color: transparent;
        color: #5f7f94;
        padding: 0;
        font-size: 14px;
    }

    .b-search-full__container .remove-text {
        font-size: 14px;
        padding: 8px;
    }
}

footer h1 {
    font-size: inherit;
    font-weight: inherit;
    margin: inherit;
    padding: inherit;
    color: inherit;
    text-align: inherit;
}

.b-search-full__container .remove-text,
.b-search-full__container .remove-text:hover {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    color: #d3d8dc;
}

.b-search-full__container .results {
    position: relative;
    top: 1px;
    border: 1px solid #d3d8dc;
    background-color: #ffffff;
    z-index: 1000;
    font-size: 16px;
}

.b-search-full__container .result-item {
    display: block;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    width: 100%;
    line-height: 100%;
    padding: 10px;
    color: #668294;
    border-bottom: 1px solid #d3d8dc;
    -webkit-box-sizing: border-box;
    -moz-webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b-search-full__container .result-item:hover {
    background-color: #f5f9fc;
}

.b-search-full__container .all-results {
    display: block;
    cursor: pointer;
    text-align: center;
    line-height: 100%;
    text-decoration: none;
    width: 100%;
    background-color: #d3d8dc;
    color: #668294;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.b-search__container .remove-text {
    position: absolute;
    right: 0;
    color: #d3d8dc;
}

.b-search__container .search-text {
    position: absolute;
    right: 0;
    -webkit-transition: all 0.1s ease 0.2s;
    -moz-transition: all 0.1s ease 0.2s;
    -o-transition: all 0.1s ease 0.2s;
    -ms-transition: all 0.1s ease 0.2s;
    transition: all 0.1s ease 0.2s;
}

.b-search:hover .b-search__container .search-text,
.b-search.opened .b-search__container .search-text {
    right: 130px;
}

.b-search__container .results {
    position: relative;
    top: 1px;
    border: 1px solid #d3d8dc;
    background-color: #ffffff;
    z-index: 1000;
}

.b-search__container .result-item {
    display: block;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    width: 100%;
    line-height: 100%;
    padding: 10px;
    color: #668294;
    border-bottom: 1px solid #d3d8dc;
    -webkit-box-sizing: border-box;
    -moz-webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b-search__container .result-item:hover {
    background-color: #f5f9fc;
}

.b-search__container .all-results {
    display: block;
    cursor: pointer;
    text-align: center;
    line-height: 100%;
    text-decoration: none;
    width: 100%;
    background-color: #d3d8dc;
    color: #668294;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.b-search-mob .b-search-mob__input {
    color: #c9c9c9;
}

.b-search-mob .remove-text {
}

.tags-block .tags-list {
    display: table-cell;
    vertical-align: top;
    line-height: 38px;
    padding-left: 20px;
}

.b-content p.published-date {
    margin-top: -25px;
    font-weight: bold;
    font-style: italic;
    color: #777777;
    font-size: 16px;
    clear: both;
}

.b-widget .jp-controls-holder {
    width: 100%;
}

.b-widget .jp-video .jp-type-single .jp-controls {
    margin-left: -10px;
    left: 50%;
    position: relative;
    width: 40px;
}

.b-widget .jp-video .jp-volume-controls {
    top: 12px;
    left: 5%;
}

.b-widget .jp-video .jp-toggles {
    position: absolute;
    right: 16px;
    margin: 10px 0 0;
    width: 24px;
}

.b-widget .jp-video .jp-toggles button {
    margin: 0px;
 }
