﻿.categoryButton > a {
    padding: 5px 20px;
}

html, body {
    height: 100%;
    font-family: 'Roboto';
}


hr {
    padding: 0px !important;
}

a.dropdown-item.notifi {
    padding: 10px;
}

    a.dropdown-item.notifi:hover {
        background-color: honeydew !important;
        cursor: pointer;
    }

.container-fluid {
    height: 90%;
}


.container-fluid {
    height: 90%;
}

a {
    text-decoration: none;
}

thead > tr, table > th {
    text-align: center;
}

i.status:hover {
    cursor: pointer;
}

.noDrag {
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

/*table */
/*.tableScroll {
	overflow-x: auto;
	margin-bottom: 10px;
}

.tableScroll .table{
	border-right:0px;
	border-left:0px;
	margin-left:0px;
	margin-right:0px;
	max-width:1550px;
}*/


/*Datatables button*/
.dt-button {
    background-color: #FFFFFF !important;
    border-radius: 5px !important;
    border: 1px solid #007bff !important;
    color: #007bff !important;
    background-image: none !important;
}

/*start search input*/
.datepicker {
    z-index: 1151 !important;
}

input[type=text].searchDate {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit].searchSubmit {
    width: 20%;
    padding: 3px 5px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    input[type=submit].searchSubmit:hover {
        background-color: #45a049;
    }

/*end search input*/


/*Start Pagenation*/
.pagination-container {
    text-align: center;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 9px 15px;
            margin-left: -1px;
            line-height: 1.428571429;
            text-decoration: none;
            background-color: #ffffff;
            border: 1px solid #dddddd;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            background-color: #eeeeee;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #ffffff;
        cursor: default;
        background-color: #428bca;
        border-color: #428bca;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #999999;
        cursor: not-allowed;
        background-color: #ffffff;
        border-color: #dddddd;
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

    .pager:before,
    .pager:after {
        display: table;
        content: " ";
    }

    .pager:after {
        clear: both;
    }

    .pager:before,
    .pager:after {
        display: table;
        content: " ";
    }

    .pager:after {
        clear: both;
    }

    .pager li {
        display: inline;
    }

        .pager li > a,
        .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            border-radius: 15px;
        }

            .pager li > a:hover,
            .pager li > a:focus {
                text-decoration: none;
                background-color: #eeeeee;
            }

    .pager .next > a,
    .pager .next > span {
        float: right;
    }

    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }

    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #999999;
        cursor: not-allowed;
        background-color: #ffffff;
    }

.tdCenter {
    text-align: center;
}

.weekSum,
.t_qty,
.qty {
    text-align: right;
}

td {
    font-size: small;
}
/*end Pagenation*/

.SideBar-Font {
    font-size: small;
    background-color:#f9f9f9;
}

.Text-Red {
    color: darkred;
}

.dot {
    height: 10px;
    width: 10px;
    display: inline-block;

}

.dothide {
    height: 10px;
    width: 10px;
    display: inline-block;
    visibility: hidden;
    border-left: 7px solid #26970073 !important;
}
.notificationsActive{
    border-left: 7px solid #26970073 !important;
}

.message-row {
    text-align: left;
    padding-top: 5px;
}

.countofnotification {
    display: none;
}

button.btn.dropdown-toggle.btn-light.bs-placeholder {
    outline: 1px solid !important;
}

.dropdown.bootstrap-select.show-tick.text-secondary {
    width: 100%;
    outline: 1px solid;
    border-radius: 2px;
    outline-color: #c1cdcd;
}

a {
    border: none;
}

.top-content {
    display: none !important;
}

.top-content-desktop {
    display: flex !important;
}

.logo {
    margin: 15px;
}

    .logo a {
        color: white !important;
        font-weight: bold
    }

.custom-select {
    width: 65%;
}

button#createNotifications {
    width: 50%;
}


.form-login {
    width: 30%;
    margin: 0 auto;
    font-size: 1.2rem;
    height: 3rem;
}

#RememberMe {
    font-size: 2rem;
}

.logo {
    display: block;
    margin: 0px auto;
    margin-top: 100px;
    margin-bottom: 30px;
    width: 30%;
}
.otherCategory {
    margin-left: 25%;
}
.emailDepartment{
    margin-left:0%;
}

.btn.btn-primary.d-block {
    margin-left: 50%;
}
.emailDepartments{
    margin-left:115%
}
.freshdesk_quote {
    display: none;
}
/* .accordion-branch{
    margin-left:7px;
} */

input#searchSubmit {
    height: 38px;
}
.button-addnew > a.btn.btn-primary {
    width: 140px;
}
@media screen and (max-width: 576px) {
    /* .row.respon {
        display: block;
    } */

    

    .otherCategory{
        margin-left:5%;
    }
    .emailDepartment{
        margin-left:0%;
    }
    input#specifyCategory::placeholder{
        font-size:15px;
        
    }
    input#category::placeholder {
        font-size: 15px;
    }
    input#category {
        margin-left: -80px;
    }
    input.subcategory::placeholder {
        font-size: 15px;
    }
    input.branchName::placeholder {
        font-size: 15px;
    }
    .btn.btn-primary.d-block {
        margin-left:25%;
    }
    .emailDepartments {
        margin-left: 16%
    }
  
}

@media screen and (min-width: 576px) {
    .offset-sm-2 {
        margin-left: 0px;
    }
}

@media screen and (max-width: 1000px) {
    h5.font-weight-bolder.m-0{
         font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    #btnCreateNoti{
        width: 100%;
    }
    button#createNotifications {
        width: 100%;
    }
    .button-addnew > a.btn.btn-primary {
        width: 100%;
    }
    .button-addnew{
        padding: 0px 15px;
    }

    input#searchSubmit {
        height: 35px;
    }

    .form-login, .logo {
        width: 65%;
        font-size: 1.3rem;
    }

    .form-control, input.btn.btn-dark.w-100 {
        font-size: 14px;
    }

    div#disableBtn {
        display: block;
        align-self: center;

    }

    h2 {
        margin: 0px;
    }
    h4 {
        padding-top: 6px;
        margin: 0px;
    }

    h5.col.p-0.mt-4 {
        margin-top: 6px !important;
    }

    

    .navbar-brand {
        width: 200px;
        height: 70px;
    }

    .top-content {
        display: flex !important;
    }

    .top-content-desktop {
        display: none !important;
    }

    .sidebar-custom{
        display:none !important;
    }

    /* .upload-file {
        display: none;
    } */

    .accordion {
        display: none;
    }

    #canvas {
        width: 290px;
        height: 290px;
    }

    #video {
        width: 300px;
        height: 300px;
    }

    button.accordion.sub-accordion {
        display: block;
    }

    

    button.accordion.sub-accordion.row {
        display: block;
    }

    h5.col.p-0 {
        font-size: 1rem !important;
        margin: 5px;
    }

    p.pt-3 {
        font-size: 0.9rem !important;
        padding: 0px !important;
    }

    span.badge.badge-light {
        font-size: 0.6rem;
    }
}

.check-flag::before {
    content: "•";
    color: red;
    font-size: 24px;
    margin-top: -10px;
    margin-right: -25px
}
@media screen and (min-width: 768px) {
    div #disableBtn {
        display: none !important;
    }
    div#disableBtn-branch {
        display: none !important;
        align-self: center;
    }
    .notificationContenBotUser >
    .sub-accordion{
        padding: 18px 18px 18px 18px !important;
    }
    .sub-accordion {
        padding: 18px 18px 0px 18px !important;
    }

    .form-login, .logo {
        width: 30%;
    }
}


#formSearch {
    margin-left: 5%;
}

#formSearch {
    display: flex !important;
    margin-left: 0%;
}
.custom-select {
    width: 100%;
}


.sub-accordion:after {
    display: none;
}

.sub-accordion {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 8px 14px 8px 14px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    border-top: 1px solid #F0F0F0;
    border-left: 1px solid #F0F0F0;
    border-right: 1px solid #F0F0F0;
}

.notificationContenBotUser .panel ,
.notificationContenBot .panel{
    border-bottom: 1px solid #F0F0F0;
    border-left: 1px solid #F0F0F0;
    border-right: 1px solid #F0F0F0;
}
.item-tab {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.sub-accordion:hover {
    background-color: rgb(233, 227, 227);
}

.sub-accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}


.panel {
    padding: 0 18px;
    max-height: 0;
    transition: max-height 0.2s ease-out;
    overflow: hidden;
    text-align: start;
}

.inActive {
    display: none;
}

.active {
    display: block;
}

/* .panel > p{
    background-color: #ececec;
    padding: 10px;
    margin-top: 10px;
} */

.navbar-toggler {
    padding: .2rem .5rem !important;
    margin-right: 3px;
}

button:focus {
    outline: none;
}

 .dotdot{
    display: inline-block;
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nowrap {
    white-space: nowrap;
}

.normal {
    white-space: normal;
} 


/*.parent {
    display: flex;
    flex-wrap: wrap;
}

.child {
    flex: 1 0 50%;*/ /* explanation below */
    /*margin: 5px;
}*/


.fileName {
    width:200px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    color:blue;
}

.fileColl {
    width: 220px;
    margin-right: 12px;
    margin-left: 12px;
    margin-top: 8px;
}

/* width */

  

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #a4a4a4; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #7b7a7a; 
  }


input[type="file"]::-webkit-file-upload-button {
    display: block !important;
}

#noti-number {
    background-color: #fa3e3e;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    left: 10px;
    padding: 1px 7px 1px;
    border-radius: 99px;
    position: absolute;
    top: -11px;
    z-index: 1;
    line-height: 1.5;
}

#noti-icon:hover,
#noti-number:hover{
    cursor: pointer;
}


.sub1{
    text-align:start;
    display:flex;
    align-items:center;
}
.sub2 {
    text-align: start;
    padding-left: 2.5rem
}
.sub3 {
    text-align: start;
    padding-left: 4rem !important;
}

.btn-custom {
    color:white;
    padding-inline:30px;
    border-radius:10px
}

.btn-blue {
    background-color: #0627EE;
}
.btn-blue:hover{
    color:white;
}

.thead-custom {
    background-color: #D6EF31;
    color: #666666;
    /*font-size:18px;
    font-weight:bold;*/
}

.thead-custom tr th{
    text-align:center;
}
.btn-blue-outline {
    color: #0627EE;
    background-color: white;
    border-radius: 10px;
    padding-inline: 16px;
    font-weight: 500;
    border: 1px solid #0627EE;
}

.btn-secondary-outline {
    color: #666666;
    background-color: white;
    border-radius: 10px;
    padding-inline: 16px;
    font-weight: 500;
}

.btn-danger-outline {
    color: #D23B41;
    background-color: white;
    border-radius: 10px;
    padding-inline: 16px;
    font-weight: 500;
    border: 1px solid #D23B41;
}
.btn-success-outline {
    color: #28a745;
    background-color: white;
    border-radius: 10px;
    padding-inline: 16px;
    font-weight: 500;
    border: 1px solid #28a745;
}

.Left-SideBar {
    background-color: #121212;
    min-height:100vh;
    height:100%;
    border-radius:0 16px 0 0;
}
    
    .Left-SideBar .card{
        background-color:unset;
    }
    .Left-SideBar .card-header {
        background-color: #121212;
        border-radius: 12px;
        padding:5px 10px;
    }

        .Left-SideBar .card-header.active {
            color: black !important;
            background-color: #D6EF31;
        }

        .Left-SideBar .card-header.active h2 a {
            color: black !important;
            background-color: #D6EF31;
        }


        .Left-SideBar .card .card-header {
            border-bottom: unset;
        }

        .Left-SideBar .card .card-body a {
            background-color: #121212;
            color: #AAAAAA;
        }
.title-branch-name {
    color: #FFFFFF;
    font-weight:500;
    font-size:2em;
}
.card-header h2{
    margin:0;
}
.text-align-start{
    text-align:start;
}
#myTable_wrapper .dt-buttons{
    position:absolute;
    bottom:0;
    right:0;
}
#myTable_wrapper .dt-buttons .dt-button {
    color: #0627EE !important;
    background-color: #EBF5FF !important;
    border: none !important;
}
#myTable_paginate {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

    #myTable_paginate span .paginate_button:hover {
        border-radius: 50%;
        height: 50px;
        width: 50px;
    }

    #myTable_paginate span .paginate_button.current {
        background-color: blue !important;
        color: blue !important;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        text-decoration: none;
        border-color:blue;
    }

#myTable_previous, #myTable_next {
    display: none;
}
#myTable thead tr th{
    border:none;
    align-content:center;
    text-align:center;
}
#myTable .thead-custom tr th:first-child {
    border-radius: 16px 0 0 0 !important;
}
#myTable thead tr th:last-child {
    border-radius: 0 16px 0 0 !important;
}
#myTable tbody tr td{
    align-content:center;
    text-align:center
}


.btn-light-blue {
    background-color: #EBF5FF;
    color: #0627EE;
    border: none;
    font-weight: 500;
}

.btn-light-warning {
    background-color: #ffc107;
    color: #121212;
    border: none;
    font-weight: 500;
}

.btn-light-success {
    background-color: #28a745;
    color: white;
    border: none;
    font-weight: 500;
}

#myTable_filter input, #tableTerm_filter input, #table-weekly_filter  input{
    padding-inline: 12px;
    border-radius: 12px;
}

.classify{
    position:relative;
    top:8px;
}
.classify  th{
    border:none;
}

table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before {
    position: absolute;
    display: block;
    bottom: 50%;
    content: "▲";
    content: "▲"/"";
    color:black;
    margin-bottom:2px;
}

table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
    position: absolute;
    display: block;
    top: 50%;
    content: "▼";
    content: "▼"/"";
    color:black
}



.table thead tr th {
    font-weight: 400;
    font-style: normal;
}

.dt-search{
    text-align:end;
}

.dt-info{
    text-align:start;
}