/*

	2016.10.17

*/

body {
	background: #f0f1f4;
	color: #000;
	/* overflow: scroll; */
}


.alert-note{
	background: none #f00;
}
.alert-success{
	background: none #00A65A;
}

.well-yellow {
	padding: 16px;
	background: #fbc816;
}
.well-yellow strong {
	font-size: 24px;
}
.marB16 { margin-bottom: 16px;}
.marB32 { margin-bottom: 32px;}

/* --------------------------

	header

-------------------------- */

.gHeader {
	margin-bottom: 20px;
	padding: 20px 0;
	background: #fff;
	border-bottom: 1px solid #ddd;
}

.gHeader .container {
	margin-top: 0;
}

.logo {
	float: left;
}

.buLogin {
	float: right;
}

.buLogin button {
	box-sizing: border-box;
	min-width: 180px;
	background: #004bb0;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	border-radius: 6px;
}

.buLogin button:hover {
	color: #fff;
	background: #2d7ae1;
}

.test {
	margin: 10px;
	display: inline-block;
}


/* --------------------------

	main

-------------------------- */

#main {
	margin-bottom: 50px;
}

h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: bold;
}

h2.i-ship {
	padding: 0 0 0 52px;
	background: url(../images/i-ship.png) no-repeat left center;
}

h2.i-ship .line {
	color: #999;
	font-size: 18px;
}

h3 {
	margin: 0 0 16px;
	padding:  0 0 0 8px;
	border-left: 4px solid #004bb0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
}

.boxWrap {
	overflow: hidden;
	margin: 0 0 10px;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.borBox {
	overflow: hidden;
	margin: 0 0 20px;
	padding: 32px;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #ddd;
}


/* --------------------------

	nav

-------------------------- */

.nav01 {
}

.nav01 ul {
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 2px solid #004bb0;
}

.nav01 ul li {
	float: left;
	padding: 0;
}

.nav01 a {
	box-sizing: border-box;
	display: block;
	min-width: 130px;
	margin-right: 1px;
	padding: 12px 6px;
	background: #7c7c7c;
	color: #fff;
	text-align: center;
}

.nav01 a:hover {
	background: #a7a7a7;
}

.nav01 .active a {
	background: #004bb0;
}



/* --------------------------

	button

-------------------------- */

.btn-blue {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 180px;
	border-color: #004bb0;
	background: #004bb0;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	border-radius: 6px;
}

.btn-blue-s {
	border-color: #004bb0;
	background: #004bb0;
	color: #fff;
}

.btn-blue:hover,
.btn-blue-s:hover {
	color: #fff;
	border-color: #2d7ae1;
	background: #2d7ae1;
}

.btn-red {
	box-sizing: border-box;
	min-width: 180px;
	background: #b00000;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	border-radius: 6px;
}

.btn-red:hover {
	color: #fff;
	background: #e12d2d;
}

.btn-red-s {
	background: #b00000;
	color: #fff;
}

.btn-red-s:hover {
	color: #fff;
	background: #e12d2d;
}
.btn-success {
	box-sizing: border-box;
	min-width: 180px;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	border-radius: 6px;
	background-color: #4FA74F;
	background-image: none;
	/* background-image: linear-gradient(to bottom,#4FA74F 0,#4FA74F 100%); */
}
.btn-success:hover{
	background-position: 0 0;
	background-color: #008d4c;
}

.buBox {
	padding: 16px 0;
	background: #fff;
	text-align: center;
}

.buBox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.buBox li {
	display: inline-block;
	padding: 0 8px;
}

.input-arrow {
	padding-right: 30px;
	background: url(../images/input_arrow.png) no-repeat right center;
}



/* --------------------------

	table

-------------------------- */

.tableScl {
	/* overflow: scroll; */
}

.table01 {
	width: 100%;
	margin: 0;
}

.table01 thead {
	background: #f8f8f8;
	border-bottom: 1px solid #ebebec;
	font-weight: bold;
}

.table01 th,
.table01 td {
	padding: 5px 5px;
	/* white-space: nowrap; */
}

.table01 tbody tr {
	border-bottom: 1px solid #ebebec;
}

.table01 tbody a {
	text-decoration: underline;
}

.table01 button {
	background: transparent none;
	border: none;
	color: #004bb0;
	text-decoration: underline;
	padding: 0;
}

.table01 button:hover {
	color: #2d7ae1;
}

.table01 .ui-spinner-input {
	height: auto;
	background: transparent none;
}


/* --------------------------

	top

-------------------------- */

#index .head {
	overflow: hidden;
}

#index .head h2 {
	float: left;
}

#index .head button {
	float: right;
}

#index .datepicker {
	background: #fff;
}

#index .ui-datepicker-trigger {
	border: 1px solid #d2d6de;
	background: #eeeeee;
}

#index .ui-datepicker-trigger i {
	color: #666;
}

#index .cheapestText button {
	margin: 8px 0 0;
	padding: 0;
}

.numPeople dt,
.numPeople dd {
	display: inline-block;
	font-weight: normal;
	vertical-align: middle;
}

.numPeople dt {
	padding-right: 16px;
	line-height: 34px;
}

.numPeople dd {
	width: 160px;
}


/* --------------------------

	mypage

-------------------------- */

#mypage .head {
	overflow: hidden;
}

#mypage .head h2 {
	float: left;
}

#mypage .head p {
	float: right;
}

/* --------------------------

	passenger

-------------------------- */

.passengerSelect {
	margin-bottom: 16px;
	padding: 12px;
	background: #f8f8f8;
}

/* --------------------------

	secondary

-------------------------- */

.secondary {
	overflow: hidden;
	margin: 0 0 40px;
	padding: 14px;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.secBox .head {
	overflow: hidden;
	margin-bottom: 12px;
}

.secBox .head h3 {
	float: left;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 20px;
	font-weight: bold;
}

.secBox .head p {
	float: right;
	margin: 0;
	font-weight: bold;
}

.secBox .body {
	margin-bottom: 16px;
	padding: 12px;
	background: #f8f8f8;
}

.total-breakdown {
}

.total-breakdown dl {
	overflow: hidden;
	margin-bottom: 8px;
}

.total-breakdown dt {
	float: left;
	font-weight: normal;
}

.total-breakdown dd {
	float: right;
	font-weight: normal;
}

.total-fee {
	padding: 16px;
	background: #fbc816;
	font-weight: bold;
}
.bg-fee {
	background: #fbc816;
}
.total-fee dl {
	margin: 0;
}

.total-fee dt {
}

.total-fee dd {
	text-align: right;
	font-size: 24px;
}


/* --------------------------

	footer

-------------------------- */
html {
  min-height: 100%;
  position: relative;
}

body {
  margin-bottom: 100px;
}
.footer {
	background: #282828;
	color: #fff;
	font-size: 12px;
	text-align: center;
	line-height: 100px;
  bottom: 0;
  width:100%;
  height: 100px;
  position: absolute;
}

.footer p {
	margin: 0;
	line-height: 100px;
}

.affix {
	top:10px;
	z-index:10;
}
.has-error .input-group-addon {
	color:#333;
}
.ui-datepicker  {
	font-size: 1em;
}
.num-cell {
	width:60px!important;
}
.room-row td {
	padding-top: 5px;
	padding-bottom: 5px;
}
.room-row .ctrl-cell {
	width: 70px;
}
.table01 th small {
	font-weight: normal;
	font-size: 80%;
}
.tooltip-inner{
  max-width: 100%;
}
#passenger-table {
	box-sizing: border-box;
}
#passenger-table th,
#passenger-table td {
	 border: 1px solid #DDD;
}
#passenger-table th,
#passenger-table td {
	padding-left: 3px;
	padding-right: 3px;
	vertical-align: middle;
}
#passenger-table th{
	background-color: #F8F8F8;
	text-align: center;
}
#passenger-table .radio-inline{
	margin-left:10px;
}
#index .table-custom th,
#index .table-custom td{
	border: 1px solid #DDD;
	text-align: center;
	vertical-align: middle;
}
#index .table-custom th {

}
/* -----------------------
 TOP Calendar

--------------------------*/
#set_calendar {
	position: absolute;
	overflow:auto;
	z-index: 100;
	background: #FFF;
	left:0;
	right:0;
	width: 850px;
	margin: auto;
	/* display:none; */
}
div.calendar {
  overflow: hidden;
  border-top: #CCC solid 1px;
  border-left: #CCC solid 1px;
  width: 281px;
  text-align: center;
  margin-bottom: 5px;
  float: left;
  margin-right: 2px;
}
div.calendar .calendar_header dd{
  background-color: #004BB0;
  color: #FFF;
}
div.calendar dd{
  float: left;
  width: 40px;
  height: 35px;
  line-height: 35px;
  border-bottom: #CCC solid 1px;
  border-right: #CCC solid 1px;
}
div.calendar dd.enable {
	position:relative;
}
div.calendar dd.enable:hover {
  background-color: #004BB0;
  color:white;
}
div.calendar dd.enable:after {
}
div.calendar dd.enable:before {
}
div.calendar dd.end:hover {
  background-color: #004BB0;
  color:white;
}
div.calendar dd.disabled {
  background:#DDD;
  color:#666;
}
div.calendar .calendar_days dd{
  cursor: pointer;
}
div.calendar .yymm{
  border-bottom: #CCC solid 1px;
  border-right: #CCC solid 1px;
  padding: 5px 0px;
}
.on_bg {
  background-color: transparent;
  position:relative;
}
.on_bg:before{
  width:100%;
  height: 2px;
  background-color: #004BB0;
  color: #FFF;
  position:absolute;
}
.on_bg_hover_y,
.on_bg_hover{
  background-color: transparent;
  z-index:1;
  color:white;
}
.on_bg_hover_y:before,
.on_bg_hover:before{
	content:' ';
	width:100%;
	height: 13px;
	background-color: #8FA7D1;
	color: #FFF;
	position:absolute;
	left:0;
	top: 11px;
	z-index:-1;
}
.on_select {
  background-color: #8FA7D1;
  color:white;
}
div.calendar dd.on_start:after {
/*
	content:' ';
	width:0;
	background: transparent;
	position:absolute;
	top:0;
	right:0px;
	border-style: solid;
	border-color: transparent;
	border-width: 11px;
	border-left-color: transparent;
	border-color: #FFF;
	border-left-color: transparent;
*/
}
div.calendar dd.on_end:after {
/*
	content:' ';
	width:0;
	background: transparent;
	position:absolute;
	top:0;
	left:0;
	border-style: solid;
	border-color: transparent;
	border-width: 17px;
	border-right-color: transparent;
	border-left-width: 0px;
	border-color: #FFF;
	border-right-color: transparent;
*/
}
div.calendar dd.on_start:after,
div.calendar dd.start:hover:after {
	content:' ';
	width:0;
	height:35px;
	background: transparent;
	position:absolute;
	top:0;
	right:0;
	left:auto;
	border-style: solid;
	border-color: transparent;
	border-width: 11px;
	border-right-width: 0;
	border-left-color: transparent;
	border-color: #FFF;
	border-left-color: transparent;
}
div.calendar dd.start:hover:before {
	width:0;
	height:0;
}
div.calendar dd.on_end:after,
div.calendar dd.end:hover:before {
	content:' ';
	width:0;
	background: transparent;
	position:absolute;
	height:35px;
	top:0;
	left:0;
	border-style: solid;
	border-color: #FFF;
	border-width: 11px;
	border-right-color: transparent;
	border-left-width: 0px;
}
div.calendar .calendar_header dd:nth-child(1){
	color: #F00;
}
div.calendar .calendar_header dd:nth-child(7){
	color: #CCF;
}
div.calendar dd.sat {
	color: #004BB0;
}
div.calendar dd.sun,
div.calendar dd.hol {
	color: #B00000;
}
table.calendar {
	table-layout: fixed;
	width: 100%;
	border-top: #CCC solid 1px;
	border-left: #CCC solid 1px;
	margin-bottom: 0;
}
table.calendar tr th{
	border-bottom: #CCC solid 1px;
	border-right: #CCC solid 1px;
	text-align: center;
	vertical-align: middle;
	height: 20px;
	font-weight: 800;
	background-color: #004BB0;
	color: #FFF;
}
table.calendar tr th {
	color: #000;
}
table.calendar tr th:nth-child(1){
	color: #F00;
}
table.calendar tr th:nth-child(7){
	color: #CCF;
}
table.calendar tr td:nth-child(1){
	color: #B00000;
}
table.calendar tr td:nth-child(7){
	color: #004BB0;
}
table.calendar tr td.hol {
	color: #B00000;
}

table.calendar tr td{
	border-bottom: #CCC solid 1px;
	border-right: #CCC solid 1px;
}
table.calendar tr td .inner {
	height: 30px;
}
.calendar .disabled {
	background: #DDD;
}
#price-calendar th {
	/* background-color: #004bb0; */
	/* color: #FFF; */
	/* background-color: #fff; */
}
#price-calendar .price:hover,
#price-calendar .price:hover a {
	background-color: #004BB0;
	color:#FFF;
}
#price-calendar .active{
	background-color: #004BB0;
	color: #FFF;
}
/* #price-calendar th.sun {
	color: #F00;
}#price-calendar th.sat {
	color: #CCF;
}
.change-date-calendar {
	table-layout: fixed;
}
 */

.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
	border: 1px solid #ccc;
}
.table-bordered .num-cell {
	border-width: 1px 0;
}
.age-field {
	padding:5px;
	width:26px;
}
.alert-danger {
	background-color: #C4332F!important;
	background-image:none;
}
.btn-cancel,
.btn-cancel:focus,
.btn-cancel:active,
.btn-cancel-confirm,
.btn-cancel-confirm:focus,
.btn-cancel-confirm:active {
	border: 3px solid #B00000!important;
	background: #FFF;
	color:#B00000;
	font-weight: bold;
}
.btn-cancel:hover,
.btn-cancel-confirm:hover {
	background-color: #B00000;
}
.btn-cancel .input-arrow,
.btn-cancel-confirm .input-arrow {
	background-image: url(../images/input_arrow_cancel.png);
}
.btn-cancel:hover .input-arrow,
.btn-cancel-confirm:hover .input-arrow {
	background-image: url(../images/input_arrow.png);
}
.modal-body {
	position: relative;
}
.modal-loading {
	position:absolute;
	margin:auto;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:100px;
	height:100px;
}
.modal-loading i {
	font-size: 72px;
}
.modal-body .table-fixed {
	table-layout: fixed;
}


.wizard-nav {
  position: relative;
  list-style-type: none;
  display: table;
  table-layout: fixed;
  text-align: center;
  width: 100%;
  border-bottom: 2px solid #004BB0;
  margin:0;
  padding: 0;
  margin-top: -20px;
  margin-bottom: 20px;
}
.wizard-nav li {
  position: relative;
  display: table-cell;
  vertical-align: middle;
}
.wizard-nav div {
	color: #aaa;
	display: block;
	cursor: default;
	width: 100%;
	z-index: 0;
	background-color: #DDD;
}
.wizard-nav div:before,
.wizard-nav div:after{
  content: '';
  width: 0;
  height: 0;
  border: solid 10px transparent;
  border-left-color: #DDD;
  border-right-width: 0;
  position: absolute;
  top: 0;
  right: -10px;
  z-index: 2;
}
.wizard-nav div:before {
  z-index: 1;
  border-left-color: #FFF;
  right: -11px;

}
.wizard-nav li:nth-child(7) div:before,
.wizard-nav li:nth-child(7) div:after {
	display: none;
}
.wizard-nav li.active div:after {
	border-left-color:#004BB0;
}
.wizard-nav li.active div {
	background-color: #004BB0;
	color:#FFF;
}
.wizard-nav li.done div:after {
	border-left-color:#8FA7D1;
}
.wizard-nav li.done div {
	background-color: #8FA7D1;
	color:#FFF;
}
.dayNav * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding:0;
	margin: 0;
}
.dayNav {
	margin: 0 0 10px;
	background: #fff;
	background: linear-gradient(#fff, #f3f3f3);
	border-radius: 6px;
	border: 1px solid #ddd;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 40px;
	clear: both;
}

.dayNav ul {
	margin: 0;
	list-style: none;
}

.dayNav li a {
	position: relative;
	text-align: center;
}

.dayNav li.active a:after {
	content: url("../images/active_arrow.png");
	position: absolute;
	bottom: -12px;
	left: 50%;
	margin: 0 0 0 -8px;
}
.dayNav li.active>a, .dayNav li.active>a:hover, .dayNav li.active>a:focus {
	background-color: #004bb0;
	border-color: #004bb0;
	color: #fff;
}
.dayNav li>a {
    position: relative;
    display: block;
    padding: 10px 10px;
    color: #333;
}
.dayNav li>a.disabled {
	background-color: #CCC;
	cursor: disabled;
}
.dayNav .date-caroucel {
	/* margin: 0 30px; */
	overflow:hidden;
	width: 100%;
	padding-bottom: 10px;
	margin-bottom:-10px;
}
.dayNav .date-caroucel ul{
	/* display: table-row; */
	display: table;
	justify-content: center;
	width: 100%;
	table-layout: fixed;
	position: relative;
}
.dayNav .date-caroucel ul li{
	display: table-cell;
	height:46px;
	vertical-align: middle;
	border-left: 1px solid #DDD;
}

.date-ctrl {
	z-index: 10;
	position: absolute;
	width:20px;
	display: table-cell;
	vertical-align: middle;
	top: 0;
	height: 46px;
	text-align: center;
	line-height: 46px;
	cursor: pointer;
}
.dayNav .month-next {
	right:0;
	border-left:solid 1px #DDD;
}
.dayNav .week-next {
	border-left:solid 1px #DDD;
	right:20px;
}
.dayNav .month-prev {
	border-right:solid 1px #DDD;
	left:0;
}
.dayNav .week-prev {
	border-right:solid 1px #DDD;
	left: 20px;
}

.room-1 {

}
.room-2 {
	background-color:#FAFFBD;
}
#PaybackModal .table {

}
#PaybackModal .table th {
	background-color: #E6EAF3;
	text-align: center;
	vertical-align: middle;
}
#PaybackModal .table td {
	text-align: center;
	vertical-align: middle;
}
h2.i-ship small span.title-date {
	margin-left: 50px;
}
h2.i-ship small span {
	font-size:  1.2em;
	font-weight: bold;
	color: #333;
	display: inline-block;
	margin-right: 20px;
}
h2.i-ship small span.title-btime {
	font-size: 1.1em;
	margin-left: 10px;
}

#PaybackModal .rule {
	width: 80%;
	margin: auto;
	padding: 10px;
	border: 1px solid #DDD;
	border-radius: 5px;
}
#PaybackModal .rule h3 {
    margin: 5px 0 16px;
    padding: 0 0 0 8px;
    border-left: 0px solid #004bb0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}
#PaybackModal .rule table {
	width: 100%;
	border: 1px solid #DDD;
}
#PaybackModal .rule table th,
#PaybackModal .rule table td {
	text-align: center;
	border: 1px solid #DDD;
	padding: 5px;
}
#PaybackModal .rule table th {
	background: #EEE;
}
#PaybackModal .rule table thead {
	border-bottom: 1px double #DDD;
}
#PaybackModal .agree-error {
	color: red;
}
@media screen and (max-width: 768px) {
	.wizard-nav div {
		white-space: nowrap;
		overflow: hidden;

	}
	.affix {
		position: relative;
	}
	h2.i-ship small span,
	h2.i-ship small span.title-date{
		margin-left: 5px;
		margin-right: 5px;
	}
	h2.i-ship {
		overflow: visible;
	}
}
@media screen and (max-width: 425px) {
	.table01 tr {
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari */
		flex-wrap: wrap;
		border:  1px solid #CCC;
		border-right: 5px;
		margin-bottom: 10px;
	}
	#plan-form .table01 th,
	#plan-form .table01 td {
		width: 25%;
		border: 0;
	}
	.table01 th:nth-child(1),
	.table01 td:nth-child(1) {
		width: 100%;
		border-bottom: 0;
	}
	.table01 th:nth-child(2),
	.table01 td:nth-child(2),
	.table01 th:nth-child(3),
	.table01 td:nth-child(3),
	.table01 th:nth-child(4),
	.table01 td:nth-child(4) {
		width: 33%;
	}

	.table01 tr {
		/* display: block; */
		clear: both;
	}
	.table01 .num-cell {
		width: 25%!important;
	}
	.table01 .num-cell input {
		width: 100%;
		height: 45px;
	}
	.table01 .num-cell .ui-spinner {
		width: 100%;
	}
	.table01 .num-cell .ui-spinner-button {
		width: 50%;
	}

	#plan-form .table01 .room-cell {
		width: 100%;
	}
	#plan-form .table01 .room-cell .ctrl-cell,
	#plan-form .table01 .room-cell .num-cell{
		width: 20%!important;
	}

	#set_calendar {
		width: 100%;
	}
	#set_calendar .calendar {
		margin: 0 auto;
		float: none;
	}
	.nav01 a {
		min-width: 0;
		/* padding: 12px 6px; */
		font-size: 70%;
	}
}
.table-listitem th,
.table-listitem td {
	white-space:nowrap;
}
.age-field {
	padding:3px;
	width:32px;
}
.age-field small {
	font-size:8px;
}
/*
 * table-listitem
 * ---------------------------------------- */
@media only screen and (min-width: 992px) {
	#passenger-table>tbody td:nth-child(1) {
		width:30px;
	}
	#passenger-table>tbody td:nth-child(2),
	#passenger-table>tbody td:nth-child(3) {
		/* width:60px; */
	}
	#passenger-table>tbody td:nth-child(4) {
		 width:70px;
	}
	#passenger-table>tbody td:nth-child(6),
	#passenger-table>tbody td:nth-child(7) {
		width:100px;
	}
	/*
	#passenger-table>tbody td:nth-child(8),
	#passenger-table>tbody td:nth-child(9) {
		width:100px;
	}
	*/
	#passenger-table .radio-inline {
		display:block;
		margin-left:0;
	}
	#passenger-table input,#passenger-table select {
		padding: 5px 3px;
	}
}
@media only screen and (max-width: 992px) {
	#passenger-table>thead>tr>th, #passenger-table>tbody>tr>th, #passenger-table>tfoot>tr>th, #passenger-table>thead>tr>td, #passenger-table>tbody>tr>td, #passenger-table>tfoot>tr>td {
		border-width: 0px;
		text-align: left;
	}
	.table-listitem {
		margin: 0 -15px;
	}
	.table-listitem tr {
		display:block;
		margin-bottom: 10px;
		border-bottom: 2px solid #CCC;
	}
	.table-listitem thead {
		display:none;
	}
	.table-listitem td,
	.table-listitem th {
		display: list-item;
		margin-bottom: 2px;
		list-style-type: none;
		border-width: 0px;
	}
	.table-listitem td:before {
		font-weight: bold;
		margin: 0 10px 0 0;
		display: inline-block;
		width: 30%;
	}
	.room {
		display: inline;
	}
	.table-listitem .input-group {
		width: 30%;
		display: inline-table;
	}
	.table-listitem .form-control {
		display: inline;
		width: auto;
	}
	.table-listitem .age-text {
		display: inline;
	}

}
@media only screen and (max-width: 350px) {
	.logo img {
		width: 100%;
	}
}
