/*!
Theme Name: forestportal
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: forestportal
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

forestportal is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
    - Normalize
    - Box sizing
# Base
    - Typography
    - Elements
    - Links
    - Forms
## Layouts
# Components
    - Navigation
    - Posts and pages
    - Comments
    - Widgets
    - Media
    - Captions
    - Galleries
# plugins
    - Jetpack infinite scroll
# Utilities
    - Accessibility
    - Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
     ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


.pagination{
    padding-top: 30px;
}
.faq-questions__items .faq__wrapper {
    height: 475px;
}

.news-block-item img{
    max-height: 297px;
    object-fit: cover;
}

.news-block-item.news-block-item_sm img{
    height: 193px;
    object-fit: cover;
}
.video-block-item img{
    height: 472px!important;
    object-fit: cover;
}
.video-block-item.video-block-item_sm img{
    height: 176px!important;
    object-fit: cover;
}
.video-block-item_sm .video-block-item__img:after {
    width: 62.5px!important;
    height: 62.5px!important;
}

.news-block-item__content-wrapper>p{
    color: #000000;
}

.btn-6:hover, button:focus{
    color: #fff;

}
.btn-6{
    position: relative;
    overflow: hidden;
    z-index: -2;
    border: 0;
    transition: width .4s cubic-bezier(0.54, 0.09, 0.29, 0.9), height .4s cubic-bezier(0.54, 0.09, 0.29, 0.9);

}
.btn-6 span {
    position: absolute;
    display: block;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 0%;
    height: 0%;
    border-radius: 50%;
    background: linear-gradient(217deg, rgba(255,0,0,0.8), rgba(255,0,0,0) 70.71%),linear-gradient(127deg, rgba(0,0,255,0.8), rgba(0,0,255,0) 70.71%),linear-gradient(336deg, rgba(0,255,0,0.8), rgba(0,255,0,0) 70.71%);
    transition: width .8s cubic-bezier(0.54, 0.09, 0.29, 0.9), height .4s cubic-bezier(0.54, 0.09, 0.29, 0.9);
    -webkit-transition: width .8s cubic-bezier(0.54, 0.09, 0.29, 0.9), height .4s cubic-bezier(0.54, 0.09, 0.29, 0.9);
    -moz-transition: width .8s cubic-bezier(0.54, 0.09, 0.29, 0.9), height .4s cubic-bezier(0.54, 0.09, 0.29, 0.9);
    -ms-transition: width .8s cubic-bezier(0.54, 0.09, 0.29, 0.9), height .4s cubic-bezier(0.54, 0.09, 0.29, 0.9);
    -o-transition: width .8s cubic-bezier(0.54, 0.09, 0.29, 0.9), height .4s cubic-bezier(0.54, 0.09, 0.29, 0.9);
    z-index: -1
}
.btn-6:hover span, button:focus span {
    width: 400%;
    height: 400%;
}

.news-block-item__content-wrapper>.title.title_center{
    text-align: center;
    margin-bottom: 30px;
}

.variants .news-block-item__img img{
    max-height: 450px;
    height: 100%;
    object-fit: cover;
}
.variants .row{
    align-items: center;
}

.variants .row.row_rewerce{
    flex-direction: row-reverse;
}

.variant_3_4 .news-block-item{
    border: 1px solid;
    padding: 10px 10px 10px 90px;
}
.variant_3_4 .news-block-item.ml_variation {
    padding: 10px 10px 10px 90px;

}
.variant_3_4 .news-block-item.mr_variation {
    padding: 10px 90px 10px 10px;
}

.col.col_6.ml_variation{
    margin-right: -70px;
    position: relative;
    z-index: 111;
}

.col.col_6.mr_variation{
    margin-left: -70px;
    position: relative;
    z-index: 111;
}
.carousel-slider .carousel-slider__item img {

    height: 300px!important;
    object-fit: cover;
}


.news-block-item img,.video-block-item  img{
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.news-block-item:hover img,.video-block-item:hover img{
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}
.video-block-item:hover .video-block-item__img:after{
    width: 80px!important;
    height: 80px!important;
}
.news-block-item__more:after,.video-block-item__img:after {
    transition: .3s;
}

.news-block-item:hover  .news-block-item__more:after {
    margin-left: 20px;
}
.wave,
.wave::before,
.wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250vw;
    height: 250vw;
    margin-left: -125vw;
    transform-origin: 50% 50%;
    background-color: transparent;
    border-radius: 38% 42%;
    box-shadow: inset 0 0 10vw #BDE2B7;
    animation: spin 36s infinite linear;
    mix-blend-mode: multiply;
}

.wave::before {
    width: 105%;
    height: 95%;
    margin-top: -125vw;
    transform-origin: 49% 51%;
    border-radius: 40% 38%;
    box-shadow: inset 0 0 10vw #57B77A;
    animation: spin 33s infinite linear;
}

.wave::after {
    width: 102%;
    height: 98%;
    margin-top: -125vw;
    transform-origin: 51% 49%;
    border-radius: 48% 42%;
    box-shadow: inset 0 0 10vw #8FCEAB;
    animation: spin 30s infinite lixsear;
}
.facts-item__images{
    display: flex;
    flex-wrap: wrap;
}
.facts-item__images .item_img{
    width: 25%;
}

.split-slider {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-color: #444;
    height: 100%;
}

.split-slider__placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.25em;
    line-height: 1.4;
    font-size: 4vmax;
    text-transform: uppercase;
    letter-spacing: 1ch;
}

.split-slider__placeholder_error {
    background-color: red;
}

.split-slider::before {
    content: "";
    display: block;
    padding-top: calc(9 / 16 * 100%);
}

.split-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.slide {
    margin: 0;
    opacity: 1;
    transition: opacity 0.75s;
}

.slide__image {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: none no-repeat 50% 50%;
    background-size: cover;
    background-position: inherit
}

.slide__image-part {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    background: inherit;
    /*      animation-timing-function: cubic-bezier(0.51, 0.14, 0.32, 0.96); */
    animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.slide__image-part::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 200%;
    background: inherit;
}

.slide__image-part_left {
    left: 0;
    animation-name: toTop;
}

.slide__image-part_left::before {
    left: 0;
}

.slide__image-part_right {
    right: 0;
    animation-name: toBottom;
}

.slide__image-part_right::before {
    right: 0;
}

.slide__caption {
    position: absolute;
    z-index: 1;
    right:  1em;
    bottom: 1em;
    height:      1em;
    line-height: 1em;
    overflow: hidden;
    text-transform: uppercase;
    text-align: right;
    font-size: 6vw;
    letter-spacing: 0.2em;
}

.slide__text {
    position: relative;
    top: 100%;
    display: block;
    animation: toBottom 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.slide_active {}

.slide_active .slide__image-part_left {
    animation-name: fromBottom;
}

.slide_active .slide__image-part_right {
    animation-name: fromTop;
}

.slide_active .slide__text {
    animation-name: fromTop;
}

.slide_wait {
    opacity: 0;
}

.slide_wait .slide__image-part,
.slide_wait .slide__text {
    animation-duration: 0s;
}
.facts_line_title_size .line-charts__left{
    width: 120px!important;
    font-size: 12px !important;
}
.bubles-charts__bubles span{
    line-height: normal!important;
    display: inline-block;
    text-align: center;
}

.bubles-charts__bubles>span:nth-child(2) {
    top: 67px!important;
    left: -10px!important;
    width: 100px!important;
    height: 100px!important;
    z-index: 1!important;
}
.bubles-charts__bubles>span b{
    font-size: 8px;
    display: block;
}
.facts__item{
    position: relative;
}
.line-charts__title{
    font-size: 20px;
}
.facts__item .line-charts__line{
    height: 20px;
}
.facts__item .line-charts__line-filled{
    font-size: 13px;
}

.facts__item  .line-charts__title {
    font-size: 15px;

}

@keyframes fromBottom {
    /*  from { transform: translate3d(0, 100%, 0); }
        to { transform: translate3d(0, 0, 0); } */
    from { transform: translate3d(0, 0%, 0); }
    to { transform: translate3d(0, -100%, 0); }
}

@keyframes fromTop {
    /*  from { transform: translate3d(0, -100%, 0); }
        to { transform: translate3d(0, 0, 0); } */
    from { transform: translate3d(0, -200%, 0); }
    to { transform: translate3d(0, -100%, 0); }
}

@keyframes toBottom {
    /*  from { transform: translate3d(0, 0, 0); }
        to { transforam: translate3d(0, 100%, 0); } */
    from { transform: translate3d(0, -100%, 0); }
    to { transform: translate3d(0, 0%, 0); }
}

@keyframes toTop {
    /*  from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(0, -100%, 0); } */
    from { transform: translate3d(0, -100%, 0); }
    to { transform: translate3d(0, -200%, 0); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
@media (max-width: 992px){
    .col.col_6.mr_variation{
        margin-left: 0;
    }
    .variant_3_4 .news-block-item.mr_variation{
        padding: 10px;
    }
}

@media (max-width: 766px){
    .facts-item_bubles {
        height: 360px!important;
    }
    .facts__items .col_4{
        width: 100%!important;
    }
}

/*** for new site ***/
.header__nav ul li a {
    color: rgb(0, 103, 29) !important;
    /*color: #00671d !important;*/
    /*color: #006a2a !important;*/
}
.footer {
    background: rgb(0, 103, 29) !important;
    /*background: #00671d !important;*/
    /*background: #006a2a !important;*/
}
.title {
    color: rgb(0, 103, 29) !important;
    /*color: #00671d !important;*/
    /*color: #006a2a !important;*/
}
.title_white {
    color: #fff !important;
}
.logos-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-box-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.logos-block__icon.logos-block__icon_lu {
    max-width: 240px;
}
.footer__logo {
    margin-top: -25px;
}
.contacts-block_new .contacts-block__content {
    padding: 20px 20px 60px 20px;
}
:root {
    --color12: #81bf6d;
}

.kolektyv {
    margin-top: 30px;
}
.kolektyv {
    text-align: center;
}
.dyrector .kolektyv img {
    width: 400px;
    height: auto;
}
.mt-35 {
    margin-top: 35px;
}
.mb-2 {
    margin-bottom: 0.5rem!important;
}
.admin .kolektyv {
    text-align: center;
    display: table;
    margin-bottom: 30px;
    width: 100%;
}
.admin .kolektyv img {
    width: 200px;
    height: auto;
    float: left;
}
.admin .member-content {
    text-align: left;
    margin-left: 30px;
    padding-left: 30px;
    display: table;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
    caption-side: bottom;
    border-collapse: collapse;
}
.contenttable {
    width: 100%;
    color: var(--color2);
    border-spacing: 0;
    border: 1px solid var(--color12);
    text-align: center;
}
.structure-block table {
    width: 100%;
    color: var(--color2);
    border-spacing: 0;
    border: 1px solid var(--color12);
}
.structure-block td {
    font-size: 12px;
    line-height: 1.1;
}
.contenttable tr:first-child, .contenttable tr.tr-head, .structure-block table tr:first-child {
    background: var(--color12);
    font-weight: bold;
    font-size: 14px;
    padding: 15px;
    text-align: center;
    color: #fff;
}
.contenttable tr:nth-child(even) {
    background: #EEEEE0;
}
.ce-table td, .ce-table th {
    vertical-align: top;
}
.contenttable td, .structure-block td {
    border-left: 1px solid var(--color12);
    border-top: 1px solid var(--color12);
    padding: 5px;
    text-align: center;
}
.contenttable tr:first-child td, .structure-block tr:first-child td  {
    border-top: none;
}
.contenttable td:first-child {
    border-left: none;
}
.structure-block td a {
    color: rgb(0, 103, 29);
    /*color: #00671d;*/
    /*color: #006a2a;*/
}

.structure-block__table-title {
    text-align: center;
    font-size: 1.75em;
    line-height: 1.2;
    width: 100%;
    margin-bottom: 20px;
}
.structure-block__table-wrap {
    display: block;
    width: 100%;
    overflow: auto;
}

.entry-header {
    padding: 70px 0 30px 0;
    text-transform: uppercase;
}
.entry-title {
    font-size: 2em;
    line-height: 1.2;
    /*color: #006a2a;*/
    color: rgb(0, 103, 29);
    /*color: #00671d;*/
    text-transform: uppercase;
}
.contacts-block__info p {
    font-size: 12px;

}
.contacts-block_new .contacts-block__content-items>.row>.col {
    padding-top: 15px;
    padding-bottom: 15px;
}


.site-header .head-menu .current-menu-item .sub-menu a:after {
  display: none;
}

.head-menu li {
    position: relative;
}
.head-menu li ul.sub-menu {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;  
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
    
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -22px;
  top: 28px;
  z-index: -1;
  width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;

  background: #FFFFFF;
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.1);
}

.head-menu ul.sub-menu li {
  width: 100%;
  height: auto;
  text-align: left;
  cursor: auto;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
  margin: 0;
  padding: 0!important;
  max-width: 296px;
  border-bottom: 1px solid #DDDDDD;
}
.head-menu ul.sub-menu li:last-child {
  border-bottom: none;
}

.head-menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  z-index: 100;
  -webkit-transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
  -moz-transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
  -o-transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
  -ms-transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
  transition: all 0.2s cubic-bezier(0.25, 0, 0.25, 1);
}

.head-menu li ul.sub-menu li {
  margin-right: 0;
  padding: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.head-menu li ul.sub-menu > li:not(.menu-item-has-children) > a {
  text-align: left;
  padding: 12px 22px;
  display: inline-block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.head-menu li.current-menu-ancestor ul.sub-menu > li.current-menu-item > a {
  color: #fff !important;
}
.head-menu li ul.sub-menu > li:not(.menu-item-has-children):last-child > a {
  padding: 12px 22px 20px;
}
.head-menu li ul.sub-menu > li > a:after {
  display: none;
}

.head-menu ul.sub-menu li:hover, .head-menu ul.sub-menu li.current-menu-item {
  background: var(--color12);
  color: #fff !important;
}

.head-menu ul.sub-menu li:not(.menu-item-has-children):hover a {
  color: #fff !important;
}
.head-menu li.menu-item-has-children:after {
  content: '';
  width: 13px;
  height: 8px;
  display: inline-block;
  position: absolute;
  top: 7px;
  right: -16px;
  background-image: url(assets/img/arrow-down.svg);
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.head-menu li.menu-item-has-children:hover:after {
  -webkit-transform: scaleY(-1);
      -ms-transform: scaleY(-1);
          transform: scaleY(-1);
  -webkit-transform-origin: center center;
      -ms-transform-origin: center center;
          transform-origin: center center;
}
.mob-menu__content .head-menu li.menu-item-has-children:after {
    right: 0;
}
.social-net .social-net__ico {
    margin-right: 10px;
    margin-left: 10px;
}
.social-net .social-net__ico path, .social-net .social-net__ico g, .social-net .social-net__ico svg {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.social-net .social-net__ico:hover path, .social-net .social-net__ico:hover g {
    opacity: 1;
}
.social-net .social-net__ico:hover svg {
    transform: scale(1.2);
}
.social-net .social-net__ico:hover img {
    transform: scale(1.2);
}
.social-net span {
    font-size: 14px;
}

.dep-trigger {
    cursor: pointer;
}
.dep-trigger:hover td, .dep-trigger.open td {
    color: #008000;
}

@media screen and (min-width: 1440px) {
    .logos-block__icon.logos-block__icon_lu {
        max-width: 360px;
    }
}
@media screen and (min-width: 768px) {
    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }    
}
@media screen and (max-width: 480px) {
    .admin .member-content {
        display: -webkit-box;
        display: -moz-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -moz-box-orient: vertical;
      -moz-box-direction: normal;  
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
    }
    .structure-block__table-title {
        font-size: 1.5em;
    }
    .entry-title {
        font-size: 1.5em;
    }
    .footer__logo {
        margin: -25px auto 0;
    }
}

/*** end for new site ***/