@import url('./fonts.css');

:root {
    --font-header: candara, candw, georgia, serif
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding: 80px 0 20px;
    font-family: /*candara, corbel,*/ -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    position: relative;
}

body.lang-BE .lang-EN { display: none; }
body.lang-EN .lang-BE { display: none; }
#language_switcher .btn { outline: none; }
#language_switcher {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.homepage-tabs .language {
    flex-grow: 1;
}
@media (max-width:1200px) {
    .homepage-tabs .language {
        position: absolute;
        top: 80px;
        right: 15px;
    }
}

::-moz-selection { background: #8d1802; color:#fff; }
::selection { background: #8d1802; color:#fff; }
.form-control:focus {
    border-color: #8d1802;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(141,24,2,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(141,24,2,.6);
}

a {
    color: #999;
}
a:focus, a:hover {
    color: #8d1802;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
}

textarea {
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: scroll;
    width: 100%;
}

dt {
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #ccc;
    font-weight: normal;
    font-size: .9em;
    margin-top:.5em;
}
dt:first-child { display: none; }
dt:first-child + dd { display: none; }

dt .label {
    display: none;
}

dd img {
    max-width: 100%;
}

.field:first-child .field-label {
    border-top: 0;
}

.field-label {
    /* font-family: inherit; */
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #666;
    font-weight: bold;
    font-size: .9em;
    margin-top: 0;
    padding-top: 1em;
    border-top: 1px solid #eee;
}
.field-value {
    padding-bottom: 1em;
}

.field-value .items { flex-direction: column; margin: 0; }
.field-value .items>.item { width: 100%; margin: 0 0 20px; }
.field-value .item-link { width: 100%; margin: 0; display: flex; flex-wrap: wrap; color: #333; }
.field-value .item-image { padding: 0; flex-shrink: 0; margin-right: 10px; max-height: 150px; border: 2px solid #ccc; }
.field-value .item-name { flex-basis: 40%; flex-grow: 1; }

/* --------------------- fields */
.item_aside,
.item_main {
    display: flex;
    flex-direction: column;
}
.item_aside .field-id-vydanni-dze-apublikavany { order: -1; }

.item_aside .field-id-photo,
.item_aside .field-id-zviazanyia-seryi { order: -2;}

.field-id-last-issue .item-image,
.item_aside .field-id-vydanni-dze-apublikavany .item-image,
.item_aside .items--seryi .item-image { max-height: none;}

.field-id-spis-litaratury .field-value,
.field-id-references .field-value { font-size: .9em; }

.field-id-databases img { margin: 0 4px 6px 0; }

.field-id-rod-zaniatkau ul,
.field-id-temy ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.field-id-rod-zaniatkau li,
.field-id-temy li {
    display: inline-block;
}
.field-id-rod-zaniatkau li a,
.field-id-temy li a {
    display: inline-block;
    background: #eee;
    border-radius: 4px;
    padding: 4px 10px;
    text-decoration: none;
    margin: 0 2px 4px;
}
.field-id-rod-zaniatkau li a:hover,
.field-id-temy li a:hover {
    color: #fff;
    background-color: #8d1802;
}

.field-id-vokladka .field-label { display: none; }
.item_main  .field-id-vokladka { display: none }
.item_aside .field-id-vokladka:first-of-type { display: block }

.item_aside .field-id-vokladka  { order: -1; margin-top: 10px;}

.item_main .page-header { order: -2; border: 0; padding: 0; margin: 0; }
.item_main .page-header h1 { margin-top: 0;}

.item_main .field-id-photo {display: none;}

.field-id-karta,
.field-id-zviazanyia-lakatsyi,
.field-id-kraina { order: 9}

.field-id-kraina {
    max-height: 200px;
    overflow-y: auto;
}

.field-id-dze-paslukhats > .field-label {
    display: none
}

@media (max-width: 640px) {
    .page-header h1 { font-size: 1.5em; margin-top: 0;}
    .item_aside .field-id-vokladka { display: none;}
    .item_main .field-id-vokladka { order: -1}
    .item_main .field-id-vokladka { display: block }

    .item_main .field-id-photo {display: block;}
    .item_aside .field-id-photo {display: none;}
}

.viewer {
    margin-bottom: 2em;
}

.viewer > iframe {
    width: 100%;
    height: 800px;
    resize: vertical;
    border: 1px solid #ddd
}

.navbar-default {
    background: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,.2);
    border: 0;
}
.navbar-brand {
    padding: 0;
    height: 60px;
    margin-right: 30px;
    position: relative;
}
.navbar-version {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 11px;
    opacity: .5;
    font-weight: 500;
    font-style: italic;
}
.navbar-version:before{
    content: "v"
}

.navbar-brand>img {
    height: 60px;
}
.navbar-nav>li>a {
    padding-top: 20px;
    padding-bottom: 20px;
    /*font-size: 1.2em*/
    font-weight: bold;
}
.navbar-nav>li>a.highlighted {
    /*padding-top: 10px;*/
    /*padding-bottom: 10px;*/
    /*font-weight: normal;*/
    background: #8d1802;
    color: #fff;
}
.navbar-nav>li>a.highlighted:hover {
    color: #fff;
    background: #600;
}
.highlighted em {
    font-size: .8em;
}

.navbar-nav .badge {
    opacity: .5;
    font-size: .6em;
    color: #666;
    background: transparent;
}
.dropdown-menu>li>a {
    padding: 10px 20px;
    font-size: 1.2em;
}
.dropdown-header {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .2em;
    font-size: .7em;
}

#searchbox {
    margin: 12px auto 0;
    /* padding: 0; */
    white-space: nowrap;
    /* width: 300px; */
}
#searchbox .gsc-control-cse {
    padding: 0;
}
#searchbox .fa { line-height: 20px; }
#searchbox .btn-default { height: 34px;}
#searchbox .glyphicon-search { line-height: 20px; color: #666}

@media (max-width: 991px) {
    #searchbox {
        margin: 0;
        width: auto;
        padding: 1em 0;
    }
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

.page-header {
    margin-top: 0;
}



.visual {
    background: #eee 50% 50% no-repeat;
    background-size: cover;
    min-height: 240px;
    /* min-height: 40vh; */
    margin: -20px auto 0;
    /* max-width: 2000px; */
}
#homepage .visual {
    background-image: url(/assets/images/ethnous.io-visual2.jpg);
    background-position-y: 0;
 }
#donatepage .visual,
#aboutpage .visual {
    background-image: url(/assets/images/ethnous.io-visual+icons.jpg);
    background-position-y: 0;
    min-height: 500px;
}

@media (max-width: 960px) {
    #donatepage .visual,
    #aboutpage .visual {
        height: 0;
        padding-top: 56.25%;
        min-height: auto;
    }
}

#donatepage .donate .row h3 {
    display: none;
}
#donatepage .donate img {
    margin: 0 auto 1em;
    height: 80px;
}
#donatepage .donate .info {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.expences .join-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

iframe.embedly-embed {
    width: 100%;
}
.item-audyioteka iframe.embedly-embed[title="SoundCloud embed"] {
    height: 640px;
}
.item-falklor iframe.embedly-embed[title="SoundCloud embed"] {
    height: 200px;
}

.disqus-comment-count {
    color: #8d1802;
}

header[role="banner"] {
    margin-bottom: 0;
    display: none;
}

#homepage.empty header { padding: 15vh 0 0; text-align: center; }

#homepage.empty #search {
    max-width: 75%;
    margin-top:40px;
}

header .logo-container {
    float: left;
    margin-right: 20px;
}

.app-description {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-left: 1em;
}

.app-list-items{
    column-count: 3;
    column-gap: 4em;
}

.tab-content {
    padding-top: 20px;
}

.readable-text {
    font-size: 1.2em;
    font-family: Alice, serif;
}

.homepage-tabs .nav-tabs {
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    border-bottom: 0;
    margin: 0 -15px;
    padding: 0 15px;
    -ms-overflow-style: none;  /* IE 10+ */
    scrollbar-width: none; /* FF */
}
.homepage-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tabs>li>a {
    border-top-width: 3px !important;
}
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    border-top-color: #8d1802;
}
.nav-tabs>li.active>a:before {
    /*content: '';*/
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    border-top: 3px solid #8d1802;
}

.label {
    display: inline-block;
    padding: .5em 1em;
    margin: .3em 0;
}
.badge-podio,
.label-podio {
    color: #333;
/*	font-size: 1em;*/
}

.bg-gray {
    background-color: #eee;
}
section.bg-gray {
    padding-bottom: 60px;
}

.section-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: #ccc;
    margin: 60px auto 30px;
}
.section-title h4 {
    text-transform: none;
    font-style: italic;
    letter-spacing: normal;
    color: #999;
    width: 75%;
    max-width: 700px;
    margin: 0 auto;
}

.programme-list {
    width: 70%;
    margin: 0 auto;
}
.programme-list li {
    margin-bottom: 1em;
}


.card {
    text-align: center;
    border-radius: 4px;
}
.card>a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 20px 15px;
}
.card-icon {
    color: #8d1802;
    font-size: 2em;
    position: relative;
}
.card-icon .badge {
    position: absolute;
    top: 82%;
    left: 50%;
    transform: translateX(-50%);
    font-size: .3em;
    font-weight: normal;
}
.card-text {
    font-size: .8em;
}

.card:hover {
    background: #eee;
}
.card:hover .card-icon {
    color: #8d1802;
}

.publications .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.publications .card {
    flex-grow: 1;
    flex-shrink: 1;
}
.publications .card-icon {
    font-size: 4em;
}

.partners {
    text-align: center;
    margin-bottom: 30px;
}
.partners .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.partner-title {
    font-size: .7em;
    display: none;
}
.partners img {
    filter: grayscale(1);
    opacity: .5;
    max-height: 150px;
    width: auto;
    max-width: 100%;
    transition: all ease .5s;
}
.partners a:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.join .card-text { font-size: 1em; }
.join .card-icon { color: #666; }
.join .join-card { text-align: center; }

/*.join-card .card-cta { display: none;}*/
.card-cta {
    margin-top: 20px;
}

.achievements {
    text-align: center;
}
.achievements img {
    height: 200px;
}

.lastsync {
    display: block;
    color: #999;
    text-align: center;
    margin-top: 2em;
}

.podio-link { display: none; }

h1 .podio-link {
    display: inline-block;
    opacity: 0;
    transition: opacity .2s;
    transition-delay: 0s;
}

h1:hover .podio-link {
    opacity: .7;
    transition-delay: 1s;
}
.podio-link img { width: 16px; }
/*h1:hover .podio-link { display: inline; }*/

.counter {
    vertical-align: super;
    font-size: .7em;
    color:#ccc;
/*	font-weight: bold;*/
}

.links-list {
    list-style: none;
    overflow: hidden;
    max-width: 100%;
}
.links-list__icon {
    width: 16px;
    margin: 0 16px 0 -32px;
}
.links-list__icon + a {
    word-break: break-all;
}

.sticky-bar {
    border: solid #eee;
    border-width: 1px 0;
    margin-top: 2em;
}
.visual + .sticky-bar {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .sticky-bar {
        display: none;
    }
}

.sticky-bar.affix {
    top: 60px;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,.2);
    border: 0;
    margin: 0;
}
.sticky-bar .active {
    position: relative;
}
.sticky-bar .active:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom: 3px solid #8d1802;
}

.sticky-bar .navbar-nav { display: flex; flex-direction: row;}
.sticky-bar .navbar-nav>li>a { padding: 10px; }
.sticky-bar .sticky-bar_title { display: none; }
.sticky-bar.affix .sticky-bar_title {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 20px;
    font-weight: bold;
    overflow: hidden;
    max-width: 100%;
    text-transform: uppercase;
}
.sticky-bar.affix .sticky-bar_title:before {
    content: "Этнаўсё → ";
    content: "";
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    background-image: url(/assets/images/ethno.by-logo-c-tr.png);
    background-size: auto 100%;
    margin-right: .5em;
}

.sticky-bar_title-container {
    background: #eee;
}

.pagination {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.filters-paginated-header { display: flex; }
.filters-paginated-header .pagination-container {
    margin: .5em 0;
}
.filters-paginated-header .pagination-container .records-coutner {
    margin-right: 1em;
    font-size: small;
}
.filters-paginated-header .pagination-container .records-coutner,
.filters-paginated-header .pagination-container > nav {
    display: inline-block;
    vertical-align: middle;
}
.filters-paginated-header .pagination-container .pagination  {
    margin: 0;
}

.records-coutner {
    text-align: center;
}

.mainmenu  {
    margin-top:5px;
    font-size: .9em;
}
.mainmenu li>a {
    padding: 10px;
}

#homepage.empty .mainmenu {
    text-align: center;
}
#homepage.empty .mainmenu li {
    display: inline-block;
    float: none;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #8d1802;
    border-color: #8d1802;
    color: #fff;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    color: #8d1802;
}

.pagination>li>a, .pagination>li>span {
    color: #8d1802;
}

.api-calls{
    position: absolute;
    bottom:10px;
    right: 10px;
    text-align: right;
    color: #ccc;
    font-size: .8em;
}

.tableauPlaceholder {
    margin: 0 auto;
    height: 827px;
    max-width: 100%;
}

.tooltip.right { margin-left: 7px; }
.popover { z-index: 1080; /* to override tooltips */ }


.item-temy .visual,
.item-seryi .visual {
    position: relative;
    background: #444;
    color: #fff;
    /* background-image: url("/assets/images/visuals/bg-graywood-2.jpg"); */
    background-image: url("/assets/images/visuals/bg-wood-2.jpg");
    background-position-y: 100%;
    background-size: cover;
}
.item-temy .visual:before,
.item-seryi .visual:before {
    content:"";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /* opacity: .2; */
    /* background: #fff; */
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 100%);
}

.item-temy .label-default {
    background-color: rgba(0,0,0,.5);
    opacity: .7;
    letter-spacing: .1em;
    /* font-weight: bold; */
}
/* .item-temy .podio-link {
    display: none;
} */
.item-temy .page-header-path {
    display: none;
}
.item-temy .page-header {
    /* text-align: center; */
    text-transform: uppercase;
    padding-top: 60px;
}

.item-seryi .visual + .homepage-tabs .nav-tabs>li>a {
    /* color: #333; */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
}


.visual .container {
    position: relative;
}
.visual .page-header {
    margin-bottom: 60px;
    border: 0;
    flex: 1 1 65%;
}

@media (min-width: 1024px) {
    .visual .container {
        position: relative;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }
    .visual .item-logo {
        max-width: 34%;
        margin: 20px -15px -40px 0;
        border: 10px solid #fff;
        background: #fff;
        align-self: flex-end;
        border-radius: 20px;
    }
}
@media (max-width: 1023px){
    .visual .item-logo {
        margin: 20px auto;
    }
    .app-path {
        display: none;
    }
}

.visual .page-header .page-header-path {
    margin-top: 20px;
    font-size: 1.4em;
    font-family: var(--font-header);
}
.visual .page-header .page-header-path a {
    color: inherit
}
.visual .page-header h1 {
    font-size: 3.5em;
    line-height: 1em;
    margin-top: 0;
}




.items {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 -1%;
}
.items>.item {
    list-style: none;
    width: 14.66%;
    margin: 0 1% 30px;
    position: relative;
}
.item-name {display: block; color: #333; font-size: .9em; font-weight: bold;}
.item-thumbnail {
    background-color: #eee;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    width: 100%;
    border: 1px solid #ccc;
    padding-top: 100%;
}
.item .year { float: right; line-height: 2.5em;}
.item .series { color: #999; text-transform: uppercase; padding-top: .5em; display: block; font-size: .7em }

.item .series--person { text-transform: none; }
.item .duration {
    position: absolute;
    right: 10px;
    margin-top: -30px;
    padding: 1px 3px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-weight: bold;
}
.item .duration .fa { margin-right: 1em;}
.item > span { font-size: 11px; }

.items--audio .item-thumbnail {
    background-image: url(/assets/images/default-release-cd.png);
}
.items--audio .item--type-3 .item-thumbnail {
    background-image: url(/assets/images/default-release.png);
}
.items--audio .series .fa { display: none; }
.items--audio .series + .series .fa { display: inline-block; }

.items--video .item { width: 23% }
.items--video .item-thumbnail {
    padding-top: 56.2%;
    background-image: url(/assets/images/default-video.png);
}
.items--books .item { width: 14.66% }
.items--books .item-thumbnail {
    padding-top: 150%;
}

.items--foto .label {
    display: none;
}
.items--foto .item-thumbnail {
    background-size: contain;
}
.items--foto .item--type-2 .item-thumbnail {
    box-shadow: 2px -2px 0 #fff, 3px -3px 0 #ccc, 5px -5px 0 #fff, 6px -6px 0 #ccc;
    background-size: cover;
}

.items.items--artykuly>.item {
    width: 48%;
    padding-bottom: 2em;
    border-bottom: 1px solid #eee;
}
.items.items--press>.item {
    width: 31%;
    padding-bottom: 2em;
    border-bottom: 1px solid #eee;
}
.item--press .date + .series {
    display: inline;
}
.items--press h2 {
    margin: 0;
}
.items--press .date {
    margin-right: 16px;
}
.items--press .links-list__icon {
    margin: 0;
}

.items--speakers { justify-content: space-evenly; }
.items--speakers .item { width: 21%; text-align: center; margin: 0 2% 30px; }
.items--speakers .item-name { font-size: 1.3em; font-weight: 500; color: #8d1802; margin-top: 20px; }
.items--speakers .item-description { font-size: .8em; margin-bottom: 40px; }
.items--speakers .year {
    font-size: 1.2em;
    margin-top: .3em;
    margin-top: -2em;
}
.items--speakers .item-thumbnail {
    padding-top: 121%;
    background-image: none;
    border-radius: 200px;
}

#homepage .items--audio .series,
#homepage .items--video .series {
    display: none;
}

.jumbotron {
    background: none;
    color: #fff;
    text-align: center;
}

.visual + .homepage-tabs {
    margin-top: -45px;
}
.visual + .homepage-tabs .nav-tabs>li>a { color: #ccc; }
.visual + .homepage-tabs .nav>li>a:focus,
.visual + .homepage-tabs .nav>li>a:hover { background: rgba(255,255,255,.3);}
.visual + .homepage-tabs .nav-tabs>li.active>a { color: #555; background: #fff; }

.view + .view .navbar { border-top: 1px solid #eee; margin: 2em 0 0; }
.view .navbar { padding: 2em 0 0; cursor: pointer; margin: 0; }
@media (max-width: 960px) {
    .view + .view .navbar { margin: 1em 0 0; }
    .view .navbar { padding: 1em 0 0; cursor: pointer; margin: 0; }
}
#homepage .view .navbar { cursor: auto; }

.view .navbar h2 { margin: .5em 0; }
.view .navbar-right a:hover  { background-color: transparent; }
.view .navbar-right li:last-child a:after {
    content: ' \203A';
    /* content: ' \2192'; */
    font-size: 1.2em;
}

#comments .navbar-header,
.view .navbar-header {
    float: left !important;
}
#comments .navbar-nav,
.view .navbar-nav {
    float: right !important;
}
.view .navbar h2 a {
    /* border-bottom: 3px solid #8d1802; */
    /* color: #999; */
    text-decoration: none;
}
.view .navbar h2 .fa {
    color: #8d1802;
    /* font-weight: bold; */
}
.view .item-name {
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view .item-icon { display: none; }

.view .items--topics { display: block; text-align: center; }
.view .items--topics .item { display: inline-block; max-width: none; width: auto; margin: 0 .5em; }
.view .items--topics .item-thumbnail { display: none; }
.view .items--topics .item-name { max-height: none; overflow: visible; line-height: 1em; }

.view .items--press .item-thumbnail { display: none; }
.view .items--press .item { padding-bottom: 1em; margin-bottom: 1em; }
.view .items--press .series { display: inline; }
.view .items--press .item-name { font-weight: bold; }

.view .items--books .item-name { max-height: none; overflow: visible; line-height: 1em; }

.view .items--artykuly .item { padding-bottom: 1em; padding-left: 40px; margin-bottom: 1em; }
.view .items--artykuly .item-thumbnail { display: none; }
.view .items--artykuly .item-name { font-weight: normal; display: block; }
.view .items--artykuly .item-icon { display: block;  float: left; margin: 0 0 0 -40px; font-size: 30px; opacity: .3}

.view .items--audio .item-thumbnail {
    background-image: url(/assets/images/default-audio.png);
}

#references { display: flex; flex-direction: column;}

.items--series .item-thumbnail,
.items--kalektyvy .item-thumbnail,
.items--persanalii .item-thumbnail { border-radius: 50%; }

.items--series .item-name,
.items--kalektyvy .item-name,
.items--persanalii .item-name { text-align: center; }

.expander {
    outline: none;
    margin: 0;
    padding: 15px;
    border: 0;
    background: none;
    opacity: .3;
}
.expander:hover,
.expander:focus,
.expander:active { opacity: .7; }
.expander[aria-expanded="true"] .icon-expand { display: none; }
.expander[aria-expanded="false"] .icon-collapse { display: none; }

.courses {
    margin-bottom: -80px;
    padding: 0 0 80px;
    margin-top: 40px;
}
.bg-dark {
    background: #333;
    color: #ccc;
}

.locations-list {
    display: flex;
    flex-wrap: wrap;
}
.locations-list_region {
    width: 33%;
}

/* footer */
footer {
    margin: 80px 0 0;
    padding: 20px 0;
/*    border: 1px solid #ccc;*/
    border-width: 1px 0;
    background: #eee;
}
footer h4 {
    text-transform: uppercase;
    color: #999;
    font-weight: bold;
}

.footer-about {
    font-style: italic;

}
.footer-logo {
    filter: grayscale(1);
    width:200px;
}
.footer-copyright {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: .8em;
/*    font-family: Arial, sans-serif;*/
}

#page-forum {
    padding: 0;
}

#page-forum .hero {
    background: #221201 url(/assets/images/forum/forum-ethnoby-bg.jpg) no-repeat center top;
    background-size: cover;
    background-position: center bottom;
    position: relative;
    color: #fff;
    height: 500px;
    padding-top: 70px;
}
#page-forum .hero .forum-logo {
    display: block;
    margin: 0 auto 70px;
    width: 490px;
}

#page-forum .hero .buttons {
    text-align: center;
}
#page-forum .hero .btn {
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .2em;
}
#page-forum .hero .time-end {
    position: relative;
}
#page-forum .hero .time-end sup {
    color: #900;
    font-size: 20px;
    letter-spacing: normal;
    position: absolute;
    left: 0;
    top: 3em;
    width: 300px;
    font-weight: bold;
    text-align: left;
    text-shadow: 0 0 5px #000;
}

#page-forum .hero h1 {
/*
    text-transform: uppercase;
    position: absolute;
    bottom: 70px;
    width: 100%;
*/
    margin-bottom: 70px;
    text-align: center;
/*    font-size: 6em;*/
    letter-spacing: .2em;

}
#page-forum .intro {
    padding: 40px 0;
    text-align: center;
}

#comments { margin-top: 2em; }
#comments .navbar { border-top: 2px solid #ccc; }

.btn-primary {
    background-color: #8d1802;
    border-color: #8d1802;
}
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary:hover {
    background-color: #900;
    border-color: #900;
    opacity: .8;
}

.btn-success {
    background-color: #6b9c2e;
    border-color: #6b9c2e;
}

.btn-success:active,
.btn-success:hover {
    background-color: #4c7629;
}


.filters {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    text-align: left;
    margin-bottom: 1em;
}

.filter {
    margin: .5em 1em .5em 0;
}

.filter__title {
    display: inline-block;
}

.filter__icon {
    margin-right: .5em;
    display: inline-block;
    opacity: .7;
}

.filter__value {
    display: none;
    max-width: 300px;
    overflow: hidden;
    vertical-align: middle;
    text-overflow: ellipsis;
}

.filter .btn {
    border: 1px solid #bbb;
    outline: none !important;
}
.filter .btn.is-checked,
.filter .dropdown-toggle.is-checked {
    background: #8d1802;
    color: #fff;
    border-color: #8d1802;
}

.filter .dropdown-toggle.is-checked .filter__title {
    display: none;
}

.filter .dropdown-toggle.is-checked .filter__value {
    display: inline-block;
}

.filter .dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
}

.filter .dropdown-menu[data-filter-group="age"] {
    min-width: 100%;
}

.filter .dropdown-item.is-checked,
.filter .dropdown-item:focus,
.filter .dropdown-item:hover {
    background: #8d1802;
    color: #fff;
}

.filter .dropdown-divider {
    margin: 0;
    border-color: #4d4d4d;
}
.filter .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.2em 1em;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: 0;
}
.filter .dropdown-toggle:after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.video-iframe {
    position: relative;
    padding-top: 56.25%;
    max-width: 100%;
}
.video-iframe iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 1024px){
    .catalogs .row {
      display:         flex;
      flex-direction: row;
      flex-wrap: nowrap;
    }

}

@media (min-width: 1400px){
    .container {
        width: 1280px;
    }
}
@media (min-width: 1680px){
    #category-page .container .items--foto>.item,
    #category-page .container .items--audio>.item {
        width: 220px;
        margin: 0 10px 30px
    }
    .items--foto,
    .items--audio,
    .items--video {
        margin: 0 -10px;
    }
    .items--video>.item {
        width: 320px;
        margin: 0 10px 30px
    }

    .container {
        width: 1440px;
    }
    #category-page .container {
        width: 96%;
    }
}
@media (max-width: 1024px){
    .items>.item {
        width: 30%;
    }
}

@media (max-width: 768px){
    .items>.item {
        width: 48%;
    }
    .items.items--artykuly>.item,
    .items.items--press>.item {
        width: 100%;
    }
    .navbar-brand { padding-left: 15px;}

}


body.theme-dark,
.theme-dark .navbar
{
    background-color: #222;
    color: #ccc
}


.theme-dark .btn-default,
.theme-dark .form-control {
    background-color: #111;
    border-color: #333;
    color: #999;
}

.theme-dark .visual,
.theme-dark footer,
.theme-dark footer .nav>li>a:hover
 {
    background-color: #444;
}
.theme-dark .navbar-default .navbar-collapse,
.theme-dark .navbar-default .navbar-form,
.theme-dark .navbar-default .navbar-toggle {
    border-color: #444;
}


#charnobyl .visual {
    min-height: 100vw;
    background-position: 50% 10%;
    position: relative;
    background-image: url(/pages/charnobyl/i/Ch_D_020.jpg)
}

#charnobyl .visual:before {
    content:'';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(34,34,34,.5) 0%, rgba(34,34,34,.95) 100%);
}

#charnobyl .visual .container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#charnobyl .visual h1 {
    color: #222;
    font-size: 7em;
    font-weight: bold;
    margin-left: 50%;
    margin-top: 10vh;
    letter-spacing: -.05em;
    line-height: .9em;
    /* text-transform: uppercase; */
}

#charnobyl .visual .disclaimer {
    margin-left: 50%;
    margin-top: 4em;
}
#charnobyl .visual .disclaimer p:first-child {
    font-family: var(--font-header);
    font-size: 1.6em;
}

#charnobyl .number {
    color: #900;
    font-size: 10em;
    font-family: var(--font-header);
    letter-spacing: -.05em;
    font-weight: bold;
    opacity: .8;
    line-height: 1em;
    margin-right: 20px;
}
#charnobyl .parameter {
    font-family: var(--font-header);
    font-size: 4em;
    font-weight: bold;
    opacity: .5;
}

#charnobyl .number.people {
    color: #ff0;
    font-size: 6em;
}

#charnobyl .info,
#charnobyl .charts {
    padding-bottom: 80px;
}

#charnobyl .songs {
    background: url(/pages/charnobyl/i/Ch_D_013.jpg) no-repeat 50% 50%;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding: 60px 0 100px;
}
#charnobyl .songs:before {
    content:'';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(34,34,34,.7) 0%, rgba(34,34,34,.9) 100%);
}
#charnobyl .songs h4 {
    font-weight: bold;
    margin-top: 2em;
}
#charnobyl .songs h4 + p {
    margin-left: 2em;
}


#charnobyl .hamlets {
    /* background: url(/pages/charnobyl/i/Ch_D_040.jpg) no-repeat 50% 50%; */
    background: url(/pages/charnobyl/i/Ch_D_039.jpg) no-repeat 50% 50%;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding-bottom: 200px;
}

#charnobyl .hamlets:before {
    content:'';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(34,34,34,1) 0%, rgba(34,34,34,.8) 100%);
}

#charnobyl .songs > *,
#charnobyl .hamlets > * {
    position: relative;
}

#charnobyl .hamlets ol {
    columns: 4;
    opacity: .8;
    list-style: none;
    font-size: .9em;
}


#charnobyl .hamlets .row h3 {
    margin-top: 2em;
    text-align: center;
    font-weight: bold;
}
#charnobyl .hamlets .row h4 {
    color: #fff;
    font-weight: bold;
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #444;
}

#charnobyl .stats {
    margin-top: 200px;
}
#charnobyl .stats .number {
    display: block;
    font-size: 10em;
}
#charnobyl .stats h4 {
    font-size: 1.6em;
    margin-top: 1em;
}
#charnobyl .stats .number_small {
    font-size: 1.6em;
    font-weight: bold;
    color: #ff0;
    white-space: nowrap;
}
#charnobyl .courses {
    display: none;
}

@media (max-width: 960px){
    #charnobyl .visual {
        height: auto;
        max-height: none;
        background-position: 20% 0;

    }
    #charnobyl .visual .container {
        height: auto;
    }
    #charnobyl .visual .disclaimer,
    #charnobyl .visual .disclaimer p {
        margin-left: 0;
    }
    #charnobyl .visual .disclaimer p:first-child {
        font-size: 1.4em;
    }
    #charnobyl .visual h1 {
        font-size: 5em;
        margin:  100px 0 300px 50%;
    }

    #charnobyl .hamlets ol {
        columns: 2;
    }

    #charnobyl .stats .number {
        font-size: 3em;
    }

}

@media (min-width: 1440px){
    #charnobyl .visual {
        max-height: 2000px;
    }
}
@media (max-width: 480px){
    #charnobyl .hamlets ol {
        columns: 1;
    }
    #charnobyl .visual h1 {
        font-size: 3em;
        margin:  100px 0 600px 35%;
    }
}


@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
  }
