/*
 Theme Name:   JRPN
 Theme URI:    http://japanrailpassnow.com.au
 Description:  Custom theme for JRPN. Child theme of Avada
 Author:       JRPN
 Author URI:   http://adaptdigital.com.au
 Template:     Avada
 Version:      1.0.0
 Tags:         Avada
 Text Domain:  jrpn
*/

/*@import url(https://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css);*/
@import url(https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/themes/smoothness/jquery-ui.css);



.passenger-table{/*border:0px solid #ccc; */width:100%; }
.passenger-table tr th{ text-align:center; padding:5px 10px; border:1px solid #ccc;}
.passenger-table tr td{ text-align:center; padding:5px; border:1px solid #ccc;}
.passenger-table hr {white-space: nowrap;}

.product-buttons .product_type_simple:before {
  display: none;
}

/*
.post-content #intro{
  margin-bottom: 10px;
}
*/

.widget_text {
  list-style: none;
}

div.woocommerce-error {
    background-color: #ffe9e9;
    border: 1px solid #E7A9A9;
    color: #D04544;
    padding: 8px;
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}

.widget {
    padding-bottom: 15px;
}

.fusion-copyright-notice > div {
  display: flex;
}

#footer-cards {
  margin-left: 20px;
}

#main {
  padding-bottom: 0 !important;
}
.woocommerce-content-box.avada-checkout {
  background: #f9f9f9;
}

/* This was removed entirely in the original */
.woocommerce .checkout_coupon {
  display: none !important;
}

.shop_table tbody tr.cart_item {
  height: auto;
}

.product-info {
  margin-left: 10px;
}

.slidingbar-widget-col {
  margin-bottom: 0px;
}

#small-nav .cart-content a{
color: #000 !important;
}
.copyright{ width:100%; }

/* Additions for Upgrade */
#wrapper {
    width: 1000px;
}
/*div.pass-working-images > p {*/
div.home-container {
    color: #fff;
    font-weight: 400;
}

div.trains-buses > h4 {
    margin-top: 0;
    padding-top: 10px;
}
/* WooCommerce Mini Cart Widget */
div.widget_shopping_cart ul{ 
  margin-top: 0}
div.widget_shopping_cart  .widget_shopping_cart_content{ 
  background: #f9f9f9;
  padding: 10px;}

div.widget_shopping_cart  .total{ 
  background: #fff; 
  border-top: 1px solid #ccc; 
  border-bottom: 1px solid #ccc;
  text-align: center;
  font-size: 15px;}
div.widget_shopping_cart  .total .amount{
  color: #2e7cd1;
  font-weight: 800;}
#sidebar .product_list_widget li span.quantity
{
  color: #000;
  font-weight: 1000;
}
#sidebar .widget_shopping_cart_content .product_list_widget li, #sidebar .widget_layered_nav li{
  border-bottom: 0;
  }
#sidebar > div.widget_shopping_cart > div.heading > h4.widget-title { 
  margin: 0; 
  padding: 10px; 
  text-align: center;
	background-color: #29456c; 
  color: #fff; 
  font-size: 22px; 
  font-weight: 700; 
  }

div.widget_shopping_cart_content .buttons > a{ 
  background-color: #4CB90A;
  font-size: 17px;
  color: #fff;
  width: 70%;
  display: block;
  margin: auto;
  font-weight: 700;
  text-align: center;
  padding-right: 10px;
  width: 100%
}

div.widget_shopping_cart_content .buttons
{
  background-color: inherit;
}
div.widget_shopping_cart_content .buttons > a:before {
    /*color: #fff;*/
    display: none;
}

.jr-boxes select {
  height: 25px;
}

div.pass-working-images {
  height: auto;
  width: auto;
}

.pass-step {
  float: left;
}
.pass-step p {
  padding-left: 20px;
  width: 120px;
  clear: both;
}

a.add_to_cart_button {
  max-width: 100%;
}

/* Archive Product */
.products.products-3 li:nth-child(n+7){display:none; }
/*
body #sidebar .button{ padding-left:0; }
*/		
#adult-pass ,#child-pass{
padding: 10px;
display: block;
float: left;
background: #2e7cd1;
color: #fff;
margin: 5px 0.5px;
border-radius: 5px 5px 0 0;
}
#adult-pass:hover ,#child-pass:hover{text-decoration:underline; }

.widget_shopping_cart_content .buttons{
background: transparent;
text-align: center;
}
.widget_shopping_cart_content .buttons a{
background: #47ac0a;
float: none;
border-radius: 10px;
}
a.wc-forward{ color:#eee;}
.show_details_button{display:none !important;}
.products.products-3 li:nth-child(-n+3),
.products.products-3 li:nth-child(n+7):nth-child(-n+9)
{ background: #f9f9f9;}
.products.products-3 li:nth-child(n+4):nth-child(-n+6),
.products.products-3 li:nth-child(n+10):nth-child(-n+12)
{ background: #edf7f9;}
.widget_shopping_cart_content{ background: #fffde4; padding:10px; border-radius:5px;}

.button{
text-shadow:none;
}
.page-title-container{ display:none;}
#adult-child-tabs{margin: 10px 0 0 0; float:left;font-size: 14px}

.fusion-content-widget-area .widget {
      margin-bottom: 0;
}


body.has-sidebar #content {
  /*width: 70% !important;*/
  width: calc(100% - 27% - 25px) !important;
}


.product-buttons-container {
  text-align: center;
}

.woocommerce .product-buttons-container button[type=submit]{
  width: 122px;
  margin-left: -4px !important;
  color: #000084;
  background: rgba(241,231,103,1);
  background: -moz-linear-gradient(left, rgba(241,231,103,1) 0%, rgba(255,255,0,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(241,231,103,1)), color-stop(100%, rgba(255,255,0,1)));
  background: -webkit-linear-gradient(left, rgba(241,231,103,1) 0%, rgba(255,255,0,1) 100%);
  background: -o-linear-gradient(left, rgba(241,231,103,1) 0%, rgba(255,255,0,1) 100%);
  background: -ms-linear-gradient(left, rgba(241,231,103,1) 0%, rgba(255,255,0,1) 100%);
  background: linear-gradient(to right, rgba(241,231,103,1) 0%, rgba(255,255,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1e767', endColorstr='#ffff00', GradientType=1 );

}

.product .product-buttons {
  padding-top: 0 !important;
}


ul.cart_list li.empty {
  text-align: center;
}


/* Checkout Page  */
.post-content h3 {
  font-family: inherit;
}

div.checkout-side-summary {
  border-radius: 5px;
  border: 1px solid #dde2e6;
  border-top: 3px solid #fff500;
}

div.checkout-side-summary-head {
border-bottom: 1px solid #dde2e6;
padding: 5px 10px;
}
div.checkout-side-summary h3 {
  font-size: larger;
  color: #313131;
  font-weight: 800;
  margin: 0;
  margin-bottom: 5px;
}
div.checkout-side-summary-head h3 {
  color: #29456c;
}

div.checkout-side-summary-content > div {
  color: #307dcf;
  padding-bottom: 5px;
  border-bottom: 1px solid #dde2e6;
  display: inline-flex;
  width: 100%;
}

div.checkout-side-summary-content > div > div {
  width: 100%;
}

div.checkout-side-summary-content > div > div:last-of-type  {
  text-align: right;
  width: 30%;
}
div.checkout-side-summary-content div:last-of-type {
  border-bottom: none;
}

div.checkout-side-summary-content {
  color: #307dcf;
  padding: 5px 10px;
}

div.checkout-side-summary-foot {
 padding: 10px;
 background-color: #307dcf; 
 color: #fff;
 font-weight: 800;
 height: 40px;
 border-radius: 0 0 5px 5px;
}

div.checkout-side-summary-foot > div > div:nth-child(1) {
  float: left;
}
div.checkout-side-summary-foot > div > div:nth-child(2) {
  float: right;
}

#customer_details > div.col-1 {
  display: none;
}

#checkout-section-billing, #checkout-section-shipping, #passenger-details-section,#order-addons-section, #order_review, #shipping-method, .checkout-confirmation-content > div {
 border: 1px solid #dde2e6;
 border-top: 3px solid #fff500 !important;
 border-radius: 5px;
 padding: 10px;
 padding-top: 6px;
}

#shipping-method, #checkout-section-shipping
{
  margin-top: 15px;
}
div.checkout-content h3 {
    font-weight: 800;
    margin: 0 -10px;
    padding: 0 10px;
    color: #29456c !important;
}
div.woocommerce-billing-fields label {
  font-weight: 800;
}

div.woocommerce-billing-fields input {
  border-radius: 5px;
}

.checkout-content {
  float: left;
  width: 66%;
}

.checkout-sidebar {
  float: right;
  width: 33%;
}

.checkout-side-summary {
  background-color: #fff;
}

.checkout-progress {
  margin: 0;
}

.checkout-progress-bar { 
  padding: 0;
  border-radius: 5px;

	list-style: none; 
	overflow: hidden; 
  font-size: 16px;

  width: 940px;
  margin: 15px auto;
}
.checkout-progress-bar {
  border: 1px solid #cacaca;
  background-color: #e6e6e6;
}

.checkout-progress-bar  li { 
	float: left; 
}
.checkout-progress-bar  li.is-active a {
  	background: #f7f7f7;
    color: #656565;
    font-weight: 900;
}

.checkout-progress-bar  li.is-active a:after {
  	border-left: 30px solid #f7f7f7;
}

.checkout-progress-bar  li.is-active a:before {
  	background: #e6e6e6;
}

.checkout-progress-bar  li a {
	color: #b8b8b8;
	text-decoration: none; 
	padding-left: 65px;
  background: #b8b8b8;
	background: #e6e6e6;
	position: relative; 
	display: block;
	float: left;
}

.checkout-progress-bar li:last-of-type a:after {
  display: none;
}

.checkout-progress-bar li:last-of-type a:before {
  display: none;
}

.checkout-progress-bar li a:after { 
	content: " "; 
	display: block; 
	width: 0; 
	height: 0;
	border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
	border-bottom: 50px solid transparent;
	border-left: 30px solid #e6e6e6; /*hsla(34,85%,35%,1);*/
	position: absolute;
	top: 50%;
	margin-top: -50px; 
	left: 100%;
	z-index: 2; 
}

.checkout-progress-bar  li a:before { 
	content: " "; 
	display: block; 
	width: 0; 
	height: 0;
	border-top: 50px solid transparent;       
	border-bottom: 50px solid transparent;
	border-left: 30px solid #cacaca;
	position: absolute;
	top: 50%;
	margin-top: -50px; 
	margin-left: 1px;
	left: 100%;
	z-index: 1; 
}

.checkout-progress-bar li a:after:last-of-type { 
display: none;
}

.checkout-progress 
{
 margin-top: -55px;
}
ul.checkout-progress-bar > li > a > span {
  font-size: 30pt;
  padding-right: 5px;
  vertical-align: middle;
}
#shipping-method:after {
  content: "";
  display: table;
  clear: both;
}

.pass-info:after {
  content: "";
  display: table;
  clear: both;
}

.pass-info {
  margin: auto;
}
.pass-info .c-1, .pass-info .c-2, .pass-info .c-3 {
  display: inline-table;
  padding: 0;
  min-width: 180px;
  width: 32%;
}
.pass-info .c-2 {
  padding: 5px 15px;
}

.pass-info:not(:last-child) {
  padding-bottom: 10px;
  border-bottom: 1px solid #cfd0d2;
}

.label-tag-box {
  background-color: #65a40f;
  color: #fff;
  border-radius: 3px;
  margin: 0 5px;
  padding: 0 5px;
}

/* Passenger Details */
select {
  background-color: #fff !important;
  color: #000 !important;
  height: 29px !important;
  border-color: #dde2e6 !important;
}

input[type=text], input[type=email], input[type=tel] {
  color: #000 !important;
  border-color: #dde2e6 !important;
}
input[type=text]::-webkit-input-placeholder {
    color: #dddddd;
}

.checkout-content {
  color: #969696;
}

#shipping-method,#passenger-details-section, #order-addons-section, #checkout-section-billing, #checkout-section-shipping, #order_review {
  background-color: #fff;
}

#passenger-details-section #order-addons-section h4 {
  font-size: larger;
  margin-top: 15px;
  margin-bottom: 10px;
}
#passenger-details-section #order-addons-section h3 {
  margin-bottom: 15px;
}

#passenger-details-section #order-addons-section > p {
  margin-bottom: 10px;
}

.checkout-pass-detail-change-link {
  float: right !important;
  font-size: small;
}

.checkout-icon {
    height: 16px;
    padding-right: 5px;
    vertical-align: middle;
}

.details-tool-tip {
  margin-left: 15px;
  color: #307dcf;
  border-bottom: 1px dotted #307dcf;
  font-style: italic;
}

#passenger-info-continue, #checkout-billing-shipping-info-continue {
  float: initial;
  margin: 15px 0;
}

#checkout-eligibility-container {
  padding-top: 10px;
}

.checkout-container, .checkout-confirmation-container {
    background-color: #f4f4f5;
    margin: 0 -30px;
    padding: 20px;
    overflow:auto;
    border-top: 1px solid #dde2e6;
}

select.soflow {
    webkit-padding-end: 20px;
    webkit-padding-start: 2px;
    -webkit-user-select: none;
    appearance:none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    background-image: url(/wp-content/themes/JRPN/images/select-icon.png);
    background-position: 100% center;
    background-size: 29px;
    background-repeat: no-repeat;
    color: #dde2e6;
    font-size: inherit;
    overflow: hidden;
    padding: 5px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#checkout-departure-date {
  margin-top: 10px;
  border-top: 1px solid #dde2e6;
  padding-top:10px;
}

#checkout-departure-date label {
  display: block;
}
#checkout-departure-date .departure_date {
  width: 30% !important;
}

div.checkout-side-summary-content > div > div {
  margin: 5px 0
}

div.checkout-side-summary-content > h3:nth-of-type(2) {
  margin-top: 5px;
}

#checkout-sidebar-secure-logos img {
  height: 26px;
  width: auto;
}

#checkout-sidebar-secure-logos  {
  padding: 10px;
  display: flex;
  margin-bottom: 10px;
}

#checkout-sidebar-secure-logos > div:nth-child(1)  {
  padding-left: 10px;
  padding-right: 40px;
}

#checkout-sidebar-secure-logos > div > p {
  margin-bottom: 5px;
}

#checkout-sidebar-why > h3 {
  text-align: center;
  margin: 0;
  padding: 10px;
  background-color: #29456c;
  color: #fff;
}

#checkout-sidebar-why > ul {
  background-color: #fff;
  list-style-type: none;
  margin: 0 5px;
  padding: 10px;
  padding-left: 30px;
  background-image: url(/wp-content/themes/JRPN/images/suit-lady.png);
  background-position: bottom right;
  background-size: 150px;
  background-repeat: no-repeat;
  min-height: 250px;
  border: 1px solid #dde2e6;
  border-radius: 0 0 5px 5px;
  border-top: none;
}

#checkout-sidebar-why > ul > li {
  padding: 7px 0;
  padding-left: 10px;
  max-width: 60%;
}
#checkout-sidebar-why > ul >li:before {
  margin: -18px;
  content: "\2713";
  padding-right: 25px;
  color: #2e7cd1;
}

.checkout-logo {
  height: 35px;
  margin: 20px;
  width: auto;
}

#checkout-section-billing > div > h3:before {
  content: 'Contact & ';
  padding-left: 35px;
  height: 26px;
  background-image: url(/wp-content/themes/JRPN/images/contact-icon.png);
  background-size: 26px;
  background-repeat: middle left;
  background-repeat: no-repeat;
}
#checkout-section-shipping > div > h3:before {
  content: '';
  padding-left: 20px;
  height: 26px;
  background-image: url(/wp-content/themes/JRPN/images/address-icon.png);
  background-size: 15px;
  background-position: middle left;
  background-repeat: no-repeat;

}

#order_review > h3:before {
  content: '';
  padding-left: 40px;
  height: 100%;
  background-image: url(/wp-content/themes/JRPN/images/payment-icon.png);
  background-size: 30px;
  background-position: middle left;
  background-repeat: no-repeat;
}

#order_review > h3:after {
  content: '.';
  color: rgba(0,0,0,0);
  padding-right: 100px;
  float: right;
  height: 100%;
  background-image: url(/wp-content/themes/JRPN/images/comodo-logo.png);
  background-size: 80px;
  background-position: middle right;
  background-repeat: no-repeat;
}

#billing_hide_detailed_address, #billing_address_not_found, #shipping_hide_detailed_address, #shipping_address_not_found {
  font-size: 14px;
  float: left;
  color: #d8ac57;
}
#shipping-method > div {
  /*visibility: hidden;
  margin-top: -15px;*/

}
#shipping-method > h3 {

  margin-bottom: 5px;

}


#shipping_method {
  visibility: visible;
  float: none !important;
  text-align: center !important;
  display: flex;
}

#shipping_method input[type=radio] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
    width: 25px;
    height: 25px;
}

ul#shipping_method li {
    width: 50%;
}

.woocommerce-checkout .fusion-secondary-main-menu {
    display: none!important;
}

.woocommerce-checkout .btn-buy {
    display: none!important;
}

.woocommerce-checkout .badge-secure {
  display: inherit!important;
  padding: 12px 55px;
}

#checkout-side-summary-shipping-method {
  display: table;
}

#checkout-side-summary-fees {
  display: table;
}

#checkout-side-summary-shipping-method-name {
  float: left;
}

#checkout-side-summary-shipping-price {
  float: right;
}

#checkout-review-table {
  vertical-align: top;
}

.shop_table th {
    width: 25% !important;
    color: #969696;
    padding: 0 10px;
}

.shop_table td {
    color: #383838;
    font-weight: 900;
    padding: 10px 10px !important;
}

.shop_table tbody tr {
  height: auto !important;
  border-bottom: 0;
}

.shop_table th.product-passenger-details {
    width: 40% !important;
    font-weight: 100;
}

.checkout .shop_table th.product-total {
  text-align: left !important;
}
.checkout-review-table-passenger-details p {
  margin-bottom: 0;
  font-weight: normal;
  font-size: smaller;
}
.checkout-review-table-passenger-details p:nth-child(1) {
  font-weight: 900;
  font-size: inherit;
}

.cart-subtotal {
  display: none;
}
tr.order-total {
  background-color: #307dcf;
}

#order_review {
  /*padding: 0;*/
}
#order_review h3 {
  padding: 0 10px 5px 10px;
}
tr.order-total th, tr.order-total td , tr.order-total td .amount {
  color: #fff !important;
  text-align: left !important;
  font-size: large !important;
  padding: 15px !important;
}
tr.order-total td  {
  text-align: right !important;
}

div.checkout-review-addresses {
  display: flex;
  width: 100%;
}

div.checkout-review-addresses > div, .checkout-confirmation-content .col-1, .checkout-confirmation-content .col-2  {
  background-color: #ccdef2;
  padding: 0 15px;
  margin: 10px 10px;
  width: 50%;
}

div.payment_box {
  background-color: #fff !important;
}

div.payment_box input {
  border-radius: 5px !important;
}

p.checkout-thank-you-passenger-name {
  margin-bottom: 5px;
}

p.checkout-thank-you-passenger-details {
  font-size: smaller;
  font-weight: normal;
}

#checkout-review-table tr
{
  border-bottom: 1px solid #dde2e6;
}

p.form-row.terms.wc-terms-and-conditions {
    margin-bottom: 0;
}

p.woochimp_checkout_checkbox {
    padding-top: 0 !important;
}

/* Checkout Confirmation Page */

div.checkout-confirmation-container {
  display: flex;
}

div.checkout-confirmation-container > div {
  width: 50%;
}
div.checkout-confirmation-container > div > div {
  background-color: #fff;
}

.avada-thank-you {
  padding: 0 !important;
}

.avada-thank-you > h2 {
  color: #29456c !important;
  padding:5px 10px !important;
  margin-bottom: 0 !important;
}

ul.order_details > li:before {
  background-color: #2e7cd1 !important;
}

ul.order_details > li {
  margin: 10px 40px !important;
  padding: 0 10px !important;
}

table.shop_table tbody tr.order_item {
  border-bottom: 1px solid #dde2e6;
  vertical-align: top;
}

.checkout-confirmation-address-container {
  display: flex;
}

.checkout-confirmation-sidebar {
    margin-left: 20px;
}

table.order_details tr th {
  color: #969696 !important;
}

table.order_details tr {
  padding: 20px 5px !important;
}

table.order_details tfoot {
  background-color: #2e7cd1;
}

table.order_details tfoot tr th, table.order_details tfoot tr td {
  color: #fff !important;
  font-size: large !important;
  margin: auto 5px;
}

.cart-total th {
  margin: 10px !important;
}

.checkout-review-addresses-edit a.jrpn-continue-checkout {
  margin-left: 15px;
  color: #42ae00;
  border-bottom: 1px solid #42ae00;
  font-style: italic;
}

.jrpn-checkout-back {
  color: #29456c !important;
  background: #e5ec00 !important;
  background-color: #e5ec00 !important;
  background-image: initial !important;
}

/* widget - Thank  You Side */
.widget-why-jrpn {
  background-color: #2e7cd1 !important;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
}

.widget-why-jrpn h1 {
  color: #fff !important;
  margin: 0;
  padding: 0;
  padding-bottom: 15px;
}

.widget-why-jrpn > ul {
  padding: 0;
  margin: 0;
}

.widget-why-jrpn ul > li {
    list-style: none;
    color:  #2e7cd1;
    margin: 5px 0;
    padding: 5px 10px;
    background-color: #fff;
    background-image: linear-gradient(to right, #fff, #2e7cd1);
}

/* BEGIN: Responsive Overrides */
@media only screen and (max-width: 800px) {
  .checkout-content input, .checkout-content select {
    font-size: 16px;
  }
  .fusion-header-wrapper .fusion-header{
    background-color: #29456c !important; /* Find this in CSM to override there.*/
  }
  .checkout-progress {
    display: none;
    }
  .checkout-sidebar {
    display: none;
  }
  .checkout-content {
    width: 100%;
  }
  .checkout-container {
    padding: 3px;
    background-color: initial;
    border-top: none;
  }
  .woocommerce-checkout #main {
    background-color: #f4f4f5;
  }
  #main {
    padding-top: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .header-right {
    display: none;
  }
  .pass-info .c-1, .pass-info .c-2, .pass-info .c-3 {
    width: 100%;
  }
  .pass-info .c-2 {
    padding: 0;
  }
  #adult-child-tabs {
    display: flex;
    width: 100%;
  }
  #adult-pass, #child-pass {
    width: 50%;
    text-align: center;
  }
  #shipping_method input[type=radio] {
    display: block;
    margin: auto;
  }

  div.checkout-review-addresses {
    display: initial;
  }

  div.checkout-review-addresses > div {
    padding: 1px 10px;
    margin: 10px 0;
    width: 100%;
  }
  #checkout-departure-date .departure_date {
    width: 100% !important;
    margin-bottom: 5px;
  }
  #order_review > h3:after {
    display: none;
  }

  .woocommerce-checkout .fusion-mobile-menu-icons {
    display: none !important;
  }

  .checkout-container, .checkout-confirmation-container {
    margin: auto;
  }

  .checkout-confirmation-sidebar {
    display: none;
  }

  .checkout-confirmation-container{
    padding: 0;
  }

  .checkout-confirmation-container > div{
    padding: 0;
    width: 100% !important;
    }
  div.checkout-confirmation-address-container {
    display: initial;
  }
  div.checkout-confirmation-address-container > div{
    width: initial !important;
    padding: 1px 10px!important;
  }
  .fusion-logo-link {
    text-align: center;
    max-width: initial !important;
  }
  .fusion-icon-shopping-cart {
    display: none;
  }
  body.has-sidebar #content {
    width: 100% !important;
  }
  .fusion-copyright-notice>div {
    display: block;
  }
}
/* END: Responsive Overrides */

/* AM Added z-index for datepicker on checkout 2018-10-24 */
#ui-datepicker-div {z-index:9100 !important;}

#checkout-mobile-order-summary.mobonly h3 {
	border:none !important;
	margin-bottom:0px !important; 
}

.mobonly div.checkout-side-summary {
 	border: none !important;
  	border-top: none !important;
} 

.mobonly div.checkout-side-summary-head {
	display:none !important;
	border:none !important;
}

div.checkout-side-summary-content>div>div {
     margin:0px !important;
}

/* === Avada 7.x compat: fix logo size and header padding === */

/* Constrain logo to match the header-right widget height (100px content area).
   The SVG has natural size 180mmx90mm (~680x340px); without this it renders huge. */
.fusion-header .fusion-logo img.fusion-standard-logo,
.fusion-header .fusion-standard-logo {
    width: 180px !important;
    height: auto !important;
    max-height: none !important;
}

/* Avada 7.x base CSS applies 30px top/bottom padding to .fusion-header.
   fusion_options header_padding=0px, but 30px gives more breathing room matching live site.
   Override only if the default is too much — leave it at Avada default for now. */
/* === end Avada 7.x compat === */


/* Background image: let Avada 7.x render the bg_full=1 body background natively
   (background-size:cover, matching prod). Earlier `auto` override removed. */


/* === Avada 7.x visual fixes (pass-step, video, headings, header-right) === */

/* Video: apply the Avada 7.x --awb-max-width CSS variable so it doesn't fill container */
.fusion-video {
    max-width: var(--awb-max-width, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Section headings (Australia No.1 / About Japan Railways) — more space below heading */
#about-jr-group {
    margin-bottom: 15px !important;
}
/* Override the inline margin-top:-10px on the paragraphs directly after these headings */
#about-jr-group + p {
    margin-top: 10px !important;
}

/* === end Avada 7.x visual fixes === */

/* === Prices page: guarantee prod's yellow "Add to basket" button ===
   The same rule exists earlier in this file, but Avada 7.x styles buttons via
   CSS variables (--awb-color5 = green #47ac0a) which can out-specify it.
   Reinforce with !important so the loop button matches prod exactly. */
.woocommerce .product-buttons-container button[type=submit] {
    color: #000084 !important;
    background: rgba(241,231,103,1) !important;
    background: linear-gradient(to right, rgba(241,231,103,1) 0%, rgba(255,255,0,1) 100%) !important;
    text-shadow: none !important;
    border: none !important;
}
.woocommerce .product-buttons-container button[type=submit]:hover {
    background: linear-gradient(to right, rgba(255,255,0,1) 0%, rgba(241,231,103,1) 100%) !important;
    color: #000084 !important;
}
/* === end prices button reinforcement === */

/* === Prices/shop: hide WooCommerce placeholder images to match prod ===
   Prod's JR Pass products have no featured image and old WooCommerce rendered an
   empty .featured-image; WC 10.x emits placeholder.webp. Hiding the placeholder
   class (real product images never carry it) restores the prod look. */
.woocommerce img.woocommerce-placeholder {
    display: none !important;
}
/* === end placeholder hide === */

/* === Prices: quantity stepper ( - 1 + ) + compact "Add to basket" button ===
   Matches the target design: a horizontal -/+ stepper above a short yellow
   button, both centred in the card. Stepper buttons injected by the
   jrpn-qty-stepper mu-plugin. */
.woocommerce ul.products .product form.cart {
    text-align: center;
}
.woocommerce ul.products .product .quantity {
    display: inline-flex;
    align-items: stretch;
    vertical-align: middle;
    margin: 0 auto 10px;
    float: none;
}
.woocommerce ul.products .product .quantity .jrpn-qty-minus,
.woocommerce ul.products .product .quantity .jrpn-qty-plus {
    width: 46px;
    padding: 0;
    border: 1px solid #ddd;
    background: #fbfaf9;
    color: #555;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 0;
    -webkit-appearance: none;
            appearance: none;
}
.woocommerce ul.products .product .quantity .jrpn-qty-minus:hover,
.woocommerce ul.products .product .quantity .jrpn-qty-plus:hover {
    background: #fff;
}
.woocommerce ul.products .product .quantity .jrpn-qty-minus { border-right: 0; }
.woocommerce ul.products .product .quantity .jrpn-qty-plus  { border-left: 0; }
.woocommerce ul.products .product .quantity input.qty {
    width: 54px;
    height: 42px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    -moz-appearance: textfield;
}
.woocommerce ul.products .product .quantity input.qty::-webkit-outer-spin-button,
.woocommerce ul.products .product .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Short, centred yellow button (not as tall) */
.woocommerce ul.products .product .product-buttons-container button[type=submit] {
    display: block;
    margin: 0 auto;
    padding: 9px 6px !important;
    line-height: 1.15 !important;
    height: auto !important;
}
/* === end prices quantity stepper === */

/* === Home: "Order your JR Pass" widget — match prod layout ===
   The widget markup + CSS (.new-sidebox 320px float:right, .dropdown-box,
   .jr-boxes) is identical to prod. The ONLY structural difference is that
   Avada 7.x wraps .new-sidebox in an extra <div class="fusion-text"> that
   Avada 5.x (prod) did not. display:contents removes that wrapper's box from
   layout, so .new-sidebox becomes a direct child of the column wrapper exactly
   like prod — restoring the float/centering context. */
.home .fusion-text:has(.new-sidebox) {
    display: contents;
}
/* === end order widget === */

/* === Homepage design refinements (2026-06-12, per review) — first pass === */

/* 1. Order-your-JR-Pass widget: pull left, closer to the hero image */
.home .new-sidebox {
    position: relative;
    right: 30px;
}

/* 2. "How does the JR Pass work?" — centre the step icons + text as a group
   (overrides the legacy float:left so the row centres instead of packing left) */
.home .fusion-text:has(.pass-step) {
    text-align: center;
}
.home .pass-step {
    float: none !important;
    display: inline-block;
    vertical-align: top;
}

/* 3. Video: a bit smaller and pushed toward the column's outer edge */
.home .fusion-video {
    --awb-max-width: 480px;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* 4. Spacing above "Australia's No.1 Choice" heading and below the
   preceding About-Japan-Railways text block */
#about-jr-group {
    margin-top: 45px !important;
    margin-bottom: 15px !important;
}

/* 5. Testimonials: add bottom spacing so stacked items stop overlapping
   (.customers-details is pulled up -135px to sit beside the photo) */
.home .customers-details {
    margin-bottom: 55px !important;
}

/* 6. Coverage map: a touch smaller to free up corner space */
.home img.wp-image-28753 {
    max-width: 480px;
    height: auto;
}
/* === end homepage refinements === */


/* Testimonials: centre each column's photo+text block within its half-column
   so the two columns are balanced and the empty space on the right is closed.
   Content is ~330px inside a 451px column -> ~61px left padding centres it. */
.home .fusion-text:has(.customers-images) {
    padding-left: 61px;
    box-sizing: border-box;
}

/* === Prices page: add-to-basket button to match prod (uppercase, bold, centred) === */
.woocommerce ul.products li.product form.cart {
    text-align: center;
}
.woocommerce ul.products li.product form.cart button.button {
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    float: none;
}

/* === Testimonials spacing: more white space under the heading, less below === */
.home .fusion-text:has(.customers-images) {
    padding-top: 24px;
}
.home .customers-details {
    margin-bottom: 22px !important;
}

/* === Green offer bar: remove the Dismiss link so it always shows === */
.woocommerce-store-notice__dismiss-link {
    display: none !important;
}

/* === Prices page: enlarge the product price (was too small vs prod) === */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price .woocommerce-Price-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Centre the hero group: push the hero image right so left/right whitespace match */
.home img[src*="Japan-Rail-Pass-Australia-Official2024"] {
    margin-left: 25px;
}

/* === Booking widget ("YOUR BOOKING"): match prod 13px so product lines do not wrap === */
.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li,
ul.cart_list.product_list_widget li {
    font-size: 13px;
    line-height: 20px;
}

/* === Checkout Nationality select: restore prod styling (Avada 7 stripped the border + used light text) === */
.woocommerce select.nationality.soflow,
.woocommerce-checkout select.soflow,
select.nationality.soflow {
    border: 1px solid #dde2e6 !important;
    color: #444 !important;
    font-size: 13px !important;
    height: 29px;
    width: 100%;
    max-width: 196px;
    background-color: #fff !important;
}

/* Fix: stop Avada's .fusion-body .quantity (122px stepper width) from
   constraining the "YOUR BOOKING" mini-cart product line, which forced
   product names onto two lines. Matches production (full-width span).
   (Diagnosed via Cowork live inspection.) */
.sidebar .product_list_widget li .quantity,
ul.cart_list.product_list_widget li .quantity {
    width: auto;
    display: block;
    float: none;
}
