@tailwind base;
@tailwind components;
@tailwind utilities;

.navbar-dark {
  background: #073763;
}

nav.navbar-dark ::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.h-screen-page {}

.table-score th,
.table-score td {
  border-right: 1px solid #ccc !important;
}

.table-score tr td:last-child,
.table-score tr th:last-child {
  border-right: 0px !important;
}

/*new sidebar design*/
@media (min-width: 768px) {
  .home-content {
    display: none;
  }

  .sidebar-menu.close:hover {
    width: 250px;
    transition: all 500ms ease;
  }

  .sidebar-menu.close:hover .nav-links li a .link_name {
    opacity: 1;
  }

  .sidebar-menu.close:hover .nav-links i.arrow {
    display: block;
  }

  .sidebar-menu.close:hover .nav-links li i.arrow {
    font-weight: 600;
  }

  .sidebar-menu.close:hover .nav-links li i {
    height: 30px;
    min-width: 30px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-style: normal;
    font-weight: 400;
  }

  .sidebar-menu.close {
    width: 78px;
    opacity: 1 !important;
  }

  .sidebar-menu.close:hover .nav-links li .icon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-menu.close:hover .nav-links li.showMenu .sub-menu {
    display: block;
    padding: 6px 6px 14px 80px;
    margin-top: 10px;
    background-color: #063159;
    font-size: 12px;
    font-weight: 300;
    transition: all 0.6s ease-in-out 0.7s;
  }

  .sidebar-menu.close:hover .nav-links li .sub-menu a {
    color: #fff;
    font-size: 12px;
    padding: 5px 0;
    white-space: nowrap;
    opacity: 0.6;
    transition: all 500ms ease;
  }

  .sidebar-menu.close:hover .nav-links li .sub-menu a:hover {
    opacity: 1;
  }

  /* .sidebar-menu.close .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    opacity: 1;
    display: block;
    pointer-events: none;
    transition: 0s;
  } */
  .sidebar-menu .nav-links li.showMenu .sub-menu {
    display: none;
    transition: all 0.5s ease-in-out;
  }

  .sidebar-menu.close:hover .fa-angle-down {
    display: block;
  }
}

.sidebar-menu {
  position: fixed;
  top: 56px;
  left: 0;
  height: 100%;
  width: 260px;
  background: #073763;
  z-index: 100;
  transition: all 0.5s ease;
}

.sidebar-menu.close {
  width: 64px;
  opacity: 1 !important;
}

.sidebar-menu .nav-links {
  height: 100%;
  padding: 0 0;
  overflow: hidden;
  margin-left: 0;
}

.sidebar-menu.close .nav-links {
  overflow: visible;
}

.sidebar-menu .nav-links::-webkit-scrollbar {
  display: none;
}

.sidebar-menu .nav-links li {
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
  margin: 8px 0;
}

.sidebar-menu .nav-links li:hover {
  background-color: #063159;
}

.sidebar-menu .nav-links li .icon-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-menu.close .nav-links li .icon-link {
  display: block;
  transition: all 0.3s ease;
  transition-delay: 0.3s;
}

.sidebar-menu .nav-links li i.arrow {
  font-weight: 600 !important;
}

.sidebar-menu .nav-links li i {
  height: 30px;
  min-width: 30px;
  text-align: center;
  line-height: 30px;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-style: normal;
  font-weight: 400;
}

.sidebar-menu .nav-links li i.first-letter {
  border: 1px solid #00b920;
  margin-right: 10px;
  margin-left: 15px;
}

.sidebar-menu .nav-links li.showMenu i.arrow {
  transform: rotate(-180deg);
}

.sidebar-menu.close .nav-links i.arrow {
  display: none;
}

.sidebar-menu .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  text-shadow: 0 0 black;
  width: 100%;
}

.sidebar-menu .nav-links li a .link_name {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.sidebar-menu.close .nav-links li a .link_name {
  opacity: 0;
  pointer-events: none;
}

.sidebar-menu .nav-links li .sub-menu {
  padding: 6px 6px 14px 80px;
  margin-top: -10px;
  background-color: #063159;
  display: none;
}

.sidebar-menu .nav-links li .sub-menu a {
  color: #fff;
  font-size: 13px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.sidebar-menu .nav-links li .sub-menu a:hover {
  opacity: 1;
}

/* .sidebar-menu.close:hover .nav-links li .sub-menu a:hover {
    opacity: 1;
  }
  .sidebar-menu.close .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    opacity: 0;
    display: block;
    pointer-events: none;
    transition: 0s;
  } */
/* .sidebar-menu.close .nav-links li:hover .sub-menu {
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
  } */
.sidebar-menu .nav-links li .sub-menu .link_name {
  display: none;
}

.sidebar-menu.close .nav-links li .sub-menu .link_name {
  font-size: 18px;
  opacity: 1;
  display: block;
}

.sidebar-menu .nav-links li .sub-menu.blank {
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}

.sidebar-menu .nav-links li:hover .sub-menu.blank {
  top: 50%;
  transform: translateY(-50%);
}

.sidebar-menu .profile-details {
  position: fixed;
  bottom: 0;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d1b31;
  padding: 12px 0;
  transition: all 0.5s ease;
}

.sidebar-menu.close .profile-details {
  background: none;
}

.sidebar-menu.close .profile-details {
  width: 64px;
}

.sidebar-menu .profile-details .profile-content {
  display: flex;
  align-items: center;
}

.sidebar-menu .profile-details img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}

.sidebar-menu.close .profile-details img {
  padding: 10px;
}

.sidebar-menu .profile-details .profile_name,
.sidebar-menu .profile-details .job {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar-menu.close .profile-details i,
.sidebar-menu.close .profile-details .profile_name,
.sidebar-menu.close .profile-details .job {
  display: none;
}

.sidebar-menu .profile-details .job {
  font-size: 12px;
}

@media (max-width: 768px) {
  .sidebar-menu {
    top: 52px;
  }

  .sidebar-menu .nav-links li.showMenu .sub-menu {
    display: block;
  }

  .border-divider .dealer-data {
    width: 100% !important;
  }

  .scoreboard_table.no3scoreboard .manager_scorecard thead th {
    font-size: 10px !important;
  }

  .dealer-data,
  .dealer-data.box-blue {
    height: auto !important;
  }
}

@media (max-width: 420px) {
  .sidebar-menu.close .nav-links li .sub-menu {
    display: none;
  }
}

aside .close .nav-links {
  text-shadow: none !important;
}

.sidebar-menu.close:before {
  display: none;
}

.sidebar-menu.close~.page-wrapper {
  left: 64px;
  width: calc(100% - 64px);
}

.page-wrapper {
  position: relative;
  /* background: #e4e9f7;
    height: 100vh; */
  left: 260px;
  top: 0px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
  padding-bottom: 30px;
}

@media (max-width: 500px) {
  .page-wrapper {
    opacity: 0.05;
  }

  /* @media (min-width: 1200) and (max-width: 1400){
    .sidebar-menu .nav-links li i {
      height: 26px !important;
      min-width: 26px !important;
      text-align: center;
      line-height: 25px !important;
      color: #fff;
      font-size: 10px !important;
      cursor: pointer;
      transition: all 0.3s ease;
      font-style: normal;
      font-weight: 400;
    }
  } */
  .sidebar-menu.close~.page-wrapper {
    opacity: 1;
  }

  .page-wrapper {
    padding-bottom: 24px;
  }
}

/*new sidebar design*/

/**table-drag-css**/
.box-drag {
  overflow-x: auto;
  overflow-y: auto;
  height: calc(100vh - 226px);
  width: 100%;
  cursor: grabbing;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.deal_log tr:nth-child(even) {
  background: #f6f8fea3;
}

.deal_log tr:hover {
  background-color: #e8edf9;
}

.deal_log thead tr:hover {
  background-color: #073763;
}

#userTable .accordian-body .funded_deal td,
#userTable .accordian-body .funded_deal td a {
  background-color: #114611 !important;
}

.box-drag table th,
.box-drag table td {
  padding: 8px;
  white-space: nowrap;
}

.box-drag table th {
  font-size: 10px;
}

/**table-drag-css**/

.manager_scorecard tbody:nth-of-type(odd) {
  background: #f0f5ff;
}

/* main{min-height: 100vh;} */
.error-msg {
  font-size: 10px;
  font-style: italic;
}

.bg-darl-blue {
  background: #073763;
}

/* loader */
.pre-loading {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 9999;
  background: #ffffff91;
}

.home-content .bx-menu-menu {
  color: #fff;
  font-size: 16px;
}

.home-content .bx-menu-menu {
  margin: 0 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
}

.sidebar-menu.close .fa-angle-down {
  display: none;
}

.bg-darl-blue {
  background: #073763;
}

.card-bg1 {
  background: linear-gradient(to right, #0ed2f7, #b2fefa);
}

.card-bg2 {
  background: linear-gradient(to left, #ffdde1, #ee9ca7);
}

.card-bg3 {
  background: linear-gradient(to left, #9cecfb, #65c7f7, #0052d4);
}

.card-bg4 {
  background: linear-gradient(to left, #9796f0, #ff517d);
}

/* sweet alert */

div:where(.swal2-container).swal2-center>.swal2-popup {
  width: 20rem;
  height: 23rem;
}

/* wheels ppt */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.tire-wheel-ppt .donut-chart {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto 2rem;
  border-radius: 100%;
  transform: rotate(343deg);
}

.tire-wheel-ppt p.center {
  background: #fff;
  position: absolute;
  text-align: center;
  font-size: 28px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  margin: auto;
  border-radius: 50%;
  line-height: 35px;
  padding: 15% 0 0;
}

.bg-tire_and_Whee {
  position: absolute;
  width: 841px;
  margin: auto;
  left: 35px;
  right: 0;
  top: 25px;
}

.tire-wheel-ppt .canvas_position {
  position: relative;
  margin-top: 70px;
}

.tire-wheel-ppt .canvas-absolute {
  position: absolute;
  top: -40px;
}

.tire-wheel-ppt .values-text {
  padding: 38px 0 45px;
}

.tire-wheel-ppt .values-text input {
  width: 1px;
  visibility: hidden;
}

.tire-wheel-ppt .portion-block {
  border-radius: 50%;
  clip: rect(0px, 240px, 230px, 100px);
  height: 100%;
  position: absolute;
  width: 100%;
}

.tire-wheel-ppt .circle {
  border-radius: 50%;
  clip: rect(0px, 100px, 200px, 0px);
  height: 100%;
  position: absolute;
  width: 100%;
  font-family: monospace;
  font-size: 1.5rem;
}

#part1 {
  transform: rotate(360deg);
}

#part1 .circle {
  background-color: #a4a4a41c;
  /* #E64C65 */
  /* transform: rotate(0deg); */
  animation: first 1s 1 forwards;
}

#part2 {
  transform: rotate(45deg);
}

#part2 .circle {
  background-color: #a4a4a41c;
  /* #11A8AB */
  animation: second 1s 1 forwards 1s;
}

#part3 {
  transform: rotate(90deg);
}

#part3 .circle {
  background-color: #a4a4a41c;
  /* #4FC4F6 */
  animation: third 0.5s 1 forwards 1s;
}

#part4 {
  transform: rotate(135deg);
}

#part4 .circle {
  background-color: #a4a4a41c;
  /* #7c4ff6 */
  animation: fourth 0.5s 1 forwards 1s;
}

#part5 {
  transform: rotate(180deg);
}

#part5 .circle {
  background-color: #a4a4a41c;
  /* #320c9d */
  animation: five 0.5s 1 forwards 1s;
}

#part6 {
  transform: rotate(225deg);
}

#part6 .circle {
  background-color: #a4a4a41c;
  /* #9a10a6 */
  animation: six 0.5s 1 forwards 1s;
}

#part7 {
  transform: rotate(270deg);
}

#part7 .circle {
  background-color: #a4a4a41c;
  /* #ebf64f */
  animation: seven 0.5s 1 forwards 1s;
}

#part8 {
  transform: rotate(315deg);
}

#part8 .circle {
  background-color: #a4a4a41c;
  /* #10831c */
  animation: eight 0.5s 1 forwards 1s;
}

/* Animation */
@keyframes first {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes second {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes third {
  from {
    transform: rotate(90deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes fourth {
  from {
    transform: rotate(135deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes five {
  from {
    transform: rotate(180deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes six {
  from {
    transform: rotate(225deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes seven {
  from {
    transform: rotate(270deg);
  }

  to {
    transform: rotate(45deg);
  }
}

@keyframes eight {
  from {
    transform: rotate(315deg);
  }

  to {
    transform: rotate(45deg);
  }
}

.tire-wheel-ppt p.center {
  background: url(https://drivedealer.com/tabler/img/Tire_and_Wheel_Presentation.png), #fff;
  background-size: cover;
  background-position: 58% 0px;
  background-repeat: no-repeat;
  transform: rotate(78deg);
}

.login-bg {
  background: url(/assets/img/login-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: #0d254c; */
  font-family: Montserrat;
}

.asterik_mark::after {
  content: '*';
  color: rgb(246, 92, 92);
}

/* sidebar */

.sidebar-body {
  overflow-y: scroll !important;
  height: calc(100vh - 140px);
}

.bg-scoreboad {
  background: url(/assets/img/login-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  /* min-height: 100vh; */
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  width: 100%;
}

.bg-blue-sdark {
  background: #0738635e;
  border-radius: 8px;
  box-shadow: 2px 2px 7px 0px #000;
}

.arrows-scoreb .fa-sort-down {
  position: relative;
  top: -6px;
}

.scoreboad-top-heading .bg-blue-sdark {
  border-radius: 18px !important;
}

/* dashboard select css */
.scoreboad-top-heading .select2-container {
  width: 240px !important;
  cursor: pointer !important;
}

.scoreboad-top-heading .select2-container--default .select2-selection--single {
  appearance: none;
  background: url(https://dev.drivedealer.com/tabler/img/fluent_ios-arrow2.png);
  background-size: 12px;
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  border-radius: 8px !important;
  border: 1px solid #dadcde !important;
  box-shadow: 2px 2px 7px 0px #000;
  height: 36px;
  padding-top: 3px !important;
}

.scoreboad-top-heading .select2-container--default .select2-selection--single[aria-expanded='true'] {
  background: url(https://dev.drivedealer.com/tabler/img/fluent_ios-arrow2d.png);
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
}

.scoreboad-top-heading .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  font-size: 14px;
  text-align: left;
  padding-top: 1px;
  text-transform: capitalize;
}

.select2-dropdown {
  background-color: rgb(14 46 79) !important;
  text-transform: capitalize;
  color: #fff !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  background: #0e2e4f;
  color: #fff;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #5897fb;
  color: white;
  cursor: pointer;
}

.select2-container--default .select2-results__option--selected {
  background-color: #9eb0bf;
}

.scoreboad-top-heading .select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  right: 1px;
  top: 5px !important;
  width: 20px;
}

/* dashboard select css */

.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: #206bc4 !important;
}

.router-link-exact-active{
  background-color: #073790;
  padding: 5px 0px ;
  border-radius: 5px;
}