/* Basic Styles */
*{
font-family: "Abel", sans-serif;
font-style: normal;
}

body {
margin: 0;

}
a{
transition: all .5s linear;   
}

.main_menu{
transition: all .5s linear;    
}
img {
width: 100%;
max-width: 100%;
display: block;
}
header {
background-color: #333;
color: #fff;
padding: 10px 2.5%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 99;
position: fixed;
width: 95%;
top: 0;
}
.red {
background: #f00;
color: #fff;
}
.green {
background: #4caf50;
color: #fff;
}
.blue {
background: #040cff;
color: #fff;
}

footer {
background-color: #333;
color: #fff;
padding: 10px 0px;
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
border-top: 1px solid #fff;
}

.logo {
margin-right: auto;
width: 12vw;
}
span#message {
display: none;
border-radius: 10px;
padding: 5px 15px;
position: fixed;
bottom: 10vh;
left: 15px;
background: #000;
color: #fff;
font-size: 16px;
z-index: 9999;
}
.main_menu ul {
display: flex;
flex-direction: column;
gap: 2vh;
padding: 0 1vw;
}

.main_menu {
position: fixed;
display: flex;
background: #fff;
width: 12%;
height: 100vh;
right: 0;
top: 0;
border-left: 1px solid #000;
padding-top: 5vh;
}
.main_menu a {
color: #000;
font-size: 1vw;
}

.main_menu li {
list-style: none;
}
.main_menu ul li:hover a {
color: #cb1a28;
}

#btn_menu {
position: absolute;
right: 2vw;
color: #fff;
font-size: 1.3vw;
z-index: 99;
cursor: pointer;
font-weight: bold;
display: none;
}
.main_menu ul li:first-child a {
margin-bottom: 15px;
display: block;
font-size: 1.4vw;
color: #7db9ea
}


.container {
max-width: 90%;
margin: 50px auto;
}

input[type="text"],
input[type="password"],
input[type="email"],
button {
width: 100%;
margin-bottom: 10px;
padding: 10px 0px;
font-size: 16px;
max-width: 100%;
text-indent: 10px;
}

button {
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
display: block;
padding: 8px 15px;
width: auto;
text-align: center;
text-transform: uppercase;
text-indent: 0;
line-height: normal;
border-radius: 5px;
display: inline-block;
}

button:hover {
background-color: #45a049;
}

#loginForm {
max-width: 20vw;
margin: 22vh auto;
padding: 1vw 1.2vw;
color: #fff;
border: 1px solid #b1b1b1;
background: #e1e1e1;
border-radius: 10px;
}
.login_section #loginForm {
margin: 0 !important;
background: transparent;
}
#registerForm {
max-width: 35vw;
margin: 0 auto;
}  
a.btn_link {
background-color: #7c897d;
color: white;
border: none;
cursor: pointer;
display: block;
padding: 8px 15px;
width: auto;
text-align: center;
text-transform: uppercase;
text-indent: 0;
line-height: normal;
border-radius: 5px;
display: inline-block;
text-decoration:none;
margin-left: 10px;
}
.wrap_center h2 {
color: #000;
}
.app {
padding: 15px 12% 15px 4%;
}
.logo {
filter: brightness(0) invert(1);
}
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}


/* Style the buttons inside the tab */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 5px 15px;
transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
::-webkit-scrollbar {
width: 5px;
}

::-webkit-scrollbar-track {
background-color: #f1f1f1;
}

/* Define the color of the scrollbar handle */
::-webkit-scrollbar-thumb {
background-color: black;
border-radius: 5px;
}

/* Define the behavior when hovering over the scrollbar */
::-webkit-scrollbar-thumb:hover {
background-color: #555;
}
.main_menu ul {
/*overflow-y: scroll;
max-height: 80vh;*/
}
textarea {
min-height: 100px;
resize: vertical;
padding: 10px 15px;
font-size: 14px;
width: -webkit-fill-available;
}
.container_wrap {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20px;
}
.card {

background-color: #f0f0f0;
padding: 20px;
margin-bottom: 15px;
border-radius: 5px;
width: 50%;
}
.chart-container {
width: 100%;
text-align: center;
}
.notifications {
display: block;
flex: auto;
}
.status_wrap {
display: flex;
gap: 15px;
}
.tab button.active {
background-color: #276c23;
}

span.stat_info {
position: absolute;
top: 10px;
left: 10px;
padding: 5px 10px;
}
.pos_r {
position: relative;
}
.sub_menu button.tablinks {
color: #ffffff;
background: steelblue;
padding: 5px 15px;
}


.parent_tab .tab {
border-bottom: 5px solid #4e5781;
margin-bottom: 10px;
}
.sub_menu button.tablinks.active {
background: #417d3d;
}
a.logout-btn {
cursor: pointer;
font-size: 1vw;
}
a.login-btn {
color: #fff;
display: flex;
gap: 4px;
text-decoration: none;
}

@media screen and (max-width: 991px) {
a.logout-btn {
display: none;
}
.card {
width: 90%;
}
#loginForm {
max-width: 70%;
padding: 10px 25px;
}
#registerForm {
max-width: 85%;
padding: 0 10px;
}
.chart-container canvas {
width: 100% !important;
height: auto !important;
margin: 0 auto;
}
.status_wrap {
flex-direction: column;
}
.main_menu ul {
margin-top: 0 !important;
overflow-y: hidden;
}    
.app {
padding: 8px;
}
.main_menu ul li:first-child a {
margin-bottom: 15px;
display: block;
font-size: 7vw;
}
.menu_open .main_menu {
left: 0;
}
.main_menu {
width: 100%;
right: auto;
left: -100%;
}
.logo {
width: 125px;
}
#btn_menu {
right: 20px;
font-size: 20px;
top: 50%;
transform: translateY(-50%);
display: block;
}

.main_menu a {
font-size: 18px;
}
}