@font-face {
  font-family: 'sukhumvit';
  src: url('../fonts/SukhumvitReg.woff2') format('woff2'),
    url('../fonts/SukhumvitReg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'sukhumvit';
  src: url('../fonts/SukhumvitBold.woff2') format('woff2'),
    url('../fonts/SukhumvitBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.bgkrathong{
	width: 100%;
	margin: 0 auto;
	/*background-image: url('./bgloykrathong2019-2.jpg');*/
	/*background-position: center center;*/
	/*background-color: #3095b3#*/
	background-image: linear-gradient(180deg, #3095b3, #2f93b3 120vh, #dfddc3);
    background-size: 100% 100%;
    height: 100%;
    position: fixed;
    display: inline;
}

.btn{
	font-size: 20px !important;
}

.form-control{
	font-size: 18px !important;
	color: #000 !important;
}

.h1krathong{
	font-size: 40px;
	font-family: 'Pattaya',sans-serif;
   color:  #715726;
   text-shadow:
       3px 3px 0 #fff,
     -1px -1px 0 #fff,  
      1px -1px 0 #fff,
      -1px 1px 0 #fff,
       1px 1px 0 #fff;
}

.h1krathong2{
	font-size: 35px;
	font-family: 'Pattaya',sans-serif;
   color:  #715726;
   text-shadow:
       3px 3px 0 #fff,
     -1px -1px 0 #fff,  
      1px -1px 0 #fff,
      -1px 1px 0 #fff,
       1px 1px 0 #fff;
}

.btn-signin-withfacebook{
  color: #fff !important;
  font-size: 20px;
  background-color: #395697;
  border: none;
}

.btn-loykrathong-nofb{
	color: #fff !important;
	font-size: 20px;
	background-color: #715726;
	border: none;
}

#showavatar{
	width: 50px;
    height: 50px;
    position: fixed;
    bottom: 3%;
    left: 3%;
    margin: 0px auto;
    text-align: center;
    z-index: 999;
}

#showcounting{
	height: 50px;
	position: fixed;
	top: 8%;
	right: 3%;
	margin: 0px auto;
    text-align: center;
    z-index: 999;
    font-size: 20px;
    font-weight: bold;
    color: #c7008a;
    font-family: 'Pattaya',sans-serif;
}

#showavatar img{
	border:1px solid #fff;
}

.btn-loykrathong{
	height: 50px;
	position: fixed;
	bottom: 5%;
	right: 3%;
	margin: 0px auto;
    text-align: center;
    z-index: 9999;
}

.btn-loykrathong .btnloy{
	font-size: 20px;
	font-family: 'Pattaya',sans-serif;
    color:  #fff;
    background-color: #715726;
}

.modal-content{
	background-color: #c9bda3 !important;
    border: 2px solid #715725 !important;
    /* background-color: #d6e9ff !important;
    border: 2px solid #68a8ef !important; */
}

.modal-body{
	padding: 30px !important;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
}

.showmembername{
	color:#fff;
	font-size: 20px;
	font-weight: bold;
}


.avatarposition{
	position: absolute;
	top: 45px;
	left: 5px;
	z-index: 1;
}

.button-krathong input[type="radio"] {
   display: none;
}

input[class="btn-krathong"] + label {
    padding: 5px;
    font-size: 20px;
    border-radius: 5px;
    border:2px solid #fff0;
    cursor: pointer;
}

input[class="btn-krathong"]:checked + label {
    padding: 5px;
    font-size: 20px;
    border-radius: 5px;
    border:2px solid #fff;
}

.imglogo{
	left: 2%;
	top: 22%;
	position: absolute;
}

.canvasriver{
    height: 150px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin: 0px auto;
    /*background-image: url('./bgloykrathong2018.jpg');*/
  	background-position: center bottom;
  	background-size: cover;
}

.canvasriver:after {
    position: absolute;
    top: 10%;
    left: 2.5%;
    z-index: -1;
    content: '';
    display: block;
    height: 100%;
    width: 95%;
    filter: blur(30px);
}
.canvasriver{
	z-index: -1;
    bottom: 0;
    width: 100%;
    filter: url('#turbulence');
    overflow: hidden;

}

#canvasriver{
	height: 120px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin: 0px auto;
    z-index: 9998;
    background:linear-gradient(to right,#387ee2, #68aeea);
}


#canvasriver .item-relative {
  position: relative
}

#canvasriver .items-thumb img {
  width: 100px;
  height: auto
}

#canvasriver .items-thumb0 img {
  width: 83px;
  height: auto
}

#canvasriver .items-thumb1 img {
  width: 120px;
  height: auto
}

#canvasriver .items-thumb2 img {
  width: 70px;
  height: auto
}

#canvasriver .items-thumb3 img {
  width: 60px;
  height: auto
}

#canvasriver .item-base-slide {
  position: absolute;
  float: left
}

#canvasriver .items-swing {
  position: relative;
  -webkit-animation: 2s linear normal none infinite swing;
  animation: 2s linear normal none infinite swing;
  -moz-transform-origin: center top
}

#canvasriver .items-topdown {
  position: relative;
  -webkit-animation: 2s linear normal none infinite topdown;
  animation: 2s linear normal none infinite topdown
}

#canvasriver .item-wish {
    position: absolute;
    bottom: 80px;
    font-size: 13px;
    cursor: pointer;
    /*background-color: #7056275c;*/
    background-color:rgba(255, 255, 255, 0.85);
    border-radius: 5px;
    /*border: 1px solid #705627;*/
    border:1px solid rgb(249, 197, 77);
    padding: 5px;
    width: 200px;
    display: none;
    color: rgb(102, 72, 0);
    /*font-family: 'Pattaya',sans-serif;*/
    font-family: 'sukhumvit',sans-serif;
}

#canvasriver .item-wish p{
	line-height: 1em;
    letter-spacing: .02em;
    font-size: 18px;
}

#canvasriver .item-base-slide:hover .item-wish, #canvasriver .items-active .item-wish {
  display: block;
  z-index: 99
}

.well-response {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0 auto
}

/*==============================================================*/





/*==============================================================*/

@media only screen and (max-width: 567px) {
    .bgkrathong{
		width: 100%;
      margin: 0 auto;
      /*background-color: #3095b3;*/
      background-image: linear-gradient(180deg, #3095b3, #2f93b3 120vh, #dfddc3);
    /*background: #03071d;*/
    /*background-image: url('./bgloykrathong2019-mobile.jpg');*/
    background-repeat: no-repeat;
		background-position: center left;
	    background-size: 100% auto;
	    /* height: 100%; */
	    position: fixed;
	    display: inline;
  }
  .col-xs-3 {
    width: 50%;
}
  
  #canvasriver{
    height: 200px;
  }

	.imglogo{
		left: 2%;
    	top: 12%;
    	position: absolute;
	}

	.canvasriver{
	    /*height: 150px;
	    position: fixed;
	    bottom: 0px;
	    width: 100%;
	    margin: 0px auto;*/
	    display: none;
	}

}

/*=================================================================*/
@-webkit-keyframes swing {
  0% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg)
  }
  50% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg)
  }
  to {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg)
  }
}

@keyframes swing {
  0% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg)
  }
  50% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg)
  }
  to {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg)
  }
}

@-webkit-keyframes slide {
  0% {
    left: 0
  }
  to {
    left: 0
  }
}

@keyframes slide {
  0% {
    left: 0
  }
  to {
    left: 0
  }
}

@-webkit-keyframes slide0 {
  0% {
    left: -100px
  }
  to {
    left: 100%
  }
}

@keyframes slide0 {
  0% {
    left: -100px
  }
  to {
    left: 100%
  }
}

@-webkit-keyframes slide1 {
  0% {
    left: -200px
  }
  to {
    left: 100%
  }
}

@keyframes slide1 {
  0% {
    left: -200px
  }
  to {
    left: 100%
  }
}

@-webkit-keyframes slide2 {
  0% {
    left: -400px
  }
  to {
    left: 100%
  }
}

@keyframes slide2 {
  0% {
    left: -400px
  }
  to {
    left: 100%
  }
}

@-webkit-keyframes slide3 {
  0% {
    left: -600px
  }
  to {
    left: 100%
  }
}

@keyframes slide3 {
  0% {
    left: -600px
  }
  to {
    left: 100%
  }
}

@-webkit-keyframes slide4 {
  0% {
    left: -1000px
  }
  to {
    left: 100%
  }
}

@keyframes slide4 {
  0% {
    left: -1000px
  }
  to {
    left: 100%
  }
}

@-webkit-keyframes topdown {
  0% {
    top: 0
  }
  50% {
    top: 10px
  }
  to {
    top: 0
  }
}

@keyframes topdown {
  0% {
    top: 0
  }
  50% {
    top: 10px
  }
  to {
    top: 0
  }
}