/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

/* Header Images for Custom Archives and Individual Posts */

.ppm_custom_header_image_container{
  position: relative;
  width: 100%;
  padding-top: 33.32%;
  overflow: hidden;
}

.ppm_custom_header_image{
  positon: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.ppm_custom_header_image img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
}

/* Single Post Template */

@media only screen and (max-width: 600px){
  .single-post  .column2 {
    text-align: center;
  }
}

.single-post  .column2 {
  margin-top: 55px !important;
}

.single-post  .column2 .widget_recent_entries li{
  list-style: disc;
  font-weight: bold;
}

.single-post  .column2 .widget_recent_entries li a {
  font-weight: inherit;
}



/* HOME PAGE RECENT POSTS & NEWS ARCHIVE FEATURED IMAGES */

.qode-blog-carousel-titled .qode-bct-post .qode-bct-post-image, .ppm_custom_post_image {
  position: relative;
  width: 100%;
  padding-top: 33%;
  overflow: hidden;
}

.qode-blog-carousel-titled .qode-bct-post .qode-bct-post-image a,
.ppm_custom_post_image a,
.ppm_custom_post_image div {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.ppm_custom_post_image img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Custom Archives Responsive Layout */

.custom_archive_wrapper, .custom_archive_wrapper_reviews {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-grow: 0;
  flex-shrink: 0;
  margin-top: 32px;
  margin-bottom: 32px;
}

.custom_archive_wrapper .blog_single, .custom_archive_wrapper_reviews .blog_single {
	width: 100%;
	margin-bottom: 25px;
}

@media (min-width: 576px) and (max-width: 767px){
  .custom_archive_wrapper .blog_single {
    width: 49%;
		margin-right: 2%;
  }

  .custom_archive_wrapper .blog_single:nth-of-type(2n) {
    margin-right: 0%;
  }
}

@media (min-width: 768px) {

  .custom_archive_wrapper .blog_single {
    width: 32%;
    margin-right: 2%;
  }

  .custom_archive_wrapper .blog_single:nth-of-type(3n) {
    margin-right: 0%;
  }

	.custom_archive_wrapper_reviews .blog_single {
		width: 49%;
		margin-right: 2%;
	}

	.custom_archive_wrapper_reviews .blog_single:nth-of-type(2n) {
    margin-right: 0%;
  }

}

/* Custom Archives Styles */

.custom_archive_wrapper .post_text {
  padding: 19px 0px 10px;
}

.custom_archive_wrapper .post_text .post_text_inner {
  padding-top: 0 !important;
}

.custom_archive_wrapper .post_text .date_and_read_more {
  display: flex;
  flex-direction: row;
  width: 90%;
  justify-content: space-between;
}

.custom_archive_wrapper .post_text .date_and_read_more a.read-more {
  color: inherit;
  text-decoration: underline;
}

/* Reviews Post Type */

body.post-type-archive-reviews .blog_holder.blog_single  h2.entry_title {
	margin-bottom: 0;
}

.custom_archive_wrapper_reviews .review-author {
  text-align: right;
	width: 90%;
}

/* WooCommerce Gift Shop */

.woocommerce div.product div.related {display: none;}

.woocommerce div.product .product_meta {display: none;}

.woocommerce div.product .reset_variations {padding-left: 10px;}

.woocommerce div.product #size, .woocommerce div.product #style, .woocommerce div.product #blend {padding: 10px;}

.woocommerce .button.single_add_to_cart_button{
  clear: both;
  float: left;
  margin-top: 32px !important;
}

.woocommerce .button.bti_view_cart {
  float: left;
  margin-top: 32px !important;
  margin-left: 32px;
}

.single_variation_wrap + .bti_view_cart {
  display: none;
}

.woocommerce .button {
    color: #3b6e8f !important;
    border-color: #3b6e8f !important;
    box-sizing: initial!important;
}
.woocommerce .button:hover {
    color: #ffffff !important;
    background-color: #3b6e8f !important;
}

.woocommerce .product .qode-add-gallery-and-zoom-support .woocommerce-product-gallery__trigger:after{
    content: none;
}

.woocommerce .product .qode-add-gallery-and-zoom-support .flex-control-nav.flex-control-thumbs{
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: auto;
    justify-content: center;
    padding-top: 10px;
}

.woocommerce table tr.product-type-simple td.woocommerce-grouped-product-list-item__label,
.woocommerce table tr.product-type-simple td.woocommerce-grouped-product-list-item__price{
  vertical-align: bottom;
}

.woocommerce #content .quantity input.qty, .woocommerce .quantity input.qty, .woocommerce-page #content .quantity input.qty, .woocommerce-page .quantity input.qty {
  width: unset;
}

.woocommerce form.checkout input, .woocommerce form.checkout textarea {
  border: 1px solid #e6e6e6 !important;
}

.woocommerce-shipping-destination {
	display: none;
}

.woocommerce-checkout #payment .payment_method_securesubmit div.payment_box {
  border: none;
}

.woocommerce #payment ul.payment_methods li .payment_box {
  padding: 0;
}

@media (max-width: 768px){

  .woocommerce .single-product p,
  .woocommerce .single-product .product_title{
    text-align: center;
  }

  .woocommerce .summary form.cart {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .woocommerce div.product .cart .quantity{
    margin-right: unset;
  }

  .woocommerce .summary .bti_view_cart {
    margin-left: unset;
  }

  .woocommerce-checkout-payment .place-order button,
  .woocommerce table.cart td.actions .button {
    width: -webkit-fill-available !important;
    text-align: center;
    padding-left: 22px!important;
    padding-right: 22px!important;
    margin-left: 0;
  }
}

/* WooCommerce Cart */
.local_pickup_only_warning {
  float: left;
  width: 49.07749077490775%;
  margin-bottom: 40px;
}


@media only screen and (max-width: 600px) {
  .local_pickup_only_warning {
    float: none;
    width: auto;
  }
  .local_pickup_only_warning ul {
    text-align: center;
    list-style: none;
  }
}
