@import url("font_face.css");
@import url("font-awesome.css");
@charset "UTF-8";
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: db_adman, 'Cordia New';
  color: #295BAA;
  line-height: 33px;
  overflow-y: hidden;
}
#page{
  width: 100%;
  height: 100%;
  float: left;
}
.bg_top_left {
    position: absolute;
    top: 0;
    left: 0;
}
.bg_top_right{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}
.bg_bottom_right{
    position: absolute;
    bottom: 0;
    right: 0;
}
.bg_top_left img, .bg_top_right img, .bg_bottom_right img{
    width: 80%;
}
input.form-control, textarea.form-control{
    font-size: 20px;
}

/*index*/
.logo_right{
    position: absolute;
    top: 9%;
    right: 10%;
}
.block_topic_eng{
    position: absolute;
    top: 22%;
    left: 25%;
    font-size: 6em;
}
.block_topic_thai{
    position: absolute;
    top: 32%;
    left: 43%;
    font-size: 6em;
    font-weight:bold;
}
.block_date{
    color: #424142;
    font-size: 0.4em;
    font-weight: normal;
}
.block_image{
    position: absolute;
    top: 40%;
    left: 25%;
}
.block_button{
    position: absolute;
    top: 80%;
    left: 40%;
}
.block_button .btn, .block_condition_button .btn, .block_input .btn, .block_upload .btn-post{
    font-size: 1.5em;
    padding: 6px 40px;
    -webkit-box-shadow: 2px 2px 2px 1px gray;
    -moz-box-shadow: 2px 2px 3px 1px gray;
    box-shadow: 2px 2px 3px 1px gray;
    background-color: #295BAA;
    border-radius: 4px;
}
.block_logo_customer{
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 0 10px 10px;
}
.block_logo_customer img{
    padding-left: 22px;
    vertical-align: baseline;
}
.img-logo-social{
        display: inline;
    }
@media screen and (max-width: 1279px) {
    .block_logo_customer{
        width: 80%;
    }
}
@media screen and (max-width: 979px) {
    .block_image{
        left: 15%;
        top: 40%;
    }
    .block_button{
        top: 70%;
    }
}
@media screen and (max-width: 767px) {
    .bg_top_left img, .bg_top_right img, .bg_bottom_right img{
        width: 50%;
    }
    .block_logo_customer img{
        display: none;
    }
    .block_image{
        width: 100%;
        left: 2%;
    }
    .logo_right{
        width: 100%;
        right: 0;
    }
    .logo_right img{
        display: block;
        margin: 0 auto;
    }
    .block_topic_eng, .block_topic_thai{
        font-size: 3em;
    }
    .block_topic_eng{
        top: 27%;
    }
    .block_button{
        top: 70%;
        left: 20%;
        z-index: 1;
    }
    .block_logo_customer img.logo-social{
        display: block;
    }
}
@media screen and (max-width: 359px) {
    .bg_top_left img, .bg_top_right img, .bg_bottom_right img{
        width: 30%;
    }
}
/*register*/
.logo_left{
    position: absolute;
    top: 23%;
    left: 25%; 
}
.logo_left img{
    width: 70%;
}
.block_image_left3{
    position: absolute;
    top: 35%;
    left: 13%;
}
.block_image_left4{
    position: absolute;
    top: 62%;
    left: 7%;
    z-index: -1;
}
.block_topic_eng_right{
    position: absolute;
    top: 20%;
    right: 25%;
    font-size: 6em;
}
.block_topic_thai_right{
    position: absolute;
    top: 30%;
    right: 8%;
    font-size: 6em;
    font-weight:bold;
}
.block_date_right{
    color: #424142;
    font-size: 0.4em;
    font-weight: normal;
}
.block_input{
    position: absolute;
    top: 45%;
    left: 50%;
    width: 100%;
    font-size: 1.5em;
    color: #424142;
    z-index: 1;
}
@media screen and (max-width: 1279px){
    .logo_left img{
        width: 100%;
    }
    .logo_left{
        top: 8%;
        left: 40%;
    }
    .block_topic_eng_right{
        left: 25%;
        right: 0;
    }
    .block_topic_thai_right{
        top: 30%;
        left: 50%;
        right: 0;
    }
    .block_image_left3{
        top: 38%;
        left: 30%;
    }
    .block_image_left4{
        top: 52%;
        left: 23%;
    }
    .block_input{
        left: 30%;
        top: 70%;
    }
}
@media screen and (max-width: 979px) {
    .block_image_left3{
        left: 20%;
    }
    .block_image_left4{
        left: 13%;
    }
}
@media screen and (max-width: 767px) {
    .logo_left img{
        width: 80%;
    }
    .logo_left{
        left: 28%;
    }
    .block_topic_eng_right, .block_topic_thai_right{
        font-size: 3em;
    }
    .block_topic_eng_right{
        top: 22%;
    }
    .block_topic_thai_right{
        top: 28%;
        left: 40%;
    }
    .block_image_left3{
        left: 0;
        top: 33%;
    }
    .block_image_left3 img{
        width: 80%;
        margin: 0 auto;
        display: none;
    }
    .block_image_left4{
        display: none;
    }
    .block_input{
        left: 0;
        top: 35%;
    }
    .form-horizontal .form-group .control-label{
        width: 100%;
        text-align: left;
    }
}
@media screen and (max-width: 359px) {
    .logo_left img{
        width: 70%;
    }
    .logo_left{
        top: 3%;
        left: 25%;
    }
    .block_topic_eng_right, .block_topic_thai_right{
        font-size: 2.5em;
    }
    .block_topic_eng_right{
        top: 18%;
        left: 15%;
    }
    .block_topic_thai_right{
        top: 22%;
    }
    .form-horizontal .form-group{
        margin-bottom: 5px;
    }
    .block_input{
        top: 31%;
    }
}


/*condition*/
.logo_customer{
    position: absolute;
    top: 25%;
    left: 18%;
    font-size: 1.8em;
    color: #424142;
    font-weight: bold;   
}
.block_condition_detail{
    position: absolute;
    top: 8%;
    left: 50%;
    border: 1px solid #BCBEC0;
    border-radius: 4px;
    background-color: #F0F1F1;
    padding: 20px;
    font-size: 0.8em;
    width: 40%;
    height: auto;
}
.block_condition_detail .topic{
    font-size: 3em;
    font-weight: bold;
}
.block_condition_detail .detail{
    font-size: 1.5em;
    float: left;
    line-height: 20px;
    margin-top: 10px;
}
.block_condition_button{
    position: absolute;
    top: 85%;
    left: 50%;
}
.block_input .btn{
    font-size: 1em;
}


@media screen and (max-width: 979px) {
    .logo_customer{
        text-align: center;
        width: 100%;
        left: 0;
        top: 10%;
    }
    .logo_customer img{
        margin: 0 auto;
    }
    .block_condition_detail{
        top: 48%;
        width: 85%;
        left: 5%;
        height: 350px;
        overflow-x: scroll;
    }
    .block_condition_button{
        left: 30%;
    }
}
@media screen and (max-width: 767px) {
    .logo_customer{
        top: 5%;
        left: 30%;
        width: 40%;
    }
    .block_condition_detail{
        top: 41%;
        height: 200px;
        overflow-x: scroll;
        -webkit-touch-overflow:scroll;
        z-index: 1;
    }
    .block_condition_button{
        z-index: 1;
        left: 5%;
        top: 92%;
    }
}
@media screen and (max-width: 359px) {
    .logo_customer{
        top: 5%;
        left: 35%;
        width: 30%;
    }
    .block_condition_detail{
        top: 36%;
        height: 250px;
        overflow-x: scroll;
    }
    .block_condition_button{
        z-index: 1;
        left: 12%;
        top: 88%;
    }
}

/*upload file*/
.block_upload{
    position: absolute;
    top: 15%;
    left: 15%;
    width: 75%;
}
.block_upload .topic{
    font-size: 3em;
    color: #424142;
}
@media screen and (max-width: 1279px){
    .block_upload{
        top: 10%;
        z-index: 2;
    }
    .block_upload .topic{
        padding-bottom: 50px;
    }
    .file-input{
        padding-bottom: 30px;
    }
    .page-activity .bg_bottom_right img{
        width: 100%;
    }
    .page-activity .bg_bottom_right{
        z-index: 1;
    }
    .form-activity .form-group button.btn-submit{
        z-index: 2;
    }
}
@media screen and (max-width: 979px) {
    .block_upload .topic{
        padding-bottom: 70px;
    }
    .page-activity .bg_bottom_right img{
        z-index: 1;
    }
    .form-activity .form-group button.btn-submit{
        z-index: 2;
    }
}

img.center{
    display: block;
    margin: 0 auto;
}