@font-face {
    font-family: 'TH-Sarabun PSK';
    src: url('/font/THSarabunNew.ttf');
}

@font-face {
    font-family: 'TH-Sarabun New';
    src: url('/font/THSarabunNew.ttf');
}

@font-face {
    font-family: 'TH-Charmonman';
    src: url('/font/TH Charmonman.ttf');
}

@font-face {
    font-family: 'TH-Krub';
    src: url('/font/TH Krub.ttf');
}

@font-face {
    font-family: 'TH-Srisakdi';
    src: url('/font/TH Srisakdi.ttf');
}

@font-face {
    font-family: 'TH-Niramit AS';
    src: url('/font/TH Niramit AS.ttf');
}

@font-face {
    font-family: 'TH-Charm of AU';
    src: url('/font/TH Charm of AU.ttf');
}

@font-face {
    font-family: 'TH-Kodchasal';
    src: url('/font/TH Kodchasal.ttf');
}

@font-face {
    font-family: 'TH-K2D July8';
    src: url('/font/TH K2D July8.ttf');
}

@font-face {
    font-family: 'TH-Mali Grade 6';
    src: url('/font/TH Mali Grade6.ttf');
}

@font-face {
    font-family: 'TH-Chakra Petch';
    src: url('/font/TH Chakra Petch.ttf');
}

@font-face {
    font-family: 'TH-Baijam';
    src: url('/font/TH Baijam.ttf');
}

@font-face {
    font-family: 'TH-KoHo';
    src: url('/font/TH KoHo.ttf');
}

@font-face {
    font-family: 'TH-Fah Kwang';
    src: url('/font/TH Fahkwang.ttf');
}

@font-face {
    font-family: 'maaja';
    src: url('/font/maaja ver 1.00.ttf');
}

@font-face {
    font-family: 'Prompt';
    src: url('/font/Prompt-Light.ttf');
}

@font-face {
    font-family: 'kanit';
    src: url('/font/Kanit Regular.ttf');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: kanit;
    /*font-size: 10px;*/
    scroll-behavior: smooth;
}

/*MainNavbar*/
.dropdown:hover >, .dropend:hover > .dropdown-menu {
    display: block;
    margin-top: .125em;
    margin-left: .125em;
    transition-delay: 8s;
    line-height: 30px;


}

ul .dropdown-menu .submenu {
    max-height: calc(100vh - 176px);
    overflow-y: scroll !important;


}

/*.dropdown .dropdown-menu {*/
/*    display: none;*/
/*    overflow-x: hidden;*/
/*    overflow-y: scroll;*/
/*}*/

@media screen and (min-width: 769px) {
    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    ul .dropdown-menu .submenu li a .dropdown-item {

        overflow-y: scroll !important;
        max-height: 500px;


    }

    .sub-menu .dropdown-menu-toggle {
        position: relative;
        right: 0;
    }

    .sub-menu li {
        margin-right: 2em;
    }

    .main-navigation ul ul {
        width: auto;
        white-space: nowrap;
    }
}

/*MainNavbar*/

/*ปุ่ม NAvBAR HAMBERGER*/
.navbar .toggle-btn {
    cursor: pointer;
    position: relative;
    top: 0;
    z-index: 10;
}

.navbar #toggle-menu {
    display: none;

}

.navbar .toggle-btn .bar {
    width: 25px;
    height: 3px;
    margin: 7px 0 7px auto;
    transition: all 0.2s ease-in-out;
    background-color: #222227;
}

.navbar #toggle-menu:checked + label.toggle-btn .bar:nth-child(2) {
    transform: translateX(50px);
    opacity: 0;
}

.navbar #toggle-menu:checked + label.toggle-btn .bar:nth-child(1) {
    transform: translateY(12px) rotate(45deg);

}

.navbar #toggle-menu:checked + label.toggle-btn .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);

}

/*ปุ่ม NAvBAR HAMBERGER*/

/*  hover  subject*/
a.hoverall {
    position: relative;
    text-decoration: none;
    font-family: "Prompt", sans-serif;
    color: black;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

a.hoverall:before,
a.hoverall:after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    background-color: #CC592D;
    transition: 0.55s;
}

a.hoverall:after {
    left: 0;
    bottom: -8px;
}

a.hoverall:before {
    right: 0;
    top: -5px;
}

a.hoverall:hover {
    color: #009683;
}

a.hoverall:hover:after,
a.hoverall:hover:before {
    width: 100%;
}

/*  hover  subject*/

/*  carddb cardHover use 2 cards in dashboard ons2 ใช้กับการ์ด8อัน*/
.carddb {
    display: block;
    position: relative;
    /*max-width: 262px;*/
    /*background-color: rgba(75,192,192,0.1);*/
    background-color: #FFFFFF;
    border-radius: 4px;
    /*padding: 32px 24px;*/
    margin: 10px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    /*border: 1px solid #AFEEEE;*/
    border: 1px solid #666666;
    box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);
    transform: scale(1.01);


    &:hover {
        transition: all 0.7s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: white;
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: #AFEEEE;
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);

    }
}

/*  carddb cardHover use 2 cards in dashboard ons2*/

/*ใช้กับการ์ดDBด้านบน*/
.carddbtop {
    width: 99%;
    display: block;
    position: relative;
    /*max-width: 262px;*/
    background-color: #d2e0f5;
    height: 100%;
    border-radius: 8px;
    /*padding: 32px 24px;*/
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 1px solid #696969;
    box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: #d2e0f5;
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: #d2e0f5;
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

/*ใช้กับการ์ดDBด้านบน*/

/*ใช้กับการ์ดDBกลาง*/
.carddbcenter {
    display: block;
    position: relative;
    /*max-width: 262px;*/
    background-color: rgba(75, 192, 192, 0.1);
    height: 100%;
    width:99%;
    border-radius: 8px;
    /*padding: 32px 24px;*/
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 1px solid #696969;
    box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: rgba(75, 192, 192, 0.1);
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: rgba(75, 192, 192, 0.1);
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

/*ใช้กับการ์ดDBด้านบน*/

/*!* ============ desktop view ============ *!*/
/*@media all and (min-width: 770px) {*/
/*    .dropdown-menu li {*/
/*        position: relative;*/
/*    }*/

/*    .nav-item .submenu {*/
/*        display: none;*/
/*        position: absolute;*/
/*        left: 100%;*/
/*        right: auto;*/
/*        top: -7px;*/
/*        max-height: 200px;*/
/*        overflow-x: hidden;*/
/*        overflow-y: scroll;*/
/*    }*/

/*    .nav-item .submenu-left {*/
/*        right: 100%;*/
/*        left: auto;*/


/*    }*/

/*    .dropdown-menu > li:hover {*/
/*        background-color: #f1f1f1*/
/*    }*/

/*    .dropdown-menu > li:hover > .submenu {*/
/*        display: block;*/
/*    }*/
/*}*/


/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
/*@media (max-width: 769px) {*/
/*    .dropdown-menu .dropdown-menu {*/
/*        margin-left: 0.7rem;*/
/*        margin-right: 0.7rem;*/
/*        margin-bottom: .5rem;*/
/*    }*/

/*    .dropdown-item::before {*/
/*        transform: rotate(-90deg);*/
/*    }*/
/*}*/


/*test Dashboard*/
/*Icon Dashboard*/
.icon-newsletter {
    color: #727cf5;
    font-size: 20px;
    background-color: rgba(114, 124, 245, 0.25);
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;

}

.icon-file {
    color: #727cf5;
    font-size: 20px;
    /*background-color: rgba(114, 124, 245, 0.25);*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;

}

.icon-helpme {
    color: #727cf5;
    font-size: 20px;
    /*background-color: rgba(255, 99, 71, 0.2);*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-dashboardhdd {
    color: RGBA(46, 139, 87, 1);
    font-size: 20px;
    /*background-color: #C8EAD1;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-egp {
    color: RGBA(65, 105, 225, 1);
    font-size: 20px;
    /*background-color: #C0E4F6;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-catalog {
    color: RGBA(65, 105, 225, 1);
    font-size: 20px;
    /*background-color: #C0E4F6;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-catalog2 {
    color: RGBA(65, 105, 225, 1);
    font-size: 20px;
    /*background-color: #C0E4F6;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-catalog3 {
    color: RGBA(65, 105, 225, 1);
    font-size: 20px;
    /*background-color: #C0E4F6;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-purchase {
    color: RGBA(65, 105, 225, 1);
    font-size: 20px;
    /*background-color: #C0E4F6;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;
}

.icon-statistics {
    color: RGBA(65, 105, 225, 1);
    font-size: 20px;
    /*background-color: #C0E4F6;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
    display: inline-block;

}

/*Icon Dashboard*/
/*Icon Card Promise*/
.icon-promisestart {
    color: #727cf5;
    font-size: 20px;
    /*background-color:whitesmoke;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
}

.icon-promiseend {
    color: #f36c60;
    font-size: 20px;
    /*background-color:whitesmoke;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    border-radius: 80%;
}

.icon-timeavailable {
    color: #72d572;
    font-size: 20px;
    /*background-color:whitesmoke;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    /*border-radius: 80%;*/
}

.icon-webspaceall {
    color:#4bc0c0;
    font-size: 20px;
    /*background-color:whitesmoke;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    /*border-radius: 80%;*/
}

.icon-webspaceavailable {
    color:#dc3545;
    font-size: 20px;
    /*background-color:whitesmoke;*/
    height: 50px;
    width: 62px;
    text-align: center;
    line-height: 60px;
    /*border-radius: 80%;*/
}



/*Icon Card Promise*/

/*ชื่อ Page DashBoard*/
.page-header {
    border-bottom: .0625rem solid rgba(231, 234, 243, .7);
    padding-bottom: 2rem;
    margin-bottom: 2.25rem;
}

/*ชื่อ Page DashBoard*/
/*CSS PDF Download*/
PDFBT {
    margin: 0;
    padding: 0;
    background: #ecf0f3;
    /*height: 100vh;*/
    /*display: flex;*/
    justify-content: end;
    /*align-items: center;*/
    position: static;
}

/* ปุ่ม Download */
.download-container {
    float: right;
    position: static;
    top: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    display: flex;
    /*justify-content: center;*/
    /*align-items: center;*/
    background: #ecf0f3;
    border-radius: 16px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.15),
    -8px -8px 16px rgba(255, 255, 255, 1);
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
    backdrop-filter: blur(8px);
    overflow: hidden;
}

/* เอฟเฟกต์ Hover */
.download-container:hover {
    box-shadow: 0px 1px 15px rgba(255, 71, 87, 0.35);
    transform: scale(1.08);
}

.icon-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
}

.icon-wrapper.pdf {
    opacity: 1;
    transform: translateY(0);
}

.icon-wrapper.download {
    opacity: 0;
    transform: translateY(50px);
}

/* เอฟเฟกต์ Hover - เปลี่ยนจากไอคอน PDF เป็นปุ่ม Download */
.download-container:hover .icon-wrapper.pdf {
    opacity: 0;
    transform: translateY(-50px) scale(0.85);
}

.download-container:hover .icon-wrapper.download {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ไอคอน PDF */
.icon-wrapper img {
    width: 42px;
    height: 42px;
    animation: float 2s infinite ease-in-out;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ปุ่ม "DOWNLOAD" */
.download-text {
    background: linear-gradient(10deg, #ff4757, #ff6b81);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.25);
    animation: fadeIn 0.5s ease-in-out;
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/*  Responsive Design */
@media (max-width: 768px) {
    .download-container {
        width: 65px;
        height: 65px;
        top: 12px;
        right: 12px;
    }

    .icon-wrapper img {
        width: 30px;
        height: 30px;
    }

    .download-text {
        font-size: 10px;
        padding: 7px 12px;
    }
}
/*CSS PDF Download*/
/* mockup code */

a.pdf {
    background: #ffffff;
    border: solid 0.5px #e6e6e6;
    border-radius: 8px;
    display: inline-block;
    height: 100px;
    line-height: 100px;
    margin: 5px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 100px;

}

a.pdf span {
    background: #f2594b;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: normal;
    padding: 5px 10px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

a.pdf span:last-child {
    margin-left: -20px;
}

a.pdf:before,
a.pdf:after {
    background: #ffffff;
    border: solid 3px #9fb4cc;
    border-radius: 4px;
    content: '';
    display: block;
    height: 35px;
    left: 50%;
    margin: -17px 0 0 -12px;
    position: absolute;
    top: 50%;
    /*transform:translate(-50%,-50%);*/

    width: 25px;
}

a.pdf:hover:before,
a.pdf:hover:after {
    background: #e2e8f0;
}

/*a:before{transform:translate(-30%,-60%);}*/

a.pdf:before {
    margin: -23px 0 0 -5px;
}

a.pdf:hover {
    background: #e2e8f0;
    border-color: #9fb4cc;
}

a.pdf:active {
    background: #dae0e8;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25);
}

a.pdf:hover span:first-child {
    display: inline-block;
}

a.pdf:hover span:last-child {
    display: none;
}


/* custom code for the demo */


/*ปุ่ม Download PDF*/

/*Chart JS*/
canvas {
    margin: 0 auto;
}

/*การ์ดแฟนภูมิด้านล่าง*/
.chartCard {
    /*width: 100vw;*/
    /*height: calc(100vh - 40px);*/
    /*background: rgba(255,26,104,0.2);*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}

.chartBox {
    /*width: 700px;*/
    /*height: 350px;*/
    /*padding: 20px;*/
    /*border-radius: 20px;*/
    /*border: solid 3px rgba(255,26,104,1);*/
    /*background: white;*/

}

@media only screen and (max-width: 700px) {
    .chartBox {
        width: 100%;
        height: 50%;
        padding: 20px;
    }
}

@media only screen and (max-width: 400px) {
    .chartBox {
        width: 300px;
        height: 300px;
        /*padding:20px;*/

    }

}

@media only screen and (max-width: 300px) {
    .chartBox {
        width: 90%;
        height: 90%;
        /*padding:20px;*/

    }

}

/*การ์ดแฟนภูมิด้านล่าง*/

/*Chart JS*/

/*Footer*/

/*buttonfb*/
a.buttonfb {
    transition: all 0.4s cubic-bezier(.86, .01, .15, .99);
    overflow: hidden;
}

a.buttonfb::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0;
}

a.buttonfb {
    background: #1672B7;
    transform: perspective(1px) translateZ(0);
    color: black;
    transition: 0.4s;
}

a.buttonfb::before {
    background: #362FD9;
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transition: 0.6s;
}

a.buttonfb:hover::before {
    clip-path: inset(0 0 0 0);
}

a.buttonfb:hover {
    color: white;
    box-shadow: 0 0 0 7px rgba(250, 250, 250, 0.1)
}

/*End buttonFB*/

/*Start ButtonLine*/
a.buttonline {
    transition: all 0.4s cubic-bezier(.86, .01, .15, .99);
    overflow: hidden;
}

a.buttonline::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0;
}

a.buttonline {
    background: #00803F;
    transform: perspective(1px) translateZ(0);
    color: black;
    transition: 0.4s;
}

a.buttonline::before {
    background: #1bb91f;
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transition: 0.6s;
}

a.buttonline:hover::before {
    clip-path: inset(0 0 0 0);
}

a.buttonline:hover {
    color: white;
    box-shadow: 0 0 0 7px rgba(250, 250, 250, 0.1)
}

/*End button Line*/

/*StartbuttonMail*/
a.buttonmail {
    transition: all 0.4s cubic-bezier(.86, .01, .15, .99);
    overflow: hidden;
}

a.buttonmail::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0;
}

a.buttonmail {
    background: #C2413F;
    transform: perspective(1px) translateZ(0);
    color: black;
    transition: 0.4s;
}

a.buttonmail::before {
    background: #E22427;
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transition: 0.6s;
}

a.buttonmail:hover::before {
    clip-path: inset(0 0 0 0);
}

a.buttonmail:hover {
    color: white;
    box-shadow: 0 0 0 7px rgba(250, 250, 250, 0.1)
}

/*EndbuttonMail*/

/*button*/

/*Footer*/

/*Animated Counter*/

/*Animated Counter*/

/*การ์ดสถิติ*/
.cardstatisticstoday {
    display: block;
    position: relative;
    /*max-width: 262px;*/
    background-color: #B3E2A7;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin-left: 20%;
    margin-top: 18px;
    margin-bottom: 10px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 15px solid #FFFFFF;
    /*box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);*/
    box-shadow: 0 19px 25px rgba(0, 0, 0, 0.1), 0 15px 12px rgba(0, 0, 0, 0.1);

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: rgba(75, 192, 192, 0.1);
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: rgba(75, 192, 192, 0.1);
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

.cardstatisticsmonth {
    display: block;
    position: relative;
    /*max-width: 262px;*/
    background-color: #80B9AD;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin-left: 20%;
    margin-top: 18px;
    margin-bottom: 10px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 15px solid #FFFFFF;
    /*box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);*/
    box-shadow: 0 19px 25px rgba(0, 0, 0, 0.1), 0 15px 12px rgba(0, 0, 0, 0.1);

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: rgba(75, 192, 192, 0.1);
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: rgba(75, 192, 192, 0.1);
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

.cardstatisticsyear {
    display: block;
    position: relative;
    /*max-width: 262px;*/
    background-color: #6295A2;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin-left: 20%;
    margin-top: 18px;
    margin-bottom: 10px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 15px solid #FFFFFF;
    /*box-shadow: 5px 10px 10px 8px rgba(225, 225, 225, 0.72);*/
    box-shadow: 0 19px 25px rgba(0, 0, 0, 0.1), 0 15px 12px rgba(0, 0, 0, 0.1);
    color: black;
    line-height: 10px;

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: rgba(75, 192, 192, 0.1);
        color: #666666;
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: rgba(75, 192, 192, 0.1);
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
        color: #666666;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

.cardstatisticssum {
    display: block;
    position: relative;
    /*max-width: 262px;*/
    background-color: #538392;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin-left: 20%;
    margin-top: 18px;
    margin-bottom: 10px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 15px solid #FFFFFF;
    /*box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);*/
    box-shadow: 0 19px 25px rgba(0, 0, 0, 0.1), 0 15px 12px rgba(0, 0, 0, 0.1);

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: rgba(75, 192, 192, 0.1);
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: rgba(75, 192, 192, 0.1);
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

/*การ์ดสถิติ*/

/*CSS title สถิติ*/
h3 {
    margin-top: 30px;
    text-align: center;
    text-transform: uppercase;
}

h3.no-background {
    position: relative;
    overflow: hidden;

    span {
        display: inline-block;
        vertical-align: baseline;
        zoom: 1;
        *display: inline;
        *vertical-align: auto;
        position: relative;
        padding: 0 20px;

        &:before, &:after {
            content: '';
            display: block;
            width: 750px;
            position: absolute;
            top: 0.73em;
            border-top: 3px solid #696969;
        }

        &:before {
            right: 100%;
        }

        &:after {
            left: 100%;
        }
    }
}

/*CSS title สถิติ*/
/*CSS Fadein use DB OSS2*/
@keyframes fadeInUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

.fadeInUp-animation {
    animation: 1.0s fadeInUp;
}

/*CSS Fadein use DB OSS2*/

/*Card Vote*/
.cardVote {
    display: block;
    position: relative;
    background-color: #FFFFFF;
    height: 100%;
    border-radius: 8px;
    padding: 28px 22px;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 1px solid #696969;
    box-shadow: 0px 1px 2px 1px rgba(225, 225, 225, 0.72);

    &:hover {
        transition: all 0.4s ease-out;
        /*box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);*/
        top: -4px;
        border: 0.5px solid #00BFFF;
        background-color: #C3EEFA;
    }

    &:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -16px;
        right: -16px;
        background: rgba(75, 192, 192, 0.1);
        border-radius: 32px;
        transform: scale(2);
        transform-origin: 50% 50%;
        transition: transform 0.15s ease-out;
    }

    &:hover:before {
        transform: scale(2.5);
    }
}

@media only screen and (max-width: 600px) {
    .cardVote {
        padding: 12px 12px;
    }

}

/*Card Vote*/

/*Back to top Button*/
#backtotop {
    padding: 1rem 1.5rem;
    border: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    scroll-behavior: smooth;
    background-color: transparent;
}


/*Back to top Button*/

@media print {
    .no-print {
        display: none !important;
    }
}
