html,

body {

    height: 100%;

}
body {

    margin: 0;

    padding: 0;

    height: 100%;

    font-size: 14px;

    font-weight: 300;

    font-family: 'Martel', serif;

}
h2 {

    font-size: 2em;

    font-weight: 400;

    font-family: Dosis;

    text-transform: uppercase;

}
h2 .green,

li span.green {

    color: #86b2b0;

}
h2 .pink,

li span.pink {

    color: #CFA29B;

}
h2 .red,    

li span.red {

    color: #b74a39;

}
h2 .yellow,

li span.yellow {

    color: #ccc13a;

}
h2 .blue,

li span.blue {

    color: #86A4BC;

}
h2 .brown,

li span.brown {

    color: #B6AE93;

}
br.clear {

    clear: both;

}
.bgimage {

    width: 100%;

    height: 100%;

    opacity: 0.5;

    position: fixed;

    background-size: cover;

    background-position: center;

    background-repeat: repeat;

}
a {

    text-decoration: none;

    color: #777;

}
a:hover {

    color: #303030;

}
.container {

    width: 100%;

    min-height: 100%;

    margin: 0 auto -102px;

}
.container.home {

    height: 100vh;

    min-height: inherit;

}/* NAVBAR */
.navbar {

    /*top:-5%;*/

    width: 50vh;

    height: 100%;

    z-index: 0;

    position: fixed;

    max-width: 600px;

    max-height: 1200px;

}
.navmob {

    width: 100%;

    z-index: 12;

    display: none;

    position: fixed;

}
.navmob a {

    color: #303030;

}
#burger img {

    top: 0;

    z-index: 5;

    width: 30px;

    cursor: pointer;

    position: absolute;

    margin: 30px 0 0 30px;

}
.mob_bg {

    top: 0;

    left: -2px;

    z-index: -1;

    position: relative;

}
.mob_content {

    width: 100%;

    height: 420px;

    margin-top: -420px;

    position: relative;

    background: #87b2b1;

    transition: margin ease 1s;

}
.mob_bg img {

    width: 1000px;

}
.nav_bg img {

    height: 100%;

    position: absolute;

}
.logo {

    top: 5%;

    width: 100%;

    font-size: 2em;

    position: absolute;

    text-align: center;

}
.logo img {

    width: 56%;

    margin-left: 10px;

}
.mob_logo {

    top: 0;

    right: 0;

    z-index: 1;

    text-align: right;

    position: absolute;

    text-transform: uppercase;

}
.mob_logo h1 {

    margin: 18px 8px;

    font-size: 1.6em;

    font-weight: 300;

    font-family: Neuton;

    display: inline-block;

}
.menu-main-navigation-container {

    top: 43%;

    left: 26%;

    font-size: 1.5em;

    font-weight: 400;

    position: absolute;

    transform: translateY(-45%);

    font-family: 'Dosis', sans-serif;

}
.menu-main-navigation-container a {

    color: #303030;

    transition: color ease 0.2s;

}
.menu-main-navigation-container a:hover {

    color: #efefef;

}
.menu-main-navigation-container li.current-menu-item a {

    color: #efefef;

}
.menu-main-navigation-container ul {

    margin: 0;

    padding: 0;

    list-style: none;

    line-height: 2.2em;

    position: relative;

}
.mob_content .menu-main-navigation-container {

    top: 50%;

    left: 30px;

    transform: translateY(-50%);

}
.nav_cr {

    left: 26%;

    bottom: 9%;

    color: #efefef;

    font-size: 0.8em;

    position: absolute;

    /*transform: translateX(-50%);*/

}
.nav_cr a{

    color: #efefef;

}
.nav_cr a:hover{

    text-decoration: underline;

}
.nav_social {

    left: 26%;

    width: 55%;

    margin: 0;

    bottom: 14.5%;

    color: #efefef;

    font-size: 0.8em;

    position: absolute;

    /*transform: translateX(-50%);*/

}
.nav_social input.newsletter,

input-thanks

{

    width: 80%;

    border: none;

    color: rgba(255, 255, 255, 0.8);

    margin-bottom: 15px;

    outline: none;

    padding: 6px 0;

    box-sizing: border-box;

    background: transparent;

    background-size: auto 2px;

    background-repeat: no-repeat;

    font-family: 'Martel', serif;

    font-size: 1.1em;

    background-position: center bottom;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon.svg);

}
.nav_social input.newsletter::-webkit-input-placeholder { /* Chrome/Opera/Safari */

  color: rgba(255, 255, 255, 0.5);

  font-family: 'Martel', serif;

}

.nav_social input.newsletter::-moz-placeholder { /* Firefox 19+ */

  color: rgba(255, 255, 255, 0.5);

  font-family: 'Martel', serif;

}

.nav_social input.newsletter:-ms-input-placeholder { /* IE 10+ */

  color: rgba(255, 255, 255, 0.5);

  font-family: 'Martel', serif;

}

.nav_social input.newsletter:-moz-placeholder { /* Firefox 18- */

  color: rgba(255, 255, 255, 0.5);

  font-family: 'Martel', serif;

}
.nav_social a{

    color: #666;

    height: 27px;

    line-height: 2.6em;

    display: inline-block;

}
.nav_social a:hover{

    color: #eee;

}
.nav_social img{

    float: left;

    width: auto;

    height: 27px;

}
.nav_social .newsletter-submit {

    position: absolute;

    top: 0;

    right: 8%;

    background: transparent;

    border: none;

    width: 40px;

    height: 27px;

    cursor: pointer;

}
.nav_social .newsletter-submit img {

    float: none;

    width: auto;

    height: 100%;

}
.nav_social .input-thanks {

    display: block;

    margin-bottom: 10px;

}
/* CONTENT AREA */
.home_content {

    float: left;

    margin-left: 45vh;

    position: relative;

    width: calc(100% - 45vh);

}
.home .home_content {

    float: none;

    height: calc(100% - 20px);

    transition: height ease-in-out 0.8s, opacity ease-in 1s;

}
.home .home_content.hide {

    opacity: 0;

    height: 40px;

    transition: height ease-in-out 1s, opacity ease 0.5s;

}
.home .home_news {

    z-index: 11;

    margin-left: 50vh;

    position: relative;

    margin-top: -140px;

    width: calc(100% - 50vh);

}
.home .home_news .news-item {

    float: left;

    clear: both;

    position: relative;

    padding: 20px 0 25px 0;

    max-width: calc(100% - 20px);

}
.home .home_news .news-item:first-child {

    max-width: 70%;

}
.home .home_news .news-item h3 {

    margin: 5px 0;

    font-size: 1.2em;

    color: #888;

}
.home .home_news .news-item h3 a {

    color: #000;

}
.home .home_news .news-item p {

    font-size: 1em;

}
.home_news .line.horizontal {

    bottom: 0px;

    left: -27px;

    height: 6px;

    width: 100%;

    min-width: 240px;

    position: absolute;

    background-size: auto 6px;

    background-position: center 0;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon.svg);

}
.home_news .news-item:nth-last-child(2) .line.horizontal {

    display: none;

}
.home_news .line.vertical {

    top: 0px;

    left: -30px;

    width: 6px;

    height: 100%;

    position: absolute;

    background-size: 6px auto;

    background-position: 0 center;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon_v.svg);

}
.home_news h2 {

    margin: 0;

}
.tabs_wrapper {

    margin: 80px 0 20px 0;

    width: calc(97% - 70px);

    background-size: auto 6px;

    background-position: 0 0;

    background-repeat: no-repeat;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon.svg);

}
.tabs {

    margin: 0;

    padding: 0;

    font-size: 1.5em;

    position: relative;

    font-family: Dosis;

    font-weight: 400;

    list-style-type: none;

    text-transform: uppercase;

}
.tabs li {

    float: left;

    padding-right: 20px;

    background-size: 6px auto;

    background-repeat: no-repeat;

    background-position: calc(100% - 0.5em) -5%;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon_v.png);

}
.tabs li:last-child {

    background-size: 0px auto;

}
.tabs.equal3 li:not(.separator) {

    width: calc(33.33% - 32px);

    box-sizing: border-box;

}
.tabs li a {

    color: #303030;

    display: inline-block;

    padding: 15px 10px 10px 0;

    background-size: 100% 100%;

}
.tabs li.separator {

    opacity: 0;

    width: 6px;

    height: 45px;

    display: none;

    padding: 0 5px;

    margin-top: 2px;

    position: relative;

    background-size: 6px auto;

    background-repeat: no-repeat;

    background-position: 0 53%;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon_v.png);

}
.container.tabs_template .content.hide {

    display: none;

}
.reg_line.horizontal {

    bottom: 0px;

    left: 0px;

    height: 5px;

    width: 100%;

    min-width: 1000px;

    position: relative;

    background-size: auto 5px;

    background-position: center 0;

    background-image: url(https://kirjanduskeskus.ee/wp-content/themes/talk/img/joon.svg);

}
.vilde,

.tammsaare,

.unt {

    position: absolute;

}
.vilde {

    left: 0;

    width: 50%;

    height: 95%;

    max-height: 70%;

}
.tammsaare {

    right: 0;

    width: 55%;

    height: 75%;

}
.unt {

    /* display: none; */

    left: 46%;

    width: 40%;

    height: 80%;

    transform: translateX(-50%);

    top: 30%;

    max-height: 50%;

}
.vilde svg,

.tammsaare svg,

.unt svg {

    max-height: 80%;

    padding: 40px 0;

    box-sizing: border-box;

}
.tammsaare svg {

    max-height: 90%;

    padding: 80px 0 0 0;

}
.tammsaare img {

    width: 85%;

    margin: 0 20% 0 0;

}
.unt svg {

    max-height: 130%;

}
.vilde img.lause {

    top: 30%;

    left: 115%;

    z-index: 0;

}
.tammsaare img.lause {

    top: 12%;

    left: -3%;

    z-index: 0;

}
.museum_info {

    bottom: 10%;

    width: 95%;

    margin-left: 5%;

    font-size: 1.9em;

    text-align: right;

    position: absolute;

    font-family: 'Dosis', sans-serif;

}
.museum_info td {

    width: 30%;

    box-sizing: border-box;

    border-right: 5px solid transparent;

}
.museum_info td:first-child {

    width: 35%;

}
.museum_info td:first-child ul {

    padding-left: 0;

}
.museum_info td:nth-child(2) {

    width: 38%;

}
.museum_info a {

    color: #303030;

}
.museum_info ul {

    padding: 0 2em;

    list-style-type: none;

}
.tammsaare .museum_info ul {

    margin-right: 45%;

}
.museum_info li:first-child span:first-child {

    color: #86b2b0;

    font-weight: 500;

    text-transform: uppercase;

}
.museum_info li:first-child span:last-child {

    font-weight: 500;

    text-transform: uppercase;

}/* FOOTER */
footer {

    bottom: 0;

    height: 97px;

    margin-left: 50vh;

    position: relative;

    width: calc(100% - 50vh);

    border-top: 5px solid transparent;

}
.push {

    height: 97px;

}
.home footer {

    bottom: 0;

    height: 10vh;

    margin-left: 50vh;

    position: absolute;

    width: calc(95% - 50vh);

    border-top: 5px solid transparent;

}
.organizations {

    top: 50%;

    width: 100%;

    height: 60%;

    opacity: 0.7;

    display: none;

    margin-left: 4em;

    position: absolute;

    transform: translateY(-50%);

}
.organizations img {

    float: right;

    height: 100%;

    padding: 0 2em;

}
/* NEWS */
.news ul {

    margin: 0;

    padding: 0;

    list-style: none;

}
@media only screen and (max-height: 940px) {

    .menu-main-navigation-container ul {

        line-height: 2em;

    }

}
@media only screen and (max-height: 880px) {

    .menu-main-navigation-container {

        top: 40%;

        font-size: 1.4em;

    }

}
@media only screen and (max-height: 800px) {

    .logo {

        top: 3%;

    }

    .menu-main-navigation-container {

        top: 38%;

    }

}
@media screen and (max-height: 730px) {

    .navbar {

        top: -70px;

        width: 365px;

        height: 730px;

    }

    .logo {

        top: 12%;

    }

    .logo img {

        width: 50%;

        margin-left: 0px;

    }

    .nav_social input.newsletter

    {

        font-size: 12px;

        margin-bottom: 0;

        background-image: none;

    }
    .nav_social .newsletter-submit {

        right: 2%;

        height: 25px;

    }
    .menu-main-navigation-container {

        top: 49%;

        font-size: 1.3em;

        transform: translateY(-55%);

    }

    .menu-main-navigation-container ul {

        line-height: 1.9em;

    }

    .nav_cr {

        bottom: 10%;

        /*width: 175px;*/

    }

    .vilde svg {

        max-height: 100%;

    }

    .tammsaare svg {

        max-height: 90%;

    }

    .unt svg {

        max-height: 150%;

    }

    .home .home_content {

        /*height: 656px;*/

        width: calc(100% - 320px);

        margin-left: 320px;

    }

    .home .home_news {

        margin-top: -80px;

        margin-left: 360px;

        width: calc(100% - 360px);

    }

    .home .home_news .news-item {

        padding: 15px 0 10px 0;

    }

    .home .home_news .news-item h3 {

        margin: 0;

    }

    .museum_info {

        bottom: 0;

    }

    .home footer {

        top: -5px;

        height: 74px;

        position: relative;

    }

    .tammsaare svg {

        padding: 40px 0 0 0;

    }

}
@media screen and (max-width: 1550px) {

    /* .tammsaare {

        margin-top: 50px;

    } */

}
@media screen and (max-width: 1250px) {

    .museum_info td:first-child {

        width: 35%;

    }

    .museum_info td:nth-child(2) {

        width: 45%;

    }

    .museum_info td {

        width: 20%;

    }

    .tabs {

        font-size: 1.3em;

    }

}
@media screen and (max-width: 800px) {

    .museum_info {

        margin: 0;

        width: 100%;

    }

    .museum_info td:last-child {

        display: none;

    }

    .container footer {

        width: calc(100% - 50vh);

    }

}
@media screen and (max-width: 850px) {

    .container {

        height: auto;

        min-height: 100%;

        margin: 0 auto -102px;

    }

    .nav_bg img {

        height: auto;

        top: -640px;

        left: -25px;

    }

    .navbar {

        top: 0;

        width: 350px;

        z-index: 500;

        height: auto;

        position: fixed;

        overflow: visible;

        display: none;

    }

    .navbar .logo {

        margin-top: 10px;

        width: 95%;

    }

    .navbar .logo img {

        margin: 0;

    }

    .navbar .menu-main-navigation-container {

        display: none;

    }

    .navmob {

        top: 0;
        display: block;

    }

    .menu-main-navigation-container {

        top: 60%;

        font-size: 1.3em;

        transform: translateY(-55%);

    }

    .menu-main-navigation-container ul {

        line-height: 1.8em;

    }

    .home_content {

        width: 100%;

        margin: 100px 0 0 0;

        box-sizing: border-box;

    }

    .home .home_news {

        width: calc(100% - 50px);

        margin-left: 50px;

    }

    .home .home_content {

        width: 100%;

        margin: 0;

        box-sizing: border-box;

    }

    .home .home_news .news-item:first-child

    {

        max-width: calc(100% - 20px);

    }

    .vilde,

    .tammsaare {

        height: 100%;

        margin-top: 40px;

    }

    /* .unt {

        width: 50%;

    } */

    .museum_info {

        margin: 0;

        width: 100%;

        padding: 0 10px;

        font-size: 1.7em;

    }

    .home_content .museum_info td {

        width: 50%;

    }

    .home_content .museum_info ul {

        padding: 0 15px 0 15px;

        margin: 5px 0;

    }

    .home_content .content {

        width: auto;

        margin: 0 20px;

    }

    footer,

    .container.home footer {

        bottom: 0;

        margin: 0;

        width: 100%;

        height: 97px;

        position: relative;

        border-top: 5px solid transparent;

    }

    .container.home footer {

        display: none;

    }

}
@media screen and (min-width: 600px) and (max-width: 850px) and (max-height: 770px) {

    /*.tammsaare

    {

        display: none;

    }*/

}
@media screen and (max-width: 600px) {

    .vilde {

        margin-top: 40px;

        width: 60%;

    }

    .tammsaare {

        margin-top: 90px;

        width: 60%;

    }

    .unt {

        top: 40%;

        width: 47%;

        left: 40%;

    }

}
@media screen and (max-width: 850px) and (max-height: 730px) {

    .tammsaare {

        padding: 40px 0 0 0;

    }

    .unt {

        top: 43%;

        left: 33%;

    }

}
@media screen and (max-width: 850px) and (max-height: 770px) {

    .home .home_news {

        margin-top: 0;

    }

}
@media screen and (max-width: 450px) {

    .navbar {

        width: 100%;

        z-index: 12;

        /*text-align: center;*/

    }

    .navbar .logo {

        width: 100%;

    }

    .navbar .logo img {

        width: 155px;

        margin-left: 20px;

    }

    .nav_bg img {

        left: 50%;

        width: 350px;

        transform: translateX(-50%);

    }

    .home .home_content {

        height: calc(100% - 100px);

    }

    .home .home_news {

        margin-top: 0px;

    }

    .vilde {

        height: 100%;

        margin-top: 40px;

    }

    .tammsaare {

        height: 100%;

        margin-top: 70px;

    }

}
@media screen and (max-width: 450px) and (max-height: 560px) {

    .unt {

        top: 43%;

        left: 32%;

    }

    .tammsaare {

        width: 55%;

    }

}
@media screen and (max-width: 450px) and (min-height: 700px) {

    .unt {

        left: 36%;

        width: 60%;

    }

    .tammsaare {

        margin-top: 90px;

    }

}
@media screen and (max-width: 380px) {

    .mob_logo h1 {

        font-size: 1.3em;

    }

}