@font-face {
  font-family: 'franklin-gothic-book-regular';
  src: local('franklin-gothic-book-regular'),
       url('../fonts/franklin-gothic-book-regular.ttf') format("truetype");
}

html {
  font-size: 16px;
}

body {
  background: rgba(0,0,0,0.5);
  font-family: 'franklin-gothic-book-regular';
}

:root {
  --base-color-prd: #efefe7;
  --color-light: #f8f9fa;
  --color-green: #27BA47;
  --navbar-bg-color: #212529;
}

*,*::after,*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

textarea, input[type="text"], select,
input[type="number"], input[type="file"] {
  background-color: #e8e8e8!important;
  color:inherit;
}

.bg-gray-custom {
  background-color: var(--color-light);
}

.bg-gray-dark-custom {
  background-color: #e8e8e8 !important;
}

/* Form change password */
.form-change-password {
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  padding: 20px;
  gap: 5px;
}

.form-change-pasword > button {
  color:red;
}


/* Learderboard */

#idLeaderboard {
  flex-wrap: wrap;
}

.filterForm {
  width: 338px;
  margin: 10px;
}

.filter-container {
  gap:10px;
}

.form-filter-select {
  flex-basis: 70%;
}
.form-filter-select .form-select {
  height: 30px;
}

.form-filter-button {
  flex-basis: 30%;

}
.form-filter-button input {
    height: 30px;
    text-align: center;
}
.btn-filter {
  width: 100%;
  background-color: blue;
  color: white;
  border-radius: 5px;
  border: none;
}
#rank-header {
  background: #a8a5a5;
  color: black;
}
#rank-1 {
  background: var(--color-light);
}
#rank-2 {
  background: var(--color-light);
}
#rank-3 {
  background: var(--color-light);
}
#rank-4 {
  background: var(--color-light);
}
#rank-5 {
  background: var(--color-light);
}

.content.rank {
  background: lightgray!important;
  min-height: 320px;
  overflow: auto;
}
.rank-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  background: var(--color-light);
  width: 98%;
  min-height: 30px;
  margin-top: 10px;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.2s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  font-size: 0.7rem;
}

.rank-title {
  color:black;
}

.rank-division {
  flex-basis: 70%;
  padding-left: 20px;
}

.rank-total {
  flex-basis: 30%;
  text-align: right;
  padding-right: 20px;
}
/* END OF Learderboard */


/* 39 .Login Page*/
/*///////////////*/

#content {
	background-color:#FFFFFF;
	overflow-x:hidden;
}

.snap-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  z-index: 2;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
     -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.full-button{
    display:block;
    width:100%;
    text-align:center;
    border-radius: 5px;
    /* height: 2rem; */
    line-height: 2rem;
    border: none;
}

.blue-3d{				border-bottom:solid 4px #194e70;}
.button-blue{			background-color:#2980b9; color:#FFFFFF;}
.button-blue:hover{		background-color:#3498db;}

.green-3d{				border-bottom:solid 4px #1e8248;}
.button-green{			background-color:#27ae60; color:#FFFFFF;}
.button-green:hover{	background-color:#2ecc71;}

.login-page-wrapper .button{
    width:100%;
    text-align:center;
    margin-top:20px;
}

.login-page-wrapper input[type="text"],
 .login-page-wrapper input[type="password"] {
  background-color: var(--color-light)!important;
  font-size: 0.8rem;
}

.bg2{
    /* background-image:url(../img/logo.png); */
    background-position:center center;
}

.all-elements{
	position:absolute;
	overflow-x:hidden!important;
	width:100%;
	height:100%;
	min-height:100%;
	max-height:100%;
}

.login-page{
    background-size:cover;
    position:absolute;
    width:100%;
    height:100%;
    margin-bottom:-60px;
}

.login-page-overlay{
    background-color:rgba(0,0,0,0.8);
    position:absolute;
    width:100%;
    height:100%;
    z-index:1;
}

.login-page-wrapper h4 {
  color: white;
  align-self: center;
}

.login-page-wrapper{
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 300px;
  height: 330px;
  top: 50%;
  margin-top: -195px;
  left: 50%;
  margin-left: -150px;
  z-index: 2;
  background-color: var(--navbar-bg-color);
  padding: 10px 10px 0px 10px;
  border-radius: 10px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.login-username{
    display:block;
    width:100%;
    height:45px;
    padding-left:20px;
    padding-right:20px;
    line-height:45px;
    line-height:100%;
    border:solid 1px #cacaca;
    color:#666666;
    border-radius:0px;
}

.login-password{
    display:block;
    width:100%;
    height:45px;
    padding-left:20px;
    padding-right:20px;
    line-height:45px;
    line-height:100%;
    border:solid 1px #cacaca;
    color:#666666;
    margin-top:-1px;
    border-radius:0px;
}

.login-logo{
    background-image:url(../img/logo-slidebox.png);
    width:110px;
    height:35px;
    background-size:110px 35px;
    margin-left:auto;
    margin-right:Auto;
    margin-bottom:10px;
    display: block;
}

.login-page-wrapper p{
    color:rgba(255,255,255,0.7);
    text-align:center;
    line-height: 30px;
    margin-bottom: 30px;
    font-size: 13px;
    letter-spacing: 0px;
}

.login-page-wrapper .button{
    width:100%;
    text-align:center;
    margin-top:20px;
}

.login-page-wrapper .forgot{
    text-align:center;
    margin-top:20px;
    color:rgba(255,255,255,0.5);
    transition:all 200ms ease;
}

.login-page-wrapper .forgot:hover{
    color:#FFFFFF;
    transition:all 200ms ease;
}

/* END OF LOGIN PAGE */

.dropdown-menu {
  background-color: #b3b3b3;
  font-size: 0.8rem;
}
.alert {
  font-size: 0.8rem;
}

.link-file a {
  color: blue;
  text-decoration: none;
}

.card-text-desc {
  color:gray;
}
.color-state {
  color: cornflowerblue!important;
}

.btn-sm {
  font-size: 0.675rem;
}
.link-file {
  color: blue;
}

.input-group-text {
  font-size: 0.8rem;
}

.modal-fs {
  font-size: 0.8rem;
}
.form-check-input[type="checkbox"] {
  border-radius: 1.25em;
}

.btn-prd {
  width: 120px;
}

.side-menu-container .link-light {
  color: rgba(255, 255, 255, .65)!important;
}

.side-menu-container .link-light:hover,
.side-menu-container .link-light:focus {
  color: rgba(255, 255, 255, .90)!important;
  background-color: #73736f!important;
  cursor:pointer;
}

.container {
  display: grid;
  height: 100vh;
  grid-template-columns: 240px 1fr 1fr 1fr;
  grid-template-rows: 0.2fr 1.5fr 1.5fr 0.5fr;
  grid-template-areas:
    "sidebar nav nav nav"
    "sidebar main main main"
    "sidebar main main main"
    "sidebar main main main";
  max-width: 1992px;
  grid-gap: 0.2rem;
}

nav {
  background: #a7ffeb;
  grid-area: nav;
  position: fixed;
  width: 100%;
  z-index: 99;
  max-height: 66px;
}

.container-fluid {
  background: inherit;
}


main {
  /* background: var(--base-color-prd); */
  grid-area: main;
  overflow: auto;
}

.modal-content {
  min-width: 600px;
}

.main-container-scrollbar-top {
  max-width: 100vw;
  overflow-x: scroll;
}
.div-scrollbar-top {
  width: 2150px;
  height: 20px;
}

.main-container {
  min-width: 350px;
  /* min-height: 90vh; */
  display: flex;
  flex-direction: row;
  justify-content: normal;
  align-content: normal;
  align-items: normal;
  flex-wrap: nowrap;
  overflow: auto;
}

.main-area {
  background-color: lightgray;
  /* width: 100vw; */
  height: fit-content;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 0.8rem;
}

.main-page-title {
  display: flex;
  align-content: center;
  justify-content: center;
  padding-top: 10px;
  background: #595954;
  color: lightgray;
}

.main-page-body {
  overflow:auto;
  display: flex;
  justify-content: center;
}

.container-change-password {
  overflow:auto;
  display: flex;
  justify-content: center;
  height: fit-content;
  width: 600px;
  margin-top: 20px;
}

.form-prd, .task-content {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: .25rem;
  margin-left: .25rem;
  max-width: 700px;
  align-self: center;
  flex-basis: 100%;
  border: 2px solid #b3b3b3;
  border-radius: 20px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  /* border-right: 2px solid gray; */
  /* border-left: 2px solid gray; */
}

.dt-row {
  overflow: scroll;
}

.dataTables_wrapper {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px 10px 10px 10px;
  width: 100%;
  max-width: 700px;
  /* align-self: center;
  flex-basis: 100%; */
  border: 2px solid #b3b3b3;
  border-radius: 20px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.form-button-area {
  display: flex;
  align-content: center;
  justify-content: center;
  margin-bottom: 10px;
  /* background: lightslategray;
  color: white; */
}

.form-select, .form-control {
  font-size: 0.8rem;
}

/* option:focus,
option:hover {
  background-color: red!important;

} */

.form-label {
  font-weight: 500;
}

.asteriskField {
  color: red;
}

#sidebar {
  background: black;
  grid-area: sidebar;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: normal;
  overflow: auto;
}

#content1 {
  /* background: var(--base-color-prd); */
  /* grid-area: content1; */
  /* height: 2000px; */
}

#content2 {
  /* background: #64ffda; */
  /* grid-area: content2; */
}

#content3 {
  /* background: #73ffba; */
  /* grid-area: content3; */
}

#content4 {
  /* background: #63ffb2; */
  /* grid-area: content3; */
}

#content5 {
  /* background: #83ffba; */
  /* grid-area: content3; */
}

#content6 {
  /* background: #83ffba; */
  /* grid-area: content3; */
}

footer {
  background: var(--navbar-bg-color);
  /* grid-area: footer; */
  margin: 5px;
  flex-basis: 20%;
}

.content {
  /* display: flex;
  align-items: flex-start; */
  /* background-color: var(--base-color-prd); */
  background-color: var(--navbar-bg-color);
  width: 338px;
  /* height: 100px; */
  margin: 10px;
  align-self: auto;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  border-radius: 10px;
  padding: 0px 5px 0px 5px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.subitem {
  width: 15px;
  height: 15px;
  background-color: orange;
  margin: 5px;
}

.side-menu-container {
  height: 100px;
  background: var(--navbar-bg-color);
  /* var(--base-color-prd); */
  margin: 5px;
  flex-basis: 80%;
}
.side-logo-container {
  max-height: 52px;
  background: blue;
  margin: 5px;
  flex-basis: 20%;
  display: flex;
  justify-content: center;
  align-content: center;
}

#home-collapse {
  margin-left: 12px;
}

.card-item {
  display: flex;
  flex-direction: row;
  justify-content: normal;
  align-content: normal;
  align-items: normal;
  flex-wrap: nowrap;
  background: var(--color-light);
  width: 98%;
  min-height: 120px;
  margin-top: 10px;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.2s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.card-item:hover {
  transform: scale(1.02);
  cursor:pointer;
}

.card-tag-color {
  /* background: red; */
  flex-basis: 5%;
}

.card-content {
 background: light;
 flex-basis: 95%;
 display: flex;
 flex-direction: column;
}

.card-content-header {
  display: flex;
  align-items: center;
  height: 20px;
  width: 100%;
  font-size: 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.card-pic-name {
  background: var(--color-light);
  flex-basis: 50%;
  padding-left: 5px;
}

.card-pic-dept {
 background: var(--color-light);
 flex-basis: 50%;
 text-align: right;
 padding-right: 5px;
}

.card-content-body {
  padding-left: 5px;
  padding-top: 10px;
  font-size: 0.8rem;
  width: 100%;
  min-height: 80px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: transform 0.1s;
}

.card-content-body:hover {
  background-color: #61A1EC;
  cursor:pointer;
}

.card-content-desc {
  margin-top: 5px;
  font-size: 0.7rem;
  color: gray;
}

.card-content-list-reff, .card-content-procedure {
  /* background: blue; */
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 0.8rem;
  width: 100%;
  /* border-bottom: 1px solid rgba(0,0,0,0.1); */
  display: flex;
  flex-direction: column;
}

.card-reff-item, .card-procedure-item {
  /* background: blue; */
  display: flex;
  width: 98%;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.1s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  padding: 0.25rem;

  margin-top: 5px;
}

.card-reff-item {
  background: #61A1EC;
}
.card-procedure-item {
  background: var(--color-green);
}

.card-reff-item:hover, .card-procedure-item:hover {
  transform: scale(1.02);
  cursor:pointer;
}

.card-reff-icon, .card-procedure-icon {
  /* background: red; */
  flex-basis: 6%;
  padding-left: 5px;
}

.card-reff-title, .card-procedure-title {
  padding-left: 5px;
  font-size: 0.7rem;
  color: var(--color-light);
  align-self: center;
}


.card-content-action {
  /* background: red; */
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 0.8rem;
  width: 100%;
  /* border-bottom: 1px solid rgba(0,0,0,0.1); */
  display: flex;
  flex-direction: column;
  /* z-index: 1; */
}

.card-action-new-idea {
  background: blue;
  display: flex;
  width: 98%;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.1s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  background: #9e9e9e;
}

.card-action-new-idea:hover {
  transform: scale(1.02);
  cursor:pointer;
}

.card-content-footer {
  display: flex;
  align-items: center;
  background: var(--color-light);
  width: 100%;
  height: 20px;

}

.card-days-due {
  flex-basis: 100%;
  text-align: right;
  font-size: 0.6rem;
  padding-right: 5px;
}

.card-button {
  display: flex;
  flex-direction: row;
  justify-content: normal;
  align-content: normal;
  align-items: normal;
  flex-wrap: nowrap;
  width: 98%;
  margin-top: 10px;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.2s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  background: #9e9e9e;
}

.card-button:hover {
  transform: scale(1.02);
  cursor:pointer;
}

.card-button-icon {
  /* background: red; */
  flex-basis: 6%;
  padding-left: 5px;
}

.card-button-title {
  padding-left: 5px;
  font-size: 0.8rem;
  align-self: center;
}

.navbar-nav {
  display: none;
}

.navbar-brand {
  font-size: 1.6rem;
  padding-left: 0px;
}

.cursor-pointer {
  cursor: pointer !important;
}

.flatpickr-input + .invalid-feedback,
.flatpickr-input ~ .invalid-feedback {
    display: block !important;
}

.flatpickr-input.is-invalid {
    border-color: #dc3545 !important;
}

.project-selection {
  display: none;
}

input[name$="-DELETE"] {
  display: none !important;
}

.bg-gray-custom .dataTables_wrapper {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  background: transparent !important;
}

.btn-outline-secondary {
  color: rgba(255, 255, 255, .65);
  border-color: rgba(255, 255, 255, .65);
  background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
  color: rgba(255, 255, 255, .90);
  background-color: #73736f;
  border-color: #73736f;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active {
  color: rgba(255, 255, 255, .90);
  background-color: #73736f;
  border-color: #73736f;
}

.view-container {
  width: 100%;
}

.form-select {
  cursor: pointer;
}

.task-card-item {
  display: flex;
  flex-direction: row;
  justify-content: normal;
  align-content: normal;
  align-items: normal;
  flex-wrap: nowrap;
  background: var(--color-light);
  width: 98%;
  min-height: 120px;
  margin-top: 10px;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.2s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.task-card-item:hover {
  transform: scale(1.02);
}

.task-card-tag-color {
  flex-basis: 5%;
}

.task-card-content {
 background: light;
 flex-basis: 95%;
 display: flex;
 flex-direction: column;
}

.task-card-content-header {
  display: flex;
  padding-inline: 5px;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  width: 100%;
  font-size: 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.task-card-content-body {
  padding-left: 5px;
  padding-top: 10px;
  font-size: 0.8rem;
  width: 100%;
  min-height: 80px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.task-card-content-body:hover {
  background-color: #61A1EC;
  cursor:pointer;
}

.task-card-content-desc {
  margin-top: 5px;
  font-size: 0.7rem;
  color: gray;
}

.task-card-content-action {
  display: flex;
  font-size: 0.8rem;
  padding: 5px;
  width: 100%;
}

.task-card-content-footer {
  display: flex;
  padding-inline: 5px;
  justify-content: flex-end;
  align-items: center;
  background: var(--color-light);
  width: 100%;
  height: 20px;

}

.task-card-related-tasks, .task-card-assigned-at {
  font-size: 0.6rem;
}

.card-button {
  display: flex;
  flex-direction: row;
  justify-content: normal;
  align-content: normal;
  align-items: normal;
  flex-wrap: nowrap;
  width: 98%;
  margin-top: 10px;
  border-radius: 10px;
  overflow-x: hidden;
  transition: transform 0.2s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  background: #9e9e9e;
}

.card-button:hover {
  transform: scale(1.02);
  cursor:pointer;
}

.card-button-icon {
  /* background: red; */
  flex-basis: 6%;
  padding-left: 5px;
}

.card-button-title {
  padding-left: 5px;
  font-size: 0.8rem;
  align-self: center;
}

/* Datatable edit css area */
.page-link {
  font-size: 0.8rem;
}
/* End of Datatable edit css area */

/* Responsive 768px */
@media(max-width: 768px){

  .dataTables_wrapper {
    /* I added this to deal with browser mobile */
    margin-bottom: 200px;
  }

  .last-div-button {
    /* I added this to deal with browser mobile */
    margin-bottom: 200px;
  }

  #formSearchNavbar {
    margin-bottom: 20px;
  }

  .main-container {
    flex-direction: column;
    /* I added this to deal with browser mobile */
    margin-bottom: 200px
  }
  .modal-content {
    min-width: 360px;
  }

  .content {
    width: 94%;
    margin: 3%;
  }

  .container {
    display: grid;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 0.1fr 2fr;
    grid-template-areas:
      "nav"
      "main";
    max-width: 1992px;
    grid-gap: 0.2rem;
  }

  #sidebar {
    display: none;
    transition: all .5s ease-in-out;
    /* background: black;
    grid-area: sidebar;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: normal;
    overflow: auto; */
  }

  .navbar-nav {
    display: flex;
  }

  .main-container-scrollbar-top {
    display: none;
  }

  .task-grid {
    grid-template-columns: 1fr;
  }
  
  .page-toggle-container {
    margin-bottom: 20px;
  }
}
/* End of Responsive 768px */
