@font-face {
    font-family: 'Magistral';
    src: url('../assets/fonts/Magistral.ttf') format('truetype');
    font-weight: normal;
    font-style: normal
}

.custom-font {
    font-family: 'Magistral', sans-serif;
    font-size: 16px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    max-width: 100vw;
    max-height: 100vh;
    /* font-family: 'Calibri', sans-serif; */
}



.container {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    font-size: 1.5vw;
}

.left-container {
    width: clamp(25vw, 25vw, 25vw);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0px;
}

.right-container {
    width: clamp(25vw, 25vw, 25vw);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 16px;
    padding: 0px;
}

.middle-container {
    width: clamp(48vw, 48vw, 48vw);
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* padding:  0; */
    justify-content: flex-start;
    margin-top: 16vh;
}

.widget {
    display: flex;
    align-content: center;
    flex-direction: column;
    background-color: #2b2b2b59;
    border-radius: 8px;
    /* height: 100vh; */
    padding: 0.3em 0.6em 0.6em;
    gap: 0.6em;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1
}

#timelineContainer {
    width: 100%;
    height: 2px;
    background-color: #93c33f;
    overflow: hidden;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
}

#timeline {
    background-color: #000;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    transform: translateX(-100%);
    transition: transform 0
}

.hamburger-icon {
    position: fixed;
    top: 34px;
    right: 36px;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    background-color: #00000000;
    color: #0000;
    border-radius: 5px;
    z-index: 10
}

.sidebar-setting {
    right: 0;
    overflow-y: auto;
    max-height: 100vh;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    color: #000;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    transition: right .3s ease;
    z-index: 9;
    padding: 20px
}

.sidebar-setting-content h2 {
    margin-bottom: 20px
}

.sidebar-setting-content label {
    display: block;
    margin-bottom: 10px
}

.sidebar-setting-content select {
    width: 100%;
    padding: 8px;
    font-size: 16px
}

.left-container-child-1 {
    height: 12vh;
    background-color: unset;
    max-height: 12vh;
}

span.left-container-child-1-img {
    display: flex;
    align-items: center;
    /* height: 90%; */
    /* width: 100%; */
    margin-left: 10%
}

img#techstore-logo {
    max-width: 60%;
    max-height: 100%
}

.middle-container-child-1 {
    background-color: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.middle-container-child-1 p {
    font-size: 2em;
    font-family: Magistral;
}

.middle-container-child-2 {
    background-color: unset;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    font-size: 0.8em;
}

.right-container-child-1 {
    background-color: unset;
    height: 12vh;
}

.datetime-widget {
    display: flex;
    color: #fff;
    padding: 6px 6px;
    border-radius: 5px;
    font-family: Magistral;
    flex-direction: row;
    height: clamp(12vh,12vh,12vh);
    gap: 8px;
    justify-content: center;
    /* margin-right: 10%; */
    align-items: center;
}

.datetime-widget .time {
    display: flex;
    font-weight: bold;
    margin-right: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    font-size: 2em;
}

.datetime-widget .date-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.7em;
}

.datetime-widget .day {
    font-weight: normal;
    text-align: left
}

.datetime-widget .date {
    text-align: left
}

hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-dark), transparent);
    margin: 12px 0
}

img.sidebar-icons {
    width: 1.5rem
}

.sidebar-menu-list {
    margin-bottom: 1rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
    flex-direction: row
}

.sidebar-menu-items {
    margin-bottom: .5rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
    flex-direction: row
}

.chart {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    /* width: 100%; */
}

.models-distribution-chart-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    align-content: space-around;
    gap: 0;
    height: 100%;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.bar {
    width: 40px;
    margin: 0 10px;
    background-color: #3498db;
    display: block;
    transition: all .3s ease
}

.bar:hover {
    background-color: #2980b9
}

.left-section {
    margin-bottom: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column
}

.chart-details {
    display: flex;
    margin-bottom: .2rem;
    flex-direction: column;
    width: max-content;
    font-size: 1rem
}

#left-section-1 span {
    font-size: 1rem
}

.sidebar-menu-items img {
    margin-right: 8px
}

.models-distribution-chart-container-bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.models-distribution-chart-container-bars-gray {
    display: flex;
    align-items: flex-end;
    transition: all .5s ease-in;
    height: 100%;
    background: #272727;
    -webkit-mask-image: url(https://demo.tosantechno.com/wp-content/uploads/2024/11/bar3.png);
    mask-image: url(https://demo.tosantechno.com/wp-content/uploads/2024/11/bar3.png);
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: bottom;
    mask-position: bottom;
    width: 100%;
    max-width: 30%;
}

.models-distribution-chart-container-bars-green {
    display: block;
    transition: all .5s ease-in;
    width: 100%;
    background-image: linear-gradient(0, var(--color-light2), var(--color-light))
}

#models-distribution-chart-container-bars-green-1 {
    height: 0
}

#models-distribution-chart-container-bars-green-2 {
    height: 0
}

#models-distribution-chart-container-bars-green-3 {
    height: 40%;
}

#models-distribution-chart-container-bars-green-4 {
    height: 4%;
}

#models-distribution-chart-container-bars-green-5 {
    height: 35%;
}

#models-distribution-chart-container-bars-green-6 {
    height: 35%;
}

#models-distribution-chart-container-bars-green-7 {
    height: 100%
}

.models-distribution-chart-container-value {
    font-size: 0.5em;
}

.horizontal-chart-container-row {
    display: flex;
    width: 100%;
    flex-direction: column
}

.models-distribution-chart-container-image {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    /* width: 6.3rem; */
    align-items: center;
    align-content: center;
    flex-direction: row;
    background: #ffffff17;
    padding: 2px;
    border-radius: 4px
}

.models-distribution-chart-container-image img {
    width: 100%;
    padding: 8px
}

.app-categories-chart-container-images {
    flex-direction: row;
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    border: 1px solid white;
    border-radius: 8px;
    padding: 8px
}

.app-categories-chart-container-image {
    flex-direction: row;
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    width: 100%
}

.horizontal-chart-container-bars {
    display: flex;
    flex-direction: row;
    margin-left: .7rem;
    width: 100%;
    align-items: center
}

.horizontal-chart-container-bars-details {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .15rem
}

.horizontal-chart-container-bars-gray {
    align-items: center;
    display: flex;
    width: 14.27083rem;
    background: linear-gradient(270deg, var(--color-light), var(--color-light2));
    height: .20rem;
    position: relative;
    transition: all .8s ease-in;
    width: 100%;
    justify-content: flex-start;
    flex-direction: row
}

#horizontal-chart-container-bars-1 {
    width: 100%
}

#horizontal-chart-container-bars-2 {
    width: 85%
}

#horizontal-chart-container-bars-3 {
    width: 70%
}

#horizontal-chart-container-bars-4 {
    width: 55%
}

#horizontal-chart-container-bars-5 {
    width: 40%
}

#horizontal-chart-container-bars-6 {
    width: 25%
}

.horizontal-chart {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: .5vw;
    padding: 1vw
}

ul.horizontal-chart-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    width: 95%
}

span.horizontal-chart-container-name {
    font-size: 1rem
}

span.horizontal-chart-container-value {
    font-size: 1rem
}

.right-section {
    margin-bottom: 0;
    height: 100%
}

.activity-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    height: 100%;
    gap: 8px;
}

.activity-section-row {
    display: flex;
    width: 100%;
    gap: 24px;
    /* margin-top: 1rem; */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%
}

.activity-section-row-detail {
    display: flex;
    flex-direction: column;
    width: 100%
}

.activity-section-row-detail-devider {
    background: linear-gradient(deg, #688dff, rgba(110, 131, 213, 0));
    height: 0.1em;
    width: 4em;
}

.activity-section-row-piechart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.activity-section-row-piechart-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative
}

#piechart1 {
    background: conic-gradient(var(--color-light) 0 5%, #000 78% 100%)
}

#piechart2 {
    background: conic-gradient(var(--color-main) 0 5%, #000 58% 100%)
}

#piechart3 {
    background: conic-gradient(var(--color-dark) 0 5%, #000 24% 100%)
}

#piechart4 {
    background: conic-gradient(var(--color-light) 0 5%, #000 15% 100%)
}

.activity-section-row-piechart-circle::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background-color: #000;
    border-radius: 50%
}

.activity-section-row-piechart-number {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    font-size: 1rem;
    z-index: 2;
    color: #fff
}

.activity-section-row-detail-title {
    font-size: 0.5em;
}

.activity-section-row-detail-period {
    font-size: 0.6em;
}

.activity-section-row-numbers {
    font-size: .7rem
}

.activity-section-row-rightside-numbers {
    font-size: 0.6em;
}

.activity-section-row-rightside-devider {
    background: linear-gradient(297deg, var(--color-light), rgba(110, 131, 213, 0));
    height: 0.1em;
    margin: .10rem 0 .20rem;
    width: 3em;
}

.activity-section-row-rightside {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    align-content: center;
    width: 62%;
    justify-content: space-between
}

.device-number-title {
    color: #fff
}

.main-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: auto
}

span.device-number-title {
    font-size: 1rem
}

.device-number-numbers {
    flex-direction: row;
    justify-content: space-around;
    font-size: 1.5em;
    font-family: calibri;
    font-weight: 900;
    display: flex;
    width: 100%;
    /* height: 100%; */
    /* margin-bottom: 30%; */
    border-radius: 8px 8px 0px 0px;
    align-items: center;
}

.device-number-number {
    width: 15%;
    background: unset;
    padding: 0px;
    color: #fff;
    /* font-size: clamp(2rem, 2vw, 5rem); */
    font-family: calibri;
    font-weight: 700;
    max-width: 60%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: repeating-linear-gradient(45deg, #4b5d35bf, transparent 100px);
}

.device-number-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px 4px 8px 4px;
    border: 2px solid transparent;
    z-index: 1;
    animation: borderHighlight 5s infinite linear
}

@keyframes borderHighlight {
    0% {
        border-color: #305303
    }

    25% {
        border-color: #457605
    }

    50% {
        border-color: #5b9c05
    }

    75% {
        border-color: #457605
    }

    100% {
        border-color: #305303
    }
}

#device-number-1 {
    border-radius: 8px 0 0 8px
}

#device-number-7 {
    border-radius: 0 8px 8px 0
}

#models-distribution,
#activity-distribution,
#daily-command,
#app-categories {
    font-size: 1vw
}

span.device-number-hr {
    display: flex;
    flex-direction: column;
    margin-top: -10px
}

.device-number-title-section {
    display: flex;
    flex-direction: column
}

.device-number-number .scroll {
    position: absolute;
    width: 100%;
    animation: scrollUp 4s ease-in-out forwards
}

.countdown-number-1 .scroll {
    animation: scrollUp 3s ease-in-out forwards
}

.countdown-number-2 .scroll {
    animation: scrollUp 6s ease-in-out forwards
}

.countdown-number-3 .scroll {
    animation: scrollUp 8s ease-in-out forwards
}

@keyframes scrollUp {
    0% {
        bottom: -500px
    }

    100% {
        bottom: 0
    }
}

span.device-number-number.countdown-number {
    color: #ffffff00;
    overflow: hidden
}

span.device-number-number.countdown-number .scroll {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: #121212;
    color: white;
    font-family: calibri;
}

#highchart-container {
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 2 / 1;
    background-color: unset;
    border-radius: 10px;
    position: relative
}

text.highcharts-credits {
    display: none
}

.highcharts-xaxis-labels {
    font-size: 0.6em;
    font-weight: bold
}

.left-sidebar-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%
}

.right-sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column
}

:root {
    --color-light: #68ff7c;
    --color-light2: #008210;
    --color-main: #99ca44;
    --color-main2: #456d00;
    --color-dark: #1cd8ab;
    --color-dark2: #085240
}

.progress-bar {
    width: 5vh;
    height: 5vh;
    position: relative
}

.horizontal-chart-alias-below {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

span.alias-below-online {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

span.alias-below-offline {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

.app-categories-chart-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    align-content: space-around;
    justify-content: center;
    gap: 0;
    height: 60%;
    width: 100%;
    flex-wrap: nowrap
}

.app-categories-chart-container-bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    width: 100%
}

.app-categories-chart-container-bars-gray {
    display: flex;
    align-items: flex-end;
    transition: all .5s ease-in;
    height: 100%;
    background: #272727;
    -webkit-mask-image: url(https://demo.tosantechno.com/wp-content/uploads/2024/11/bar3.png);
    mask-image: url(https://demo.tosantechno.com/wp-content/uploads/2024/11/bar3.png);
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: bottom;
    mask-position: bottom;
    width: 100%;
    max-width: 30%
}

.app-categories-chart-container-bars-green {
    display: block;
    transition: all .5s ease-in;
    width: 100%;
    background-image: linear-gradient(0, var(--color-light2), var(--color-light))
}

#app-categories-chart-container-bars-green-1 {
    height: 0
}

#app-categories-chart-container-bars-green-2 {
    height: 0
}

#app-categories-chart-container-bars-green-3 {
    height: 1%
}

#app-categories-chart-container-bars-green-4 {
    height: 20%
}

#app-categories-chart-container-bars-green-5 {
    height: 35%
}

#app-categories-chart-container-bars-green-6 {
    height: 70%
}

#app-categories-chart-container-bars-green-7 {
    height: 100%
}

.app-categories-chart-container-value {
    font-size: .6vw
}

#app-categories-chart-container-bars-green-1,
#app-categories-chart-container-bars-green-2,
#app-categories-chart-container-bars-green-3,
#app-categories-chart-container-bars-green-4,
#app-categories-chart-container-bars-green-5,
#app-categories-chart-container-bars-green-6,
#app-categories-chart-container-bars-green-7 {
    position: relative;
    animation: moveRandom 1s infinite alternate
}

#app-categories-chart-container-bars-green-1 {
    top: 0;
    animation-delay: 0
}

#app-categories-chart-container-bars-green-2 {
    top: 1px;
    animation-delay: .2s
}

#app-categories-chart-container-bars-green-3 {
    top: 2px;
    animation-delay: .4s
}

#app-categories-chart-container-bars-green-4 {
    top: 3px;
    animation-delay: .6s
}

#app-categories-chart-container-bars-green-5 {
    top: 4px;
    animation-delay: .8s
}

#app-categories-chart-container-bars-green-6 {
    top: 5px;
    animation-delay: 1s
}

#app-categories-chart-container-bars-green-7 {
    top: 6px;
    animation-delay: 1.2s
}

#app-categories-chart-container-bars-green-8 {
    top: 7px;
    animation-delay: 1.4s
}

span.models-distribution-chart-container-image-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.5em;
    align-content: center
}

rect.highcharts-background {
    fill: #ffffff00 !important
}

img {
    max-width: 100%;
    height: auto
}

.title-section {
    font-weight: 500;
    font-family: calibri;
    font-size: 0.7em;
    font-weight: bold;
}

.title-section:after {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-dark), transparent);
    margin-top: 8px;
    content: '';
    display: block
}

.left-container-child-2 {
    height: 100%;
}

.right-container-child-2 {
    height: clamp(30vh, 30vh, 30vh);
}

.right-container-child-3 {
    height: clamp(30vh, 30vh, 30vh);
}

.widget.right-container-child-4 {
    height: clamp(28vh, 28vh, 28vh);
}

.activity-section-row-detail-devider {
    background: linear-gradient(90deg, #60eb74, rgba(110, 131, 213, 0));
}

.app-lists {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5em;
    padding: 0.5em 0;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
}

.app-folder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    gap: 0.15em;
    padding: .2em;
    
     /* Aligns content from top to bottom */
    justify-items: center;
    justify-content: center;
    align-items: center;
}

.app-folder img {
    border-radius: 4px;
    width: 80%;
    height: 80%;
    object-fit: cover;
    object-fit: cover;
    filter: grayscale(70%);
    transition: filter 0.3s ease;
}   


.app-folder .full-row {
    display: grid;
    grid-column: span 3;
    text-align: center;
    margin-top: 0.5em;
    font-size: 0.5em;
    align-self: end;
}

span.foldet-notif {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #3c9348;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: .6em;
    line-height: 1;
    padding: 0.5em;
    width: 1.5em;
    height: 1.5em;
}

.app-folder-out {
    display: grid;
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #ffffff2b;
    justify-items: center;
    align-content: stretch;
    align-items: stretch;
}

.highcharts-null-point {
    fill: #101010;
    stroke: #1c1c1c
}

.progressbar-text {
    font-size: 0.7em !important;
}

.highcharts-legend-item {
    font-size: 2rem
}

/* g.highcharts-axis-labels.highcharts-xaxis-labels {
    font-size: 1.5rem
} */

.highcharts-axis-labels span {
    font-size: 0.7em !important;
}

span.notif-off {
	display: none;
}

.middle-container-child-2 p {
    font-family: 'Magistral';
    font-size: 1.5em;
}