body {
    font-size:18px;
    height:100%;
    margin:0px;
    padding:0px;
    text-transform:uppercase;
    background-position: center;
    background-color: #1ebeea;
/*    font-family: 'Kanit', sans-serif;*/
/*
    background: -webkit-linear-gradient(top left, #1ebeea 0%, #9FDCFC 100%);
    background: -moz-linear-gradient(top left, #1ebeea 0%, #9FDCFC	 100%);
    background: -o-linear-gradient(top left, #1ebeea	 0%, #33CCCC	 100%);
    background: linear-gradient(to bottom right, #1ebeea	 0%, #33CCCC	 100%);
*/
}

article,topic { display: block; }

.wrapper {
    width: 80%;
    height: 100%;
    margin: 50px auto auto 10%;
    background-color:#f7f7f7;
    font-family: 'Kanit', sans-serif;
    clear: right;
}
a{
    color: red;
}

header{
    text-align: center;
    background-color:#008CBA;
    float: left;
    width:100%;
    height: 75px;
    color: white;
}


header1 {
    text-align: center;
    background-color:#008CBA;
    float: left;
    width: 35%;
    height: 100%;
}

header2 {
    text-align: center;
    background-color:#0eb1e6;
    float: left;
    width: 35%;
    height: 100%;
}

header3 {
    text-align: center;
    background-color:#58c0f6;
    float: left;
    width: 30%;
    height: 100%;
}


input {
    margin: auto;
    padding: 12px 20px auto auto;
    font-family: 'Kanit', sans-serif;
    font-size:14px;
}

input[type=text] {
    width: 36.5%;
    height: 70%;
    box-sizing: border-box;
    border: 2px solid #008CBA;
    border-radius: 4px;
}
input[type=text]:hover{
    background: #DFE9EC;
    color: #414848;
}
input[type=text]:focus{
    background: #DFE9EC;
    color: #414848;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    outline: 0;
}
input[type=text].title{
    width: 5%;
}

input[type=number] {
    width: 36.5%;
    height: 70%;
    box-sizing: border-box;
    border: 2px solid #008CBA;
    border-radius: 4px;
}
input[type=number]:hover{
    background: #DFE9EC;
    color: #414848;
}
input[type=number]:focus{
    background: #DFE9EC;
    color: #414848;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    outline: 0;
}

input[type=date] {
    width: 36.5%;
    height: 70%;
    box-sizing: border-box;
    border: 2px solid #008CBA;
    border-radius: 4px;
}
input[type=date]:hover{
    background: #DFE9EC;
    color: #414848;
}
input[type=date]:focus{
    background: #DFE9EC;
    color: #414848;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    outline: 0;
}

input[type=password] {
    width: 36.5%;
    height: 70%;
    box-sizing: border-box;
    border: 2px solid #008CBA;
    border-radius: 4px;
}
input[type=password]:hover{
    background: #DFE9EC;
    color: #414848;
}
input[type=password]:focus{
    background: #DFE9EC;
    color: #414848;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    outline: 0;
}

input[type=tel] {
    width: 36.5%;
    height: 70%;
    box-sizing: border-box;
    border: 2px solid #008CBA;
    border-radius: 4px;
}
input[type=tel]:hover{
    background: #DFE9EC;
    color: #414848;
}
input[type=tel]:focus{
    background: #DFE9EC;
    color: #414848;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
    outline: 0;
}

input[type="radio"]{
display: none; 
}

label{
    color:#0485d1;
    padding: 5px 0px 5px 40px;
    display: inline-block;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
/*
    -webkit-transition:all 0.3s ease;
    -o-transition:all 0.3s ease;
    transition: all 0.3s ease;
*/
}

label:hover{
    color:#1e1e1e;
    background:#b5ddf4;
}


label:before{
    content: "";
    width: 17px;
    height: 17px;
    display: inline-block;
    background: none;
    border: 3px solid #0774D9;
    border-radius: 50%;
    position: absolute;
    left: 17px;
    top: 4px;
}

input[type="radio"]:checked + label{
    background: #f7f7f7;
    border-radius: 2px;
    color: #1e1e1e;
}

input[type="radio"]:checked + label:before{
    content: '✔';
    font-size: 30px;
    text-align: center;
    line-height: 7px;
    width: 17px;
    height: 17px;
    display: inline-block;
    background: none;
    border: 3px solid #1e1e1e;
    border-radius: 50%;
    position: absolute;
    left: 17px;
    top: 4px; 
}

input[type="checkbox"]{
display: none; 
}
label2{
    background: url('image/eye.png') 0 0;
/*
    -webkit-transition:all 0.3s ease;
    -o-transition:all 0.3s ease;
    transition: all 0.3s ease;
*/
}

label2:hover{
   
}


label2:before{
    background: url('image/eye.png')-47px 0;   
}


.button {
    background-color: #008CBA; /* blue */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    width: 125px;
    height: 54;
}

.button1:hover{
    background-color: white; 
    color: black; 
}

.button1 {
    background-color: #0774D9;
    color: white;
    border: 2px solid #0774D9;
}

.button2:hover{
    background-color: white; 
    color: black; 
}

.button2 {
    background-color: #f44336;
    color: white;
    border: 2px solid #f44336;
}

section{
    padding-top: 100px; 
    padding-bottom: 84px; 
}

footer{
    float: left;
    width: 100%;
    color: white;
    background-color: #0774D9;
}

action {
    float: right;
    margin: 10px 125px 10px 125px;
}

article{
    clear: both;
/*    overflow: auto;*/
    height: 40px;
    border-top: 10px;
}

article.more{
    height: 60px;
}

test{
    float: left;
    box-sizing: border-box;
    margin: auto;
    height: 100%;
    width: 75%;
}

line{
    float: left;
    height: 30px;
    width: 100%;
}

topic {
    float: left;
    text-align: right;
    width: 25%;
    height: 100%;
    margin: auto;
    background-position: center;
    vertical-align: middle;
}

.showpass {
    width: 20px;
    height: 20px;
    padding-top: 5px;
    box-sizing: border-box;
    border: 2px solid #008CBA;
    border-radius: 4px;
}

/*
detail {
    margin-left: 100px;
    width: 50%;
}
*/
/*Bubbles*/
form {
  position: relative;
  z-index: 2;
}

.bg-bubbles {
      position: absolute;
      top: 0;
      left: 0;
      width: 97%;
      height: 100%;
      z-index: 1;
}

.bg-bubbles li {
  z-index: 1;
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -160px;
  -webkit-animation: square 25s infinite;
  animation: square 25s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}


.bg-bubbles li:nth-child(1) {
  left: 10%;
}

.bg-bubbles li:nth-child(2) {
  left: 25%;
  width: 80px;
  height: 80px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 17s;
          animation-duration: 17s;
}

.bg-bubbles li:nth-child(3) {
  left: 35%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  -webkit-animation-duration: 22s;
          animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}

.bg-bubbles li:nth-child(5) {
  left: 70%;
}

.bg-bubbles li:nth-child(6) {
  left: 75%;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-bubbles li:nth-child(7) {
  left: 7%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 9s;
          animation-delay: 9s;
}

.bg-bubbles li:nth-child(8) {
  left: 85%;
  width: 20px;
  height: 20px;
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 30s;
          animation-duration: 30s;
}

.bg-bubbles li:nth-child(9) {
  left: 8%;
  width: 20px;
  height: 20px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 30s;
          animation-duration: 30s;
  background-color: rgba(255, 255, 255, 0.3);
}

.bg-bubbles li:nth-child(10) {
  left: 85%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
}
.bg-bubbles li:nth-child(11) {
  left: 2%;
  width: 80px;
  height: 80px;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.bg-bubbles li:nth-child(12) {
  left: 75%;
  width: 30px;
  height: 30px;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.bg-bubbles li:nth-child(13) {
  left: %;
  width: 10px;
  height: 10px;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}

@keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
  }
}
/*Bubbles*/