/*!
Theme Name: Purple Moon Designs
Theme URI: https://thepowerwithintraining.com
Author: Purple Moon Designs
Author URI: https://www.purplemoondesigns.co.uk
Description: This theme was developed for The Power Within Training by Purple Moon Designs. 
Version: 1.0.0

*/

/*******************************
================================
GLOBAL
================================
*******************************/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
textarea {
  font-family: "Catamaran", sans-serif;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
}

img {
  width: auto;
  max-width: 100%;
  border-style: none;
}

.content_wrap {
  max-width: 1400px;
  margin: 0 auto;
  width: 90%;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999999;
  background: #fff;
  box-shadow: 30px 30px 60px rgb(0 0 0 / 30%);
}

.row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.pd-50 {
  padding: 50px 0px;
}
.shadowbox {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.row.inline-table {
  display: inline-table;
}

.relative {
  position: relative;
}

.block {
  display: inline-block;
}

.short {
  width: 90%;
  margin: 0 auto;
}

.cnt_10 {
  width: 10%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_20 {
  width: 20%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_25 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
  display: inherit;
}

.cnt_30 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.inline-table .cnt_30 {
  display: inherit;
}

.cnt_33 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_40 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_50 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_60 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_70 {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_80 {
  width: 80%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_90 {
  width: 90%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.cnt_full {
  width: 100%;
  -ms-flex-pack: inherit;
  -webkit-justify-content: inherit;
  justify-content: inherit;
}

.margin-right {
  margin: 0 0 20px;
}

.mb-10 {
  margin-bottom: 10px;
}
.mb-25 {
  margin-bottom: 25px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-50 {
  margin-bottom: 50px;
}
button {
  transition: 0.5s;
  cursor: pointer;
}

.pointer {
  cursor: pointer;
}
.p-20 {
  padding: 20px;
}

.grid {
  display: grid;
}

.w-100 {
  width: 100%;
}

.grid-4-card {
  display: grid;
  grid-template-columns: repeat(
    1,
    1fr
  ); /* Defines two columns: one 4 parts wide, the other 1 part */
  gap: 20px; /* Adds spacing between grid items */
  align-items: stretch;
}

.grid-4-card > div {
  grid-column: span 1; /* Each child spans one column */
}

.grid-2-card {
  display: grid;
  grid-template-columns: repeat(
    1,
    1fr
  ); /* Defines two columns: one 4 parts wide, the other 1 part */
  gap: 20px; /* Adds spacing between grid items */
  align-items: stretch;
}

.grid-2-card > div {
  grid-column: span 1; /* Each child spans one column */
}

/*******************************
================================
TYPOGRAPHY
================================
*******************************/

a {
  background-color: transparent;
  text-decoration: none;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

a:hover {
  cursor: pointer;
}

p {
  margin: 0;
  line-height: 1.5;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px;
  line-height: 1;
}

img {
  width: auto;
  max-width: 100%;
  border-style: none;
}

h1 {
  font-size: 64px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 32px;
}
h4 {
  font-size: 27px;
}

p {
  font-size: 21px;
}

.fw-500 {
  font-weight: 500;
}

.inter {
  font-family: "Inter", sans-serif; /* For Inter */
}

.junge {
  font-family: "Junge", serif; /* For Junge */
}

.public-sans {
  font-family: "Public Sans", sans-serif; /* For Public Sans */
}

.fs-32 {
  font-size: 32px;
}

.fs-36 {
  font-size: 36px;
}

.fs-24 {
  font-size: 24px;
}

.fs-27 {
  font-size: 27px;
}

.max-500 {
  max-width: 500px;
  margin: auto;
}

/*******************************
================================
COLOURS
================================
*******************************/

:root {
  --navy: #2d3546;
  --sage: #dee0d3;
  --azure: #ccd8d7;
  --cream: #f8f7f7;
  --jet: #232323;
  --neutral: #969696;
  --sblue: #2d3546;
  --mute: #8b909a;
  --mist: #f3f4f8;
  --sky: #e9effd;
  --royal: #2563eb;
  --spring: #24d164;
  --mint: #e9faef;
  --active: #cfe4ff;
  --deep: #0f172a;
  --cool: #8f929c;
  --slate: #64748b;
  --grayish: #94a3b8;
  --charcoal: #25272d;
  --pale: rgba(204, 216, 215, 0.5);
}

.overlay:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 40%;
}

.white {
  color: #fff;
}

.gradient {
  background: rgb(230, 0, 126);
  background: -moz-linear-gradient(
    312deg,
    rgba(230, 0, 126, 1) 0%,
    rgba(174, 0, 96, 1) 80%,
    rgba(115, 0, 63, 1) 100%
  );
  background: -webkit-linear-gradient(
    312deg,
    rgba(230, 0, 126, 1) 0%,
    rgba(174, 0, 96, 1) 80%,
    rgba(115, 0, 63, 1) 100%
  );
  background: linear-gradient(
    312deg,
    rgba(230, 0, 126, 1) 0%,
    rgba(174, 0, 96, 1) 80%,
    rgba(115, 0, 63, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e6007e",endColorstr="#73003f",GradientType=1);
}

.fc-jet {
  color: var(--jet);
}

.fc-neutral {
  color: var(--neutral);
}

.bg-navy {
  background-color: var(--navy);
}
.fc-navy {
  color: var(--navy);
}
.bg-trans {
  background-color: transparent;
}
.fc-mute {
  color: var(--mute);
}
.fc-grayish {
  color: var(--grayish);
}
.fc-slate {
  color: var(--slate);
}
.fc-cool {
  color: var(--cool);
}
.fc-azure {
  color: var(--azure);
}

.hover-fc-active:hover {
  color: var(--active);
}
.bg-sage {
  background-color: var(--sage);
}

div#page {
  background-color: #f8f7f7;
}
.bg-white {
  background-color: white;
}

.fc-charcoal {
  color: var(--charcoal);
}
/*******************************
================================
404
================================
*******************************/

main#primary {
  min-height: 80vh;
}

section.error-404.not-found {
  text-align: center;
  padding: 100px 0;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 40px;
}

.not-found-content-con {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.not-found-content {
  max-width: 700px;
}
.cta-btn {
  width: 100%;
}

.not-found-content {
  max-width: 700px;
}

.not-found-content {
  max-width: 700px;
}

.not-found-title {
  margin-bottom: 15px;
}

.cta-btn a:hover {
  background-color: red;
}
.cta-btn a {
  width: 100%;
  border-radius: 5px;
  border: 1px solid black;
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 18px;
  color: black;
  transition: 0.5s;
}

/*******************************
================================
SINGLE BLOG
================================
*******************************/

.blog-content-box.shadowbox {
  width: 100%;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 25px;
}

.blog-title {
  margin-bottom: 20px;
}

.blog-content-box.shadowbox p {
  margin-bottom: 15px;
}

.blog-title h2 {
  font-size: 30px;
}

.blog-cnt {
  box-shadow: 0 0 32px 0 rgb(26 47 106 / 8%);
  border-radius: 6px;
}

.meta-content {
  position: relative;
}

.post-thumbnail img {
  height: auto;
  border-radius: 6px 6px 0 0;
}

.date-posted {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 4px;
  background: var(--blue);
  padding: 12px 0;
}

.date-posted span {
  color: #fff;
}

.info {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--blue);
}

.cat-box {
  display: flex;
}

.cat-box i {
  padding-right: 10px;
}

ul.single-cat-list li:first-child {
  display: block;
}

.info h2 {
  margin: 10px 0 0;
}

blockquote {
  padding: 20px 0 20px 40px;
  position: relative;
  border-left: solid 4px var(--blue);
  margin: 15px 0;
}

/* sidebar */

form.searchform.group {
  width: calc(100% - 10px);
  border: solid 1px #dadada;
  padding: 5px;
  position: relative;
  border-radius: 5px;
}

input[type="search"] {
  width: 90%;
  border: none;
  line-height: 30px;
  font-size: 16px;
  box-sizing: border-box;
  padding: 10px;
}

input[type="image"] {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translate(0px, -50%);
  width: 8%;
}
.siderbar-box {
  margin: 30px 0;
}

.blog-side-sec.shadowbox {
  width: 100%;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 25px;
}

.siderbar-box h3 {
  font-size: 25px;
  font-weight: 500;
  color: var(--blue);
}

ul.cat-list {
  margin-top: 10px;
}

ul.cat-list li {
  padding: 15px 0;
  font-size: 20px;
}

ul.cat-list a {
  color: #333333;
  font-weight: 400;
}

.rp-details a:hover,
ul.cat-list a:hover {
  color: var(--blue);
}

.recent-posts {
  margin: 10px 0;
  display: table;
}

.rp-img,
.rp-details {
  display: table-cell;
  vertical-align: middle;
}

.rp-img {
  width: 25%;
}

.rp-details {
  padding-left: 15px;
}

.recent-posts img {
  width: auto;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
  filter: grayscale(0);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.recent-posts img:hover {
  cursor: pointer;
  filter: grayscale(1);
}

.rp-details a {
  color: #333;
}

span.date {
  opacity: 70%;
  font-size: 13px;
  text-align: left;
}
/* Search */

.filter-control a.active {
  background-color: #4ed8dc;
}

.ssearch-con {
  max-width: 700px;
  margin: auto;
}

.filter-control-con {
  margin: 15px;
  box-sizing: border-box;
  width: 100%;
}

.filter-control {
  /* padding: 10px; */
  /* background-color: cadetblue; */
  /* text-align: center; */
}

.filter-control a {
  padding: 10px;
  background-color: cadetblue;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  transition: 0.5s;
}

.filter-control a:hover {
  background-color: #4ed8dc;
}

/* archive */

.blog-sng {
  background-color: #f2f2f2;
  margin: 0 0 30px;
  padding: 15px 15px 30px;
  border-radius: 6px;
}

.blog-sng img {
  border-radius: 3px;
  margin-bottom: 10px;
  width: 100%;
  height: auto;
  filter: grayscale(0);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.blog-sng img:hover {
  filter: grayscale(1);
}

span.date {
  opacity: 70%;
  font-size: 13px;
}

.blog-sng a h2 {
  color: #333;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.blog-sng a h2:hover {
  color: var(--blue);
}

h1.white.relative span {
  color: var(--yellow);
}
.blog-card-con {
  margin: 10px;
  box-sizing: border-box;
  height: 100%;
}

.blog-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.blog-card {
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  box-sizing: border-box;
}

/*******************************
================================
Login page
================================
*******************************/
.login-container {
  min-height: 100vh;
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(1, 1fr); /* Four equal-width columns */
}

.form-success {
  padding: 10px 0px;
  border-radius: 10px;
  font-size: 30px;
  font-weight: bold;
}

.login-right-section {
  display: none;
}

.login-left-section {
  grid-column: 1 / 1; /* Same column as Cell 1 */
  grid-row: 1 / 1; /* Row below Cell 1 */
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.login-image-section {
  background-image: url(/wp-content/uploads/2025/01/container.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.login-form-group-con {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

.login-form-group {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.login-form-group input {
  padding: 20px 20px 20px 10px;
  width: 100%;
  border: none;
}

.login-form-group i {
  margin: 10px;
  font-size: 18px;
}

.login-form-section {
  width: 100%;
  max-width: 450px;
  padding: 10px;
  box-sizing: border-box;
}

.login-additional-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me-con input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.remember-me-con {
  display: flex;
  align-items: center;
}

button.login-button {
  width: 100%;
  padding: 15px 10px;
  border-radius: 10px;
  border: none;
}

button.login-button:hover {
  color: var(--jet);
  background-color: var(--sky);
  border: none;
}

.forgotten-password a:hover {
  color: var(--amethyst);
}

.login-form-section form {
  margin-top: 30px;
}

a.login-top-logo {
  position: absolute;
  left: 20px;
  top: 20px;
}

.login-logo-con {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: 40px;
  background-color: white;
  width: 316px;
  height: auto;
}

@media (min-width: 1024px) {
  .login-logo-con {
    position: absolute;
    left: 0px;
    top: 0px;
  }
  .login-right-section {
    grid-column: 2 / 2; /* Start at column 1 and span 1 column */
    grid-row: 1 / 2; /* Start at row 1 and span 1 row */
    height: 100%;
    width: 100%;
    background-color: var(--amethyst);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
  }
  .login-container {
    min-height: 100vh;
    display: grid;
    grid-column: 2;
    grid-template-columns: repeat(2, 1fr); /* Four equal-width columns */
  }

  .login-left-section {
    grid-column: 1 / 2; /* Same column as Cell 1 */
    grid-row: 1 / 1; /* Row below Cell 1 */
  }
}
/*******************************
================================
Page layout 
================================
*******************************/
div#content {
  position: relative;
  min-height: 100vh;
}

.page-content {
  position: relative;
  min-height: 100vh;
  flex-wrap: nowrap;
}

/*******************************
================================
sidebar
================================
*******************************/

.side-bar {
  width: 100%;
  max-width: 350px;
  transition: width 0.3s ease;
  padding: 10px;
  box-sizing: border-box;
}
.side-bar .inner-sidebar {
  width: 100%;
  transition: width 0.3s ease;
  padding: 10px;
  border-radius: 10px;
  box-sizing: border-box;
  height: 100%;
}

ul.sidebar-menu-list {
  list-style: none;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

li.sidebar-menu-item a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 17px;
  box-sizing: border-box;
  border-radius: 10px;
}

li.sidebar-menu-item {
  width: 100%;
}

li.sidebar-menu-item a i {
  margin-right: 10px;
}

li.sidebar-menu-item a:hover,
li.sidebar-menu-item a.active {
  background-color: var(--mist);
}

/* Hide the mobile toggle by default */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  height: max-content;
position: absolute;
    z-index: 100;
}
.mobile-menu-toggle i {
  pointer-events: none;
}

/* On small screens, show toggle and hide sidebar initially */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  /* Sidebar wrapper off‑canvas */
  #mobile-sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%; /* adjust as needed */
    max-width: 300px;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    background: var(--sage); /* ensure it overlays */
  }
  /* When “open” class is present, slide in */
  #mobile-sidebar-wrapper.open {
    transform: translateX(0);
  }
  /* Dim the rest of the page when open (optional) */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
  }
}

/*******************************
================================
Add site manager
================================
*******************************/
div#page {
  background-color: #f8f7f7;
}

.page-content-class {
  width: 100%;
  padding: 50px 20px;
  box-sizing: border-box;
}

.page-title {
  margin-bottom: 50px;
}

.return-btn {
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.return-btn i {
  margin-right: 10px;
}

.return-btn:hover {
  background-color: var(--active);
  color: black;
}

.interaction-page-cta {
  margin-bottom: 50px;
}

/*******************************
================================
Standard Form
================================
*******************************/

.input-group-split-group {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.input-group-split {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping for child elements */
  gap: 20px; /* Adjust spacing between items */
  margin-bottom: 20px;
}

.input-group-split-group {
  width: calc(50% - 10px); /* Each group takes up 50% width by default */
}

@media (max-width: 768px) {
  /* Adjust breakpoint as needed */
  .input-group-split-group {
    width: 100%; /* Full width on smaller screens */
  }
}

.input-group {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 20px;
}

.standard-input {
  border-color: var(--azure);
  padding: 10px;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
  color: black;
}

/* Select2 container */
.select2-container .select2-selection {
  border-color: var(--azure) !important;
  padding: 5px !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  color: black !important;
}

/* Ensure the text inside is properly styled */
.select2-container .select2-selection__rendered {
  color: black !important;
}

/* Adjust dropdown arrow */
.select2-container .select2-selection__arrow {
  height: 100% !important;
}

/* Dropdown styling */
.select2-dropdown {
  border-color: var(--azure) !important;
  border-radius: 4px !important;
}

/* Styling for hovered options */
.select2-results__option--highlighted {
  background-color: var(--azure) !important;
  color: white !important;
}

.input-group-section-heading {
  margin-bottom: 25px;
}

.form-cta-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px;
  max-width: 150px;
  border: 1px solid transparent;
}

.form-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-cancel {
  background-color: transparent;
  border: 1px solid var(--navy);
}

.form-cta-button.form-submit:hover {
  border-color: var(--navy);
  background-color: transparent;
  color: var(--navy);
}

.form-cancel:hover {
  background-color: var(--navy);
  color: white;
}
/*******************************
================================
Standard Table 
================================
*******************************/
/* General Table Styling */
.table-page-content {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 4px 5px;
}

.table-status {
  padding: 5px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  font-weight: bold;
}
.Pending.table-status,
.on-going.table-status {
  color: var(--royal);
  background-color: var(--sky);
}

.Complete.table-status,
.complete.table-status {
  color: #24d164;
  background-color: #e9faef;
}

/* Common Table Styles */
table#standard-table,
table#present-table,
table#absent-table,
table#late-table {
  overflow: hidden;
  margin-bottom: 20px;
}

table#standard-table thead,
table#present-table thead,
table#absent-table thead,
table#late-table thead {
  background-color: var(--pale);
}

div#standard-table_filter,
div#present-table_filter,
div#absent-table_filter,
div#late-table_filter {
  display: none;
}

div#standard-table_length,
div#present-table_length,
div#absent-table_length,
div#late-table_length {
  margin-bottom: 20px;
  padding-left: 10px;
  padding-top: 10px;
}

div#standard-table_paginate,
div#present-table_paginate,
div#absent-table_paginate,
div#late-table_paginate {
  padding-right: 10px;
  padding-bottom: 10px;
}

div#standard-table_info,
div#present-table_info,
div#absent-table_info,
div#late-table_info {
  padding-left: 10px;
  padding-bottom: 10px;
}

.table-page-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.table-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-action {
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.table-action i {
  margin-right: 5px;
}

.table-action-add:hover {
  background-color: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.table-action-filter:hover {
  background-color: var(--navy);
  color: white;
}

.table-action.table-action-sort:hover {
  background-color: white;
  border-color: var(--navy);
}
table.dataTable {
  font-size: 10px;
}
div#standard-table_wrapper {
  overflow: scroll;
}

.table-search-con {
  width: 100%;
  max-width: 500px;
  padding-left: 10px;
  background-color: white;
  display: flex;
  align-items: center;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-bottom: 50px;
  box-sizing: border-box;
}
.table-action-filter {
  border-color: var(--navy);
}
.table-action-sort option {
  font-family: "Font Awesome 5 Free", Arial, sans-serif;
  font-weight: 900; /* Ensure icons are bold */
}

.table-search-con i {
  margin-right: 10px;
}

.table-search-con input {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: none;
}

.swal2-html-container .popup-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.swal2-html-container .popup-actions button,
.swal2-html-container .action-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 21px;
  cursor: pointer;
  background-color: var(--navy);
  border: 1px solid var(--navy);
}

.swal2-html-container .edit-button {
  color: white;
}

.swal2-html-container .view-button {
  color: white;
}

.swal2-html-container .delete-button {
  color: white;
}
.swal2-html-container .popup-actions button:hover,
.swal2-html-container .action-button:hover {
  color: var(--navy);
  background-color: white;
}
div#subcon-table_wrapper {
  overflow-x: scroll;
}

/*******************************
================================
Single project 
================================
*******************************/
a.fancybox-button.fancybox-button--download {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translate(-50%, 0px);
  display: flex;
  background-color: white;
  width: max-content;
  color: black;
  padding: 20px;
  box-sizing: border-box;
  height: max-content;
  border-radius: 10px;
}

button.fancybox-button.fancybox-button--close {
  width: 60px;
  height: 60px;
  background-color: white;
  color: black;
}

.project-change-status-container.mb-50 {
  max-width: 300px;
}
.project-cta-cell {
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.date-time-display {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.report-button {
  padding: 8px 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 150px;
  border: 1px solid transparent;
}

.project-cta-cell.bg-white .submitted {
  background-color: forestgreen;
  cursor: not-allowed;
}

.project-cta-cell.bg-white .submitted:hover {
  background-color: forestgreen;
  cursor: not-allowed;
  color: white;
}

.project-cta-cell .action {
  width: 100%;
}

.report-button:hover {
  color: var(--navy);
  background-color: white;
  border-color: var(--navy);
}

.standard-two-tab-container .tabs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Create two equal columns */
  justify-items: stretch; /* Ensures tabs stretch evenly across the grid */
  align-items: center; /* Align items vertically if needed */
  width: 100%; /* Ensures full container width */
  gap: 0; /* No gaps between the tabs */
}

.standard-two-tab-container {
  overflow: hidden;
}

.pdf-preview-container canvas {
  aspect-ratio: 16/9;
  max-width: 260px;
  height: auto !important;
  object-fit: cover;
  object-position: center;
}

.standard-three-tab-container .tabs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Create two equal columns */
  justify-items: stretch; /* Ensures tabs stretch evenly across the grid */
  align-items: center; /* Align items vertically if needed */
  width: 100%; /* Ensures full container width */
  gap: 0; /* No gaps between the tabs */
}

.standard-three-tab-container .tab,
.standard-two-tab-container .tab {
  background-color: var(--mute); /* Set muted background color */
  color: white; /* White text */
  text-align: center; /* Center align text */
  padding: 15px; /* Add padding for better appearance */
  cursor: pointer; /* Add pointer to indicate clickable tabs */
  transition: background-color 0.3s ease; /* Smooth hover effect */
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.standard-two-tab-container .tab.active,
.standard-two-tab-container .tab:hover {
  background-color: var(--sage);
  color: var(--navy);
}

.standard-three-tab-container .tab.active,
.standard-three-tab-container .tab:hover {
  background-color: var(--sage);
  color: var(--navy);
}

/* Shared styles for daily and weekly reports tables */
table#daily-reports th,
table#weekly-reports th {
  background-color: #f3efef;
  border-bottom: none;
  color: var(--deep);
  padding-top: 15px;
  padding-bottom: 15px;
  text-transform: uppercase;
  font-size: 10px;
}

table#daily-reports,
table#weekly-reports {
  width: 100% !important;
  background-color: white;
}

table#daily-reports th:nth-child(1),
table#weekly-reports th:nth-child(1),
table#daily-reports td:nth-child(1),
table#weekly-reports td:nth-child(1) {
  padding-left: 5px;
}

table#daily-reports th:last-child,
table#weekly-reports th:last-child,
table#daily-reports td:last-child,
table#weekly-reports td:last-child {
  padding-right: 5px;
}

table#daily-reports td,
table#weekly-reports td {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 10px;
  border-bottom: 1px solid #f1f5f9;
}

table#daily-reports button,
table#weekly-reports button {
  width: 100%;
  border-radius: 10px;
  padding: 2px;
  box-sizing: border-box;
}

table#daily-reports .fs-24,
table#weekly-reports .fs-24 {
  font-size: 10px;
}

.pdc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.pdc-row p {
    word-wrap: break-word;
}


.pdc-row .context {
  width: 100%;
  max-width: 200px;
}

.pdc-row .content {
  width: 100%;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.project-details-content-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-details-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.project-details-heading {
  margin-bottom: 40px;
}

.pdc-row .context {
  width: 100%;
  max-width: 200px;
}

.pdc-row .content {
  width: 100%;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.project-details-content-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-details-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.project-details-heading {
  margin-bottom: 40px;
}

.download-content-container {
  display: flex;
  background-color: white;
  flex-direction: column;
}
.download-icon img {
  aspect-ratio: 16 / 9;
  max-width: 280px;
  height: auto !important;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.dcc-row {
  width: 100%;
  border-top: none;
  border-right: 1px solid #e2e4e9;
  border-bottom: 1px solid #e2e4e9;
  border-left: 1px solid #e2e4e9;
  box-sizing: border-box;
  display: grid;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pdf-preview-container {
  padding: 10px;
}

.download-meta {
  padding: 10px;
}

.download-content-container a {
  width: 100%;
  display: flex;
}

.dcc-row:hover p {
  color: var(--active);
}

/*******************************
================================
Daily report
================================
*******************************/

.report-slide {
  display: none;
}

.report-slide.active {
  display: block;
}
.report-progress-bar-container {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  margin-bottom: 50px;
}

.report-progress-bar-container .bar {
  background-color: rgba(204, 216, 115, 0.3);
  height: 10px;
  width: 100%;
  border-radius: 5px;
}
.report-progress-bar-container .bar.active {
  background-color: #ccd8d7;
}

.standard-textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  min-height: 80px;
  box-sizing: border-box;
  color: black;
}

.slide-heading {
  margin-bottom: 20px;
}

button.report-control {
  width: 100%;
  max-width: 200px;
  padding: 10px;
  border-radius: 10px;
  border-color: transparent;
}

.report-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-control.back {
  border-color: var(--navy);
}

.weekly_section_fourteen-control {
  width: 100%;
  max-width: 140px;
  padding: 10px;
  border-radius: 10px;
  border-color: transparent;
}

.weekly_section_fourteen-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.weekly_section_fourteen-control.skip {
  border-color: var(--navy);
}

.weekly_section_fourteen-control.skip:hover {
  background-color: var(--navy);
  color: white;
}

.radio-other-container.mb-50 {
  margin-top: 30px;
}

.report-control.back:hover {
  background-color: var(--navy);
  color: white;
}

.report-control.next:hover,
.report-control.submit:hover,
.weekly_section_fourteen-control.add:hover {
  background-color: white;
  border-color: var(--navy);
  color: var(--navy);
}

.report-control.back.hidden {
  visibility: hidden; /* Hides the button while keeping its space */
  pointer-events: none; /* Prevents any interactions with the hidden button */
}

.radio-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-options input {
  margin-right: 10px;
  height: 30px;
  width: 30px;
}

.radio-options .radio-option {
  display: flex;
  line-height: 1;
  align-items: center;
}

.radio-heading {
  margin-bottom: 20px;
}

.textarea-heading {
  margin-bottom: 20px;
}
.weekly_section_fourteen-context-row {
  position: relative;
  padding-right: 15px;
  margin-bottom: 30px;
  padding-top: 15px;
}

.weekly_section_fourteen-context-row .remove-row {
  position: absolute;
  right: 15px;
  top: 15px;
  background-color: transparent;
  border: none;
}

.weekly_section_fourteen-context-row .remove-row:hover {
  color: red;
}
.weekly_section_fourteen-context-row label {
  display: block;
}

/*******************************
================================
Attendance report
================================
*******************************/

.attendance-slide {
  display: none;
}

.attendance-slide.active {
  display: block;
}
.inner-attendance-slide {
  max-width: 500px;
  margin: auto;
}

table#present-table,
table#absent-table,
table#late-table {
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
}
table#present-table th,
table#absent-table th,
table#late-table th {
  text-align: center;
}
table#present-table tbody,
table#absent-table tbody,
table#late-table tbody {
  background-color: white;
}
table#present-table td,
table#absent-table td,
table#late-table td {
  box-shadow: none;
  border: none;
  padding: 10px;
}

.attendance-progress-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three evenly spaced columns */
  align-items: start;
  position: relative;
  margin-bottom: 50px;
}

.attendance-progress-bar:before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #2d3546;
  top: 35px;
  left: 50%;
  transform: translate(-50%, -17px);
}

.sphere {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px solid var(--navy);
}

.active .sphere .count {
  color: white;
  font-size: 18px;
}

.active .sphere {
  background-color: var(--navy);
}

.sphere .complete-check {
  display: none;
}

.complete .sphere .count {
  display: none;
}

.complete .sphere .complete-check {
  display: block;
}

.progress-div.active h3 {
  display: block;
}

.progress-div h3 {
  display: none;
}

.progress-div {
  position: relative;
}

.progress-div:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.progress-div:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.progress-div:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/*******************************
================================
Admin Dashboard
================================
*******************************/
.dashboard-stats-cell {
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  box-sizing: border-box;
  justify-content: space-between;
}

.dashboard-stats-cell .stats {
  display: flex;
  width: 100%;
  align-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.row-split {
  width: 100%;
  gap: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-table-cell {
  padding: 20px;
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 100%;
  overflow: hidden;
}
/*******************************
================================
FOOTER
================================
*******************************/

/*******************************
================================
MEDIA
================================
*******************************/

@media (max-width: 768px) {
  /*******************************
================================
sidebar
================================
*******************************/
  .side-bar {
    max-width: 200px;
  }
  .side-bar .fs-24 {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .copyright p {
    display: table-cell;
    vertical-align: middle;
  }
  p.white.right {
    text-align: right;
  }
  .copyright p {
    display: table-cell;
    vertical-align: middle;
  }
  .copyright {
    padding: 50px 0 25px;
    display: table;
    width: 100%;
    text-align: left;
  }
  /* global */

  .cnt_10 {
    width: 25%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_20 {
    width: 50%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_25 {
    width: 50%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_30 {
    width: 50%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_33 {
    width: 50%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }
  .blog-card {
    height: 100%;
  }
  .grid-4-card {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Defines two columns: one 4 parts wide, the other 1 part */
  }

  /* Tables */
  table.dataTable tbody th,
  table.dataTable tbody td {
    padding: 8px 10px;
  }

  table.dataTable {
    font-size: 16px;
  }

  table#daily-reports th,
  table#weekly-reports th {
    font-size: 21px;
  }
  table#daily-reports td,
  table#weekly-reports td {
    font-size: 21px;
  }
  table#daily-reports .fs-24,
  table#weekly-reports .fs-24 {
    font-size: 24px;
  }
  table#daily-reports th:nth-child(1),
  table#weekly-reports th:nth-child(1),
  table#daily-reports td:nth-child(1),
  table#weekly-reports td:nth-child(1) {
    padding-left: 20px;
  }

  table#daily-reports th:last-child,
  table#weekly-reports th:last-child,
  table#daily-reports td:last-child,
  table#weekly-reports td:last-child {
    padding-right: 20px;
  }

  table#daily-reports button,
  table#weekly-reports button {
    padding: 5px;
  }

  .pdc-row {
    flex-wrap: nowrap;
  }
  .table-status {
    padding: 10px;
  }
  .select2-container .select2-selection {
    padding: 10px !important;
  }
}

@media (min-width: 1024px) {
  /* global */

  .margin-right {
    margin: 0 20px 0 0;
  }

  .margin-left {
    margin: 0 0 0 20px;
  }

  .row {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .table {
    display: table;
  }

  .cell {
    display: table-cell;
    vertical-align: middle;
  }

  .relative {
    position: relative;
  }

  .block {
    display: inline-block;
  }

  .short {
    width: 90%;
    margin: 0 auto;
  }

  .cnt_10 {
    width: 10%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_20 {
    width: 20%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_25 {
    width: 25%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_30 {
    width: 30%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_33 {
    width: 33.33333%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_40 {
    width: 40%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_50 {
    width: 50%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_60 {
    width: 60%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_70 {
    width: 70%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_80 {
    width: 80%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_90 {
    width: 90%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }

  .cnt_full {
    width: 100%;
    -ms-flex-pack: inherit;
    -webkit-justify-content: inherit;
    justify-content: inherit;
  }
  .grid-4-card {
    grid-template-columns: repeat(
      4,
      1fr
    ); /* Defines two columns: one 4 parts wide, the other 1 part */
  }
  .grid-2-card {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Defines two columns: one 4 parts wide, the other 1 part */
  }
}

@media (min-width: 1200px) {
}
