
/* Account tabs */

#tpa-tabs {
	display: block;
	padding-bottom: 7px;
	border-bottom: 1px solid #ddd;
}

#tpa-tabs li {
	display: inline-block;
	white-space: nowrap;
}

#tpa-tabs li a {
	display: block;
	padding: 2px 13px 0 13px;
	margin: 0 7px;
	font-size: 16px;
	line-height: 28px;
	border-bottom: 3px solid #fff;
	border-radius: 2px;
	text-decoration: none;
}

.no-touch #tpa-tabs li a:hover {
	border-color: #006CD8;
	border-radius: 0;
}

#tpa-tabs li.on-tab a,
#tpa-tabs li.on-tab a:hover {
	background: #00345E;
	border-radius: 2px;
	border-color: #00345E;
	color: #fff;
}
	
/* Welcome links (when to travel, insurance, etc) */

#onceBooked {
    border-spacing: 10px;
    border-collapse: separate;
	width: 100%;
}

#onceBooked td {
	border: 1px solid #ddd;
	width: 50%;
	padding: 10px 10px 10px 150px;
	vertical-align: top;
}

#onceBooked .oncebooked_img {
	float: left;
	margin: 5px 20px 20px -140px;;
	width: 120px;
	text-align: center;
}
	
#onceBooked td a {
	display: block;
	font-size: 16px;
}

/* Trips */

.form-group {}

.form-group + h2 {
	margin-top: 30px;
}

h3.form-group-header {
	margin: 1.5em 0 0 0;
}

.info_table {
	width: 100%;
}

	
.info_table th {
    vertical-align: top;
    text-align: center;
	font-weight: normal;
	font-size: 12px;
}

.info_table td {
	background: #eee;
	width: 20%;
    border-top: 1px solid rgb(255, 255, 255);
    border-bottom: 1px solid rgb(221, 221, 221);
	line-height: 30px;
}

.info_table img {
	vertical-align: middle;
}
	
.info_table .traveler {
	font-size: 14px;
	overflow: hidden;
	text-align: left;
	padding-left: 10px;
}	
	
#legend {
	padding-top: 40px;
}

#legend span {
	display: inline-block;
	width: 33.3%;
	min-width: 250px;
	padding: 0 30px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #444;
	vertical-align: top;
	position: relative;
}

#legend span img {
	position: absolute;
	left: 5px;
	top: 3px;
}

/* personal trip information */

ul.traveler-status {
	padding-left:0;
	list-style:none;
}

ul.traveler-status > li {
	line-height: 1em;
	margin-bottom: .5em;
}

ul.traveler-status > li > a > i {
	font-size:.85em;
}

.sig-pop fieldset {
	border: none;
	padding:0;
	margin: .5em 0;
}

.sig-pop fieldset:last-of-type {
	margin-bottom: 1em;
}

.sig-pop fieldset > legend {
	color:#444;
	font-size:.9em;
}

.sig-pop fieldset > input {
	width: 100%;
}

.journal-summary {
	border-bottom: 1px solid #ccc;
	margin-bottom: 3em;
}

.journal-summary table {
	border-collapse: collapse;
	width: 100%;
}

.journal-summary .td-label {
	width: 35%;
}

.journal-summary th {
	border-bottom: 1px solid #ccc;
	font-weight: normal;
	text-align: left;
	font-size: 16px;
	line-height: 24px;
}

.journal-summary td {
	padding: 6px 20px;
	background: #eee;
}

.journal-summary td input,
.journal-summary td select {
	width: auto;
}
	
/* Login */

#tpa-login {
	max-width:600px;
	margin:0 auto;
	display: flex;
	flex-wrap: wrap;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	padding: 1em;
}

#tpa-login fieldset > input {
	width:100%;
}

#tpa-login fieldset {
	border: 0 none;
	padding: 0 0 1em 0;
}

#tpa-login legend {
	font-size: 0.85em;
	color: #666;
}

#tpa-login-list {
	padding:0 0 0 2em;
	display: flex;
	flex-direction: column;
}
#tpa-login-list > ul {
	margin:0;
	padding-left:1em;
}
#tpa-login-list li {
	list-style: disc;
	margin: 0 0 1em 0;
	font-size: .9em;
}

#tpa-login > * {
	flex:1 0 50%;
	box-sizing: border-box;
}

#tpa-login-sso {
	text-align: center;
	flex-basis: 100%;
	margin-top: 1em;
}
#tpa-login-sso > * {
	display: inline-block;
	vertical-align: middle;
	margin: .5em;
	flex-basis: 1;
}

@media (max-width: 480px) {
	#tpa-login {
		flex-direction: column;
	}
	#tpa-login > * {
		margin-top:1em;
		margin-bottom:1em;
	}
	#tpa-login-login { order:1; }
	#tpa-login-sso { order:2; }
	#tpa-login-list { order:3; flex-direction: column-reverse; }
}


#tpa-login table {
	margin: 0 auto;
	border: 1px solid #ddd;
	padding: 0;
	border-spacing: 1px;
}
	
#tpa-login td {
	padding: 25px;
	vertical-align: top;
	width: 250px;
	border: 1px solid #ddd;
}


#tpa-login-create-link {
	font-size: 22px;
	display: block;
	margin-bottom: 1em;
}

	
@media (max-width:480px), (max-width:600px) and (orientation:landscape) {

	#onceBooked .oncebooked_img {
		display: none;
	}

	#onceBooked td {
		padding: 10px;
	}

}

/* New Welcome page */

.table_tiles {
	border-spacing: 30px;
	margin: 0 -10px;
}
	
.table_tiles > tbody > tr > td {
	border: 1px solid #ddd;
	border-radius: 4px;
	width: 50%;
	vertical-align: top;
}
	
.table_tiles_3 > tbody > tr > td {
	width: 279px;
}
	
.table_tiles > tbody > tr > td > div {
	padding: 5px 30px 30px 30px;
}
	
.table_tiles h2 {
	font-size: 22px;
	display: block;
}

.table_tiles h2 {
	margin-top: 0;
	margin: 0;
	padding: 10px 30px;
	background: #f1f1f1;
}
	
.table_tiles h3 {
	border-bottom: 1px solid #ddd;
	font-size: 18px;
}
	
.table_tiles .resource h3 {
	border-bottom: 0 none;
	margin: 0;
}

.table_tiles .resource h3 img {
	vertical-align: middle;
}

.table_tiles .resource {
	padding: 18px 0;
	border-bottom: 1px solid #ddd;
}	

.table_tiles .col_heading {
	border-bottom: 1px solid #ddd;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.table_tiles dd {
	margin-bottom: 15px;
	margin-left: 25px;
}

.table_tiles li {
	margin-left: 25px;
}

.table_tiles .nowrap {
	white-space: nowrap;
}
	
.table_tiles .lg {
	font-size: 15px;
}
	
.account_margin {
	margin-left: 20px;
	margin-right: 20px;
}	
	
.btn {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    background-color: #428BCA;
    border-color: #3174af;
    color: #FFFFFF;
	text-shadow: none;
	box-shadow: none;
	overflow: hidden;
	text-overflow: ellipsis;
	background: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));
}
	
.btn-sm {
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
    padding: 4px 9px;
}

.btn-xs {
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
    padding: 1px 5px;
}

.btn-valid {
	background-color: #429a42;
	border-color: #347934;
}
	
.btn-warning {
    background-color: #f0ad4e;
    border-color: #d38312;
}
	
.btn-danger {
    background-color: #d9534f;
    border-color: #bc2e29;
}
	
.btn:hover {
    background-color: #3276B1;
    border-color: #285E8E;
}

.btn-valid:hover,
.btn-valid:focus,
.btn-valid:active,
.btn-valid.active {
	background-color: #3f923f;
	border-color: #398439;
}
	
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active {
    background-color: #ec971f;
    border-color: #d58512;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active {
    background-color: #c9302c;
    border-color: #ac2925;
}
	
.star_links_table td {
	vertical-align: top;
	line-height: 24px;
}

.star_links_table div {
	height: 24px;
	line-height: 24px;
	padding-right: 5px;
}
	
.star_links {
	display: inline-block;
	position: relative;
	margin-bottom: 16px;
	height: 24px;
	white-space: nowrap;
}

.star_links button,
.star_links button:hover {
	background: url("../img/account/stars.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	cursor: pointer;
	display: inline-block;
	height: 24px;
	margin: 0;
	padding: 0;
	position: static;
	width: 24px;
	vertical-align: top;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border: 0 none;
}

.star_links button:hover ~ button {
	background: url("../img/account/stars.png") no-repeat scroll 0 -24px rgba(0, 0, 0, 0);
}

.star_links span {
	display: none;
	line-height: 10px;
	padding-left: 4px;
	color: #666;
	position: absolute;
	white-space: nowrap;
	top: 26px;
	left: 0;
}
	
.star_links button.rank_1:hover ~ .rank_1 {
	display:block;
}

.star_links button.rank_2:hover ~ .rank_2 {
	display: block;
}

.star_links button.rank_3:hover ~ .rank_3 {
	display: block;
}

.star_links button.rank_4:hover ~ .rank_4 {
	display: block;
}

.star_links button.rank_5:hover ~ .rank_5 {
	display: block;
}

.billing-group,
.travel-group {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	border-left: 1px solid #ccc;
	border-radius: 7px;
	padding: 5px;
	margin: 10px 0;
}

.billing-group > div,
.travel-group > div {
	padding: 5px;
}

.billing-group > .billing-group-traveler,
.travel-group > .travel-group-traveler {
	display: flex;
	justify-content: space-between;
}

.billing-group > .billing-group-traveler + .billing-group-traveler,
.travel-group > .travel-group-traveler + .travel-group-traveler {
	border-top: 1px solid #e1e1e1;
}

.billing-group > .billing-group-links,
.travel-group > .travel-group-links {
	border-top: 1px solid #e1e1e1;
	text-align: right;
}

.billing-group .btn,
.travel-group .btn {
	min-width: 100px;
	margin: 0 5px;
}

.table_tiles_cell > table {
	border-collapse: collapse;
}

.table_tiles_cell > table td {
	padding: 5px;
	border-bottom: 1px solid #ddd;
}

.table_tiles_cell > table td .btn {
	margin: 3px 2px;
	width: 100px;
}

.table_tiles_cell > table td:nth-of-type(1){
	width: 45%;
}

.table_tiles_cell > table td:nth-of-type(2){
	width: 55%;
	text-align: right;
}

@media (max-width:768px) {

	.table_tiles {
		display: block;
		border-spacing: 0;
		width: 100%;
		margin: 0;
	}
		
	.table_tiles > tbody,
	.table_tiles > tbody > tr,
	.table_tiles > tbody > tr > td {
		display: block;
		margin: 0;
		width: 100%;
	}

	.table_tiles > tbody > tr > td {
		margin: 30px 0;
	}

}

@media (max-width:600px) {

	#tpa-tabs li a {
		padding: 0 7px;
		margin: 0;
		font-size: 14px;
		line-height: 22px;
	}

}

@media (max-width:350px) {

	.billing-group .btn {
		width: auto;
	}

}

/* Trip Notes */

.trip_notes_wrap h2 {
	border-bottom: 1px solid #ddd;
	font-size: 31px;
}

.trip_notes_wrap h3 {
	font-size: 20px;
}

.trip_notes_wrap {
	line-height: auto;
}

/* Travel Agent */

.agent-portal {
    color: #00345e;
    font-family: var(--font-serif), serif;
    font-size: 40px;
    line-height: 120%;
    margin: 0 0 20px 7px;
}
	
/* Right Signature Popup */

#rightsignature-pop {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 100;
}

#rightsignature-pop > div {
	top: 30%;
	position: absolute;
	left: 0;
	right: 0;
	padding: 20px;
}
	
#rightsignature-pop > div > div {
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
	max-width: 375px;
	margin: 0 auto;
	padding: 30px;
	-webkit-box-shadow: 0 0 6px rgba(0,0,0,.2);
	-moz-box-shadow: 0 0 6px rgba(0,0,0,.2);
	-ms-box-shadow: 0 0 6px rgba(0,0,0,.2);
	box-shadow: 0 0 6px rgba(0,0,0,.2);
	position: relative;
	z-index: 102;
}
	
#rightsignature-pop > span {
	background: rgba(0,0,0,0.05);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 101;
}

#rightsignature-pop h3 {
	margin: 0 0 10px;
	border-bottom: 1px solid #ddd;
}

.flight-section {
	margin-bottom: 1em;
}

.flight-section .flex-table,
.traveler .flex-table,
#copy-personal .flex-table,
#copy-flights-form .flex-table {
	background: #eee;
}
