img {
    max-width: 100%;
}

#Search_root {
    width: 100%;
    flex: 1;
    padding-bottom: 0;
}

#Search_root input[type='text'] {
    /*min-width: 230px;*/
    /*max-width: 100%;*/
}

#LogoSetting_root {
    padding: 1em 0.9em 0.5em 1em;
}

.SliderMenu_root {
    position: relative;
    /*width: 200px;*/
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding-bottom: 1em;
    display: block;
    background: #1b1c1d;
    overflow-y: auto;
    background-image: linear-gradient(to right, #141E30 0%, #1a2b3f 100%);
    font-size: 1.05rem;
}

.SliderMenu_root::-webkit-scrollbar {
    /* 1 */
}

.SliderMenu_root::-webkit-scrollbar-button {
    /* 2 */
}

.SliderMenu_root::-webkit-scrollbar-track {
    /* 3 */
}

.SliderMenu_root::-webkit-scrollbar-track-piece {
    /* 4 */
}

.SliderMenu_root::-webkit-scrollbar-thumb {
    background: #6e7171;
}

.SliderMenu_root::-webkit-scrollbar-corner {
    /* 6 */
}

.SliderMenu_root::-webkit-resizer {
    /* 7 */
}

.SliderMenu_root img {
    width: 35px;
    margin-right: 0.7em;
    /*-webkit-filter: grayscale(100%);*/
    /*filter: grayscale(100%);*/
}

.SliderMenu_root > .item {
    position: relative;
    line-height: 1;
    text-decoration: none;
    padding: .92857143em 1rem .92857143em 1.14285714em;
    text-transform: none;
    background: 0 0;
    font-weight: 400;
    -webkit-transition: background .1s ease, box-shadow .1s ease, color .1s ease;
    transition: background .1s ease, box-shadow .1s ease, color .1s ease;
    cursor: pointer;
}

.SliderMenu_root > .item.active-hover-style .menu {
    display: none;
}

.SliderMenu_root > .item.active-hover-style.active .menu,
.SliderMenu_root > .item.active-hover-style:hover .menu {
    display: block;
}

.SliderMenu_root > .item.active-hover-style.active .chevron.circle.down,
.SliderMenu_root > .item.active-hover-style:hover .chevron.circle.down {
    transform: rotate(180deg);
}

.SliderMenu_root > .item,
.SliderMenu_root a {
    color: #bdbdbd;
}

.SliderMenu_root > .item > a {
    color: inherit;
}

.SliderMenu_root a.item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.SliderMenu_root span.menu-mini.active {
    /*background: linear-gradient(135deg, #36befd 1%, #6461f6 750px);*/
}

.SliderMenu_root > .item:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.SliderMenu_root > a.item.active:hover {
    /*background: #f6f6f7;*/
    color: #000 !important;
    opacity: 0.9;
}

.SliderMenu_root a.item.active {
    background: #ededef;
    color: #010129 !important;
    border-right: 1px solid #00000014;

    background: #36befd;
    background: -moz-linear-gradient(-45deg, #36befd 1%, #6461f6 750px);
    background: -webkit-linear-gradient(-45deg, #36befd 1%, #6461f6 750px);
    background: linear-gradient(135deg, #36befd 1%, #6461f6 750px);
    box-shadow: 0 15px 20px -15px rgba(0, 0, 255, 0.3), 0 55px 50px -35px rgba(0, 0, 255, 0.3);
    text-shadow: 0px 1px 3px rgba(0, 0, 255, 0.15);
}

.SliderMenu_root .menu a.item.active {
    color: #FFF !important;
}

.SliderMenu_root > .item:before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.SliderMenu_root .item > i.icon {
    width: 1.18em;
    float: none;
    margin: 0 .6em 0 0;
}

.SliderMenu_root .item > .menu {
    margin: 0;
    padding: 0.8rem 0 0 0;
}

.SliderMenu_root .item > .menu .item {
    display: block;
    background: 0 0;
    padding: 0 0 .4em 2em;
    font-size: 0.95em;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
}

.SliderMenu_root .item > .menu .item:last-child {
    padding-bottom: 0;
}

.SliderMenu_root .item > .menu .item.flex {
    display: flex;
}

.SliderMenu_root .item > .menu .item.menu-notification {
    padding-left: 0;
}

.SliderMenu_root .item > .menu .item.menu-notification .count {
    min-width: 2rem;
    line-height: 1;
}

.SliderMenu_root .item > .menu .item.menu-notification .item {
    font-size: 1em;
    padding-left: 0;
}

.SliderMenu_root .item > .menu .item:hover {
    color: #fff;
}

.os-host-overflow-y {
    min-width: 210px;
}

.Wrapper_root {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 100%;
    flex-shrink: 1 !important;
    overflow: auto;
    /*padding: 2em 2em 7em 2em;*/
    padding: 1em 1em 1em 1.5em;
    background: #f4f4f5;
    z-index: 1;
    /*background-image: linear-gradient(180deg, #f4f4f5 0%, #f1f1f2 100%);*/
}

.ui.container {
    width: 100%;
}

.ui.huge.breadcrumb .section {
    font-size: 1.71428571rem;
}

/*Filter*/
.Filter_root {
    padding: 0 0 1em 1em;
    width: 30%;
}

.full.width.shrink {
    width: 100%;
    flex-shrink: 1;
}

.FilterSection_root {
    background: #FFF;
    margin: 1em 0 0 0;
    padding: 1em;
}

.Filter_root.ui.form input[type=text] {
    width: 100%;
    background: #f4f8f9 !important;
    border-radius: 0.2em;
    border: none;
    padding: 0.8em 1em;
}

.Filter_root .field,
.Filter_root .fields {
    margin-top: 0.9em;
}

.Filter_root .two > div {
    width: 100%;
    flex-shrink: 1;
}

.Filter_root input:focus {
    outline: none;
}

/* Running number all page */
.RunningNumber_root {
    position: relative;
    margin-left: auto;
}

.RunningNumber_input,
.RunningNumber_span {
    font-size: 1.28rem !important;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-weight: 700;
}

.RunningNumber_span {
    position: absolute;
    top: 0;
    left: -500px;
    opacity: 0;
}

.RunningNumber_signCode {
    margin-bottom: 0 !important;
    line-height: 1.4;
}

.color-dark-green {
    color: darkgreen;
}

.color-money-red {
    color: #db2828;
}

.ui.positive.button, .ui.positive.buttons .button {
    background-color: #21ba45;
    color: #fff;
    text-shadow: none;
    background-image: none;
    background: #36befd;
    background: -moz-linear-gradient(-45deg, #36befd 1%, #6461f6 750px);
    background: -webkit-linear-gradient(-45deg, #36befd 1%, #6461f6 750px);
    background: linear-gradient(135deg, #36befd 1%, #6461f6 750px);
    box-shadow: 0 15px 20px -15px rgba(0, 0, 255, 0.3), 0 55px 50px -35px rgba(0, 0, 255, 0.3);
    text-shadow: 0px 1px 3px rgba(0, 0, 255, 0.15);
}

/* Running number all page */

body {
    font-family: 'Kanit', sans-serif;
}

.SliderMenu_root .mobile-menu {
    display: none;
}

.slide-menu-root {
    flex-shrink: 0 !important;
    width: 220px;
    overflow: auto;
    background: #223b55;
}

.modal-create-excel-report .ui.checkbox label {
    font-size: 1.07142857rem;
}

.ui.menu .item {
    border-bottom: 1px solid #e8e9e9;
}

.withholding-tax {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-top: 1rem;
}

.withholding-tax .delete-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.3em;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    transition: 0.4s all;
    margin-right: -0.3rem;
}

.withholding-tax:hover .delete-button {
    opacity: 1;
}

.divider.big-margin {
    margin: 0 0.7rem !important;
}

.ui.dimmer .modal .ui.loader:before {
    border-color: rgba(0, 0, 0, .1);
}

.ui.dimmer .modal .Explorer .ui.loader.dimmer:before,
.ui.dimmer .modal .Explorer .ui.loader.dimmer:after {
    display: none;
}

.ui.dimmer .modal .ui.loader:after {
    border-color: #767676 transparent transparent;
}

.menu-style-1 {

}

.menu-style-1 > .item {
    border-radius: 1rem;
    color: #9c9c9c;
    padding: 0.5rem 0.7rem;
    margin-right: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.menu-style-1 > .item.active,
.menu-style-1 > .item:hover {
    color: #15a45e;
    background: #f7f7f7;
}

.ui.table .tr.hasPaymentOrShipment .td {
    padding-bottom: 8px;
}

.grey-500 {
    font-size: 0.75rem;
    color: #818181 !important;
}

#remainPriceToPay {
    white-space: pre-line;
    text-align: right;
}

.outline.icon{
    outline-style: none;
}

.salary-card.selected{
	border-color: #86efac;
	border-style: solid;
	border-width: 2px;
	background: #f0fdf4 !important;
}

.preview-image .image {
    width: 80px;
    height: 80px;
    border: 2px solid #8a8a8a;
    border-radius: 5px;
    margin: 0.4rem 0.4rem 0.4rem 0;
    overflow: hidden;
    display: block;
}

@media (max-width: 767px) {
    /*Mobile*/
}

@media (max-width: 991px) {
    /*Mobile & Tablet*/
    #Search_root {
        width: 100%;
        max-width: 100%;
    }

    .SliderMenu_root {
        position: absolute;
        width: 100%;
        z-index: 100;
        padding-bottom: 0;
    }

    .SliderMenu_root.active {
        overflow-y: auto;
        height: 100%;
    }

    .slide-menu-root {
        width: 0;
    }

    .SliderMenu_root .item,
    .SliderMenu_root a.item {
        display: none !important;
    }

    .SliderMenu_root.active .item,
    .SliderMenu_root.active a.item {
        display: block !important;
    }

    .SliderMenu_root .mobile-menu {
        display: inherit;
        color: #FFF;
        font-size: 1.5rem;
    }

    #Root {
        margin-top: 4rem;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /*Tablet*/
}

@media (min-width: 992px) and (max-width: 1200px) {
    /*Small Monitor*/
}

@media (min-width: 1200px) {
    /*Large Monitor*/
}
