@font-face {
    /*font-family: 'Kanit-Regular';
    src: url(fonts/Kanit-Regular.ttf);*/
    font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Verdana, sans-serif;
}

*, *:focus {
    outline: none;
    box-sizing: border-box;
    margin: 0;
}

body {
    width: 100%;
    overflow-x: hidden;
    /*font-family: 'Kanit-Regular';*/
    font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.3em;
    background: #e6e7e8;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, a:visited {
    color: #000;
    text-decoration: none;
}

ul.inline {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.inline li {
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 5px;
        vertical-align: middle;
    }

ul.stack {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.stack li {
        display: block;
        margin-bottom: 10px;
        vertical-align: middle;
    }

table.table {
    border: 5px solid #fff;
    table-layout: fixed;
}

    table.table th {
        background: #043e5e;
        color: #fff;
        border: 2px solid #fff;
        padding: 5px;
        font-weight: 400;
    }

    table.table td {
        background: #eee;
        border: 2px solid #fff;
        padding: 5px;
    }

/*table.table tr:hover > td {
         Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+0,057eb5+24 
        background: rgb(255,255,255);  Old browsers 
        background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(5,126,181,1) 24%);  FF3.6-15 
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgba(5,126,181,1) 24%);  Chrome10-25,Safari5.1-6 
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgba(5,126,181,1) 24%);  W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ 
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#057eb5',GradientType=0 );  IE6-9 
        color: #fff;
    }*/

/*table.table tr:hover > td span {
            color: #fff;
        }*/

/*input[type=text], input[type=search], input[type=email], input[type=number] {
    font-family: 'Kanit-Regular';
    height: 25px;
    line-height: 25px;
    border: none;
    border-radius: 3px;
    max-width: 100%;
    max-width: 100%;
    width: 100%;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #eee;
}*/

input[type=search] {
    padding-left: 30px;
    background: #fff url(images/icon-search.png) 8px center no-repeat;
}

input[type=checkbox] {
    position: absolute;
    visibility: hidden;
}

    input[type=checkbox] + label {
        position: relative;
        font-weight: 100;
        cursor: pointer;
    }

        input[type=checkbox] + label:before {
            content: '';
            background: #fff url(images/checkbox.png) center center no-repeat;
            width: 17px;
            height: 17px;
            display: inline-block;
            vertical-align: middle;
            margin-right: 8px;
        }

    input[type=checkbox]:checked + label:after {
        content: '';
        background: url(images/icon-check.png) center center no-repeat;
        width: 18px;
        height: 21px;
        display: inline-block;
        vertical-align: middle;
        position: absolute;
        left: 3px;
        top: -2px;
    }

input[type=radio] {
    position: absolute;
    visibility: hidden;
}

    input[type=radio] + label {
        position: relative;
        font-weight: 100;
        cursor: pointer;
    }

        input[type=radio] + label:before {
            content: '';
            background: url(images/radio.png) center center no-repeat;
            width: 21px;
            height: 21px;
            display: inline-block;
            vertical-align: middle;
            margin-right: 8px;
        }

    input[type=radio]:checked + label:after {
        content: '';
        background: url(images/icon-check.png) center center no-repeat;
        width: 18px;
        height: 21px;
        display: inline-block;
        vertical-align: middle;
        position: absolute;
        left: 5px;
        top: -2px;
    }

textarea {
    border: none;
    height: 75px;
    resize: none;
    border-radius: 3px;
    padding: 5px;
    font-family: 'Kanit-Regular';
    font-size: 16px;
}

.require {
    color: #BE1E2D;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.SumoSelect {
    width: 100%;
    text-align: left;
}

    .SumoSelect > .CaptionCont {
        box-shadow: none;
        border: 1px solid #eee;
        border-radius: 3px;
        height: 25px;
        line-height: 25px;
        padding: 0 5px;
    }

.flex {
    display: flex;
    flex-flow: row nowrap;
    white-space: nowrap;
    align-items: center;
}

.flex-stretch {
    display: flex;
    align-items: stretch;
    white-space: nowrap;
}

.page {
    width: 100%;
    /* padding: 0 20px; */
}

.button {
    font-family: 'Kanit-Regular';
    font-size: 16px;
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 15px;
    text-shadow: none;
    white-space: nowrap;
}

.button-green {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+0,057eb5+24 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgb(93, 176, 70) 24%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgb(93, 176, 70) 24%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgb(93, 176, 70) 24%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#5DB046',GradientType=0 ); /* IE6-9 */
}

.button-blue {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+0,057eb5+24 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(4, 62, 94, 1) 24%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgba(4, 62, 94, 1) 24%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgba(4, 62, 94, 1) 24%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#043e5e',GradientType=0 ); /* IE6-9 */
}

.button-red {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+0,057eb5+24 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgb(201, 36, 43) 24%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgb(201, 36, 43) 24%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgb(201, 36, 43) 24%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#C9242B',GradientType=0 ); /* IE6-9 */
}

.button-orange {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+0,057eb5+24 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgb(247, 130, 34) 24%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgb(247, 130, 34) 24%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgb(247, 130, 34) 24%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#F78222',GradientType=0 ); /* IE6-9 */
}

.button-enter {
    height: 25px;
    line-height: 25px;
    padding: 0 20px;
}

.icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    background-size: contain !important;
}

.icon-marker {
    background: url(images/icon-marker.png) center center no-repeat;
}

.icon-marker-25 {
    background: url(images/icon-marker25x25.png) center center no-repeat;
    width: 25px;
    height: 25px;
}

.icon-chat {
    background: url(images/icon-chat.png) center center no-repeat;
    width: 35px;
    height: 35px;
}

.icon-calculator {
    background: url(images/icon-calculator.png) center center no-repeat;
    width: 35px;
    height: 35px;
}

.icon-bars {
    background: url(images/icon-bars.png) center center no-repeat;
    width: 25px;
    height: 25px;
}

.icon-toggle-up {
    background: url(images/icon-toggle-up.png) center center no-repeat;
    width: 15px;
    height: 15px;
}

.icon-toggle-down {
    background: url(images/icon-toggle-up.png) center center no-repeat;
    width: 15px;
    height: 15px;
    transform: rotateZ(180deg);
}

.icon-document {
    background: url(images/icon-document.png) center center no-repeat;
}

.icon-circular {
    background: url(images/icon-circular.png) center center no-repeat;
}

.icon-twostand {
    background: url(images/icon-twostand.png) center center no-repeat;
}

.icon-money {
    background: url(images/icon-money.png) center center no-repeat;
}

.icon-briefcase {
    background: url(images/icon-briefcase.png) center center no-repeat;
}

.icon-team {
    background: url(images/icon-team.png) center center no-repeat;
}

.icon-man-blue {
    background: url(images/icon-man-blue.png) center center no-repeat;
}

.icon-flag-orange {
    background: url(images/icon-flag-orange.png) center center no-repeat;
}

.icon-flag-green {
    background: url(images/icon-flag-green.png) center center no-repeat;
}

.icon-stop {
    background: url(images/icon-stop.png) center center no-repeat;
}

.icon-close {
    background: url(images/icon-close.png) center center no-repeat;
}

.embold {
    font-size: 18px;
    color: #0081C8;
}

.expand {
    color: #BE1E2D;
    font-style: italic;
}

.shadow {
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.15);
}

.fontblack {
    color: #000;
}

.fontblue {
    color: #64B2D4;
}

.fontpurple {
    color: #313281;
}

.fontgreen {
    color: #00A651;
}

.fontred {
    color: #da182b;
}

.fontgrey {
    color: #9a9a9a;
}

.disabled-textarea {
    background-color: #eee;
    border: 1px solid #ccc;
    font-size: inherit !important;
}

/* Header */
.site-header {
    display: flex;
    flex-flow: row nowrap;
    border-bottom: 4px solid #043e5e;
    background: #F1F2F2;
    padding: 0 20px;
}

.site-title {
    padding-right: 20px;
    padding-top: 5px;
}

.site-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
}

    .site-header ul li a {
        position: relative;
        display: flex;
        flex-flow: row nowrap;
        height: 45px;
        justify-content: center;
        align-items: flex-end;
        padding: 10px 20px 5px;
        font-size: 18px;

    }
.logo-wrapper {
    height:30px;
}

.main-navigation ul li a:after {
    content: '';
    height: 30px;
    width: 1px;
    position: absolute;
    bottom: 5px;
    right: 0;
    background: #000;
}

.main-navigation ul li:last-child a:after {
    display: none;
}

.main-navigation ul li.active a, .main-navigation ul li:hover > a {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+0,057eb5+24 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(4, 62, 94, 1) 24%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgba(4, 62, 94, 1) 24%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 0%,rgba(4, 62, 94, 1) 24%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#043e5e',GradientType=0 ); /* IE6-9 */
    color: #fff;
}

    .main-navigation ul li.active a:after {
        display: none;
    }

.main-navigation {
    flex-grow: 2;
}

    .main-navigation .actions {
        color:#000;
    }

    .header-right {
        display: flex;
        flex-flow: row nowrap;
    }

.header-alert {
    padding: 5px 10px 0;
}

    .header-alert a {
        position: relative;
        display: block;
        /*display: none;*/
    }

        .header-alert a span {
            position: absolute;
            right: 7px;
            top: 1px;
            font-size: 12px;
            color: #fff;
        }

.header-right ul li a {
    padding: 10px 0 10px 20px;
}
/* Approval */
.approval-heading {
    position: relative;
    border-bottom: 4px solid #64B2D4;
    margin-bottom: 10px;
    background: #fff;
}

    .approval-heading .number {
        position: relative;
        width: 100%;
        text-align: left;
        padding: 8px;
    }

        .approval-heading .number:after {
            content: '';
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 5px 10px 5px;
            border-color: transparent transparent #64B2D4 transparent;
            position: absolute;
            bottom: 0;
            left: calc(10% - 5px);
        }

        .approval-heading .number span {
            background: url(images/button-grey.jpg) left top repeat;
            background-size: contain;
            display: inline-block;
            vertical-align: middle;
            padding: 5px 20px;
            font-size: 30px;
            color: #043F5F;
        }

    .approval-heading .expand {
        position: absolute;
        right: 5px;
        bottom: 5px;
    }


.approval-table-container {
    display: flex;
    flex-flow: row nowrap;
    padding-left: 8px;
    padding-top: 8px;
}

    .approval-table-container.active .approval-table {
        width: 30%;
        overflow: auto;
        border-right: 8px solid #fff;
        margin-right: 15px;
    }

    .approval-table-container.active .approval-content {
        width: 70%;
    }

.approval-content .top {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    border: 8px solid #fff;
    background: #fff;
    margin-bottom: 15px;
    justify-content: space-between;
}

    .approval-content .top .menu {
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-end;
    }

        .approval-content .top .menu ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-flow: row nowrap;
        }

            .approval-content .top .menu ul li {
                text-align: center;
                font-size: 13.5px;
            }

                .approval-content .top .menu ul li .topic {
                    transform: rotate(-90deg);
                    display: flex;
                    font-size: 16px;
                    border-bottom: 3px solid #000;
                    position: relative;
                    top: 18px;
                    width: 55px;
                }

                .approval-content .top .menu ul li .image {
                    width: 65px;
                    height: 55px;
                    display: flex;
                    flex-flow: row nowrap;
                    justify-content: center;
                    align-items: center;
                    border: 1px solid #ccc;
                    border-radius: 5px;
                    margin: 0 4px 5px;
                    position: relative;
                }

                .approval-content .top .menu ul li:hover > .image {
                    background: url(images/button-grey.jpg) left top repeat;
                    background-size: 100% 55px !important;
                }

        .approval-content .top .menu .icons {
            width: 100%;
            flex-grow: 2;
            padding: 10px 0 0;
            text-align: right;
        }

.approval-content .bottom {
    background: #fff;
}

.approval-content .autoscroll {
    height: calc(100vh - 265px);
    overflow-y: auto;
    overflow-x: hidden;
}

.approval-content .heading {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    background: #bee4f5;
    padding-right: 30px;
    color: #fff;
    align-items: center;
    font-size: 13px;
}

    .approval-content .heading ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-flow: row nowrap;
    }

        .approval-content .heading ul li a {
            color: #fff;
            padding: 5px 15px;
            display: flex;
            border-right: 1px solid #fff;
            background-color: #64b2d4;
            text-decoration: unset;
        }

        .approval-content .heading ul li:hover > a, .approval-content .heading ul li.active > a {
            background: url(images/button-blue.jpg) left bottom repeat;
            height: 30px;
        }

.approval-content .block {
    background: #e6e7e8;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-grow: 2;
}

    .approval-content .block p {
        margin-bottom: 15px;
    }

.approval-content.hide {
    opacity: 0;
}

.fade-in {
    animation: fadeIn ease 3s;
    -webkit-animation: fadeIn ease 3s;
    -moz-animation: fadeIn ease 3s;
    -o-animation: fadeIn ease 3s;
    -ms-animation: fadeIn ease 3s;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.toggle-block {
    border: 8px solid #fff;
    margin-bottom: 15px;
}

    .toggle-block .toggle {
        background: #f1f2f2;
        margin-bottom: 5px;
        padding: 5px 15px;
    }

    .toggle-block .toggle-up {
        float: right;
    }

    .toggle-block .toggle:after {
        content: '';
        clear: both;
        display: table;
    }

    .toggle-block .content {
        background: #f1f2f2;
        padding: 5px 15px;
    }

        .toggle-block .content h3 {
            font-weight: 400;
        }

        .toggle-block .content .list {
            display: flex;
            flex-flow: row wrap;
            align-items: flex-start;
        }

            .toggle-block .content .list .item {
                background: url(images/button-lightgrey.jpg) left top repeat;
                border: 1px solid #ddd;
                text-align: center;
                padding: 15px;
                border-radius: 5px;
                margin: 15px 15px 15px 0;
            }

        .toggle-block .content table th {
            padding: 5px;
            padding-right: 10px;
        }

        .toggle-block .content table td {
            padding: 5px;
        }

    .toggle-block hr {
        height: 5px;
        width: 100%;
        background: #fff;
        margin: 20px 0;
        border: none;
    }

    .toggle-block .actions {
        text-align: center;
        width: 350px;
        margin: 0 auto;
    }

        .toggle-block .actions .form {
            display: flex;
            flex-flow: row nowrap;
            padding-bottom: 15px;
        }

            .toggle-block .actions .form textarea {
                border: 1px solid #ddd;
                height: 75px;
                resize: none;
                margin-left: 15px;
            }

        .toggle-block .actions .buttons {
            width: 320px;
            display: flex;
            flex-flow: row wrap;
            justify-content: space-between;
            padding-bottom: 15px;
        }

            .toggle-block .actions .buttons p {
                flex-grow: 2;
                width: 100%;
                text-align: right;
                position: relative;
                right: -10px;
            }

/* Command */
.command-tools {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    background: #fff;
    padding: 8px;
    margin-bottom: 10px;
}

    .command-tools .col {
        position: relative;
        padding: 5px 10px;
    }

        .command-tools .col:after {
            content: '';
            width: 2px;
            height: 30px;
            top: calc(50% - 15px);
            right: 0;
            background: #000;
            position: absolute;
        }

        .command-tools .col:last-child:after {
            display: none;
        }

    .command-tools .leftcol input {
        background: url(images/button-grey.jpg) left top repeat;
        background-size: contain;
        display: inline-block;
        vertical-align: middle;
        margin-left: 40px;
        font-size: 30px;
        color: #043F5F;
        width: 60px;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .command-tools .leftcol .col2 input {
        background: none;
        border: 1px solid #ccc;
    }

    .command-tools .rightcol {
        background: #EDEDEE;
        flex-grow: 2;
    }

        .command-tools .rightcol .icon {
            width: 25px;
            height: 25px;
            background-size: contain !important;
        }

        .command-tools .rightcol .col2 small {
            position: absolute;
            width: 100px;
            font-size: 10px;
            margin-left: -50px;
            margin-top: -5px;
        }

        .command-tools .rightcol .col6 {
            flex-grow: 2;
        }

            .command-tools .rightcol .col6 .search a {
                white-space: nowrap;
            }

        .command-tools .rightcol table td {
            padding: 5px 10px;
        }

    .command-tools .leftcol, .command-tools .rightcol {
        display: flex;
        flex-flow: row nowrap;
        align-items: flex-start;
        text-align: center;
    }

    .command-tools .search, .command-tools .project {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        padding: 5px 0;
    }

        .command-tools .search label, .command-tools .search input, .command-tools .search button {
            margin-right: 15px;
        }

        .command-tools .search input {
            padding: 10px;
        }

        .command-tools .project button, .command-tools .project .views {
            margin-right: 15px;
        }

        .command-tools .project .views {
            flex-grow: 2;
            text-align: left;
        }

.command-table-container .approval-heading {
    background: #fff;
    border: 8px solid #fff;
    border-bottom: 0;
    border-right: 0;
}

.command-table-container .approval-table .row {
    background: #E6E7E8;
    display: flex;
    flex-flow: row nowrap;
    border-bottom: 8px solid #fff;
    padding: 10px;
    font-size: 14px;
}

    .command-table-container .approval-table .row input {
        font-size: 14px;
    }

.command-table-container .approval-table .row1 {
    padding: 0;
}

    .command-table-container .approval-table .row1 .left {
        padding: 0 10px;
        background: #fff;
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-between;
        width: 220px;
    }

    .command-table-container .approval-table .row1 .right {
        padding: 10px;
    }

        .command-table-container .approval-table .row1 .right img {
            vertical-align: middle;
        }

        .command-table-container .approval-table .row1 .right th {
            width: 80px;
            text-align: right;
            padding: 0 5px;
        }

        .command-table-container .approval-table .row1 .right td {
            padding: 0 5px;
        }

.command-table-container .approval-table .row .col {
    position: relative;
    width: 33.33%;
    padding: 3px;
    text-align: center;
}

    .command-table-container .approval-table .row .col:after {
        content: '';
        height: 40px;
        width: 1px;
        background: #000;
        position: absolute;
        right: 0;
        top: calc(50% - 20px);
    }

    .command-table-container .approval-table .row .col:last-child:after {
        display: none;
    }

    .command-table-container .approval-table .row .col small {
        position: absolute;
        margin-left: -26px;
        width: 50px;
        font-size: 9px;
        line-height: 9px;
    }

.command-table-container .approval-table .row table {
    width: 100%;
}

.command-table-container .approval-table .expand {
    position: absolute;
    right: 5px;
    bottom: -5px;
}

.project-owner {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
}

    .project-owner .profile img {
        border-radius: 5px;
    }

    .project-owner table {
        flex-grow: 2;
    }

    .project-owner .status {
        text-align: center;
        width: 250px;
    }

        .project-owner .status .button {
            min-width: 100px;
            margin-bottom: 5px;
        }
/* Register */
.questions th {
    font-weight: 400;
    text-align: left;
}

.questions td {
    padding-left: 50px !important;
}

    .questions td ul.inline li {
        width: 24%;
    }

    .questions td textarea {
        width: 50%;
        margin-bottom: 10px;
    }

    .questions td .input-upload {
        position: relative;
        margin: 10px 0;
    }

        .questions td .input-upload input[type=file] {
            position: absolute;
            width: 100%;
            height: 30px;
            z-index: 99;
            opacity: 0;
            left: 0;
            top: 0;
        }

        .questions td .input-upload label {
            padding: 0 30px;
        }

.toggle-block.last textarea {
    width: 100%;
    margin: 15px 0;
}

ul.inline.service li {
    width: 19%;
}

.toggle-block.option .content > table {
}

    .toggle-block.option .content > table td {
        border: 2px solid #fff;
        border-right: 0;
        padding: 10px;
    }

        .toggle-block.option .content > table td:last-child {
            border-right: 2px solid #fff;
        }

    .toggle-block.option .content > table table td {
        border: none !important;
    }

.err-vali {
    font-size: 80%;
    color: #dc3545;
}

.control-group-disabled {
    pointer-events: none;
    opacity: 0.4;
}

.clickable {
    cursor: pointer;
}

.custom-date-picker .md-datepicker-input-container {
    border: none !important;
}

    .custom-date-picker .md-datepicker-input-container .md-datepicker-input {
        background-color: white;
        border: 1px solid #eee;
    }

.custom-date-picker-pp .md-datepicker-input-container {
    border: none !important;
}

    .custom-date-picker-pp .md-datepicker-input-container .md-datepicker-input {
        background-color: white;
        border: 1px solid #c4c4c4;
        height: 30px;
        position: relative;
        top: 0px;
        padding-left: 5px;
    }

        .custom-date-picker-pp .md-datepicker-input-container .md-datepicker-input[disabled] {
            background-color: #ebebe4;
        }


.approver-item-container .approver-profile {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-image: linear-gradient(to top, #d6d6d6, #e0e0e0, #eaeaea, #f5f5f5, #ffffff);
}

.approver-item-container .approval-status {
    padding-top: 15px;
    padding-bottom: 15px;
}

    .approver-item-container .approval-status .icon-status {
        font-size: 30px;
        color: #7FC244;
    }

    .approver-item-container .approval-status .approved-date {
        font-style: italic;
    }

.tbl-opition-action {
    width: 100%;
    border-collapse: collapse;
}

    .tbl-opition-action thead tr th {
        text-align: center;
    }

    .tbl-opition-action thead tr th, .tbl-opition-action tbody tr td {
        vertical-align: top;
    }

    .tbl-opition-action tbody tr td {
        border: 5px solid white;
    }

.bg-gray {
    background-color: #f1f2f2 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.mini-filter-container .filter-checkbox {
    display: flex;
    align-items: stretch;
    white-space: nowrap;
    padding: 4px 0 4px 4px;
    margin-top: 4px;
}

    .mini-filter-container .filter-checkbox > div {
        text-align: center;
        width: 100px;
        padding: 4px;
    }

        .mini-filter-container .filter-checkbox > div > p > span {
            font-size: 12px;
            padding: 4px;
        }

.split-bar {
    border-right: 2px solid #000;
}

.font-italic {
    font-style: italic;
}

select.form-control {
    padding-top: 0;
    padding-bottom: 0;
}

.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

    .row-eq-height > [class*="col-"] {
    }

/*** LOGIN ****/
.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

.section-login .btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    margin-left: 25%;
}
/*
 * Card component
 */
.card {
    background-color: #f7f7f7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
/*
 * Form styles
 */
.profile-name-card {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 0;
    min-height: 1em;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #inputEmail, .form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email], .form-signin input[type=password], .form-signin input[type=text], .form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: #6891a2;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #6891a2;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #6891a2;
}

.btn.btn-signin {
    /*background-color: #4d90fe; */
    background-color: #6891a2;
    /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

    .btn.btn-signin:hover, .btn.btn-signin:active, .btn.btn-signin:focus {
        background-color: #0c6121;
    }

.forgot-password {
    color: #6891a2;
}

    .forgot-password:hover, .forgot-password:active, .forgot-password:focus {
        color: #0c6121;
    }

.section-login {
    background: url(/Content/images/bg-login.png) no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
}

.form-login {
    position: absolute;
    left: 50%;
    top: 35%;
    text-align: center;
    width: 546px;
    height: 265px;
    margin-left: -273px;
    /*half width*/
    margin-top: -132px;
    /*half height*/
}

.input-size {
    width: 50%;
    margin: auto;
    font-size: 19px !important;
    text-align: center;
}

.button-size {
    width: 50%;
    margin: auto;
    text-align: center;
    font-size: 1.3rem;
}

section-login .btn {
    font-weight: 400;
    height: 45px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

section-login button {
    font-family: 'Porschav';
}

@font-face {
    font-family: 'Porschav';
    src: url(fonts/911porschav3.ttf);
}

.edit-project-status {
    position: absolute;
    bottom: 0;
    right: 35px;
    text-decoration: underline;
}

.fa-icon-font-size30 {
    font-size: 30px;
}

.project-status-to-do {
    position: absolute;
    float: right;
    bottom: 20px;
    width: 22px;
    height: 22px;
    z-index: 100;
}

.currency-input {
}

    .currency-input label {
        position: absolute;
        background: white;
        left: 0px;
        top: 0px;
        cursor: pointer;
    }

    .currency-input input {
        position: relative;
        width: 200px;
    }

    .currency-input input, .currency-input label {
        padding: 0;
        border: 1px solid black;
        width: 200px;
        font-family: Arial;
        line-height: 20px;
        text-align: right;
        font-size: 12px;
    }

        .currency-input input:focus + .currency-input label {
            display: none;
        }


.pl-7 {
    padding-left: 7px !important;
}

.w-190 {
    width: 190px;
}

.font-navy {
    color: #004a71;
}


.bg3-content-before-summary-first {
    border-left: 0px !important;
    background: transparent !important;
    border-bottom: 0px !important;
}

.bg3-content-before-summary {
    border-left: 0px !important;
    background: transparent !important;
    border-bottom: 0px !important;
    border-top: 0px !important;
}

.bg3-content-summary {
    background-color: #D5D7D8 !important;
}

.bg3-content-percentage {
    background-color: #FBAD18 !important;
}

.border-bottom-0 {
    border-bottom: 0px !important;
}

.full-text-pp {
    height: 30px;
    margin-left: 35px;
    width: 100%;
    margin-bottom: 30px;
}

.full-textarea-pp {
    height: 100px;
    margin-left: 35px;
    width: 100%;
    margin-bottom: 30px;
    font-family: Kanit-Regular !important;
    font-size: 100% !important;
}

.err-vali-pp {
    font-size: 65%;
    color: #dc3545;
    position: absolute;
    right: 250px;
    padding-top: 20px;
}

#version-number {
    position: fixed;
    bottom: 0;
    right: 0;
    margin-right:10px;
    color:lightgray;
    font-size: 8px;
}

/*Custom Style DevExpress*/
.dx-treelist-headers .dx-header-row,
.dx-datagrid-headers .dx-header-row {
    background-color: #043E5E;
    color: #fff;
    font-weight: 500;
}

.dx-treelist-rowsview .dx-treelist-empty-space {
    width: 10px;
}

.dx-treelist-header-panel {
    display:none;
}
/*============ CUSTOMIZE FOR SANSIRI*/
.project-container .filter-wrap {
    /*padding: 10px 20px;*/
    padding: 10px 5px 2px;
    background: #fff;
    margin: 2px 7px 0px;
}

    .project-container .filter-wrap > div {
        padding-left:5px!important;
        padding-right:5px!important;
    }

    .filter-keyword input {
        width: 100%;
    }

.project-detail {
    width: 900px;
}
.page-title {
    font-size:18px;
}
.modal-header {
    background: #043e5e;
    color: white;
}