﻿.showHideColumn {
    cursor: pointer;
    color: blue;
    padding-left: 5px;
}

.btn-primary {
    color: #fff !important;
}

.btn-custom{
    font-size:20px;
    margin:5px;
}

.active.display-flex {
    display: flex !important;
    flex-wrap: wrap;
}

.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.full-width {
    width: 100%;
}

.w-5 {
    width: 5%;
}
.w-10 {
    width: 10%;
}
.w-15 {
    width: 15%;
}
.w-80 {
    width: 80%;
}
.w-73 {
    width: 73%;
}
/*********************form***********************************/
form {
    width:100%;
}

.blink {
    animation: blink 2s steps(5, start) infinite;
    -webkit-animation: blink 1s steps(5, start) infinite;
}
@keyframes blink {
    to {
    visibility: hidden;
    }
}
@-webkit-keyframes blink {
    to {
    visibility: hidden;
    }
}

.text-wrap {
    white-space: initial !important;
}

.text-pre-wrap {
    white-space: pre-wrap !important;
}

.btn-in-panel {
    color: white;
}

.btn-in-panel:hover {
    color: blue;
}


.label-tag {
    font-size:12px;
    font-weight:bold;
}
.p-tag {
    min-height: 24px;
    font-size:15px;
}
.p-tag-white-space {
    white-space: pre-wrap;
}
.p-tag-title {
    font-weight:bold;
    min-height: 24px;
    font-size:15px;
}
.p-tag-content-detail {
    min-height: 24px;
    font-size:14px;
}

.tab-content-margin-top {
    margin-top: 10px;
}

.tab-pane-scroll {
    max-height: calc(100vh - 350px);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-body-scroll {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-xl {
    max-width: 90% !important;
}

.modal-xsm {
    max-width: 500px;
}

/*Scroll bar cusome*/

::-webkit-scrollbar {
    width: 12px;
    height : 12px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}



/******************** Right sidebar***********************/
.fixed .main-sidebar-right {
    position: fixed;
}

.horizontal-fixed .main-sidebar-right {
    -webkit-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.sidebar-right {
    position: fixed;
    /*top: 0;*/
    height: calc(100vh);
}


.main-sidebar-right {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    padding-top: 50px;
    height: calc(100vh);
    width: 600px;
    z-index: 810;
    -webkit-box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.2);
    -webkit-transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}

@media (max-width: 767px) {
    .main-sidebar-right {
        padding-top: 50px;
        -webkit-transform: translate(600px, 0);
        -moz-transform: translate(600px, 0);
        -ms-transform: translate(600px, 0);
        transform: translate(600px, 0);
    }

    .sidebar-open-right .main-sidebar-right {
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@media (min-width: 768px) {
    .sidebar-collapse-right .main-sidebar-right {
        -webkit-transform: translate(600px, 0);
        -moz-transform: translate(600px, 0);
        -ms-transform: translate(600px, 0);
        transform: translate(600px, 0);
    }
}


@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .main-sidebar-right {
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 50px !important;
        z-index: 850;
    }

        .sidebar-mini.sidebar-collapse .main-sidebar-right .user-panel > .info {
            display: none !important;
            -webkit-transform: translateZ(0);
            -moz-transform: translateZ(0);
            -ms-transform: translateZ(0);
            transform: translateZ(0);
        }
}

@media (min-width: 767px) {
    /* Top bar menu */
    .horizontal-fixed .main-sidebar-right {
        width: 100%;
        min-height: auto;
    }

        .horizontal-fixed .main-sidebar-right .sidebar {
            padding-bottom: 0;
        }

        .horizontal-fixed .main-sidebar-right .user-panel, .horizontal-fixed .main-sidebar-right .horizontal-fixed .main-sidebar-right .sidebar-menu li.nav-level {
            display: none;
        }

        .horizontal-fixed .main-sidebar-right .sidebar-menu .treeview-menu {
            padding-top: 0;
        }

            .horizontal-fixed .main-sidebar-right .sidebar-menu .treeview-menu > li {
                position: relative;
            }

        .horizontal-fixed .main-sidebar-right .sidebar-menu li {
            display: inline-block;
        }

            .horizontal-fixed .main-sidebar-right .sidebar-menu li .treeview-menu {
                position: absolute;
            }

                .horizontal-fixed .main-sidebar-right .sidebar-menu li .treeview-menu li {
                    display: list-item;
                }

            .horizontal-fixed .main-sidebar-right .sidebar-menu li.active > .treeview-menu {
                display: none;
            }

            .horizontal-fixed .main-sidebar-right .sidebar-menu li:hover .treeview-menu {
                display: block;
                -webkit-box-shadow: 0px 1px 2px 2px rgba(128, 128, 128, 0.19);
                box-shadow: 0px 1px 2px 2px rgba(128, 128, 128, 0.19);
            }

            .horizontal-fixed .main-sidebar-right .sidebar-menu li:hover ul.mega-menu {
                display: block;
                position: fixed;
                background: #fff;
                padding: 10px;
                left: 10px;
                right: 10px;
                -webkit-box-shadow: 0px 2px 4px 3px rgba(128, 128, 128, 0.24);
                box-shadow: 0px 2px 4px 3px rgba(128, 128, 128, 0.24);
                border-top: 3px solid #1b8bf9;
            }

            .horizontal-fixed .main-sidebar-right .sidebar-menu li > a > .icon-arrow-down {
                position: relative;
            }

        .horizontal-fixed .main-sidebar-right .sidebar-menu ul.treeview-menu ul.treeview-menu {
            left: 100%;
            top: 0;
            display: none;
        }

            .horizontal-fixed .main-sidebar-right .sidebar-menu ul.treeview-menu ul.treeview-menu ul.treeview-menu {
                display: none;
            }

        .horizontal-fixed .main-sidebar-right .sidebar-menu ul.treeview-menu li:hover ul.treeview-menu {
            display: block;
        }

            .horizontal-fixed .main-sidebar-right .sidebar-menu ul.treeview-menu li:hover ul.treeview-menu li:hover ul.treeview-menu {
                display: block;
            }

        .horizontal-fixed .main-sidebar-right .sidebar-menu .mega-menu .mega-list li {
            display: list-item;
            text-align: left;
            line-height: 1;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .horizontal-fixed .main-sidebar-right .sidebar-menu .mega-menu .mega-card {
            text-align: left;
        }

    .horizontal-fixed.top-fixed .main-sidebar-right {
        position: absolute;
    }

    .icon-fixed .main-sidebar-right .sidebar-menu li {
        text-align: center;
    }

        .icon-fixed .main-sidebar-right .sidebar-menu li a i:first-child {
            display: block;
        }

        .icon-fixed .main-sidebar-right .sidebar-menu li .treeview-menu li a i:first-child, .icon-fixed .main-sidebar-right .sidebar-menu li .icon-fixed .main-sidebar-right .sidebar-menu .mega-menu .mega-list li a i:first-child {
            display: inline-block;
        }

    .icon-fixed .main-sidebar-right .sidebar-menu .treeview-menu li {
        text-align: left;
    }

    .icon-fixed .main-sidebar-right .sidebar-menu .icon-arrow-down {
        margin-right: 0;
        margin-left: 5px;
    }
}

@media (max-width: 991px) and (min-width: 767px) {
    .horizontal-fixed .main-sidebar-right .sidebar-menu li span {
        display: none;
    }
}

/*
 * Component: Box
 * --------------
 */
.box {
  position: relative;
  border-radius: 3px;
  background: #ffffff;
  border-top: 3px solid #d2d6de;
  /*margin-bottom: 20px;*/
  width: 100%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.box.box-primary {
  border-top-color: #3c8dbc;
}
.box.box-info {
  border-top-color: #00c0ef;
}
.box.box-danger {
  border-top-color: #dd4b39;
}
.box.box-warning {
  border-top-color: #f39c12;
}
.box.box-success {
  border-top-color: #00a65a;
}
.box.box-default {
  border-top-color: #d2d6de;
}
.box.collapsed-box .box-body,
.box.collapsed-box .box-footer {
  display: none;
}
.box .nav-stacked > li {
  border-bottom: 1px solid #f4f4f4;
  margin: 0;
}
.box .nav-stacked > li:last-of-type {
  border-bottom: none;
}
.box.height-control .box-body {
  max-height: 300px;
  overflow: auto;
}
.box .border-right {
  border-right: 1px solid #f4f4f4;
}
.box .border-left {
  border-left: 1px solid #f4f4f4;
}
.box.box-solid {
  border-top: 0;
}
.box.box-solid > .box-header .btn.btn-default {
  background: transparent;
}
.box.box-solid > .box-header .btn:hover,
.box.box-solid > .box-header a:hover {
  background: rgba(0, 0, 0, 0.1);
}
.box.box-solid.box-default {
  border: 1px solid #d2d6de;
}
.box.box-solid.box-default > .box-header {
  color: #444444;
  background: #d2d6de;
  background-color: #d2d6de;
}
.box.box-solid.box-default > .box-header a,
.box.box-solid.box-default > .box-header .btn {
  color: #444444;
}
.box.box-solid.box-primary {
  border: 1px solid #3c8dbc;
}
.box.box-solid.box-primary > .box-header {
  color: #ffffff;
  background: #3c8dbc;
  background-color: #3c8dbc;
}
.box.box-solid.box-primary > .box-header a,
.box.box-solid.box-primary > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-info {
  border: 1px solid #00c0ef;
}
.box.box-solid.box-info > .box-header {
  color: #ffffff;
  background: #00c0ef;
  background-color: #00c0ef;
}
.box.box-solid.box-info > .box-header a,
.box.box-solid.box-info > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-danger {
  border: 1px solid #dd4b39;
}
.box.box-solid.box-danger > .box-header {
  color: #ffffff;
  background: #dd4b39;
  background-color: #dd4b39;
}
.box.box-solid.box-danger > .box-header a,
.box.box-solid.box-danger > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-warning {
  border: 1px solid #f39c12;
}
.box.box-solid.box-warning > .box-header {
  color: #ffffff;
  background: #f39c12;
  background-color: #f39c12;
}
.box.box-solid.box-warning > .box-header a,
.box.box-solid.box-warning > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-success {
  border: 1px solid #00a65a;
}
.box.box-solid.box-success > .box-header {
  color: #ffffff;
  background: #00a65a;
  background-color: #00a65a;
}
.box.box-solid.box-success > .box-header a,
.box.box-solid.box-success > .box-header .btn {
  color: #ffffff;
}
.box.box-solid > .box-header > .box-tools .btn {
  border: 0;
  box-shadow: none;
}
.box.box-solid[class*='bg'] > .box-header {
  color: #fff;
}
.box .box-group > .box {
  margin-bottom: 5px;
}
.box .knob-label {
  text-align: center;
  color: #333;
  font-weight: 100;
  font-size: 12px;
  margin-bottom: 0.3em;
}
.box > .overlay,
.overlay-wrapper > .overlay,
.box > .loading-img,
.overlay-wrapper > .loading-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.box .overlay,
.overlay-wrapper .overlay {
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}
.box .overlay > .fa,
.overlay-wrapper .overlay > .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  color: #000;
  font-size: 30px;
}
.box .overlay.dark,
.overlay-wrapper .overlay.dark {
  background: rgba(0, 0, 0, 0.5);
}
.box-header:before,
.box-body:before,
.box-footer:before,
.box-header:after,
.box-body:after,
.box-footer:after {
  content: " ";
  display: table;
}
.box-header:after,
.box-body:after,
.box-footer:after {
  clear: both;
}
.box-header {
  color: #444;
  display: block;
  padding: 10px;
  position: relative;
}
.box-header.with-border {
  border-bottom: 1px solid #f4f4f4;
}
.collapsed-box .box-header.with-border {
  border-bottom: none;
}
.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion,
.box-header .box-title {
  display: inline-block;
  font-size: 18px;
  margin: 0;
  line-height: 1;
}
.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion {
  margin-right: 5px;
}
.box-header > .box-tools {
  position: absolute;
  right: 10px;
  top: 5px;
}
.box-header > .box-tools [data-toggle="tooltip"] {
  position: relative;
}
.box-header > .box-tools.pull-right .dropdown-menu {
  right: 0;
  left: auto;
}
.btn-box-tool {
  padding: 5px;
  font-size: 12px;
  background: transparent;
  color: #97a0b3;
}
.open .btn-box-tool,
.btn-box-tool:hover {
  color: #606c84;
}
.btn-box-tool.btn:active {
  box-shadow: none;
}
.box-body {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: 10px;
}
.no-header .box-body {
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}
.box-body > .table {
  margin-bottom: 0;
}
.box-body .fc {
  margin-top: 5px;
}
.box-body .full-width-chart {
  margin: -19px;
}
.box-body.no-padding .full-width-chart {
  margin: -9px;
}
.box-body .box-pane {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 3px;
}
.box-body .box-pane-right {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 0;
}
.box-footer {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid #f4f4f4;
  padding: 10px;
  background-color: #ffffff;
}
.chart-legend {
  margin: 10px 0;
}
@media (max-width: 991px) {
  .chart-legend > li {
    float: left;
    margin-right: 10px;
  }
}
.box-comments {
  background: #f7f7f7;
}
.box-comments .box-comment {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.box-comments .box-comment:before,
.box-comments .box-comment:after {
  content: " ";
  display: table;
}
.box-comments .box-comment:after {
  clear: both;
}
.box-comments .box-comment:last-of-type {
  border-bottom: 0;
}
.box-comments .box-comment:first-of-type {
  padding-top: 0;
}
.box-comments .box-comment img {
  float: left;
}
.box-comments .comment-text {
  margin-left: 40px;
  color: #555;
}
.box-comments .username {
  color: #444;
  display: block;
  font-weight: 600;
}
.box-comments .text-muted {
  font-weight: 400;
  font-size: 12px;
}

.bg-blue-gradient {
  background: #0073b7 !important;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0073b7), color-stop(1, #0089db)) !important;
  background: -ms-linear-gradient(bottom, #0073b7, #0089db) !important;
  background: -moz-linear-gradient(center bottom, #0073b7 0%, #0089db 100%) !important;
  background: -o-linear-gradient(#0089db, #0073b7) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0089db', endColorstr='#0073b7', GradientType=0) !important;
  color: #fff;
}

/********************* Table *****************************/
.align-right{
    text-align: right !important;
}


/********************* Timeline ***************************/
#timelineUl ul{
    list-style: none;
    padding: 30px;
}
#timelineUl ul.timeline {
    list-style-type: none;
    position: relative;
}
#timelineUl ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
#timelineUl ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}
#timelineUl ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #22c0e8;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

/************************** Task and Event ************************/
.label-task-event {
    color: #7d7d84;
    padding-right: 4px;
}

.comment-margin-bottom {
    margin-bottom: 0.2rem;
}


/***************************** Label date time Approve/Submitted **********************/
.label-date-time {
    color: gray;
    font-size: 65%;
    font-style: italic;
}
/************************* Comment box *********************/

.comment-box {
    margin-bottom: 5px;
    font-size: 12px;
    font-family: Roboto, tahoma;
    height: 70px;
    border: 1px solid #ccc;
    color: #555;
    background-color: #eee;
    display: block;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
    text-decoration: none;
}

.comment-box:hover {
    box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}

.comment-box-image {
    margin-bottom: 5px;
    font-size: 12px;
    font-family: Roboto, tahoma;
    min-height: 50px;
    border: 1px solid #ccc;
    color: #555;
    background-color: #eee;
    display: block;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
    text-decoration: none;
}

.comment-box-image:hover {
    box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}


/************************ Switch button *************************/
.switch-button {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
    margin-top: .25rem;
    margin-bottom: .25rem;
}

.switch-button input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-button {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider-button:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider-button {
  background-color: #2196F3;
}

input:focus + .slider-button {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider-button:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider-button.round {
  border-radius: 34px;
}

.slider-button.round:before {
  border-radius: 50%;
}


/******************* Text color **********************/
.text-color-black {
    color: black !important;
}

.text-color-yellow {
    color: yellow !important;
}

.text-color-blue {
    color: blue !important;
}

.text-color-green {
    color: green !important;
}

.text-color-red {
    color: red !important;
}

.text-color-purple {
    color: purple !important;
}

.text-color-highlight {
    color: Highlight !important;
}


/***************** text wrap ****************/

.text-wrap-pre{
    white-space: pre !important;
}

.text-wrap-pre-line{
    white-space: pre-line !important;
}


/**************** field set *****************/
legend {
    font-size: 1.2rem;
}

/* align flex end**/


.flex-end{
    align-self:flex-end;
}

.flex-start {
    align-self: flex-start;
    align-items: flex-start;
}


/**************** Custom Card *******************/
.no-border {
    border: unset;
}


/************ button show hide column table *************/
.dropdown-show-hide-column-table {
    top: unset;
    left: unset;
    right: 0;
}

/******************** button *******************/

.btn-grey {
    color: #fff;
    background-color: #919191;
    border-color: #919191;
}

.btn-grey:hover {
  color: #feca30;
  background-color: #999999;
  border-color: #999999;
}

.btn-grey:focus, .btn-grey.focus {
  -webkit-box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.5);
          box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.5);
}

.btn-grey.disabled, .btn-grey:disabled {
  background-color: #afafaf;
  border-color: #afafaf;
}

.btn-grey:active, .btn-grey.active,
.show > .btn-grey.dropdown-toggle {
  color: #000;
  background-color: #999999;
  background-image: none;
  border-color: #999999;
}


.btn-primary:hover, .btn-info:hover, .btn-danger:hover, .btn-warning:hover, .btn-success:hover, .dropdown-toggle:hover {
  color: #feca30 !important;
}


/******************** Input mutiple email **********************/

span.email-ids {
    float: left;
    /* padding: 4px; */
    border: 1px solid #ccc;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 5px;
    background: #f5f5f5;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 5px;
}
span.cancel-email {
    border: 1px solid #ccc;
    width: 18px;
    display: block;
    float: right;
    text-align: center;
    margin-left: 20px;
    border-radius: 49%;
    height: 18px;
    line-height: 15px;
    margin-top: 1px;    cursor: pointer;
}
.email-id-row {
    border: 1px solid #ccc;
}
.email-id-row input {
    border: 0px; outline:0px;
}


/************* Align *************/
.vertical-align-middle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-align-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.vertical-align-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/*align text currency*/
.tien-VND, .tien-ngoai-te {
    text-align: right;

}


/*.dropdown-menu {
    z-index: 1000 !important;
}*/


.mt-35{
    margin-top: 35px;
}



/****************bottom-section********************************************/
.bottom-section {
    height:70px;
    -webkit-transition:height  1s; /* Safari */
    transition: height 1s;
    position: fixed;
    bottom: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index:1;
    -webkit-transition: 0.5s !important; /* Safari */
    transition: 0.5s !important;
    z-index:4;
    overflow : hidden;
    width:99.5%;
}

.bottom-section-close{
    overflow : hidden;
}

.hidden-overflow-x {
    overflow-x: hidden;
}

.rotate118deg{
    transform: rotate(118deg) !important;
}

.previewImage {
    max-height: 200px;
    max-width: 100%;
}
