/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Sep 16, 2019, 3:32:06 PM
    Author     : TG45722
*/
@import url('https://fonts.googleapis.com/css?family=Sarabun&display=swap');
.textbox{
            height:500px;
            width:100%;
            border:1px solid #ccc;
            font:16px/26px Georgia, Garamond, Serif;
            overflow:auto;
            padding: 20px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 20px; 
        }
.box{
            width:50%;
            margin-left: auto;
            margin-right: auto;
            margin-top: 20px; 
            color: #3d1a6e;
        }

.box2{
    padding-top: 10px;
    width:50%;
    margin: auto;
    color: #3d1a6e;
    }
*{
    font-family: 'Sarabun', sans-serif;
    text-align: justify;
    
   }
.checkbox {
        margin-left:5px;
        margin-right:15px;
    }
.topic{font-weight: bold;}
.formhead{
    background-color:  #3d1a6e;
    color: white;
    padding: 5px;
    margin-top: 15px;
    margin-bottom: 15px
}
table{
    font-size: 20px;
}
.myButton {
    display: inline-block;
    background-color: #3d1a6f; /*#ffcb08;*/
    width: 165px;
    height: 37px;
    font-size: 18px;
    line-height: 37px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #3d1a6f; /*#ffcb08;*/
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    position: relative;
    border-radius: 30px;
    text-decoration: none;
    color: #ffcb08; /*#3d1a6f;*/
}

.myButton:hover {
    background-color: #ffcb08; /*#3d1a6f;*/
    color: white;
    border: 1px solid #ffcb08; /*#3d1a6f;*/
}

.myButton:active {
	position:relative;
	top:1px;
}

.myButton2 {
    display: inline-block;
    background-color: white;
    width: 165px;
    height: 37px;
    font-size: 18px;
    line-height: 37px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #3d1a6f; /*#ffcb08;*/
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    position: relative;
    border-radius: 30px;
    text-decoration: none;
    color: #3d1a6f; /*#ffcb08;*/
}

.myButton2:hover {
    background-color: white;
    color: #ffcb08; /*#3d1a6f;*/
    border: 1px solid #ffcb08; /*#3d1a6f;*/
}

.myButton2:active {
	position:relative;
	top:1px;
}

.centered {
  position: fixed;
  top: 45%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #3d1a6f;
  padding: 50px;
  border-radius: 30px;
  color: #3d1a6f;
}
a{
    color:red;
}
a:hover {
  text-decoration: underline;
}