/* /assets/css/theme.css */

/* General Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #EAF3EF;
}
 
.header2Line{
    background-color:  #605dba; 
    font-size:31px;
    font-size: 1.2em;
    color: #FFFFFF;
}


.generic-text{
    font-family: 'Arial', sans-serif;
    font-size: 1.2em;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    text-transform: uppercase;
}

.generic-text a{
    text-decoration: none;
    color:inherit;
}

/* Header Styles */
header {
    height: 9vh;
    background: #605dba;
    display: flex;
    justify-content: space-between;
    align-items: center
    padding: 0 10px;
    
}

header img {
    max-height: 50px;
}

#clock {
    font-size: 1.5rem;
}

.gpsicon{
    /* Add any styles for the GPS container */
    margin-right:10px;
}

.footer-link-nincsvita{
    text-decoration: none;
    text-transform:uppercase;
}

.version-number{
    text-transform:uppercase;
}

/* Main Container Styles */
main {
    flex-grow: 1;
    background: #EAF3EF; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 25px;
    height: 79vh;
}

/* Footer Styles */
footer {
    height: 11vh;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #747ed1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 10px;
}



svg {
    height: 65%;
    padding: 5%;
}
svg path {
    fill: none;
    stroke-width: 2px;
    opacity: 0;
    stroke: #fafafa;
    animation: 6s outline infinite alternate;
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
}

@keyframes outline {
    from {
        stroke-dashoffset: 2700;
        opacity: 0.8;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes text {
    from {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.cls-1 {
    fill: #9f89fe;
    stroke: #070759;
}

.cls-1,
.cls-2,
.cls-3,
.cls-4,
.cls-5 {
    stroke-miterlimit: 10;
}

.cls-2 {
    fill: #33a9fe;
}

.cls-2,
.cls-3,
.cls-4,
.cls-5 {
    stroke: #070759;
}

.cls-3 {
    fill: #0aa7f1;
}

.cls-4 {
    fill: #20d8be;
}

.cls-5 {
    fill: #33f0bd;
}

.btn-blue{
    background-image: linear-gradient(0deg,#2c46a7,#3757c4);
    border: 1px solid #E6E5F4 !important;
    color: white;
}


.fridgeInfoBadge{
    background: #7CB798;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    padding: 5px;
    border-radius: 15px;
}

.fridge-btn{
    font-size:40px;
    padding: 25px;;
    width:80px;
}

.point-btn{
    font-size:40px;
    padding: 10px;;
    width:40px;
}

.fridge-temp-inp{
    font-size:60px;
}


.point-temp-inp{
    font-size:25px;
}

.fridge-btn-action{
    font-size:30px;
    padding: 10px;
}

.fridge-action-btn-success{
    background-image: linear-gradient(90deg,#2c46a7,#3757c4);
}


.fridge-action-btn-cancel{
    background-image: linear-gradient(90deg,#E2626B,#F78B77)
}


.shake-animation {
    animation: shake 1.5s;
    border: 2px solid red; /* Add red border */

}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}



#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1000; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
  }
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
  #snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }


.circular-button {
    position: absolute;
    bottom: 80px;
    left: calc(15% - 50px);
}

.btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0DA8F1;
    border-color: #0DA8F1;
    font-size: 2rem; /* Adjust the font size of the plus symbol */
}



.circular-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px; /* Adjust size of the circular button */
    height: 60px; /* Adjust size of the circular button */
    background-color: #605dba; /* Background color of the circular button */
    border: none;
    border-radius: 50%; /* Make the button circular */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* Text color of the button */
    font-size: 24px; /* Adjust font size of the button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow to the button */
    z-index: 1; /* Ensure button is above other elements */
}

.menu,
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 80%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
}

.menu.active,
.modal.active {
    display: block;
}

.menu-header,
.modal-header {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu.expanded {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
}

.menu-header h2,
.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #605dba;
    font-weight: bold;
}

.menu-close,
.menu-icon,
.modal-close {
    cursor: pointer;
    color: #605dba;
    font-size:16px;
}

.menu-content,
.modal-content {
    padding: 10px;
    overflow-y: auto;
}

.menu-footer,
.modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size:12px;
    padding: 10px;
    background-color: #747ed1;
    border-top: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    text-align: center;
}

.menu-footer p,
.modal-footer p {
    color: #fff;
}

/* Media query for tablets and phones */
@media only screen and (max-width: 768px) {
    .menu,
    .modal {
        width: 80%;
    }
}

.modalMenuRow{
    display: flex;
    flex-direction: row;
    max-height: 200px; /* Set a maximum height for the list */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 5px; /* Remove default padding */
    list-style-type: none; /* Remove default list bullet points */
}

.modalMenuRow > li {
    color: #605DBA;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#legalInforamtion{
    display: flex;
    width: 100%;
    font-size:10px;
    justify-content: center;
    margin: 10px 0px;
}




.menu-item {
    flex: 1; /* Each list item occupies equal space */
    text-align: center; /* Center-align text within list items */

    margin-right:2px;
    cursor: pointer; /* Add pointer cursor on hover */
    border: none;
}


.top-menu-item.active{
    background-color: #605DBA;
}

.menu-item:hover {
    background-color: #070759; 
    color: white;/* Change background color on hover */
}

/*                      */


.menu-buttons,
.modal-buttons {
    display: flex;
    align-items: center;
    font-size:20px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-evenly;
}

.menu-toggle,
.modal-toggle,
.menu-close,
.modal-close {
    cursor: pointer;
    padding: 5px;
    margin-right: 10px;
}

.menu-toggle:hover,
.modal-toggle:hover,
.menu-close:hover,
.modal-close:hover {
    color: #ff0000;
}


.containerSoftwareContent {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Set the container height to 100% of the viewport height */
}


#softwareContent {
    flex: 1 1 auto; /* Make the content fill the remaining space */
    overflow-y: auto; /* Add vertical scroll if needed */
   
}


#softwareContent{
    margin-top: 5px;
 
    overflow-y: auto;
}

#softwareContent.expanded {
       overflow-y: auto;
}

.haccpFillList {
    width: 100%;
    border-collapse: collapse;
}

/* Table Header Styles */
.haccpFillList thead {
    background-color: #605dba;
    color: #ffffff;
    font-size: 1em;
    padding: 8px;
    text-align: left;
}

.haccpFillList thead th{
    text-align: center;
}

/* Table Row Styles */
.haccpFillList tr:nth-child(even) {
    background-color: #f2f2f2;
}





/* Specify column widths */
.haccpFillList td:nth-child(1),
.haccpFillList th:nth-child(1) {
    width: 50%;
}

.haccpFillListtd:nth-child(2),
.haccpFillList th:nth-child(2) {
    width: 25%;
}

.haccpFillList td:nth-child(3),
.haccpFillList th:nth-child(3) {
    width: 25%;
}



/* Button Styles */
.fill-button {
    background-color: #605DBA;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px
}

.fill-button:disabled{
    background-color: #23022E;
}

.fill-button:disabled:hover{
    background-color: #23022E;
}

.fill-button.danger {
    background-color: #dc3545; /* Bootstrap danger color */
}

/* Modifier: Warning */
.fill-button.warning {
    background-color: #ffc107; /* Bootstrap warning color */
}

.fill-button.wide{
    width:110px;
}

.fill-button:hover {
    background-color: #070759; /* Darker green on hover */
}

.fill-button:active {
    background-color: #070759; /* Darker green when pressed */
}


.tableHeader{
    font-size: 25px;
    padding: 5px 0px;
    display: block;
    text-align: center;
    border-bottom: 2px solid;
    margin-bottom: 15px;
    margin-top: 10px;
}

.dataTable tbody tr:nth-child(odd) {
    background-color: #f2f2f2; /* Set the background color for odd rows */
}

.dataTable tbody tr:nth-child(even) {
    background-color: #ffffff; /* Set the background color for even rows */
}

.dataTable tbody tr, .dataTable tbody tr td{
    border: 1px solid;
}

.dataTable tbody td{
    padding: 1px;
    font-size:12px;
    text-align:center;
}

.dataTable thead{
    color: white;
    background-color: #33A9FE;
    text-align: center;
    border: 1px solid #4FB4FC;
}

.dataTable thead tr th{
    text-align: center;
}

.dataTable{
    width:100%;
}


/*

QR MODAL

*/

/* Modal container */
.qrShow-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal */
.qrShow-modal {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3); /* Box shadow for depth */
}

/* Close button */
.qrShow-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #555;
}

/* Close button hover effect */
.qrShow-close:hover {
    color: #000;
}

/* Modal body */
.qrShow-modal-body {
    padding: 20px;
}


.haccpResult-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0px;

}

/* Table Header Styles */
.haccpResult-table thead {
    background-color: #605dba;
    color: #ffffff;
    font-size: 1em;
    padding: 8px;
    text-align: center;
}

/* Table Row Styles */
.haccpResult-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Table Cell Styles */
.haccpResult-table td, .haccpResult-table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

/* First Column Styles */
.haccpResult-table td:first-child, .haccpResult-table th:first-child {
    text-align: center;
}


.haccpResultAnswers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}


.haccpResultAnswers-1row{
    background: #605dba;
    color: white;
    text-align: left;
}

/* Table Header Styles */
.haccpResultAnswers-table thead {
    background-color: #605dba;
    color: #ffffff;
    font-size: 1em;
    padding: 8px;
    text-align: center;
}

/* Table Row Styles */
.haccpResultAnswers-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Table Cell Styles */
.haccpResultAnswers-table td, .haccpResultAnswers-table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

/* First Column Styles */
.haccpResultAnswers-table td:first-child, .haccpResultAnswers-table th:first-child {
    text-align: center;
}



input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input[type="number"] {
    -moz-appearance: textfield;
  }


  .resolutionHeaderText{
    color: #605dba;
    font-size: 18px;
    text-align: center;
  }

  .resolutionText{
    text-transform: lowercase;
    font-size:14px;
  }

  .resolutionText:first-letter {
    text-transform: uppercase;   
  }

  .fLU{
    text-transform: capitalize;
  }

  .resolutionText.question{
    text-align: center;
    display: block;
    font-size:15px;
    color: #605dba;
    width:100%;
  }

  .resolutionText.answer{
    text-align: center;
    display: block;
    font-size:15px;
    color: #45a049;
    width:100%;
  }

  .resolutionText.answer.justify{
    text-align: justify !important;
  }


.dataTables_paginate{
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.dataTables_paginate a{
    background-color: #605DBA;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px
}

.dataTables_filter{
    margin:10px !important;
}

.dataTables_filter > label > input{
    margin-left: 15px;
}

#groupsTable_filter > label > input{
    border: 1px solid !important;
    line-height: 10px;;
}


.button-pm{
    font-size:25px;
    width:50px;
}

.lostTempInput{
    font-size:15px;
    max-width: 170px;
}

.paginate_button.current{
    background-color: #070759;
}

.paginate_button.disabled{
    background-color: #23022E;
}


.dataTables_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-evenly;
    align-items: baseline;
}

.dataTables_filter > label > input[type=search]{
    width:120px;
}

#countDownerForAudioRecord{
    color: #605DBA;
    font-size:22px;
}

#cameraContainer{
    text-align:center;

}

#cameraVideo{
    width: 480px;
    height: 320px;;
}

.savePlaces{
    width: auto;
    max-height: 96px;
}


.record-desc-title{
    width: 100%;
    display: block;
    text-align: center;
    text-transform: none;

}


.record-desc-title::first-letter {
    text-transform: capitalize;
}


.record-desc-text{
font-weight: 400;
font-size: 16px;
text-align: justify;
padding: 10px;

}
