/* --wp--preset--color--orange: #FF3300; */
/* --wp--preset--color--blue-1: #55889B; */
/* --wp--preset--color--blue-2: #94ADBF; */


/* Define a CSS variable for the decimal separator */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

/* Reset margins and padding */
body, html {
  margin: 0;
  padding: 0;
 
}


body {
    max-height: 100vh;
    height: 100vh;
    width: 100vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Adjusted to ensure footer is at the bottom */
    color: #778899;
    background:white;
    
    font-family: 'Raleway', sans-serif; /* Apply Raleway font */
    font-weight: 300;
    position: absolute;
    z-index: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

normal-text{
    color: #3d4043;
    font-size: 30px;
}

.top-grid-container {
    display: grid;
    position: relative;
    overflow: hidden;
    z-index: auto;
    grid-template-rows: 120px; /* Specify the height of each row */
    /* grid-template-columns: repeat(auto-fit, minmax(min(100px, 200px), 1fr));*/ 
    grid-template-columns: repeat(6, minmax(100px, 1fr)); /* Adjusted for responsiveness */
    gap: 20px;
    justify-content: center;
    width: 100vw;
    max-height: 250px;
    min-height: 150px;
    color: #3d4043;
}


.top-menu-icon {
    display: flex; /* Use flexbox */
    justify-content: center; /* Horizontally center the icon */
    align-items: center; /* Vertically center the icon */
    font-size: 48px; /* Adjust icon size as needed */
    width: 20px; /* Adjust container width as needed */
    margin-right: 20px; /* Adjust margin as needed */
    margin-top: 20px;
    color:#778899;
}


.top-menu-icon-back {
    display: flex; /* Use flexbox */
    justify-content: center; /* Horizontally center the icon */
    align-items: center; /* Vertically center the icon */
    font-size: 48px; /* Adjust icon size as needed */
    width: 20px; /* Adjust container width as needed */
    margin-right: 20px; /* Adjust margin as needed */
    margin-top: 20px;
    color:#113D69;
}


.top-menu-icon-home {
    display: flex; /* Use flexbox */
    justify-content: center; /* Horizontally center the icon */
    align-items: center; /* Vertically center the icon */
    font-size: 48px; /* Adjust icon size as needed */
    width: 20px; /* Adjust container width as needed */
    margin-right: 20px; /* Adjust margin as needed */
    margin-top: 20px;
    color: #FF3300;
}

.top-card {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 1s;
    border: 0px;
}

.top-card-text {
    display: flex; /* Use flexbox */
    justify-content: center; /* Horizontally center the icon */
    align-items: center; /* Vertically center the icon */
    font-size: 28px; /* Adjust icon size as needed */
    width: 20px; /* Adjust container width as needed */
    margin-right: 20px; /* Adjust margin as needed */
    color: #3d4043;
    
    
}

.top-scene {
    width: 100%;
    height: 160px;
    max-height: 100px;
    perspective: 600px;
    
}



.top-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 200px;
    color: #3d4043;
    font-weight: bold;
    align-items: center;
    font-size: 10px;
    backface-visibility: hidden;
    top:0vh;
}

.top-card-face-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3d4043;
}

.top-card-face-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3d4043;
    
    
}


.top-scene {
    width: 100%;
    height: 260px;
    max-height: 100px;
    perspective: 600px;
    
}

.top-card {
    position: relative;
    
    width: 100%;
    height: 100%;
    max-height: 10px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 1s;
    border: 0px;
}


.about-content {
    font-size: 20px;
}

.about-li {
    font-size: 25px;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.scene {
    width: 100%;
    height: 260px;
    max-height: 100px;
    perspective: 600px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 10px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 0s;
    border: 0px;
}

.card.is-flipped {
    transform: rotateY(-180deg);
    
}

.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 100px;
    min-height: 100px;
    color: #778899;
    font-weight: bold;
    font-size: 40px;
    backface-visibility: hidden;
    display: flex;
    
    align-items: center; /* Vertically center the content */
}



.card__face--front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 100px;
    min-height: 100px;
    margin: 18px;
    color: #c9276a;
}

/* the icon color */ 
.card__face--front .login-icon {
    font-size: 1em;
    height: 10px;
    margin-bottom: 10px;
    max-height: 100px;
    color: #778899;
}

.card__face--front .dashboard-icon {
    font-size: 1em;
    margin-bottom: 10px;
    max-height: 100px;
    color: #FF3300;
}

.card__face--front .home-icon {
    font-size: 1em;
    margin-bottom: 10px;
    max-height: 100px;
    color: #FF3300;
}
.card__text {
    color: #3d4043;
    font-size: 10px;
    width: 100%;
}

.card__face--back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 100px;
    min-height: 100px;
    margin: 18px;
    color: #c9276a;
}

.card__face--back .menu-icon {
    font-size: 1em;
    color: #FF3300;
}



li {
    color: #3d4043; /* Text color */
    list-style-type: none; /* Remove default list style */
    align-items: center; /* Center items vertically */
    }

/* Styling based on ID */
#top-menu-li {
    font-size: 16px; /* Font size */
    font-weight: bold;
    
    border: none;
    list-style-type: none; /* Remove default list style */
    
    align-items: center; /* Center items vertically */
}

ul {
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    font-size: 10px;
}

li:before {
    content: "\2022"; /* Unicode character for bullet (•) */
    margin-right: 8px; /* Adjust spacing between bullet and text */
}

a {
    color: #3d4043;
    font-size: 16px;
    font-weight:normal;
    text-decoration:underline;
}

/* Styling the anchor element on hover */
a:hover {
    color: #FF3300; /* Change text color to red on hover */
    text-decoration: underline;
}

a.visited {
    color:  #FF3300; /* Change color for visited links */
}
a.unvisited {
    color: #3d4043; /* Change color for unvisited links */
}

.backmenu__container {
    display: flex;
    font-size: 15px;
    flex-direction: row; /* Display columns next to each other horizontally */
}

.column {
    flex: 1;
    font-size: 15px;
    margin: 0 2px; /* Adjust margin as needed */
    
}

ul {
    list-style-type: none;
    padding: 0;
    font-size: 14px;
    
}

li {
    margin-bottom: 2px; /* Adjust margin as needed */
}

.main-grid-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(100px, 1fr)); /* Adjusted for responsiveness */
    /* grid-template-rows: repeat(3, 1fr);  Three rows with equal height */
    grid-template-rows: 300px 600px; /* Specify the height of each row */
    gap: 10px;
    justify-content: center;
    position: relative; /* Set position to absolute */
    align-items: center;
    font-weight: normal;
    z-index: auto; /* Set a higher z-index value */
    width: 100vw; /* Set width to 100% of the viewport width */
    
    top: 0vh; /* Position at the top of the page */
    left: 0vh; /* Position at the left of the page */
    height: 30vh;
}

@media screen and (max-width: 768px) {
    .main-grid-container {
      grid-template-rows: 15vh 15vh; /* Adjust row heights based on screen size */
      gap: 0px;
      max-height: 25vh;
    }
  }
  
  @media screen and (min-width: 769px) and (max-width: 1024px) {
    .main-grid-container {
      grid-template-rows: 15vh 15vh ; /* Adjust row heights based on screen size */
    }
  }
  
  @media screen and (min-width: 1025px) {
    .main-grid-container {
      grid-template-rows: 15vh 15vh ; /* Fallback for larger screens */

    }
  }

.main-grid-container .main-scene--card:nth-child(1) {
    grid-row: 1; /* Place the element in the second row */
    grid-column: 3; /* Place the element in the second column */
    max-width: 300px;
    color: #1662B3;
    justify-self: center; /* Horizontal centering */
    height: 5vh; /* Height for the first row */
}



.main-grid-container .main-scene--card:nth-child(n + 2) {
    display:flex;
    grid-row: 2; /* Place all children except the first one in the second row */
    margin-top: 120px;
    height: 10vh; /* Height for the first row */
    }

.main-grid-container img {
        max-width: 100%; /* Set maximum width to 100% */
        height: auto; /* Automatically adjust height to maintain aspect ratio */
}

.main-container-base {
    display: block;
    width: 100%;
    
    max-height: calc(60vh);
    top: 0vh;
    padding: 10px;
    height: 54vh; /* Make sure the body takes up the full viewport height */
    position: relative; /* Set position to absolute */
    overflow-y:auto;
    overflow-x: hidden;
    z-index: auto; /* Set a lower z-index value */
}


.main-container {
    display: block;
    width: 100%;
    
    max-height: calc(70vh);
    top: 0vh;
    padding: 10px;
    height: 54vh; /* Make sure the body takes up the full viewport height */
    position: relative; /* Set position to absolute */
    overflow: auto;
    z-index: auto; /* Set a lower z-index value */
}

.main-scene {
    width: 100%; /* Adjust to fit the grid item */
    height: 260px;
    perspective: 600px;
}
.main-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh; /* Adjust the height of each grid item as needed */
    transform-style: preserve-3d;
    transform-origin: center;
    transition: transform 1s;
    width: 100%;
}


.footer {
    width: 100%;
    height: 2vh;
    min-height: 2vh;
    margin-bottom: 40px;
    margin-right: 40px;
    margin-top: 60px;
    position: relative;
    bottom: 0;
    display: flex;
    background-color: rgba(255, 255, 255, 0.5); /* Transparent white background */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: -1; /* Lower z-index value */
    
}
.footer-content {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    z-index: -2;
}
    
.logo-container img {
        margin-top: 10px; /* Adjust margin between text and image */
        width: 200px;
        display: flex;
        max-width: 100%;
        position: relative;
        flex-direction: column;
        align-items: center;
        min-width: 50px; /* Set a minimum width for the image */
        z-index: -5;
    }

@media screen {
    .logo-container {
        --image-width: 300px; /* Set the width of the image for larger screens */
        margin-left: calc((100% - var(--image-width)) / 2); /* Calculate margin-left dynamically */
        z-index: -1;
    }
}



.main-card.is-flipped {
    transform: rotateY(-180deg);
    
}



.main-card__face {
    position: absolute;
    height: 100%; /* Adjust to fit the grid item */
    text-align: center;
    font-weight: bold;
    font-size: 40px;
    backface-visibility: hidden;
   
}

.main-card__face--front {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    align-items: center;
}

.main-card__face--front .login-icon {
    font-size: 3em; /* the icon size */
    margin-bottom: 0px;
    color: #778899;
}

.main-card__face--front .home-icon {
    font-size: 4em;
    height: auto;
    margin-bottom: 10px;
    color: #FF3300;
}

.main-card__face--front .menu-icon {
    font-size: auto;
    margin-bottom: 0px;
    
}


.main-card__face--front .dashboard-icon {
    font-size: 3em;
    margin-bottom: 10px;
    max-height: 100px;
    color:#FF3300;
}

/* card base menu back text */ 
.main-card__text {
    color:#3d4043;
    font-size: 16px;
    font-weight: normal;
    
    
}

.main-card__face, .main-card__face--front, .main-card__text_icon {
    color:#3d4043;
    font-size: 34px;
    
}

.main-card__face--back {
    transform: rotateY(180deg);
    font-size: 20px;
    
    
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.flashed-messages-base {
    width: 100%; /* Set the width of the screen to 100% */
    height: 2vh; /* Set the height of the screen to 10% of the viewport height */
    color: #1662B3;
    justify-content: center; /* Align items from the start */
    position: relative; /* Set position to absolute */
    top:0vh;
    left: 0; /* Align to the left edge */
    z-index: 2; /* Ensure it appears below the main-grid-container */
    flex-direction: column;
    align-items: center;
    display: flex;
    font-weight: bold;
    animation: blink 2s linear;
    margin-top: 120px;
    margin-bottom: 10px;
}

.flashed-messages-form {
    width: 100%; /* Set the width of the screen to 100% */
    height: 2vh; /* Set the height of the screen to 10% of the viewport height */
    color: #FF3300;
    justify-content: center; /* Align items from the start */
    position: relative; /* Set position to absolute */
    top:0vh;
    left: 0; /* Align to the left edge */
    z-index: 2; /* Ensure it appears below the main-grid-container */
    flex-direction: column;
    align-items: center;
    display: flex;
    font-weight: bold;
    animation: blink 2s linear;
    margin-top: 120px;
    margin-bottom: 10px;
}

.flashed-messages {
    width: 100%; /* Set the width of the screen to 100% */
    height: 2vh; /* Set the height of the screen to 10% of the viewport height */
    color: #FF3300;
    justify-content: center; /* Align items from the start */
    position: relative; /* Set position to absolute */
    top:0vh;
    left: 0; /* Align to the left edge */
    z-index: 2; /* Ensure it appears below the main-grid-container */
    flex-direction: column;
    align-items: center;
    display: flex;
    font-weight: bold;
    animation: blink 2s linear;
    
}



.table.dataTable{
    color: #778899;
    
    padding: 20px;
    overflow: scroll;
}


.dataTables_wrapper .dataTables_info  {
    padding: 10px;
}

/* search box */ 
.dataTables_wrapper .dataTables_filter{
    margin: 20px; 
}

.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate {
    
}

th, td {
    padding: 5px;
    vertical-align: top;
    color: #3d4043;
    
  }

.table td, .table th{
    padding: 0px;
   
}

.content {
    margin-top: 200px; /* Adjust margin-top as needed */
    /* Other styles for content */
}

.table-menu {
    margin: 0 auto; /* Center the container horizontally */
    width: 100vw; /* Make the container span 80% of the viewport width */
    
 
}

strong {
    font-weight: bold;
}

.container.mt-5 {
    margin-top: 0; /* Remove any top margin */
    width: 95%; /* Make the container span the full width */
    padding-right: 15px; /* Apply Bootstrap's default padding */
    padding-left: 15px; /* Apply Bootstrap's default padding */
    overflow: auto;
    
}


.container, .container-lg, .container-md, .container-sm, .container-xl{
    overflow: auto;
    max-width: 85vw;
    
}
.main-screen{
    z-index: 1;
    position: relative;
}




/* Make inputs and select elements full width */
.form-group input[type="text"] input[type="password"],
select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #FF3300;
}


/* Center the register button */
.form-group,button[type="submit"] {
    width: auto; /* Make the button full width */
    padding: 8px; /* Add padding */
    border-radius: 5px; /* Add border radius */
    border: 1px solid #FF3300; /* Add border */
    background-color: #f9f9f9; /* Example background color */
    color: #3d4043;/* Example text color */
    cursor: pointer;
    
}

* Center the register button */
.button-link[type="submit"] {
    width: 10%; /* Make the button full width */
}

/* Center the button horizontally */
.form-group,form {
    
    flex-direction: column;
    align-items: center;
    padding: 5px;
    color: #3d4043;
}

.form-group-centre {
    color: #3d4043;
    position: relative; /* Set absolute positioning */
    width: 100%;
    width: 100%;
       text-align: center; /* Center the text */
    padding: 30px 0; /* Add padding */
    box-sizing: border-box; /* Include padding in the width calculation */
    margin-bottom: 20px; /* Add margin bottom */
}


/* drop file */ 
#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 20vw;
    height: 20vh;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    margin-top: 60px;
}
#drop-area.highlight {
    border-color: #FF3300;
}

.col-md-4 {
    display: inline-block;
    width: calc(33.3333% - 20px); /* Adjust the width as needed */
    margin-right: 10px; /* Adjust the margin between tables */
    vertical-align: top; /* Align tables from the top */
    margin-bottom: 20px; /* Add margin to create space between tables */
    
    
}

th, td {
    
    padding: 8px; /* Add padding to create space between content and cell borders */
    text-align: left;
    margin-bottom: 10px;
    
    width: auto; /* Set the width to adjust based on content */
    padding: 8px; /* Add padding to create space between content and cell borders */
    text-align: left;
    margin-bottom: 10px;

}

th {
    background-color: #f2f2f2; /* Optional: background color for table header */
}

/* Add margin between fields */


th:first-child,
        td:first-child {
            border-left: none;
        }

        th:last-child,
        td:last-child {
            border-right: none;
            border-left: none;
            border-top: none;
            border-bottom: none;
        }
.thead-blue {
    background-color: white;
    color: #7693a9;
}

/* Custom CSS to display columns inline */
.col-md-4 {
    flex: 0 0 auto;
    max-width: 33.333333%;
}

.spinner-container {
    text-align: center;
    position: relative;
    right:8px;
}

.spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 9px solid;
    border-color: #dbdcef;
    border-right-color: #ff0000;
    animation: spinner-d3wgkg 1s infinite linear;
    position: relative; /* Ensure positioning context */
    top: -33%;
 }
 
 .loading-text {
    position: relative; /* Position absolutely */
    text-align: center;
    top: 32%; /* Align text to the center vertically */
    left: 50%; /* Align text to the center horizontally */
    transform: translate(-50%, -50%); /* Center the text */
    font-size: 14px; /* Adjust font size as needed */
    color: #000; /* Text color */
    white-space: nowrap; /* Prevent text wrapping */
 }

@keyframes spinner-d3wgkg {
   to {
      transform: rotate(1turn);
   }
}


.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color:  #3d4043;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;

    cursor: pointer;
}
/* Style for the button on hover */
.back-button:hover {
    background-color: #ccc;
    color:#FF3300;
}



.danger-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color:#ff0000;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;

    cursor: pointer;
}
/* Style for the button on hover */
.danger-button:hover {
    background-color: #ccc;
    color:#FF3300;
}

.submenu-button {
    display: inline-block; /* Use flexbox */
    flex-direction: column; /* Align items in a column */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    background-color: #778899;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin: 10px;
    width: 10vw; /* Fixed width */
    height: 10vh; /* Fixed height */
    min-width: 100px; /* Minimum width */
    min-height: 150px; /* Minimum height */
    max-width: 200px; /* Maximum width */
    max-height: 150px; /* Maximum height */
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    padding-top: 30px; /* Move text 30px down */
}

/* Style for the button on hover */
.submenu-button:hover {
    background-color: #ccc;
    color:#FF3300;
}
/* Cloned button with a different background color */
.submenu-button.action {
    background-color: #33CC66;
    color:black;
}

.submenu-button.action:hover {
    background-color: #ccc;
    color:#FF3300;
}



.orange-button {
    display: inline-block;
    padding: 10px 20px;
    background-color:#FF3300;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;

    cursor: pointer;
}
/* Style for the button on hover */
.orange-button:hover {
    background-color: #ccc;
    color:#FF3300;
}

/* Custom button styles */
.button-link {
    /* Add your custom styles here */
    background-color: #f9f9f9;
    border-color: #FF3300; /* Custom border color */
    color: #3d4043; /* Custom text color */
    border: 3px solid #FF3300;
    border-radius: 5px;
    padding: 2px 10px; /* Increase padding to add whitespace */
    font-size: 15px; /* Custom font size */
    display: inline-block; /* Make the button adjust its width to its content */
    margin-right: 10px; /* Add a bit of margin to the right */
    white-space: nowrap; /* Prevent text wrapping */
    
  }
  

.button-link:hover {
    background-color: #FF3300; /* Change background color on hover */
    color:#ccc;
  }

    /* Hover effect */
    .custom-btn:hover {
      background-color: #2c040a; /* Custom background color on hover */
      border-color: #55889B; /* Custom border color on hover */
    }

    /* Disabled state */
    .custom-btn:disabled {
      background-color: #3b0303; /* Custom background color when disabled */
      border-color: #ccc; /* Custom border color when disabled */
      color: #666; /* Custom text color when disabled */
      cursor: not-allowed; /* Change cursor to not-allowed when disabled */
    }

    .row tr.odd {
        color: #3d4043;
    }
    .row tr.even {
        color: #3d4043;
    }

    
/* Change the color of the pagination */
.pagination > .page-item > .page-link {
    color: #FF3300; /* Custom color */
    background-color: transparent; /* Set background color to transparent */
    border-color: #FF3300; /* Custom border color */
}

/* Change the hover color of the pagination */
.pagination > .page-item > .page-link:hover {
    color: #fff; /* Custom color on hover */
    background-color: #FF3300; /* Custom background color on hover */
    border-color: #FF3300; /* Custom border color on hover */
}


/* make a form flash */ 
.flash {
    animation: flash 1s;
  }
  
  @keyframes flash {
    0% { background-color: inherit; }
    50% { background-color: yellow; }
    100% { background-color: inherit; }
  }

  #cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 10px;
    text-align: center;
    z-index: 1000;
}

.cookie-consent-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-consent-content p {
    margin: 0 0 10px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#accept-cookies, #decline-cookies {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

#decline-cookies {
    background-color: #f44336;
}

#accept-cookies:hover {
    background-color: #45a049;
}

#decline-cookies:hover {
    background-color: #d32f2f;
}
  