﻿
/*-----------------------General------------------------------*/

body{
	
	font-family:'Roboto','Noto Sans TC', 'Noto Sans SC',sans-serif;
	line-height:1.5;
	font-size:16px;
	background-color:#fff;
	margin:0px;
	padding:0px;
	color:#505759;
	z-index:800;	
  box-sizing: border-box;	
}

.content{
  width:100%;
	position:absolute;
	top:0;
	background:#fff;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
}

.BigDiv-form{
  width: 100%;
  box-sizing: border-box;	
}


/*****************************************************************************
		DESKTOP
******************************************************************************/	


/*-----------------------Forms------------------------------*/


/*------------------------
         FORMS WRAPPER
-------------------------*/

.wrapper {
	width:80%;
	height:auto;
	margin:30px auto;
	padding:0;
	padding-bottom:5%;
	text-align:center;	
}



input, select, textarea{ 
   -moz-appearance: none;
   -webkit-appearance: none;
   -webkit-border-radius: 0;
   -moz-border-radius:0;

}

fieldset {
	-webkit-box-shadow:0;
	-webkit-appearance: none;
  -moz-appearance: none;
	-webkit-border-radius: 0;
  -moz-border-radius:0;	
  border:none;
	overflow:hidden;
	padding:0;
	text-align:center;	
}


/*------------------------
         FIELDSETS
-------------------------*/

/* Style 1: rounded corners*/
.fieldset_style1 {
  width:100%;
  margin:50px 0;
  background:#eeefef ;
  border-radius:10px;
  padding-bottom:30px;
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.legend_style1 {
  background-color:#0076bc;
  color:#fff;
  padding:5px 30px;
  text-align:left;
  margin:20px 30px;
  border-radius:20px;
  box-shadow: 0px 5px 10px 2px rgba(0,0,0,0.2); 
  box-sizing: border-box;
}

.fieldset_style1 h4{
  text-align: center;
}

/* Inner-fieldset:Style 1*/
.inner_fieldset_style1 {
  width:80%;
  margin:50px auto;
  border:1px solid #0076bc;
  padding-bottom:20px;
  box-sizing: border-box;
}

.inner_fieldset_legend_style1 {
  color: #0076bc;
  padding:5px 10px;
  text-align:left;
  margin:20px 30px;
  box-sizing: border-box;
}





/*------------------------
         CHECKBOX
-------------------------*/


/* The container for checkbox */
.chkcontainer {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.chkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.chkcheckmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color:#fff;
}

/* On mouse-over, add  background color */
.chkcontainer:hover input ~ .chkcheckmark {
  background-color: #0076bc;
}

/* When the checkbox is checked, add background */
.chkcontainer input:checked ~ .chkcheckmark {
  background-color: #0076bc;
}

/* Create the checkmark/indicator (hidden when not checked) */
.chkcheckmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.chkcontainer input:checked ~ .chkcheckmark:after {
  display:inline;
}

/* Style the checkmark/indicator */
.chkcontainer .chkcheckmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/*------------------------
         RADIO BUTTON
-------------------------*/

/* The container */
.rdbutton_container {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.rdbutton_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.rdbutton{
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border-radius: 50%;
}

/* On mouse-over, add a green background color */


/* When the radio button is checked, add a green background */
.rdbutton_container input:checked ~ .rdbutton {
  background-color: #0076bc;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.rdbutton:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.rdbutton_container input:checked ~ .rdbutton:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.rdbutton_container .rdbutton:after {
 	top: 5px;
	left: 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
}





/*------------------------
         FONTS
-------------------------*/

.BigDiv-form h2, p {
	text-align:center;
  color:#fff
}




/*------------------------
         UL & Labels
-------------------------*/

form ul {
	list-style: none;
	text-align:left;
}

form li {
	margin: 0.5em auto;
	text-align:left;

}

form label {
	display: inline-block;
	padding: 3px 0;
	text-align: left;
	width: 20%;
	vertical-align: top;
}


/*------------------------
         INPUTS
-------------------------*/

input {
  margin: 5px;
  font-size: 16px;
}

input, select, textarea {
	font: inherit;
	border-style:none;
	background-color:#fff;
  margin-left:2%;
  padding-left:2%;
  box-sizing: border-box;
}

/**upload file textbox**/

.input_upload::before{
  content: '上傳圖檔';
  display: inline-block;
   background: #0076bc;
   color:#fff;
   padding: 5px 2%;
   margin-right:3%;
   outline: none;
   white-space: nowrap;
   cursor: pointer;
   font-size: 14px;
   box-sizing: border-box;
 }
 
.input_upload::-webkit-file-upload-button {
   display:none;
 }

 .input_upload::-webkit-file-upload-text {
  visibility: visible;
}
 
 .input_upload{
   padding-left:0;
 }

 .remark{
   margin-top:0;
   text-align:left;
   margin-left:32%;
   color:#505759;
   font-size: 12px;
 }

/*----------effects---------------*/
input:focus, textarea:focus {
  border:1px solid #0076bc;
}

input:hover, textarea:hover, select:hover{
	border:1px solid #0076bc;
}

input:active, textarea:active, select:active{
	border:1px solid #0076bc;
}



/*----------sizes------------*/
.large {
	width: 80%;
}

.medium {
	width: 65%;
  height: 30px;
}

.small {
	width: 30%;
}


textarea {
	font: inherit;
	width: 280px;
	height:200px;

}


/*------------------------
         BUTTONS
-------------------------*/

form.button{
	vertical-align:middle;	
	margin:0 auto;
	margin-top:20px;
  border: none;	
  
}

.button_style1:hover{
  opacity: 0.8;
  border: none;	
}

.button_style1{
  width:15%;
	margin:20px 10px;
  padding:10px;
  background: #0076bc;
  color:#fff;
  box-sizing: border-box;
}




/*****************************************************************************
		iPad
******************************************************************************/
@media screen and (max-width: 820px){

.wrapper {
    width:85%;
}

.medium{
  width: 50%;
}

form label {
	width: 30%;
}

}





/*****************************************************************************
		iphone
******************************************************************************/	



@media screen and (max-width: 470px){

.wrapper {
	width:90%;
  margin:0 auto;
}

.medium {
  width: 80%;
  height:40px;
}

form label {
	width: 50%;
}

.BigDiv-form p{
  margin:0 20%;
  text-align: left;
}

.fieldset_style1 h4{
  margin-right:15%;
  text-align: center;
}

.button_style1{
  width:90%;
  margin:0 auto 10% auto;
  height:50px;
  box-sizing: border-box;
}

.input_upload::before{
  height:40px;
  padding-top:3%;
}

.remark{
  margin-left:0;
  color:#505759;
}

}