* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: nunito;
}

body {
  display: none;
  flex-direction: column;
  height: auto;
  background-color: #f7f7f7 !important;
}

body.loading,
html.loading {
  overflow: hidden;
}

.navbar {
  height: auto;
}
.menu-list{
  padding: 3px;
}
.menu-list:hover{
  border-radius: 5px;
  background-color: #EBEBEB !important;
 }

.profile-container h1 {
  font-size: 17px;
}

.profile-container p {
  font-size: 13px;
}

#profile_picture {
  height: 35px;
  width: 35px;
  object-fit: cover;
  border-radius: 50%;
}

.post{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#leftbar-profile {
  height: 70px;
  width: 70px;
  object-fit: cover;
  border-radius: 50%;
}

#feed-profile {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.leftbar h1,
.leftbar p, .client-leftbar h1, .client-leftbar p {
  margin-bottom: 0px;
}

.leftbar h1, .client-leftbar h1 {
  font-size: 22px;
  font-weight: 600;
}

.leftbar h2, .client-leftbar h2 {
  font-size: 18px;
  font-weight: 600;
}

.leftbar p, .client-leftbar p {
  font-size: 14px;
  font-weight: 600;
}

#leftbar-account-type {
  text-transform: capitalize;
}

.feed button {
  width: 100%;
  border: 1px solid #ccc;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.app-content{
 visibility: hidden;
}

.loader-content{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loader-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  padding: 5px;
  border-radius: 50%;
  background: white;
}

.loader-h1{
  color: #2D336B;
}

.loading-dots::before,
.loading-dots::after,
.loading-dots div {
  content: "";
  width: 12px;
  height: 12px;
  background: #2D336B;
  border-radius: 50%;
  animation: bounce 0.6s infinite ease-in-out;
}

.loading-dots div {
  animation-delay: 0.2s;
}

.loading-dots::after {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

.modal-dialog {
  max-width: 40vw !important;
  margin: auto;
  padding: 15px;
}

.modal-header {
  border-bottom: none !important;
}

.modal-footer {
  border-top: none !important;
}

.service-description,
.project-description {
  resize: none;
}

.profile-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.leftbar-profile-cover{
  width: 100%; 
  height: 100px; 
  position: relative; 
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat"
}

.profile {
  display: grid;
  grid-template-rows: 1fr 1fr;
  height: auto;
  background-color: white;
}

.user-profile {
  position: relative;
  padding: 20px 30px 20px 30px;
}
.user-profile > div {
  position: absolute;
  top: -90px;
  width: 34vw;
}

#cancel-edit-btn, .buttons{
  display: none;
}

.buttons.show{
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 5px;
}

.user-profile > div img {
  background-color: #ccc;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #ccc;
}
.profile-page-right-panel .contacts {
  padding: 20px 30px 20px 30px;
  background-color: white;
}

.experience,
.skills,
.education {
  padding: 20px 30px 20px 30px;
  background-color: white;
}


.add-experience,
.add-skills,
.add-education {
  display: none;
}

.add-experience.show,
.add-skills.show,
.add-education.show {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

.add-experience button,
.add-skills button,
.add-education button {
  padding: 5px 20px 5px 20px;
  border-radius: 30px;
  border: 1px solid #687fe5;
  color: #687fe5;
  background-color: white;
}

.search {
  position: relative !important;
}

.search-result {
  display: none;
  position: absolute;
  top: 45px;
  left: 0px;
  width: 100%;
  height: auto;
  max-height: 40vh;
  background-color: white;
  padding: 20px;
}

@font-face {
  font-family: "nunito";
  src: url("../fonts/NunitoSans.ttf");
}

div.dataTables_wrapper {
  margin-bottom: 20px;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding: 10px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

#myTable {
  border-collapse: collapse;
  width: 100%;
}

#myTable th,
#myTable td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

#myTable thead {
  background-color: #f2f2f2;
  border-bottom: 2px solid #ddd;
}

#myTable {
  border: 1px solid #ddd;
}

#myTable thead th {
  padding-bottom: 10px;
}

.dataTables_paginate {
  margin-top: 20px;
}

.dataTables_info {
  margin-top: 20px;
}

#time-in-btn:disabled {
  background-color: gray;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

#time-out-btn:disabled {
  background-color: gray;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.leftbar {
  width: 100%;
}

  #calendar {
    width: 100%;
    margin: 40px auto;
    text-decoration: none;
  }

  .fc-toolbar-title {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .fc-button {
    border-radius: 6px !important;
    padding: 0.4em 1em !important;
    font-size: 0.9rem;
  }

  .fc {
    border-radius: 12px;
  }
  .fc *{
    text-decoration: none;
  }

  .fc .fc-col-header-cell-cushion, .fc .fc-daygrid-day-number{
    color: #191919;
  }

  .fc-button-group{
    display: flex;
    gap: 5px;
  }

  .fc-button-group button{
    background-color: #0d6efd !important;
    color: #f1f1f1;
    border: 1px solid #ccc !important;
  }

  .fc .fc-toolbar-title {
    font-size: 1.25rem !important;
    font-weight: bold;
  }

  .fc-daygrid-day.fc-day-today {
  background-color: #EEEEEE !important; 
  color: #ffffff;
  }

  .fc-daygrid-day.selected-day {
    background-color: #d1d5db !important; 
  }

    .view-post{
    display: flex;
    flex-direction: column;
  }

   .view-post-user{
    display: flex;
    justify-content: space-between;
  }

  .service-info{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
  }
  
   .dashboard-container{
    display: grid;
    grid-template-columns: 2fr 5fr;
    gap: 20px;
  }


@media (max-width: 575px){
  .search-user-mobile{
    display: block;
  }

   .view-post{
    display: flex;
    flex-direction: column;
  }

  .navbar-mobile{
    display: block;
  }
  .search{
    display: none;
  }
    .navbar-profile{
    display: none;
  }
    .home-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px;
  }

  .leftbar-profile-cover{
    width: 100%; 
    height: 150px; 
    position: relative; 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
  }

  .post{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  }



  .feed{
    padding: 20px;
  }
  .leftbar, .client-leftbar {
    width: 100%;
    margin-bottom: 10px;
  }

  .profile-menu {
    background-color: white;
    top: 50px;
    border: 1px solid #ccc;
    width: 200px;
    right: -45px;
  }
    .notification-menu {
        background-color: white;
        width: 55vw;
        left: -180px;
        top: 50px;
        border: 1px solid #ccc;
    }
  .modal-dialog {
    max-width: 100% !important;
    margin: 0px !important;
  }
  .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  .view-post-user-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .profile-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

    .user-profile {
        position: relative;
        padding: 20px 30px 20px 30px;
        height: 200px;
    }

   .user-profile > div {
        position: absolute;
        top: -140px;
        width: 100%;
        left: 0;
        padding: 20px;
    }

  .view-user{
    width: 100% !important;
  }

  #showServiceInformation {
  width: 100% !important;
  }

  .alert{
    width: 100% !important;
  }
  .add-task-btn{
    width: 100% !important;
  }

  .settings{
    display: flex !important;
    flex-direction: column !important;
  }

  .right-bar-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .service-info{
    display: flex;
   flex-direction: column;
   gap: 10px;
  }
}
  

@media (min-width: 576px) and (max-width: 767.98px) {
  .search{
    display: none;
  }
  .search-user-mobile{
    display: block;
  }
    .navbar-mobile{
    display: block;
  }

    .navbar-profile{
    display: none;
  }
      .home-container{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

 main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px;
  }

  .leftbar-profile-cover{
    width: 100%; 
    height: 150px; 
    position: relative; 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
  }

  .feed{
    padding: 20px;
  }
  .leftbar, .client-leftbar {
    width: 100%;
    margin-bottom: 20px;
  }

  .profile-menu {
    background-color: white;
    top: 50px;
    border: 1px solid #ccc;
    width: 200px;
    right: -45px;
  }

      .notification-menu {
        background-color: white;
        width: 35vw;
        left: -180px;
        top: 50px;
        border: 1px solid #ccc;
    }
  .modal-dialog {
    max-width: 100% !important;
    margin: 0px !important;
  }
  .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  .profile-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

      .user-profile > div {
        position: absolute;
        top: -90px;
        width: 100%;
        left: 0;
        padding: 20px;
    }


  .view-user{
    width: 100% !important;
  }

  #showServiceInformation {
  width: 100% !important;
  }

  .alert{
    width: 100% !important;
  }
  .add-task-btn{
    width: 100% !important;
  }

  .settings{
    display: flex !important;
    flex-direction: column !important;
  }

  .view-post-user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
  }

  .right-bar-container{
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .search-user-mobile{
    display: none;
  }
    .navbar-mobile{
    display: block;
  }
    .navbar-profile{
    display: none;
  }
    .home-container{
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .view-post-user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
  }

   main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px;
  }

  .leftbar-profile-cover{
    width: 100%; 
    height: 200px; 
    position: relative; 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
  }

  .feed{
    padding: 20px;
  }
  .leftbar, .client-leftbar {
    width: 100%;
    margin-bottom: 20px;
  }

  .profile-menu {
    background-color: white;
    top: 50px;
    border: 1px solid #ccc;
    width: 200px;
    right: 0;
  }

   .user-profile > div {
        position: absolute;
        top: -90px;
        width: 100%;
        left: 0;
        padding: 20px;
    }
  
  .profile-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

      .notification-menu {
        background-color: white;
        width: 32vw;
        right: -45px;
        top: 50px;
        border: 1px solid #ccc;
    }

    .view-post-user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
  }

  .modal-dialog {
    max-width: 100% !important;
    margin: 0px !important;
  }
  .modal-content {
    height: 100vh;
    border-radius: 0;
  }
  .view-user{
    width: 100% !important;
  }

  #showServiceInformation {
  width: 100% !important;
}

.right-bar-container{
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .search-user-mobile{
    display: none;
  }
    .navbar-mobile{
    display: none;
  }
    .navbar-profile{
    display: flex;
    align-items: center;
    gap: 10px;
  }
    .home-container{
    display: grid;
    grid-template-columns: 2fr 4fr 2fr;
    gap: 20px;
  }
  .feed{
    padding: 20px;
  }
   .leftbar, .client-leftbar {
    position: fixed;
    width: 230px;
  }

  .profile-menu {
    background-color: white;
    top: 50px;
    border: 1px solid #ccc;
    width: 200px;
    right: 0;
  }
  
   .user-profile > div {
        position: absolute;
        top: -90px;
        width: 100%;
        left: 0;
        padding: 20px;
    }

  .notification-menu {
    background-color: white;
    width: 30vw;
    left: -180px;
    top: 50px;
    border: 1px solid #ccc;
  }
  .view-user{
    width: 70% !important;
  }

  .client-leftbar {
    width: 275px;
  }

  .view-post-user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
  }

  #showServiceInformation {
  width: 50% !important;
}
.right-bar-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 3;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .search-user-mobile{
    display: none;
  }
    .navbar-mobile{
    display: none;
  }
    .navbar-profile{
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .home-container{
    display: grid;
    grid-template-columns: 2fr 4fr 2fr;
    gap: 20px;
  }
  .feed{
    padding: 20px;
  }
  .leftbar, .client-leftbar {
    position: fixed;
    width: 275px;
  }

  .profile-menu {
    background-color: white;
    top: 50px;
    border: 1px solid #ccc;
    width: 200px;
    right: 0;
  }

    .user-profile > div {
        position: absolute;
        top: -90px;
        width: 100%;
        left: 0;
        padding: 20px;
    }

  .notification-menu {
    background-color: white;
    width: 20vw;
    left: -120px;
    top: 50px;
    border: 1px solid #ccc;
  }
  .view-user{
    width: 70% !important;
  }

  .client-leftbar {
    width: 325px;
  }

  #showServiceInformation {
  width: 50% !important;
}
.alert{
    width: 25% !important;
  }

  .view-post-user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
  }

.right-bar-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 3;
  }

   .profile-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
}

@media (min-width: 1400px) {
  .search-user-mobile{
    display: none;
  }
    .navbar-mobile{
    display: none;
  }
  .navbar-profile{
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .home-container{
    display: grid;
    grid-template-columns: 2fr 4fr 2fr;
    gap: 20px;
  }
  .feed{
    padding: 20px;
  }
  .leftbar, .client-leftbar {
    position: fixed;
    width: 325px;
  }

  .view-post-user-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
  }

  .profile-menu {
    background-color: white;
    top: 50px;
    border: 1px solid #ccc;
    width: 200px;
    right: 0;
  }

    .user-profile > div {
        position: absolute;
        top: -90px;
        width: 100%;
        left: 0;
        padding: 20px;
    }

  .notification-menu {
    background-color: white;
    width: 20vw;
    left: -150px;
    top: 50px;
    border: 1px solid #ccc;
  }
  .view-user{
    width: 70% !important;
  }

  .client-leftbar {
    width: 375px;
  }

  #showServiceInformation {
  width: 50% !important;
}

.alert{
    width: 50% !important;
    display: flex;
    justify-content: start;
    align-items: center;
  }

  .add-task-btn{
    width: 13vw; 
  }

.right-bar-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 3;
  }

  .profile-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
  
}
