/*
 * Base structure
 */
 @import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

 body {
	background-color: #f6f9fc;
	color: #1e2e50;
	font-family: 'Work Sans', sans-serif;
  margin: 0;
  overflow-x: hidden;
  }
  
  .cover-container {
	max-width: 100%;
  }
.list-inline-item:not(:last-child) {
	margin-right: 0;
}

.dashboard-work-info {
  display: flex;
  word-wrap: break-word;
  gap: 80px;
}

.work-dashboard-text {
  font-weight: bold;
  display: flex;
  flex-direction: column;
}

  /*
   * Header
   */
  
  .nav-masthead .nav-link {
	color: rgba(255, 255, 255, .5);
	border-bottom: .25rem solid transparent;
  }
  
  .nav-masthead .nav-link:hover,
  .nav-masthead .nav-link:focus {
	border-bottom-color: rgba(255, 255, 255, .25);
  }
  
  .nav-masthead .nav-link + .nav-link {
	margin-left: 1rem;
  }
  
  .nav-masthead .active {
	color: #fff;
	border-bottom-color: #fff;
  }
.fa-8x {
    font-size: 8em;
}
footer h3 a {
	color:#fff;
	text-decoration: none;
}

#btn {
	padding:25px;
}
.progress-bar {
	background-color:#14c2f9;
	height:10px;
}
.progress, .progress-stacked {
	height:10px;
}
#setupForm {
	color:#14c2f9;
}
.fw-bold {
    font-weight: 500!important;
}
.svg-icon>svg {
    width: 1.45rem;
    height: 1.45rem;
}

.swal2-popup {
  width: 320px; 
}


.card {
  display: block; 
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border-radius: 2em;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); 
    transition: box-shadow .25s; 
    cursor: pointer;
}
.card:hover {
  box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.img-card {
  margin-top:3em;
  height: 80px;  
  width: 100%;
  text-align:center;
  border-top-left-radius:2px;
  border-top-right-radius:2px;
  display:block;
    overflow: hidden;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: 90vh;
  width: 100%;
}

.login-form {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.img-card img{
  width: 30%;
  height: auto;
  object-fit:cover; 
  transition: all .25s ease;
} 
.card-content {
  padding:10px;
  text-align:left;
}
.card-title {
  margin-top:0px;
  font-weight: 700;
  font-size: 1.65em;
}
.card-title a {
  color: #000;
  text-decoration: none !important;
}
.bg-blue {
  background-color:#2D2B4E;
}
.color-blue {
  color:#2D2B4E;
}
.border-red {
  border: 1px solid #F56C61;
}
.bg-red {
  background-color:#F56C61;
}
.color-red {
  color:#F56C61;
}
.bg-orange {
  background-color:#FFA654;
}
.color-orange {
  color:#FFA654;
}
.card-read-more {
  border-top: 1px solid #D4D4D4;
  padding:22px;
  border-bottom-left-radius:2em;
  border-bottom-right-radius:2em;
}
.card-read-more a {
  text-decoration: none !important;
  padding:10px;
  font-weight:600;
  text-transform: uppercase;
  color:#fff;
  font-size: 18px !important;
  cursor: pointer;
  outline: none !important;
}
.btn:focus {
  outline: none !important;
}
.btn {
  outline: none !important;
  box-shadow: none !important;
}

.btn-link {
  background: none !important;
  border: none !important;
}

.btn-login {
  padding-top: 13px;
  padding-bottom: 13px;
}

.card-read-more a:hover {
  text-decoration: none !important;
  color:#fff;
}
.btn-red { 
  color: #ffffff; 
  background-color: #F56C61; 
  border-color: #DC6157; 
} 
 
.btn-red:hover, 
.btn-red:focus, 
.btn-red:active, 
.btn-red.active, 
.open .dropdown-toggle.btn-red { 
  color: #ffffff; 
  background-color: #dc6157; 
  border-color: #DC6157; 
} 
 
.btn-red:active, 
.btn-red.active, 
.open .dropdown-toggle.btn-red { 
  background-image: none; 
} 
 
.btn-red.disabled, 
.btn-red[disabled], 
fieldset[disabled] .btn-red, 
.btn-red.disabled:hover, 
.btn-red[disabled]:hover, 
fieldset[disabled] .btn-red:hover, 
.btn-red.disabled:focus, 
.btn-red[disabled]:focus, 
fieldset[disabled] .btn-red:focus, 
.btn-red.disabled:active, 
.btn-red[disabled]:active, 
fieldset[disabled] .btn-red:active, 
.btn-red.disabled.active, 
.btn-red[disabled].active, 
fieldset[disabled] .btn-red.active { 
  background-color: #F56C61; 
  border-color: #DC6157; 
} 
 
.btn-red .badge { 
  color: #F56C61; 
  background-color: #ffffff; 
}
.btn-group-lg>.btn, .btn-lg {
  --bs-btn-padding-y: 1rem;
  --bs-btn-padding-x: 3rem;
  --bs-btn-font-size: 1.25rem;
  --bs-btn-border-radius: 0.5rem;
}
.cursor-pointer {
  cursor: pointer;
}

.worker-header {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;
}

 .custom-select-wrapper {
  position: relative;
  width: 100%;
}

 .custom-select-container {
  position: relative;
  width: 270px;
}

.button-custom-dashboard {
  width: 100px;
  padding: 12px 15px 12px 15px !important;
}

.form-wrapper-dashboard {
  display: flex;
  gap: 5px;
  align-items: center;
}

.project-wrapper {
  margin-bottom: 0px !important;
}

.custom-select {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  cursor: pointer;
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  display: none;
  width: 100%;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-sizing: border-box;
  background-color: #fff;
  max-height: 160px; 
  overflow-y: auto; 
}

.custom-wrapper-2 .custom-select-options {
  max-height: 190px !important;
}

.custom-select-icon {
    width: 18px;
    height: 18px;
}

.custom-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border 0.3s ease;
  margin-bottom: 1px;
}

.custom-input:focus {
  outline: none;
  box-shadow: none;
  border-color: #007bff;
}

#customSelect {
  text-align: left !important;
  background-color: #ffff !important;
  padding: 13px 15px 13px 15px !important;
}
#customSelectProject {
  text-align: left !important;
  background-color: #ffff !important;
  padding: 13px 15px 13px 15px !important;
}

.custom-option-text {
  text-align: left !important;
  padding: 13px 15px !important;
  border-bottom: 1px solid #ccc;
}
.custom-option-text:last-child {
  text-align: left !important;
  border-bottom: none;
}

.custom-select-options-dashboard {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  width: 100%;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-sizing: border-box;
  background-color: #fff;
  max-height: 140px; 
  overflow-y: auto; 
  padding: 0;
}

.row-wrapper {
  display: none;
}

.custom-select-options::-webkit-scrollbar {
  width: 8px; 
}

.custom-select-options::-webkit-scrollbar-thumb {
  background-color: #ccc; 
  border-radius: 4px; 
}

.custom-select-options::-webkit-scrollbar-track {
  background-color: transparent;
}

.custom-option {
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  word-wrap: break-word;
}

.custom-option-project {
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  word-wrap: break-word;
}

.custom-option-project:hover {
  background-color: #f4f4f4;
}

.custom-option:hover {
  background-color: #f4f4f4;
}

.custom-wrapper-1 {
  padding-bottom: 40px;
}
.custom-wrapper-2 {
  padding-bottom: 40px;
}

.btn-logout {
  position: absolute;
  top: 20px;
  right: 20px;
}

.alert-message-wrapper {
  border: 1px solid red;
  border-radius: 8px;
  padding: 12px;
  background: #fcfcfd;
  width: max-content;
}

.dateNow {
  color: black !important;
}

.timeNow {
  color: black !important;
}

.form-wrapper-dashboard {
  margin-bottom: 3rem !important;
}

.list-inline-item:nth-child(2) {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

@media (min-width: 760px) {
  .card-content {
    padding: 8px !important;
  }
  .forms-wrapper {
    display: flex !important;
    justify-content: center;
    gap: 40px;
  }
  #changeProjectAndWorkTypeForm {
    display: flex;
    gap: 10px;
    height: 100px;
  }
  .form-wrapper-dashboard {
      align-items: self-start;
  }
}
@media (min-width: 800px) {
  .card-content {
    padding: 10px;
  }
}

@media (max-width: 400px) {
  .card-content p {
    font-size: 1em !important;
    margin-bottom: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 500px) {
  .img-card {
    margin-top: 1.5em;
    margin-bottom: 1em;
    height: auto;
  }
  .card-title {
    margin-top:0px;
    font-weight: 700;
    font-size: 1.3em !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .card-content p {
    font-size: 1em !important;
    margin-bottom: 0 !important;
    padding-left: 2px;
    padding-right: 2px;
  }
  .card-read-more {
    border-top: 1px solid #D4D4D4;
    padding:10px !important;
    border-bottom-left-radius:1.5em !important;
    border-bottom-right-radius:1.5em !important;
  }
  .card {
      box-shadow: 0 1px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important; 
  }
  .card:hover {
    box-shadow: 0 5px 14px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
  }
  .work-icon img{
    width: 10px;
  }
  .btn-backtodasbhoard {
    font-size: 18px;
  }
  .footer-text {
    font-size: 18px;
  }
  .title-text {
    font-size: 25px;
  }
  .welcome-text {
    font-size: 25px;
  }
  .custom-select-container {
    width: 270px !important;
  } 
  #confirmbutton {
    width: 110px !important;
  }
}

@media (max-width: 760px) {
  .this-week-text {
    font-size: 14px !important;
  }
  .work-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .work-text {
    font-size: 15px !important;
  }
  .list-inline {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    margin-top: 1.5rem !important;
  }
  .worker-info {
    padding-left: 0px;
    padding-right: 0px;
  }
  .list-inline-item span {
    font-size: 15px;
  }
  .list-inline-item:last-child {
    margin-right: 1rem !important;
    margin-left: 0 !important;
  }
  .list-inline-item:first-child {
    margin-right: 0;
    margin-left: 1rem;
  }
  .list-inline-item:nth-child(2) {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  .dashboard-work-info {
    flex-direction: column;
    margin-bottom: 0 !important;
    gap: 0 !important;
  }
  .form-wrapper-dashboard {
    margin-bottom: 1.5rem !important;
    flex-direction: column !important;
    gap: 20px;
  }
  .custom-option-text {
    padding: 15px 13px !important;
  }
  .custom-select-options-dashboard {
    max-height: 155px !important;
  }
  #changeProjectAndWorkTypeForm {
    display: flex;
    flex-direction: column !important;
  }
}


@media (max-width: 768px) {
  .button-custom-dashboard {
    padding: 12px;
    width: 90px !important;
  }
  .custom-select-container {
    width: 240px;
  }  
  .chart-container-month {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }
  
  #monthChart {
    min-width: 1000px; 
    overflow-x: auto;
    overflow-y: hidden;
  } 
  .chart-container-week {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
  }

  .monthNR {
    font-size: 20px;
  }

  #chart{
    min-width: 1000px; 
  }

  .this-month-text {
    font-size: 15px !important;
  }
}

.chart-container-month {
  width: 100%;
  overflow-y: hidden;
  height: 380px;
}
