﻿/* mymargin-left */
.mymargin-left15 {
    margin-left: 15px;
}
.mymargin-top10 {
    margin-top: 10px;
}
.mymargin-top20 {
    margin-top: 20px;
}
.mymargin-top80 {
    margin-top: 80px;
}
.mymargin-top100 {
    margin-top: 100px;
}
/* mymargin-left */

/* mytext-info */
.mytext-info13 {
    font-size: 13px;
}
.mytext-info14 {
    font-size: 14px;
}
.mytext-info15 {
    font-size: 15px;
}
/* mytext-info */

/* scrollmenu */
div.scrollmenu {
    background-color: #484646;
    overflow: auto;
    white-space: nowrap;
}
    div.scrollmenu a {
        display: inline-block;
        color: white;
        text-align: center;
        padding: 14px;
        text-decoration: none;
    }
        div.scrollmenu a:hover {
            background-color: #777;
        }
    div.scrollmenu button {
        /*display: inline-block;
        color: white;
        text-align: center;
        padding: 14px;
        text-decoration: none;*/
        display: inline-block;
        text-align: center;
        background-color: #727272;
        color: white;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px;
        text-decoration: none;
    }

        div.scrollmenu button:hover {
            background-color: #777;
        }
.scrollmenu-null {
}
/* scrollmenu */

/* Style tab links */
.tablink {
    background-color: #555;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 25%;
}

    .tablink:hover {
        background-color: #777;
    }
/* Style tab links */

/* tabcontent */
.tabcontent {
    color: white;
    display: none;
    padding: 100px 20px;
    height: 100%;
}
#Home {
    background-color: green;
}
/* tabcontent */

/* modal */
.modal-headerm, h4, .close {
    background-color: #5cb85c;
    color: white !important;
    text-align: center;
    font-size: 30px;
}

.modal-footerm {
    background-color: #f9f9f9;
}
/* modal */

/* fix menu */
.navbar-fixed-m {
    overflow: hidden;
    background-color: #333;
    color:white;
    position: fixed;
    top: 0;
    width: 100%;
}

.main-navbar-fixed-m {
    padding: 16px;
    margin-top: 50px;
    /*height: 1500px;*/
}
/* fix menu */

/* arrow slide menu */
nav#menum-container {
    background: #a0cbd8;
    position: relative;
    width: 100%;
    height: 30px;
}

#btnm-nav-previous {
    text-align: center;
    color: white;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    left: 0px;
    padding: 5px 8px;
    background: #506f78;
    fill: #FFF;
}

#btnm-nav-next {
    text-align: center;
    color: white;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    right: 0px;
    padding: 5px 8px;
    background: #506f78;
    fill: #FFF;
}

.menum-inner-box {
    width: 100%;
    white-space: nowrap;
    margin: 0 auto;
    overflow: hidden;
    padding: 0px 30px;
    box-sizing: border-box;
}

.menum {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: block;
    text-align: center;
}

.menum-item {
    height: 100%;
    padding: 0px 18px;
    color: #000;
    display: inline;
    margin: 0 auto;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
    white-space: no-wrap;
    font-weight: bold;
}

    .menum-item:hover {
        text-decoration: underline;
        font-weight: bold;
        color: yellow;
    }

a.menum-item:link {
    text-decoration: none;
    font-weight: bold;
    color: #000;
}

/*a.menum-item:visited {
    text-decoration: underline;
    font-weight: bold;
    color: yellow;
}*/

a.menum-item:hover {
    text-decoration: underline;
    font-weight: bold;
    color: yellow;
}

a.menum-item:active {
    text-decoration: underline;
    font-weight: bold;
    color: green;
}


@media only screen and (max-width: 480px) {
    #btnm-nav-previous {
        display: none;
    }

    #btnm-nav-next {
        display: none;
    }

    .menum-inner-box {
        width: 100%;
        overflow-x: auto;
    }
}
/* scroll menu */

/* scroll table */
.my-custom-scrollbar-240 {
    position: relative;
    /*height: 240px;*/
    max-height: 240px;
    overflow: auto;
    vertical-align: top;
}

.my-custom-scrollbar-450 {
    position: relative;
    /*height: 450px;*/
    max-height: 450px;
    overflow: auto;
    vertical-align: top;
}

.my-custom-scrollbar-500 {
    position: relative;
    /*height: 500px;*/
    max-height: 500px;
    overflow: auto;
    vertical-align: top;
}

.my-custom-scrollbar-600 {
    position: relative;
    /*height: 600px;*/
    max-height: 600px;
    overflow: auto;
    vertical-align: top;
}

.my-custom-scrollbar-700 {
    position: relative;
    /*height: 700px;*/
    max-height: 700px;
    overflow: auto;
    vertical-align: top;
}

.table-wrapper-scroll-y {
    display: block;
}
/* scroll table */

/* scroll tab */
.wrapperm {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    padding: 5px;
    height: 50px;
}

.listm {
    position: absolute;
    left: 0px;
    top: 0px;
    min-width: 3000px;
    margin-left: 12px;
    margin-top: 0px;
}

    .listm li {
        display: table-cell;
        position: relative;
        text-align: center;
        cursor: grab;
        cursor: -webkit-grab;
        color: #efefef;
        font-weight: bold;
        vertical-align: middle;
    }

/*.listm-li {
    display: table-cell;
    position: relative;
    text-align: center;
    cursor: grab;
    cursor: -webkit-grab;
    color: #efefef;
    font-weight:bold;
    vertical-align: middle;
}*/

.scrollerm {
    text-align: center;
    cursor: pointer;
    /*display: none;*/
    padding: 7px;
    padding-top: 11px;
    white-space: no-wrap;
    vertical-align: middle;
    background-color: #fff;
}

.scrollerm-right {
    float: right;
}

.scrollerm-left {
    float: left;
}
/* scroll tab */

/* thm-style */
.thm-style {
    background-color: #bae8ea;
}
/* thm-style */

/* opdcard-style */
.opdcard-printdiv {
    font-size: 30px;
    font-family: 'Angsana New';
}
.opdcard-linediv {
    margin-top: 4px;
}
.opdcard-linediv-font20 {
    margin-top: 4px;
    font-size: 20px;
}
.opdcard-linediv-font22 {
    margin-top: 4px;
    font-size: 22px;
}
.opdcard-linediv-font24 {
    margin-top: 4px;
    font-size: 24px;
}
.opdcard-span-checkbox {
    font-size: 35px;
}
/* opdcard-style */

/* sticker-style */
.sticker-printdiv {
    font-size: 14px;
    font-family: 'Angsana New';
    font-weight: bold;
    width: 65mm;
    height : 25mm;
}

.sticker-table-tr-short {
    height: 10px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}
.sticker-table-td-short {
    height: 10px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}
div.a {
    line-height: 1;
    width: inherit;
}
div.b {
    line-height: 0.5px;
}
div.b-right {
    text-align: right;
}
div.b-center {
    text-align: center;
}
/* sticker-style */

.img-auto-m {
    display: block;
    max-width: 100%;
    height: auto;
}