﻿/* Website Template by freewebsitetemplates.com */
body {
	min-width: 0;
    font-size: 1vw;
}
#myBtn {
    font-family: rsufont;
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 20px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 5px; /* Rounded corners */
  font-size:10%;  

}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
#header {
	padding: 20px 0;
	position: relative;
	width: 100%;
}
#header a.logo {
	width: 80%;
}
#header a.logo img {
    margin-top:30px;
	width: 100%;
}
#container #topright {
    position: absolute;
    top: 2px;
    right: 5px;
   
    z-index:99;
}
#container #topright .button {
    background-color: #ff0101; /* Green */
    border: none;
    color: white;
    padding: 5px 10px;
    font-family: rsutext, "Arial Black", Gadget, sans-serif;
    text-align: center;
    text-decoration: none;
    display: inline-block;
   font-size: 4vw;
    margin: 2px 1px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

#container #topright .button1 {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

#mobile-navigation {
	background: url(../images/mobile-menu.png) no-repeat 0 0;
	display: block;
	height: 50px;
	margin: 30px auto 0;
	padding: 0;
	width: 50px;
}
#header ul {
	border: 1px solid #fff;
	display: none;
	left: 50%;
	margin-left: -45%;
	padding: 0;
	position: absolute;
	width: 90%;
	z-index: 1001;
}
#header ul li {
	border-top: 1px solid #fff;
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}
#header > ul > li:first-child {
	border: 0;
}
#header ul li a {
	background: rgba(219, 9, 98, 0.9);
	color: #fff;
	display: block;
	font-family: rsufont, Arial, Helvetica, sans-serif;
	font-size: 5vw;
	font-weight: normal;
	height: 49px;
	line-height: 50px;
	padding: 0 15px;
	text-align: left;
}
#header ul li a:hover, #header ul li.selected a {
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
}
#header ul ul {
	display: none;
	border: 0;
	height: auto;
	left: 0;
	margin: 0;
	position: relative;
	width: 100%;
}
#header ul ul li a {
	text-indent: 15px;
}
#header ul li span {
	background: rgba(219, 9, 98, 0.9) url(../images/mobile-expand.png) no-repeat 0 0;
	border-left: 1px solid #fff;
	display: block;
	height: 49px;
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
}
#body {
	width: 100%;
}
#body h1 {
	display: block;
	font-size:5vw;
	margin: 0 auto;
	width: 90%;
}
#body h2 {
	
	font-size:6vw;
	
}
#body .circle{ /* ชื่อคลาสต้องตรงกับ <img class="circle"... */
    height: auto;  /* ความสูงปรับให้เป็นออโต้ */
    width: auto;  /* ความสูงปรับให้เป็นออโต้ */
    border: 3px solid #fff; /* เส้นขอบขนาด 3px solid: เส้น #fff:โค้ดสีขาว */
    border-radius: 50%; /* ปรับเป็น 50% คือความโค้งของเส้นขอบ*/
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* เงาของรูป */
    width:40%;
}
#body ul.Bookmaker {
	padding: 5% 0;
	overflow: hidden;
	width: 90%;
    border-color:#DB0962;
    font-family: rsutext,  "Arial Black", Gadget, sans-serif;
	font-size: 1.8vw;
	font-weight: normal;
}
#body ul.Bookmaker li {
	float: left;
	margin: 0 0 5% 5%;
	width: 90%;
    font-family: rsutext,  "Arial Black", Gadget, sans-serif;
	font-size: 8vw;
	font-weight: normal;
}  
#body iframe {
    width:320px;
    height:200px;
	
}
#body h1 span {
	display: block;
	padding: 3%;
	width: 94%;
}
#body > div {
	padding: 0 5%;
	width: 90%;
    
}
#body > div img {
	margin: 0px 0 0px;
	width: 98%
}
#body > div .article {
	padding: 0;
    font-family: rsutext,  "Arial Black", Gadget, sans-serif;
    font-size: 7em;
    
	width: 100%;
    
}
#body > div .article img {
	margin:auto;
	width: 98%
}
#body > div .article h2, #body > div .article h4 {
	font-size: 20vw;
	font-weight: bold;
    
}
#body #featured {
	overflow: hidden;
	margin: 0 0 20px
}
#body #featured img {
	width: 100%;
    
    
}
#body #featured div {
	left: 0;
	margin: 0;
	padding: 0 2%;
	position: absolute;
	top: 0;
	text-align: left;
	width: 96%;
}
#body #featured div h2 {
	font-size: 4vw;
	font-weight: normal;
	margin: 50px 0 10px;
	padding: 8px 5px;
}
#body #featured div span {
	display: block;
	font-size: 4vw;
	margin: 10px 0;
	padding: 10px;
}
#body #featured div a {
	font-size: 4vw;
	margin: 5px 0 0;
	padding: 10px;
}
#body > ul {
	overflow: visible;
	padding: 0 5%;
	width: 90%;
}
#body ul.gallery {
	padding: 5% 0;
	overflow: hidden;
	width: 100%;
}
#body > ul li {
	float: none;
	margin: 0;
	width: 100%;
    height:auto;
}
#body ul.gallery li {
	float: left;
	margin: 0 0 5% 5%;
	width: 42%;
}
#body > ul li a img {
	width: 98%;
}
#body > ul li a span {
	padding: 15px 0;
	font-size: 5vw;
}
#body div ul {
	margin: 0;
	padding: 20px 0 0;
	width: 100%;
}
#body div ul li {
	overflow: visible;
	padding: 0 0 20px;
	width: 99%;
}
#body div ul li .figure {
	border: 0;
	display: block;
	float: none;
	margin: 0 0 20px;
	width: 100%;
}
#body div ul li .figure img {
	width: 100%;
}
#body div ul li div {
	float: none;
	padding: 0;
	width: 100%;
}
#body div ul li div a.more:hover {
	height: 14px;
	line-height: 50px;
}
#body form {
	width: 100%;
}
#body form input, #body form textarea {
	margin: 0 0 20px;
	padding: 10px;
	width: 84%;
}
#body form #send {
	padding: 10px;
}
#footer {
	padding: 10px 0 25px;
	font-family: rsufont, Arial, Helvetica, sans-serif;
	font-size: 5vw;
}
#footer div {
	overflow: visible;
	width: 100%;
}
#footer div p {
	float: none;
	margin: 0;
	text-align: center;
}
#footer div ul {
	float: none;
	margin: 0 auto;
	width: 256px;
}
.thumbnail {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  width: 100%;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}