@charset "utf-8";

/* CSS Document */
.headinner > .container{
    position: relative;
}
.mappopup{
    position: absolute;
    right: 0;
    top: 20px;
    width: 290px;
    height: 290px;
}
.mappopup > a{
    display: block;
    height: 145px;
    width: 145px;
    color: #fff;
    font-size: 20px;
    padding-top: 30px;
    text-align: center;
    position: absolute;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}
.mappopup > a .fa{
    font-size: 50px;
    margin-right: 0;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}
.mappopup > a:hover .fa{
    -webkit-transform: rotateY(180deg);
       -moz-transform: rotateY(180deg);
        -ms-transform: rotateY(180deg);
         -o-transform: rotateY(180deg);
            transform: rotateY(180deg);
}
.mappopup > a .name{
    padding-top: 10px;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}
.mappopup > a:hover .name{
    padding-top: 13px;
}
.mappopup > a.normal{
    background: #003bab;
    top: 0;
    left: 0;
}
.mappopup > a.googlemap{
    background: #fecc02;
    bottom: 0;
    right: 0;
}
.innercontainer{
    font-family: 'THSarabunNew';
    font-size: 18px;
}
.innercontainer .showcontent{
	overflow: inherit!important;
    padding-top: 20px;
    margin-top: 18vw;
    padding-bottom: 40px;
}
.innercontainer .showcontent{
    position: relative;
}
.innercontainer .showcontent::before{
    content: '';
    z-index: 0;
    position: absolute;
    height: 400px;
    left: 0;
    right: 0;
    top: 0;
    background: #fff;
}
.innercontainer .showcontent > .container{
    position: relative;
    z-index: 1;
}
.maincontainer .innercontainer{
    padding-bottom: 0;
}
.showcontent>h2 {
    font-size: 26px;
    font-weight: normal;
    color: #fff;
    background:#3162ce;
    padding: 20px 25px;
}

.contactleft {
    width: 50%;
    float: left;
    padding-right: 10px;
    position: relative;
    min-height: 300px;
}
.contactleft .boxaddressinfo{
    position: relative;
    margin-top: -170px;
    background: #fff;
    min-height: 500px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: 0px 20px 20px rgba(0,0,0,0.3);
}
.contactleft .boxaddressinfo::before{
    content: '';
    position: absolute;
    height: 5px;
    width: 60%;
    right: 0;
    top: 0;
    background: #003bab;
}
.contactleft .boxaddressinfo h2{
    margin-top: 0;
    font-size: 32px;
    color: #d20c14;
    font-weight: bold;
}
.contactleft.text {
    width: 50%;
}

.contactright {
    width: 50%;
    float: right;
    padding-left: 40px;
    padding-right: 40px;
}
.contactright .fmrows{
    padding-bottom: 10px;
}
.contactright h3{
    color: #2f1a75;
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: bold;
}
.contactright .redrequest{
    font-size: 18px;
    color: red;
    font-style: italic;
    padding-bottom: 10px;
}
.contactleft .boxaddressinfo > .info{
    padding: 40px 40px;
}
.contactleft .boxaddressinfo .address {
    font-size: 24px;
    margin-bottom: 20px;
}
.contactleft .boxaddressinfo .other{
    padding-bottom: 15px;
}
.contactleft .boxaddressinfo .other .title{
    color: #003bab;
    font-size: 22px;
    font-weight: 400;
}
.contactleft .boxaddressinfo .other .title > span{
    float: left;
}
.contactleft .boxaddressinfo .other .title .info{
    color: #333;
    font-size: 20px;
    padding-left: 30px;
}
.contactleft .boxaddressinfo > img{
    width: 100%;
}
#myForm {}

#myForm>.bxcleft {
    float: left;
    margin-bottom: 10px;
}

#myForm>.bxcright {
    float: right;
    margin-bottom: 10px;
}

#myForm .w01 {
    width: 307px;
}

#myForm .w02 {
    width: 124px;
}

#myForm .mt01 {
    margin: 7px 4px 0 4px;
}

#myForm .mt02 {
    margin-top: 9px;
}

#myForm .mt03 {
    margin-top: 2px;
}

#myForm input[type=text], 
#myForm input[type=email], 
#myForm input[type=password], 
#myForm input[type=date], input[type=tel], 
#myForm input[type=number], 
#myForm input[type=phone], 
#myForm input[type=submit], 
#myForm select, 
#myForm textarea, 
#myForm button {
    font-family: 'THSarabunNew';
}
#myForm input[type=text] {
    width: 100%;
    height: 40px;
    font-size: 20px;
    color: #333;
    border: 1px solid #ccc;
    padding: 0 15px;
    background: rgba(255,255,255,0.5);
}
#inputRecaptcha{
	font-size: 20px;
}
#myForm select {
    width: 100%;
    height: 40px;
    font-size: 20px;
    border-radius: 0;
    background: rgba(255,255,255,0.5);
    padding-top: 0px;
    padding-bottom: 3px;
}

#myForm textarea {
    width: 100%;
    height: 150px;
    background: rgba(255,255,255,0.5);
    border: 1px solid #ccc;
    font-size: 20px;
    color: #333;
    padding: 10px 15px;
}

/* #myForm .error {
    border: 1px solid #ccc !important;
} */

a.reload {
    display: block;
    background: url(../images/contactus/reload.png) no-repeat;
    width: 19px;
    height: 19px;
    margin-top: 5px;
}

#myForm input[type=text].inputTextfocus {
    border: 2px solid #319acd;
    padding: 0 0 0 4px;
}

#myForm input[type=text].inputText {
    font-size: 20px;
}

#myForm textarea.inputAreafocus {
    border: 2px solid #319acd;
    padding: 0 0 0 4px;
    height: 128px;
}

#myForm textarea.inputArea {
    height: 122px;
}

.boxmap {
    width: 100%;
    position: relative;
}

.boxmap>h2 {
    font-size: 20px;
    font-weight: normal;
    color: #FFF;
    background: #3162ce;
    height: 55px;
    line-height: 55px;
    padding-left: 25px;
}

.boxmap>.mapshow {
    width: 100%;
    height: 365px;
    position: relative;
}

.boxmap>.mapshow img {
    width: 100%;
}

.boxmap .textover {
    opacity: 0;
    background: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.boxmap:hover .textover {
    opacity: 0.6;
}

.boxmap .textover a {
    background: url(../images/contactus/iconmap.png);
    overflow: hidden;
    height: 194px;
    display: block;
}
.boxmap .textover a.icoviewgmap,
.boxmap .textover a.icozoom {
    width: 110px;
    height: 110px;
    background-position: -278px -67px;
    position: absolute;
    left: 0;
    top:0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.boxmap .textover a.icoprint {
    width: 200px;
    background-position: left top;
    position: absolute;
    left: 70px;
    top: 28px;
}

.cmobileft {
    float: left;
    padding-right: 5px;
}

.cmobiright {
    float: right;
}
.btnsubmit{
    background: #000;
}
#myForm input[type=submit] {
    background: #000;
    font-family: "DBOzone";    
    border-color: transparent;
    vertical-align: middle;
    font-size: 20px;
    padding: 7px 0;
}
.btnreset, .btnreset1 {
    background: #969696;
    vertical-align: middle;
    font-family: "DBOzone" !important;   
    width: 123px;
    height: 39px;
    font-size: 20px;
    color: #FFF;
    border: none;
    cursor: pointer; 
}
input[type="file"]{
    margin-top: 0;
}
.bxcaptcha{
    padding: 10px 0;
}
@media (max-width: 1369px) {


}
@media (max-width: 1199px) {
    .contactright h3{
        font-size: 30px;
    }
	.showcontent>h2{
		font-size: 22px;
		text-align: center;
	}
	#myForm .w01 {
	    width: 272px;
	}
	.contactleft>.address{
		font-size: 16px;
	}
}
@media (max-width: 1024px) {
    .headinner{
        padding-top: 50px;
    }
    .contactleft .boxaddressinfo h2{
        font-size: 24px;
    }
    .contactleft .boxaddressinfo .address{
        font-size: 18px;
    }
    .mappopup{
        top: 0;
    }
    .contactleft .boxaddressinfo .address{
        margin-bottom: 15px;
    }
    .contactleft .boxaddressinfo .other .title{
        font-size: 20px;
    }
    .contactleft .boxaddressinfo .other{
        padding-bottom: 0;
    }
}
@media only screen and (max-width:991px) {
    .innercontainer>.linehead{
        height: 300px;
    }
    .contactleft .boxaddressinfo{
        margin-left: 0;
        margin-right: 0;
    }
    .contactright{
        padding-left: 30px;
        padding-right: 0px;
    }
    .showcontent>h2{
    	font-size: 18px;
    }
    .contactleft .boxaddressinfo{
        margin-top: -100px;
    }
    #myForm>.bxcright{
    	padding-left: 5px;
    	width: 50%;
    }
    #myForm>.bxcleft{
    	width: 50%;
    	padding-right: 5px;
    }
    #myForm select{
    	width: 100%;
    }
    #myForm input[type=text]{
    	width: 100%;
    }
    .showcontent>h2{
    	margin-top: 0;
    }
    .mappopup{
        width: 200px;
        height: 200px;
    }
    .mappopup > a{
        height: 50%;
        width: 50%;
        padding-top: 20px;
    }
    .mappopup > a .fa{
        font-size: 30px;
    }
    .mappopup > a .name{
        font-size: 16px;
    }
    .innercontainer>.linehead{
        height: 33vw;
    }
    .contactleft .boxaddressinfo > .info{
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (max-width: 767px) {
    .contactleft .boxaddressinfo > .info{
        padding: 30px;
        padding-bottom: 20px;
    }
    .contactleft{
        min-height: inherit;
    }
    .contactright{
        padding-left: 15px;
        padding-right: 10px;
    }
    .innercontainer .showcontent::before{
        display: none;
    }
    .contactleft .boxaddressinfo h2{
        margin-bottom: 0;
    }
    .contactleft .boxaddressinfo .address{
        margin-bottom: 5px;
    }
    .contactleft .boxaddressinfo .other{
        padding-bottom: 5px;
    }
}
@media only screen and (max-width:680px) {
    .innercontainer>.linehead{
        height: inherit;
    }
    .headinner{
        padding-top: 30px;
    }
    .innercontainer .showcontent{
        padding-top: 15px;
        background: none;
    }
    .innercontainer .showcontent{
        margin-top: 0;
    }
    .contactleft.text{
        width: 100%;
        padding-right: 0;
    }
    .contactleft .boxaddressinfo > img{
        display: none;
    }
    .contactleft .boxaddressinfo{
        margin-top: 0;
        min-height: inherit;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    }
    .contactleft {
        width: 100%;
        float: left;
    }
    .contactright {
        width: 100%;
        float: left;
    }
    .boxmap>.mapshow{
    	height: 53vw;
    }
    .showcontent>h2{
    	font-size: 22px;
    }
    s.contactleft,
    .contactright{
    	padding-left: 0;
    	padding-right: 0;
    	padding-bottom: 5px;
    }
    .mappopup{
        top: -17px;
        right: 15px;
        height: 100px;
    }
    .mappopup > a{
        height: 100%;
    }
    .mappopup > a.googlemap{
        top: 0;
    }
}

@media only screen and (max-width: 550px) {
	.cmobiright{
		float: left;
		padding-right: 5px;
	}
	#myForm>.bxcright,
	#myForm>.bxcleft{
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
    .contactleft .boxaddressinfo .other .title{
        font-size: 20px;
    }
}
@media only screen and (max-width:425px) {
    .contactleft .boxaddressinfo h2{
        font-size: 21px;
    }
    .contactleft .boxaddressinfo .other .title{
        font-size: 18px;
    }
    .headinner h1{
        padding-top: 20px;
    }
    .mappopup > a:hover .name{
        padding-top: 7px;
    }
    .headinner{
        padding-top: 15px;
    }
    .innercontainer .showcontent{
        padding-bottom: 0px;
        padding-top: 0;
    }
    .contactright h3{
        font-size: 24px;
        margin-bottom: 0px;
    }
    .contactleft .boxaddressinfo > .info{
        padding: 20px;
    }
	.boxmap>h2{
		font-size: 18px;
	}
	.showcontent>h2{
		margin-bottom: 0;
		font-size: 18px;
		line-height: inherit;
	}
	.contactleft>.address{
		font-size: 15px;
		padding-left: 5px;
		padding-right: 5px;
		margin-bottom: 5px;
	}
	.contactleft>.email,
	.contactleft>.fax,
	.contactleft>.tel{
		font-size: 14px;
	}
    .mappopup{
        top: 0px;
        width: 130px;
        height: 65px;
    }
    .mappopup > a .name{
        font-size: 10px;
        padding-top: 5px;
    }
    .mappopup > a{
        padding-top: 10px;
    }
    .mappopup > a .fa{
        font-size: 18px;
    }
}

@media screen and (min-width: 1200px) {
    .contactright {
        margin-top: -85px;
    }
}
@media screen and (min-width: 1500px) {
    .contactright {
        margin-top: -25px;
    }
}
@media screen and (min-width: 1900px) {
    .contactright {
        margin-top: -80px;
    }
}