

#zagolovok_id {
    display: inline;
    color: #3984B9;
    text-shadow: 1px 1px 2px grey;
    font-size: 25px;
    font-family: inherit;
    font-weight: normal;
    padding: 0 2px;
    /* Добавляем отступы слева и справа */
}





.razdel {
    display: flex;
    flex-direction: column;
}

/* Создание линии между разделами */
.razdel+.razdel::before {
    content: '';
    display: block;
    width: 98%;
    /* Ширина линии 90% */
    height: 1px;
    background-color: silver;
    margin-top: 35px;
    /* половина высоты промежутка */
    margin-bottom: 25px;
    /* половина высоты промежутка */
    margin-left: 1%;
    /* Отступ слева */
}


/* все контейнеры диаграмм */
.container {
    font-weight: 500;
    color: #333333;
    /*pointer-events: none;*/
    box-sizing: border-box;
    /*background-color: grey;*/
    height: calc(100vh - 25vh);
    width: 100%;
    /* Диаграмма занимает всю доступную ширину контейнера */
    min-height:370px;
    position: relative;
}

#razdel_1 {
    margin-top: 15px;
}

#cont_1 {
    height: calc(100vh - 41vh);
    /*background-color: gray;*/
}

#container_71 {
    margin-bottom: 77px;
    /* 42px (футтер) + 35px (между разделом и линией) */
}





#razdel_zagolovok_id {
    margin: 0 auto;
    max-width: 90%;

    margin-top: 15px;
}

#odometer_id {
    display: inline;
    color: #333333;
    margin: 0 auto;

    font-weight: 600;

    font-size: 60px;







    /*background-color: grey;*/

    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;

}



#razdel_sticky_line_id {
    width: 100%;

    /*background-color: grey;*/
    z-index: 0;
}

#razdel_sticky_id {
    margin: 0 auto;
    max-width: 1200px;
    min-width: 120px;
}



#ed_izm_id {
    display: block;
    color: #333333;
    margin: 0 auto;

    height: 30px;
    font-size: 30px;
    margin-top: 3px;
    width: 120px;
    /*background-color: grey;*/

    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#razdel_sticky_line_id.sticky {
    position: fixed;
    top: 0;

    background: #fff;
    box-shadow: 0 6px 6px -6px #c4c4c4;
    z-index: 3;
}

#razdel_sticky_id.sticky {
    text-align: left;
}

#odometer_id.sticky {
    display: inline-block;

    height: 40px;
    line-height: 40px;

    font-size: 20px;

    width: 108px;
    margin-top: 0px;

    vertical-align: top;

    margin-left: 10px;


    /*контент внутреннего блока не должен переноситься на вторую строку*/
    white-space: nowrap;
    overflow: hidden;

    /*background-color: grey;*/
}

#ed_izm_id.sticky {
    display: inline-block;

    height: 40px;
    line-height: 45px;

    font-size: 17px;

    width: 80px;
    margin-top: 0px;

    vertical-align: top;


    /*контент внутреннего блока не должен переноситься на вторую строку*/
    white-space: nowrap;
    overflow: hidden;

    /*background-color: grey;*/
}

#current_date_time {
    font-size: 18px;
    margin-top: 19px;

}



/*----------------------------------------------- */

#btn_razdel_1 {
    display: flex;
    margin-right: 10px;
    justify-content: flex-end;
    /* Кнопка будет выровнена справа */
}

.btn_prognoz {
    text-align: center;
    border: 1px solid silver;
    font-size: 1rem;
    width: 165px;
    height: 30px;
    padding: 0.3rem;
    outline: none;
    border-radius: 0.3em;
    color: 36393f;
    background-color: white;

    -moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.btn_prognoz:hover:not([disabled]) {
    cursor: pointer;
    background-color: #f1f1f1;
    outline: none;
}

#report {
    position: absolute;
    text-align: left;
    font-style: italic;
    /*background: #aef;*/
    color: red;
    margin-left: 4rem;
    margin-top: 21px;
    z-index: 10;
}

/*----------------------------------------------- */

.year_dropdown {
    display: flex;
    cursor: pointer;
    width: 68px;
    justify-content: flex-start;
    /* Кнопка будет выровнена слева */
    margin-left: 2rem;
    font-family: inherit;
    border: 1px solid silver;
    border-radius: 0.3em;
    -webkit-box-pack: start;
    color: #36393f;
    background-color: white;
    padding: 0.3rem;
}

.year_dropdown:focus {
    outline-color: silver;
    /* Замените "your-desired-color" на цвет, который вы хотите использовать */
}

/*----------------------------------------------- */

#play-controls {
    display: flex;
    align-items: center;
    /* Align items vertically in the center */
    flex-wrap: nowrap;
    /* Prevent items from wrapping */
}

#play-pause-button {
    width: 35px;
    height: 35px;
    cursor: pointer;
    border: 1px solid rgba(2, 117, 255, 1);
    border-radius: 25px;
    color: white;
    background-color: rgba(2, 117, 255, 1);
    transition: background-color 250ms;
    margin-left: 25px;
    /* Space between the dropdown and the button */
}

#play-pause-button:hover {
    background-color: rgba(2, 117, 255, 0.5);
}

#play-range {


    width: calc(100% - 205px);
    /* Adjust width based on the dropdown and button sizes */
    max-width: 700px;
    background: #f8f8f8;
    margin-left: 5px;
    /* Space between the button and the range input */
    transform: translateY(2.5px);
    /* Align vertically with the button */
    height: 6px;


    /*-webkit-appearance: none;*/
    /* Remove default appearance in WebKit browsers */
    border-radius: 5px;
    /* Round corners */
    border: 1.2px solid #ccc;
    /* Visible border for the slider */

}



input[type="range"] {

    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 15rem;
}

input[type="range"]:focus {
    outline: none;
}

/***** Chrome, Safari, Opera and Edge Chromium styles *****/
input[type="range"]::-webkit-slider-runnable-track {
    background-color: rgba(2, 117, 255, 1);
    border-radius: 5px;
    height: 6px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -5px;
    background-color: rgba(2, 117, 255, 1);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .15);
}

input[type="range"]:hover::-webkit-slider-thumb {
    background-color: #029AFF;
}

/******** Firefox styles ********/
input[type="range"]::-moz-range-track {
    background-color: rgba(2, 117, 255, 1);
    border-radius: 5px;
    height: 0.4rem;
}

input[type="range"]::-moz-range-thumb {
    border: none;
    border-radius: 50%;
    background-color: rgba(2, 117, 255, 1);
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .15);
}

input[type="range"]:hover::-moz-range-thumb {
    background-color: #029AFF;
}




/*----------------------------------------------- */



/*----------------------------------------------- */





@media only screen and (max-width: 680px) {
}

@media only screen and (max-width: 680px) {
}


/* xs (<=543px) */

@media only screen and (max-width: 575px) {

    #razdel_zagolovok_id {
        margin-top: 13px;
    }

    #zagolovok_id {
        font-size: 18px;
    }

    #odometer_id {
        height: 50px;
        font-size: 40px;
        margin-top: 10px;
        /*background-color: grey;*/
    }

    #ed_izm_id {
        height: 20px;
        font-size: 20px;
        margin-top: 1px;
        /*background-color: grey;*/
    }

    #current_date_time {
        font-size: 15px;
        margin-top: 10px;
    }

    #razdel_sticky_line_id.sticky {
        border-bottom: 1px solid #e2e2e2;
        z-index: 3;
    }

    #razdel_sticky_id.sticky {
        text-align: left;
    }

    #odometer_id.sticky {

        display: inline-block;

        height: 30px;
        line-height: 30px;

        font-size: 17px;

        width: 91px;
        margin-top: 0px;

        vertical-align: top;

        margin-left: 10px;

        /*контент внутреннего блока не должен переноситься на вторую строку*/
        white-space: nowrap;
        overflow: hidden;
    }

    #ed_izm_id.sticky {

        display: inline-block;

        height: 30px;
        line-height: 31px;

        font-size: 15px;

        width: 62px;
        margin-top: 0px;

        vertical-align: top;

        /*контент внутреннего блока не должен переноситься на вторую строку*/
        white-space: nowrap;
        overflow: hidden;
    }


    #report {
        font-size: 12px;
    }

    .razdel+.razdel::before {
        margin-left: 3%;
        /* Сдвигаем линию на половину остатка от width */
        width: 94%;
        /* Ширина линии 90% */
        margin-top: 20px;
        /* половина высоты промежутка */
        margin-bottom: 10px;
        /* половина высоты промежутка */
    }

    .container {
        height: calc(100vh - 48vh);
        /*height: calc(100vh - 495px); */
    }



    #container_71 {
        margin-bottom: 62px;
        /* 42px (футтер) + 20px (между разделом и линией) */
    }

}


/* sm (>=576 и <=767) */

@media only screen and (min-width: 576px) and (max-width: 767px) {}


/* md (>=768 и <=991) */

@media only screen and (min-width: 768px) and (max-width: 991px) {}


/* lg (>=992 и <=1199) */

@media only screen and (min-width: 992px) and (max-width: 1199px) {}


/* xl (>=1200 и <=1919) */

@media only screen and (min-width: 1200px) and (max-width: 1919px) {

    #razdel_zagolovok_id {
        margin-top: 20px;
        /* Adjusting margin for larger screens */
    }

    #zagolovok_id {
        font-size: 28px;
        /* Increasing font size */
    }

    #odometer_id {
        height: 80px;
        /* Adjusting height for larger screens */
        font-size: 60px;
        /* Increasing font size */
    }

    #ed_izm_id {
        font-size: 24px;
        /* Increasing font size */
    }

    #current_date_time {
        font-size: 20px;
        /* Increasing font size */
    }



    #report {
        font-size: 16px;
        /* Increasing font size */
    }

    .container {
        height: calc(100vh - 25vh);
        /* Adjusting height for larger screens */
    }

    #container_71 {
        margin-bottom: 80px;
        /* Adjusting margin for larger screens */
    }

    /* Add any additional custom styles for larger screens */
}

@media only screen and (min-width: 1920px) and (max-width: 3840px) {

    /* Стили для экранов с разрешением 4K */
    #razdel_zagolovok_id {
        font-size: 25px;
        /* Увеличиваем шрифт для больших экранов */
    }

    #zagolovok_id {
        font-size: 35px;
        /* Увеличиваем шрифт заголовка */
    }

    #odometer_id {
        font-size: 60px;
        /* Увеличиваем размер одометра */
    }

    /* И так далее для других элементов */
}