/*
Version: 3.5
Date: 03 March 2009
*/
form {
	margin: 0;
}

fieldset {
	padding: 0;
	border: 0;
	margin: 0;
	padding-bottom: 1.5em;
	clear: both;
}

fieldset.nostyle {
	padding: 0;
}

fieldset.nostyle legend {
	background: none;
	font-size: 1.4em;
}

/*end Style for special fieldset */
select {
	font-size: 1em;
}

select option[value=""] {
	height: 15px;
}

fieldset legend, .r_box {
	padding: 0;
	margin: 0;
	font-weight: normal;
	background-position: top right;
	background-repeat: no-repeat;
	background-color: transparent;
	white-space: normal;
}

.r_box fieldset legend {
	background: none;
	font-weight: bold;
}
.r_box {
	overflow: hidden;
}

fieldset legend span.head, .r_box .head {
	display: block;
	height: 2.1em;
	padding: 0.3em 0 0.3em 0.9em;
	background-position: top left;
	background-repeat: no-repeat;
	font-weight: bold;
}

fieldset legend span.head {
	width: 58.7em;
}

.fieldset {
	margin-bottom: 1em;
}

.fieldset .content {
	background-color: #fff;
	clear: both;
}
.fieldset .content .content{
	border: none;
	overflow: hidden;
}

/************************************************************************/
	/************************************************************************/
fieldset legend span.head img {
	display: block;
	float: left;
}

fieldset legend span.num {
	border-right: 2px solid white;
	margin-right: 0.8em;
	float: left;
	padding: 0.3em 0.8em 0.3em 0;
	height: 1.5em;
}

fieldset legend span.txt {
	display: block;
	padding: 0;
	float: left;
	height: 1.5em;
	margin: 0.3em 0 0 0;
}

fieldset legend span.txt span.header-info {
	font-weight: normal;
}

fieldset div.bordered {
	width: 59.4em;
	margin: 0px 0.6em 0em 0;
	padding: 8px 0 0 0;
	border-top: 0;
	border-bottom: 0;
	clear: both;
}

fieldset div.bordered div {
	padding: 1px 0 0 0.9em;
}


fieldset div.bordered #allAddressControls, 
fieldset div.bordered .addr, 
fieldset div.bordered .addr .field_container, 
fieldset div.bordered div.block_text {
	padding: 0;
}

fieldset div.bordered div.seat_check div {
	padding: 0;
	clear: none;
	float: left;
}
fieldset div.bordered div.seat_check div.physical_requirements,
fieldset div.bordered div.seat_check div.preference_proximity {
	clear: both;
	width: 100%;
}
fieldset div.bordered div.seat_check div.nLuggage {
	clear: none;
	width: 50%;
}

fieldset div.bordered div.seat_check div.seat_check_box_item {
	clear: none;
}
fieldset div.bordered p {
	padding: 1px 10px 0 0.9em;
	clear: both;
}

fieldset div.bordered p.warning_message {
	margin-left: 0.9em;
    padding-left: 20px;
}

#addressHolder #foreignAddressMessage {
	padding-left:0;
}


/****************************************************************/
	/*********Footer *************************************/
.bordered div.foot, 
.fieldset .foot {
	background-position: bottom left;
	background-repeat: no-repeat;
	padding: 0;
	position: relative;
	/*top: 3px;*/
	clear: both;
	height: 3px;
}

.bordered div.foot div, 
.fieldset .foot div {
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 0;
	height: 3px;
	margin-left: 3px;
}

/***************************************************************/
fieldset.special fieldset legend {
	background-color: transparent;
}

.detailed_shopping_basket .r_box_collapsed .foot {
	display: none;
}

/*********Special Footer ***********************/
fieldset.special div.bordered div.foot {
	background-position: bottom left;
	background-repeat: no-repeat;
}

fieldset.special div.bordered div.foot div {
	background-position: bottom right;
	background-repeat: no-repeat;
	margin-left: 4px;
}

fieldset.special div.bordered div.foot div div {
	background: none;
	border: 0;
}

/***************************************************************/
fieldset hr {
	display: block;
	margin: 8px 10px;
}



fieldset div.focus {
	float: left;
	padding: 5px 5px 5px 5px !important;
	margin: 0 4px 0.5em 4px !important;
}

fieldset div.focus div span.button_minor {
	margin-left: 1em;
}

div.field_container_companion label {
	width: auto !important;
	margin-right: 10px !important;
	margin-left: 2em !important;
}

/***************************************************************************************
Error Messages
**************************************************************************************/
#error_message {
	margin-bottom: 1em;
}

/*Iqs: fix for floats within a container*/
div.field_container:after,
fieldset div.field_container_error:after,
fieldset fieldset.ret div.field_container:after,
fieldset fieldset.ret div.field_container_error:after,
fieldset div.bordered:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#addressHolder p.addrIntro,
fieldset div.field_container label,
fieldset div.field_container_error label {
	float: left;
	width: 12em;
	padding: 3px 0 0 0;
	margin: 0;
}
#postalCommon #addressHolder p.addrIntro,
#postalCommon fieldset div.field_container label {
	width: 13em;
}
fieldset div.field_container label.side {
	margin: 0 1em 0 1em;
	width: auto;
}

fieldset div.field_container label span {
	clear: both;
	display: block;
}

fieldset div.field_container label.nolimit {
	width: auto;
}

fieldset div.field_container label.singlespace {
	width: 1em;
}

fieldset div.field_container div.nofloat label {
	float: none;
	margin: 3pt;
}

fieldset div.two_col legend,
fieldset div.two_col_2 legend,
fieldset div.two_col_nowidth legend {
	padding-left: 0px !important;
	padding-top: 0px;
	font-weight: bold;
}

fieldset div.two_col div,
fieldset div.two_col_2 div,
fieldset div.two_col_nowidth div {
	padding: 0 4px 0 0px;
	float: left;
}

fieldset div.two_col div div,
fieldset div.two_col_2 div div,
fieldset div.two_col_nowidth div div {
	float: none;
}

fieldset div.two_col label,
fieldset div.two_col_2 label {
	margin: 0 10px 0 0;
}

fieldset div.two_col,
fieldset div.two_col_2 {
	float: left;
	width: 12em;
	margin-bottom: 2px;
}

fieldset div.two_col_2 {
	width: auto !important;
}

fieldset div.two_col_nowidth {
	width: auto !important;
	margin: 0;
	clear: both;
	overflow: hidden;
}

fieldset div.two_col_nowidth .col_logo {
	float: left;
	width: 12.8em;
}

fieldset div.two_col_nowidth .col_details ,
fieldset div.two_col_nowidth .bus_options {
	float: left;
	width: 43em;
	padding: 0 1em;
}

fieldset div.two_col_nowidth .col_details p,
fieldset div.two_col_nowidth .col_details div {
	padding: 0;
}

fieldset div.two_col_nowidth .col_details hr {
	margin: 0.5em 0;
}

.col_details ul {
	padding: 0;
	list-style: none;
	display: inline;
}

.col_details ul li {
	display: inline;
	padding: 0 0.5em;
	border-right: 1px solid #DEF3FF;
}

.col_details ul li.last {
	border-right: none;
}

#railCards,
#railCardsContainer,
#nonJsRailCards {
	padding: 0;
}

fieldset div.two_col_nowidth fieldset div {
	width: 14em;
}

fieldset div.two_col_nowidth fieldset div.date_of_birth,fieldset div.two_col_nowidth fieldset div.date_of_birth div
	{
	width: 8em;;
}

fieldset div.two_col_nowidth .bus_logo {
	float: left;
	width: 12em;
}

fieldset div.two_col_nowidth .bus_options ul {
	margin: 0 0 0 1em;
	padding: 0;
}

fieldset div.two_col_nowidth .bus_options ul li {
	margin-bottom: 0.8em;
}

fieldset div.two_col_nowidth .insurance_logo {
	float: left;
	width: 12em;
	margin-top: 3em;
}

fieldset div.two_col_nowidth .insurance_details {
	float: left;
	width: 30em;
}

fieldset div.two_col_nowidth .insurance_details ul {
	margin: 0 0 0 2em;
	padding: 0;
	list-style: disc;
}

fieldset div.two_col_nowidth .insurance_details ul li {
	margin-bottom: 0.5em;
}

fieldset div.two_col_nowidth .insurance_ret {
	float: left;
	margin-top: 3em;
}

fieldset div.two_col_nowidth .offset1 {
	margin-left: 13em;
}

fieldset fieldset.out legend,
fieldset fieldset.ret legend {
	
	background-color: transparent;
	padding: 0.2em 0 0 0.8em;
}

fieldset fieldset.out div.field_container div,
fieldset fieldset.ret div.field_container div,
fieldset div.field_container div {
	padding: 0;
}

/* background-color:transparent;padding:0 0 0.2em .2em; */
	/**************************************/
	/* Journey Details : Outward fieldset*/
	/*Firefox and Safari only ***********/
fieldset fieldset.card_date legend {
	display: block;
	font-weight: normal;
	float: left;
	width: 11.7em;
	height: 2em;
	border: 0;
	padding-top: 1.5em;
	margin: 0;
}

fieldset fieldset.card_date legend span {
	display: block;
	clear: both;
	font-size: 0.9em;
}

/*TODO: Refactor the terms div */
fieldset fieldset div.container,
fieldset.via_avoid div,
fieldset.via_avoid_error div,
fieldset div.field_container div,
fieldset div.field_container_error div,
div.terms div,
div.terms_error div {
	float: left;
}

fieldset fieldset,
fieldset div.fulfil_right div.option,
div.terms,
div.terms_error div {
	clear: both;
}

div.fulfil_right,
div.fulfil_right div.option {
	padding-left: 0;
}

fieldset div.seat_radio,
fieldset div.seat_radio label,
fieldset fieldset.card_date,
fieldset fieldset.out,
fieldset.via_avoid,
fieldset.via_avoid_error {
	margin: 0;
}

fieldset fieldset label {
	margin-right: 0.7em;
}

fieldset fieldset legend {
	background-color: transparent;
	padding-left: 0.9em;
}

fieldset div.field_container, 
fieldset div.field_container_error,
fieldset div.bordered div.field_container {
	height: auto;
	margin: 0.4em 0;
	clear: both;
}

fieldset fieldset div.field_container div,
fieldset fieldset div.field_container_error div {
	margin: 0 0.2em 0 0;
	float: left;
}

fieldset fieldset div.field_container div {
	margin: 0;
}

fieldset fieldset div.field_container div label,
fieldset fieldset div.field_container_error div label {
	display: block;
	width: auto;
	float: none;
	padding: 0;
}

fieldset fieldset div.field_container div.cal,
fieldset fieldset div.field_container_error div.cal {
	margin: 1.7em 1em 0 0;
}

.qtt fieldset fieldset div.field_container div.cal {
	margin-top: 7px;
}
fieldset div.seat_check {
	overflow: hidden;
}
div.seat_check div.seat_check_box_item{
	float: left;
	margin: 0 0 0.5em 0;
	padding: 0 !important;
	overflow: hidden;
	width: 14em;
}
fieldset div.seat_check input {
	float: left;
}
fieldset div.seat_check label {
	float: left;
	padding: 0 !important;
	width: 12em;
	display: block;
	text-align: left !important;
}
/*************************
		INPUT
***********************/
input.date {
	width: 6.5em;
	font-size: 1em;
}

.t_box {
	font-size: 1em;
	margin: 0 3px 0 0;
}

.long {
	width: 16em;
}

.longer {
	width: 20em;
}

.short {
	width: 6.5em;
}

.shorter {
	width: 3.5em;
}

.t_box_ch {
	margin: 0;
}

input.watermark_txt, fieldset input.watermark_txt {
	color: #ccc;
}
/*Fulfilment page*/
fieldset div.fulfil_right {
	float: left;
	margin: 0 0 0.5em 0.5em;
	padding: 0 0 0 0.5em;
	width: 50.4em;
}

fieldset div.floated {
	float: left;
	margin: 0 1em 0 0;
	padding: 0 !important;
}

fieldset div.fulfil_right div.option #div1,
fieldset div.fulfil_right div.option #div2,
fieldset div.fulfil_right div.option #div3 {
	margin: 0 0 1em 6px;
}

fieldset div.fulfil_right div.option label {
	margin: 0 0.5em 1em 0;
	width: 36em;
	font-weight: bold;
}

fieldset div.fulfil_right div.option label span {
	font-weight: normal;
}

fieldset div.fulfil_right div.option div {
	padding: 0.3em 0 0em 0;
	clear: both;
}

fieldset div.fulfil_right div.option div label {
	display: block;
	float: left;
	width: 15em;
	padding-right: 0.7em;
	font-weight: normal;
	margin: 0;
}

/*TODO: please avoid after pseudo class for float clear.*/
div.terms:after,
div.terms_2:after,
div.terms_2 p:after,
div.terms_error:after,
div.terms_2_error:after,
div.terms_2_error p:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

div.terms div.qh_box_body{
	width: 100%;
}

div.terms {
	margin-bottom: .4em;
}
div.terms fieldset,
#OptOutOfReservation fieldset fieldset{
	padding: 0;
}
div.terms input {
	display: block;
	float: left;
}

div.terms label {
	display: block;
	float: left;
	width: 95%;
	text-align: left; /*margin:0.2em 0 0 0.7em*/
}

div.terms div label {
	width: auto;
}

div.terms_2 p,div.terms_2_error p {
	clear: both;
	margin: 0 0 1em 2em;
	display: block;
}
/********************Station Search ******************************/
div.station_loc {
	padding: 0 0 1em 0.8em;
}

div.station_loc hr {
	display: block;
	margin: 0.6em 0 0em 0;
	clear: both;
}

div.station_search h2,
div.station_loc h2 {
	margin: 0.7em 0 0 0;
	font-size: 1em;
	clear: both;
}

div.station_search ul.srch_res,
div.station_loc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

div.station_search ul.srch_res li,
div.station_loc ul li {
	clear: both;
	border: none;
	margin: 0;
	padding: 0;
}

/*******************fieldset*******************************/
fieldset div.sub {
	margin: 0 0.7em 0 0;
	padding-top: 10px;
	float: right;
}



div.fieldset_option {
	clear: both;
	margin: 0 0.8em 0.1em 0.8em;
}

div.fieldset_option fieldset p,
div.fieldset_option fieldset div.field_container,
div.fieldset_option fieldset fieldset legend {
	padding: 0;
}

fieldset div.bordered div.fieldset_option {
	margin: 0;
	padding: 1em 0;
}

span.divider {
	padding-left: 0.5em;
}

.no_padding,fieldset div.bordered .no_padding {
	padding: 0;
}

/*Customer Preference styles **/
fieldset div.bordered div .railCardContainer {
	padding: 5px 0 0 0;
}
input.hintTextbox {
	color: #777777;
}

/*Independant checkbox **/

fieldset div.field_container div.checkbox_indent {
	padding-left: 12.5em;
}
fieldset div.field_container div.checkbox_indent input{
	float: left
}
fieldset div.field_container div.checkbox_indent label {
	width: auto;
}

#allAddressControls .field_container
{
	width: 100%;
}

.moreInfoSelect{
	margin-top: 7px;
}

.col_details input.checkboxButton, .bus_options input.checkboxButton, div.qh_box_body p.terms_checkbox input{
	float: left;
	margin-top: 3px !important;
	margin-right: 5px;
}

