﻿@import url(fonts.css);

@media (max-width:992px) {
    body.leftMenu .toggle-menu {
        display: block;
    }

    .hr {
        display: none;
    }

    /*.container {
        width: 90%;
        height: 55%;
        padding: 35px 0;
    }*/

    /*.hide-textheader {
        display: none;
    }*/
}

@media (min-width:992px) {
    .hr {
        width: 1px;
        height: 250px;
        background-color: gray;
        position: absolute;
        top: 0px;
        left: 50px;
        z-index: 10;
    }

    /*.container {
        width: 60%;
        height: 60%;
        padding: 35px 0;
    }*/
}

@media (max-width: 375px) {
    .formlogin-signin {
        width: 280px;
        display: block;
        position: relative;
        margin: 0 auto;
        margin-top: -60px;
    }
}

@media (min-width: 376px) {
    .formlogin-signin {
        width: 280px;
        display: block;
        position: relative;
        margin: 0 auto;
        margin-top: -30px;
    }
}

body {
    font-family: kanit, helvetica, sans-serif;
}

div, input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.header {
    height: 44px;
    line-height: 44px;
    padding-left: 30px;
    font-size: 20px;
    /*background: url('http://i.imgur.com/s0O9hy0.png') 325px center no-repeat, -webkit-linear-gradient(top, rgb(253, 253, 253), rgb(198, 203, 199));*/
    background: url('http://simpleicon.com/wp-content/uploads/user1-64x64.png') 325px center no-repeat;
}

.input-user {
    display: block;
    width: 100%;
    height: 38px;
    padding-left: 38px;
    /*background: url(../ico/ico_user.png) 10px center no-repeat, -webkit-linear-gradient(45deg, #212d3b 0%, #212d3b 60%, #212d3b 60%, #212d3b);*/
    background: url(../ico/ico_user.png) 10px center no-repeat;
    /*    background: url('http://i.imgur.com/s0O9hy0.png') 10px center no-repeat;*/
    color: #AAA;
    border: 1px solid gray;
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s;
    margin-top: 26px;
    margin-bottom: 26px;
}

.input-password {
    display: block;
    width: 100%;
    height: 38px;
    padding-left: 38px;
    /*background: url(../ico/ico_password.png) 10px center no-repeat, -webkit-linear-gradient(45deg, #212d3b 0%, #212d3b 60%, #212d3b 60%, #212d3b);*/
    background: url(../ico/ico_password.png) 10px center no-repeat;
    /*    background: url('http://i.imgur.com/s0O9hy0.png') 10px center no-repeat;*/
    color: #AAA;
    border: 1px solid gray;
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s;
    margin-bottom: 26px;
    margin-top: 26px;
}

input[type=text]:focus,
input[type=password]:focus {
    outline: 0;
    /*-webkit-box-shadow: inset 0 0 8px rgba(110, 217, 162, .7);
    box-shadow: inset 0 0 8px rgba(110, 217, 162, .7);*/
    -webkit-box-shadow: inset 0 0 8px var(--input-color) !important;
    box-shadow: inset 0 0 8px var(--input-color) !important;
}

.input-domain {
    display: block;
    width: 100%;
    height: 38px;
    padding-left: 38px;
    background: url(../ico/ico_domain.png) 10px center no-repeat;
    color: #AAA;
    border: 1px solid gray;
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s;
    margin-bottom: 26px;
    margin-top: 26px;
}

.select-signin {
    margin-top: 26px;
    margin-bottom: 26px;
    background: -webkit-linear-gradient(45deg, #212d3b 0%, #212d3b 60%, #212d3b 60%, #212d3b);
    color: #AAA;
    border: 1px solid gray;
}

.btn-language {
    border: 1px solid gray;
}

    .btn-language:hover {
        border: 1px solid #3f9e6d;
        background-color: #3f9e6d;
        color: #ffffff;
    }

.signin-button {
    border: 1px solid var(--btn-signin);
    background-color: var(--btn-signin-border);
    color: #ffffff;
}

    .signin-button:hover {
        border: 1px solid var(--btn-signin-hover);
        background-color: var(--btn-signin-border-hover);
        color: #ffffff;
    }

    .signin-button:disabled,
    .signin-button[disabled] {
        border: 1px solid #1d2733;
        background-color: #1d2733;
    }

/*.main-login {
    background-color: #212d3b !important;
}*/

i {
    vertical-align: middle;
}

.h4-menu {
    text-align: right;
    /*width: 230px;*/
    width: 80%;
    float: right;
    padding-top: 7px;
}

.h6-menu {
    text-align: right;
    width: 230px;
    float: right;
}

#colums {
    height: 5.5em;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.icon-hold {
    position: absolute;
    top: 0;
    color: rgba(0, 0, 0, 0.4);
    font-size: 5em;
}

.progress.progress-white {
    background-color: white !important;
}

div.flag_en {
    background: url(../ico/en.png) no-repeat center center
}

div.flag_th {
    background: url(../ico/th.png) no-repeat center center
}

div.flag-box {
    cursor: pointer;
    text-indent: -9999px;
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
    width: 35px;
    height: 30px;
    border: 1px rgba(255, 255, 255, 0.5) solid;
}

#text-cp {
    white-space: normal;
    width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width:1160px) {
    #text-cp-header {
        white-space: nowrap;
        width: 370px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* @media (-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi) {
    #text-cp-header {
        display: none;
    }
} */

.bg-grid {
    border: 2px;
}

.opensection {
    cursor: default;
}

    .opensection:focus {
        text-decoration: none;
    }

.loader {
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: table;
    margin: 10px auto;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* start move from caplet.custom.css */

body {
    font-family: Kanit;
}

#wrapper {
    margin-left: 0;
}

@media (max-width: 991px) {
    body.nav-collapse-in #header, body.nav-collapse-in #main {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        right: 0;
        left: 0;
    }
}


@media (max-width: 767px) {
    .visible-xs {
        display: table-cell !important;
    }
}

html .toggle-menu {
    width: 0;
}

/*.ui-grid-cell-contents {
    padding-top: 15px;
}*/

.form-group {
    margin-bottom: 10px;
}

/************************* ui-grid **************************/
.ui-grid-filter-container {
    padding: 4px 4px;
}

.ui-grid-selection-row-header-buttons {
    opacity: 1;
}

/*.ui-grid-header-cell .sortable {
    font-weight: normal;
    color: rgba(0,0,0,.54);
}*/

.ui-grid-header-cell {
    border-right: none;
    border-color: #d4d4d4;
    color: #000000;
}

.ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-header-cell:last-child {
    border-right: none;
    border-width: 1px;
    border-right-color: #aeaeae;
}

.ui-grid-cell .btn {
    border: none;
}

.ui-grid-row:last-child .ui-grid-cell {
    border-bottom-width: 1px !important;
}

.ui-grid-pinned-container.ui-grid-pinned-container-left .ui-grid-cell:last-child {
    border-right: none;
    border-width: 1px;
    border-right-color: #aeaeae;
}

.ui-grid-selection-row-header-buttons {
    width: 5px;
    outline: none;
}

.ui-grid-pager-control button {
    padding: 0;
    margin-left: 4px;
    border-radius: 50%;
}

.ui-grid-top-panel {
    height: 32px;
}

.ui-grid-top-panel-filter {
    height: 62px;
}

.ui-grid-header-viewport {
    height: 62px;
}

.select-all-buttons {
    height: 35px;
    margin-top: -5px;
}

.compu-pagination {
    background: var(--color-default);
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    height: 2.25rem;
    width: 2.25rem;
    vertical-align: middle;
    padding: 1px;
    border-radius: 50%;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 2rem;
    font-weight: 400;
}

    .compu-pagination:hover {
        color: #ffffff;
    }

.ui-grid-column-menu-button .ui-grid-icon-angle-down {
    display: none;
}

.ui-grid-filter-container .ui-grid-filter-button-select [class^="ui-grid-icon"] {
    right: 22px;
}

.ui-grid-focuser:focus {
    border-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}


div.ui-grid-icon-ok {
    position: absolute;
}

    div.ui-grid-icon-ok:before {
        content: "\f0c8";
        font-family: "Font Awesome 5 Free";
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
        /*--adjust as necessary--*/
        color: var(--ag-icon);
        font-size: 20px;
        padding-right: 0.5em;
        position: absolute;
        top: 3px;
        left: 0;
    }

div.ui-grid-all-selected.ui-grid-icon-ok:before, div.ui-grid-row-selected.ui-grid-icon-ok:before {
    content: "\f14a";
    font-weight: 900;
}

.gird-qryright .ui-grid-top-panel {
    height: 50px;
    background: var(--ui-grid-top-bg) !important;
    border-left: 0px !important;
}
/************************* ui-grid **************************/

/*.icheckbox_flat, .icheckbox_flat-red, .icheckbox_flat-green, .icheckbox_flat-blue, .icheckbox_flat-aero, .icheckbox_flat-grey, .icheckbox_flat-orange, .icheckbox_flat-yellow, .icheckbox_flat-pink, .icheckbox_flat-purple, .iradio_flat, .iradio_flat-red, .iradio_flat-green, .iradio_flat-blue, .iradio_flat-aero, .iradio_flat-grey, .iradio_flat-orange, .iradio_flat-yellow, .iradio_flat-pink, .iradio_flat-purple {
    position: inherit;
}*/

/*div#content div div div div div div div.form-group {
    margin-bottom: 4px;
}*/

.navbar-program {
    margin-bottom: 0;
}

.navbar-nav h4 {
    color: #000000;
    opacity: 0.8 !important;
    font-size: 16px;
    margin-top: 3px;
}

    .navbar-nav h4 strong {
        font-weight: 300;
    }

.nav-tabs > li > a, .nav-tabs > li.active > a {
    color: #000000;
}

    .nav-tabs > li.active > a:hover {
        color: #000000;
    }


/************************* modal **************************/
.modal-header h4 {
    color: #000000;
}

h4.modal-title {
    text-align: left;
}

.modal.fade {
    margin-top: 0 !important;
    top: 5px;
}

    .modal.fade.in {
        margin-top: 0 !important;
        top: 5px;
    }

.modal-scrollable {
    z-index: 71 !important;
}

.modal-backdrop {
    z-index: 70 !important;
}

button.close {
    padding: 4px 6px 5px 6px;
}

    button.close:hover {
        color: #ffffff;
        background-color: #c7383e;
        opacity: 1;
    }

a.close:hover {
    width: 26px;
    height: 26px;
    background-color: #c7383e;
    opacity: 1;
}

.modal-scrollable > .container {
    height: inherit;
}

@media (min-width: 992px) {
    .modal-scrollable > .container {
        padding: 0;
    }
}
/************************* modal **************************/


.header h4, .panel-heading h4 {
    color: #000000;
    text-align: left;
}

.panel-tools ul.dropdown-menu li {
    font-size: inherit;
}

.panel-tools ul li .btn {
    width: inherit;
    height: inherit;
    padding: 0 4px;
}


/*required message*/
div[ng-message="required"], div[ng-message="invalidFormat"], div[ng-message-lookup="required"] {
    color: red;
    font-size: 12px;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    text-decoration: none;
    color: #ffffff !important;
    background-color: var(--color-default) !important;
}

    .dropdown-menu > li > a:hover > i, .dropdown-menu > li > a:focus > i {
        color: #ffffff !important;
    }

.button-hover:hover {
    outline: none;
    cursor: pointer;
}

    .button-hover:hover > span {
        color: var(--color-default);
    }


/************************* bootbox **************************/
.modal-bootbox {
    background-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bootbox-body th {
    text-align: left;
}

.bootbox-confirm .modal-footer button {
    float: right;
    margin-left: 10px;
}
/************************* bootbox **************************/


/*Over-flow Datatables*/
.dataTables_wrapper {
    overflow-x: auto;
}

.panel {
    border: 1px solid #DDDDDD;
    margin-bottom: 15px;
}

.panel-tools {
    background-color: #d9dfe3;
}

.col {
    width: 40px;
    height: 32px;
    -ms-flex-line-pack: center;
    align-content: center;
}

a.btn.btn-inverse.btn-collapse {
    margin-left: 5px;
}

@media (max-width: 767px) {
    .visible-xs {
        display: table-cell !important;
    }
}


/*ui-grid redesign*/
.ui-grid-top-panel {
    background: var(--ui-grid-top-bg) !important;
    border: 1px solid #ededed;
}

.ui-grid-cell {
    border-right: none;
    border-bottom: 1px solid;
    border-color: #ededed;
}

.ui-grid-header {
    border: none;
}

.ui-grid-row .ui-grid-cell.ui-grid-row-header-cell {
    background-color: #f0f0ee;
    border-bottom: solid 1px #ededed;
}

.ui-grid-row:nth-child(even) .ui-grid-cell {
    background-color: white;
}

.ui-grid-row:nth-child(odd) .ui-grid-cell {
    background-color: #fdfdfd;
}

.ui-grid-row:last-child .ui-grid-cell {
    border-bottom-style: solid;
    border-bottom-color: #ededed;
}

.ui-grid-viewport :not[role="rowgroup"] {
    overflow: auto !important;
}
/***********************************************/

md-dialog._md-transition-in {
    opacity: 1;
}


/* Calendar */

.col.ng-scope.mdp-day-placeholder.layout-align-center-center.layout-row {
    width: 42px;
}

.calendar-month {
    color: white;
    font-size: 29px;
    margin-top: 2px;
}

.calendar-date :hover {
    background-color: #eeeeee;
    cursor: pointer;
}

.calendar-date :active {
    background-color: var(--color-default);
    color: white;
}

.mdp-day-placeholder :hover {
    background-color: white;
    cursor: default;
}

.mdp-day-placeholder {
    background-color: white;
    outline: none;
}

.calendar-change {
    width: 20px;
    opacity: 0.3;
    outline: none;
    text-align: center;
}

    .calendar-change > i {
        font-weight: 600;
    }

    .calendar-change :hover {
        color: white;
    }

.calendar-current-date {
    background-color: red;
}

.header-toolsbar {
    position: absolute;
    top: 0;
    height: 55px;
    background-color: white;
    z-index: 15;
}

header.panel-heading {
    padding: 5px;
}

.tab-content {
    padding: 3px;
}

md-dialog.mdp-datepicker {
    min-width: 314px;
}

/*****************************/


/********************* Schroll Bar ************************/

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    color: white;
    background: var(--scroll-track);
}

*::-webkit-scrollbar-track {
    background: var(--scroll-track);
    /* change me to blue to match the background */
}

*::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    /* change border color to blue to match the background */
}

.ui-grid-viewport :not [role="rowgroup"] {
    overflow: auto !important;
}

#content.after-mail-box::-webkit-scrollbar-thumb, #main::-webkit-scrollbar-thumb, #nav-scroll::-webkit-scrollbar-thumb, #mailbox #nav-scroll::-webkit-scrollbar-thumb, .mm-menu > .mm-panel::-webkit-scrollbar-thumb, .ms-list::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
}

/**********************************************************/


/************************* Panel **************************/

.heading-label > strong {
    color: black;
}

.panel-heading {
    background-color: white;
    color: black;
}

.panel-body {
    padding: 5px;
    z-index: 6;
}

/**********************************************************/


/************************* button **************************/

.btn-80 {
    min-width: 80px !important;
}

.btn {
    border-radius: 2px !important;
}

.btn-collapse i {
    color: var(--color-default);
}

    .btn-collapse i:hover {
        color: black;
    }

.btn-search-info {
    background-color: #b7bfc5;
    color: #ffffff;
}

    .btn-search-info:hover {
        background-color: #9FA6AB;
        color: #ffffff;
        border-color: #9FA6AB;
    }

.btn-save {
    /*background-color: #5bce8c;
    color: white;*/
    color: #fff;
    background-color: var(--btn-save);
    border-color: var(--btn-save);
}

    .btn-save:hover {
        color: #fff;
        background-color: var(--btn-save-hover);
        border-color: var(--btn-save-border-hover);
    }

    .btn-save:focus {
        color: #fff;
    }

.btn-delete {
    background-color: #c54946;
    color: #ffffff;
}

    .btn-delete:hover, .btn-delete:focus {
        background-color: #AB3F3E;
        color: #ffffff;
    }

.btn-add {
    background-color: var(--btn-success) !important;
    border: 1px solid #ffffff !important;
    color: #ffffff;
}

    .btn-add:hover, .btn-add:focus {
        background-color: var(--btn-success-hover) !important;
        border: 1px solid var(--btn-success-hover) !important;
        color: #ffffff;
    }
.btn-success {
    background-color: var(--btn-success) !important;
    border: 1px solid var(--btn-success) !important;
    color: #ffffff;
}

.btn-success:hover, .btn-success:focus {
    background-color: var(--btn-success-hover) !important;
    border: 1px solid var(--btn-success-hover) !important;
    color: #ffffff;
}

.btn-edit {
    font-size: 18px;
    color: #f1b255;
}

    .btn-edit:hover {
        color: #c59245;
    }

.btn-cancel {
    background-color: #fc6d67; /*background-color: #f0ad4e;*/
    color: #ffffff;
}

    .btn-cancel:hover {
        color: #ffffff;
        background-color: #ff382f;
    }

    .btn-cancel:focus {
        color: #ffffff;
    }

.btn-filter {
    background-color: #5d85ce;
    color: #ffffff;
}

    .btn-filter:hover {
        color: #ffffff;
    }

.btn-primary.btn-transparent {
    /*border: 1px solid #0090d9;*/
    color: var(--ag-icon);
    font-size: 16px;
}

    .btn-primary.btn-transparent:hover, .btn-primary.btn-transparent:active, .btn-primary.btn-transparent:focus {
        color: #06665E;
        background-color: transparent;
    }

    .btn-primary.btn-transparent i {
        margin: 0;
    }

    .btn-primary.btn-transparent[disabled] {
        color: #6f7b8a;
        background-color: transparent;
    }

.btn-theme-inverse {
    background-color: #0090d9;
    min-width: 51px;
    margin-left: 3px !important;
}

    .btn-theme-inverse:hover, .btn-theme-inverse:active, .btn-theme-inverse:focus {
        background-color: #007FBF;
    }

.btn-display {
    background-color: #14793f;
    border-color: #14793f;
    color: #ffffff;
}

    .btn-display:hover, .btn-display:active, .btn-display:focus {
        background-color: #105E32;
        color: #ffffff;
    }

.btn-clear {
    background-color: #ffffff;
    border-color: #c54946;
    color: #c54946;
}

    .btn-clear:hover, .btn-clear:active, .btn-clear:focus {
        background-color: #ffffff;
        color: #c54946;
    }

.btn-investment-plan {
    background-color: #feffee;
    border-color: #ddd;
    color: #aaa;
}

    .btn-investment-plan:hover, .btn-investment-plan:active, .btn-investment-plan:focus {
        background-color: #feffee;
        color: #aaa;
    }

.lang-button {
    border: 1px solid var(--btn-signin-border) !important;
    background-color: var(--btn-signin) !important;
    color: black !important;
}

    .lang-button:hover {
        border: 1px solid var(--btn-signin-border-hover) !important;
        background-color: var(--btn-signin-hover) !important;
        color: black !important;
    }

div.cs-button-hover {
    cursor: pointer;
}

    div.cs-button-hover span:focus {
        outline: none;
    }

a.clear {
    position: absolute;
    right: 52px;
    top: 7px;
    color: darkgrey;
    z-index: 10;
}

    a.clear i:hover {
        color: gray;
        box-shadow: 0 0 10px black;
        cursor: pointer;
        -webkit-transition: all 200ms ease-out;
        transition: all 200ms ease-out;
        z-index: 100;
        border-radius: 10px;
    }

.ui-grid-cell-contents.ng-binding.ng-scope.cs-button-hover:hover {
    /* background-color: #ededed !important; */
    background-color: var(--color-default) !important;
    /* color: #ffffff !important; */
}

.investmentHeader {
    text-align: left;
    margin-bottom: 10px;
    color: #000000;
}

/**********************************************************/
/************************* top-search **************************/
form#top-search label {
    /* color: #DDDDDD; */
    color: rgb(33, 33, 33);
}

.widget-top-search form .form-control {
    /* background-color: #313641; */
    background-color: rgb(255, 255, 255);
}

.widget-top-search form textarea.form-control {
    border: none;
    color: rgba(255, 255, 255, 0.5);
}

.widget-top-search form select.form-control {
    color: rgba(0, 0, 0, 0.5);
}

.widget-top-search form .btn-default:hover, .widget-top-search form .btn-default:focus, .widget-top-search form .btn-default:active, .widget-top-search form .btn-default.active, .widget-top-search form .open .dropdown-toggle.btn-default {
    background-color: #323641;
    border-color: #323641;
}

.label-search {
    color: #DDDDDD;
}

.input-group-btn > .btn-search:hover, .input-group-btn > .btn-search:focus, .input-group-btn > .btn-search:active {
    background-color: #313641;
}
/************************* top-search **************************/


/******************* Modal Dialog Bootstrap ********************/

/*.modal-body{
    padding: 0;
}*/
.modal-title {
    color: black;
    text-align: left;
    /*padding-bottom: 10px;*/
}

/******************* Modal Dialog Bootstrap ********************/


/*********************** Magic Checkbox ************************/
.magic-checkbox + label:before {
    background-color: white;
    border: 1px solid var(--color-default);
}

.magic-checkbox[disabled] + label, .magic-radio[disabled] + label {
    color: #000000;
}

fieldset[disabled] .magic-checkbox:checked + label:before {
    background: #94dfb4;
}

fieldset[disabled] .magic-checkbox + label {
    cursor: not-allowed;
}
/*********************** Magic Checkbox ************************/


/*********************** custom-checkbox ************************/
.custom-checkbox {
    /*width: 50px;
    height: 28px;*/
    width: 38px;
    height: 22px;
    overflow: hidden;
    border-radius: 20px;
    float: left;
}

.custom-checkbox-label {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background-color: #DDDDDD;
    transition: background-color .3s;
    -o-transition: background-color .3s;
    -moz-transition: background-color .3s;
    -webkit-transition: background-color .3s;
    cursor: pointer;
}

.custom-checkbox-label-aux {
    top: 3px;
    left: 4px;
    /*width: 22px;
    height: 22px;*/
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    border-radius: 100%;
    transition: left .3s;
    -o-transition: left .3s;
    background-color: white;
    -moz-transition: left .3s;
    -webkit-transition: left .3s;
    box-shadow: 0px 1px 5px 0px rgba(56,55,56,0.61);
    -moz-box-shadow: 0px 1px 5px 0px rgba(56,55,56,0.61);
    -webkit-box-shadow: 0px 1px 5px 0px rgba(56,55,56,0.61);
    cursor: pointer;
}

.custom-checkbox-input:checked + .custom-checkbox-label {
    /*background-color: #6EDC5F;*/
    background-color: #5cb85c;
}

    .custom-checkbox-input:checked + .custom-checkbox-label .custom-checkbox-label-aux {
        /*left: 24px;*/
        left: 18px;
    }

.custom-checkbox-input {
    display: none;
}

.custom-checkbox + label.ng-binding {
    margin-left: 10px;
    margin-top: 3px;
}

fieldset[disabled] .custom-checkbox-label, fieldset[disabled] .custom-checkbox-label-aux {
    cursor: not-allowed;
}

fieldset[disabled] .custom-checkbox-input:checked + .custom-checkbox-label {
    background-color: #94dfb4;
}
/*********************** custom-checkbox ************************/


/*********************** Nav Bar Header ************************/
/*@media (max-width:1160px) {
    #text-cp-header {
        display: none;
    }
}

@media (-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi) {
    #text-cp-header {
        display: none;
    }
}*/

body.nav-collapse-in #header {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    right: 0;
    left: 0;
}

body.nav-collapse-in #main {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    right: 0;
}

.logo-area {
    width: 0;
}

#header .tools-bar {
    margin-left: 0;
}

#main {
    margin-left: 0;
}
/*********************** Nav Bar Header ************************/


.ui-grid-invisible {
    display: none;
}

/*********************** panel ************************/
#home-panel.panel {
    border-top: none;
}

#home-panel .panel-body {
    padding: 0 10px;
}
/*********************** panel ************************/

/*********************** notific8 ************************/
.notific8-notification.atomic .notific8-message, .notific8-notification.family-atomic .notific8-message {
    font-size: 14px !important;
}

.notific8-notification.atomic.cerulean, .notific8-notification.family-atomic.cerulean {
    background-color: #BDDE84 !important;
    border-color: #A4C466 !important;
}

.notific8-notification.atomic.tomato, .notific8-notification.family-atomic.tomato {
    /*background-color: #eeb9ba;
    border-color: #D03E41;
    color: #454545;*/
    background-color: #de5551 !important;
    color: #fff !important;
}

.tangerine {
    background-color: #e88f00;
    color: #fff;
}
/*********************** notific8 ************************/

/*********************** char counter ************************/
.md-char-counter {
    font-size: 10px;
}

/*mail content*/
.file-block {
    margin-left: 5px;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 10px 1px 0px 1px;
    border: 1px solid #e24e4e;
    padding: 0px 5px;
    background: #fdf5f5;
    border-radius: 3px;
}

.file-label {
    color: #691b1b;
    font-size: 13px;
}

.file-close-icon {
    color: #dc2b2b;
    padding-left: 5px;
}

    .file-close-icon:hover {
        color: #7b0505;
    }

.main-file-block {
    margin-left: 5px;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 10px 1px 0px 1px;
    border: 1px solid #2e9e36;
    padding: 0px 5px;
    background: #dcfbdd;
    border-radius: 3px;
}

.main-file-label {
    color: #0f6b15;
    font-size: 13px;
}

.main-file-close-icon {
    color: #2e9e36;
    padding-left: 5px;
}

    .main-file-close-icon:hover {
        color: #0f6b15;
    }

.mail-text {
    color: rgba(0,0,0,0.87) !important;
}

.mail-input {
    outline: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    font-size: 13px;
    width: 100%;
}

    .mail-input:focus {
        border-bottom: 2px solid #2196f3;
    }

.mail-label {
    width: 50px;
    padding-right: 5px;
    font-size: 13px;
    font-weight: normal;
}

.btn-mail > i {
    font-size: 1.2em;
}

.btn-mail {
    padding: 4px 7px;
}
/*mail content*/

md-checkbox ._md-icon {
    width: 17px;
    height: 17px;
}

md-checkbox.md-checked ._md-icon:after {
    left: 5.66667px;
    top: 1.22222px;
}

.cs-button-orange:not([disabled]) {
    background-color: rgb(239, 140, 38) !important;
    color: #FFFFFF !important;
}

    .cs-button-orange:not([disabled]):hover {
        background-color: rgb(169, 86, 0) !important;
        color: #FFFFFF !important;
    }

.cs-button-blue:not([disabled]) {
    background-color: #4fc1dc !important;
    color: #FFFFFF !important;
}

    .cs-button-blue:not([disabled]):hover {
        background-color: #335f69 !important;
        color: #FFFFFF !important;
    }

.ui-grid-cell-focus {
    background-color: #ffffff;
}

/*Mail Content*/


.dropzone {
    border: 1px dotted purple;
    &.dragover

{
    border: 2px dotted blue;
}

&.dropzone__bucket {
    min-height: 50px;
    padding: .6em;
    border-radius: .6em;
    margin: .3em;
}

}

.draggables {
    border: 1px solid blue;
    padding: .3em;
    border-radius: .3em;
    margin: .3em;
    .draggable__item

{
    cursor: move;
}

}

.draggable__item {
    border-radius: 3px;
    padding: 1px 6px;
    margin: 1px;
    font-size: 1em;
    background-color: #daf6ff;
    color: darkblue;
    display: inline-block;
    border: 1px solid darkblue;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    &.in-editor

{
    cursor: move;
}

}

.tracker {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: red;
}

.fade-out.ng-hide {
    opacity: 0;
}

.fade-out.ng-hide-add, .fade-out.ng-hide-remove {
    transition: all linear 0.3s;
}

.md-dialog-content-modhead {
    height: 50px !important;
    background-color: var(--modal-header-color-ag) !important;
}

.md-title {
    text-align: left;
    padding: 13px;
}

.button-dialog {
    background-color: transparent;
    color: white;
}

    .button-dialog:hover {
        color: white;
        opacity: .8;
    }

.md-icon-button:focus {
    outline: none;
}

.current-date {
    background-color: var(--color-default);
    color: white;
}

.selected-date {
    background-color: var(--color-default);
}

.ui-grid-tree-base-row-header-buttons.ng-scope.ui-grid-tree-base-header {
    outline: none;
}

.grid-align {
    text-align: center;
}

.otp-button-hover {
    cursor: pointer;
}

    .otp-button-hover:hover {
        color: var(--color-default);
    }

/*********************** datepicker ************************/
.calendar-month select {
    color: black;
    font-size: 24px;
}

.datepicker table thead tr:nth-child(2) {
    background-color: #4EA582;
    color: #FFF;
}

    .datepicker table thead tr:nth-child(2) .prev, .datepicker table thead tr:nth-child(2) .datepicker-switch, .datepicker table thead tr:nth-child(2) .next {
        font-weight: normal;
    }

        .datepicker table thead tr:nth-child(2) .prev:hover, .datepicker table thead tr:nth-child(2) .datepicker-switch:hover, .datepicker table thead tr:nth-child(2) .next:hover {
            background-color: #4EA582;
        }

.datepicker table thead tr th {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.datepicker tfoot tr th.today {
    background: #6cc3a0;
    color: #FFF;
    padding: 10px 5px;
    font-weight: normal;
}

    .datepicker tfoot tr th.today:hover {
        background: #6cc3a0;
    }
/*********************** datepicker ************************/

.badges:after {
    content: attr(data-count);
    position: absolute;
    background: white;
    height: 14px;
    top: -1px;
    right: -2px;
    width: 14px;
    text-align: center;
    font-size: 13px;
    border-radius: 50%;
    color: red;
    font-family: kanit;
    font-weight: bold;
}

.badges2:after {
    content: attr(data-count);
    position: absolute;
    background: red;
    height: 20px;
    top: -1px;
    right: -5px;
    width: 20px;
    text-align: center;
    font-size: 13px;
    border-radius: 50%;
    color: white;
    font-family: kanit;
    font-weight: bold;
    padding: 3px;
}

/*********************** form-control-plaintext ************************/
.form-control-plaintext {
    display: block;
    width: 100%;
    padding-top: .375rem;
    padding-bottom: .375rem;
    margin-bottom: 0;
    line-height: 1.5;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
    color: #000000;
}

    .form-control-plaintext:focus {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
/*********************** form-control-plaintext ************************/

/*********************** wrap-input100 ************************/
.wrap-input100 {
    width: 100%;
    position: relative;
    border: 1px solid #e6e6e6;
    border-radius: 13px;
    padding: 10px 30px 9px 22px;
    margin-bottom: 5px;
    margin-top: 5px;
}
/*********************** wrap-input100 ปิดแก้ Col พังที่ tas ************************/

/* @media (min-width:710px) {
    ul li {
        display: inline;
    }
} */

/*********************** Grid Highlight ************************/
.ui-grid-row .ui-grid-cell.custom {
    color: blue;
    font-weight: bold;
}
/*********************** Grid Highlight ************************/

.labelInputArea {
    display: table-row;
}

    .labelInputArea label {
        display: table-cell;
    }

    .labelInputArea input {
        display: table-cell;
    }

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    opacity: 0.30;
}

cp-date {
    height: 60px;
}

.text-key {
    color: #6f7b8a;
    font-size: 14px;
}

.text-value {
    color: #000000;
    font-size: 14px;
}

.text-key-sm {
    color: #6f7b8a;
    font-size: 13px;
}

.text-value-sm {
    color: #000000;
    font-size: 13px;
}

/*********************** Profile ************************/
.profile-fullname {
    font-size: 16px;
    color: #000;
}

.profile-position {
    font-size: 14px;
    color: #6f7b8a;
}

.profile-department {
    font-size: 14px;
    color: #6f7b8a;
}
/*********************** Profile ************************/

.glyphicon {
    font-family: 'Glyphicons Halflings' !important;
}

/*********************** Font Awesome (Old Version) ************************/
.fa-pencil:before {
    content: "\f303";
}

.fa-refresh:before {
    content: "\f2f1";
}

.fa-trash-o:before {
    font-weight: 400;
    content: "\f2ed";
}

.fa-file-text-o:before {
    font-weight: 400;
    content: "\f15c";
}

.fa-floppy-o:before {
    font-weight: 400;
    content: "\f0c7";
}

.fa-pie-chart:before {
    content: "\f200";
}

.fa-sign-out:before {
    content: "\f2f5";
}

.md-stepper-horizontal .md-step.done .md-step-circle::before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.md-stepper-horizontal .md-step.editable .md-step-circle:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f303" !important;
}

#top-search .fa-refresh:before {
    content: "\f12d";
}

.fa-ellipsis-h:before {
    content: "\f03a\f0d7"; /*"\f141"*/
}
/*********************** Font Awesome (Old Version) ************************/

#filterItem, #filterItem1,#filterItem2,#filterItem3, .filterItem {
    margin-bottom: 5px !important;
}
button.swal2-confirm.btn.btn-license {
    background-image: linear-gradient(107deg, #f6af3a, #f6af3a);
    font-size: 14px !important;
    color: white !important;
}
.swal2-icon .swal2-icon-content {
    display: none !important;
}
.swal2-content {
    font-size: 14px !important;
}
div.cs-button-hover span:focus {
    outline: none;
}
svg:focus {
    outline: none;
}


.disabled .switchery {
    opacity: 1 !important;
}


input.compuLookup:read-only, div.cp-date input:read-only {
    cursor: pointer;
}

fieldset:disabled input.compuLookup:read-only, fieldset:disabled div.cp-date input:read-only {
    cursor: default;
}

.input-group-append:focus {
    outline: none;
}

/*********************** main ************************/
.panel-change-company a, .panel-change-company h5 {
    color: #08897e;
}
/*********************** main ************************/

/*********************** blockUI ************************/
.loading-message {
    display: inline-block;
    min-width: 150px;
    margin-left: -60px;
    padding: 10px;
    margin: 0 auto;
    color: #000 !important;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}

    .loading-message.loading-message-boxed {
        border: 1px solid #ddd;
        background-color: #eee;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    }
/*********************** blockUI ************************/
.history-leave-date {
    color: var(--history-not-leave-date) !important;
}
.use-day-count {
    font-size: 24px !important;
}
 div.loading > img {
    width: unset !important;
    height: 250px !important;
}

/* resign*/

.wwomanwf-resign {
    color: red !important;
}
/*#wwomanwf-resign-note > div::before {content: 'sdsd  ' !important;}*/



/*.resign-light{*/
/*    animation: resign-light 0.8s infinite;*/
/*    font-size: 18px;*/
/*    font-weight: bold;*/
/*}*/
/*@keyframes resign-light{*/
/*    0%{     color: #ff0000;    }*/
/*    50%{    color: #ff2f2f;  }*/
/*    100%{   color: #ffc7c7;    }*/
/*}*/


@keyframes flicker {
    0% {
        opacity: 0;
    } 100% {
          opacity: 1;
      }
}

.resign-light {
    color: red;
        font-size: 14px;
        font-weight: bold;
    animation: flicker 0.3s ease alternate infinite;
}

.overworking-light {
    color: red;
    font-size: 14px;
    font-weight: bold;
}

.body-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    background-color: rgba(51, 51, 51, 0.8);
    background-size: 100px 100px;
}

body.loading {
    overflow: hidden;
}
body.loading .body-overlay{
    display: block;
}

.new-loading {
    position: fixed;
    height: 250px !important;
    top: 40%;
    left: 40%;
}

/*.collapse*/
#collapseSearch {
    position: fixed;
    top: 0 !important;
    z-index: 1020 !important;
    width: 98.75% !important;
    margin-left: -5px !important;
    padding-top: 10px !important;
    animation: fadein 0.35s ease-out forwards;
    -moz-animation: fadein 0.35s ease-out forwards;
    /* Firefox */
    -webkit-animation: fadein 0.35s ease-out forwards;
    /* Safari and Chrome */
    -o-animation: fadein 0.35s ease-out forwards;
    /* Opera */
}

.collapse {
    /*visibility: hidden;*/
}

.collapse.in {
    visibility: visible;
    transition-duration: 0.2s;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition-property: height, visibility;
    transition-property: height, visibility;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}

.collapsing.width {
    -webkit-transition-property: width, visibility;
    transition-property: width, visibility;
    width: 0;
    height: auto;
}
/*.clear-icon {*/
/*    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAkFBMVEU3SVc3SVc3SVc3SVc3S1U3SVc3SVc3SVg3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3TFQ3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVcAAADrXux4AAAAKXRSTlNm3HAEBG7caNzqZWXp3G/o8elwA2Py82UD82UDb+jpcNzcZtxwBG7caCWN0GMAAAABYktHRC8j1CARAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH5AUWAR0vqexPdQAAAEdJREFUCNdjYGBkYmZhZWNn4NDk5OLm0eJl4OPXFhDQERRiEBYR1dERE5eAMCSlpBlkZEFScvIMCrogxXqKDErKKqosauoaAK2kBdu/tfsNAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA1LTIyVDAxOjI5OjQ3LTA0OjAwALNRXAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wNS0yMlQwMToyOTo0Ny0wNDowMHHu6eAAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC);*/
/*    height: 8px;*/
/*    width: 8px;*/
/*    top: 20px;*/
/*    margin-left: -20px;*/
/*    cursor: pointer !important;*/
/*    background-repeat: no-repeat;*/
/*    position: absolute;*/
/*    z-index: 100;*/
/*}*/
input[type="search"]::-webkit-search-cancel-button {
    /* Remove default */
    -webkit-appearance: none;
    /*Your new styles */
    height: 8px;
    width: 8px;
    cursor: pointer !important;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAkFBMVEU3SVc3SVc3SVc3SVc3S1U3SVc3SVc3SVg3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3TFQ3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVc3SVcAAADrXux4AAAAKXRSTlNm3HAEBG7caNzqZWXp3G/o8elwA2Py82UD82UDb+jpcNzcZtxwBG7caCWN0GMAAAABYktHRC8j1CARAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH5AUWAR0vqexPdQAAAEdJREFUCNdjYGBkYmZhZWNn4NDk5OLm0eJl4OPXFhDQERRiEBYR1dERE5eAMCSlpBlkZEFScvIMCrogxXqKDErKKqosauoaAK2kBdu/tfsNAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA1LTIyVDAxOjI5OjQ3LTA0OjAwALNRXAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wNS0yMlQwMToyOTo0Ny0wNDowMHHu6eAAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC);
}
input[type="search"] {
    height: 20px !important;
  }
.input-search-a {
    margin-left: -25px !important;
}
#absReason {
    text-align: left !important;
    padding-left: 17px !important;
}

input::-ms-reveal,
      input::-ms-clear {
        display: none;
      }