﻿/*notification*/
.readed {
    background-color: #e6e6e6 !important;
}
.readed:hover {
    background-color: #b9b9b9 !important;
}
.action-noti {
    position:absolute;
    right:7px;

}
.noti-list-5 {
    max-height:75vh!important;
}
.click-notification {
    line-height:0.5!important;
}
.custome-dropdown {
  position: absolute;
  display: none;
    border-radius: 50%;
    background-color: #ececec;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 8px;
    right: 32px;
}

.custome-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1001;
  left:-110px;
  margin-top:7px;
}


.custome-dropdown:hover .custome-dropdown-content {
  display: inline-block;
}
.click-notification:hover .custome-dropdown {
    display:inline-block;
}
.custome-dropdown-content p:hover {
    background-color:#efefef;
}
.action-inside {
    line-height: 30px;
}
.icon-type{
    position:absolute;
    margin-top:-10px;
    margin-left:-10px;
}
/*end notification*/

/*
    table css common
*/
table thead tr {
    text-align: center;
}

    
table thead tr.header {
    color: white;
    font-weight: bolder
}

table tbody tr td.center {
    text-align: center;
}

table tbody tr td.left {
    text-align: left;
}

table tbody tr td.right {
    text-align: right;
}

/* .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(245, 247, 250, 1);
} */

/*
    require field
*/

.required_field 
{
    color: red;
}

.underline_field
{
    text-decoration: line-through;
    color:black;
}

.cus-disabled {
    background: #b9b9b9 !important;
}
.cus-disabled a {
    pointer-events: none !important;
    color: #404e67 !important;
}

@media only screen and (max-width: 1200px) {
    .sticky-wrapper {
        /* display: none !important; */
        height: 0px !important;
    }
}

@media only screen and (max-width: 600px){
    .header-btn {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 767px) {
    /* .navbar-container {
        display: none !important;
    } */
     .dropdown-language .nav-link {
        color: #000 !important;
     }

     .dropdown-notification .nav-link {
        color: #000 !important;
     }

     .dropdown-user .nav-link {
        color: #000 !important;
     }
     .dropdown-user .user-name {
        color: #000 !important;
     }
}

.swal-text {
    color: rgba(0,0,0,1);
}

/* tuannh */
.content-body .row .row-component
{
    padding-left: 5px;
    padding-right: 5px;
}

.content-body .row .row-component .card, .content-body .row .row-component .form-group
{
    margin-bottom: 5px;
}
/*@media only screen and (max-width: 767px) {
    .content-body .row .row-component {
        padding-left: 15px;
        padding-right: 15px;
    }
}*/
.w-99 {
    width: 99.5% !important;
}
.no-wrap{
    white-space: nowrap;
}

/* custom breadcrumb */
.breadcrumb {
    /* border: 1px solid #cbd2d9; */
    border-radius: 0.3rem;
    display: inline-flex;
    overflow: hidden;
    text-transform: capitalize;
  }
  
  .breadcrumb-item {
    background: #fff;
    color: #333;
    outline: none;
    /* top - right - bottom - left */
    padding: 0.5em 0.75em 0.5em 1.25em; 
    position: relative;
    text-decoration: none;
    transition: background 0.2s linear;
    font-size: 12px;
  }
  
  .breadcrumb-item:hover:after,
  .breadcrumb-item:hover {
    background: #edf1f5;
  }
  
  .breadcrumb-item:focus:after,
  .breadcrumb-item:focus,
  .breadcrumb-item.active:focus {
    background: #323f4a;
    color: #fff;
  }
  
  .breadcrumb-item:after,
  .breadcrumb-item:before {
    background: white;
    bottom: 0;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%);
    content: "";
    left: 100%;
    position: absolute;
    top: 0;
    transition: background 0.2s linear;
    width: 1em;
    z-index: 1;
  }
  
  .breadcrumb-item:before {
    background: #cbd2d9;
    margin-left: 1px;
  }
  
  .breadcrumb-item:last-child {
    border-right: none;
  }
  
  .breadcrumb-item.active {
    background: #F5F7FA;
    margin-left: 5px;
    font-weight: bold;
  }
  
  .breadcrumb-item a {
    margin-left: 5px;
  }
  /* end custom breadcrumb */

.dataTable tbody tr:hover {
    position: relative;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.color-trangthaikythuat {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    float: left;
    margin-right: 5px;
}

.mb-5px{
    margin-bottom: 5px;
}
.ml-5px{
    margin-left: 5px;
}
.mr-5px {
    margin-right: 5px;
}
.mx-5px {
    margin-left: 5px;
    margin-right: 5px;
}
.pb-5px{
    padding-bottom: 5px;
}
.pt-5px {
    padding-top: 5px;
}
.mh-500 {
    max-height: 500px;
}
.py-05 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.mt-10px {
    margin-top: 10px;
}

.mt-5px {
    margin-top: 5px;
}
.h-30px{
    height: 30px;
}
.mw-400 {
    max-width: 400px;
}

.max-w-250 {
    max-width: 250px;
}
.max-w-300 {
    max-width: 300px;
}
.min-h-30{
    min-height: 30px;
}
.max-vh-40 {
    max-height: 40vh;
}
.font-size-8{
    font-size: 0.8rem !important;
}
.right-top-5{
    right: 5px;
    top: 5px;
}
.right-1-top-05{
    right: 1rem;
    top: 0.5rem;
}
.active-custom {
    z-index: 2;
    color: #fff;
    background-color: #00b5b8 !important;
    border-color: #00b5b8 !important;
}
.text-decoration-line-through {
    text-decoration: line-through;
}
.white-space-break {
    white-space: break-spaces;
}
.white-space-normal {
    white-space: normal !important;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 9px !important;
}

/* Track */
/*::-webkit-scrollbar-track {
    background: #D7D7D7 !important;
}*/

/* Handle */
::-webkit-scrollbar-thumb {
    background: #b9b9b9 !important;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #888 !important;
    }

/* param css */
:root {
    --border-radius-A: 1px;
    --border-radius-B: 2px;
    --border-radius-C: 3px;
    --border-radius-D: 4px;
    --border-radius-E: 6px;
    --border-radius-F: 8px;
    --border-radius-G: 16px;
    --border-radius-X: 100px;

    --primary-color: #0057FC;
    --primary-text: #0E182D;
    --primary-color-10: #0058fc10;
    --primary-color-50: #0058fc50;
    --primary-color-hover: #003fb4;

    --gray: #606781;
    --gray-300: #b4b4b4;
    --gray-200: #d5d5d5;
    --gray-100: #E2E2E2;
    --gray-80: #e7e7e7;
    --gray-50: #f1f1f1;
    --gray-10: #f4f4f4;
    --gray-5: #f8f8f8;

    --white: #fff;
    --white-20: rgba(255, 255, 255, 0.2);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-80: rgba(255, 255, 255, 0.8);

    --margin-E: 12px;
    --margin-F: 15px;
    --margin-G: 18px;
    --margin-H: 21px;
    --margin-K: 24px;

    --padding-A: 2px;
    --padding-B: 4px;
    --padding-C: 8px;
    --padding-D: 10px;
    --padding-E: 12px;
    --padding-F: 16px;
    --padding-G: 18px;
    --padding-H: 20px;
    --padding-K: 32px;

    --bottom-A: 10px;
    --bottom-B: 20px;
    --bottom-C: 30px;
    --bottom-D: 40px;
    --bottom-E: 50px;
    --bottom-F: 60px;
    --bottom-G: 70px;
    --bottom-H: 80px;
    --bottom-K: 90px;

    --transition: all ease-in 0.2s;
    --transition-1: all ease-in 0.1s;
    --box-shadow: 0px 20px 70px rgba(0, 0, 0, 0.2);

    --font-size-input: 12px;
    --font-size-B: 16px;
    --font-size-A: 14px;
    --font-size-10: 10px;

    --left-menu: 390px;
    --legend-info: 150px;
}
/* end param css */
.flatpickr-current-month .flatpickr-monthDropdown-months{
    font-weight:500!important;
}
.flatpickr-current-month input.cur-year {
    font-weight: 500 !important;
}
@media (min-width: 992px) {
    .col-sidebar.col-lg-3 {
        max-width: 20%!important;
    }
    .col-sidebar.col-lg-9 {
        max-width: 80%!important;
    }
}