@font-face {
    font-family: 'Bloggersans';
    src: url('../fonts/Bloggersansbold.woff2') format("woff2"), url('../fonts/Bloggersansbold.woff') format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Bloggersans';
    src: url('../fonts/Bloggersans.woff2') format("woff2"), url('../fonts/Bloggersans.woff') format("woff");
    font-weight: 400;
    font-style: normal;
}
body {
    padding-left: 19px;
    padding-right: 19px;
    font-family: "Bloggersans", "Arial", sans-serif;
    line-height: 18px;
    font-size: 14px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
}
a:hover {text-decoration:none;}
a {color: var(--green);}
html {
    --dark-green: #3D8059;
    --green:#219653;
    --light-green: #9AEC93;
    --borsh: #E90931;
    /* цвета datepicker */
    --litepicker-is-start-color-bg: var(--borsh) !important ;
    --litepicker-is-end-color-bg: var(--borsh) !important ;
    --litepicker-is-in-range-color: #F2F2F2 !important;
}

@media only screen and (min-width: 340px) {
    .chart__filter__button {
        min-width: 100px !important;
    }
}

@media only screen and (min-width: 570px) {
    .header__text {
        text-align: left !important;
        padding-left: 100px;
        text-align: left !important;
    }
    .chart__filter__button {
        max-width: 100px;
    }
    .chart__filter {
        width: 100%;                
        justify-content: flex-end !important;
    }
    .chart__export {
        display: flex;            
        align-items: center;
        gap: 10px;
        padding-left: 40px;
    }
    .chart__features {
        display: flex;   
        flex-direction: row !important;             
        justify-content: flex-end !important;
        padding-top: 10px;
        gap: 20px;
    }
    .filter-selects, .month-filter-selects {
        justify-content: flex-start !important;
    }
    .nice-select {
        width: 200px !important;
        line-height: 35px;
    }
    /* .chart__city-chart__city_name {
        width: 20%;
    }
    .chart__city-chart__horisontal-bar {
        width: 80%;
    } */
    .chart__city-grid-chart{
        grid-template-columns: 2.3fr 4fr !important;
    }
    .horisontal_bars_container {
        /* margin-right: 10px; */
        position: relative;
    }
    .vertical_grid__container {
        width: 100%;
        height: 100%;
        position: absolute;
    }
    .vertical_grid__items {
        display: flex !important;
        justify-content: space-between;
        height: 100%;
    }
    .vertical_grid__item {
        border-left: 1px dashed lightgray;
        height: 100%;
        width: 100%;
        position: relative;
    }
    .vertical_grid__item__legend {
        position: absolute;
        bottom: -25px;
        /* left: 0; */
        right: 0;
        transform: translateX(50%);
        /* text-align: center; */
    }
    .vertical_grid__item:nth-last-child(1) {
        border-right: 1px dashed lightgray;
    }
    .chart__city-grid-chart__horisontal-bars {        
        /* margin-right: 10px; */
        /* background-size: 14.22% 3%;
        background-image:
        linear-gradient(to bottom, white 1px, transparent 1px), linear-gradient(to right, lightgray 1px, transparent 1px); */
    }
    .chart__city-chart__city_name {
        line-height: 12px;
    }
    .chart__legend__items {
        display: flex !important;
    } 
    .chart__vertical-bars {
        gap: 10px;
    }         
}

@media only screen and (max-width: 683px) {
    .chart__month-filter__button {
        /* margin: 0 10px; */
        min-width: 55px !important;  
        font-size: 15px !important;
    }
    .chart__vertical-bar__horisontal-legend {
        font-size: 12px;
    }
}
@media only screen and (min-width: 580px) {
    .chart__month-filter__button {
        /* margin: 0 10px; */
    }
}

@media only screen and (min-width: 768px) {
    /* .chart__month-filter {
        justify-content: space-between;
    } */
    .chart__month-filter__button {
        /* margin: 0 5px; */
    }
    .sponsors__header {
        max-width: 500px !important;
    }
    .chart__city-grid-chart {
        grid-template-columns: 1.5fr 4fr !important;
    }
    
}

@media only screen and (min-width: 800px) {
    .chart__month-filter__button {
        /* margin: 0 5px; */
    }
}
@media only screen and (min-width: 940px) {
    .chart__month-filter__button {
        /* margin: 0 21px; */
    }
}

@media only screen and (min-width: 1000px) {
    .nav-container {
        width: 900px !important;
    }
    .chart, .sponsors  {
        width: 900px;
    }
    .chart__city-grid-chart {
        grid-template-columns: 1.2fr 4fr !important;
    }
    .header {
        width: 800px;
    }
    .faq {
        width: 700px;
    }
    .footer__divider, .footer  {
        width: 900px;
    }
    .footer  {
        align-items: flex-end !important;
    }
    .footer__social  {
        align-items: flex-end !important;
    }
    .footer__contacts  {
        align-items: flex-end !important;
    }
    .footer.calculator .footer__contacts{
        align-items: flex-start !important;
        margin-bottom: 30px;
    }
    .footer.calculator {
        justify-content: space-between;
        flex-direction: row-reverse;
        padding-left: 150px !important;
        width: 750px;
    }
    .footer__social__header {
        text-align: right !important;
        width: 400px !important;
    }
    .footer__borsh__image {
        position: absolute;
        left: 0;
        height: 333px !important;                
    }

    .footer__divider {
        margin-left: 150px !important;
        width: 750px !important;
    }  
    .flatpage_wrapper {
        padding-left: 150px !important;
    }          
}
@media only screen and (min-width: 1200px) {
    body {
        background-size: 150px;
        background-image: url('../img/bor_l.png'), url('../img/bor_r.png');
        background-repeat: repeat-y;
        background-position: left top, right top;
    }
}
@media only screen and (min-width: 1300px) {
    .nav-container {
        width: 1000px !important;
    }
}

.spacer10 {
    height: 10px;
}
.nav-container {
    width: 100%;
}
.navigation-menu {
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.navigation-menu__items {
    list-style: none;
    margin: 0;
    padding-top: 11px;
    padding-bottom: 11px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    flex-grow: 4;
    /* background: red; */
}
.navigation-menu__item {
    
}
.navigation-menu__item a {
    color: var(--green);
}

.calc-button {
    background: var(--light-green);
    padding: 11px 30px 9px 30px;
    /* margin-left: auto; */
    margin-left: 20px;
    border-radius: 20px;
    text-align: center;
    text-transform: uppercase;
    color: var(--dark-green);
    text-decoration: none;
}


.header {
    margin-bottom: 30px;
    margin-top: 10px;
}
.header__logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 294px;
}
.header__text {
    text-align: right;
    max-width: 455px;
    font-weight: normal;
    font-size: 16px;
}
.header__logo__img img  {
    height: 60px;
}
.header__logo__text img {
    height: 27px;
}


.chart {            
    padding-bottom: 20px;
    max-width: 900px;
}

.hideable_chart {
    min-height: 100px;
}
.city_chart {
    /* margin-top: 20px; */
}
.alltime_chart {
    margin-bottom: 30px;
    padding-right: 40px;
    margin-top: 25px;
}
.chart__vertical-bars {
    /* padding-top: 21px; */
}
.period_chart {
    margin-bottom: 30px;
    padding-right: 40px;
    /* margin-top: 25px; */
}
.datepicker-container {
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
}
#datepicker {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    margin-right: -40px;
    margin-bottom: 15px;
    padding-top: 3px;
    padding-left: 10px;
    padding-right: 10px;
    background: #F2F2F2;
    border-radius: 20px;
    border: none;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.05);
    height: 30px;
    width: 220px;
    text-align: center;
    outline: none;            
}

.chart__chart-container {
    border-bottom: 1px solid #C8C8C8;
    padding-top: 10px;
    padding-bottom: 3px;
    margin-bottom: 15px;
}
.chart__filter {
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap:20px;
}
.chart__filter__button {
    flex-grow: 1;
    text-transform: uppercase;
    background: #fff;
    border-radius: 20px;
    line-height: 30px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    min-width: 120px;
	font-size: 12px;
}
.chart__filter__button-selected {
    background: #F2F2F2;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.05);
}
.chart__month-filter {
    display: flex;
    /* flex-wrap: wrap; */
    row-gap: 10px;
    column-gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 15px;
    border-bottom:1px solid #C8C8C8;
    justify-content: space-around;
}
.chart__month-filter__button {
    font-size: 18px;
    min-width: 90px;  
    /* flex-grow: 2;                       */
}
.chart_message {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}

.chart__month-filter__button-selected {
    background: #F2F2F2;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.05);
}


.chart__city-chart {
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.4vw;
}
.chart__city-chart__horisontal-bar {
    background: var(--borsh);
    height: 20px;
    margin-bottom: 5px
}
.chart__city-chart__horisontal-bar-avg {
    background: #5DC288;
}
.chart__city-chart__horisontal-bar-user {
    background: #BDBDBD;
}       
.chart__disclaimer__container {
    color: #828282 ;
    grid-column: 1/3;
    padding-top: 30px;
}
.vertical_grid__items { display: none;}

.chart__city-chart__city_name {
    height: 20px;
    margin-bottom: 5px;
    display: flex;
}
.chart__city-grid-chart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* justify-content: space-between; */
}
.chart__city-grid-chart__cities {
    /* background: #F2F2F2; */
}

/* .chart__city-grid-chart__horisontal-bars {
    height: 1px;
    background-image: linear-gradient(90deg, #000, #000 75%, transparent 75%, transparent 100%);
    background-size: 20px 1px;
    border: none;
} */
.chart__legend__items {
    margin-top: 10px;
    display: none;
    justify-content: space-between;
}   

/* .chart__alltime-chart__container {
    display: none;
    width: 100%;
    height: 400px;
} */

.chart__alltime-chart {
    /* width: 100%; */
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}
.chart__vertical-bars {
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* padding-bottom: 23px; */
    gap: 5px;
}
.chart__vertical-bar {
    background: var(--borsh);
    min-width: 40px;
    max-width: 100px;
    position: relative;
    -webkit-flex: 2 1 auto;
    -ms-flex: 2 1 auto;
}
/* .chart__vertical-bar__horisontal-legend {
    position: absolute;
    bottom: -20px;
    left: 3px;
    width: 100px;
} */
.chart__vertical-bar__horisontal-legend {
    /* position: absolute; */
    bottom: -20px;
    /* left: 3px; */
    /* width: 100px; */
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}
.chart__horisontal-legend {
    height: 400px;
    width: 80px;
    margin-bottom: 21px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;    
}
.chart__vertical-bars {
    /* background-size: 1% 22.5%;
    background-position: 0 22px; */
    /* background-image:
    linear-gradient(to right, white 1px, transparent 1px), linear-gradient(to top, lightgray 1px, transparent 1px); */
}

.horisontal_grid__container {
    width: 100%;
    height: 100%;
    position: absolute;
}
.horisontal_grid__items {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-around;    
}
.horisontal_grid__item {
    border-bottom: 1px dashed lightgray;
    height: 100%;
    position: relative;
}
.horisontal_grid__item:first-child {
    border-top: 1px dashed lightgray;
}
.horisontal_grid__item__legend {
    text-align: right;
    position: absolute;
    right: -40px;
    top: -8px;
}


.chart__period-chart {
    display: none;
}

.filter-selects, .month-filter-selects {
    display: flex;
    justify-content:center;
    flex-grow: 1;
    gap: 10px;
    flex-wrap: wrap;       
    width: fit-content;     
    /* margin-right: 30px; */
}
.nice-select {
    border-radius: 20px !important;
    min-width: 200px;
    height: 35px;
    line-height: 36px;
    box-shadow: inset 0px 2px 2px rgb(0 0 0 / 5%);
    background: #F2F2F2;
    width: 100%;
}
.month-filter-selects .nice-select {
    width: fit-content !important;
    line-height: 35px;
    height: 30px;
    line-height: 30px;
    min-width: 100px !important;
    background-color: #F2F2F2;
}
.list {
    max-height: 300px;
    overflow-y: scroll !important;
}


.chart__currencies {
    display: flex;
    gap: 10px;
}
.chart__currencies__button {
    min-width: 40px;
    padding-top: 2px;
}
.chart__export {
    display: flex;            
    align-items: center;
    gap: 10px;
    width: 226px;
}
.chart__features {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    padding-top: 10px;
    flex-wrap: wrap;
    row-gap: 20px;
}        
.button {
    font-size: 18px;         
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* display: table; height: 30px; overflow: hidden; */
}
.button div {
    /* display: table-cell; vertical-align: middle; */
}
.button-selected {
    background: #F2F2F2;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.05);
}
.button-disabled {
    box-shadow: unset;
    cursor: default;
}


.sponsors {
    margin-top: 40px;
    max-width: 900px;
}
.sponsors__x-divider {
    background: url('../img/x.png') 0 0 repeat-x;
    height: 10px;
}
.sponsors__header {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    max-width: 300px;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 15px;
}
.sponsors__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
    column-gap: 50px;
    padding-bottom: 20px;
}


.faq {
    max-width: 650px;
}
.faq__item {
    padding-top: 30px;
}
.faq__header {
    color: var(--borsh);
    font-size: 30px;
    line-height: 33px;
    text-align: center;
    margin: auto;
    /* padding-bottom: 35px; */
    padding-top: 20px;
    font-weight: 400;
}
.faq__item__header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 10px;
    cursor: pointer;
}
.faq__item__header__chevron {
    margin-right: 15px;
}
.faq__item__header__text {
    font-size: 22px;
    text-decoration: underline;
    text-decoration-style: dotted;
    line-height: 30px;         
}
.faq__item:not(.active) .faq__item__content {
    display: none;
}
.faq__item__content {
    padding-left: 30px;
    padding-bottom: 10px;
    transition-duration: 0.6s;
}
.table-container {padding-top: 20px;}
.borsh__ingredients__table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #C8C8C8;
}
.borsh__ingredients__table td, .borsh__ingredients__table th {
    border-collapse: collapse;
    border: 1px solid #C8C8C8;
}
.borsh__ingredients__table td {
    height: 25px;
}
.borsh__ingredients__table td:nth-child(2n){
    width: 80px;
    text-align: center;
}
.borsh__ingredients__table td:nth-child(2n+1){
    padding-left: 20px;
}
.borsh__ingredients__table th {
    height: 32px;
    background: lightgray;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.footer__divider {
    height: 23px;
    background: url('../img/footer_x.svg') 0 0 repeat-x;
    margin-top: 60px;
    margin-bottom: 30px;
    width: 120%;
}
.footer a, .calc__form a{
    color: #219653;
}
.footer__borsh__image {
    height: 180px;
    display: flex;
    justify-content: center;
}
.footer__borsh__image img {
    object-fit: cover;
    height: 100%;
}
.footer__social__links {
    margin-bottom: 20px;
}
.footer__social__header {
    text-align: center;
    font-size: 16px;
    width: 272px;
    padding-bottom: 10px;
}
.footer__contacts {            
    font-size: 16px;
    line-height: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 10px;
}
.footer__social {
    display: flex;
    align-items: center;
    flex-direction: column;
}



.cacl_methodic {
    max-width: 800px;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}
.cacl_methodic table {

}
.cacl_methodic tr {
    padding-top: 5px;
    display: flex !important;
    justify-content: center;
    flex-flow: row wrap;
    /* width: 400px !important; */
}
.cacl_methodic td {
    display: flex !important;
    padding-top: 10px;
    padding-bottom: 10px;
    /* justify-content: center;
    align-items: ; */
    flex-direction: column;
    width: auto !important;
}
.cacl_methodic h1 {
    text-align: center;
    max-width: 455px;
    font-weight: normal;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 42px;
}
.cacl_methodic ul {
    padding-inline-start: 10px !important;
}
.calc_container {
    max-width: 900px;
    width: 100%;
}
.calc_header {
    padding-top: 45px;
    padding-bottom: 20px;
    font-size: 24px;
    text-align: center;
}
.calc_text {
    padding-bottom: 10px;
}
.cacl_table {
    display: flex;
    flex-flow: column nowrap;    
    width: 540px;
    flex: 0 0 auto;
    padding-bottom: 20px;
}
.calc_table_container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
}
.cacl_table_row {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}
.cacl_table_row.th div{
    height: 100%;
    text-transform: uppercase;
    /* display: flex;
    justify-content: center;
    align-items: flex-start; */
    /* background: #219653; */
    height: 30px;
}
.cacl_table_row.th div:nth-child(2), .cacl_table_row.th div:nth-child(3), .cacl_table_row.th div:nth-child(4){
    
    text-align: center;
}
.cacl_table_row.th div:nth-child(3) {
    color: var(--green);
}
.cacl_table_row.th div:nth-child(5){
    text-align: end;
}
.cacl_table_row__name {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 116px !important;
}
.cacl_table_row__name img{
    height: 45px;
    display: none;
}
.page_wrapper {
    width: 100%;
    max-width: 900px;
}

.cacl_table_row__pack_weight {
    width: 120px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cacl_table_row__pack_price {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.cacl_table_row__pack_weight input {
    width: 40px;
    margin-right: 5px !important;
}
.cacl_table_row__pack_price input, .cacl_table_row__pack_weight input {
    text-align: center;
    margin: 0;
    padding-top: 3px;
    padding-left: 10px;
    padding-right: 10px;
    background: #F2F2F2;
    border-radius: 20px;
    border: none;
    box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.05);
    height: 30px;
    text-align: center;
    outline: none;  
}
.cacl_table_row__pack_price input {
    width: 50px;
    display: flex;
    justify-content: center;
}
.cacl_table_row__ingredient_weight {
    width: 100px;
    display: flex;
    justify-content: center;
}
.cacl_table_row__ingredient_cost {
    width: 90px;
    display: flex;
    justify-content: end;
}


