
body {
  padding-top: 90px;
  font-family:Prompt-Regular;
}
.bgmenu{
  background-image: url(../images/bg_menu.png) !important;
  height: 100px;
  box-shadow: 1px 1px 4px 4px #313131;
}
.img-logo{
  width: 74px;
  margin-top: -16px;
}
.sub_nav{
    margin-top: -10;
}
.sub_nav li a{
  text-decoration: none;
  color: #FFF4DE !important;
  z-index: 90 !important;
}
.sub_nav li a:focus,.sub_nav li a:hover{
  color: #ffac06 !important;
}

.sub_nav .dropdown-menu>li>a{
  text-decoration: none;
  color: #777 !important;
  z-index: 90 !important;
}
.sub_nav li.dropdown-menu a:focus,
.sub_nav li.dropdown-menu a:hover{
  color: #ffac06 !important;
}


.img-hiden{
  display: block;
}
.rim_row{
  padding-left:0px;
  padding-right:0px;
}
.btn_redblack{
  text-decoration: none !important;
  position: absolute;
  z-index: 20;
  background-color: #3f1809 !important;
  font-family: Prompt !important;
  color: #FFF !important;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  border-color: #FFF;
  border-width: 2px;
  border-style: solid;
  box-shadow: 2px 3px 3px 1px rgba(0, 0, 0, 0.52);
}
.btn_redblack:hover,.btn_redblack:focus{
  text-decoration: none !important;
  color: #FFF !important;
  background-color: #ca0202 !important;
  box-shadow: 1px 2px 3px 1px rgba(0, 0, 0, 0.52) !important;
}

.btn_redblack_re{
  text-decoration: none;
  position: relative;;
  z-index: 20;
  background-color: #3f1809;
  font-family: Prompt;
  color: #FFF;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  border-color: #FFF;
  border-width: 2px;
  border-style: solid;
  box-shadow: 2px 3px 3px 1px rgba(0, 0, 0, 0.52);
}
.btn_redblack_re:hover,.btn_redblack_re:focus{
  text-decoration: none;
  color: #FFF;
  background-color: #ca0202;
  box-shadow: 1px 2px 3px 1px rgba(0, 0, 0, 0.52);
}



.btn_redblack2{
  text-decoration: none !important;
  position: absolute;
  z-index: 20;
  background-color: #3f1809 !important;
  font-family: Prompt !important;
  color: #FFF !important;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  border-color: #FFF;
  border-width: 2px;
  border-style: solid;
  box-shadow: 2px 3px 3px 1px rgba(0, 0, 0, 0.52);
  list-style: none;
  top: -50px;
  display: list-item;
  text-align: center;
  margin-left: 15px;
  margin-right: 15px;
  position: relative;
  margin-bottom: -44px;
}
.btn_redblack2:hover,.btn_redblack2:focus{
  text-decoration: none !important;
  color: #FFF !important;
  background-color: #ca0202 !important;
  box-shadow: 1px 2px 3px 1px rgba(0, 0, 0, 0.52) !important;
}

.line_cut_w{
  margin-bottom: 0px;
  margin-top: 0px;
  border-color: #fff;
  border-style: solid;
  border-width: 1px;
  padding: 0px;
}
.footer {
  background-color: #102b02;
  color: #fff;
  height: 60px;
}

.footer p{
  text-align: center;
  margin-top: 15px;
}

.footer1{
  bottom: 0px;
  position: absolute;
}

.game_background_2column{
  background-color: rgba(36, 113, 114, 0.67);
  padding: 1px;
  position: absolute;
  border-radius: 30px;
  margin: 30px;
}

/***************** GOTOP BTN ******************/
#gotop{
  text-align: center;
  width: 50px;
  position: fixed;
  z-index: 50;
  bottom: 70px;
  right: 20px;
}
#gotop a{
  color: #FFF;
  text-decoration: none;
}
#gotop a:hover,#gotop a:focus{
  color: red;
}
#gotop i{
  font-size: 40px;
  text-shadow: 1px 1px 4px #313131;
}
#gotop strong{
  font-size: 12px;
}
/***************** GOTOP BTN ******************/
/******************** section ****************************/
#section-c .textblock{
  position: absolute;
  top: 15px;
  left: 10px;
  width: 30%;
  z-index: 500;
  font-family: THSarabunNew;
  font-size: 16px;
  color: #fff;
  text-align: center;
}
#section-c .textblock p.t1 {font-size:1.5em;}
#section-c .textblock p.t2 {font-size:1.25em;}
#section-c .textblock p.t3 {font-size:1em;}
/******************** section ****************************/
/********************* Override Bootstrap **************************/
.container-fluid{
  margin-top: 15px !important;
  width: 900px !important;
}
.navbar-fixed-bottom, .navbar-fixed-top {
  /*z-index:90 !important;*/
}
.navbar-default {
    background-color: #FFF4DE;
    /*border-color: ##FFF4DE;*/
    border-color: #9b9280;
}
.navbar-default .navbar-nav>li>a {
    color: #777;
    /*font-size: 16px !important;*/
}
.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus {
    color: #ffac06;
}
        /***************** DropDown ******************/
        .navbar-nav>li>.dropdown-menu {
          margin-top: -10px !important;
        }
        .navbar-default .navbar-nav>.open a,
        .navbar-default .navbar-nav>.open a:hover,
        .navbar-default .navbar-nav>.open a:focus {
          color: #555;
          background-color: transparent;
        }
        .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
        .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
            color: #ffac06 !important;
            background-color: transparent;
        }
        .dropdown-menu {
            background: linear-gradient(rgba(255, 244, 222, 1), rgba(255, 244, 222, 0.85));
            border-radius: 10px !important;
        }
        .dropdown-menu>li>a {
          padding: 3px 10px !important;
        }

        /***************** DropDown ******************/
/********************* Override Bootstrap **************************/



.imgfix501{
	/*max-width: 30%;
	padding-top: 10px !important;
	padding-bottom: 10px !important;*/
  /*max-width: 22%;*/
  max-width: 70%;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
.hdn{
	padding-top: 10px !important;
	padding-bottom: : 10px !important;
	padding-left: auto;
	padding-right: :auto;
	display: table;
	/*width:85%;*/
  /*width: 69%;*/
  width: 80%;
  margin-bottom: 20px;
}


.inline1 a{
	/*color: #174F39;*/
  color: #ffd8a4;
  text-decoration: none;
  font-family: Prompt-Thin;
}
.inline1 a:hover,.inline1 a:focus{
	color: #ffac06;
}
/*
.inline1 a p{
	display: inline;
	margin-left: 20px;
	font-size:1.5em;
	font-weight: 900;
}
*/
.inline1 a p {
    display: inline;
    font-size: 1.2em;
    font-weight: 900;
    text-align: left;
}

/*.inline1 a p {
    display: block;
    float: left;
    margin-left: 20px;
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: 900;
}*/
.inline1 div div{
	display: inline;
	margin-left: 20px;
	font-size:1.5em;
	font-weight: 900;
  color: #174F39;
	text-decoration: none;
}
.inline1 a img {
    display: inline;
    margin-left: 50px;
}
/*
.inline1 a img{
	display: inline;
	margin-left: 50px;
}
*/
/*
.inline1 a img {
    display: block;
    float: left;
    margin-left: 50px;
}
*/




/********************* responsive screen ***************************/

@media (min-width: 768px) {
  .navbar-nav.navbar-center {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
  }
}

@media (max-width: 768px) {

  .inline1 a img {
    display: inline;
    margin-left: 22px;
  }
  .game_background_2column{
    position: inherit;
  }
  .img-hiden{
    /*display: none;*/
  }
  body {
    padding-top: 70px;
  }
  .container-fluid{
    margin-top: 15px !important;
    width: auto !important;
  }
  .bgmenu{
    background-image: unset !important;
    background-color: #fff4de;
    height: 70px;
    box-shadow: 1px 1px 4px 4px #313131;
  }
  #bs-example-navbar-collapse-1{
    background-color: #fff4de;
  }
  .sub_nav li a{
    text-decoration: none;
    color: #777 !important;
  }
  .sub_nav li a:focus,.sub_nav li a:hover{
    color: #ffac06 !important;
  }
  .img-logo{
    width: 45px;
    padding-top: 0px;
    margin-top: -10px;
  }
  .footer p {
    margin-top: 0px;
    padding-top: 15px;
  }

  .footer1{
    bottom: 0px;
    position: relative;;
  }
}

@media (max-width: 1160px) {
  #section-c .textblock{
    font-size: 14px;
  }
}

@media (max-width: 1062px) {
  #section-c .textblock{
    font-size: 12px;
  }
}

@media (max-width: 936px) {
  #section-c .textblock{
    font-size: 10px;
  }
  .btn_redblack_re {
    font-size: .5em;
    color: #FFF;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    border-width: 1px;
    box-shadow: 2px 3px 3px 1px rgba(0, 0, 0, 0.52);
  }
}



/********************* responsive screen ***************************/


.block5 div{
	width:20%;
  float:left;
}

@media (max-width: 768px) {
  .block5 div{
  	width:100%;
    float:none;
  }
}

/******** responsive over 1800 px use to background in DIV TAG ***************/

@media screen and (min-width: 1600px){
  .size1600{
    display: none;
  }
  .size1800{
    display: block;
  }
}
@media screen and (max-width: 1600px){
  .size1600{
    display: block;
  }
  .size1800{
    display: none;
  }
}
/******** responsive over 1800 px use to background in DIV TAG ***************/


@media (max-width: 1100px) {
  .inline1 a p{
  	/*display: inline;*/
	display: table;
    padding-left: 19px;
    padding-bottom: 10px;
  	/*margin-left: 20px;*/
    margin-left: 8px;
  	font-size:1em;
  	font-weight: 900;
  }
}

@media (max-width: 1257px) {
  .inline1 a p{
  	/*display: inline;*/
	display: table;
    padding-left: 19px;
    padding-bottom: 10px;
  	/*margin-left: 20px;*/
    margin-left: 8px;
  	font-size:1.2em;
  	font-weight: 900;
  }
}
