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

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

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 0px;
    bottom: -4px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider::before {
    background: #2f63c8;
    left: -5px;
}

input+.slider::before {
    background: #2f63c8;
}

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

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

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

.error {
    color: red;
}

#subMenu-width {
    position: relative !important;
    left: 0;
    width: 60px !important;
    padding: 0;
}

.width-main {
    width: 60px !important;
    padding: unset !important;
    overflow: visible;
}

.width-main li {
    width: unset!important;
}

li.list-item.menu-item-has-children.dropdown.width-main ul li {
    width: 60px!important;
    padding: 6px 0 9px 0px;
    display: block;
}

#subMenu-width li a {
    padding: 0 0px 0 8px !important;
}

#subMenu-width li.active {
    background-color: unset !important;
}

.down-icon {
    color: #d4dae9 !important;
    font-size: 17px !important;
    vertical-align: middle;
}

.width-main a.active {
    border-radius: 14px !important;
}


/*  */

.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 10px;
    vertical-align: bottom;
    margin: 6px !important;
}

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

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

#toggle:checked+.slider {
    background-color: #2196F3;
}

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

#toggle: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%;
}


/* #toggle must be visible for before and after elements. Relative used for absolute position of children */

.switch #toggle {
    position: relative;
}


/* Set text on before and after elements */

#toggle::before,
#toggle::after {
    font-family: 'Barlow';
    font-weight: 700;
    font-size: 30px;
}

#toggle::before {
    position: absolute;
    left: 50px;
    bottom: 0;
    content: 'student';
}

#toggle::after {
    position: absolute;
    right: 50px;
    bottom: 0;
    content: 'teacher';
}


/* Change colors based on checked status */

#toggle:checked::before {
    color: green;
}

#toggle:checked::after {
    color: grey;
}

#toggle:not(:checked)::before {
    color: grey;
}

#toggle:not(:checked)::after {
    color: green;
}

.card-body {
    cursor: pointer;
}


/* .notificationRead {
   border-color: #14ce96;
   border-radius: 8px !important;
}
.notificationUnRead{
    border-color: #eb5858;
    border-radius: 8px !important; 
} */

.unReadNotifications {
    position: relative;
    top: 10px;
    right: 0px;
    float: right;
    font-size: 18px;
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 50%;
}

.notificationCard {
    border-radius: 10px;
    border: 0px;
}

.notificationCard.unRead {
    background-color: #f5f9ff;
}

.dateLink {
    font-size: 12px !important;
}

.StatusText {
    font-size: 18px;
    font-weight: 500;
}

.currencyType {
    /* position: absolute; */
    /* margin-left: 8px !important; */
    color: #2c60d0;
    font-weight: bold;
}

.mobile-logo{
    display: none;
}
.notifications{
    width: 380px;
}

.filterIcon{
    display: none;
}

.arabicColor{
    color: blue;
}
.englishColor{
    color: blue;
}

/* td:last-child{text-align:center} */


/*  mobile responsive css */

@media (max-width:767px){
    nav.navbar{
        display: flex;
    align-items: center;
    /* height: 100%; */
    }
    .navbar-nav{margin:0px !important;}
    /* nav.navbar button.navbar-toggler{order:2;} */
    
    .mobile-logo-block{
        width: 45%;
    }
    .mobile-logo-block a,.mobile-logo-block a img{width:100%;}

    .role-selector{
        display: flex;
        align-items: flex-end;
    }

    .search-field{
        margin-bottom: 4px !important;
    }

    .tophead h6{
        margin-bottom: 4px ;
    }

    .status-btn{
        display: flex;
    }
    .request-btn{
        margin-right: 4px;
    }
    .card-horizontal {
        display: block;
    }
    .rating-stars{
        justify-content: flex-start !important;
        padding: 0px !important;
    }
    .mobile-view{text-align: center !important;}
    span.view{float: right;margin: 8px ;}

    #data_filter label:after, #example_filter label:after {
        background-image: none !important;
    }
    /* .export_csv{
        position: absolute !important;
        right: 101px !important;

    } */
    /* .button-alignment{
        position: absolute !important;
        right: 91px !important;
    } */


    .add_user_btn {
        margin-bottom: 8px;
        margin-left: 70px !important;
    }

    .custom-input {
        margin: 5px;
    }
    .updateBtn {
        margin-right: 63px !important;
    }
    table.dataTable td {
        max-width: unset !important;
    }
    .colon{
        display: none;
    }

    .button-alignments{
        display: block !important;
    }
    .ipad-search{
        justify-content: center !important;
    }

    .mobile-logo{
        display: block !important;
    }
    .system-logo{
        display: none;
    }
    .navbar-toggler{
        order: 2;
    }
    .mobile-logo-block{
        order: 1;
    }
    .navbar-collapse{
        order: 3;
    }

    .mobile-logo-block{
        position: absolute !important;
        top: 0px !important;
    }
    .custom-nav{
        padding-right: 10px;
    }
    .card-alignment{
        margin: 0px;
        
    }
    .dataTable tr td {
        max-width: unset !important;
    }

    .notifications{
        width: 333px;
    }
    .header-left .dropdown .dropdown-menu {
        left: -160px !important;
    }
    .halfWidth{
        width: 50%;
    }
    .filterIcon{
        margin-left: -44px;
    }

    .mobileTitle{
        margin-left: 16px;
    }
    .filterIcon{
        display: block;
    }

    .custom-template {
        width: 82% !important;
        right: 0%;
        top: 55%;
    }
    .p-absolute-mobile{
        position: absolute;
        top: 0px;
    }
    #filterContent{
        display:none;
    }

    .yourStockTable th:nth-child(1) {
        min-width: 75px ;
    }
    .yourStockTable th:nth-child(2) {
        min-width: 80px ;
    }
    .yourStockTable th:nth-child(3) {
        min-width: 100px ;
    }
    .yourStockTable th:nth-child(4) {
        min-width: 50px ;
    }
    .yourStockTable th:nth-child(5) {
        min-width: 60px ;
    }
    .yourStockTable th:nth-child(6) {
        min-width: 75px ;
    }
    .yourStockTable th:nth-child(7) {
        min-width: 100px ;
    }
    /* invoice table */
    .invoiceTable th:nth-child(1) {
        min-width: 90px ;
    }
    .invoiceTable th:nth-child(2) {
        min-width: 80px ;
    }
    .invoiceTable th:nth-child(3) {
        min-width: 115px ;
    }
    .invoiceTable th:nth-child(4) {
        min-width: 100px ;
    }
    .invoiceTable th:nth-child(5) {
        min-width: 60px ;
    }
    .invoiceTable th:nth-child(6) {
        min-width: 75px ;
    }
    .invoiceTable th:nth-child(7) {
        min-width: 100px ;
    }


      /* shipment table */
      .shipmentTable th:nth-child(1) {
        min-width: 95px ;
    }
    .shipmentTable th:nth-child(2) {
        min-width: 100px ;
    }
    .shipmentTable th:nth-child(3) {
        min-width: 115px ;
    }
    .shipmentTable th:nth-child(4) {
        min-width: 100px ;
    }
    .shipmentTable th:nth-child(5) {
        min-width: 60px ;
    }
    .shipmentTable th:nth-child(6) {
        min-width: 75px ;
    }
    .shipmentTable th:nth-child(7) {
        min-width: 100px ;
    }


    /* asn table */
    .asnTable th:nth-child(1) {
        min-width: 95px ;
    }
    .asnTable th:nth-child(2) {
        min-width: 100px ;
    }
    .asnTable th:nth-child(3) {
        min-width: 115px ;
    }
    .asnTable th:nth-child(4) {
        min-width: 100px ;
    }
    .asnTable th:nth-child(5) {
        min-width: 60px ;
    }
    .asnTable th:nth-child(6) {
        min-width: 75px ;
    }
    .asnTable th:nth-child(7) {
        min-width: 100px ;
    }

    /* asn table */
    .ratingTable th:nth-child(1) {
        min-width: 100px ;
    }
    .ratingTable th:nth-child(2) {
        min-width: 100px ;
    }
    .ratingTable th:nth-child(3) {
        min-width: 115px ;
    }
    .ratingTable th:nth-child(4) {
        min-width: 100px ;
    }
    .ratingTable th:nth-child(5) {
        min-width: 60px ;
    }
    .ratingTable th:nth-child(6) {
        min-width: 75px ;
    }
    .ratingTable th:nth-child(7) {
        min-width: 100px ;
    }

    .numberInput {
        right: unset;
    }
    

    table.dataTable tbody td:last-child {
        padding: 15px 13px !important;
    }

    
}

/* ipad Responsive  */

@media screen and (min-width: 768px) and (max-width: 1023px){
    body:has(.left-panel){
       display: flex;
       width: 100% !important;
       max-width: 100% !important;
    }
    .left-panel{
       width: 30% !important;
       max-width: 30% !important;
    }
    .right-panel{
       width: 70% !important;
       max-width: 70% !important;
    }
    .button-alignment{
       margin-left: 60% !important;
    }
    .view-row{
        margin-left: 66%;
    }

    .item_name { 
        font-size: 14px !important;
        margin-left: -10px;
    }

    .add_user_btn {
        margin-right: 108px;
    }

    .open .right-panel {
        margin-left: unset;
    }

    .open .left-panel {
        max-width: 10% !important;
        width: 10% !important;
    }
    .open .right-panel {
        max-width: 90% !important;
        width: 90% !important;
    }
    .usermng{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }



table.dataTable.tbl-width td {
        max-width: 178px !important;
}
.rating-button-alignment{
    margin-left: 47% !important;
}
   .status-btn{
       display: flex;
       margin-right: 10px;
   } 
   .online-booking{
       margin-left: 4px !important;
   }
   .ipad-search{
       max-width: 100% !important;
       justify-content: start !important;
       margin-top: 10px ;
   }

   .lr-styl{
       display: flex !important;
       align-items: flex-end !important;
   }
   .col-md-4.logindiv {
       padding-top: 30px !important;
   }
   /* .ipadMenu{
       display: none;
   } */
   .itemPadding{
       padding-left: 3px !important;
   }
   .dataTable tr td {
    max-width: unset !important;
}

.yourStockTable th:nth-child(1) {
    min-width: 75px ;
}
.yourStockTable th:nth-child(2) {
    min-width: 80px ;
}
.yourStockTable th:nth-child(3) {
    min-width: 100px ;
}
.yourStockTable th:nth-child(4) {
    min-width: 50px ;
}
.yourStockTable th:nth-child(5) {
    min-width: 60px ;
}
.yourStockTable th:nth-child(6) {
    min-width: 75px ;
}
.yourStockTable th:nth-child(7) {
    min-width: 100px ;
}
/* invoice table */
.invoiceTable th:nth-child(1) {
    min-width: 90px ;
}
.invoiceTable th:nth-child(2) {
    min-width: 80px ;
}
.invoiceTable th:nth-child(3) {
    min-width: 115px ;
}
.invoiceTable th:nth-child(4) {
    min-width: 100px ;
}
.invoiceTable th:nth-child(5) {
    min-width: 60px ;
}
.invoiceTable th:nth-child(6) {
    min-width: 75px ;
}
.invoiceTable th:nth-child(7) {
    min-width: 100px ;
}


  /* shipment table */
  .shipmentTable th:nth-child(1) {
    min-width: 95px ;
}
.shipmentTable th:nth-child(2) {
    min-width: 100px ;
}
.shipmentTable th:nth-child(3) {
    min-width: 115px ;
}
.shipmentTable th:nth-child(4) {
    min-width: 100px ;
}
.shipmentTable th:nth-child(5) {
    min-width: 60px ;
}
.shipmentTable th:nth-child(6) {
    min-width: 75px ;
}
.shipmentTable th:nth-child(7) {
    min-width: 100px ;
}


/* asn table */
.asnTable th:nth-child(1) {
    min-width: 95px ;
}
.asnTable th:nth-child(2) {
    min-width: 100px ;
}
.asnTable th:nth-child(3) {
    min-width: 115px ;
}
.asnTable th:nth-child(4) {
    min-width: 100px ;
}
.asnTable th:nth-child(5) {
    min-width: 60px ;
}
.asnTable th:nth-child(6) {
    min-width: 75px ;
}
.asnTable th:nth-child(7) {
    min-width: 100px ;
}

/* asn table */
.ratingTable th:nth-child(1) {
    min-width: 100px ;
}
.ratingTable th:nth-child(2) {
    min-width: 100px ;
}
.ratingTable th:nth-child(3) {
    min-width: 115px ;
}
.ratingTable th:nth-child(4) {
    min-width: 100px ;
}
.ratingTable th:nth-child(5) {
    min-width: 60px ;
}
.ratingTable th:nth-child(6) {
    min-width: 75px ;
}
.ratingTable th:nth-child(7) {
    min-width: 100px ;
}

#filterContent{
    display:none;
}


table.dataTable tbody td:last-child {
    padding: 15px 13px !important;
}
 }

