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

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;


}
.credentials_forms{
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credentials_forms .content{
  background: #ede8d1;
  padding: 50px 40px;
  border-radius: 40px;
  box-shadow: #0000003d 0px 10px 20px, #00000047 0px 6px 6px;
  width: 40%;
}
.credentials_forms .content form{
  border: 2px dashed #531f1f;
  border-radius: 40px;
  padding: 30px 40px;
  font-family: 'Times New Roman', Times, serif !important;
}
.credentials_forms .content form button{
width: 100%;
font-family: 'Times New Roman', Times, serif;
font-weight: 900;
background: #6d0a0a;
}
#delete{
  background: #c0392b !important ;
}

.login-text{
  font-size: 35px;
  text-align: center;
  color: #6d0a0a;
  font-weight: 900;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 10px;
}
.forget-pass{
  text-decoration: none;
  text-align: center;
  color: #000;
  margin-top: 5px;
  display: block;
}
.forget-pass:hover{
  text-decoration: underline;
}

.aipex-logo{
  height: 40px;
    width: 55px;
  
}

.top-nav {
  position: fixed;
  width: 100%;
  top: 0;
}


.navigation {
  position: fixed;
  width: 60px;
  min-height: 100%;
  margin-top: 55px;
  background:#6d0a0a;
  overflow: hidden;
  transition:  0.5s;
}

.navigation:hover,
.navigation.active {
  width: 17vw;
  overflow: inherit;
}
.dropdown-menu .show{
  right: 0 !important;
}
.navigation #sidenav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
}
.carrier_pricing .dropdown-menu.show {
  position: absolute;
    inset: auto !important;
    margin: 0px;
    transform: translate(0px, -81px);
    left: 147px !important;
    top: -7px !important;
    background: #ede8d1;
}
.carrier_pricing .sub-title,.zones .sub-title{
  margin-bottom: 10px;
}
.navigation #sidenav li {
  position: relative;
  width: 100%;
  list-style: none;
  transition: 1s;
}
.carrier_pricing .dropdown-menu.show li a{
color:#531f1f;
font-weight: 500;
}
.carrier_pricing .dropdown-menu.show li a:active{
  color:#fff;
  background: #531f1f;
  font-weight: 500;
  }
.navigation ul li:hover {
  background: #835d5d;
}

.navigation ul li a {
  position: relative;
  display: block;
  width: 100%;
  display: flex;
  text-decoration: none;
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  color: #ffff;
}

.navigation ul li a .icon .fa {
  font-size: 24px;
}

.navigation ul li a .title {
  position: relative;
  display: block;
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  text-align: start;
  white-space: nowrap;
  color: #fff;
}
.navigation ul li a .sub-title{
  padding: 0 0 0 90px;
  color: #ffffff;
}
.sub-tittle-collapse{
  max-height: 20vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.sub-tittle-collapse::-webkit-scrollbar {
  width: 4px; /* Width of the scrollbar */
  height: 10px; /* Height of the scrollbar */
  background-color: #f5f5f5; /* Background color of the scrollbar */
  
}
.sub-tittle-collapse::-webkit-scrollbar-thumb{
  background-color: #ffffff;
border-radius: 20px;

}
.sub-tittle-collapse::-webkit-scrollbar-track{
background-color: #6d0a0a;
}
.toggle {
  display: none;
}

.toggle.active {
  background: #ede8d1;
}

.toggle::before {
  content: "\f0c9";
  font-family: fontAwesome;
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
  color: #fff;
}

.toggle.active::before {
  content: "\f00d";
}

#myTable_2 thead th {
  border-bottom: 2px solid #fdfafa;
  /* Change 'your-color' to your desired border color */
}

#myTable_2 thead tr th:first-child, #display_table thead tr th:nth-child(2),
 #myTable_2 tbody tr td:first-child,#display_table tbody tr td:nth-child(2) {
  border-right: 2px solid #fdfafa !important;
}

thead th,
tbody td {
  padding: 10px 0;
  text-align: center !important
}

tbody td {
  padding: 10px
}

#myTable_2 {
  border-bottom: none;
  text-transform: capitalize;
}

thead tr th,
tbody tr td:first-child ,#display_table tbody tr td:nth-child(2){
  background: #531f1f !important;
  color: #ffffff !important;
  font-weight: 700
}
.checkbox , #display_table tbody tr td:first-child{
  background: #531f1f !important;
  width: 3% !important;
  border-right: none !important;
}
#display_table tbody tr td:first-child{
  text-align: start !important;
}
input[type=checkbox] {
  position: relative;
	border: 1px solid #ede8d1;
	background: none;
	cursor: pointer;
	line-height: 0;
	margin: 0 .6em 0 0;
	outline: 0;
	padding: 0 !important;
	vertical-align: text-top;
	height: 16px;
	width: 16px;
	-webkit-appearance: none;
  opacity: .5;
}

input[type=checkbox]:hover {
  opacity: 1;
}

input[type=checkbox]:checked {
  background-color: #ede8d1;
  opacity: 1;
}

input[type=checkbox]:before {
  content: '';
  position: absolute;
  right: 50%;
  top: 50%;
  width: 4px;
  height: 10px;
  border: solid #531f1f;
  border-width: 0 2px 2px 0;
  margin: -1px -1px 0 -1px;
  transform: rotate(45deg) translate(-50%, -50%);
  z-index: 2;
}


#myTable_2 tbody tr td {
  background: #ede8d1
}

.box-data {
  margin: 28px 5px 0 60px;
  min-height: 85vh;
  box-shadow: 6px -6px 25px #d4d4d4;
  border-radius: 5px;

}
.update,
.update:hover,.update:focus,.update:visited {
  background : #80402E !important;
  color: #fff !important;
  border: 1px solid #80402E  !important;
  font-weight: 500;
  /* margin-left: 20px; */
  text-transform: capitalize;
}

.add,
.add:hover,.add:focus,.add:visited {
  background: #ede8d1  !important;
  border-color:  #b49191;
  /* background: #000!important;
  color: #fff; */
  border: #000;
  color: #531f1f !important;
  float: right;
  margin-right: 10px;
  font-weight: 500;
}

.submit,
.submit:hover {
  background: #755b5b !important;
  border: #b49191;
}

.dataTables_length,
.dataTables_filter {
  margin-bottom: 15px;
}
.dataTables_scrollBody #display_table{
  width: 100% !important;
  margin-top: 1.5px !important;
}
nav,
.navigation {
  z-index: 1;
}
.readonly , .readonly:focus{
  background: #f1f1f1;
  text-align: center;
}
table.dataTable thead>tr>th.sorting{
  padding-right: 0;
}
.swal2-confirm , .swal2-confirm:focus, .swal2-confirm:active,.swal2-confirm:visited{
  background-color: #531f1f !important;
  outline: none !important;
  border: none !important;
}


@media (max-width: 767px) {
  .navigation {
    left: -60px;
    width: 0;
  }
  .credentials_forms .content{
    width: 100%;
  }

  .model-body {
    max-width: 80vw;
    align-items: center;
    margin: auto;
  }

  #myTable_2 {
    min-width: 70rem !important;
  }

  nav,
  .navigation {
    z-index: 1;
  }

  .toggle {
    position: relative;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #ede8d1;
    cursor: pointer;
    transition: 0.7s;
    display: inline-block;
  }

  .navigation.active {
    left: 0px;
    width: 100%;
  }

  .submit {
    margin-left: 10px;
  }

  .box-data {
    /* border: 2px solid black; */
    margin: 0 5px 0 5px;
    min-height: 90vh;
    box-shadow: 6px -6px 25px #d4d4d4;
    border-radius: 5px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #myTable_2 {
    min-width: 80rem !important;
  }
.credentials_forms .content{
  width: 65%;
}
  .model-body {
    max-width: 80vw;
    align-items: center;
    margin: auto;
  }
  .navigation:hover,
.navigation.active {
  width: 30vw;
}
}