
 body{
        background-image:url(../img/ruay-bg.jpg)!important;background-position:0 0!important;background-repeat:repeat!important;
        font-family: 'Kanit', sans-serif;

    }

    .footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #2c3e50;
  color: #fff;
}


footer {
  background-color:#9b7129; 

    /*background-image: url(../images/footer-bg.png);*/
    background-size: 100% 100%;
}

footer ul{
  /*list-style-type:none;*/
  color:white;
}

footer ul li {
  margin-top: 10px;
}

footer ul li:hover {
  color:black;

}

.under_line_head{
  border: 0.8px solid #e2b74f;border-width:0.8px;
}
.head_text{
  display: inline-block;
    padding: 7px 30px;
    background-color:red;color:white;
    font-size: 20px;
    font-weight: 700px;

 

background: rgb(110,68,6);
background: linear-gradient(90deg, rgba(110,68,6,1) 0%, rgba(214,179,89,1) 100%);
}

nav{
   /*background-color:#910707;
   background-image: linear-gradient(-90deg, #b10505, #910707); */
   font-weight: 900;
   font-size: 18px;

   /*background-image: linear-gradient(to bottom, #d6b35b, #c39d4a, #af873a, #9c722a, #885e1b, #885e1b, #885e1b, #885e1b, #9c722a, #af8739, #c39d49, #d6b359);
  */
background: rgb(254,191,38);
background: linear-gradient(90deg, rgba(254,191,38,1) 0%, rgba(176,114,3,1) 35%, rgba(208,146,13,1) 100%);



}

.dropdown-menu{
   background-color:#9b7129;
  
}
.dropdown-menu a{
   color:white;
   font-size: 18px;
   font-weight: 900;
   padding-top: 8px;
   padding-bottom: 8px;
}

.dropdown-menu a:hover{
   color:red;
   
}

.goldpattern {
    background: url(../img/gold-pattern.jpg) top center;
    background-size: 100%;
}





.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  background-color: #9b7129;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  color: white;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}



@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


.head_lottory{
  font-size: 23.5px;
  color:white;
}

table .table_col_1{
  background-color: #201f25;
  font-size: 18px;
  font-weight:500;  
}

table .table_col_2{
  background-color: #511f22;
  color:#ffff00;
    font-size: 18px;
   font-weight:500; 
}

.head_table{
  background-color:#ba0000;color:white; background-color: red; /* For browsers that do not support gradients */
  background-image: linear-gradient(-90deg, #d6b359, #6e4406); /* Standard syntax (must be last) */
}




#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 5000;
  cursor: pointer;
}




/*btn new Login*/
 .buttonregister {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    display: inline-block;
    position: relative;
    text-align: center;
    color: #ffffff;
    border: 1px solid #c6a14c;
    background: linear-gradient(to bottom, #c6a24c 0%, #7c5311 100%);
    border-radius: 5px;
    line-height: 1.2em;
    padding-left: 3em;
    padding-right: 3em;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    padding: 8px 57px;
  }

  .buttonregister:hover {
    color: red;
    box-shadow: 0 0 8px 0 rgb(236, 0, 0);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s cubic-bezier(0, 0, 0.1, 1.97);
    background: linear-gradient(to bottom, #000000 0%, #000000 100%);
    border: 1px solid #ff0707;
  }

  .buttonregister:hover:before {
    -webkit-animation: shine 0.5s 0s linear;
    -moz-animation: shine 0.5s 0s linear;
    animation: shine 0.5s 0s linear;
  }

  .buttonregister:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
  }






 .logo_lottovip{
    width: 200px;
  }

@media only screen and (max-width: 341px) {
  .logo_lottovip{
    width: 200px;
  }

}

@media only screen and (max-width: 768px) {
  .logo_lottovip{
    width: 180px;
  }

}




.page_index h3{
  font-size:23.5px;
}

.register p{
	font-size:19.5px;
}

.register h3{
	font-size:23.5px;
}

.register h4{
	font-size:20.5px;
}

.register h2{
	font-size:23.5px;
}


 .login_div{
    display: none;
  }


  .content_page{
  	background-color: black;padding-top: 70px;padding-bottom: 40px;
  }


.table_huay table {
  border: 1px solid black;
  background-color: white;
  color:black;
}
.table_huay  th {
  border: 1px solid black;
  background-color: white;
  color:black;
}
.table_huay td {
  border: 1px solid black;
  background-color: white;
  color:black;
}



#button_top {
  display: inline-block;
  background-color: #9b7129;
  width: 45px;
  height: 45px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
/*#button_top::after {
  content: "\f062";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: red;
}*/

#button_top.show {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 500px) {

  #button_top {
    margin: 30px;
  }
}


#tablepress-3 th{
	background-color: white;
	color:black;
	 border: 1px solid black;
}
#tablepress-3 td{
	background-color: white;
	color:black;
	 border: 1px solid black;
}

#tablepress-3 .column-1{
	width: 250px;
	
}
#tablepress-3 .column-2{
	width: 250px;
}
#tablepress-3 {
  border-collapse: collapse;
  width: 100%;
}



#tablepress-1 th{
	background-color: white;
	color:black;
	 border: 1px solid black;
}
#tablepress-1 td{
	background-color: white;
	color:black;
	 border: 1px solid black;
}


#tablepress-1{
	 border-collapse: collapse;
  width: 100%;
}


.img_huay{
  border:2px solid white;
}
.img_huay:hover{
  border:2px solid red;
}




/*responsive*/

@media only screen and (max-width: 768px) {
  .login_div{
    display: block;
    margin-top: -90px;
  }

}




.golden-btn {
    display: inline-block;
    outline: none;
    /* font-family: inherit; */
    font-family: SukhumvitBold;
    font-size: 1em;
    box-sizing: border-box;
    border: none;
    border-radius: .3em;
    height: auto;
    line-height: 1.9em;
    text-transform: uppercase;
    padding: 3px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4), inset 0 -1px 2px 1px rgba(139,66,8,1), inset 0 -1px 1px 2px rgba(250,227,133,1);
    background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
    border: 1px solid #a55d07;
    color: rgb(120,50,5);
    text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
    cursor: pointer;
    transition: all .2s ease-in-out;
    background-size: 100% 100%;
    background-position: center;
}