﻿@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600;700&display=swap');

.sarabun-thin {
    font-family: "Sarabun", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.sarabun-extralight {
    font-family: "Sarabun", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.sarabun-light {
    font-family: "Sarabun", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.sarabun-regular {
    font-family: "Sarabun", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.sarabun-medium {
    font-family: "Sarabun", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.sarabun-semibold {
    font-family: "Sarabun", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.sarabun-bold {
    font-family: "Sarabun", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.sarabun-extrabold {
    font-family: "Sarabun", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.sarabun-thin-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.sarabun-extralight-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.sarabun-light-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.sarabun-regular-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.sarabun-medium-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.sarabun-semibold-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.sarabun-bold-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.sarabun-extrabold-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 800;
    font-style: italic;
}



body {
    margin: 0px;
    padding: 0px;
    font-size: 17px;
    color: #425563;
    /*height: 100%;*/
}

html {
    /*height: 100%;*/
}

.setgrid td {
    border-bottom-color: #333333;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-top:5px;
    padding-bottom:5px;
}

.gridtd {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #333333;
}

.gridicon {
    padding: 5px;
}

.gridtd-left {
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #333333;
}

.gridtd-right {
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #333333;
}

.gridstats {
    border-style: solid none solid none;
    border-top-width: 1px;
    border-top-color: #EEE;
    border-bottom-width: 1px;
    border-bottom-color: #EEE;
}

    .gridstats td {
        border-style: solid;
        border-width: 1px;
        border-color: #EEE;
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        color: #333333;
    }

.grid {
    border-style: solid none solid none;
    border-top-width: 1px;
    border-top-color: #EEE;
    border-bottom-width: 1px;
    border-bottom-color: #EEE;
}

    .grid td {
        border: 1px solid #CCC;
        /*border-top-width: 1px;
border-top-color: #EEE;*/
        font-size: 13px;
        color: #333333;
    }
.nogrid td {
    border: none;
}

.gridheader {
    height: 35px;
    color: #333333;
    font-size: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(238,238,238,1) 50%, rgba(255,255,255,1) 100%);
    border-radius: 20px;
}

    .gridheader th {
        padding-left: 10px;
        padding-right: 10px;
        border: 1px solid #CCC;
    }

.checkbox-in-textbox {
    position: absolute;
    left: 10px;
    top: 7px;
    padding: 0px;
    margin: 0px;
}

.form-control-checkbox {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    padding-left: 30px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.37rem;
    color: #495057;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #d2d6da;
    /*appearance: none;*/
    border-radius: 0.375rem;
    transition: 0.2s ease;
}

    .form-control-checkbox:focus {
        outline: 0;
        box-shadow: none;
    }

.checkboxStyle {
    padding: 5px 8px 5px 8px;
    color: black;
}

.fitbox {
    margin: 0px;
}

.PagerStyle td {
    padding-top: 5px;
    padding-bottom: 5px;
}

    .PagerStyle td table tr {
        border: 0px;
    }

        .PagerStyle td table tr td {
            border: 0px;
        }

            .PagerStyle td table tr td a {
                padding: 5px 10px 5px 10px;
                /*border: solid 1px #ccc;*/
                margin: 1px 1px 1px 1px;
                text-decoration: none;
                background: #cccccc;
                border-radius: 3px;
            }

            .PagerStyle td table tr td span {
                color: #FFFFFF;
                padding: 5px 10px 5px 10px;
                /*border: solid 1px #00799e;*/
                margin: 1px 1px 1px 1px;
                text-decoration: none;
                background: #e12c6c;
                border-radius: 3px;
            }

.nonerollover {
    text-decoration: none;
}

.rollAlpha:hover {
    opacity: 0.9;
}

.rollGray:hover {
    background-color: #EEEEEE;
    cursor: pointer;
}

.tbCenter {
    text-align: center;
}

.ddlStyle {
    padding: 3px;
    color: #333333;
}

.uploadStyle {
    padding: 3px;
    color: #333333;
    border-radius: 7px;
    border: 0;
}

.btnprimary {
    margin: 0px;
    display: inline-block;
    cursor: pointer;
    background-color: #e91e63;
    border-color: #e91e63;
    --bs-badge-padding-x: 20px;
    --bs-badge-padding-y: 10px;
    --bs-badge-font-size: 0.8em;
    --bs-badge-font-weight: 500;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.45rem;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

    .btnprimary:hover {
        color: white;
        opacity: 0.9;
        box-shadow: 0 3px 3px 0 rgba(233, 30, 99, 0.15), 0 3px 1px -2px rgba(233, 30, 99, 0.2), 0 1px 5px 0 rgba(233, 30, 99, 0.15);
    }

.btnsuccess {
    margin: 0px;
    display: inline-block;
    cursor: pointer;
    background-color: #4CAF50;
    border-color: #4CAF50;
    --bs-badge-padding-x: 20px;
    --bs-badge-padding-y: 10px;
    --bs-badge-font-size: 0.8em;
    --bs-badge-font-weight: 500;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.45rem;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

    .btnsuccess:hover {
        color: white;
        opacity: 0.9;
        box-shadow: 0 14px 26px -12px rgba(76, 175, 80, 0.4), 0 4px 23px 0 rgba(76, 175, 80, 0.15), 0 8px 10px -5px rgba(76, 175, 80, 0.2);
    }

.btnwarning {
    margin: 0px;
    display: inline-block;
    cursor: pointer;
    background-color: #fc960e;
    border-color: #4CAF50;
    --bs-badge-padding-x: 20px;
    --bs-badge-padding-y: 10px;
    --bs-badge-font-size: 0.8em;
    --bs-badge-font-weight: 500;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.45rem;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

    .btnwarning:hover {
        color: white;
        opacity: 0.9;
        box-shadow: 0 14px 26px -12px rgba(251, 140, 0, 0.4), 0 4px 23px 0 rgba(251, 140, 0, 0.15), 0 8px 10px -5px rgba(251, 140, 0, 0.2);
    }

.btndark {
    margin: 0px;
    display: inline-block;
    cursor: pointer;
    background-color: #344767;
    border-color: #4CAF50;
    --bs-badge-padding-x: 20px;
    --bs-badge-padding-y: 10px;
    --bs-badge-font-size: 0.8em;
    --bs-badge-font-weight: 500;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.45rem;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

    .btndark:hover {
        color: white;
        opacity: 0.9;
        box-shadow: 0 14px 26px -12px rgba(52, 71, 103, 0.4), 0 4px 23px 0 rgba(52, 71, 103, 0.15), 0 8px 10px -5px rgba(52, 71, 103, 0.2);
    }

.margin0 {
    margin: 0px;
}

.padding0 {
    padding: 0px;
}

.paddingH0 {
    padding-top: 0px;
    padding-bottom: 0px;
}

.btn_add {
    padding: 0px 9px 3px 9px;
    font-size: 13px;
}

.btn_icon {
    margin: 0px;
    padding: 8px;
}

.btn_icon1 {
    margin: 0px;
    padding: 7px 9px 6px 9px;
}

.btn_icon2 {
    margin: 0px 6px 0px 6px;
    padding: 7px 9px 6px 9px;
}

.btnBacteria1 {
    height: 100%;
    padding-top: 4px;
    background-color: #FFFFCC;
    color: #333333;
    font-size: 15px;
}

.btnBacteria2 {
    height: 100%;
    margin-top: 3px;
    background-color: #EEEEEE;
}

.ComboClass .ajax__combobox_buttoncontainer button {
    display: none;
}

.ComboClass .ajax__combobox_itemlist {
    /*position: relative !important;*/
    height: 150px !important;
}

.ComboClass2 .ajax__combobox_inputcontainer .ajax__combobox_textboxcontainer input {
    border: 1px solid #DDDDDD;
    border-radius: 7px;
    padding: 5px 10px 5px 10px;
    outline: none;
}

.ComboClass2 .ajax__combobox_buttoncontainer button {
    display: none;
}

.ComboClass2 .ajax__combobox_itemlist {
    /*position: relative !important;*/
    height: 150px !important;
    font-size: 14px;
}
/*.btnRight {
position: absolute;
left:166px;
width: 40px;
border-radius: 0px 6px 6px 0px;
border: 1px solid #CCCCCC;
text-align: center;
vertical-align: middle;
padding-top: 6px;
padding-bottom: 7px;
color: #333333;
background-color: #EEEEEE;
float: right;
}
.btnRight:hover {
color:#999999;
}
.tbLeft {
border-top-left-radius: 6px;
border-top-right-radius: 0px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 0px;
border: 1px solid #CCCCCC;
}*/
.tbStyle {
    font-size: 14px;
    height:30px;
    font-family: Sarabun;
    border: 1px solid #999999;
    border-radius: 5px;
    padding: 2px 10px 2px 10px;
    outline:none;
}

.colsplit ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

.padding-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.btnclosestyle {
    background-color: red;
    color: white;
    border-radius: 7px;
    padding: 2px 5px 0px 5px;
}

    .btnclosestyle:hover {
        color: white;
    }

.centerscreen {
    position: fixed;
    top: 50%;
    margin-top: -9em; /*set to a negative number 1/2 of your height*/
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    z-index: 2;
}

.largerCheckbox input[type=checkbox] {
    width: 20px;
    height: 20px;
}

.toCenter {
    margin: 0px auto;
}
/* The container */
.container {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }
/* Create a custom checkbox */
.checkmark {
    position: absolute;
    /*top: -10px;*/
    left: 0;
    height: 22px;
    width: 22px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #CCCCCC;
}
/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    /*background-color: #ccc;*/
}
/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    /*background-color: #2196F3;*/
    background-color: #e22d6d;
    border: 1px solid transparent;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}
/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.dl_row_valign {
    vertical-align: top !important;
}

.setShadow {
    box-shadow: 0px 0px 5px #EEEEEE;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#DDDDDD')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#DDDDDD');
}

.radius10 {
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

.truncate {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space:unset;
}

.truncate1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.gold-border {
    border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    box-shadow: 0px 0px 10px #e6bb37;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37');
    margin-bottom: 10px;
    font-size: 14px;
    background: linear-gradient(126deg, rgba(255,220,60,1) 0%, rgba(204,153,51,1) 34%, rgba(255,220,60,1) 69%, rgba(204,153,51,1) 100%);
}


.product_main {
    border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    box-shadow: 0px 0px 12px #e6bb37;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37');
    margin-bottom: 20px;
    font-size: 14px;
    display: inline-block;
    background: linear-gradient(126deg, rgba(255,220,60,0.7) 0%, rgba(204,153,51,1) 34%, rgba(255,220,60,1) 69%, rgba(204,153,51,0.9) 100%);
    padding: 2px;
}

.backoffice_shelf {
    width: 150px;
    height: 150px;
    position: relative;
}

    .backoffice_shelf img {
        max-height: 150px;
        max-width: 150px;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 0;
    }


.product_shelf {
    width: 150px;
    height: 150px;
    position: relative;
}

    .product_shelf img {
        max-height: 150px;
        max-width: 150px;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 0;
    }

.member_shelf {
    border-radius: 80px;
    -moz-border-radius: 80px;
    -webkit-border-radius: 80px;
    box-shadow: 0px 0px 12px #e6bb37;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37');
    margin-bottom: 10px;
    /*font-size: 15px;*/
    display: inline-block;
    background: linear-gradient(126deg, rgba(255,220,60,1) 0%, rgba(204,153,51,1) 34%, rgba(255,220,60,1) 69%, rgba(204,153,51,1) 100%);
    padding: 5px;
}

.member_shelf_small {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    box-shadow: 0px 0px 6px #e6bb37;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#e6bb37');
    margin-bottom: 1vw;
    /*font-size: 15px;*/
    display: inline-block;
    background: linear-gradient(126deg, rgba(255,220,60,1) 0%, rgba(204,153,51,1) 34%, rgba(255,220,60,1) 69%, rgba(204,153,51,1) 100%);
    padding: 0.1vw;
}


.certificate_shelf {
    width: 150px;
    height: 100px;
    position: relative;
    background-color:#999999;
}

    .certificate_shelf img {
        max-width: 150px;
        max-height: 100px;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 0;
    }

.certificate_shelf_front {
    width: 250px;
    height: 160px;
    position: relative;
}

    /*.certificate_shelf_front img {
        max-width: 250px;
        max-height: 160px;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 0;
    }*/

.product_top {
    border: 1px solid gold;
    background-color: beige;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 5px #F5F5DC;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#F5F5DC')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#F5F5DC');
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
    width: 170px
}

    .product_top #menu {
        border-top: 1px solid gold;
    }

    .product_top #menusub {
        border-right: 1px solid gold;
    }

.product_untop {
    border: 1px solid #e6e6e6;
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 5px #EEEEEE;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#EEEEEE')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#EEEEEE');
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
    width: 170px
}

.untop {
    border: 1px solid #e6e6e6;
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 5px #EEEEEE;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#EEEEEE')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#EEEEEE');
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
}

.untop #menu {
    border-top: 1px solid #e6e6e6;
}

.untop #menusub {
    border-right: 1px solid #e6e6e6;
}


.shelf {
    /*width: 150px;
    height: 150px;*/
    position: relative;
}

.shelf img {
        /*max-height: 150px;
        max-width: 150px;*/
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 0;
    }

    .product_untop #menu {
        border-top: 1px solid #e6e6e6;
    }

    .product_untop #menusub {
        border-right: 1px solid #e6e6e6;
    }

.product_top .product_menu_top {
    border-radius: 5px;
    height: 23px;
}

    .product_top .product_menu_top:hover {
        background-color: gold;
    }

.product_untop .product_menu_top {
    border-radius: 5px;
    height: 23px;
}

    .product_untop .product_menu_top:hover {
        background-color: #EEEEEE;
    }

.certificate_untop {
    border: 1px solid #e6e6e6;
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 0px 5px #EEEEEE;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#EEEEEE')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#EEEEEE');
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
    width: 170px
}

    .certificate_untop #menu {
        border-top: 1px solid #e6e6e6;
    }

    .certificate_untop #menusub {
        border-right: 1px solid #e6e6e6;
    }

    .certificate_untop .certificate_menu_top {
        border-radius: 5px;
        height: 23px;
    }

        .certificate_untop .certificate_menu_top:hover {
            background-color: #EEEEEE;
        }

/*.btnPage {
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-color: #CCCCCC;
    border-style: solid;
    border-width: 1px;
    background-color: white;
    text-align: center;
    padding-top: 4px;
    color: #2b4e86;
}

    .btnPage:hover {
        color: #0070c0;
    }*/


.btnPage {
    font-family: Sarabun;
    font-size: 25px;
    height: 40px;
    width: 40px;
    text-align: center;
    color: black;
    border-radius: 5px;
    background-color: #DDDDDD;
    border: none;
    display: table-cell;
    vertical-align: middle;
}

.tbPage {
    font-family: Sarabun;
    font-size: 17px;
    height: 40px;
    width: 100px;
    text-align: center;
    color: black;
    border-radius: 5px;
    background-color: white;
    border: none;
    outline: 0;
}

.btn_style {
    font-family: Sarabun;
    font-size: 17px;
    height: 40px;
    text-align: center;
    color: black;
    border-radius: 5px;
    background-color: #DDDDDD;
    border: none;
    display: table-cell;
    vertical-align: middle;
}

    .btn_style:hover {
        color: black;
    }

.tb_style {
    font-size: 17px;
    font-family: Sarabun;
    height: 40px;
    color: black;
    border-radius: 5px;
    background-color: white;
    border: none;
    outline: 0;
    padding-left:10px;
}

.topic {
    background-image: url('/App_Image/topic_border.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    height: 67px;
    padding-top: 17px;
    color: #efb425;
    font-size: 28px;
}

.logo {
    max-width: 300px;
}

.contactbox {
    border: 1px solid #DDDDDD;
    border-radius: 7px;
    z-index: 2;
    height: 40px;
    position: relative;
}

    .contactbox div {
        font-size: 20px;
        position: absolute;
        display: inline-block;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        background-color: #EEEEEE;
        height: 100%;
        width: 40px;
        text-align: center;
        vertical-align: middle !important;
        z-index: 3;
        top: 0;
        padding-top: 3px;
        border-right: 1px solid #DDDDDD;
    }

    .contactbox .textbox {
        padding-left: 50px;
        height: 100%;
    }

.imageUpdate {
    max-width: 290px;
    max-height: 90px;
}

.certificate_image {
    /*max-height: 220px;
    max-width: 350px;*/
    width:100%;
    width: auto;
    height: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
}

.certificate_image_front {
    border-radius:10px;
    height: 160px;
    width: 250px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
}

.amulet_image {
    max-height: 150px;
    max-width: 150px;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
}

.imagesquare {
    width: auto;
    height: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
}

.rollImage {
    transition: 0.5s;
    cursor: pointer;
}

    .rollImage:hover {
        transition: 0.5s;
        opacity: 0.4;
        cursor: pointer;
    }