﻿/* DEFAULTS
----------------------------------------------------------*/
.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .5);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .5);
}

    .dropdown-menu .divider {
        background-color: #6E6E6E;
    }

body {
    background: white;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    position: absolute;
    min-width: 100%;
    min-height: 100%;
}

a:link {
    color: #034af3;
}

a:visited {
    color: #8B1F02;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #034af3;
}

p {
    margin-bottom: 10px;
    line-height: 1em;
}

.form-control
{
    display: block;
    width: 100%;
    height: 30px;
    padding: 3px 5px;
    font-size: 14px;
    line-height: 1;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

@media only screen and (max-width: 1200px) {
    .ob_gCS {
        background-color: red;
    }
}

/* HEADINGS
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

.navbar-nav > li > a,
.navbar-brand,
.navbar-nav > li > a {
    color: #fff !important;
}

.navbar {
    border-radius: 0 !important;
    z-index: 99;
}

/* this rule styles <h1> and <h2> tags that are the
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/

/*.page {
    width: 100%;
    background-color: #fff;
    margin: 0 auto 0 auto;
    border: 1px solid #496077;
}*/
input[type=text] {
    /*border:solid 1px black;*/
    padding-left: 5px;
}

textarea {
    /*border:solid 1px black;*/
    padding-left: 5px;
}

/*select {
                border:solid 1px black;
   }*/

.header {
    position: relative;
    margin: 0;
    padding: 0;
    background: #4b6c9e;
    width: 100%;
    top: 0;
    left: 0;
    height: 95px;
}

    .header h1 {
        border-color: inherit;
        border-width: medium;
        font-weight: 700;
        margin: 0;
        padding: 0 0 0 20px;
        color: #f9f9f9;
        line-height: 1.4em;
        font-size: 2em;
        width: 713px;
    }

.main {
    padding: 0 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
}

.leftCol {
    padding: 6px 0;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.TopMost {
    z-index:99;
}

.footer {
    padding: 0 0 0 0;
    margin: 20px auto 0;
    text-align: center;
    line-height: normal;
    height: 35px;
    background-color: #cccccc;
    width: 100%;
    float: left;
}

.wrapper {
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
    float: left;
}

.wrapperPond {
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 50px;
    float: left;
}

.wrapper2 {
    width: 100%;
    min-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
}

.wrapper1024 {
    min-width: 1024px;
    width: 1024px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    background-color: #fff;
}

@media print {
    a[href]:after {
        content: none !important;
    }
    
    a:link:after, a:visited:after {
        content: "" !important;
    }
    /*Hide the Sorting arrow */
    .ob_gC img {
        display:none;
    }

    /*Hide the "Records 1 to 10 of xxx - Pages:"*/
    .ob_gFPT {
        display: none;
    }
    /*========================================================*/

    /*Hide filter Area*/
    .ob_gFlICont {
        display: none;
    }

    /*========================================================*/
    /*Hide Page size selector and Filter Button*/
    .ob_gPSTT {
        display: none !important;
    }

    .ob_gFcont, .ob_gPSTT {
        display: none !important;
    }

    .ob_gALF {
        display: none !important;
    }

        .ob_gALF:hover {
            display: none !important;
        }

    .ob_gALFS {
        display: none !important;
    }

    .ob_gPLD {
        display: none !important;
    }
    /*========================================================*/
    /*Hide Grouping area*/
    .ob_gGA {
        display: none;
    }

    .ob_gBLSWG, .ob_gBRSWG {
        top: 17px !important;
    }

    .ob_gGACont {
        height: 17px !important;
        position: relative !important;
        background-image: url(styles/black_glass/header_corner_middle.png) !important;
        background-repeat: repeat-x !important;
        font-size: 1px !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .ob_gGACnL {
        background-image: url(styles/black_glass/header_corner_left.png) !important;
        height: 17px !important;
        width: 25px !important;
        background-repeat: no-repeat !important;
        position: absolute !important;
        left: -25px !important;
    }

    .ob_gGACnR {
        background-image: url(styles/black_glass/header_corner_right.png) !important;
        height: 17px !important;
        width: 25px !important;
        background-repeat: no-repeat !important;
        position: absolute !important;
        right: -25px !important;
    }

    /*========================================================*/

    /* ปรับขนาดตาราง GridView สำหรับ Print ใหม่*/
    table, th, tr, td {
        padding: 3px !important;
        /*line-height: 1 !important;*/
        margin: 0 !important;
    }

    .no-print {
        display: none !important;
    }

    th {
        font-weight: bold;
        font-size: 8pt;
    }

    td {
        white-space: nowrap;
        overflow: hidden;
        font-size: 7pt;
        padding: 3px;
    }

    tfoot {
        font-size: 8pt;
    }
    /*เปลี่ยนขนาดฟ้อนท์ในกริด*/
    .ob_gC, .ob_gBody, .ob_gCW {
        height: 25px !important;
        font-size: 8pt !important;
    }
        /*==========================*/

        .ob_gBody .ob_gC, div.ob_gCc1, .ob_gBody .ob_gCW div.ob_gCc1 {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

            .ob_gBody .ob_gC div.ob_gCc2, .ob_gBody .ob_gCW div.ob_gCc2 {
                padding-left: 3px !important;
                margin-right: 3px !important;
            }
}

/* FORM ELEMENTS
----------------------------------------------------------*/

fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #ccc;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

    fieldset.login label, fieldset.register label, fieldset.changePassword label {
        display: block;
    }

    fieldset label.inline {
        display: inline;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry {
    border: 1px solid #ccc;
}

input.passwordEntry {
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo {
    width: 71%;
}

/* MISC
----------------------------------------------------------*/

.clear {
    clear: both;
}

.title {
    display: block;
    float: left;
    text-align: left;
}

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;
    z-index: 1;
}

    .loginDisplay a:link {
        color: white;
    }

    .loginDisplay a:visited {
        color: white;
    }

    .loginDisplay a:hover {
        color: white;
    }

.failureNotification {
    font-size: 1.2em;
    color: Red;
}

.bold {
    font-weight: bold;
}

/*AutoComplete flyout */
.autocomplete_completionListElement {
    margin: 0 !important;
    background-color: inherit;
    color: windowtext;
    border: buttonshadow;
    border-width: 1px;
    border-style: solid;
    cursor: default;
    overflow: auto;
    height: 200px;
    font-family: Tahoma;
    font-size: medium;
    text-align: left;
    list-style-type: none;
}
/* AutoComplete highlighted item */
.autocomplete_highlightedListItem {
    background-color: #ffff99;
    color: black;
    padding: 1px;
}

/* AutoComplete item */
.autocomplete_listItem {
    background-color: window;
    color: windowtext;
    padding: 1px;
}

/*gridview pager setting*/
.GridPager table tbody tr td a,
.GridPager table tbody tr td span {
    position: relative;
    float: left;
    padding: 15px 15px;
    margin-left: -1px;
    line-height: 0.8em;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.GridPager table > tbody > tr > td > span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.GridPager table > tbody > tr > td:first-child > a,
.GridPager table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.GridPager table > tbody > tr > td:last-child > a,
.GridPager table > tbody > tr > td:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.GridPager table > tbody > tr > td > a:hover,
.GridPager table table > tbody > tr > td > span:hover,
.GridPager table table > tbody > tr > td > a:focus,
.GridPager table table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}
/*end gridview */

/* DEFAULTS
----------------------------------------------------------*/

.container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.LeftSide {
    min-height: 207px;
    max-height: 600px;
    padding: 10px;
    margin: 0;
    line-height: 1.2em;
    border: 2px solid #a1a1a1;
}

.redHeader {
    color: orangered;
}

.RightSide {
    min-height: 207px;
    max-height: 400px;
    padding: 10px;
    margin: 0;
    line-height: 1.3em;
    border: 2px solid #a1a1a1;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
}

.CutMachineStatus {
    background: #dddddd;
}

.BlowMachineStatus {
    background: #B8EFF5;
}

.statusHR {
    border-top: 1px solid #a1a1a1;
    margin: 10px 0 10px 0;
    width: 100%;
    /*Rest of stuff here*/
}

.login {
    padding: 30px;
}

.BoxInsideLogin {
    border: solid 1px gray;
    height: 210px;
    padding: 10px;
    background-color: #F0F0F0;
    border-radius: 20px;
    margin-bottom: 20px;
    -ms-align-content: center;
    -webkit-align-content: center;
    align-content: center;
    text-align: center;
}