/*
 * Theme Name: TaiChing
 * Description: 台慶
 * Author: RaiseUp
*/
body {
    margin: 0px;
}
/* Header style */
header.header {
    background-color: #005083;
    height: 90px;
    border-top: 10px solid #F5A200;
	z-index: 99999;
}
header .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
	margin: 0 5%;
	width: 90%;
}
section .wrapper {
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0 5%;
    width: 90%;
}
.hdr-logo {
    width: 25%;
}
.hdr-logo img {
	width: 80%;
}
nav#nav-main {
    width: 50%;
	display: block;
}
.menu {
	display: block;
}
.mobile_bar {
    display: none;
}
.account {
    width: 25%;
	display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

#nav-main ul {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    list-style-type: none;
}
li.menu-item {
    width: 20%;
	text-align: center;
}
li.menu-item:not(:last-child) {
    border-right: 1px solid #FFF;
}
li.menu-item a {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.6em;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    text-decoration: none;
}
li.menu-item.actived a {
    color: #F5A200;
}
span.user_name,a.user_logout {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6em;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin: 0 15px;
	text-decoration: none;
}

/*Footer style*/
footer#footer {
    background-color: #005083;
    height: 90px;
    border-bottom: 10px solid #F5A200;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

/*Content style*/

.content-wrapper {
	width: 100%;
}
.section {
    margin: 50px 0px;
	width: 100%;
}
div#search-results {
    overflow-x: scroll;
}
/* login-form */
.login.section {
    margin: 0px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
form#login_form {
    background-color: #F9F9F9;
    padding: 50px 35px;
    box-shadow: 10px 10px 20px rgb(0 0 0 / 10%);
    border-radius: 30px;
}
.logo img {
    width: 60%;
    margin: 0% 20% 10% 20%;
}
.login-field {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
}
.login-field label {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.1em;
    color: #000000;
    padding: 10px 0px;
}
.login-field input {
    background: #FFFFFF;
    border: 1px solid #C5C5C5;
    border-radius: 10px;
    height: 30px;
	padding: 0px 10px;
	width: auto;
}
.login-field button#submit {
    background: #0069AC;
    border-radius: 10px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin: 50px 0px 10px 0px;
}
div#user-forget-field {
    text-align: end;
}
.chart {
    height: 300px;
    background: #cfcfcf;
    overflow: scroll;
}
/* search-form & update-form*/

form#search_form,form#update_form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.table_form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
	border: solid #AAAAAA;
	border-width:0px 0px 1px 0px;
	width: 100%;
	box-sizing: border-box;
}
.basic_table {
    width: 100%;
	margin-bottom: 50px;
}
.history_table {
    width: 100%;
	border-width:0px 0px 1px 1px;
}
.table_form.house_data_table {
    width: 25%;
}
.data_table, .cadastral_table {
    width: 50%;
    border-width: 1px;
}
.image_table,.notice_table {
    width: 25%;
	border-width:0px;
}

.search_field, .update_field{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
	width: 25%;
	height: 50px;
	border:solid #AAAAAA;
	border-width: 1px;
    box-sizing: border-box;
}
.update_field.radio_field {
    border: solid #AAAAAA;
    border-width: 1px;
    width: 25%;
}
.update_field.full{
	width: 100%;
}
.update_field.full{
	width: 100%;
}
.search_field.double, .update_field.double{
	width: 50%;
}
.search_field.half, .update_field.half{
	width: 12.5%;
}
.update_field.radio_field.half{
	width: 12.5%;
}
.update_field.full.image {
    height: 400px;
}
.update_field.full.image_description {
    height: 200px;
}
.table_form.cadastral_table img {
    max-height: 320px;
}
.image_table .update_field.full.image {
    height: max-content;
	box-sizing: content-box;
	min-height: 350px;
}
.image_table .update_field.full.image_description {
    height: 80px;
}
.update_field.full.description {
    height: 300px;
}
.notice_table .update_field.full.description {
    height: 432px;
}
.update_field.unable label {
    background: #00000080;
}
.search_field label,.update_field label {
    background: #005082;
    border: solid #AAAAAA;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    max-height: 50px;
    min-height: 50px;
    flex-grow: 0;
    width: 100px;
    border-width: 1px;
    vertical-align: middle;
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
	box-sizing: border-box;

}
label.radio_label {
    background: transparent;
    color: #005082;
    padding: 0px;
    flex-grow: 5;
    width: 5px;
    text-align: left;
	border-width:0px;
}
input, select, i.add , textarea, .image img {
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.1em;
    padding: 15px 5px;
    border: solid #AAAAAA;
	border-width: 0px;
	max-height: 100%;
	width: 60%;
	flex-grow: 7;
	box-sizing: border-box;
}
textarea {
    resize: none;
	min-height: 100%;
    box-sizing: border-box;
}
textarea.col-full {
    width: 100%;
	padding: 15px 15px;
}
.image_table textarea.col-full {
    width: 100%;
	padding: 15px 15px;
}
i.add {
    text-align: center;
    font-size: 20px;
}
.add_field {
    cursor: pointer;
}
input.col-half {
    width: 15%;
    flex-grow: 3.5;
}
input.col-full, select.col-full {
    width: 20%;
}
select.col-half {
	width: 30%;
    flex-grow: 3.5;
	border-width: 0px 1px 0px 0px;
}
input.col-fourth {
    width: 10px;
}
.image img {
	min-height: 270px;
	width: 100%;
	padding: 0px;
	object-fit: contain;
    object-position: top;
}
.image input[type="file"] {
    min-height: 70px;
}
.image_table .image img {
	height: 300px;
	width: 100%;
	object-fit: contain;
}
.image_table .image input[type="file"] {
    min-height: 50px;
	padding: 0px;
}
select.col-half-40,input.col-half-40 {
    width: 50px;
}
input[type=radio] {
    flex-grow: 2;
	width: 5px;
}
span.unit_ceil {
    text-align: center;
    border: solid #AAAAAA;
    height: 48px;
	max-height: 50px;
	width: 20px;
	border-width: 0px 1px;
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}
span.table_header {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #005083;
    background: #F7F7F7;
    border: solid #AAAAAA;
    border-width: 0px;
    width: 100%;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
}
span.unit_ceil.date {
    height: 50px;
}
input:focus-visible,select:focus-visible {
    outline: 0;
}

button {
    background: #F5A200;
    border: 1px solid #000000;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.1em;
    color: #000000;
    padding: 8px 45px;
	margin: 10px;
	transition: .5s ease;
}
button:hover {
    transform: scale(0.95);
	cursor: pointer;
    transition: .5s ease;
}
.btn_section {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
div#gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
	height: max-content;
}
.gallery .list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
}
.gallery .list img {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    min-height: 150px;
	padding: 5px;
}
.gallery .list a {
	width: 200px;
    max-width: 200px;
}
/*object_table*/
table, tr, td, th {
    border: 0.25px solid #AAAAAA;
    border-spacing: 0px;
	white-space: nowrap;
}
table {
	width: 100%;
	display: table;
	overflow-x: scroll;
	white-space: nowrap;
}

#result_table{
	font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.1em;
	background: #FFF;
}
#result_table th {
    background: #005083;
    color: #FFFFFF;
}
#result_table td {
	color: #005083;
}
table#result_table.my_object th{
	background: #000;
	color: #FFF;
}
table#result_table.my_object td{
	color: #000;
}
table#result_table.overdue_object td {
    color: #B90000;
}
/*update_form*/
.updateType_section.section {
    width: 1000px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #005082;
}
.type_col {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.type_object {
    padding: 60px 30px;
    background: #F9F9F9;
    box-shadow: 10px 10px 20px rgb(0 0 0 / 10%);
    border-radius: 30px;
    margin: 40px 20px;
    text-align: center;
	transition: .5s ease;
}
.type_object:hover {
    transform: scale(1.05);
    transition: .5s ease;
}
p.type_name {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #000000;
}
a.type_url {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background: #005083;
    border-radius: 16.9793px;
    padding: 7px 28px;
    text-decoration: none;
}
/*
@media only screen and (max-width: 1600px) {
	table {
		display: block;
	}
	.table_form.house_data_table {
		width: 50%;
	}
}
*/
@media only screen and (max-width: 1280px) {
	body > #content{
		width:100%;
		padding:1.5%;
	}

	body section .wrapper{
		width:100%;
		overflow-x: scroll;
	}
	body .update_field label{
		width:75px;
		font-size:.9rem;
	}
	body #content label[data-suffix]{
		display:inherit;
	}
	body  label[data-suffix]::after{
		display:none;
	}
	body .wrapper{
		width:100%;
		margin:0;
	}
	body .wrapper > .section {
		width:100%;
		margin:0;
	}
	form#search_form, form#update_form {
		overflow-x: scroll;
		width: 1280px;
	}
	div#search-results {
		overflow-x: unset;
	}
	/*
	.image_table,.notice_table {
		width: 50%;
	}
	.table_form.house_data_table {
		width: 100%;
	}
	.search_field, .update_field {
		width: 50%;
	}
	.update_field.double {
		width: 100%;
	}
	.update_field.radio_field {
		width: 50%;
	}
	.update_field.radio_field.half{
		width: 25%;
	}

	.search_field.half ,.update_field.half{
		width: 25%;
	}
	/*
	table, thead, tbody, th, td, tr {
		display: block;
		border: 0.25px solid #eee;
	}
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	tr {
		border-top: 1rem solid #eee
    }
	td {
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: calc(50% + 10px);
		padding-top: 5px;
    	padding-bottom: 5px;
		text-align: left;
	}
	td:before {
		position: absolute;
		top: 0;
		left: 0px;
		width: 45%;
		height: calc(100% - 10px);
		background-color: #005083;
		color: #FFF;
		padding: 5px 10px;
		white-space: nowrap;
	}
	.my_object td:before {
		background-color: #000000;
	}
	*/

	/*
	td:nth-of-type(1):before { content: "CS連結"; }
	td:nth-of-type(2):before { content: "編輯"; }
	td:nth-of-type(3):before { content: "店長主打"; }
	td:nth-of-type(4):before { content: "業務主打"; }
	td:nth-of-type(5):before { content: "承辦人"; }
	td:nth-of-type(6):before { content: "委託編號"; }
	td:nth-of-type(7):before { content: "案名"; }
	td:nth-of-type(8):before { content: "委託價"; }
	td:nth-of-type(9):before { content: "物件地址(內部)"; }
	td:nth-of-type(10):before { content: "類型"; }
	td:nth-of-type(11):before { content: "建物總坪"; }
	td:nth-of-type(12):before { content: "地坪"; }
	td:nth-of-type(13):before { content: "主建物"; }
	td:nth-of-type(14):before { content: "車位"; }
	td:nth-of-type(15):before { content: "格局"; }
	td:nth-of-type(16):before { content: "座向"; }
	td:nth-of-type(17):before { content: "樓層"; }
	td:nth-of-type(18):before { content: "屋齡"; }
	td:nth-of-type(19):before { content: "現況"; }
	td:nth-of-type(20):before { content: "鑰匙位置"; }
	td:nth-of-type(21):before { content: "租/售"; }
	td:nth-of-type(22):before { content: "審核情況"; }
	*/
}
@media only screen and (max-width: 768px) {
/* 	.search_field, .update_field,.update_field.radio_field {
		width: 100%;
	}

	.update_field.radio_field.half{
		width: calc( 50% - 1px );
	}
	.update_field.double {
		width: 100%;
	}
	.data_table,.cadastral_table {
		width: 100%;
		border-width: 0px 0px 1px 1px;
	}
	.image_table,.notice_table {
		width: 100%;
	}
	span.unit_ceil {
		width: 6.2%;
	}
	.search_field.half, .update_field.half {
		width: 50%;
	}
	select.col-half-40 {
		width: 31.8%;
		
	} */
	

/* 	
	.search_field {
		width: 100%;
	}
	.search_field.half {
		width: 50%;
	} */
	header.header {
		height: 50px;
	}
	.menu {
		position: fixed;
		top: 40px;
		right: 0px;
		display: none;
		height: 300px;
	}
	#nav-main ul {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		width: 100vw;
		padding: 0;
		background: #FFF;
		box-shadow: 1px 1px 5px 5px #00000024;
	}
	li.menu-item {
		width: 100%;
		border: 1px solid #cfcfcf;
		border-width: 0px 0px 1px 0;
		padding: 20px;
	}
	li.menu-item a {
		color: #000;
		font-size: 20px;
	}
	.mobile_bar {
		display: block;
		text-align: center;
		font-size: 20px;
		color: #FFF;
	}
	span.user_name, a.user_logout {
		margin: 0px;
		font-size: 12px;
	}
	nav#nav-main {
		width: 20%;
	}
	.account {
		width: 40%;
	}
	.hdr-logo {
		width: 40%;
	}
	.updateType_section.section {
		width: 100%;
	}
	.type_col {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
	}
	button {
		padding: 8px 20px;
	}
	.gallery .list img {
		max-width: 100px;
		max-height: 100px;
		object-fit: cover;
		min-height: 100px;
		padding: 5px;
	}
	.gallery .list a {
		width: 100px;
	}

}

