/* links */

a { color: #4b526c; }
a:hover {
    text-decoration: underline;
    color: #4b526c;
}

#block-customtheme-content .data-container .body a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 102, 204, 0.4);
    transition: all 0.2s ease;
}

.language-switcher-language-url a, 
.news-title a,
.views-field-title a,
a.view-basename,
.fio-wrap a { 
/* color:#a9586b; */ 
color: #4b526c;
}
.fio-wrap:hover a { text-decoration:underline; }

img { vertical-align: middle; }

h1, .h1, h2, .h2, article h4, h3, .h3, h4, .h4, 
.research_report .research_head_fields .header-text, h5, .h5, h6, .h6 {
    color: #a9586b !important;
    font-weight: 400;
    line-height: 1.4;
    margin: 15px 0 8px;
}

.content h2:first-child { margin-top: 0 !important; }

header {
    background-color: #ede7e8;
    border: 0;
    border-radius: 0;
    margin: 0;
}


.site-header {
    padding-top: 30px;
}

#header-container { position: relative; }

#main-menu {
    background-color: #4b526c;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

#mainmenu-container { padding-left: 166px !important; }

#mainmenu-container,
#header-container { 
    display: block; 
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
    line-height: 34px;
}

#footer-content,
#footer-line { 
    display: block; 
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

#header-container {
    display: flex;
}


.color-1 {
    color: #ede7e8; /* gray */
}

.gray { background-color: #ede7e8; }

.color-2 {
    color: #4b526c; /* blue */
}

.color-3 {
    color: #a9586b; /* red */
}

@media (min-width: 768px) {
    .container,
    #mainmenu-container,
    #header-container,
    #footer-content,
    #footer-line { width: 750px; }
}

@media (min-width: 1024px) { 
    /* 992 - 1024 */
    .container,
    #mainmenu-container,
    #header-container,
    #footer-content,
    #footer-line { width: 970px; }
}

@media (min-width: 1200px) {
    .container,
    #mainmenu-container,
    #header-container,
    #footer-content,
    #footer-line { width: 1170px; }
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 2em;
    padding-bottom: 2em;
}

.container.top-container {
    padding-top: 0em !important;
    padding-bottom: 0em !important;
}
.container.top-container h1 { padding: 0 !important; margin: 0 !important; }

.breadcrumb { display: flex; flex-wrap:wrap; }

@media (max-width: 768px) {
    .breadcrumb { display: none; }
}


.breadcrumb-section + .container { padding-top: 1em !important; }
.breadcrumb-section .container {
    padding-top: 1em;
    padding-bottom: 1em !important;
}
.breadcrumb-item,
.breadcrumb-item a, 
.breadcrumb-item span {
    color: #949494;
    font-size: 12px;
}

footer {
    background-color: #4b526c; /* blue */
    min-height: 50px;
    position: relative;
    z-index: 2;
}
/*
#footer-content,
#footer-line {
    margin: 0 auto;
}
*/
#footer-line-wrap { 
    background: #000; 
    color: #fff;
    font-size: 12px;
    padding: 1em 0;
}

@media (min-width: 600px) {
    #footer-content,
    .footer-links-row { display: flex; }
}

#footer-content {
    justify-content: space-between;
}



@media (min-width: 600px) {
    .footer-links-row { padding-top: 2em; }
    .footer-links-col {
        line-height: 1.5em;
        padding-left: 4em;
    }
}
@media (max-width: 600px) {
    .footer-links-col { padding-bottom: 1em; }
}

.footer-links-col a { 
    color: #fff; 
    display: block;
    font-size: 14px;
}
@media (min-width: 600px) {
    .with-contextual-menu {
        display: flex;
        flex-direction: row;
        flex-flow: row-reverse;
    }
}
.contextual-menu {
    border-left: 4px solid #4b526c;
    padding-left: 30px;
    margin-left: 30px;
    min-width: 170px;
}
.contextual-menu li { margin-bottom: 24px; }
.contextual-menu a {
    color: #3d3935;
    border-bottom: 1px solid rgba(61,74,140,1);
    text-decoration: none;
    word-wrap: break-word;
    transition: all .2s ease-in;
}
.contextual-menu a:hover { border-bottom: 1px solid #fff; }

.layout-sidebar h2 {
    margin-left: 27px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .contextual-menu {
        border-left: 4px solid #4b526c;
        padding-left: 15px;
        margin-left: 0px;
        min-width: inherit;
    }
    .layout-sidebar h2 {
        margin-left: 0px;
    }
}


/* var-b */

header.var-b #main-menu {
    margin-top: -40px;
    background-color:inherit  !important;
    padding-bottom: 20px;

}

header.var-b #mainmenu-container { padding-left: 166px; }

header.var-b #main-menu a {
    color: #4b526c;
    text-transform: uppercase;
}

#footer-container {
    padding-bottom: 20px;
}

/* upd */

.left-el-container {
    width: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    position: absolute;
    left: -60px;
    z-index: 10;
    background: #fff;
    padding-right: 60px;
}
.left-el {
    display: block;
    width: 150px;
    height: 150px;
    background-color: #EDE7E8;
    border-radius: 50%;
    margin-left: -95px;
    margin-top: -103px;
}

.right-el-container {
    width: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    position: absolute;
    right: -60px;
    top: 0;
    z-index: 10;
    padding-left: 60px;
}
.right-el {
    display: block;
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    margin-left: -145px;
    margin-top: -104px;
}

/* components */

.paragraph--type--quote .contant-container-wrap {
    max-width: 760px;
    margin: 20px 0 40px 0;
}

.paragraph--type--quote blockquote {
    padding: 0 0 20px 84px;
    font-size: 24px;
    font-style: italic;
    font-weight: 300;
    line-height: 34px;
    background-image: url('../assets/quote-left.svg');
    background-repeat: no-repeat;
    background-position: left top;
    background-color: inherit !important;
    border-left: inherit !important;
    margin-bottom: 0 !important;
}

.paragraph--type--quote blockquote p {
    font-size: 24px;
    line-height: 33.6px;
}

@media only screen and (max-width: 1150px) {
    .paragraph--type--quote blockquote {
        font-size: 18px;
        line-height: 25.2px;
    }

    .paragraph--type--quote blockquote p {
        font-size: 18px;
        line-height: 25.2px;
    }
}

.paragraph--type--quote blockquote p:last-child {
    margin-bottom: 0;
}

.field_quote_author,
.field_author_desc {
    color: rgba(40, 72, 104, 1);
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
}
.field_quote_author .item { font-weight: bold; display: inline-block; }
.field_quote_author .item:after { content: ', '; display: inline-block; }


/* */


/* covered */

@media only screen and (max-width: 1200px) {
    .paragraph--type--material .text-view-teaser.text-view-covered {
        border-top: solid 1px #85AFD9;
        border-bottom: solid 1px #85AFD9;
    }
}

.paragraph--type--material .text-view-teaser.text-view-covered .teaser-top { padding-bottom: 10px; }

@media only screen and (min-width: 1200px) {
    .paragraph--type--material .text-view-teaser.text-view-covered { position: relative; }
    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-top {
        position: absolute;
        padding: 20px;
        z-index: 9;
    }
    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-top a { color: #fff; }

    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-middle {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-middle { padding: 20px; }
    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-middle h2 a,
    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-middle .teaser-view-body { color: #fff !important; }
    .paragraph--type--material .text-view-covered .field_category a,
    .paragraph--type--material .text-view-covered .field_story a {
        color: #fff;
    }

    .text-view-covered .teaser-cover a:after {
        content: '';
        display: block;
        background: linear-gradient(360deg, #284868 0%, rgba(40, 72, 104, 0) 89.44%, #284868 100%);
        mix-blend-mode: multiply;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-top {
        padding-bottom: 5px;
        padding-top: 10px;
    }
}


.paragraph--type--material .teaser-view-body { margin-bottom: 0; }

.paragraph--type--material .text-view-teaser .teaser-cover .mobile { display: none; }

.text-view-teaser .photo-day-teaser-style, .text-view-teaser .photo-1160-400-style {
    display: none;
}

.paragraph--type--material .text-view-teaser .teaser-middle {
    padding-bottom: 20px;
}

@media only screen and (max-width: 1200px) {
    .paragraph--type--material .text-view-teaser .teaser-middle {
        padding-bottom: 10px;
    }
    .paragraph--type--material .text-view-teaser .teaser-middle h2 {
        margin-bottom: 0;
        padding-top: 5px;
    }
}


/* mask image */

.paragraph--type--_-1-1 .opinion-view-teaser .teaser-view-author,
.field_related_content_1 .opinion-view-teaser .teaser-view-author {
    margin-top: 40px;
}

.pagetype-taxonomy.bundle-story .teaser-top .teaser-view-story { display: none !important; }
.pagetype-node.bundle-opinion .views-field-field-author article { margin-bottom: 20px; min-height: 100px; }
.pagetype-node.bundle-opinion .views-field-field-author article:last-child { margin-bottom: 0;  }
.pagetype-node.bundle-opinion .views-field-field-author article:after {
    clear: both;
    content: '';
    display: block;
}

.pagetype-node.bundle-opinion .views-field-field-author article .right-wrap {
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
    color: rgba(40, 72, 104, 1);
    padding-right: 40px;
    max-width: 230px;
    display: inline-block;
}

.pagetype-node.bundle-opinion .views-field-field-author article .right-wrap .author-name * {
    display: inline;
    font-weight: bold;
}
.pagetype-node.bundle-opinion .views-field-field-author article .field_email { margin-top: 10px; }
.pagetype-node.bundle-opinion .views-field-field-author article .field_email a { color: rgba(40, 72, 104, 1); text-decoration: none; }
.pagetype-node.bundle-opinion .views-field-field-author article .field_email a:hover { text-decoration: underline !important; }
@media only screen and (min-width: 1200px) {
    .text-view-covered .teaser-textarea-link {
        color: #fff !important;
    }
}

.paragraph--type--material,
.content-text {
    max-width: 760px;
}


.text-view-teaser.text-view-onlytitle {
    border-top: solid 1px #4b526c;
    border-bottom: solid 1px #4b526c;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.text-view-onlytitle h2,
.text-view-covered h2 {
    font-size: 3em;
    line-height: 1.1em;
    margin-bottom: 10px;
}

.text-view-onlytitle h2 a:hover,
.text-view-covered h2 a:hover {
    text-decoration: none;
    color:#a9586b !important;
}

@media only screen and (max-width: 1200px) {
    .text-view-teaser.text-view-onlytitle {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .text-view-onlytitle h2,
    .text-view-covered h2 {
        font-size: 2em;
    }

    .paragraph--type--material .text-view-teaser.text-view-covered .teaser-middle h2 a:hover {
        text-decoration: none;
        color:#a9586b !important;
    }
}

.text-view-onlytitle .field_category {
    margin-bottom: 10px;
}

@media only screen and (max-width: 1200px) {
    .text-view-onlytitle .field_category {
        margin-bottom: 5px;
    }
}


.field_category a {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 14px;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.field_category a:hover {
    text-decoration: underline;
}

.text-view-onlytitle .field_category a {
    color: #a9586b;
}
@media only screen and (max-width: 1200px) {
    .text-view-covered .field_category a { color: #a9586b; }
}

.text-view-onlytitle .field_category a:hover { text-decoration: underline !important; }

.text-view-teaser {
    margin-bottom: 20px;
}
/*
.container:not(.is-max-desktop) {
    max-width: 990px !important;
}
*/
/* inset */

.paragraph--type--inset {
    background-color: #ede7e8;
    padding: 20px;
    margin-bottom: 20px;
}

/* paragraph--type--image-insert */

.paragraph--type--image-insert {
    margin-bottom: 30px;
}
.image-desc-wrap,
figcaption { 
    margin-top: 5px;
    font-weight: 400;
    color: #333;
    font-size: 14px;
    line-height: 20px;
}
.image-desc-wrap a,
figcaption a { text-decoration: underline; }
.image-desc-wrap a:hover,
figcaption a:hover { text-decoration: none; }

 /* embed iframe */

/* https://www.w3schools.com/howto/howto_css_responsive_iframes.asp */

.iframe-embed { 
    margin: 15px 0 30px 0;
    max-width: 960px;
}

@media only screen and (max-width: 1150px) {
    .iframe-embed { margin: 15px 0 30px 0; }
}

.iframe-embed .iframe-embed-wrap {
    left: 0;
    width: 100%;
    height: 0;
    position: relative;
    padding-bottom: 82.1429%;
}

.iframe-embed.ratio16by9 .iframe-embed-wrap { padding-bottom: 56.25% !important; }
.iframe-embed.ratio4by3 .iframe-embed-wrap { padding-bottom: 75% !important; }
.iframe-embed.ratio3by2 .iframe-embed-wrap { padding-bottom: 66.66% !important; }
.iframe-embed.ratio8by5 .iframe-embed-wrap { padding-bottom: 62.5% !important; }
.iframe-embed.ratio1by1 .iframe-embed-wrap { padding-bottom: 100% !important; }

.iframe-embed-wrap iframe {
    border: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}


/* opinion-author */

.images-carousel:after {
    clear: both;
    display: block;
    content: '';
}

.owl-carousel {
    display: flex;
    flex-wrap: wrap;
}

.images-carousel .item {
    max-width: 233px; margin-right: 20px; margin-bottom: 20px;
    float: left;
}

/* wrap */

#wrap {
    min-height: 556px;
}


/* team */

.field_team { margin-bottom: 2em; }

.field_team h2,
.field_team_other h2 { padding-bottom: 5px; }

.field_team > .items,
.field_team_other > .items { clear: both; display: flex; flex-wrap: wrap; }

.field_team > .items:before,
.field_team_other > .items:before {
    display: table;
    content: " ";
}

.field_team > .items:after,
.field_team_other > .items:after {
    display: block;
    content: " ";
    clear: both;
}

.field_team > .items > .item,
.field_team_other > .items > .item {
    text-align: center;
    max-width: 240px;
    display: inline;
    float: left;
    margin-left: 0px;
    margin-right: 20px;
    width: 100%;
    margin-bottom: 2em;
}

.field_team .items .item .paragraph,
.field_team_other .item .paragraph { margin: 0 auto; }

.field_team .field_photo .item,
.field_team_other .field_photo .item, {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 150px;
}

#wrap #block-customtheme-content .field_team .field_photo img,
#wrap #block-customtheme-content .field_team_other .field_photo img {
    display: block;
    border-radius: 50%;
    width: 170px;
    margin: 0 auto;
}

.fio-wrap {
    margin-top: 3px;
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 20px;
}
.fio-wrap * { display: inline; }

.fio-wrap a:hover {
    text-decoration: none;
}

.fio-wrap:hover a {
    text-decoration: underline;
}

.field_post {
    padding: 0 20px;
}

/* mess-sec */

.mess-sec {
    padding-bottom: 1em;
}

/* block-customtheme-primary-local-tasks */

#block-customtheme-primary-local-tasks {
    margin-bottom: 1em;
}

#block-customtheme-primary-local-tasks .data-container {
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

#block-customtheme-primary-local-tasks .data-container ul {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    justify-content: flex-start;
}
#block-customtheme-primary-local-tasks .data-container ul li {
    display: block;
}
#block-customtheme-primary-local-tasks .data-container ul li a {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #4a4a4a;
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
    padding: 0.5em 1em;
    vertical-align: top;
}

#block-customtheme-primary-local-tasks .data-container ul li a.is-active {
    border-bottom-color: #485fc7;
    color: #a9586b !important;
}

@media screen and (min-width: 1360px) {
    .container { max-width: 1344px !important; }
}

#header-container {
    position: relative;
}

#header-items {
    position: absolute;
    right: 15px;
    top: 72px;
}

.language-switcher-language-url .data-container .links * {
    display: inline-block;
}
.language-switcher-language-url .data-container .links li { margin-left: 20px; }
.language-switcher-language-url .data-container .links li a { font-weight: bold; }

@media (max-width: 768px) {
    #main-menu {
        display: block;
        margin-top: 10px !important;
    }
    #header-items {
        top: 82px;
    }

    #mainmenu-container {
        padding-left: 20px !important;
        line-height: inherit;
    }
    #main-menu a { letter-spacing: inherit; text-transform: none !important; }
    #main-menu a:after {
        content: '|';
        padding-left: 5px;
        padding-right: 5px;
    }
}


.field_cover img,
.views-field-field-cover img {
    margin: 10px 0;
    padding: 2px;
    border: solid 1px #dedede;
    display: block;
}

.field_date {
    font-weight: bold;
    margin: 1em 0;
}

.bundle-news .field_date {
    font-weight: normal;
    font-style: italic;
    text-align: right;
    margin-top: -2em;
    margin-bottom: 0;
}

.views-field-field-date {
   /* font-weight: bold; */
}

.views-field-title {
    font-weight: bold;
    font-size: 20px;
}

.brdcrmbs .views-field-title {
    font-weight: inherit;
    font-size: inherit;
}

.views-field-view-node a {
    color: #a9586b !important;
    text-decoration: underline;
}

.content.content-text .body a { text-decoration: underline; }

.views-element-container .views-row {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: solid 1px #dedede;
}

.views-element-container .brdcrmbs .views-row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: solid 0px #dedede !important;
}

@media (max-width: 768px) {
    .views-element-container .views-row {
        margin-bottom: 1em;
        padding-bottom: 1em;
    }
}

.views-element-container .views-row:last-child {
    border-bottom: solid 0px #dedede;
}

@media (min-width: 768px) {

    .tile-view .views-row {
        display: flex;
        flex-direction: row-reverse;
    }

    .tile-view .views-row .views-field-field-cover {
        flex: none;
        width: 50%;
    }
    .tile-view .views-row > div {
        width: 50%;
    }
    .tile-view .views-row .views-field-field-cover img {
        margin: 0 !important;
    }

}

.news-date {
    margin-bottom: 10px;
    font-style: italic;
}

.news-title {
    font-weight: bold;
    font-size: 20px;
    padding-right: 20px;
}

.tile-view .views-field-title .field-content { padding-right: 20px; padding-left: 20px; display: block; }

.title-and-date.views-field-title-wrap {
    padding-left: 20px;
}

.cont-txt-left { float: left; }
.mapouter { float: right; }

@media (max-width: 768px) {
    .tile-view .views-field-title .field-content,
    .title-and-date.views-field-title-wrap {
        padding-left: 0px;
    }
    .cont-txt-left,
    .mapouter { float: inherit; }

    .mapouter {
        margin-top: 2em;
        padding-top: 2em;
        border-top: solid 1px #dedede;
        margin-bottom: 2em;
        padding-bottom: 2em;
    }

    .mapouter,
    .gmap_canvas,
    #gmap_canvas { width: 100%; }
}

/* db-el */

.db-btns:after {
    clear: both;
    display: block;
    content: '';
}

.db-el {
    display: inline-block;
    width: 49%;
    border: solid 1px #dedede;
    padding: 20px;
    float: left;
    height: 180px;
    margin: 0 1px 1px 0;
    position: relative;
}
.db-el.hdn {
    background-color: rgba(200,200,200,0.1);
}
.db-name { font-size: 24px; }
.db-el.hdn .db-name { font-style: italic; }

.db-mark-status {
    color: #257942;
    position: absolute;
    bottom: 20px;
    right: 20px;
    /* font-size: 14px; */
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

/* components */

#wrap #block-customtheme-content img { margin:1em 0; }
#wrap #block-customtheme-content p,
#wrap #block-customtheme-content ul,
#wrap #block-customtheme-content ol { max-width:750px; }
#wrap #block-customtheme-content .field_img_desc { margin:-0.5em  0 2em 0; font-size:14px; }

#wrap #block-customtheme-content ul,
#wrap #block-customtheme-content ol { margin-bottom:1em; }

/* imgs */

html.bundle-page .article-content,
html.bundle-news .article-content { max-width:750px; }

.paragraph--type--img-hor { max-width:750px; margin:0 auto; }

.field_img_hor {}
.field_media_desc { 
    margin:1em 0 2em 0; 
    font-size:14px;
    font-style:italic;
}

.field_img_desc { font-style:italic; }

.paragraph--type--square-img {
	max-width: 420px;    
}
@media (min-width: 400px) {
    .paragraph--type--img-vertical {
    	max-width: 365px; 
    }
}

.double-image { /*display:flex;*/ }
.double-image:after {
	clear: both;
	display: block;
	content: '';
}
.double-image div { max-width: 370px; }

@media (max-width: 1024px) {
    .double-image { display:flex; }
}

.paragraph--type--youtube { 
    max-width:750px; 
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em; 
}
.paragraph--type--youtube figure { margin-left:0; margin-right:0; }

@media (min-width: 768px) {
	.paragraph--type--square-img { margin-left: 165px; }
	.paragraph--type--img-vertical { margin-left:193px; }
	.double-image div { float:left; }
	.double-image .field_img_left { margin-right:10px; }
}

/* field_components */

.paragraph--type--title-text-youtube-pdf {
	padding-top: 1em;
	padding-bottom: 1em;
    margin-bottom: 1em;
	border-bottom: solid 1px #dedede;
}

.paragraph--type--title-text-youtube-pdf .field_element_youtube {}
.paragraph--type--title-text-youtube-pdf .field_element_youtube figure {
	margin-left: 0;
	margin-right: 0;
}
.paragraph--type--title-text-youtube-pdf .wrap-content {}

@media (min-width: 768px) {
	.paragraph--type--title-text-youtube-pdf { display:flex; }
	.paragraph--type--title-text-youtube-pdf .field_element_youtube { width:60%; padding-right:2em; flex:none; }
}

.file + span { display:none; }

.field_element_text .item { 
	display:none;
    border-right: solid 1px #a9586b;
    border-left: solid 1px #a9586b;
    padding-left: 1em;
    padding-right: 1em;
    margin-top: 0;
    margin-bottom: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: solid 1px #a9586b
}
.field_element_text .item p:first-child { margin-top:0; }
.field_element_text .item p:last-child { margin-bottom:0; }

.field_element_text .label {
	background-color: #a9586b;
    border-color: transparent;
    color: #fff;
    border-width: 1px;
    cursor: pointer;
    justify-content: center;
    padding-bottom: calc(0.5em - 1px);
    padding-left: 1em;
    padding-right: 1em;
    padding-top: calc(0.5em - 1px);
    text-align: center;
    white-space: nowrap;
    margin-bottom: 0;
}

/* contextual menu */

body.contextualmenu main { position:relative; }
#nav-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(169, 88, 107,0.9);
    line-height: 34px;
    width: 24px;
    padding: 0px 0 0 0;
    z-index: 1;
    cursor: pointer;
    border-right: solid 1px #4b526c;
}
#nav-button .nav-button-label {
    position: fixed;
    left: 0;
    top:50%;
}
#nav-button .icon-menu { position:absolute; }
#nav-button .icon-menu {
    color: #fff;
    margin-top: 7px;
    display: inline-block;
}
#nav-button .nav-button-label {
    color: #fff;
    display: inline-block;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    margin-left: -39px;
    font-size: 18px;
}
#nav-button:hover {
    background-color: rgba(255, 255, 255,0.7);
}
#nav-button:hover .icon-menu, #nav-button:hover .nav-button-label {
    color: rgb(169, 88, 107);
}

.contextual-menu-wrap { display:none; }

#nav-button.opened .nav-button-label:before {
    content: 'Скрыть';
    display: inline-block;
    position: absolute;
    text-transform: capitalize;
    margin-left: -69px;
}
#nav-button.opened .nav-button-label {
    text-transform: lowercase;
}

#nav-button + .contextual-menu-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #fff;
    /*
    padding: 0 20px;
    width: 265px;
    margin-left: 20px;
    min-width: inherit;
    border-left: none;
    border-right: solid 4px #4b526c;
    */
}

#nav-button + .contextual-menu-wrap .contextual-menu-content {
    top: 0;
    bottom: 0;
    background-color: #fff;
    padding: 0 20px;
    margin-left: 20px;
    min-width: inherit;
    border-left: none;
    border-right: solid 1px #4b526c;
    overflow-y: scroll;
}

.contextual-menu-content {
    max-width: 250px;
    font-size: 16px;
}

#wrap.sticky .contextual-menu-content  {
    position: fixed;
    top: 0;
}

#wrap.sticky .icon-menu { top:0; position:fixed; }
#wrap.sticky .nav-button-label { top:90px; }

.contextual-menu-items {
    margin-top: 1em ;
}

.contextual-menu-items a {
    color: #4b526c;
}

.contextual-menu-items ul {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom:solid 1px #dedede;
}

.contextual-menu-items ul:last-child {
    border-bottom:solid 0px #dedede;
}

.contextual-menu-items .active a {
    color: #a9586b;
}

.contextual-menu-content h2 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (min-width: 1320px) {
    body.contextualmenu-opened #block-customtheme-content,
    body.contextualmenu-opened .top-container #block-customtheme-page-title,
    body.contextualmenu-opened #block-nastadiirazrabotki,
    body.contextualmenu-opened .breadcrumb { margin-left:200px; }
    body.contextualmenu-opened .paragraph--type--material, 
    body.contextualmenu-opened .content-text { max-width:960px }
}
@media (max-width: 800px) {
   body.contextualmenu .container { margin-left:27px; }
}

/* images paragraph */

.paragraph--type--imgs-tile,
.paragraph--type--five-imgs {
    margin-top: 1em;
    margin-bottom: 1em;
}

.bundle-projectpage .paragraph--type--imgs-tile,
.bundle-projectpage .paragraph--type--five-imgs {
    margin-top: 0;
    margin-bottom: 0;
}

.paragraph--type--imgs-tile:after,
.paragraph--type--five-imgs:after {
    clear: both;
    content: '';
    display: block;
}

.paragraph--type--imgs-tile .items {}
.paragraph--type--imgs-tile .items .item { float:left; }

.paragraph--type--five-imgs .items {}
.paragraph--type--five-imgs .items .item:first-child { width:50%; }
.paragraph--type--five-imgs .items .item { width:25%; float:left; }

.paragraph--type--imgs-tile img,
.paragraph--type--five-imgs img { margin:0; }

.tocify-extend-page { display:none !important; }


/* news-alternative */

@media (min-width: 800px) {
    .news-alternative.tile-view .views-row .views-field-field-cover { 
        width: 580px;
        height: 320px;
        padding: 20px;
        background-color: #EDE7E8;
        background-image: url('bg-cover-image.png');
        background-repeat: repeat;
    }
    .news-alternative.tile-view .views-row .views-field-field-cover img {
        width: 500px !important;
        height: 280px;
        object-fit: contain;
        display: block;
        margin: 0 auto !important;
        border: none !important;
    }
}

/* paragraph--type--five-imgs */

@media (min-width: 1024px) {
    .paragraph--type--five-imgs,
    .paragraph--type--imgs-tile {
        margin-right: -254px;
    }
}

#wrap #block-customtheme-content .paragraph--type--five-imgs img,
#wrap #block-customtheme-content .paragraph--type--imgs-tile img {
    margin: 0;
}

#wrap #block-customtheme-content .paragraph--type--five-imgs .item span {}
#wrap #block-customtheme-content .paragraph--type--five-imgs .item span a {
    display: block;
    margin: 0.5px;
}

#wrap #block-customtheme-content .paragraph--type--imgs-tile img,
#wrap #block-customtheme-content .paragraph--type--five-imgs img {
    margin: 0.5px;
}
@media (min-width: 500px) {
    .paragraph--type--imgs-tile .field_img_square .items .item img,
    .paragraph--type--five-imgs .items .item img {
        width: 250px;
    }
}
.paragraph--type--five-imgs .items .item:first-child img,
.paragraph--type--imgs-tile .items .item:first-child img,
.paragraph--type--imgs-tile .field_img_last .item img { 
    width:501px;
}


/* field_data_tools and field_data_projects */

.field_data_tools,
.field_data_projects { margin-top:2em; padding-top:2em; border-top: solid 1px #dedede; }

@media (min-width: 700px) {
    .field_data_tools .items,
    .field_data_projects .items { display:flex; flex-wrap: wrap; }
    .field_data_tools .items > .item,
    .field_data_projects .items > .item {
        flex: none;
        width: 33%;
    }
    .field_data_tools article,
    .field_data_projects article { padding-right:50px; }

    .field_data_tools article h3,
    .field_data_projects article h3 { font-size:18px; line-height:22px; display:block; }

    .field_data_tools article h3 a,
    .field_data_projects article h3 a {
        color:#a9586b !important;
    }   
    .field_data_tools .body,
    .field_data_projects .body { font-size:14px; margin-bottom:2em; }
}

/* main-menu */

#main-menu a { 
    letter-spacing: 0.08em;
    padding-top: 5px;
    padding-bottom: 5px;
}
#main-menu a:hover { text-decoration: underline; }
#main-menu li:after {
    content: '|';
    padding-left: 15px;
    padding-right: 15px;
    display: inline-block;
}
#main-menu ul { list-style: none; padding: 0; margin: 0; }
#main-menu li { display: inline-block; }
#main-menu li:last-child:after {
    content: '';
    padding-right: 0px;
    padding-left: 0px;
}

#main-menu a.is-active,
#main-menu li.menu-item--active-trail a {
    background: #a9586b !important;
    color: #fff;
    padding: 5px 7px;
    border-radius: 6px;
}

header.var-b #main-menu a.is-active,
header.var-b #main-menu li.menu-item--active-trail a {
    color: #fff;
}


/* timeline */

.field_timeline_group { position:relative; }
.field_timeline_group:after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #eee;
    top: 0;
    bottom: 0;
    /* left: 150px; */
    left: 361px;
    margin-left: -3px;
    z-index: -1;
}

.paragraph--type--litetimeline { position:relative; }
.field_element_litetimeline:after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #eee;
    top: 0;
    bottom: 0;
    /* left: 150px; */
    left: 250px;
    margin-left: -3px;
    z-index: -1;
}

.field_timeline_group section.branch-header {
    border:solid 6px #eee;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    z-index: 2;
    cursor: pointer;
    min-height: 150px;
}

.field_timeline_group section.branch-header:hover {
    background-color: #eee;
}

@media (min-width: 1024px) {
    .field_timeline_group section.branch-header {
        display: flex;
    }
    .field_timeline_group section.branch-header h2 {
        flex: none;
        /*width: 50%;*/
        width: 380px;
        /* padding-right: 20px; */
        padding-right: 52px;
        text-align: right;
    }
}

@media (max-width: 1024px) {
    .field_timeline_group section.branch-header {
        display: block;
        padding-bottom: 60px;
    }
    .field_timeline_group:after,
    .field_element_litetimeline:after {
        left: 27px;
    }
}

section.branch-header.collapsed { margin-bottom:40px; }
section.branch-header.collapsed + .field_timeline_elements { display:none; }
section.branch-header { position:relative; }
section.branch-header.icon-down:before,
section.branch-header.icon-up:before {
    position: absolute;
    bottom: 20px;
    font-size: 24px;
    color: #ccc;
}
@media (min-width: 1024px) {
    section.branch-header.icon-down:before,
    section.branch-header.icon-up:before {
        left: 338px;
    }
}

@media (max-width: 1024px) {
    section.branch-header.icon-down:before,
    section.branch-header.icon-up:before {
        left: calc(50% - 12px);
    }
}

section.branch-header:hover ::before,
section.branch-header:hover ::before {
    color: #a9586b;
}

.field_timeline_group_description { font-size:14px; }

@media (min-width: 1024px) {
    .field_timeline_group_description { padding-right: 123px; }
}

@media (min-width: 1024px) {
    .field_timeline_elements .paragraph,
    .field_element_litetimeline .paragraph {
        display: flex;
    }
}

.field_timeline_elements .paragraph { margin-top:10px; }

@media (min-width: 1024px) {
    .field_timeline_elements .paragraph,
    .field_element_litetimeline .paragraph {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .field_timeline_interval {
        text-align: right;
    }
}

.field_timeline_interval,
.field_litetimeline_interval {
    font-size: 14px;
    padding-top: 18px;
}

.field_timeline_interval span {
    display: inline-block;
}

@media (max-width: 1024px) {
 .field_timeline_interval,
 .field_litetimeline_interval {
    margin-left: 17px;
 }
}

@media (min-width: 1024px) {
    .field_timeline_interval span,
    .field_litetimeline_interval span {
        max-width: 152px;
    }
}

@media (min-width: 1024px) {
    .field_timeline_interval:after,
    .field_litetimeline_interval:after {
        content: '';
        background-color: #ccc;
        border: solid 3px #fff;
        width: 20px;
        height: 20px;
        display: inline-block;
        border-radius: 50%;
        position: relative;
        z-index: 2;
        vertical-align: middle;
    }
}

@media (max-width: 1024px) {
    .field_timeline_interval:before,
    .field_litetimeline_interval:before {
        content: '';
        background-color: #ccc;
        border: solid 3px #fff;
        width: 20px;
        height: 20px;
        display: inline-block;
        border-radius: 50%;
        position: relative;
        z-index: 2;
        vertical-align: middle;
    }
}

.field_timeline_interval .item,
.field_litetimeline_interval .item {
    display: inline-block;
    /* vertical-align: middle; */
    vertical-align: top;
    text-align: right;
    width: 347px;
    font-weight: bold;
    color: #a9586b !important;
}

.field_litetimeline_interval .item {
    width: 236px;
}

@media (max-width: 1024px) {
    .field_timeline_interval .item,
    .field_litetimeline_interval .item {
        width: inherit;
    }
}

@media (min-width: 1024px) {
   .timeline_element-body { width: 500px; margin-left: 15px; } 
}

@media (min-width: 1220px) {
   .timeline_element-body { width: 624px; margin-left: 15px; } 
}


.timeline_element-body,
.field_litetimeline_desc {
    border: solid 1px #ccc;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
    position: relative;
    background: #fff;
}

.field_litetimeline_desc {
    margin-left: 10px;
}

@media (min-width: 960px) {
    .field_litetimeline_desc {
        width:300px;
    }
}

@media (max-width: 1024px) {
    .timeline_element-body,
    .field_litetimeline_desc { margin-top:10px; }
}

.timeline_element-body,
.field_litetimeline_desc {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
@media (min-width: 1024px) {
    .timeline_element-body::before,
    .field_litetimeline_desc::before {
        content: " ";
        display: block;
        width: 14px;
        height: 14px;
        transform: rotate(45deg);
        border-left: solid 1px #ccc;
        border-bottom: solid 1px #ccc;
        background: #fff;
        z-index: 3;
        position: absolute;
        top: 21px;
        left: -7px;
    }
}

.field_timeline_interval_parametr { display:inline-block; margin-top:10px; }
.field_timeline_interval_parametr .items {
    display:inline-block;
}
.field_timeline_interval_parametr .parametr {
    display: inline-block;
    padding: 3px 7px;
    margin-right: 10px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: solid 1px #eee;
    padding: 7px 7px 7px 7px;
    border-radius: 5px;
    cursor: pointer;
}

.field_timeline_interval_parametr > .items > .item { display:inline-block; } 

.parametr .field_color { vertical-align: middle; }

.parametr .field_color,
.parametr .name { 
    display:inline-block;
}

.parametr .name { line-height:25px; }

@media (max-width: 1024px) {
    section.branch-header.collapsed:after {
        content: '...';
        text-align: center;
        display: block;
        width: 78px;
        height: 26px;
        line-height: 27px;
        background-color: #fff;
        border: solid 1px #ccc;
        position: absolute;
        bottom: -40px;
        left: 0;
        border-radius: 4px;
    }
}
@media (min-width: 1024px) {
    section.branch-header.collapsed:after {
        content: '...';
        text-align: center;
        display: block;
        width: 78px;
        height: 26px;
        line-height: 27px;
        background-color: #fff;
        border: solid 1px #ccc;
        position: absolute;
        bottom: -40px;
        left: 317px;
        border-radius: 4px;
    }
}

.field_timeline_elements > .items > .item:last-child {
    margin-bottom: 2em;
}

/* data-projects */

.data-projects .data-group {
    margin-top: 2em;
    padding-top: 2em;
    border-top: solid 1px #dedede;
}

.data-projects .data-group h2 {}

.data-projects .data-items {
    margin-right: -15px;
}

.data-projects .data-items:after {
    clear: both;
    content: '';
    display: block;
}

.data-projects .data-item {
    float: left;
    background-color: rgba(237, 231, 232,0.5);
    padding: 20px;
    max-width: 365px;
    min-height: 300px;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.data-projects .data-item:hover {
    background-color: rgba(237, 231, 232,0.3);
}

.data-projects .data-item h3 {
    margin-top: 0;
    color: #4b526c;
}

.data-projects .data-item p { font-size:14px; }

.data-projects a.read-more-link {
    color: #4b526c;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 3;

}

.data-projects a.read-more-link:hover {
    text-decoration: none;
    color: #a9586b;
}

body.element-type-data .body p {
    margin: 0 auto;
    text-align: center;
}

.data-projects .data-item { position:relative; }
.data-projects .data-item .linked-block {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

/* block-customtheme-views-block-timeline-parametr-block-1 */

.timeline-parametr { margin-top:2em; }

.timeline-parametr .views-row {
    float: left; 
    margin-right: 10px;
    margin-bottom: 10px;
    border: solid 1px #eee;
    padding: 0;
    border-radius: 5px;
}

.timeline-parametr .views-row:last-child {
    border: solid 1px #eee;
}

.timeline-parametr:after {
    clear: both;
    display: block;
    content: '';
}

.timeline-parametr .views-row .views-field-tid { margin-left:10px; font-size:14px }

.bundle-timeline .content-text { max-width:100% !important; }

.button-el { 
    line-height:20px;
    padding: 7px 7px 7px 7px;
    cursor: pointer;
}

.button-el:hover {
    background-color: rgba(238,238,238,1);
}

.color-square {
    width: 20px;
    height: 20px;
    display: inline-block;
    line-height:20px;
    vertical-align: middle;
}

.parametr-name { font-size:14px; line-height:20px; }

/* timeline filter */

.active-filter { 
    opacity:1;
    border: solid 1px #a9586b !important;
    margin: -1px;
    border-radius: 5px;
}

.other-filter { opacity:0.4; }

.active-filter.other-filter {}

.field_timeline_elements .paragraph.hidden {
    display: none;
}

/* aside menu */

aside.menu {
    background-color: rgba(237,231,232,0.5);
    margin-right: 50px;
    min-width: 300px;
}

@media (min-width: 1024px) {
    aside.menu {
        float: left;
    }
}

@media (max-width: 1024px) {
    aside.menu {
        margin-bottom: 1em;
        margin-right: 0;
    }
}

@media (max-width: 520px) {
    aside.menu {
        min-width: inherit;
        width: 100%;
    }
}

aside.menu ul.menu-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.menu-list li a {
    padding-left: 20px;
    padding-right: 20px;
}

.menu-list li.is-active a {
    background-color: #a9586b;
    color: #fff;
}

/* projectpages */

html.bundle-projectpage .content-text {
    max-width: inherit;
}
@media (min-width: 1024px) {
    html.bundle-projectpage .container > .content > div,
    html.bundle-phrasebook .container.main-container > .content > div {
        display: flex;
    }    
}

@media (min-width: 1024px) and (max-width: 1359px){
    html.bundle-projectpage .container > .content > div #block-customtheme-content,
    html.bundle-phrasebook .container.main-container > .content > div #block-customtheme-content {
        flex: none;
        align-items: stretch;
        display: block;
        flex-basis: 0;
        flex-grow: 1;
        flex-shrink: 1;
        min-height: -moz-min-content;
        min-height: min-content;
    }
}

@media (min-width: 1360px) {
    html.bundle-projectpage .container > .content > div #block-customtheme-content,
    html.bundle-phrasebook .container.main-container > .content > div #block-customtheme-content {
        width: 790px;
        flex: none;
    }
}

html.bundle-projectpage .mess-sec {
    margin-top: 1em;
}

html.bundle-projectpage .paragraph--type--five-imgs, 
html.bundle-projectpage .paragraph--type--imgs-tile {
    margin-right: inherit;
}

/* paragraph--type--text */

.paragraph--type--text {
    margin-bottom: 2em;
}

.article-content .body {
    margin-bottom: 2em;
}

/* main-meu mobile */

@media (max-width: 1024px) {

    .logo {
        padding: 19px 30px 19px 0;
    }

    #about-menu {
        display: none;
        margin-top: 0px;
        bottom: -51px;
        z-index: 3;
        top: inherit !important;
    }

    #main-menu {
        display: none;
    }

    header.var-b #main-menu {
        margin-top: 0;
    }
    #main-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        padding-top: 50px;
    }
    #main-menu li {
        display: block;
        text-align: right;
    }
    #main-menu a:after {
        content:inherit;
    }

    .navigation-opened #about-menu,
    .navigation-opened #main-menu {
        display: block;
    }

    .site-header {
        padding-top: 22px;
    }

    .site-name {
        margin-bottom:10px;
    }

    #header-items {
        top: 116px;
        left: 165px;
        bottom: -6px;
        z-index: 3;

    }
    .language-switcher-language-url .data-container .links li {
        margin-left:0;
        margin-right:5px;
        padding-right:5px;
    }

    .language-switcher-language-url .data-container .links li a {
        text-transform: uppercase;
    }

    .language-switcher-language-url .data-container .links li a.is-active {
        color: #a9586b;
    }

    .menu-switcher-wrap {
        background-color: rgba(75,82,108,0.1);
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 3;
    }
}

@media (max-width: 768px) {
    #header-items {
        top: 76px;
        left: 126px;
        bottom: -6px;
        z-index: 3;
    }
}

@media (max-width: 520px) {
    #header-items {
        top: 11px;
        left: inherit;
        bottom: -6px;
        z-index: 3;
        right: 5px;
    }

    .logo {
        padding: 19px 10px 19px 0;
    }

    .site-header {
        padding-top: 22px;
        padding-right: 60px;
    }

    header {
        padding-bottom: 0px;
    }

    .menu-switcher-wrap {
        background-color: inherit;
    }

    .language-switcher-language-url .data-container .links li a {
        font-size: 11px;
    }
    
}

@media (max-width: 370px) {
    header {
        padding-bottom: 20px;
    }
}

/* */

.paragraph--type--framed {
    /*
    background-color: rgba(237,231,232,0.5);
    padding: 20px;*/
    margin-bottom: 2em;
}

.paragraph--type--framed .field_label {
    font-weight: bold;
    vertical-align: top;
}

@media (min-width: 768px) {
    .paragraph--type--framed .field_label {
        display: inline-block;
        width: 220px;
        /*padding-bottom: 20px;*/
    }
    .paragraph--type--framed .field_desc {
        display: inline-block;
        max-width: 300px;
        padding-left: 20px;
        margin-left: 20px;
        /* border-left:solid 1px rgb(74,74,74); */
    }
}

@media (max-width: 768px) {
    .field_labled_text > .items > .item {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: solid 1px rgba(75,82,108,0.4);
    }
    .field_labled_text > .items > .item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: solid 0 rgba(75,82,108,0.4);
    }
}

.field_labled_text > .items > .item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}
.field_labled_text > .items > .item:last-child {
    margin-bottom: 0;
}

.field_labled_text .items .item:last-child .field_label {
    padding-bottom: 0;
}

.paragraph--type--framed .field_desc {
    display: inline-block;
    max-width: 300px;
}

.link-block {
    display: block;
}

/* bundle-projectpage */

html.bundle-projectpage #wrap #block-customtheme-content p {
    max-width: 800px;
}

.data-projects.project-local-menu .data-item {
    min-width: 382px;
}

@media (max-width: 1350px) {
    .data-projects.project-local-menu .data-item {
        min-width: 373px;
    }
}

@media (max-width: 1215px) and (min-width: 1024px) {
    .data-projects.project-local-menu .data-item {
        min-width: 276px;
    }
}

@media (max-width: 1023px) and (min-width: 762px) {
    .data-projects.project-local-menu .data-item {
        min-width: 347px;
    }
}

@media (max-width: 761px) {
    .data-projects.project-local-menu .data-item {
        min-width: 96%;
    }
}

.without-bg { background-color:inherit; }


/* map popup */

.data-label {}
.data-cont { font-weight:bold; display:inline-block; }
.data-item { font-size:14px; }
.leaflet-popup-content { min-width:150px; }
.leaflet-popup-content .data-item {
    margin-top: 5px;
    padding-top: 5px;
    border-top:solid 1px rgba(237,231,232,0.5);
}

.quote-block.link-block {
    border-left: solid 4px #a9586b;
    background-color: inherit;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 20px;
    border-radius: 0;
    color: #4a4a4a;
    text-decoration: none;
}

.quote-block.link-block:hover {
    text-decoration: underline;
    border-left: solid 4px #4a4a4a;
}

.content .paragraph--type--text blockquote {
    background-color: inherit;
    border-left: 5px solid #a9586b;
    padding: 0 1.5em;
}

.content .paragraph--type--text blockquote a {
    color: #4a4a4a;
    text-decoration: none;
}
.content .paragraph--type--text blockquote:hover a,
.content .paragraph--type--text blockquote a:hover {
    text-decoration: underline;
}

.paragraph--type--line-framed .field_desc ul {
    margin-top: 0;
    margin-bottom: 0 !important;
}

.notification.is-info.is-light  {
    padding: 0;
    background-color: rgba(45,45,45,0.02);
}

/* timeline-parametr */

.timeline-parametr {
    /*display: none !important;*/ 
}

h3.expedition-subheader {
    margin-top: 0 !important;
    margin-bottom: 1.5em !important;
    color: #4a4a4a !important;
}

.paragraph--type--files {
    margin-bottom: 1em;
}

/* paragraph--type--five-imgs */

.pagetype-node .paragraph--type--five-imgs {
    max-width: 752px;
}

.pagetype-node .paragraph--type--five-imgs img {
    margin: 0 !important;
}

@media (max-width: 500px) {
    .pagetype-node .paragraph--type--five-imgs .items .item {
        width: inherit !important;
        float: inherit !important;
    }
    .pagetype-node .paragraph--type--five-imgs img {
        width: 100%;
    }
}

/* project documentation menu sticky */

@media (min-width: 1024px) {
    aside.menu { position:relative; }
    #wrap.sticky .menu-list {
        position: fixed;
        top: 0;
        min-width: 300px;
    }
}

/* paragraph--type--title-text-pdf */

.paragraph--type--title-text-pdf {
    max-width: 750px;
}

.bundle-projectpage .paragraph--type--title-text-pdf {
    max-width: 800px;
}


/* tooltip */

.string-tooltip {
    background-color: rgba(255, 195, 0, 0.7);
    color: #000;
}
/*
.string-tooltip:after {
    content: '';
    display: inline-block;
    background-image: url(images/comment_info.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    width: 30px;
    height: 30px;
}
*/
.tooltip-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
    position: relative;
    /*margin-right: 3px;*/
}

#wrap #block-customtheme-content .tooltip-btn img {
    margin: -2px 0 0 0 !important;
}

.string-tooltip {
    display: none;
}
.string-tooltip.visible {
    display: inline-block;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 8, 16, .15);
    color: #333;
    box-shadow: 0 4px 14px -2px rgba(0, 8, 16, .08);
    max-width: 350px;
    transition-duration: 300ms;
    position: absolute;
    margin-top: 2em;
    padding: 15px;
    transform: translate(-245px, 0px);
    z-index: 99;
}

.string-tooltip.visible .tooltip-close {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a9586b !important;
    cursor: pointer;
    display: block;
    position: absolute;
    float: right;
    z-index: 999;
    right: 7px;
    top: 6px;
}

@media (max-width: 1024px) {
    #block-customtheme-content { position:relative; }
    .string-tooltip.visible {
        width: 100%;
        max-width: 100%;
        transform: inherit;
        left: 0;
        right: 0;
    }
}

/* texts */
/*
.menu-list a.texts:before,
.menu-list a[href="/project/documentation-khamnigan-language/texts"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '▸';
}
*/

.menu-list a.texts:before,
.menu-list a.phrasebooks:before,
.menu-list a.dictionary:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    /* font-size: 120%; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);*/ 
    content: '▸';
}
.bundle-text .menu-list a.texts,
.bundle-phrasebook .menu-list a.phrasebooks {
    background-color: #a9586b;
    color: #fff;
}



.article-text-teaser {
    float: left;
    background-color: rgba(237, 231, 232, 0.5);
    padding: 20px;
    max-width: 50%;
    /*min-height: 300px;*/
    margin-right: 20px;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.content .article-text-teaser figure {
    margin-left: 0;
    margin-right: 0;
}

.content .article-text-teaser h3.text-title {
    margin-top: 10px;
    margin-bottom: 0;
}

.content .article-text-teaser h3.text-title a {
    color: #a9586b;
}

.content .article-text-teaser h3.text-title a:hover {

}

/* text page */
@media (min-width: 900px) {
    .text-wrap-colls {
        display: flex;
        gap: 20px;
    }
    .text-wrap-colls .field_text_youtube {
        width: 80%;
    }
}

.text-wrap-colls {
    margin-bottom: 2em;
}

.text-wrap-colls .field_text_youtube figure {
    margin-left: 0;
}

.meta-data > div {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.meta-data > div:last-child {
    padding-bottom: 0;
    border-bottom: 0 solid #e0e0e0;
}

.meta-data .label,
.meta-data .item {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
}

.field_text_pdf {
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(237, 231, 232, 0.5);
}

.field_notes {
    margin-bottom: 20px;
    font-size: 14px;
    font-style: italic;
}


/* view-subtitle */

.content .view-subtitle h2.page-subtitle {
    color: #4b526c !important;
    font-weight: 500;
    font-size: 1.5em;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.views-element-container .view-subtitle .views-row {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: solid 0px #dedede;
}

@media (min-width: 900px) {
    .bundle-text .main-container .content > div {
        display: flex;
    }
    .bundle-text .main-container .content > div #block-customtheme-content {
        flex: 1;
    }
}

.bundle-text .menu-list a.texts {
    background-color: #a9586b;
    color: #fff;
}

/* video embed */

.field_embed_video {
    width: 100%;
    display: block;
}

@media only screen and (min-width: 900px) {
    .field_embed_video {
        flex: 2;
    }
    .meta-data {
        flex: 1;
    }
}

/* block-menudocumentation-page */



#block-menudocumentation-page ul:not(.contextual-links) {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media only screen and (min-width: 900px) {
    #block-menudocumentation-page ul:not(.contextual-links) {
        display: flex;
        flex-wrap: wrap;
    }
    #block-menudocumentation-page ul:not(.contextual-links) li {
        flex-basis: 33%;
    }
}

#block-menudocumentation-page ul:not(.contextual-links) li a {
    background-color: rgba(237, 231, 232, 0.5);
    padding: 20px;
    min-height: 160px;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    position: relative;
    color: #000;
    display: block;
    color: #a9586b !important;
    font-weight: bold;
    letter-spacing: 0.02em;
    font-size: 21px;
    line-height: 22px;
}

#block-menudocumentation-page ul:not(.contextual-links) li a:hover {
    background-color: rgba(237, 231, 232, 0.3);
    text-decoration: none;
}

/* block-menudocumentation */

@media (min-width: 1024px) {
    .bundle-manual .main-container > .content > div {
        display: flex;
    }
}

.bundle-manual .main-container > .content > div aside {
    display: none;
}

@media (min-width: 1024px) {
    #block-menudocumentation {
        position: relative;
        float: left;
    }
}

#block-menudocumentation {
    background-color: rgba(237, 231, 232, 0.5);
    margin-right: 50px;
    min-width: 300px;
    padding: 20px 0;
}



#block-menudocumentation ul:not(.contextual-links) {
    list-style: none;
    margin: 0;
    padding: 0;
}

#block-menudocumentation ul:not(.contextual-links) li a {
    border-radius: 2px;
    color: #4a4a4a;
    display: block;
    padding: .5em 1.5em;
}

#block-menudocumentation ul:not(.contextual-links) ul {}
#block-menudocumentation ul:not(.contextual-links) ul li {}

#block-menudocumentation ul:not(.contextual-links) ul:before {
    content: '';
}
#block-menudocumentation ul:not(.contextual-links) ul li:before {
    content: '';
    position: absolute;
    margin-left: 26px;
    background: #cecece;
    width: 1px;
    height: 45px;
}

#block-menudocumentation ul:not(.contextual-links) ul li:last-child:before {
    height: 19px;
}

#block-menudocumentation ul:not(.contextual-links) ul ul li:before {
    margin-left: 49px;
}

#block-menudocumentation ul:not(.contextual-links) ul a {
    padding-left: 45px;
}

#block-menudocumentation ul:not(.contextual-links) ul ul a {
    padding-left: 68px;
}

#block-menudocumentation ul:not(.contextual-links) ul a:before {
    content: '﹂';
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    position: absolute;
    text-indent: -20px;
    margin-top: 2px;
}

#block-menudocumentation ul:not(.contextual-links) li a.is-active {
    background-color: #a9586b;
    color: #fff;
    position: relative;
}

/* field_phrasebook_topics */

.field_phrasebook_topics .items .item a {
    display: block;
    background-color: rgba(237, 231, 232, 0.5);
    padding: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    color: #a9586b !important;
    font-weight: bold;
    border:solid 1px rgba(237, 231, 232, 0.5);
}

.field_phrasebook_topics .items .item a:hover {
    background-color: #fff;
}

.audiofield-player label {
    display: none;
}

.description-block {
    background-color: rgba(237, 231, 232, 0.5);
    padding: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    margin-top: 10px;
}

.description-block,
.description-block .label {
    font-size: 14px;
}

.description-block > div {
    display: flex;
}

.description-block .label {
    margin-right: 20px;
    min-width: 280px;
}

.field_phrase_in_lang {
    font-weight: bold;
    font-size: 20px;
}

.field_translate_phrase {
    font-size: 20px;
}

.field_pretitle {
    display: none;
}

.audiofield-player audio {
    width: 97%;
}

/* Dictionary links */

.field_dictionary_link .items .item a {
    display: block;
    background-color: rgba(237, 231, 232, 0.5);
    padding: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    color: #a9586b !important;
    font-weight: bold;
    border:solid 1px rgba(237, 231, 232, 0.5);
}

.field_dictionary_link .items .item a:hover {
    background-color: #fff;
}


/* pager */

nav.pager {

}

ul.pager__items {
    list-style: none;
    margin-left: 0 !important;
}

ul.pager__items li.pager__item {
    display: inline-block;
}

ul.pager__items li.pager__item a {
    float: left;
    display: block;
    width: 60px;
    height: 60px;
    margin-right: 1px;
    line-height: 60px;
    text-align: center;
    background-color: #fafafa;
    color: #202121 !important;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
}

ul.pager__items li.pager__item a:hover {
    background-color: #E6EAEA !important;
}

ul.pager__items li.is-active a {
    background-color: #4b526c !important;
    color: white !important;
}

.views-element-container header {
    background-color: inherit !important;
    margin-bottom: 2em;
}

/* btn-view-desc */

.btn-view-desc {
    background-color: rgba(237, 231, 232, 0.5);
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    position: absolute;
    height: 42px;
    margin-top: -50px;
    right: 37px;
    cursor: pointer;
}

.btn-view-desc:hover {
    background-color: #a9586b;
    color: #fff;
}

.btn-view-desc + .description-block {
    display: none;
}

.field_phrases > .items > .item {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: solid 1px #dedede;
}

.field_phrases > .items > .item:last-child {
    border-bottom: solid 0px #dedede;
}


/* video field */

.field_media_video_file {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.field_media_video_file .item {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #aaa;
}

.field_media_video_file .item video {
    width: 100% !important;
    height: 100% !important;
}

.field_media_desc {
    margin: 1em 0 2em 0;
    font-size: 14px;
    font-style: italic;
}


/* ytb-wrap */

.ytb-wrap .field_video .item img {
    width: 100%;
}


.paragraph--type--material {
  max-width: 720px;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Тип материала */
.paragraph--type--material .field_desc {
  margin-bottom: 12px;
}

.paragraph--type--material .field_desc p {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #f0f0f0;
  border-radius: 999px;
  margin: 0;
}

/* Основной блок */
.paragraph--type--material .is-primary {
  margin-top: 8px;
}

/* Ссылка на материал */
.paragraph--type--material .field_material a {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.paragraph--type--material .field_material a:hover {
  color: #005fcc;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
