/*
Theme Name: DS 2019
Theme URI: http://donbasstudies.org
Author: Mykhailo Glubokyi
Author URI: http://izolyatsia.org/
Description: Theme for Donbas Studies
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, orange, white, minimal
*/

:root {
    --dark-black: #333;
    --black: #000;
    --grey: #ccc;
    --bright: #fff;
    --orange: #ff5000;
    --orange-semi: rgba(255, 48, 0, 0.5);
    --header_highlight: #ff5000 ;
}

  
@import url('https://fonts.googleapis.com/css?family=PT+Sans&subset=cyrillic,cyrillic-ext');

@font-face{
    font-family:GoodHeadlineWebPro-CondBold;
    src:url(/wp-content/themes/ds2019/assets/fonts/GoodHeadlineWebPro-CondBold.woff) format("woff");
    font-weight:400;
    font-style:normal;
    font-display:block
}

@font-face{
    font-family:GoodHeadlineWebPro-CondNews;
    src:url(/wp-content/themes/ds2019/assets/fonts/GoodHeadlineWebPro-CondNews.woff) format("woff");
    font-weight:400;
    font-style:normal;
    font-display:block
}

body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: greyscale;
}


.ds {
    width: 100%;
    margin: auto;
}

.ds_main {
    max-width: 1600px;
    margin: auto;
}

.ds_home_hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.ds_home_hero__cover {
    background: url(/wp-content/themes/ds2019/assets/img/1973_severodonetsk.jpg) no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

.ds_header {
    position: fixed;
    left: 0;
    width: 100%;
    margin: -1px auto 0;
    overflow: auto;
    display: flex;
    z-index: 200;
}


.ds_nav--header {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.ds_single .ds_nav {
    background: #fff;
}

.ds_header__logo {
    width: 6rem;
    margin: 0px;
    height: 5rem;
    position: relative;
    font-family: "PT Sans", Helvetica,Arial,sans-serif;
    font-size: 1.5rem;
    transition: height 0.1s ease-out; 
    border-bottom: 1px solid var(--orange);
}

.ds_header__logo a {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: var(--orange);
    color: #fff;
    font-weight: bold;
    padding: 0.4em;
    text-decoration: none;
}

.ds_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding-right: 2em;
}

.ds_nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.ds_nav__list__item {
    margin-left: 3rem;
}


a.ds_link:link, 
a.ds_link:visited {
    color: var(--dark-black);
    font-size: 1.2em;
    text-decoration: none;
    font-family: "PT Sans", Helvetica,Arial,sans-serif;
    font-weight: bold;
    position: relative;
    z-index: 100;
    border: none;
}

a.ds_link:link::before {
    background: var(--orange);
    z-index: -1;
    position: absolute;
    width: 0;
    bottom: 2px;
    left: 4px;
    content: " ";
    height: 10px;
    display: block; 
    transition: opacity 0.1s ease-out, width 0.06s ease-out;
    opacity: 0;
}

.ds_article__content a:link::before,
a.ds_link--active:link::before, 
a.ds_link:hover::before {
    width: 100%;
    opacity: 0.8;
}

.ds_article__content a:hover::before {
    background:var(--dark-black);
    opacity: 0.8;
}


.ds_nav__toggle {
    display: none;
}

.ds_home_hero__slide {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 50px;
}

.ds_home_hero__slide__header {
    text-align: center;
    font-weight: normal;
    margin: auto;
    padding: 0 5%;
}

.ds_home_hero__slide__header strong {
    font-family: "GoodHeadlineWebPro-CondBold", sans-serif;
}

.ds_home_hero__slide__header a:link, .ds_home_hero__slide__header a:visited {
    text-align: center;
    font-size: 4em;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "GoodHeadlineWebPro-CondNews", sans-serif;
    color: var(--orange);
}

.ds_home_hero__slide__header a:hover {
    color: var(--bright);
}

.ds_nav--collapsed {
    background: #fff;
}

.ds_header__logo__full {
    display: block;
}

.ds_nav--collapsed .ds_header__logo__full {
    display: none;
}

.ds_header__logo__short {
    display: none;
}

.ds_nav--collapsed .ds_header__logo__short {
    display: block;
}

.ds_nav--collapsed .ds_header__logo {
    height: 50px;
}

@media only screen and (max-width: 1024px) {

    .ds_nav__toggle {
        cursor: pointer;
        display: block;
        position: relative;
        margin: 0 0 0 auto;
        appearance: none;
        background: transparent;
        padding: 0.5em 2em;
        border: 0;
        border-left: 2px solid #000;
        border-bottom: 2px solid var(--dark-black);
        background: var(--bright);
        font-size: 1.1em;
        font-family: 'GoodHeadlineWebPro-CondBold', serif;
        text-transform: uppercase;
        z-index: 2;
    }

    .ds_nav__toggle__line {
        width: 60%;
        height: 4px;
        background: var(--dark-black);
        display: block;
        position: absolute;
        top: 1.3em; 
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        transition: transform 0.1s ease-out;
        transform: translateY(0);
        transform-origin: center center;
    }


    .ds_nav__toggle__line:last-of-type {
        top: 3.3em;
    }

    .ds_nav--collapsed .ds_nav__toggle__line {
        transform: translateY(-0.5em);
    }

    .ds_nav--collapsed .ds_nav__toggle__line:last-of-type {
        transform: translateY(-1.5em);
    }
    .ds_nav--header--open + .ds_nav__toggle {
        border: none;
    }
    .ds_nav--header--open + .ds_nav__toggle .ds_nav__toggle__line {
        transform: translateY(1em) rotateZ(45deg);
    }

    .ds_nav--header--open + .ds_nav__toggle .ds_nav__toggle__line:last-of-type {
        top: 1.3em;
        transform: translateY(1em) rotateZ(-45deg);
    }

    .ds_nav--collapsed .ds_nav--header--open + .ds_nav__toggle .ds_nav__toggle__line {
        transform: rotateZ(45deg);
    }

    .ds_nav--collapsed .ds_nav--header--open + .ds_nav__toggle .ds_nav__toggle__line:last-of-type {
        top: 1.3em;
        transform: rotateZ(-45deg);
    }

    .ds_header__logo {
        flex: 1;
        width: auto;
        border-bottom: 2px solid var(--dark-black);
    }

    .ds_header__logo a {
        padding-right: 70%;
    }

    .ds_header {
        overflow: visible;
        background: var(--orange);
    }

    .ds_nav--visible {
        display: block;
    }


    .ds_nav--header--open.ds_nav {
        transform: translateY(0px);
    }

    .ds_nav {
        transform: translateY(-800px);
        transition: transform 0.2s ease-out;
        position: absolute;
        width: 100%;
        z-index: 1;
        background: #fff;
    }
    
    .ds_nav__list {
        list-style: none; 
        margin: 0;
        display: block;
        padding: 1em;
    }

    .ds_nav__list__item {
        margin: 0 0 0.5em 0;
        font-size: 2em;
    }

    .ds_home_hero__slide {
        margin-top: 85px;
        padding-top:0;
    }

    .ds_home_hero__slide__header a:link, .ds_home_hero__slide__header a:visited {
        font-size: 2em;
        padding: 0 0.5em;
    }
}


/* BIG SCREEN */

@media only screen and (min-width: 1920px) { 
    html {
        font-size: 2em;
    }

    .ds_nav--collapsed {
        height: 2.5rem;
    }
    .ds_nav--collapsed .ds_header__logo {
        height: 2.5rem;
    }

    

}
/* FOOTER */

.ds_footer {
    display: flex;
    align-items: flex-end;
    border-top: 4px solid var(--dark-black);
    background: var(--dark-black);
    color: #fff;
}


.ds_footer__wrap {
    padding: 0 7%;
}

.ds_footer__text {
    font-size: 1.5em;
    width: 51%;
    color: var(--dark-black);
    color: #eee;
}

.ds_footer__text a:link, .ds_footer__text a:visited {
    text-decoration: none;
    border-bottom: 2px solid var(--dark-black);
    color: var(--dark-black);
    color: #eee;
}

.ds_footer__wrap__logo {
    font-size: 5em;
    font-family: "GoodHeadlineWebPro-CondBold", sans-serif;
    color: var(--dark-black);
    color: #eee;
    width: 100px;
    margin: 1em 0 0.5em;
}

.ds_nav--footer, .ds_nav--footer .ds_nav__list  {
    display: block;
    font-size: 1em;
}

.ds_nav--footer .ds_nav__list {
    margin: 5em 0;
}

.ds_nav--footer .ds_nav__list__item {
    margin: 0;
}

.ds_footer__social__list {
    padding: 0;
    margin-bottom: 5em;
}

.ds_footer__social__list svg {
    fill: #fff;
}
.ds_footer__social__list__item {
    list-style: none;
    display: inline-block;
    margin-right: 0.5em;
}

.ds_footer__social__list__item svg {
    width: 1.5rem;
    height: 1.5rem;
}
.ds_footer__subscribe {
    margin: 4em 0 2em;
    display: flex;
    width: 70%;
}
.ds_footer__subscribe label {
    display: block;
    flex: 1;
}
.ds_footer__subscribe input[type=email] {
    border: none;
    border-bottom: 1px solid var(--grey);
    color: var(--bright);
    background: var(--dark-black);
    flex: 2;
    font-size: 1.5em;
    margin: 0 1em 0 1em;
    padding: 0 1em;
}



.ds_footer__subscribe__btn {
    border: 0;
    background: transparent;
    font-size: 2em;
    color: #eee;
}

.ds_link.ds_link--footer-izo:link::before {
    background: var(--grey);
}


@media only screen and (max-width: 1024px) { 
    .ds_footer__subscribe {
        display: block;
    }

    .ds_footer__subscribe input[type=email]  {
        margin: 0;
        width: 20%;
    }

    .ds_footer__text {
        width: 100%;
    }
}

/* HOME LIST */

.ds_home_list {
    padding: 2em 0 2em 2%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ds_home_list__item {
    width: calc(50% - 4em);
    margin: 1em 0 7em 2em;
    list-style: none;
    background: #fff;
    position: relative;
}

.ds_home_list__item__content {
    position: absolute;
    bottom: -3em;
    width: 65%;
    background: #fff;
    min-height: 75px;
    padding: 0.5em 1em 1em;
    border-bottom: 4px solid var(--dark-black);
}

.ds_home_list__item__content h2 {
    font-size: 2rem;
    color: var(--dark-black);
    font-family: "GoodHeadlineWebPro-CondBold", sans;
}

.ds_home_list__item__content p {
    display: none;
}

.ds_home_list__item__header {
    position: relative;
    width: 100%;
    height: 18em;
}
.ds_home_list__item__header__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;
}

.ds_home_list__item__footer {
    display: none;
}


@media only screen and (max-width: 1024px) {
    .ds_home_list {
        display: block;
        padding: 0;
    }

    .ds_home_list__item {
        width: 100%;
        margin: 1em 0 2em;
        position: relative;
    }

    .ds_home_list__item__content {
        position: relative;
        width: auto;
        padding: 0 1em;
        bottom: auto;
        min-height: auto;
        margin: 0;
        border-bottom: none;
    }

    .ds_home_list__item__content {
        position: relative; 
        padding-bottom: 0.5em;
    }

    .ds_home_list__item__content::after {
        position: absolute; 
        content: " ";
        bottom: 0;
        width: 50%;
        height: 4px;
        background: var(--dark-black);
    }
}



@media only screen and (min-width: 1920px) { 


    .ds_main {
        max-width: 90%;
    }

    
    a.ds_header__logo__short {
        padding: 0.2em 0.4em;
    }

}


/* BOOK SLIDER */


.ds_bookslider__list {
    padding: 2em 2em;
    margin: 0;
    display: flex;
    align-items: flex-start;
    border-top: 4px solid var(--dark-black);
}

.ds_bookslider__list__book {
    flex: 1;
    list-style: none;
    margin-right: 2em;
}

.ds_bookslider__list__book a:link, .ds_bookslider__list__book a:visited {
    color: var(--black);
    text-decoration: none;
}

.ds_bookslider__list__book__cover {
    position: relative;
    width: 100%;
    padding-top: 150%;
    border-right: 4px solid var(--dark-black);
    border-bottom: 4px solid var(--dark-black);
}

.ds_bookslider__list__book__cover img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    top: 0; left: 0; right: 0; bottom: 0;
}

.ds_bookslider__list__book h2 {
    font-family: "GoodHeadlineWebPro-CondNews", sans;
    padding: 0 0 0 1em;
    font-size: 1.2em;
}

.ds_bookslider__list__book--library h2 {
    color:#fff;
    padding: 0.4em 0.2em;
    text-align: center;
    background: var(--dark-black);
    text-transform: uppercase;
}

.ds_bookslider__list__book--library h2 a:link, .ds_bookslider__list__book--library h2 a:visited {
    color: #fff;
}

@media only screen and (max-width: 1024px) { 

    .ds_bookslider__list {
        display: block;
    }

    .ds_bookslider__list__book {
        display: none
    }

    .ds_bookslider__list__book:last-of-type {
        display: block;
    }

}

/* HERO */

.ds_hero {
    background: var(--grey);
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ds_hero__header a:link, .ds_hero__header a:visited {
    color: var(--black);
    font-size: 3rem;
    text-decoration: none;
    font-family: "GoodHeadlineWebPro-CondNews", sans-serif;
    text-transform: uppercase;
}

@media only screen and (max-width: 1024px) {
    .ds_hero {
        padding: 2em 1em 2em 1em;
    }
    .ds_hero__header {
        margin: 0;
        padding: 0;
    }
    .ds_hero__header a:link, .ds_hero__header a:visited {
        padding: 5px;
        width: 100%;
        margin: 0 auto;
    }
}

/* ARTICLE */

.ds_article {
    padding-top: 80px;
    position: relative;
}

.ds_article__header {
    margin: 0;
    background-color: var(--header_highlight);
    padding: 2rem 2rem 2rem 25%;
    width: 60%;
    display: inline-block;
    z-index: 10;
    position: relative;
    color: #fff;
}

.ds_article__header h1 {
    font-family: "GoodHeadlineWebPro-CondNews", sans-serif;
    color: var(--bright);
    font-size: 4em;
    margin: 0;
}

.ds_article__content {
    font-family: "PT Sans", Helvetica,Arial,sans-serif;
    background: #FFF;
    padding: 1em 15% 1em 10%;
    z-index: 100;
    position: relative;
    font-size: 1.2em;
    display: flex;
}

.ds_article__content::before {
    content: "";
    width: 10%;
    height: 80px;
    background: var(--header_highlight);
    display: block;
    position: absolute;
    left: 0%;
    top: 0;
} 

.ds_article__content--single {
    margin-top: 1em;
}


.ds_article__content--single .ds_article__content__main {
    padding-left: 5%;
}

.ds_article__content__main--single {
    margin-top: -0.5em;
}


.ds_article__content--single::before {
    background: #fff;
}

.ds_article__content__aside {
    width: calc(20% - 2em);
    padding: 0.2em 0 0 2em;
}

.ds_article__content__aside a:hover {
    color: var(--black);
    opacity: 0.5;
}

.ds_article__content__aside a.ds_article__content__aside__link:link, .ds_article__content__aside a.ds_article__content__aside__link:visited {
    text-decoration: none;
    border-bottom: none;
}

.ds_article__content__aside a:link, .ds_article__content__aside a:visited {
    color:var(--dark-black);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--dark-black);
}




.ds_article__content__aside strong {
    font-size: 1.1em;
}

.ds_article__content__aside a:link::before, .ds_article__content__aside a:hover::before {
    background: #fff;
}

.ds_article__content__main {
    width: 80%;
}

.ds_article__content__main img {
    /*     width: calc(130% - 2em);
    margin-left: calc(-30% + 2em); */
    height: auto;
    max-width: 100%;
    margin: 1em 0;
}

.ds_article__content__main li {
    margin-bottom: 0.5em;
}
.wp-image-2102 {
    display: none;
}
.ds_article__content hr {
    border: none;
    height: 4px;
    background: var(--dark-black);
    margin: 2em 0;
}

.ds_article__content h1, h2, h3, h4, h5, h6 {
    font-family: "GoodHeadlineWebPro-CondBold", sans-serif;
}

.ds_article__content h3 {
    font-family: "GoodHeadlineWebPro-CondBold", sans-serif;
    font-size: 1.4em;
}

.ds_article__cover {
    position: relative;
    padding-top: 60vh;
}

.ds_article__cover--single {
    padding-top: 0;
}

.ds_article__cover--single .ds_article__header {
    padding: 2rem 0rem 2rem 0rem;
    width: 100%;
    text-align: center;
}

.ds_article__cover__image {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
}

.ds_article__content__main a:visited, 
.ds_article__content__main a:link {
    text-decoration: underline;
    color: var(--orange);
}

.ds_article__content p {
    width: 100%;
}

@media only screen and (max-width: 1024px) {
    .ds_article__header {
        width: calc(100% - 2em);
        padding: 2em 1em;
        margin: 0;
    }
    
    .ds_article__cover {
        padding-top:0;
    }

    .ds_article__content::before {
        display: none;
    }
    .ds_article__content {
        margin: 0;
        padding: 0;
        display: block;
        overflow: auto;
    }
    .ds_article__header h1 {
        margin:0;
    }

    .ds_article__content__aside {
        display: none;
    }

    .ds_article__content__main {
        width: calc(100% - 2em);
        padding: 0 1em 1em 1em;
    }

    .ds_article__cover img {
        height: auto;
    }
    .ds_article__content__main img {
        margin-left: 0;
        width: 100%;
    }
    
    .ds_article__cover__image {
        display: none;
    }
}
.wp-image-2102 {
    display: none;
}

/* PROJECT LIST */

.ds_project_list {
    padding: 0 0 2em;
    margin: 0;
}

.ds_project_list__item {
    list-style: none;
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--black);
    display: flex;
}

.ds_project_list__cover {
    height: 18rem;
    object-fit: cover;
    margin: 0;
    width: 40%;
    align-self: flex-start;
    flex: 6;
    position: relative;
}

.ds_project_list__cover img {
    width: 100%;
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.ds_project_list__name {
    margin-top: 0;
}
.ds_project_list__description {
    flex: 10;
    margin-left: 5%;
}

.ds_project_list__organization {
    border: 1px solid var(--black);
    display: inline-block;
    padding: 0.3em 0.5em;
    margin: 0;
}

.ds_project_list__organization:hover {
    background: var(--black);
    color: #fff;
    cursor: pointer;
}

.ds_article__content__aside label {
    margin-bottom: 2rem;
    display: block;
}


.ds_article__content__aside input[type='text'] {
    border: 1px solid var(--black);
    padding: 0.5em 0.5em;
    font-size: 0.8em;
    width: 100%;
    margin: 1em 0 0;

}

.ds_select {
    max-width: 100%;
    width: 100%;
    margin-top: 1em;
    border: 1px solid var(--black);
    padding: 0.5em 0.5em;
    border-radius: 0px;
    font-size: 0.8em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.ds_project_list__header {
    font-size: 2em;
    margin: 0 0 1em;
}


.authors {
    margin-bottom: 1em;
}


/* BOOK LIST */


.ds_book_list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: 1em;
}


.ds_book_list__item {
    list-style: none;
    width: calc(30% - 1em);
    margin: 0em 0em;
    padding: 1em;
}


.ds_book_list__item__header {
    position: relative;
    width: 100%;
    padding-top: 150%;
}

.ds_book_list__item a:link, .ds_book_list__item a:visited {
    text-decoration: none;
    color: #000;
}

.ds_book_list__item__header img.ds_book_list__item__header__image {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    top: 0; left: 0; right: 0; bottom: 0;
    margin-left: 0;
    display: block;
}

.ds_book_list__item__content__title {
    font-weight: normal;
    font-size: 1.3rem;
}

.ds_book_list__item:hover .ds_book_list__item__content__details {
    display: block;
}

.ds_book_list__item__content__details {
    display: none;
    position: absolute;
    padding: 0 1em;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.8em;
}

.ds_book_list__item__content__details  a:link, .ds_book_list__item__content__details a:visited {
    color: var(--orange);
}
.wpglobus_flag{height:12px;width:18px;background-repeat:no-repeat;background-position:center left}.wpglobus_language_name{padding-left:22px}.page_item_wpglobus_menu_switch .children{display:none}.page_item_wpglobus_menu_switch:hover .children{display:block}.menu_item_wpglobus_menu_switch .sub-menu{display:none}.menu_item_wpglobus_menu_switch:hover .sub-menu{display:block}.widget_wpglobus .flags-styled .flag{margin-right:.4em}.widget_wpglobus .list a{display:block}.widget_wpglobus .list a img{display:none}.widget_wpglobus .list a span.name{display:inline-block}.widget_wpglobus .list a span.code{display:inline-block;margin:0 0 0 4px}.widget_wpglobus .list a span.code:before{content:"("}.widget_wpglobus .list a span.code:after{content:")"}.widget_wpglobus .list.flags img{margin:0 4px 0 0;display:inline-block}.widget_wpglobus .select-styled{overflow:hidden}.widget_wpglobus .dropdown-styled{text-align:center;display:inline;list-style:none}.widget_wpglobus .dropdown-styled li{text-align:left;display:inline-block;margin-right:-4px;position:relative;padding:5px 10px;background:#fff;cursor:pointer}.widget_wpglobus .dropdown-styled li:hover{background:#eee;color:#fff}.widget_wpglobus .dropdown-styled li:hover ul{display:block;opacity:1;visibility:visible}.widget_wpglobus .dropdown-styled li ul{padding:0;position:absolute;top:28px;left:-21px;width:150px;display:none;opacity:0;visibility:hidden}.widget_wpglobus .dropdown-styled li ul li{background:#eee;display:block;color:#fff}.widget_wpglobus .dropdown-styled li ul li:hover{background:#ddd}

