/**
 * Custom styles
 */

.genesis-nav-menu .sub-menu a {
	padding: 16px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
	width: 32.5% !important;
	padding-left: 2.5% !important;
	padding-top: 2.5% !important;
	padding-bottom: 0% !important;
}

.woocommerce-product-gallery__wrapper {
	font-size: 0;
	line-height: 0;
}

div.attraction-thumbnails a {
    margin-right: 3px;
    margin-bottom: 3px;
}


/** Removes problem with line on booking calendar, caused by css from toolset */
.ui-datepicker.ui-widget-content {
    border: 1px solid #dddddd;
    background: #eeeeee;
    color: #333333;
}

/** Show weekend in italic on booking calendar */
.ui-datepicker-week-end {
	font-style: italic !important;
	font-weight: bold !important;
	opacity: 0.75 !important;
}

/* Remove red color for fully booked on booking calendar */
.wc-bookings-date-picker .ui-datepicker td.fully_booked a, .wc-bookings-date-picker .ui-datepicker td.fully_booked span {
    background-color: unset !important;
    background-image: none !important;
    border-color: rgba(0, 0, 0, .1) !important;
    color: unset !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .1)
}

/** Remove partially booked red triangle on booking calendar */
.wc-bookings-date-picker .ui-datepicker td.partial_booked a:before {
	border-top: none;
}

/** Previous/Next month arrow background color */
#wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker .ui-datepicker-next,
#wc-bookings-booking-form .wc-bookings-date-picker .ui-datepicker .ui-datepicker-prev {
	background: transparent;
}

/** remove some styling from the description tab */
#tab-description > div {
	border: none;
	padding: 0;
}

/** attraction and product list styling */
.bkk-list {
	padding:30px;
}

.entry.bkk-list > h2.entry-title{
	padding:0;
}

.related-tours > h2{
	padding:0;
	font-size: 2.4rem;
	text-transform: none;
}

@media only screen and (max-width: 1200px) {
	.bkk-list{
		padding: 30px;
	}

    .woocommerce ul.products li.product.first, .woocommerce-page ul.products li.product.first,
    .woocommerce ul.products li.product.last, .woocommerce-page ul.products li.product.last,
    .woocommerce-page .cart-collaterals .cross-sells ul.products li:nth-child(3n),
    .woocommerce-page .cart-collaterals .cross-sells ul.products li:nth-child(3n + 1) {
        clear: none;
        margin-right: 2.5%
    }


	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    	float: left;
    	margin: 0 2.5% 2.992em 0;
    	padding: 0;
    	position: relative;
    	width: 22.05%;
    	margin-left: 0
	}

	.home-featured-products .wrap {
		padding: 0 !important;
	}
}

@media only screen and (max-width: 960px) {
	.bkk-list{
		padding: 40px;
	}
}

@media only screen and (max-width: 768px) {
	.bkk-list{
		padding: 30px;
	}
}

@media only screen and (max-width: 480px) {
	.bkk-list{
		float:none;
		width: 100%;
	}
}

/** hide BACS items during checkout */
.wc-bacs-bank-details-heading,
.wc-bacs-bank-details {
	display: none !important;
}

/** hide thumbnail, quantity, product price, and update cart in cart and checkout */
.product-thumbnail,
.product-price,
.product-quantity,
.actions {
	display: none !important;
}

/** hide total in checkout */
th.product-total {
	font-size: 0 !important;
}

.wc-item-meta ul {
 	margin-bottom: 0;
}


/** list styling */
.entry-content ol,
.entry-content ul {
	margin-bottom: 28px;
	margin-left: 0;
}

.entry-content ul > li::before {
	content: "\f0da";
	font-family: fontawesome;
	padding-right: 10px;
}

/** list styling for booking form */
.small-font li {
    font-size:90%;
}

/** list styling for order items */
ul.wc-item-meta {
 	margin-bottom: 0 !important;
}

ul.wc-item-meta > li::before {
	content: none;
}

/** order comment label */
.woocommerce form #order_comments_field label {
	font-size: 1.6rem;
	font-weight: 400;
	margin-top: 0;
}

/** product tabs styling for mobile */
@media only screen and (max-width: 480px) {

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
      display: inline-block;
      width: 100%;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs {
      margin-bottom: 40px;
      padding-left: 0;
  }
}

/** resize table headers for specifications */
.woocommerce table.shop_attributes th {
    width: 25%;
    font-weight: 700;
    padding: 8px 4px
}

/** get rid of underline at required options booking form */
abbr[title] {
    text-decoration: none;
    border-bottom: none;
}

/** required star keep black on checkout */
.woocommerce form .form-row abbr.required {
    color: #111;
}


/** hide avatar on review */
#reviews .comment_container img {
display: none !important;
}

#reviews .comment-text {
margin-left: 0 !important;
}

.js-wpv-view-layout .wc_views_star_rating {
margin: 5px 0 10px 0 !important;
}

/** horizontal line styling for the archives */
hr{
border-top: 2px solid white;
border-left: none;
}

/** previous next style */
.entry-footer .adjacent-entry-pagination {
    padding: 0 40px 0;
}

ul.products p.price, p.duration {
	margin: 0 0 5px;
	padding: 0;
}

.home-slider.full {
	min-height:100%;
	height: auto;
	padding: 15% 5%;
	background: url("/wp-content/uploads/backgrounds/Bangkok_map.jpg");
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.home-slider{
	font-size: x-large;
	color: #111;
}

.home-slider a.button{
	margin-top: 20px;
}

a.button{
	background: #fff !important;
	color: #0087e2 !important;
	border: 3px solid #0087e2 !important;
	border-radius: 0px !important;
}

a.button:hover{
	background: #0087e2 !important;
	border: 3px solid #0087e2 !important;
	color: #fff !important;
	text-shadow: 0 1px 0 #083a7d !important;
	border-radius: 0px !important;
}
