label.error {
    display: block;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    line-height: 1em;
    color: #f90606;
    margin-top: 8px;
}



.paging-block .pagination {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.paging-block .page-item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-left: 3px;
    margin-right: 3px;
}

.paging-block .page-item > a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.paging-block .page-item > span {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.paging-block .page-item a, 
.paging-block .page-item span {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 600;
    line-height: 0.7;
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #ed1c24;
}

.paging-block .page-item.active > span, 
.paging-block .page-item:hover > a {
    background-color: #ed1c24;
    color: #fff;
    text-decoration: none;
}

.paging-block .page-item:first-child > a {
    color: #ed1c24;
    background: none;
}

.paging-block .page-item:first-child > a:after, 
.paging-block .page-item:first-child > span:after {
    font-size: 14px;
    content: "หน้าแรก";
    display: block;
    color: #ed1c24;
    position: absolute;
    top: 10px;
    left: -45px;
    width: 100px;
    background: #ffffff;
    text-decoration: underline;
}

.paging-block .page-item:last-child > a {
    color: #ed1c24;
    background: none;
}

.paging-block .page-item:last-child > a:after, 
.paging-block .page-item:last-child > span:after {
    font-size: 14px;
    content: "หน้าสุดท้าย";
    display: block;
    color: #ed1c24;
    position: absolute;
    z-index: 0;
    top: 10px;
    right: -57px;
    width: 100px;
    background: #ffffff;
    text-decoration: underline;
}

.paging-block .page-item.disabled > span {
    opacity: 0.6;
}

.paging-block .page-item.disabled > span:after {
    text-decoration: none;
}


/* Preload Animation */

#loading-center-absolute {
	position: absolute;
	left: 50%;
	top: 50%;
	height: 150px;
	width: 150px;
	margin-top: -75px;
	margin-left: -75px;
}

.object{
	width: 20px;
	height: 20px;
	background-color: #999999;
	float: left;
	margin-right: 20px;
	margin-top: 65px;
	-moz-border-radius: 50% 50% 50% 50%;
	-webkit-border-radius: 50% 50% 50% 50%;
	border-radius: 50% 50% 50% 50%;
}

#object_one {	
	-webkit-animation: object_one 1.5s infinite;
	animation: object_one 1.5s infinite;
}
    
#object_two {
	-webkit-animation: object_two 1.5s infinite;
	animation: object_two 1.5s infinite;
	-webkit-animation-delay: 0.25s; 
    animation-delay: 0.25s;
}

#object_three {
    -webkit-animation: object_three 1.5s infinite;
	animation: object_three 1.5s infinite;
	-webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.green-txt {
    color: #0dc426;
}

.timer {
    font-size: 20px;
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: #cccccc;
}

.clock-icon {
    width: 26px;
    vertical-align: middle;
    margin-right: 2px;
    position: relative;
    top: 0px;
}

.clock-time {
    display: inline-block;
    text-align: right;
    width: 84px;
    vertical-align: middle;
}

.g-login {
    cursor: pointer;
    box-sizing: border-box;
    width: 124px;
    border: 1px solid #4285f4;
    margin: 0 auto;
    -webkit-box-shadow: 0px 0px 4px #999999;
    box-shadow: 0px 0px 4px #999999;
}

.g-login:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.g-login .col-1 {
    width: 35px;
    height: 35px;
    float: left;
    background-color: #ffffff;
}

.g-login .col-1 img {
    display: inline-block;
    width: 19px;
    margin-top: 7px;
}

.g-login .col-2 {
    text-align: center;
    width: 87px;
    line-height: 34px;
    height: 35px;
    float: left;
    background-color: #4285f4;
}

.g-login .col-2 > span {
    font-family: tahoma;
    font-size: 13px;
    color: #ffffff;
}

@-webkit-keyframes object_one {
    75% { -webkit-transform: scale(0); }
}

@keyframes object_one {

  75% { 
    transform: scale(0);
    -webkit-transform: scale(0);
  }

}

@-webkit-keyframes object_two {
 

  75% { -webkit-transform: scale(0); }


}

@keyframes object_two {
  75% { 
    transform: scale(0);
    -webkit-transform:  scale(0);
  }

}

@-webkit-keyframes object_three {

  75% { -webkit-transform: scale(0); }

}

@keyframes object_three {

  75% { 
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  
}

/* Chart */

.chart-wrap {
    position: relative;
}

.chart-wrap.space-1 {
    margin-top: 20px;
}

.close-txt {
    display: block;
    width: 80px;
    height: 24px;
    background: #ffffff;
    position: absolute;
    top: 376px;
    left: 0px;
}

#chart-1 {
    height: 400px; 
    width: 100%;
}

.chart-scroll {
    overflow: auto;
}

.chart-wrap .canvasjs-chart-credit {
    display: none !important;
}

.login-google {
    display: inline-block;
}

.login-google-wrap {
    text-align: center;
    margin-top: 20px;
}

/* .login-google-bg {
    background-color: #4285f4;
    display: inline-block;
    width: 200px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
} */

@media screen and (min-width: 760px) {

    .ranking-block-wrap .select-menu-block {
        width: 350px;
    }

    .paging-block .page-item a, 
    .paging-block .page-item span {
        font-size: 20px;
    }

    .paging-block .page-item:first-child > a:after, 
    .paging-block .page-item:first-child > span:after {
        font-size: 18px;
        left: -50px;
    }

    .paging-block .page-item:last-child > a:after, 
    .paging-block .page-item:last-child > span:after {
        font-size: 18px;
        right: -62px;
    }

    .paging-block .page-item {
        margin-left: 5px;
        margin-right: 5px;
    }

}

@media screen and (min-width: 1000px) {

    .ranking-row .cols:nth-child(2) {
        width: 30%;
    }

    .ranking-row .cols:last-child {
        width: 20%;
    }

}