/*
Theme Name:         Sage Starter Theme
Theme URI:          https://roots.io/sage/
Description:        Sage is a WordPress starter theme. <a href="https://github.com/roots/sage">Contribute on GitHub</a>
Version:            8.5.2
Author:             Roots
Author URI:         https://roots.io/
Text Domain:        sage

License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/
/* tools
iframe {
	max-width: 100%!important;
}
.header-padding {
	padding-top: 2%;
	padding-bottom: 2%;
}
.universal-top-bottom-space {
	padding-top: 2%;
	padding-bottom: 2%;
}
.universal-padding {
	padding-left: 2%;
	padding-right: 2%;
	margin-left: auto;
	margin-right: auto;
}
.universal-max-width {
	max-width: 1200px;
	margin: 0 auto;
}
.universal-max-width-small {
	max-width: 900px;
	margin: 0 auto;
}
article {
	padding-top: 95px;
	padding-bottom: 95px;
}
.click-through {
	pointer-events: none;
}
/* watch modernizer clash
.flexbox-row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}
.hide {
	position:absolute;
	top:-9999px;
	left:-9999px;
}
.relative {
	position: relative;
}
.absolute {
	position: absolute;
}
.block {
	display: block;
}
.inline-block {
	display: inline-block;
}
.show-on-mobile {
	display: none;
}
.full-width {
	width: 100%;
}
.no-top-margin {
	margin-top: 0!important;
}
.no-bottom-margin {
	margin-bottom: 0!important;
}
.attachment-slide {
	width: 100%;
	height: auto;
}
.post-edit-link {
	opacity: 0.1;
}
.post-edit-link:hover {
	opacity: 1;
}
hr {
	border: none;
	border-bottom: 1px solid;
}
.dash {
	width: 40px;
	margin: 0 auto;
}
/* popup
html.popped-up body {
	overflow: hidden;
}
.popup-area::-webkit-scrollbar {
    width: 10px;
}
.popup-area::-webkit-scrollbar-track {
	background: black;
}
.popup-area::-webkit-scrollbar-thumb,
.search-box ::-webkit-scrollbar-thumb {
	background: grey;
}
.popup-open {
	cursor: pointer;
	margin: 20px 0;
}
.popup-wrapper {
	position:fixed;
	z-index: 100;
	top:0;
	left:0;
	bottom: 0;
	margin: 0;
	width:100%;
	height:100%;
	background: rgba(255,255,255,0.8);
}
.popped-up .popup-wrapper {
	overflow-y: scroll;
}
.popped-up #wrapper-wrap {
    overflow-y: scroll;
}
.close-backing {
	height:100%;
	width:100%;
	position: absolute;
	top:0;
	left:0;
}
/* table style
.popup-area {
	height: 100%;
	max-width: 100%;
	display: table;
	position: relative;
	z-index: 10;
	margin: 0 auto;
	pointer-events: none;
}
.popup-content {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	max-width: 600px;
	background: none;
	pointer-events: all;
}
.popup-content-inner {
	background: white;
	box-sizing: content-box;
	padding: 5%;
	width: 90%;
}
.close-popup {
	width: 40px;
	height: 40px; /* always set height for svg
	margin-left: auto;
	margin-bottom: 20px;
	cursor: pointer;
	background: url('images/close.png');
	background: linear-gradient(transparent, transparent), url('images/close.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
}
.close-popup:hover {
	background-position: bottom;
}
*/
.center-align,
.align-center {
	text-align: center;
}
.right-align,
.align-right {
	text-align: right;
}
.left-align,
.align-left {
	text-align: left;
}
.justify {
	text-align: justify;
}
/**************************************************************************************************************
JUNIOR STYLES
**************************************************************************************************************/
header .container {
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-top: 25px;
    margin-top: 0;
}
body header {
    margin-bottom: 40px;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 0;
}
/* scroll bar */
body {
	/* to stop page jump */
	overflow-y: scroll;
}
strong,
.gform_wrapper h3.gform_title {
    font-weight: bold;
    text-shadow: 0px 0px 0;
}
body h6 {
    /* font-size: 14px; */
}
body,
html {
	height: 100%;
}
.wrapper {
	min-height: 100%;
	padding-top: 160px;
}
.content {
	padding-bottom: 80px;
	/* overflow: hidden; */
	clear: both;
}
body footer {
	height: 80px;
	margin-top: -80px;
	padding: 30px 60px 0 10px;
	clear: both;
}
body footer * {
	margin-bottom: 0;
}
/* */
body a:focus {
    box-shadow: none;
    text-decoration: none;
}
.top-nav {
	position: absolute;
	right: 0;
	top: 25px;
	width: 500px;
}
.my-account-link {
	display: inline-block;
	width: 20px;
	height: 20px;
}
input[type="text"].normal-search {
	height: 30px;
	border: none;
	border-bottom: 1px solid;
	display: inline-block;
	background: none;
}
#searchsubmit {
	text-indent: 9999px;
	overflow: hidden;
	width: 30px;
	height: 30px;
	padding: 0;
	min-width: 0;
	border: none;
	background: url('images/icon-search.png');
	background: linear-gradient(transparent, transparent), url('images/icon-search.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
	display: inline-block;
	float: right;
}
.banner-here #searchsubmit {
	background: url('images/icon-search-white.png');
	background: linear-gradient(transparent, transparent), url('images/icon-search-white.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
}
.no-touch #searchsubmit:hover {
	background-position: bottom;
}
#search-form {
	position: absolute;
	top: -6px;
	right: 100px;
}
.cart-link,
.my-account-link{
	position: absolute;
	top: -7px;
	right: 15px;
}
.cart-link,
.my-account-link,
.my-account-link span {
	display: block;
	width: 30px;
	height: 30px;
}
.cart-link:active,
.my-account-link:active {
	position: absolute;
	top: -6px;
}
.cart-link {
	background: url('images/icon-trolley.png');
	background: linear-gradient(transparent, transparent), url('images/icon-trolley.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
	font-size: 11px;
}
.banner-here .cart-link {
	background: url('images/icon-trolley-white.png');
	background: linear-gradient(transparent, transparent), url('images/icon-trolley-white.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
	font-size: 11px;
}
.cart-link span {
	display: block;
	width: 20px;
	margin-top: 2px;
	margin-left: 8px;
	text-align: center;
	font-size: 11px;
	line-height: 18px;
}
.banner-here .cart-link span {
	color: white;
}
.cart-link:hover,
.cart-link:hover span {
	text-decoration: none!important;
}
.my-account-link span {
	background: url('images/icon-account.png');
	background: linear-gradient(transparent, transparent), url('images/icon-account.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
}
.banner-here .my-account-link span {
	background: url('images/icon-account-white.png');
	background: linear-gradient(transparent, transparent), url('images/icon-account-white.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
}
.my-account-link {
	right: 45px;
	border-right: 1px solid black;
	border-left: 1px solid black;
	margin-left: 5px;
	padding-left: 5px;
	margin-right: 5px;
	padding-right: 5px;
	box-sizing: content-box;
}
.banner-here .my-account-link,
.banner-here input[type="text"].normal-search {
	border-color: white;
	color: white;
}
.no-touch .cart-link:hover,
.no-touch .my-account-link:hover {
	background-position: bottom;
	text-decoration: none;
}
/* */
ul.nav {
	margin-bottom: 0;
}
ul.nav li ul.sub-menu {
    display: none;
    position:absolute;
    z-index: 10;
    min-width: 100%;
    top: 100%;
    text-align: left;
    background: white;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
ul.nav li ul.sub-menu li {
	margin: 0;
    padding: 0;
    list-style: none;
}/*
.menu-item-has-children > a:after {
	content: '\25BC';
	font-size: 8px;
	display: inline-block;
	margin-left: 8px;
	font-family: sans-serif;
}*/
ul.nav li:hover ul.sub-menu {
    display: block;
}
body header .columns .nav-row .menu-main-menu-container .nav li {
	margin: 0;
	position: relative;
}
header .columns .nav-row .menu-main-menu-container .nav li a {
	padding: 0 15px;
}
body header .columns .nav-row .menu-main-menu-container .nav li a:hover {
    text-decoration: underline;
}
.nav a:hover,
.nav li:hover > a,
.current-product_cat-ancestor a, 
.current-menu-ancestor > a, 
.current-product_cat-parent a, 
.current-menu-item > a,
.current-menu-ancestor > a,
.current_page_parent > a,
.current-post-parent > a
/* .current-post-ancestor > a (to highlight category parent as well) */ {
	text-decoration: underline;
}
/* banner */
.gost-white,
.banner-here .gost-black {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
.banner-here ul.nav li ul.sub-menu {
    background: none;
}
.banner-here .gost-white {
  position: static;
  top: auto;
  left: auto;
}
.banner-here header .columns .nav-row .fa-bars,
.banner-here header .columns .nav-row .menu-main-menu-container .nav li a,
.banner-here footer .container .socials div .fa-twitter-square,
.banner-here footer .container .socials div .fa-facebook-square,
.banner-here footer .container .socials div .fa-instagram,
.banner-here .banner-text * {
	color: white!important;
}
.banner-here .banner-text h1 {
	margin-bottom: 12px;
}
.banner-here footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 0 60px 0 10px;
}
.table-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.table {
	display: table;
	width: 100%;
	height: 100%;
}
.table-cell {
	display: table-cell;
	vertical-align: middle;
}
.full-page-banner {
    /* z-index: -10; */
}
body .wrap .button {
	display: inline-block;
	background: none;
	border: 1px solid #fff;
	border-radius: 0;
	padding: 10px 20px 8px;
	transition: all .3s ease;
	color: #fff!important;
	cursor: pointer;
	-webkit-font-smoothing: inherit!important;
}
body .wrap .button:hover {
    background: #fff;
    color: #000!important;
    text-decoration: none;
}
body .wrap .button.gform_button {
	background: #000;
	border: 1px solid #000;
}
.gform_wrapper h3.gform_title {
	font-size: 16px!important;
	font-weight: bold!important;
}
body .wrap .button.gform_button:hover {
	background: #fff;
	border: 1px solid #000;
}
.banner-link:hover {
	text-decoration: none;
}
.banner-text {
	text-align: center;
	padding: 0 60px 0 10px;
}
.banner-text .button {
	margin-top: 15px;
}
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	background: white;
}
header > .container {
	padding-left: 10px;
	padding-right: 60px;
	margin-top: 0;
	margin-bottom: 0;
}
.banner-here header {
	background: none;
}
.banner-here .menu-main-menu-container #menu-main-menu {
	/*background: black;*/
	padding-top: 20px;
	padding-bottom: 20px;
}
body header .columns .nav-row .fa-bars {
	top: 25px;
	left: 19px;
	right: auto;
}
.banner-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
/* archive */

.archive-product-title {
	margin-top: 15px;
	margin-bottom: 0;
}
.col-9.container {
	width: 100%;
	max-width: 1200px;
}
body .wrapper .book {
	padding-left: 50px;
	padding-right: 50px;
}
/* shop checkout */
.wrap.container {
	padding-left: 10px;
	padding-right: 60px;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	margin-left: -10px;
	margin-right: -60px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text,
#add_payment_method table.cart td.actions .coupon .input-text {
	line-height: 25px;
	width: 95px;
}
.paypal_checkout_button {
	margin-bottom: 20px;
}
.checkoutStatus {
	font-size: 1em;
}
.woocommerce-multi-currency.wmc-sidebar {
	bottom: auto;
	top: 50%;
	margin-top: -80px;
}
.woocommerce-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency {
	margin-top: 0;
	padding: 0;
}
/* */
/* popup */
html.popped-up body {
	/*overflow: hidden;*/
}
.popup-area::-webkit-scrollbar {
    width: 10px;
}
.popup-area::-webkit-scrollbar-track {
	background: black;
}
.popup-area::-webkit-scrollbar-thumb,
.search-box ::-webkit-scrollbar-thumb {
	background: grey; 
}
.popup-open {
	cursor: pointer;
	margin: 20px 0;
}
.popup-wrapper {
	position:fixed;
	z-index: 22222222;
	top:0;
	left:0;
	bottom: 0;
	margin: 0;
	width:100%;
	height:100%;
	background: rgba(255,255,255,0.8);
}
.popped-up .popup-wrapper {
	overflow-y: scroll;
}
.popped-up .wrapper {
    /*overflow-y: scroll;*/
}
.popped-up .popup-wrapper::-webkit-scrollbar {
	width: 0!important;
}
.close-backing {
	height: 100%;
	width:100%;
	position: absolute;
	top:0;
	left:0;
}
/* table style */
.popup-area {
	height: 100%;
	max-width: 100%;
	display: table;
	position: relative;
	z-index: 10;
	margin: 0 auto;
	pointer-events: none;
}
.popup-content {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	max-width: 600px;
	background: none;
	pointer-events: all;
}
.popup-content-inner {
	background: white;
	box-sizing: content-box;
	padding: 5%;
	width: 90%;
}
.close-popup {
	width: 40px;
	height: 40px; /* always set height for svg */
	margin-left: auto;
	margin-bottom: 20px;
	cursor: pointer;
	background: url('images/close.png');
	background: linear-gradient(transparent, transparent), url('images/close.svg');
	background-position: top;
	background-repeat: no-repeat;
	background-size: 100% 200%;
}
.close-popup:hover {
	background-position: bottom;
}
/* single product */
.single-product-title,
.single-product-author {
	margin-bottom: 0;
}
body .single-product .product .single_add_to_cart_button.button.alt {
	color: #fff!important;
	background: #000;
}
body .single-product .product .single_add_to_cart_button.button.alt:hover {
	color: #000!important;
	background: #fff;
}
.woocommerce-product-details__short-description p {
	margin-bottom: 10px;
}
.single-product-hr {
	border: none;
	border-bottom: 1px solid;
	margin-top: 15px;
}
.woocommerce .products ul,
.woocommerce ul.products {
    justify-content: center;
}
.woocommerce-tabs.wc-tabs-wrapper {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
.product.col-3 {
    /*width: 24.5%;*/
    width: 32.5%;
}
.single-product-scrolling-image {
	display: block;
	margin-bottom: 35px;
	margin-left: auto;
	margin-right: auto;
}
@media only screen and (max-width: 1280px) {
    .product.col-xl-4 {
        width: 32.5%;
    }   
}
@media only screen and (max-width: 800px) {
    .product.col-xl-4 {
        width: 48%;
    }   
}
@media only screen and (max-width: 600px) {
    .product.col-xl-4 {
        width: 100%;
    }   
}
.related-book-title,
.up-sells.upsells {
	background: white!important;
	position: relative;
	z-index: 20;
	padding-bottom: 30px;
	margin-bottom: 0;
}
.popped-up .related-book-title,
.popped-up .up-sells.upsells {
	z-index: 0;
}
/* hover */
body .book a {
	display: block;
	width: 100%;
}
body .book a .book-hover {
	padding: 0;
}
.book-hover:hover .book-image {
	opacity: 0.2;
}
body .wrap .book-hover .button {
	color: #000!important;
	border-color: #000;
	width: 70px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -35px;
	margin-top: -18px;
	opacity: 0;
}
body .wrap .book-hover:hover .button {
	opacity: 1;
}
body .book a .book-image {
	background-size: contain;
	background-size: auto 100%;
	height: 0;
	min-height: 0;
	padding-top: 66.666%;
	padding-top: 100%;
	transition: all .05s ease;
}
body .column {
	padding-left: 0;
	padding-right: 0;
}
.column .book-content {
	padding-left: 5px;
	padding-right: 5px;
}
/* */
.invisible {
	opacity: 0;
}
.news-archive {
	margin-left: -0px;
	margin-right: -0px;
}
.news-archive-post {
	width: 25%;
	float: left;
	padding: 30px;
}
.news-archive-image {
	max-width: 100%;
	margin-bottom: 20px;
}
.news-archive-post .book-content {
	text-align: left;
	align-items: left;
}
.news-archive-post a:hover,
.news-archive-post a:hover p {
	text-decoration: none;
}
.news-archive-post a:hover .news-archive-title {
	text-decoration: underline;
}
.right-arrow,
.back-to-news {
	font-size: 20px;
	text-decoration: none!important;
}
/* */
.single-news {
	max-width: 500px;
	margin: 0 auto;
}
.single-image {
	max-width: 100%;
	display: block;
	margin-bottom: 35px;
}
/* about */
.page-template-template-about-us .container,
.page-template-template-contact .container {
	width: 100%;
	max-width: 800px;
}
.page-template-template-contact .gform_wrapper form .gform_footer input {
	color: #000!important;
}
#gform_fields_1 {
	max-width: 250px;
}
.ginput_container.ginput_container_textarea {
	padding-top: 20px;
}
/* responsive */
@media only screen and (max-width: 1200px) {
	/* fix for nav */
	/* sub nav */
	.nav ul li,
	.nav ul li a {
		width: 100%;
		height: auto;
		display: block;
		text-align:center;
		margin: 0;
		position: relative;
		border: none;
	}
	ul.nav li ul.sub-menu {
		position: static;
		display: block;
	}
}
@media only screen and (max-width: 1000px) {
	.news-archive-post {
		width: 33.33%;
	}
}
@media only screen and (max-width: 800px) {
	.my-account-link {
		border-left: none;
	}
	#search-form {
		display: none;
	}
	.news-archive-post {
		width: 50%;
	}
}
@media only screen and (max-width: 600px) {
	.news-archive-post {
		width: 100%;
	}
}
@media (min-width: 850px) and (min-height: 800px) {
	.product-fixed {
		position: fixed;
		z-index: 10;
		width: 100%;
		left: 0;
		padding-right: 60px;
	}
	.product-fixed-inner {
		margin-left: auto;
		margin-right: auto;
		padding-left: .4rem;
		padding-right: .4rem;
		width: 100%;
		max-width: 1200px;
	}
	.product-fixed-summary {
		float: right;
    	width: 35%!important;
	}
}