
.c-body {
  background: #f4f6f4
}

.nav-tabs {
  border-bottom: none !important;
}

/* Common tab styles */
.nav-tabs .nav-link {
  border: 1px solid #e0e0e0;
  border-bottom: none; /* So active tab appears connected to content */
  background-color: #f8f9fa;
  color: #5f6368;
  padding: 10px 16px;
  font-weight: 500;
  margin-right: 0px; /* key for seamless join */
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  position: relative;
  z-index: 0;
}

/* Active tab */
.nav-tabs .nav-link.active {
  border: 1px solid #c4c9d0;
  background-color: #e2e6ea;
  color: #202124;
  font-weight: 600;
  border-bottom: none;
  z-index: 1;
}

/* Hover effect (optional for inactive tabs) */
.nav-tabs .nav-link:hover:not(.active) {
  background-color: #eceff1;
  color: #202124;
}


.btn-action {
  border-radius: 5px;
  background: var(--Tertiary-600, #33556D);
  color: white;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  color: #768192;
  background-color: transparent;
  border-color: var(--border, #768192);
  border-bottom: none;
}

.badge {
  display: inline-block;
  width: 150px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Status badges */
.badge-danger {
  background-color: #F8D7DA;  /* light red */
  color: #721c24;             /* dark red text */
  border-radius: 16px;
  padding: 6px 12px;
}

.badge-warning {
  background-color: #FFF3CD;  /* light yellow */
  color: #856404;             /* dark yellow text */
  border-radius: 16px;
  padding: 6px 12px;
}

.badge-light {
    background-color: #E2E3E5;
    color: #383d41;
    border-radius: 16px;
    padding: 6px 12px;
}

.badge-success {
    background-color: #D1ECF1;
    color: #0c5460;
    border-radius: 16px;
    padding: 6px 12px;
}

.badge-primary {
    background-color: #cce5ff;
    color: #004085;
    border-radius: 16px;
    padding: 6px 12px;
}

/* background: var(--gray-100, #f2f4f7); */
  
/* notification badge */
.notification-badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}




.card-info {
  background: #fff !important;
  border-radius: 8px;
  border-style: solid;
  border-color: #e5e9eb;
  border-width: 1px;
  height: 327px;
  position: relative;
  overflow: hidden;
}

.scrollable-container {
  height: auto;
  max-height: 327px;
  overflow-y: auto;
}


.truncate-text {
  display: inline-block;
  max-width: 10px; /* Adjust as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer; /* Indicates hover action */
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap !important;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.card-profile .card-header {
    height: 9rem;
    background-size: cover;
    background-position: center center
}

.card-profile-img {
    max-width: 8rem;
    margin-top: -6rem;
    margin-bottom: 1rem;
    border: 3px solid #868e96;
}


.card-company-logo .card-header {
    height: 10rem;
    background-size: cover;
    background-position: center center
}

.card-company-img {
    max-width: 9rem;
    margin-top: -6rem;
    margin-bottom: 1rem;
}

.c-dark-theme .form-control {
  border: 1px solid #484855 !important;
}

.c-dark-theme .select2-container--coreui .select2-selection {
    border: 1px solid #484855 !important;
}

.ppotts-logo-pulse {
  width: 40px;
  height: 40px;
  margin: auto;
  background-color: transparent;
  border-radius: 100%;
  -webkit-animation: sk-pulseScaleOut 3.0s infinite ease-in-out;
  animation: sk-pulseScaleOut 3.0s infinite ease-in-out;
}

.loader {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity:1;
}


.loader.hidden {
  animation: fadeOut 1s;
  animation-fill-mode: forwards;
}

@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.avatar-log {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    display: inline-block;
    background: #ced4da no-repeat center/cover;
    position: relative;
    text-align: center;
    color: #868e96;
    font-weight: 600;
    vertical-align: bottom;
}

.avatar-log.avatar-md {
    width: 3rem;
    height: 3rem;
}


.support-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: none;
    padding: 4px;
    /*border: 3px solid #282b2f*/
}


.c-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 19999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.c-modal-content {
  background-color: #ebedef;
  margin: auto;
  padding: 20px;
  border: 1px solid #2d3035;
  width: 80%;
}

.c-dark-theme .c-modal-content {
  background-color: #181924;
  margin: auto;
  padding: 20px;
  border: 1px solid #181924;
  width: 80%;
}



/*  NEWS INDEX STYLING */
.col-md-4{
    padding-bottom:20px;
}
.item-box-blog {
  border: 1px solid #dadada;
  text-align: center;
  z-index: 4;
  padding: 20px;
}

.item-box-blog-image {
  position: relative;
}

.item-box-blog-image figure img {
  width: 100%;
  height: auto;
}

.item-box-blog-date {
  position: absolute;
  z-index: 5;
  padding: 4px 20px;
  top: -20px;
  right: 8px;
  background-color: #41cb52;
}

.item-box-blog-date span {
  color: #fff;
  display: block;
  text-align: center;
  line-height: 1.2;
}

.item-box-blog-date span.mon {
  font-size: 18px;
}

.item-box-blog-date span.day {
  font-size: 16px;
}

.item-box-blog-body {
  padding: 10px;
}

.item-heading-blog a h5 {
  margin: 0;
  line-height: 1;
  text-decoration:none;
  transition: color 0.3s;
}

.item-box-blog-heading a {
    text-decoration: none;
}

.item-box-blog-data p {
  font-size: 13px;
}

.item-box-blog-data p i {
  font-size: 12px;
}

.item-box-blog-text {
  max-height: 100px;
  overflow: hidden;
}

/*  END NEWS INDEX STYLING */


/* BOK DETAILS BUTTON */
td.details-control {
    background: url('/static/icons/bok-plus30.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('/static/icons/bok-minus30.png') no-repeat center center;
}



/* ANIMATED BORDER */
.animated-border {
  --borderWidth: 5px;
  background: #1D1F20;
  position: relative;
  border-radius: var(--borderWidth);
}

.animated-border:after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  border-radius: calc(2 * var(--borderWidth));
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}


@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* STATIC BORDER */
.static-border {
  --borderWidth: 5px;
  background: #1D1F20;
  position: relative;
  border-radius: var(--borderWidth);
}
.static-border:after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(80deg,  #321fdb, purple);
  border-radius: calc(2 * var(--borderWidth));
  z-index: -1;
}


/* HOME TILES */
.equal-tile {
   zoom: 60%;
}

.equal-tile2 {
  zoom: 80%;
}

/* HOME TILES */
.zoom60 {
   zoom: 60%;
   display: flex;
}

.zoom80 {
  zoom: 80%;
}

.zoom90 {
  zoom: 90%;
}


.c-dark-theme .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.c-dark-theme .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

.custom-carousel-control-prev {
  left: 0;
}

.custom-carousel-control-next {
  right: 0;
}

.custom-carousel-control-prev-icon,
.custom-carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%;
}

.cbtn_previous {
  padding: 8px 16px;
}

.cbtn_next {
  padding: 8px 16px;
}

.profile-image-wrapper {
    display: inline-block;
    background-size: 210px;
    /*margin: 30px;*/
    border-radius: 50%;
    width: 210px;
    height: 210px;
}

.profile-image-wrapper-sm {
  display: inline-block;
  background-size: 150px;
  background-repeat: no-repeat;
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

.profile-image-wrapper-xs {
  display: inline-block;
  background-size: 100px;
  background-repeat: no-repeat;
  border-radius: 50%;
  width: 100px;
  height: 100px;
}


.carousel-multi-item .controls-top {
    text-align: center;
}

.btn-floating {
    margin: 20px;
}

/*ADDED 11/02/2021*/

.module-manager {
  font-size: 15px;
  color: #979dc3;
  font-weight: 700;
  text-align: center;
  height: 70px;
  letter-spacing: 0.7px;
  line-height: 70px;
  position: sticky;
  top: 0;
  z-index: 3;
  text-transform: uppercase;
  background-color: transparent;
}

.card-module-manager {
  font-size: 15px;
  color: #979dc3;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.7px;
  position: sticky;
  top: 0;
  z-index: 3;
  text-transform: uppercase;
}


.sidebar-area {
  border-right: 1px solid #e5e4e9;
}

.c-dark-theme .sidebar-area {
  border-right: 1px solid #47454e;
}

.item-progress-status {
  text-align: right;
  color: #7a7e9d;
  font-size: 25px;
  font-weight: 600;
}

.item-progress {
  margin-top: 5px;
  border-radius: 4px;
  background-color: #e7e7ef;
  height: 8px;
  overflow: hidden;
}

.item-progress-bar {
  background-color: #23d32c;
  border-radius: 4px;
  width: 35%;
  height: 100%;
  animation: progressAnimation 6s;
  transition: 0.3s linear both;
  transition-property: width, background-color;
}

.item-progress-status {
  margin-top: 30px;
  text-align: right;
  color: #7a7e9d;
  font-size: 10px;
  font-weight: 600;
}

@keyframes progressAnimation {
  0% {
    width: 5%;
    background-color: #a2b6f5;
  }

}

.item-status {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-stat {
  text-align: center;
}

.item-number {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.item-condition {
  font-size: 12px;
  color: var(--main-color);
  font-weight: 700;
}

.item-tasks {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
}

.side-wrapper {
  padding: 25px 40px;
  border-bottom: 1px solid #e5e4e9;
}

.c-dark-theme .side-wrapper {
   border-bottom: 1px solid #47454e;
}

.side-wrapper:last-child {
  border-bottom: none;
}

.sidebar-title {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.sidebar-items {
  position: relative;
  vertical-align: right;
  padding: 0 10px;
  color: var(--main-color);
  font-size: 13px;
  font-weight: 400;
  margin-top: 14px;
}

/*ADDED 14/02/2021*/
.side-wrapper .side-list ul {
  width: 100%;
  padding-left: 20px;
}

.side-wrapper .side-list ul li {
  list-style-type: circle;
}

.side-wrapper .side-list ul li span {
  float: left;
  font-weight: 600;
}

.side-wrapper .side-list ul li .info {
  float: right;
}

.side-wrapper .side-list ul li .info .button {
  float: right;
  width: 100px;
  height: 30px;
  line-height: 30px;
  background-color: #AAA;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  color: White;
  font-weight: 700;
}

.side-wrapper .side-list ul li .info .button.pending-status {
  background-color: #85C157;
}



.project-title {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.sidebar-project {
  position: relative;
  vertical-align: middle;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}

.sidebar-project:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 10;
  left: 0;
}

.sidebar-project:nth-child(1):before {
  border: 3px solid #b36dfb;
}

.sidebar-project:nth-child(2):before {
  border: 3px solid #625be8;
}

.sidebar-project:nth-child(3):before {
  border: 3px solid #fec267;
}

.sidebar-project:nth-child(4):before {
  border: 3px solid #fc6679;
}

.sidebar-project:nth-child(5):before {
  border: 3px solid #b36dfb;
}

.sidebar-project:nth-child(6):before {
  border: 3px solid #625be8;
}

.sidebar-project:nth-child(7):before {
  border: 3px solid #fec267;
}

.sidebar-project:nth-child(8):before {
  border: 3px solid #fc6679;
}


 /* ADDED 18 MAY 2021 */
.picturebox-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}
.picturebox-group > * {
  margin: 0.5rem 0.5rem;
}

.picturebox-group-legend {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9c9c9c;
  text-align: center;
  line-height: 1.125;
  margin-bottom: 1.25rem;
}

.picturebox-input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.picturebox-input:checked + .picturebox-tile {
  border-color: #2260ff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #2260ff;
}
.picturebox-input:checked + .picturebox-tile:before {
  transform: scale(1);
  opacity: 1;
  background-color: #2260ff;
  border-color: #2260ff;
}
.picturebox-input:checked + .picturebox-tile .picturebox-icon, .picturebox-input:checked + .picturebox-tile .picturebox-label {
  color: #2260ff;
}
.picturebox-input:focus + .picturebox-tile {
  border-color: #2260ff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
}
.picturebox-input:focus + .picturebox-tile:before {
  transform: scale(1);
  opacity: 1;
}

.picturebox-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7rem;
  min-height: 7rem;
  border-radius: 0.5rem;
  border: 2px solid #b5bfd9;
  background-color: transparent;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.15s ease;
  cursor: pointer;
  position: relative;
}
.picturebox-tile:before {
  content: "";
  position: absolute;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #b5bfd9;
  background-color: #fff;
  border-radius: 50%;
  top: 0.25rem;
  left: 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.picturebox-tile:hover {
  border-color: #2260ff;
}
.picturebox-tile:hover:before {
  transform: scale(1);
  opacity: 1;
}

.picturebox-icon {
  transition: 0.375s ease;
  color: #494949;
}
.picturebox-icon svg {
  width: 3rem;
  height: 3rem;
}

.picturebox-label {
  color: #707070;
  transition: 0.375s ease;
  text-align: center;
}


.modal-fullscreen {
  max-width: 90vw;
  height: 95vh;
  margin: auto;
}

.modal-fullscreen .modal-content {
  height: 100%;
  overflow-y: auto;
}