@import "../../css/added-default.css";

ul.SteppedProgress {
	counter-reset: step;
	display: flex;
	margin: auto;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: center;
	z-index: 1
}
.SteppedProgress li {
	list-style-type: none;
	color: #404140;
	line-height: normal;
	flex: 1;
	font-size: 22px;
	position: relative;
	padding: 0 2%
}
.SteppedProgress li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 18px;
	display: block;
	font-size: 22px;
	color: #c0c0c0;
	background: #c0c0c0;
	border-radius: 12px;
	margin: 0px auto 10px;
	position: relative;
	z-index: 1;
	font-size: smaller;
	font-weight: bold;
	border: #c0c0c0 2px solid;
	margin-top: 3px;
}
.SteppedProgress li:after {
	content: '';
	width: 100%;
	height: 6px;
	background: silver;
	position: absolute;
	left: -50%;
	top: 15px;
	z-index: -1;
	height: 3px;
	top: 14px;
}
.SteppedProgress li:first-child:after {
	content: none;
}
.SteppedProgress div, .SteppedProgress span {
	font-size: small;
}
.SteppedProgress div {
	display: inline-table;
}
.SteppedProgress span {
	display:  table-row;
}

/** current roadmap */
.SteppedProgress li.current:before {
	font-family: 'FontAwesome';
	content: "\f111";
	color: #03A552;
	background: white;
	border: #03A552 2px solid;
	width: 30px;
	line-height: 27px;
	display: block;
	border-radius: 19px;
	margin: 0px auto 10px;
	position: relative;
	z-index: 1;
	font-size: smaller;
}
.SteppedProgress li.current:after {
	background: #03A552;
}
.SteppedProgress li.current div {
	display: inline-block;
	padding: 3px 6px;
	position: relative;
	margin: 0px -6px;
	width: 100%;
	background: transparent;
	border: 1px solid #333;
	color: #333;
	border: none;
	padding: 10px;
	margin-top: 3px;
	-webkit-box-shadow: 3px 4px 5px 0px rgba(168,168,168,1);
	-moz-box-shadow: 3px 4px 5px 0px rgba(168,168,168,1);
	box-shadow: 3px 4px 5px 0px rgba(168,168,168,1);
	background: rgba(3, 165, 82, 0.2);
}
.SteppedProgress li.current div:after {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-width: 5px;
	margin-left: -10px; 
	border-bottom-color: rgba(3, 165, 82, 0.2);
}


/** complete roadmap */
.SteppedProgress li.complete:before {
	background: #03A552;
	color: white;
	font-family: 'FontAwesome';
	content: "\f00c";
	border: #03A552 2px solid;
	width: 30px;
	line-height: 27px;
	display: block;
	border-radius: 19px;
	margin: 0px auto 10px;
	position: relative;
	z-index: 1;
	font-size: small;	
}
.SteppedProgress li.complete:after {
	background: #03A552;
}


/** current.complete roadmap */
.SteppedProgress li.current.complete:before {
	font-family: 'FontAwesome';
	content: "\f00c";
	color: #fff;
	background: #03A552;
	border: #03A552 2px solid;
	width: 30px;
	line-height: 27px;
	display: block;
	border-radius: 19px;
	margin: 0px auto 10px;
	position: relative;
	z-index: 1;
	font-size: small;
}
.SteppedProgress li.current.complete div {
	background: rgba(3, 165, 82, 0.2);
}
.SteppedProgress li.current.complete div:after {
	border-bottom-color: rgba(3, 165, 82, 0.2);
}


/** current.progress-incomplete roadmap */
.SteppedProgress li.current.progress-incomplete:before {
	color: #F5A623;
	border-color: #F5A623;
}
.SteppedProgress li.current.progress-incomplete:after{
	background: #F5A623;
}
.SteppedProgress li.current.progress-incomplete div {
	background: rgba(245, 166, 35, 0.2);
}
.SteppedProgress li.current.progress-incomplete div:after {
	border-bottom-color: rgba(245, 166, 35, 0.2);
} 

/** current.progress-stop roadmap */
.SteppedProgress li.current.progress-stop:before {
	color: #D0021B;
	border-color: #D0021B;
}
.SteppedProgress li.current.progress-stop:after{
	background: #D0021B;
}
.SteppedProgress li.current.progress-stop div{
	background: rgba(208, 2, 27, 0.2);
}
.SteppedProgress li.current.progress-stop div:after {
	border-bottom-color: rgba(208, 2, 27, 0.2);
}    

.SteppedProgress li.complete span:first-child ,
.SteppedProgress li.current span:first-child,
.SteppedProgress li.current.progress-incomplete span:first-child,
.SteppedProgress li.current.progress-stop span:first-child {
	color: #555;
}


@media (max-width: 480px) {
	ul.SteppedProgress {
		display: block;
		padding-bottom: 5%;
	}
	.SteppedProgress li {
		flex: none;
		clear: both;
		text-align: left;
		padding: 0;
		margin-left: 0;
		min-height: 2.8em;
	}
	.SteppedProgress li div {
		padding: 7px;
		position: absolute;
		display: initial;
	}

	ul.SteppedProgress li.complete:before, 
	ul.SteppedProgress li.current:before, 
	ul.SteppedProgress li.current.progress-incomplete:before,
	ul.SteppedProgress li.current.progress-stop:before,
	ul.SteppedProgress li.current.complete:before {
		float: none;
		display: inline-block;
		margin-right: 10px;
		text-align: center;
		margin-left: 0;
	}
	ul.SteppedProgress li:before{
		width: 20px;
		line-height: 17px;
		float: none;
		margin-right: 10px;
		text-align: center;
		margin-left: 4px;
		display: inline-block;
		border-radius: 19px;
		bottom: -7px;
	}
	.SteppedProgress li:after {
		content: '';
		width: 6px;
		height: 100%;
		position: absolute;
		left: 12px;
		top: -50%;
		z-index: -1;
		left: 13px;
		width: 3px;
	}
	ul.SteppedProgress li.current {
		min-width: 90%;
	}
	.SteppedProgress li.current div{
		padding: 7px;
	}
	.SteppedProgress li.current div{
		position: absolute;
		width: initial; 
	}
	ul.SteppedProgress li.current div {
		display: inline;
		margin-left: 0;
	}
	ul.SteppedProgress li.current div:after {
		bottom: auto;
		left: auto;
		right: 100%;
		top: 7px;
		margin: 0;
		top: 6px;
		border-right-color: rgba(3, 165, 82, 0.2);
	}
	ul.SteppedProgress li.current.complete div:after {
		border-right-color: rgba(3, 165, 82, 0.2);
	}	

	ul.SteppedProgress li.current.progress-incomplete div:after{
		border-right-color: rgba(245, 166, 35, 0.2);
	}
	ul.SteppedProgress li.current.progress-stop div:after{
		border-right-color: rgba(208, 2, 27, 0.2);
	}

	.holder {
		margin-left: 5%;
	}

}



/*
********************
* Application Tracking *
********************
*/

/**  DECORATION **/

.btn {
	line-height: 2;
	width: 90%;
	margin: 0;
	height: 50px !important;
	border-radius: 0;
}
}
.btn.white {
	background-color: #ffffff;
	color: #007ABC;
}
.btn-float {
	margin-left: -33px;
	width: inherit;;
	padding-left: -10px;
	line-height: 1em;
	display: inline;
	color: #FFF!important;
	padding: 6px;
	height: 45px;
}
.bg-blue{
	background: #007ABC;
	color: #ffffff;
}
.bg-white{
	background: #ffffff;
	color: #007ABC;
}
.bg-gray{
	background: #a0a0a0;
	color: #ffffff;
}

/* SIGNIN */
#article_application-signin {
	margin-top: 20px;
}
#box_singin-desc {
	color: inherit;
	/*padding: 0;*/
}
#box_singin-desc h3 {
	color: #007ABC;
}
#box_singin-desc p {
	padding-top: 15px;
	line-height: 1.6em;
}

#form_application-signin select{
	height: 45px;
	padding: 0 15px 0 10px;
	border: 0;
	border-radius: 0;
	color: #8f8f8f;
	border: 1px solid #e7e7e7;
	outline: none;
	line-height: 1.5em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
	text-indent: .01px;
	background: -moz-element(#mozElementBack) repeat;
	background: #FFF url(../../common/img/arrw-select-list-gray.png) right center no-repeat;
}

#signin-input-tabs .nav.nav-tabs li {
	width: 50%;
	border: none;
	background: #fff;
	border-bottom: 2px solid #0079c2;
}
#signin-input-tabs .nav.nav-tabs li > a {
	border: none;
	border-radius: 0;
	height: 45px;
	font: normal 1.5em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma;
}

#signin-input-tabs .nav-tabs>li.active > a, #signin-input-tabs .nav-tabs>li.active>a:hover {
	background: #007ABC;
	color: #fff;
	margin: 0;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;	
}

#form_application-signin input[type=tel], #form_application-signin input[type=text], #form_application-signin input[type=number], #form_application-signin select{
	font: normal 1.5em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma;
	font-size: 1.5em !important;
	height: 50px;
	text-transform: uppercase;
	margin-bottom: 20px;
	width: 90%;
}

#otp{
	width: 60% !important; 
	margin-right: 10px; 
	float: left;
}

#OTP-desc{
	min-height: 85px;
}

#OTP-desc p{
	font: bold 1.5em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma !important;
	line-height: 1.5em;
}

#box_singin-form{
	border: 1px solid #007ABC;
	border-left: 15px solid #0077bf;
	padding: 5px 0;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(115,111,115,1);
	-moz-box-shadow: 5px 5px 5px 0px rgba(115,111,115,1);
	box-shadow: 5px 5px 5px 0px rgba(115,111,115,1);
	/* 20170410 */
	box-shadow: none;
	background: #ffffff;
}

#request-new-otp-show {   
	padding: 5px 8px;
	background: #007ABC;
	color: #fff;
	border-radius: 3px;
	background: rgba(171,171,171,1);
	font-weight: normal;
	display: inline-block;
	margin-top: 5px;
}

#request-new-otp {
	height: 50px;
	line-height: 50px;
	padding: 0;
	color: #fff;
	text-align: center;
	width: 30%;
	float: right;
}

#request-new-otp.otp-active:hover {
	background: rgba(0, 108, 183, 0.61);	
}

#request-new-otp.otp-inactive {
	background: #a0a0a0;
}

#request-new-otp.otp-active {
	background: #007ABC;
	-webkit-box-shadow: 2px 2px 2px 0px rgba(171,171,171,1);
	-moz-box-shadow: 2px 2px 2px 0px rgba(171,171,171,1);
	box-shadow: 2px 2px 2px 0px rgba(171,171,171,1);
}


#footer{
	background-color: #fff;
}

.div_btn-float {
	margin: 0;
	padding: 0;
}
#signin-input {
	margin: 10% 0;
	height: 50px;
}

.signin-input{
	margin: 0;
	min-height: 75px;
}


#loading, .btnNext-step2 {
	display: none;
}
.tr_application-detail {
	display: none;
}
.tr_application-detail > td {
	padding: 0 !important;
}

.div-step {
	padding-top: -5px;
}
.div-step .btn {
	width: inherit;
	color: #FFF!important;
	line-height: initial;
}
#box_singin-heading h3{
	color: #007ABC;
	font-weight: bold;
	letter-spacing: 3px;
}
.warning-msg{
	height: 50px;
	background: rgba(208, 2, 27, 0.2);
	margin-bottom: 15px;
	width: 90%;
	font: normal 1.5em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma;
	color: #333;
	display: none;
}
.warning-msg span{
	line-height: 50px;
}
.disp-as-block {
	display: inline-table !important;
}
div#verify-me {
	display: none;
}

div#verify-me {
	text-align: left;
	padding-top: 0;
	text-align: left;
}

div#verify-me input{
	font: normal 1.5em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma; 	
}

div#verify-me span{
	margin-right: 5px;
}

div#verify-me img {
	width: 15%;
	padding-top: 1px;
	height: 48px;
}

div#verify-me a {
	margin: 0px 20px;
}
#verifycode {
	display: inline-block;
	max-width: 62%;
}


/** INDEX **/
.hMain img {
	height: 70px;
}

.index-page .hMain h1 {
	border-bottom: none;
	vertical-align: bottom;
	border-left: 3px solid #006cb7;
	padding-left: 10px;
	display: inline;
}

#article_application-signin table.table.table_application-detail {
	font-size: 100%;
}


#article_application-signin table.table{
	font-size: 90%;
}
.remark-detail {
	padding: 10px;
	margin: 10px;
}
.remark-detail lh {
	font-weight: bold;
}
.remark-detail li {
	list-style-type: square;
	margin-left: 3em;
}
.table>thead>tr>th {
	border-bottom: 2px solid #0077bf;
	color: #0077bf;
	font-weight: bold;	
	text-align: center;
}
.table>thead>tr>th:nth-of-type(1),
.table>tbody>tr>td:nth-of-type(1) {
	width: 20%;
	text-align: left;
	padding-left: 2%;
}
.table>thead>tr>th:nth-of-type(2){
	width: 35%;
}
.table>thead>tr>th:nth-of-type(3){
	width: 43%;
}

.tr_application-summary > td:nth-of-type(3) {
	text-align: center;
}

.tr_application-summary > td {
	border-top: 1px solid #79adcb !important;
}

.table_application-detail>thead>tr>th {
	color: #555;
	text-align: center;
	background: #0077bf;
	color: #fff;
	width: 30%;
	vertical-align: top;
}
.table_application-detail>thead>tr>th:nth-of-type(1) {
	padding-left: 2%;
	text-align: left;
}    
.table_application-detail>tbody>tr>td {
	padding-left: 2%;

}

.table_application-detail>thead>tr>th:nth-of-type(3),
.table_application-detail>tbody>tr>td:nth-of-type(3),
.tr_application-summary > td:nth-of-type(3) {
	text-align: center;
}

.tr_application-summary td:nth-of-type(2), .tr_application-detail .table.table_application-detail tr td:nth-of-type(2){
	text-align: center;
}

a.a_app i {
	color: #007ABC;
}
.div_application-detail {
	width: 100%;
}




/** ------------------- MEDIA QUERIES for ALL ------------------- **/
/* STYLE 02 NOTEBOOK - notebook */
@media screen and ( max-width: 1260px) {

	div#verify-me span {
		margin-right: 0;
	}
	div#verify-me a {
		margin: 0px 20px;
	}
	div#verify-me input{
		max-width: 60%;
	}

}
/* STYLE 03 TABLET - notebook, iPad landscape */
@media screen and ( max-width: 980px) {

}
/* STYLE 04 TABLET - iPad portrait, Andriod tab */
@media screen and ( max-width: 768px) {
	div#verify-me input {
		max-width: 60%; 
	}
	div#verify-me a {
		margin: 0px 10px;
	}
}
@media screen and ( max-width: 740px) {
	#form_application-signin input[type=tel], #form_application-signin input[type=text], #form_application-signin input[type=number], form_application-signin select, #form_application-signin button, #form_application-signin #loading, .warning-msg {
		width: 100%;
	}
	#article_application-signin .col-md-pull-6.col-sm-6.col-xs-12 {
		margin-left: 10px;
		margin-top: 20px;
	}
	div#verify-me input {
		max-width: 66%;
	}

	#box_singin-desc h3{
		display: none;
	}
}
/* STYLE 05 MOBILE - iPhone5 landscape, Anriod tab, Andriod mobile */
@media screen and ( max-width: 640px) {
	div#verify-me input {
		max-width: 66%;
	}
}
@media screen and ( max-width: 600px) {

}
/* STYLE 06 MOBILE - iPhone4 landscape, Andriod mobile */
@media screen and ( max-width: 480px) {

	#form_application-signin input[type=tel], #form_application-signin input[type=text], #form_application-signin input[type=number], #form_application-signin select, #signin-input-tabs .nav.nav-tabs li > a{
		font: normal 1.5em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma !important;
	}

	div#verify-me input {
		max-width: 56%;
	}
	div#verify-me span{
		margin-right: 0px;
	}

	div#verify-me img{
		width: 95px;
		padding-top: 0px;
	}
	div#verify-me a{
		font-size: initial;
		margin: 0 14px;
	}

	#request-new-otp {
		font-size: small; 
	}

	.warning-msg span{
		line-height: 40px;
	}

}

@media screen and ( max-width: 420px) {
	div#verify-me input {
		max-width: 50%;
	}
}

@media handheld, screen and (max-width: 400px) {
	.container {
		margin: 0;
		width: 100%;
	}
	.progress-indicator.stacked {
		display: block;
		width: 100%;
	}
	.progress-indicator.stacked > li {
		height: 80px;
	}
	div#verify-me a{
		margin: 0 6px;
	}
	#request-new-otp {
		width: 30%;
		float: right;
	}
}
/* STYLE 07 FIXED - iPhone4 portrait */
@media screen and ( max-width: 360px) {
	.steps li a:before, .steps li p:before {
		border-bottom: transparent;
		border-left: transparent;
		border-top: transparent;
		content: "";
		height: 0;
		position: absolute;
		left: 0;
		top: 50%;
		width: 0;
		margin-top: -18px;
	}
	.steps li a:after, .steps li p:after {
		border-bottom: transparent;
		border-left: transparent;
		border-top: transparent;
		content: "";
		height: 0;
		position: absolute;
		/*right: -12px;*/
		left: 100%;
		top: 50%;
		width: 0;
		margin-top: -18px;
		z-index: 1;
	}
	.steps li a, .steps li p {
		padding: 2px;
		text-indent: 0;
	}
	div#verify-me input {
		width: 48% !important;
	}
}

@media screen and ( max-width: 320px) {
	#form_application-signin input[type=tel], #form_application-signin input[type=text], #form_application-signin input[type=number], #form_application-signin select, #signin-input-tabs .nav.nav-tabs li > a {
		font: normal 1.2em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma !important;
	}
	.warning-msg span {
		font-size: 0.8em;
	}
	#OTP-desc p {
		font: bold 1.2em 'FontAwesome', 'ThaiSansNeue-Regular', 'Helvetica Neue', Arial, Tahoma !important;
		line-height: 1.2em;
	}
	.index-page .hMain h1 {
		border-left: none;
		border-bottom: 1px solid #006cb7;
		padding-left: 0;
	}
	#box_singin-desc p:not(:first-of-type){
		font-size: medium;
	}

	#article_application-signin table.table {
		font-size: small;
	}
	.steps li a:before, .steps li p:before {
		border-bottom: transparent;
		border-left: transparent;
		border-top: transparent;
		content: "";
		height: 0;
		position: absolute;
		left: 0;
		top: 50%;
		width: 0;
		margin-top: -18px;
	}
	.steps li a:after, .steps li p:after {
		border-bottom: transparent;
		border-left: transparent;
		border-top: transparent;
		content: "";
		height: 0;
		position: absolute;
		/*right: -12px;*/
		left: 100%;
		top: 50%;
		width: 0;
		margin-top: -18px;
		z-index: 1;
	}
	.steps li a, .steps li p {
		padding: 2px;
		text-indent: 0;
	}

	div#verify-me img {
		width: 77px;
	}
}
