/*
Theme Name:     Once Child
Description:    child theme
Author:         glowform
Template:       once

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* map */
.wpgmza_map {
	max-width: 100%;
}

.archive .page-subtitle.title-block {
	margin-bottom: 20px;
}
.archive-count {
	margin-top: 20px;
}
.archive .archive-description {
	display: none;
}
.selected-date .ajax-navigation {
	display: none !important;
}

/* Footer */
.footer-layout-type-3 .footer-col:nth-child(3) {
	-webkit-box-flex: 1 !important;
	-ms-flex: 1 !important;
	flex: 1 !important;
}
.site-info .footer-col {
	flex-basis: 100%;
	max-width: 100%;
}

#text-520703959 {
	width: 100%;
}
#text-520703959 .textwidget {
	width: 100%;
}
#text-520703959 form {
	width: 100%;
}
#text-520703959 p {
	display: inline-block;
	float: left;
}
#text-520703959 p:first-child {
	width: calc(100% - 70px);
}
#text-520703959 p .nsu-field {
	border-right: 0;
}
#text-520703959 p .nsu-submit {
	width: 70px;
	padding: 13px 0;
	text-align: center;
}

/*
.site-info .footer-container .footer-col:nth-child(3) {
	display: none !important;
}
.site-info .footer-container .footer-col:nth-child(4) {
	width: 100% !important;
	min-width: 100% !important;
    flex: 0 1 0 !important;
  height: auto !important;
}
.site-info .footer-container .footer-col:nth-child(4) .widget, 
.site-info .footer-container .footer-col:nth-child(4) .textwidge, 
.site-info .footer-container .footer-col:nth-child(4) iframe {
	width: 100% !important;
}
.site-info .footer-container .footer-col:nth-child(4) iframe {
	width: 100% !important;
	min-height: 680px;
}*/
/*
@media (max-width: 399px) {
.site-info .footer-container .footer-col:nth-child(4) iframe {
	min-height: 800px;
}
}*/

@media (max-width: 767px) {
#menu-footermenu {
	display: inline-block;
	float: left;
	text-align: left;
	padding-left: 0;
	padding-bottom: 1rem;
	position: relative;
}
.site-info .footer-nav #nav_menu-3 ul li {
}
.site-info .footer-nav #powerkit_social_links_widget-2 {
	clear: both;
	position: relative;
	margin: 0 0 30px 0;
	padding-left: 0;
}
#text-520703956 {
	text-align: left;
}
.footer-full {
	padding-top: 45px;
}
}
@media (min-width: 768px) {
.site-info .footer-nav {
	display: flex;
}
.site-info .copyright-container, 
.site-info .footer-container {
	display: flex;
}
.site-info .footer-nav {
	margin-left: -1rem;
	margin-right: -1rem;
	justify-content: space-between;
}
.site-info .footer-nav #nav_menu-4 {
	flex: 1;
	padding: 0;
}
.site-info .footer-nav #powerkit_social_links_widget-2 {
	padding: 10px 0 0;
}
.site-info .footer-nav #nav_menu-4 ul {
	display: flex;
	justify-content: flex-start;
}
.site-info .footer-nav #nav_menu-4 ul li {
	margin-left: 12px;
}
.site-info .copyright-container {
	margin-left: -1rem;
	margin-right: -1rem;
}
.site-info .footer-container {
	margin-left: -1rem;
	margin-right: -1rem;
	flex-wrap: wrap;
}
.site-info .footer-col {
	flex-basis: 50%;
	width: 50%;
	min-width: 50%;
	padding: 0 1rem;
	flex-grow: 2;
}
.site-info .copyright-container {
	margin-left: 0;
	margin-right: 0;
}
.footer-full {
	padding-top: 30px;
	text-align: left;
}

/*.site-info .footer-container .footer-col:nth-child(3) {
	display: none !important;
}
.site-info .footer-container .footer-col:nth-child(4) {
	width: 50% !important;
	min-width: 50% !important;
    flex: 0 1 0 !important;
  height: auto !important;
}*/
}

@media (min-width: 1020px) {
}
@media (min-width: 1020px) {
.site-info .footer-col {
	flex-basis: 25%;
	width: 25%;
	min-width: 25%;
	padding: 0 1rem;
	flex-grow: 1;
}
.footer-layout-type-3 .footer-col:nth-child(3) {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
/*.site-info .footer-container .footer-col:nth-child(4) iframe {
	min-height: 600px;
	max-width: 480px !important;
	float: right !important;
}*/
}


@media (max-width: 479px) {
#menu-footermenu {
	width: 100%;
  	float: none;
}
}

/* Calendar */
#calendar-mini{
	display: none;
}
#calendar-mini, 
#calendar1, 
#calendar2{
	padding:10px;
	float: none;
	box-sizing: border-box;
}
#calendar-mini *, 
#calendar1 *, 
#calendar2 * {
	margin:0;
	padding:0;
	box-sizing: border-box;
}
#calendar-wrapper {
	max-width: 320px;
	margin: 0 auto;
}
.nice-date-picker-header {
	height: 14.28%;
}
.nice-date-picker-warpper {
	width: 100%;
	max-width: 100%;
	background-color: #f8f9fa;
}
.nice-date-title {
	color: #000;
	font-size: 14px;
}
.nice-date-picker-warpper table {
	width: 100%;
	max-width: 100%;
}
.nice-date-picker-header .prev-date-btn, 
.next-date-btn {
	color: #000;
}
.nice-date-picker-body tr th, 
.nice-date-picker-body tr td {
	width: 14.28%;
	height: 14.28%;
	color: #000;
	font-size: 14px;
}
.nice-date-picker-body tr .nice-active {
	color: #fff;
	background-color: #c4a97c;
} 
.nice-date-picker-body tr .nice-current {
	color: #fff;
}

@media (max-width: 991px) {
#calendar-mini {
	display: block;
}
#calendar1 {
	display: none !important;
}
}

@media (max-width: 767px) {
#calendar-mini{
	display: none !important;
}
}

/* Post */
.single-post .post-media a {
}
/* Archive */
.alm-listing {
	margin: 0 -20px;
}
.alm-listing .type-post {
	width: 49.5%;
	display: inline-block;
	padding: 20px;
	vertical-align: top;
	align-self: flex-start;
}
.alm-listing .type-post:nth-child(odd) {
	/* clear: both; */
}
.alm-listing .type-post .entry-header {
	margin-top: 1rem;
}
.alm-listing .type-post .entry-header .entry-title {
    font-size: 1.5rem;
    line-height: 1.5em;
}
.alm-listing .type-post .entry-header .entry-title .meta-category {
    font-size: 11px;
    line-height: 1.5em;
}
.alm-listing .type-post .post-meta {
	/* margin-top: 1rem; */
}
.alm-listing .type-post .entry-excerpt {
	margin-top: 1rem;
}
.alm-listing .type-post .pk-share-buttons-items {
	margin-top: 1rem;
}
.pk-share-buttons-wrap  {
	align-items: baseline;
}

.ajax-load-more-wrap .load-more {
	padding: 0.75rem 6rem;
	min-width: 18.875rem;
	min-height: 3.375rem;
	display: block;
	margin: 30px auto;
	/*display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;*/
}
.ajax-load-more-wrap .load-more:after {
	display: inline-block;
	margin-left: 0.5rem;
	font-family: "cs-icons";
	font-size: 1.125rem;
	font-weight: normal;
	content: "\e90c";
    transform: translateY(4px);
}
.ajax-load-more-wrap .load-more.done {
	opacity: 0.25;
	cursor: default;
}

@media (max-width: 767px) {
.alm-listing .type-post {
	width: 100%;
	display: block;
}
}



.popup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 340px;
	max-width: 100%;
	background: white;
	margin: 0 !important;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	z-index: 55;
}
.popupheader {
	position: relative;
	height: 36px;
	padding: 0 15px;
	/* background: #fafafa; */
	background: grey;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	cursor: pointer;
}
.popup:not(.open) .popupheader {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.popupheader:before {
	content: '▲';
	position: absolute;
	top: 6px;
	right: 12px;
	color: #fff;
}
.popup.open .popupheader:before {
	content: '▼';
}

.popupcontent {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	position: relative;
	padding: 15px 15px 30px 15px;
	display: none;
}

@media (max-width: 379px) {
.popup {
	width: calc(100% - 40px);
	max-width: 100%;
}
}

.entry-title .title-wrap, 
.post-header-inner .entry-title {
    font-family: now-alt,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    font-weight: 500 !important;
}
/*
.slick-slide {
   opacity:0;
   transition:opacity 0.5s ease-out;
}
.slick-active {
    opacity:1!important;
    transition:opacity 0.5s ease-in;
    }
.slick-cloned {
    opacity: 0.3;
}*/
.fade {
    overflow: hidden;
}
.sidebar-1 .gallery-columns-1 .gallery-item {
	width: 300px !important;
	height: auto !important;
	padding: 0 !important;
	flex-grow: 1;
	flex-shrink: 0;
}
.sidebar-1 .gallery-columns-1 .slick-list {
	width: 300px !important;
}


.sidebar-1 .gallery-columns-1 {
	margin: 0 auto !important;
}
.sidebar-1 .gallery-columns-1 {
	width: 300px;
	margin: 0 auto !important;
	overflow: hidden;
	margin-bottom: 20px !important;
}
.sidebar-1 .gallery-columns-1 a {
	max-width: 100%;
	height: auto;
	display: block;
	line-height: 0;
	font-size: 0;
	overflow: hidden;
}
.sidebar-1 .gallery-columns-1 img {
	max-width: 100%;
	height: auto;
	display: block;
	line-height: 0;
	font-size: 0;
}

.sidebar-1 .gallery-columns-1 {
	padding-top: 18px;
}
.sidebar-1 .widget_media_gallery .gallery-columns-1 .gallery-item {
	display: block;
}
.sidebar-1 .gallery-columns-1 .gallery-item:nth-child(n+5) {
/*	display: none;*/
}
body.home .popup {
	left: auto;
	right: 20px;
}
body.home .popup .button {
	/*display: none;*/
}
@media (min-width: 600px) {
body.home .popup {
	/*width: 500px !important;*/
}
}



/* SHOP  MODIFICATIONS */
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
	width: 100% !important;
	margin: 20px 0 0 0;
}

#product-summary {
	display: inline-block;
	height: auto;
}
body.single-product .summary {
			/* float: right; */
			position: sticky;
			top: 0;
			will-change: min-height;
}
@media (max-width: 991px) {
#product-summary {
	position: relative;
    display:-webkit-flex;
    display:-webkit-box;
    display: -ms-flexbox;
    display: flex;
	flex-direction: column;
}
body.single-product .summary {
			position: relative;
}
}


@media (min-width: 720px) and (max-width: 991px) {
body.single-product #content div.product div.images, 
body.single-product div.product div.images .woocommerce-page #content div.product div.images, 
body.single-product div.product div.images {
    width: 100%;
}
body.single-product #content div.product div.summary, 
body.single-product div.product div.summary, 
body.single-product #content div.product div.summary, 
body.single-product div.product div.summary {
    width: 100%;
}
}
@media (min-width: 992px) {
body.single-product #content div.product div.images, 
body.single-product div.product div.images .woocommerce-page #content div.product div.images, 
body.single-product div.product div.images {
    width: 60%;
}
body.single-product #content div.product div.summary, 
body.single-product div.product div.summary, 
body.single-product #content div.product div.summary, 
body.single-product div.product div.summary {
    width: calc(40% - 3rem);
}
}
@media (max-width: 991px) {
.type-product {
    display:-webkit-flex;
    display:-webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}
body.single-product #content div.product div.images, 
body.single-product div.product div.images .woocommerce-page #content div.product div.images, 
body.single-product div.product div.images {
    order: 2;
}
body.single-product #content div.product div.summary, 
body.single-product div.product div.summary, 
body.single-product #content div.product div.summary, 
body.single-product div.product div.summary {
    order: 1;
}
body.single-product .woocommerce-tabs {
    order: 3;
}
body.single-product .related.products {
    order: 3;
}
}

/* Offcavas */
.product-offcanvas .woocommerce-Tabs-panel--additional_information, 
.product-offcanvas .woocommerce-Tabs-panel--reviews, 
.product-offcanvas .tabs.wc-tabs, 
body.single .tabs.wc-tabs {
	display: none !important;
}
.product-offcanvas .wc-tab h2:first-child, 
body.single .wc-tab h2:first-child {
	display: none !important;
}

.woocommerce ul.products li.product .onsale {
    z-index: 1 !important;
}
.product-offcanvas {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
	overflow: hidden;
}

.offcanvas-wrapper {
    position: absolute;
    /* right: 0; */
    /* right: -100%; */
    top: 0;
    right: 0;
    background-color: #fefefe;
    /* margin: 15% auto; 15% from the top and centered */
    margin-right: 0;
    padding: 60px 20px 20px;
    border: 1px solid #888;
    width: 600px;
    max-width: 100%;
	height: 100%;
    transition: 0.5s;
	transform: translateX(100%);
	overflow: auto;
	z-index: 99;
}
.offcanvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%;
    background-color: rgba(0,0,0,0.4);
}
.offcanvas-wrapper.show {
    /* right: 0; */
    transition: 0.5s;
	transform: translateX(0);
	z-index: 99;
}
.product-offcanvas .offcanvas-wrapper .related {
    display: none !important
}
#offcanvas-content {
	height: 100%;
}
#product-wrapper {
	padding-bottom: 60px;
}
.offcanvas-text {
}

.product-offcanvas div.product div.summary, 
.product-offcanvas div.product div.images {
    width: 100% !important;
	opacity: 1;
	visibility: visible;
	z-index: 555;
}
.product-offcanvas .woocommerce-product-gallery__wrapper {
    max-width: 460px;
	overflow: hidden;
	margin: 0 auto 40px auto;
}
.product-offcanvas .woocommerce-product-gallery__wrapper img {
    width: 460px;
    max-width: 100%;
	height: auto;
}
.product-offcanvas .woocommerce-product-gallery {
	opacity: 1;
	visibility: visible;
	overflow: hidden;
}
.product-offcanvas .woocommerce-product-gallery .slick-dots {
    bottom: 10px;
}
.product-offcanvas .woocommerce-product-gallery .slick-dots li {
    bottom: 0;
	background: #f2f2f2;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	border: 1px solid #dadada;
}
.product-offcanvas .woocommerce-product-gallery .slick-dots li button, 
.product-offcanvas .woocommerce-product-gallery .slick-dots li:before {
    display: none !important;
}
.product-offcanvas .woocommerce-product-gallery .slick-dots li.slick-active {
    bottom: 0;
	background: #dadada;
}
.product-offcanvas .woocommerce-variation-add-to-cart {
	margin-bottom: 2em;
}
.product-offcanvas .quantity {
    display: inline-block;
	margin-right: 2px;
	box-sizing: border-box;
}
.product-offcanvas .single_add_to_cart_button {
    display: inline-block;
    height: 44px;
	box-sizing: border-box;
}

.woocommerce .product-offcanvas button.button.alt.disabled {
	background-color: rgba(0,0,0,0.3);
}

.woocommerce .reset_variations {
display: none !important;
}

/* The Close Button */
.product-offcanvas .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
	z-index: 999999;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Checkout */
th.product-total {
	width: 120px;
	background: green;
}
#order_review th,
#order_review td {
	padding-top: 10px;
	padding-bottom: 10px;
	vertical-align: middle;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal th, 
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal td, 
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total th, 
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total td, 
.woocommerce table.shop_table.woocommerce-checkout-review-order-table td.product-name, 
.woocommerce table.shop_table.woocommerce-checkout-review-order-table td.product-total {
	font-size: 14px;
}
.woocommerce table.shop_table.woocommerce-checkout-review-order-table td .order-product-name {
	font-size: 16px;
}


div.selectbtn {
  display : inline-block;
  background-color : #f9f9f9;
  border : 1px solid #ddd;
  padding : 3px 5px;
  margin-right : 5px;
  margin-bottom : 5px;
  cursor: pointer;
}
div.selectbtn.selected {
  background-color : #9bd4ef;
  border : 1px solid #000;
}

/* Swatches */
.rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).rtwpvs-button-term, 
.rtwpvs #product-wrapper .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected, 
.rtwpvs #product-wrapper .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected:hover {
	box-shadow: none !important;
	border-radius: 0 !important;
	border: 1px solid #000 !important;
}
.rtwpvs #product-wrapper .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected, 
.rtwpvs #product-wrapper .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected:hover {
	color: #fff !important;
	background: #000 !important;
}
.rtwpvs #product-wrapper .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected .rtwpvs-term-span, 
.rtwpvs #product-wrapper .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-radio-term).selected:hover .rtwpvs-term-span {
	color: #fff !important;
}

.woocommerce-LoopProduct-link > img {
	display: none !important;
}

#order_review button[name="apply_coupon"] {
  display: block;
  height: 32px;
}

.woocommerce-checkout #payment .payment_method_paypal .about_paypal {
  margin-left: 12px;
  float: none;
}

.site .owl-dots button:before, 
.site .owl-dots .button:before, 
.site .owl-nav button:before, 
.site .owl-nav .button:before, 
.site .owl-dots button:hover:before, 
.site .owl-dots .button:hover:before,
.site .owl-nav button:hover:before, 
.site .owl-nav .button:hover:before {
	background: none !important;
}
@media all and (max-width: 699px) {
	.carousel-slider.arrows-outside .owl-nav .owl-prev {
		left: 0 !important;
	}
	.carousel-slider.arrows-outside .owl-nav .owl-next {
		right: 0 !important;
	}
}