@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --offcanvas-width    : 270px;
  --topNavbarHeight    : 56px;
  --box-shadow-1       : 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  --box-shadow-2       : 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
  --box-shadow-inset   : inset 0 0 10px #212529;
  --primary-color      : #012970;
  --primary-light-color: rgba(33, 99, 232, 0.2);
  --secondary-color    : #f88000;
  /* #00894c */
}

* {
  box-sizing: border-box;
}

body {
  background-color: #fafdfb !important;
  /* color        : #256145; */
}

body,
button {
  font-family: "Inter", sans-serif;
}

a {
  text-decoration: none !important;
}

/* .top-navbar { */
/* background: #343a40 !important; */
/* box-shadow: var(--box-shadow-1); */
/* } */

.top-navbar {
  padding-left : 15px;
  padding-right: 15px;
}

.top-navbar .navbar-brand {
  color: var(--primary-color) !important;
}

/* .top-navbar .nav-link{
  color: hsla(0, 0%, 100%, .5) !important;
  margin-left: 10px;
}

.top-navbar .nav-link:hover{
  color: #fff !important;
} */

.btn-primary {
  background: var(--primary-color) !important;
  border    : var(--primary-color) !important;
  color     : #fff !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.form-check-input{
  height: 30px !important;
  width: 50px !important;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color    : var(--primary-color) !important;
}

/* .fas, .far, .fa{
  margin-right: 0.5rem !important;
} */

.dropdown-menu {
  border        : none !important;
  box-shadow    : var(--box-shadow-2);
  padding-top   : 0 !important;
  padding-bottom: 0 !important;
}

.dropdown-menu .dropdown-item {
  padding-top   : 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.offcanvas-start {
  top: var(--topNavbarHeight) !important;
}

.offcanvas {
  background: #fff !important;
}

.offcanvas .collapse,
.offcanvas .collapsing {
  background: #fff !important;
  box-shadow: var(--box-shadow-inset);
}

.sidebar-nav {
  width: var(--offcanvas-width);
}

.sidebar-nav .nav-link {
  margin-bottom: 10px !important;
  padding      : 10px 5px;
  color        : var(--primary-color) !important;
}

.sidebar-nav .text-danger:hover {
  background: #dc3545 !important;
}

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-link:hover {
  color     : #fff !important;
  background: var(--primary-color);
}

.sidebar-link {
  display    : flex;
  align-items: center;
  transition : all ease 0.5s;
}

.sidebar-link .right-icon {
  display   : inline-flex;
  transition: all ease 0.5s;
}

.sidebar-link[aria-expanded="true"] .right-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  -webkit-animation-duration : 0.3s;
  animation-duration         : 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode        : both;
}

/* main{
  margin-bottom: 70px;
} */

.avatar.no-thumbnail {
  background-color: var(--color-300);
  font-weight     : 600;
  display         : flex;
  align-items     : center;
  justify-content : center;
}

.avatar {
  width    : 40px;
  min-width: 40px;
  height   : 40px;
}

.card {
  box-shadow      : 0 4px 8px rgb(0 0 0 / 3%);
  background-color: #fff;
  border-radius   : 3px;
  position        : relative;
  margin-bottom   : 30px;
}

.card .card-header {
  border-bottom-color: #f9f9f9;
  background         : #fff !important;
  line-height        : 30px;
  -ms-grid-row-align : center;
  align-self         : center;
  width              : 100%;
  min-height         : 70px;
  padding            : 15px 25px;
  display            : flex;
  align-items        : center;
}

.card .card-body {
  padding-top   : 20px;
  padding-bottom: 20px;
}

.card .card-footer {
  background-color: transparent;
  border          : none;
  padding         : 20px 25px;
}

.dashboard-card .material-icons {
  margin-right: 30px;
}

form .form-control,
form .form-select,
form .input-group span {
  height: 45px;
  border: 1px solid var(--primary-color);
}

.footer {
  box-shadow: var(--box-shadow-1);
}

.table tfoot th {
  height: 40px !important;
}

.table th,
.table td,
.datatable th,
.datatable td {
  padding       : 0 25px !important;
  height        : 60px !important;
  vertical-align: middle;
}

.pagination {
  display      : -ms-flexbox;
  display      : flex;
  padding-left : 0;
  list-style   : none;
  border-radius: 0.25rem;
  transition   : 0.5s;
}

.page-item:first-child .page-link {
  margin-left              : 0;
  border-top-left-radius   : 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-link:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.page-item .page-link {
  color        : #6777ef;
  border-radius: 3px;
  margin       : 0 3px;
}

.page-link {
  border-color    : transparent;
  background-color: #f9fafe;
  font-weight     : 600;
}

.page-link:hover,
.dt-button:hover {
  color           : #f9fafe !important;
  background-color: #6777ef !important;
}

.page-item.active .page-link {
  z-index         : 3;
  color           : #f9fafe;
  background-color: #6777ef;
  border-color    : #6777ef;
}

.file {
  visibility: hidden;
  position  : absolute;
}

.dt-button {
  color           : #6777ef !important;
  background-color: #f9fafe !important;
  border-color    : #f9fafe !important;
}

.dt-button {
  display            : inline-block;
  font-weight        : 400;
  line-height        : 1.5;
  color              : #212529;
  text-align         : center;
  text-decoration    : none;
  vertical-align     : middle;
  cursor             : pointer;
  -webkit-user-select: none;
  -moz-user-select   : none;
  user-select        : none;
  background-color   : transparent;
  border             : 1px solid transparent;
  padding            : 0.375rem 0.75rem;
  font-size          : 1rem;
  border-radius      : 0.25rem;
  transition         : color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.badge.bg-success {
  color           : #0f5132 !important;
  background-color: #d1e7dd !important;
  border-color    : #badbcc !important;
}

.badge.bg-warning {
  color           : #664d03 !important;
  background-color: #fff3cd !important;
  border-color    : #ffecb5 !important;
}

.badge.bg-danger {
  color           : #842029 !important;
  background-color: #f8d7da !important;
  border-color    : #f5c2c7 !important;
}

.btn-upload {
  padding    : 0 20px;
  margin-left: 10px;
}

.required::after {
  content: ' *';
  color  : red !important;
}

@-webkit-keyframes slideUpIn {
  0% {
    -webkit-transform: translateY(20px);
  }

  100% {
    -webkit-transform: translateY(0);
  }

  0% {
    -webkit-transform: translateY(20px);
  }
}

@keyframes slideUpIn {
  0% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(0);
  }

  0% {
    transform: translateY(20px);
  }
}

.slideUpIn {
  -webkit-animation-name: slideUpIn;
  animation-name        : slideUpIn;
}

.wrapper {
  /* width: 400px; */
  background   : #fff;
  border-radius: 7px;
  box-shadow   : 7px 7px 20px rgba(0, 0, 0, 0.05);
}

.wrapper header {
  display      : flex;
  font-size    : 21px;
  font-weight  : 500;
  /* color        : #43AFFC; */
  padding      : 16px 15px;
  align-items  : center;
  /* border-bottom: 1px solid #ccc; */
}

header i {
  font-size   : 0em;
  cursor      : pointer;
  margin-right: 8px;
}

.wrapper.active header i {
  margin-left: 5px;
  font-size  : 30px;
}

.wrapper .input-part {
  margin: 20px 25px 30px;
}

.wrapper.active .input-part {
  display: none;
}

.input-part .info-txt {
  display      : none;
  font-size    : 17px;
  text-align   : center;
  padding      : 12px 10px;
  border-radius: 7px;
  margin-bottom: 15px;
}

.input-part .info-txt.error {
  color     : #721c24;
  display   : block;
  background: #f8d7da;
  border    : 1px solid #f5c6cb;
}

.input-part .info-txt.pending {
  color     : #0c5460;
  display   : block;
  background: #d1ecf1;
  border    : 1px solid #bee5eb;
}

.input-part :where(input, button) {
  width        : 100%;
  height       : 55px;
  border       : none;
  outline      : none;
  font-size    : 18px;
  border-radius: 7px;
}

.input-part input {
  text-align: center;
  padding   : 0 15px;
  border    : 1px solid #ccc;
}

.input-part input:is(:focus, :valid) {
  border: 2px solid #43AFFC;
}

.input-part input::placeholder {
  color: #bfbfbf;
}

.input-part .separator {
  height         : 1px;
  width          : 100%;
  margin         : 25px 0;
  background     : #ccc;
  position       : relative;
  display        : flex;
  align-items    : center;
  justify-content: center;
}

.separator::before {
  content   : "or";
  color     : #b3b3b3;
  font-size : 19px;
  padding   : 0 15px;
  background: #fff;
}

/*.input-part button{*/
/*  color: #fff;*/
/*  cursor: pointer;*/
/*  background: #43AFFC;*/
/*  transition: 0.3s ease;*/
/*}*/
/*.input-part button:hover{*/
/*  background: #1d9ffc;*/
/*}*/
.wrapper .weather-part {
  display        : none;
  margin         : 30px 0 0;
  align-items    : center;
  justify-content: center;
  flex-direction : column;
}

.wrapper.active .weather-part {
  display: flex;
}

.weather-part img {
  max-width: 125px;
}

.weather-part .temp {
  display    : flex;
  font-weight: 500;
  font-size  : 72px;
  color      : #000 !important;
}

.weather-part .temp .numb {
  font-weight: 600;
  color      : #000 !important;
}

.weather-part .temp .deg {
  font-size: 40px;
  display  : block;
  margin   : 10px 5px 0 0;
  color    : #000 !important;
}

.weather-part .weather {
  font-size : 21px;
  text-align: center;
  margin    : -5px 20px 15px;
  color     : #000 !important;
}

.weather-part .location {
  display      : flex;
  font-size    : 19px;
  padding      : 0 20px;
  text-align   : center;
  margin-bottom: 30px;
  align-items  : flex-start;
  color        : #000 !important;
}

.location i {
  font-size: 22px;
  margin   : 4px 5px 0 0;
}

.weather-part .bottom-details {
  display        : flex;
  width          : 100%;
  justify-content: space-between;
  border-top     : 1px solid #ccc;
  color          : #000 !important;
}

.bottom-details .column {
  display        : flex;
  width          : 100%;
  padding        : 15px 0;
  align-items    : center;
  justify-content: center;
}

.column i {
  color    : #5DBBFF;
  font-size: 40px;
}

.column.humidity {
  border-left: 1px solid #ccc;
}

.column .details {
  margin-left: 3px;
}

.details .temp,
.humidity span {
  font-size  : 18px;
  font-weight: 500;
  margin-top : -3px;
}

.details .temp .deg {
  margin   : 0;
  font-size: 17px;
  padding  : 0 2px 0 1px;
}

.column .details p {
  font-size : 14px;
  margin-top: -6px;
}

.humidity i {
  font-size: 37px;
}

.switch {
  position: relative;
  display : inline-block;
  width   : 60px;
  height  : 34px;
}

.switch input {
  opacity: 0;
  width  : 0;
  height : 0;
}

.slider {
  position          : absolute;
  cursor            : pointer;
  top               : 0;
  left              : 0;
  right             : 0;
  bottom            : 0;
  background-color  : #ccc;
  -webkit-transition: .4s;
  transition        : .4s;
}

.slider:before {
  position          : absolute;
  content           : "";
  height            : 26px;
  width             : 26px;
  left              : 4px;
  bottom            : 4px;
  background-color  : white;
  -webkit-transition: .4s;
  transition        : .4s;
}

input:checked+.slider {
  background-color: #289a52;
}

input:focus+.slider {
  box-shadow: 0 0 1px #289a52;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform    : translateX(26px);
  transform        : translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (min-width: 992px) {
  body {
    overflow: auto !important;
  }

  main,
  .footer {
    margin-left: var(--offcanvas-width);
  }

  /* this is to remove the backdrop */
  .offcanvas-backdrop::before {
    display: none;
  }

  .sidebar-nav {
    -webkit-transform: none;
    transform        : none;
    visibility       : visible !important;
    height           : calc(100% - var(--topNavbarHeight)) !important;
    top              : var(--topNavbarHeight) !important;
  }
}