
html, body {
	width: 100%;
	height: 100%;
	font-family: AIA Regular;
	font-size: 22px;
	color: #554344;
	background-color: #FAF9F3;
	margin: 0px;
	padding: 0px;
	-webkit-font-smoothing: antialiased;
}

h1 {
	font-family: AIA Heading Regular;
	font-weight: normal;
	margin: 0px;
}

h3 {
	font-family: AIA Heading Regular;
	font-weight: normal;
	margin: 0px;
}

b {
	font-family: AIA Bold;
	font-weight: normal;
}

input {
	height: 40px;
	width: 240px;
	display: block;
	color: inherit;
	padding: 1px 16px 1px 16px;
    background-color: #FFF;
    border: 1px solid #B3B1A8;
	border-radius: 0px;
	font-family: inherit;
    font-size: inherit;
	box-shadow: none;
	appearance: none;
	-webkit-box-shadow: none;
	-webkit-appearance: none;
    -moz-appearance: none;
}

input:focus {
	outline: none;
	border-color: #22A8DA;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #B3B1A8;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #B3B1A8;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #B3B1A8;
}

.main-wrapper {
	width: 100%;
	height: 100%;
	padding: 20px;
	max-width: 800px;
	margin: auto;
	box-sizing: border-box;
}

.header-wrapper {
	width: 100%;
	padding: 20px 0px;
}

.header-wrapper h1 {
	text-align: center;
}

.tab-wrapper {
	text-align: center;
	font-family: AIA Heading Regular;
	letter-spacing: 0.5px;
}

.tab-wrapper a {
	padding-right: 15px;
	line-height: 32px;
	border-bottom: none;
	border-right: 1px solid #B3B1A8;
}

.tab-wrapper a:last-child {
	padding-left: 8px;
	padding-right: 0px;
	border: none;
}

.tab-wrapper a:hover {
	cursor: pointer;
	text-decoration: none;
}

.tab-wrapper a span:hover {
	border-bottom: 4px solid #B3B1A8;
}

.tab-active {
	border-bottom: 4px solid #D31145 !important;
}

.btn {
	font-family: AIA Heading Regular;
	width: 200px;
	height: 32px;
	color: #FFF;
	border-radius: 0;
	border: none;
	padding: 4px;
    padding-left: 20px;
    padding-right: 20px;
	text-align: center;
	line-height: 32px;
	letter-spacing: 0.5px;
}

.btn-red {
	background-color: #D31145;
}

.btn-red:hover {
	cursor: pointer;
}

.btn-red:active {
	background-color: #E86487;
	outline: none;
}

.search-wrapper {
	width: 100%;
	padding-top: 20px;
	padding-bottom: 10px;
	position: relative;
    display: table;
    box-sizing: border-box;
}

#searchForm {
	display: table;
	width: 100%;
	margin-bottom: 8px;
}

.search-wrapper input, .search-wrapper .search-btn {
	display: inline-block;
	float: left;
}

.search-wrapper input {
	width: calc(100% - 50px);
	padding-left: 10px;
	box-sizing: border-box;
}

.search-btn {
	width: 40px;
	padding: 4px 5px;
}

.search-icon-grey {
    width: 30px;
    height: 30px;
    background: url("../img/icon/search-icon-grey.png") no-repeat;
    background-size: 30px 30px;
	margin: auto;
}

.clear-icon {
	width: 30px;
    height: 30px;
    background: url("../img/icon/close-icon.png") no-repeat;
    background-size: 30px 30px;
	display: inline;
    position: absolute;
    right: 52px;
    margin-top: 4.5px;
}

.clear-icon:hover {
	cursor: pointer;
}

.empty-list {
	width: 125px;
	margin: auto;
	padding-top: 50px;
	text-align: center;
}

.empty-list .search-icon-grey {
    position: inherit !important;
    margin: auto !important;
    width: 50px;
    height: 50px;
    background-size: 50px;
}

.card-wrapper {
	padding-bottom: 20px;
}

.card {
	background-color: #FFF;
	margin: auto;
	margin-bottom: 30px;
	padding: 20px;
	box-sizing: border-box;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
}

.agent-icon {
    background-size: 96px 96px;
	background-repeat: no-repeat;
    width: 96px;
    height: 96px;
}

.agent-icon.individual {
	background-image: url("https://www.aia.co.th/content/dam/aia/icons/primary/normal/userphoto-prime1.png");
}

.agent-icon.corporate {
	background-image: url("https://www.aia.co.th/content/dam/aia/icons/primary/normal/corporate_solutions-prime1.png");
}

.search-remark {
	font-size: 14px;
	text-align: center;
}

.agent-wrapper {
	width: 100%;
	display: table;
}

.agent-wrapper .agent-icon {
	float: left;
	padding-right: 20px;
}

.agent-wrapper .agent-info-text {
	float: left;
	width: calc(100% - 116px);
}

.as-of-date {
	font-size: 18px;
	text-align: right;
	padding-bottom: 3px;
}

.lower-info {
	padding: 15px 0px;
	border-bottom: 1px solid #DBDAD4;
}

.lower-info:last-of-type {
	padding-bottom: 0px;
	border: none;
}

.lower-info .extra-info {
	display: table;
	width: 100%;
}

.lower-info .extra-info div {
	float: left;
	width: 50%;
}

.error-wrapper {
	width: 100%;
	padding: 10px;
	display: table;
	background: rgba(232, 100, 135, 0.1);
	border-bottom: 1px solid #F6CCD7;
	box-sizing: border-box;
}

.card .error-wrapper {
	margin-top: 30px;
}

.error-icon {
    background-size: 16px 16px;
	background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}

.error-icon.error {
	background-image: url("../img/icon/error-icon.png");
}

.error-wrapper .error-icon {
	float: left;
	padding-right: 10px;
	margin-top: 7px;
}

.error-wrapper .error-info {
	float: left;
	width: calc(100% - 26px);
}

.warning-input {
	border-color: #FF5500 !important;
}

.warning-text {
	color: #FF5500 !important;
}

.loading-wrapper {
	background-color: #FFF;
	padding: 5px;
}

.loading-wrapper .loading-icon {
	background: url(../img/loading.gif) no-repeat;
    background-size: 40px 40px;
    background-position: 0% 50%;
    width: 106px;
    height: 40px;
    padding-left: 55px;
    padding-top: 15px;
    margin: auto;
}

.disclaimer {
	margin-top: 30px;
	text-align: center;
	padding-bottom: 30px;
}

.green-indicator {
	width: 10px;
	height: 10px;
	background-color: #97CB5D;
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
}

.hidden {
	display: none !important;
}

@media (max-width: 700px) {
	.lower-info .extra-info div {
		width: 100%;
	}
}