/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

/* Basic Rules */
.switch input { 
    display:none;
}
.switch {
    display:inline-block;
    width:60px;
    height:30px;
    margin:8px;
    transform:translateY(50%);
    position:relative;
}
/* Style Wired */
.slider {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    border-radius:30px;
    box-shadow:0 0 0 2px #777, 0 0 4px #777;
    cursor:pointer;
    border:4px solid transparent;
    overflow:hidden;
     transition:.4s;
}
.slider:before {
    position:absolute;
    content:"";
    width:100%;
    height:100%;
    background:#777;
    border-radius:30px;
    transform:translateX(-30px);
    transition:.4s;
}

input:checked + .slider:before {
    transform:translateX(30px);
    background:limeGreen;
}
input:checked + .slider {
    box-shadow:0 0 0 2px limeGreen,0 0 2px limeGreen;
}

/* Style Flat */
.switch.flat .slider {
 box-shadow:none;
}
.switch.flat .slider:before {
  background:#FFF;
}
.switch.flat input:checked + .slider:before {
 background:white;
}
.switch.flat input:checked + .slider {
  background:limeGreen;
}


.error{
    color:red;
}


/* Details page css */
.user-profile-header {
    .user-profile-img {
      width: 120px;
    }
  }
  
  .profile-area{
    box-shadow: 0px 0px 25px 5px #50555C14;
    border-radius: 8px;
    .upper-box{
      &::before{
        content: '';
        position: absolute;
        height: 3px;
        border-radius: 3px;
        background-color: #e5e5e5;
        width: 100%;
        position: absolute;
        bottom: -3px;
        left: 0;
      }
    }
    .box{
      padding: 30px;
      position: relative;
      &.upper-box{
        .thumb{
          width: 40%;
          display: block;
          margin: 0 auto;
          padding-top: 40%;
          border-radius: 50%;
          position: relative;
          border: 2px solid #4DDA65;
          margin-bottom: 15px;
          position: relative;
          &.trainee::before{
            content: 'Trainee';
            font-size: 10px;
            font-weight: 700;
            padding: 5px 10px;
            color: #fff;
            background-color: #4DDA65;
            border-radius: 35px;
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translate(-50%, 80%);
            line-height: 1.2;
            z-index: 99;
          }
          &.trainer::before{
            content: 'Trainer';
            font-size: 10px;
            font-weight: 700;
            padding: 5px 10px;
            color: #fff;
            background-color: #4DDA65;
            border-radius: 35px;
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translate(-50%, 80%);
            line-height: 1.2;
            z-index: 99;
          }
          img{
            position: absolute;
            display: block;
            width: 100%;
            top: 0;
            left: 0;
            height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 50%;
          }
        }
        .name{
          font-weight: 700;
          font-size: 26px;
          color: #000;
        }
        .specialist{
          font-size: 14px;
          color: #000;
        }
      }
      &.lower-box{
        .info-item{
          display: flex;
          align-items: center;
          + .info-item{
            margin-top: 20px;
          }
          .profile-detail-box{
            padding-left: 10px;
            span{
              font-weight: 600;
              font-size: 12px;
              color: #03030380;
              display: block;
            }
            div{
              color: #000;
              font-size: 14px;
              font-weight: 600;
            }
          }
        }
      }
    }
  }
  
  .tab-content{
    padding: 20px;
  }

  .label-info {
    padding: 15px 20px;
    min-width: 100px;
}
.label-info span {
    color: #03030380;
    font-size: 12px;
    line-height: 1.3;
}
.label-info .info {
    font-size: 16px;
    color: #030303;
    font-weight: 600;
}
.border-box .border-header {
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: 14;
    font-weight: 600;
    background-color: #F6F6F6;
    color: #000;
}
.label-info.inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.label-info.inline .info {
    font-size: 12px;
}
.profile-area .box.lower-box .info-item .profile-detail-box div {
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid black;
}

.profile-area .box {
    padding: 30px;
    position: relative;
}

.thumbs{
    width: 40%;
    display: block;
    margin: 0 auto;
    padding-top: 40%;
    border-radius: 50%;
    position: relative;
    overflow: hidden !important;
    border: 1px solid #000;
    margin-bottom: 15px;
}
.profile-area .box.upper-box .thumbs img {
    position: absolute;
    display: block;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.tab-box-area {
    box-shadow: 0px 0px 25px 5px #50555C14;
    border-radius: 8px;
}
.tab-box-area .nav-tabs {
    border-bottom: 1px solid #E5E5E5;
}
.nav-tabs {
    --bs-nav-tabs-border-width: var(--bs-border-width);
    --bs-nav-tabs-border-color: var(--bs-border-color);
    --bs-nav-tabs-border-radius: var(--bs-border-radius);
    --bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);
    --bs-nav-tabs-link-active-color: var(--bs-emphasis-color);
    --bs-nav-tabs-link-active-bg: var(--bs-body-bg);
    --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);
}
.tab-content {
    padding: 20px;
}
.tab-box-area .nav-tabs .nav-item:first-child {
    margin-left: 0;
}
.tab-box-area .nav-tabs .nav-item {
    padding: 0 20px;
    margin: 0 30px;
}
.tab-box-area .nav-tabs .nav-item .nav-link.active {
    color: #000;
}
.tab-box-area .nav-tabs .nav-item .nav-link {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: hwb(0 1% 99%/0.5);
    border: 0px;
    padding: 20px 0;
}
.tab-box-area .nav-tabs .nav-item .nav-link.active::after {
    opacity: 1;
}
.tab-box-area .nav-tabs .nav-item .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    /* background: #4DDA65; */
    height: 2px;
    width: 100%;
    z-index: 99;
}

 .main-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: var(--bs-gutter-x);
}

 .main-box .thumb-box {
  padding-top: 75%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

 .main-box .thumb-box img,  .main-box .thumb-box video {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

a.nav-link.active {
  color: #f0f0f0 !important;
  background-color: #5A99A4;
  font-weight: 600;
  border-radius: 4px;
}

.list-item-view {
  padding: 20px;
  padding-left: 40px;
  position: relative;
  font-size: 12px;
  font-weight: 600;
  color: #000;
}
.list-item-view .price-box {
  color: #00000080;
  font-size: 13px;
}

.layout-navbar .navbar-nav-right .nav-item > .nav-link .badge-notifications {
  text-transform: uppercase;
  position: absolute;
  top: auto;
  display: inline-block;
  margin: 0;
  transform: translate(-50%, -30%);
  font-size: 0.582rem;
  line-height: 0.75rem;
  top: 0.5rem;
  padding: 0.2rem 0.4rem;
}

.two-profile-box {
  margin-bottom: 40px;
}
.profile-area {
  border: 1px solid #F0F0F0;
  border-radius: 8px;
}
.profile-area .box {
  padding: 30px;
  position: relative;
}
.align-items-center {
  align-items: center!important;
}
.profile-area .upper-box::before {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 3px;
  background-color: #e5e5e5;
  width: 100%;
  position: absolute;
  bottom: -3px;
  left: 0;
}
.profile-area .box.upper-box .thumb {
  width: 100px;
  display: block;
  padding-top: 96px;
  border-radius: 50%;
  border: 2px solid #4DDA65;
  position: relative;
}
.profile-area .box.upper-box .thumb.trainee::before {
  content: "Trainee";
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  color: #fff;
  background-color: #4DDA65;
  border-radius: 35px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 80%);
  line-height: 1.2;
  z-index: 99;
}
.profile-area .box.upper-box .thumb img {
  position: absolute;
  display: block;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.profile-area .box.upper-box .details {
  flex: 0 0 calc(100% - 100px);
  max-width: calc(100% - 100px);
  padding-left: 35px;
}
.profile-area .box.upper-box .details .name {
  font-weight: 700;
  font-size: 26px;
  color: #000;
}
.workout-excercise-parent {
  padding-top: 25px;
}
.workout-excercise-parent .title {
  color: rgba(3, 3, 3, 0.5);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.border-box {
  border: 1px solid #F0F0F0;
  border-radius: 8px;
}
.workout-excercise-parent .thumb {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}
.workout-excercise-parent .thumb video {
  display: block;
}
.workout-excercise-parent .excercise-title {
  color: #4DDA65;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 30px;
}
.align-items-center {
  align-items: center!important;
}
.workout-excercise-parent .rep-parent .rep-item {
  display: flex;
  font-size: 12px;
  font-weight: bold;
  color: #030303;
}
.workout-excercise-parent .rep-parent .rep-item label {
  min-width: 100px;
  font-weight: 400;
  color: rgba(3, 3, 3, 0.5);
}

.tab-box-area .nav-tabs {
  border-bottom: 1px solid #E5E5E5;
}
.tab-box-area .nav-tabs .nav-item:first-child {
  margin-left: 0;
}
.tab-box-area .nav-tabs .nav-item {
  padding: 0 20px;
  margin: 0 30px;
}
.tab-box-area .nav-tabs .nav-item .nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: hwb(0 1% 99%/0.5);
  border: 0px;
  padding: 20px 0;
}
.tab-box-area .nav-tabs .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  background: #4DDA65;
  height: 2px;
  width: 100%;
  z-index: 99;
  opacity: 0;
}

#food-search-list {
  float: left;
  list-style: none;
  margin-top: -3px;
  padding: 0;
  position: absolute;
  width: 28%;
  z-index: 11111;
  height: 220px;
  overflow-y: scroll;
}
#food-search-list li {
  padding: 10px;
  background: #f0f0f0;
  border-bottom: #bbb9b9 1px solid;
  cursor:pointer;
}

table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_desc_disabled:before {
  right: 1em;
  content: "↑" !important;
}
table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:after {
  right: 0.5em;
  content: "↓" !important;
}
.btn-secondary,.btn-primary {
  color: #fff;
  background-color: #4dda65;
  border-color: #4dda65;
}