* {
  box-sizing: border-box;
  /* font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif; */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: "Karla", sans-serif;
  background-color: #283949 !important;
  min-height: 100vh;
  padding-right: 0px !important;
}



.home{
  width:90%;
  margin:0 auto;
}

/* navbar design */
.navbarBg{
  background-image: url('../../res/rular.png');
  background-repeat:repeat-x;
  border-bottom: 2px solid #f3cc29;
  background-color: #fff !important;
  padding-top:50px;
  padding-bottom: 15px;
  background-size: contain;

}
.navbar a{
  color: #989898;

}
.navbar a:hover{
  color: #283949;
  text-decoration: none;
}
.navbar ul{
  margin-left: auto!important;
}
.logo{
  width: 293px;
  position: absolute;
  top: +70px;
  left: 50%;
  margin-left: -150px;
  /* z-index: 9999; */

}
.logoImg{
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* nav tabs style */

.navTab{
  margin-top: 50px;
}
.navTab .nav-tabs{
  border-bottom: none;
  /* place-content:center; */
}
.navTab .nav-link{
  padding: 13px 20px;
  background-color: #7d7d7d;
  border-radius: 0;
  font-size: 20px;
  font-weight: bold;
  color: #fdbb28;
  margin-bottom: 14px;

}
.navTab .nav-link:hover {
  border: 1px solid #fdbb28;
  background-color: #fff;
  color: #fdbb28;
}
.navTab .nav-link.active{
  padding: 13px 20px;
  background-color: #fdbb28;
  border-radius: 0;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 14px;

}
/* .navTab .nav-link.active:hover {
border: 1px solid #fdbb28;
background-color: #fff;
color: #fdbb28;
} */

/* edit user modal design and all its content */
.modal-header{
  background-image: url('../../res/rular.png');
  border-bottom: 1px solid #fdbb28;
}
.resetPassword{
  padding: 13px 20px;
  background-color: #fdbb28;
  border-radius: 0;
  color: #fff;
  margin-bottom: 14px;
  width: 100%;
  border: 1px solid #fdbb28;
}
.resetPassword:hover{
  border: 1px solid #fdbb28;
  background-color: #fff;
  color: #fdbb28;
  text-decoration: none;
}
.resetPassword:focus{
  outline: none;
}
.saveUser{
  padding: 13px 20px;
  background-color: #fdbb28;
  border-radius: 0;
  color: #fff;
  margin-bottom: 14px;
  width: 100%;
  border: 1px solid #fdbb28;
}
.saveUser:hover{
  border: 1px solid #fdbb28;
  background-color: #fff;
  color: #fdbb28;
  text-decoration: none;
}
.saveUser:focus{
  outline: none;
}

.usermodal{
  padding-right: 0px !important;
}
.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: #fdbb28;;
}

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

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%; */
}

/* tables design and all its components */
.editUserBtn{
  background-color: #fdbb28;
  border-radius: 0;
  font-weight: bold;
  color: #fff;
  border-color: transparent;
  padding: 6px 12px;
}
.editUserBtn:hover{
box-shadow: none;
background-color: #fff;
color: #fdbb28;
}
.editUserBtn:focus{
  outline: none;
}

.tableDiv .form-control{
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  width: 80%;
  margin: 20px auto;
  border-bottom: 1px solid #bb8817;
  color:#ffffff;
}
.tableDiv .form-control:focus{
  border-bottom: 1px solid #fdbb28;
  box-shadow: 0 1px 0 0 #fdbb28;
}
.tableDiv .form-control::placeholder{
  color: #ffffff;
}


table {

  /* margin:35px auto; */
  width: 100%;
  border-collapse: collapse;
}
/* Zebra striping */
/* tr:nth-child(odd) {
background: #adadad;
}
tr:nth-child(even) {
background: #353535;
color: white;
} */
tr{
  background: #adadad;
}
th {
  background: #222;
  color: white;
  font-weight: bold;
}
td, th {
  padding: 6px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
thead tr{
  background-color: transparent !important;
}

@media
only screen and (max-width: 1048px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
  .home{
    width:90%;
    margin:0 auto;
  }
  .navbarBg{
    padding-top: 15px;
  }

  .navbar ul{
    margin-left: 0!important;
    margin-right: auto!important;
  }

  .logo{
    position:initial;
    margin-left: 0;
  }
  .logo img{
    width: 40%;
    margin: 0 auto;
  }

  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr {
    display: block;
    margin:0 auto;

  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    border: 1px solid transparent;
    border-radius: 10px;
    margin-bottom: 5px;
  }
  td:nth-of-type(9){
    border: none !important;
  }
  .users_tr td:nth-of-type(8){
    border: none !important;
  }

  td {
    /* Behave  like a "row" */
    min-height: 37px;
    border: none;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-left: 50%;
    word-wrap: break-word;
  }

  td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }
  td:before { content: attr(data-label); }

}
