/* ## Previously Imported ## */
.autism_day { background-color: #ee8f25; padding: 2.1em 4em 2.1em 4em; }
.autism_day h3 { color: #fff; }
.autism_day a { color: #fff; text-decoration: underline; }
.autism_day a:hover	{ color: #ffd8d8; text-decoration: underline; }
.autism_day span { font-size: 1.1em; }
.autism_day h4 { color: #fff; }
.halfy_left { float: left; margin-right: 3em; margin-bottom: 1em; }

/* ## Bug Fixes ## */
.post_type_filter_wrap .icon_list_wrap a { font-family: "source-serif-pro", sans-serif; }
.product_type_filters .icon_list_wrap a { font-family: "source-serif-pro", sans-serif; }
.books_products_filter_wrap .icon_list_wrap a { font-family: "source-serif-pro", sans-serif; }
.term-conferences-training .morelink { font-size: 0px; text-indent: -999em; display: block; width: 100%; text-align: right; }
body.term-conferences-training .morelink::before { content: 'Details »'; font-size: 26px; text-indent: 0px; }
body.term-conferences-training .morelink[href*='/conferences/']::before { content: 'Conference Details »'; }
body.term-conferences-training .morelink[href*='/training/']::before { content: 'Training Details »'; }

/* ## Speaker as Author ## */
.post .author_wrap .thumb { min-width: 95px; position: relative; z-index: 999; }
.post .author_wrap .thumb img { width: 95px !important; height: 95px !important; }
.post .author_wrap .thumb a { display: inline-block; }
.post .author_wrap h2 { z-index: 0; }

/* ## Citations and Footnotes ## */
.single-post .footnotes { font-size: 12px; border: 0px none; border-top: 1px solid #e6e6e6; padding: 10px 0px; margin-top: 25px; margin-bottom: 15px; }
.single-post .footnotes p { padding: 0px 0px 2px; margin: 0px; }
.single-post .footnotes h2, h3, h4, h5, h6 { margin: 0px; padding: 5px 0px; }

/* ## Editorial Policies ## */
.single-post .editorial_policy { font-size: 12px; border: 0px none; border-top: 1px solid #e6e6e6; padding: 10px 0px; margin-top: 25px; margin-bottom: 0px; }
.single-post .editorial_policy p { padding: 0px 0px 2px; margin: 0px; }
.single-post .editorial_policy h2, h3, h4, h5, h6 { margin: 0px; padding: 5px 0px; }
.single-post .share_wrap { margin-top: 0px; }

/* ## Page Numbers ## */
.page-numbers .current { color:grey; background-color:#ddd; }

/* ## Blog Moderation ## */
.comments_header .moderation_policy { display: inline-block; float: right; text-align: right; vertical-align: middle; font-size: 14px; padding-top: 10px; }

/* ## Links Disclaimers ## */
.single-post .links_disclaimer { font-size: 12px; border: 0px none; border-top: 1px solid #e6e6e6; padding: 10px 0px; margin-top: 25px; margin-bottom: 0px; }
.single-post .links_disclaimer p { padding: 0px 0px 2px; margin: 0px; }
.single-post .links_disclaimer h2, h3, h4, h5, h6 { margin: 0px; padding: 5px 0px; }

/* ## Video Embeds ## */
.videoWrapper {position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; margin: 25px 15px;}
.videoWrapper iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ## Book Category Layout ## */
/*
.woocommerce ul.products { display: block; text-align: left; margin: 0 -8px 16px; }
.woocommerce ul.products li.col { float: none; display: inline-block; vertical-align: top; }
*/

.woocommerce ul.products li.col h2 { line-height: 4; margin-bottom: 0; padding-bottom: 0; font-size: .95em; text-align: center; color: #2e8ac8; }

/* ## Upgrade Fixes ## */
.broken_link, a.broken_link { text-decoration: underline !important; }
.broken_link:hover, a.broken_link:hover { text-decoration: none !important; }
.woocommerce ul.products li.product .price { padding: 0.6em 1em 0.33333em 0; }
.woocommerce ul.products li.product .apple-pay-button-wrapper { display: none; }
.woocommerce ul.products li.product a.morelink { float: right; }

/* ## New Grid View ## */
.woocommerce ul.products.grid_view {}
.woocommerce ul.products.grid_view .product_meta { display: none; }
.woocommerce ul.products.grid_view li.product { text-align: center; position: relative; }
.woocommerce ul.products.grid_view li.product a.morelink { display: none; }
.woocommerce ul.products.grid_view li.product .thumb, .woocommerce ul.products.grid_view li.product .images { width: 100%; max-width: 200px; margin: 0px auto 10px; text-align: center; float: none; }
.woocommerce ul.products.grid_view li.product .thumb img, .woocommerce ul.products.grid_view li.product .images img { margin: 0px auto; }
.woocommerce ul.products.grid_view li.product h3 { text-align: left; }
.woocommerce ul.products.grid_view li.product .cart_price_wrap { display: block; }
body.woocommerce-checkout .edit_date { display: none !important; }

/* ## Login Button Enhancment ## */
.logged-in .icon-account .screen_reader_text { font-size: 0; color: transparent; text-indent: -999em; }
.logged-in .icon-account .screen_reader_text::after { display: block; content: 'Account'; font-size: 16px; color: #999; text-indent: 0; }

/* ## Store Notice ## */
.store-notice {
	margin: .5em 0 2em 0;
    padding: 1 em;
    width: 100%;
    font-size: 1.2em;
    text-align: center;
    background-color: #ee8f25;
    color: #fff;
    z-index: 99998;
}

@media (max-width: 800px) {
	.store-notice {
		margin: 4em 0 0 0;
	}
		
	.store-notice p {
		margin: 0;
	}
}
  
.store-notice p {padding-top:1em; padding-right: 2em; padding-bottom: 1em; padding-left: 2em;
	font-weight: 400;}

/* ## Speakers ## */
.speaker .speaker-name { color: #444; text-decoration: none; }
.speaker .speaker-name:hover, .speaker .speaker-name:active, .speaker .speaker-name:focus { color: #135079; text-decoration: none; }

/* ## Fix Mobile Menu Search Glass Bug ## */
nav.header_nav li { font-family: "source-sans-pro", sans-serif !important; }
nav.header_nav li.icon-home:before { display: inline-block; vertical-align: center; font-family: "entypo", sans-serif !important; }

/* ## Fix Shipping Methods Bug ## */
@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before { float: none; display: block; text-align: left; }
}

/* ## Checkout Improvements ## */
.select2-selection--single { padding: 12px 0px !important; height: auto !important; min-height: 28px !important; }
.select2-selection { min-height: 54px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px !important; right: 15px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { width: 20px !important; height: 0px; border-width: 10px !important; margin-top: -4px !important; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { margin-top: -13px !important; }
.woocommerce-invalid input, .woocommerce-invalid select { border: 1px solid #990000; background: #ffeeee; }
.woocommerce-invalid .select2-selection--single { border-color: #900 !important; background: #ffeeee; }
.woocommerce-cart .cart-collaterals .cross-sells { width: 100% !important; }
.woocommerce-cart .cross-sells .products { display: block; width: 100%; }
.woocommerce-cart .cross-sells .products li { width: 100% !important; }
.woocommerce-cart table.cart .product-thumbnail { display: none!important; }
@media (min-width: 640px) {
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { display: table-cell !important; }
}
@media (max-width: 640px) {
	.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before { content: "" !important; }
}

/* ## Navigation Account Button Fixes ## */
@media (max-width: 800px) {
	.logged-in .icon-account .screen_reader_text::after { color: #fff !important; }
}
@media (max-width: 480px) {
	.logged-in .icon-account .screen_reader_text::after { display: none !important; }
}

/* ## WooCommerce Ajax Overlay ## */
.blockUI.blockOverlay, .loader {
	background: rgba(0, 0, 0, 0.35) !important;
	position: fixed !important;
	width: 100% !important;
	height: 100% !important;
}

/* ## gforms global - page specific exists in styles.css ## */
.gform_wrapper {
  max-width: 100% !important;
}

.gform_wrapper input[type=text],
.gform_wrapper input[type=url],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=number],
.gform_wrapper input[type=password],
.gform_wrapper textarea {
  font-size: 1em !important;
  line-height: 1 !important;
  padding: 0.5em !important;
  margin-top: 0 !important;
  margin-bottom: 1em !important;
  box-sizing: border-box;
  background: #f2f2f2 !important;
  border: 0 !important;
  width: 100% !important;
}

.gform_wrapper .col,
.gform_wrapper .col {
  margin-left: 0;
  clear: none !important;
}

@media (min-width: 768px) {
  .gform_wrapper .col {
    width: 50% !important;
  }
}

@media (min-width: 768px) {
  .gform_wrapper .col.left input {
    width: 98% !important;
  }
}

.validation_error {
  font-weight: normal !important;
}


/* remove out-of-stock from training when stock is set to 0, for Train the Trainer. */
.product-type-training .out-of-stock {
    display:none!important;
}

/* ### Superfooter Styles ### */

/* slick overrides */

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
}

.slick-prev {left: -45px;}
.slick-next {right: -45px;}

.slick-prev:before, .slick-next:before {
    font-family: 'entypo';
    font-size: 40px;
}

@media (min-width: 800px) {
    .slick-prev, .slick-next {width: 80px; height: 80px;}
    
    .slick-prev {left: -85px;}
    .slick-next {right: -85px;}
    
    .slick-prev:before, .slick-next:before {font-size: 80px;}
}


.slick-prev:before {content: "\e60c";}
.slick-next:before {content: "\e60f";}

/* Related section styles */

/* gerneral section styles */
.related a, .related a:active, .related a:hover, .related a:focus {color: white; text-decoration: none;}
.related .item > a:hover h4, .related .item > a:active h4, .related .item > a:focus h4 {text-decoration: underline;}
.related > * {padding: 2em 45px;}
@media (min-width: 800px) {
    .related > * {padding: 2em 85px;}
}
.related h3 {font-size: 2em; margin-bottom: .7em;}
.related h4 {padding-top: 0;}
.related .item {padding: 0 25px;}
.related .morelink:active, .related .morelink:hover, .related .morelink:focus {text-decoration: underline;}
.related ._content {margin: .5em 0;}

/* slick loading fix */
.related .slick {display: none;}
.related .slick-initialized {display: block;}

@media (min-width: 600px) {
    .related ._content {margin: 2.5em 0;}
}

/* related posts section */
.related-posts {background-color: #A8BB21; color: white; }
.related-posts .item img {float:left; max-width: 180px; max-height: 180px; margin-right: 10px;}
.related-posts .item {max-width: 500px; margin: 0 auto; display: block !important;}

@media (min-width: 940px) {
    .related-posts .item { margin: 0; display: inline-block !important;}
}


/* related products section */
.related-products {background-color: #3cc2dd; color: white;}
.related-products .image-container {height: 230px; display: flex; align-items: center; margin-bottom: 30px;}
.related-products .item img {width: auto; height: auto; max-width: 175px; max-height: 230px; margin:0 auto;}
.related-products .item {max-width: 250px; margin:0 auto; display: block !important;}


/* related resources section */
.related-resources {background-color:#2e8ac8; color:white;}
.related-resources li {font-size: 1.3em; margin-bottom: .5em;}
.related-resources a:hover, .related-resources a:active, .related-resources a:focus {text-decoration: underline;}
.related-resources ._content { max-width: 900px; margin: 2.5em auto; }

@media (min-width: 600px) {
    .related-resources ._content {columns: 2;}
}

/* related conferences section */
.related-conferences .slick-bg-conferences img {
    -webkit-filter: blur(5px) grayscale(25%);
    -moz-filter: blur(5px) grayscale(25%);
    -o-filter: blur(5px) grayscale(25%);
    -ms-filter: blur(5px) grayscale(25%);
    filter: blur(5px) grayscale(25%);
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    transform: scale(1.05); 
}

.related-conferences h3 {z-index: 1; text-shadow: 0 0 5px black;}
.related-conferences .item a:hover .banner_contents, .related-conferences .item a:active .banner_contents, .related-conferences .item a:focus .banner_contents {filter:brightness(1.2);}
.related-conferences .slick-bg-conferences {position: absolute; top: 0; right: 0; left: 0; bottom: 0; overflow: hidden; object-fit: cover;z-index: -1;}
.related-conferences .slick-bg-conferences * {height: 100%;}
.related-conferences .banner_wrap {margin-bottom: 0;}
.related-conferences .banner_wrap .banner_contents {position: static;}
.related-conferences { color: white; position: relative;}
.related-conferences .item {display: block; max-width: 1200px;}
.related-conferences ._content {margin: .5em 0;}

@media (min-width: 800px) {
    .related-conferences ._content {margin: 5em 0;}
}

/* Footer styles */

footer.primary {background: none;}

footer.primary {margin:-1em; padding-bottom: 0; background-size: unset;}
footer .back_to_top {float: none;}
.upper-footer {margin-top: 3em;}
.upper-footer h1 {text-align: center; color: #312e2f;}
.upper-footer a {color:#f3a53f; text-decoration: none;}
.upper-footer ul {display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 0;}
.upper-footer li {color: #1a5b85; font-size: 1.2em; font-weight: bold; margin: 1.5em;}
.upper-footer li[class*="icon-"] {padding-left: 3.5em; position: relative;}
.upper-footer li::before {position: absolute; font-size: 2em; top:50%; transform: translateY(-50%); left:0; border: solid #3fc3de thin; border-radius: 100%; background-color: #3fc3de; color: white; padding: .2em;}
.upper-footer li h3 { text-transform: uppercase; font-size: 1em; padding:0; margin-bottom: .2em;}
.upper-footer li p {font-family: "proxima-nova", sans-serif; margin-bottom: 0;}
.upper-footer .social-link { padding-left: 1.7em; position: relative; margin-right: .5em;}
.upper-footer .social-link .icon {position: absolute; top:50%; transform: translateY(-50%); left:0; width: 1.5em; display: inline-block;}

/* Lower footer */

footer .secondary {display: flex; justify-content: space-between; align-items: center; background-color: #1a5b85; color: white; padding: 1.5em 2em 2em 1.5em; margin-top: 4em; flex-wrap: wrap-reverse;}
.copyright p:nth-of-type(1) { font-size: 1.3em; font-weight: bold; line-height: 1.3;}
.copyright p:nth-of-type(2) { font-size: 0.9em;}

.secondary a {color:white;}
footer .secondary button {color:white;}
.secondary > div {flex:1; text-align: center;}
footer .secondary button:after { display: none;}
footer .secondary button:before {display: block; font-family: entypo; text-transform: none; font-size: 3em; line-height: .5; content: "\e60e";}
#menu-footer-nav {margin: 0;}
#menu-footer-nav li {text-align: right; text-transform: uppercase;}
footer .secondary a {text-decoration: none;}

@media (max-width: 767px) {
	footer .shop_modules_wrap .module {max-width: 500px; float: none; margin: 1em auto;}
	.shop_modules_wrap.shop_bottom_modules {padding: 0 1em;}
	.secondary > div {flex: unset; width: 50%; text-align: inherit;}
	.secondary .copyright {width: 100%;}
}

/* youtube iframe workaround */
.hytPlayerWrap { width: 100%; }
.hytPlayerWrap iframe { width: 100%;  height: 25vw; }

@media (max-width: 1300px) {
	.hytPlayerWrap iframe { height: 30vw; }
}

@media (max-width: 1100px) {
        .hytPlayerWrap iframe { height: 35vw; }
}

@media (max-width: 767px) {
        .hytPlayerWrap iframe { height:  45vw; }
}



/* front page book display adjust 2023 by JJ  */

.featured_books {
  width: 100%;
  background-color: #f4f4f4;
}

.featured_books h1 {
  text-align: center;
}

.alllink {
  clear: both;
  padding: 0px 20px 30px 0px;
}

.frontbooks {
  width: 65%;
  padding: 0px 20px 0px 10px;
}