﻿
@font-face {
    font-family: Kanit-Regular;
    src: url(../font/Kanit-Regular.ttf);
}

html {
    font-family: Kanit-Regular;
}

body {
    font-family: Kanit-Regular;
}

.m-0 {
    margin: 0;
}


.mt-1 {
    margin-top: 20px;
}

.mt-2 {
    margin-top: 40px;
}

.mt-3 {
    margin-top: 60px;
}

.mt-4 {
    margin-top: 80px;
}

.mt-5 {
    margin-top: 100px;
}

.ml-1 {
    margin-left: 10px !important;
}

.ml-2 {
    margin-left: 20px !important;
}

.ml-3 {
    margin-left: 30px !important;
}

.ml-4 {
    margin-left: 40px !important;
}

.ml-5 {
    margin-left: 50px !important;
}

.mr-1 {
    margin-right: 10px !important;
}

.mr-2 {
    margin-right: 20px !important;
}

.mr-3 {
    margin-right: 30px !important;
}

.mr-4 {
    margin-right: 40px !important;
}

.mr-5 {
    margin-right: 50px !important;
}

.mr-6 {
    margin-right: 60px !important;
}

.mr-7 {
    margin-right: 60px !important;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.w-20 {
    width: 20%;
}

.w-50 {
    width: 50%;
}

.w-100 {
    width: 100%;
}

.font_table_18 {
    font-size: 18px;
    color: black;
}

.font_table_18_red {
    font-size: 18px;
    color: red;
}

.btn-search {
    border-radius: 0 10px 10px 0 !important;
}

label {
    color: black;
    font-size: 16px;
}

.p-0 {
    padding: 0px !important;
}

.p-1 {
    padding: 20px !important;
}

.pt-1 {
    padding-top: 20px !important;
}
.pt-2 {
    padding-top: 40px !important;
}

.pt-3 {
    padding-top: 60px !important;
}


.blink_me {
    animation: blinker 3s linear infinite;
}

.blink_me_2 {
    animation: blinker 2s linear infinite;
}

.blink_me_5 {
    animation: blinker 5s linear infinite;
}


.blink_call {
    animation: blinker 2s linear infinite;
}


@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}


    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        /*width:100%;*/
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

/*End DropDown*/

th {
    font-size: 16px;
    color: black;
    text-align: center !important;
}

td {
    font-size: 16px;
    color: black;
}


/*animation*/
.cssanimation, .cssanimation span {
    animation-duration: .2s;
    animation-fill-mode: both;
}

    .cssanimation span {
        display: inline-block
    }

.fadeInBottom {
    animation-name: fadeInBottom
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1
    }
}

.w3-animate-left {
    position: relative;
    animation: animateleft 0.1s
}

@keyframes animateleft {
    from {
        left: -300px;
        opacity: 0
    }

    to {
        left: 0;
        opacity: 1
    }
}

.w3-animate-right {
    position: relative;
    animation: animateright 2s
}

@keyframes animateright {
    from {
        right: -25%;
        opacity: 1
    }

    to {
        right: 0px;
        opacity: 1
    }
}

.w3-animate-fading {
    position: relative;
    animation: animatefading 0.8s
}

@keyframes animatefading {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/*end animation*/

.iframe {
    width: 100%;
    border: none;
}

/*Style GridView*/
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #dd4814;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            color: #97310e;
            background-color: #eeeeee;
            border-color: #dddddd;
        }
/*Style GridView*/

.bg_green_tod {
    background-color: #008f6a;
}

.tile-stats-wait {
    position: relative;
    display: block;
    margin-bottom: 1px;
    border: 1px solid #E4E4E4;
    -webkit-border-radius: 5px;
    overflow: hidden;
    padding-bottom: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background-clip: padding-box;
    background: #FFF;
    transition: all 300ms ease-in-out
}
