@import url('../storefront/style.css');

/*
Theme Name: Test Kit Plus 2022
Theme URI: URI to your theme
Description: Woothemes Storefront child-theme for testkitplus.com
Author: Karim
Version: 0.0.5
Template: storefront
Tags: two-columns, custom-header, custom-colors, custom-background, custom-menu, theme-options, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/

body, button, input, textarea {
  font-family: Manrope, Arial,  sans-serif;
}

a {
  color: #3a5f89;
}
a:visited {
/*    color: #7b87b8; */
}
a:hover {
    color: #5b87b8;
}
a:focus, button:focus, input:focus, textarea:focus{
    outline: 2px solid #3a5f89;
}
.widget-area .widget a, .hentry .entry-header .posted-on a, .hentry .entry-header .byline a {
    color: #3a5f89;
}
h1 {
 font-size: 2.6em;
}
#page h2, #page h3, #page h4 {
    margin-top: 0.8em;
}
.widget-area .widget a:hover, .hentry .entry-header .posted-on a:hover, .hentry .entry-header .byline a:hover {
	color: #5b87b8;
}
.hentry .entry-content a:not(.button), .widget-area .widget a:not(.button), .hentry .entry-content a:not(.button):not(.components-button) {
    text-decoration: none;
}

.product_list_widget a:hover {
    color: #5b87b8;
}

.star-rating span::before, .quantity .plus, .quantity .minus, p.stars a:hover::after, p.stars a::after, .star-rating span::before, #payment .payment_methods li input[type="radio"]:first-child:checked + label::before {
	color: #3a5f89;
}

/* HEADER */
#page #masthead.site-header {
    border-top:1px solid #468024;
/*    border-bottom: 1px solid #d5d5d5; */
    border-bottom: 0;
    background-color:#ffffff;
    padding-top: 1.617924em;
}
.page-template-template-homepage:not(.has-post-thumbnail) .site-main {
    padding-top: 0; /* Hompeage padding under menu nav bar */
}
#masthead .storefront-primary-navigation {
    background-color:#f2f2f2;
/*    border-top: 1px solid #468024; */
}

.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a{
    padding: 0.8em 1em;
}
.unclickable > a {
  pointer-events: none;
}
.handheld-navigation #menu-handheld-menu #menu-item-92786 .dropdown-toggle, .handheld-navigation #menu-handheld-menu #menu-item-92868 .dropdown-toggle { /* To make "Info" and "How-Tos" dropdown on handheld expand when clicked */
  text-align:right; 
  width:100%;
}

#menu-item-111343 > a:nth-child(1), #menu-item-111357 > a:nth-child(1), #menu-item-111357 > a:nth-child(1), #menu-item-94 > a:nth-child(1) { /* To disable mouse events on handheld for higher level shop items */
 pointer-events: none;
}

.site-header-cart .cart-contents {
    padding: 0.8em 0;
}
.main-navigation ul li a:hover {
    color: #5b87b8;
}
header .site-branding {
  margin-top: 0.2em;
}
header .secondary-navigation {
    margin: 0.4em 0 1.3em;
}
header .secondary-navigation .menu {
    font-size: 1em;
}

header .secondary-navigation ul.menu a:hover {
    color: #5b87b8;
}
header .site-search {
    margin-top:0.3em;
}
a.cart-contents:hover, .site-header-cart:hover > li > a, .site-header-cart .widget_shopping_cart a:hover {
    color: #5b87b8;
}
.page table, .woocommerce-tabs table {
    border: 1px solid #e6e6e6;
}
.page table tbody th, .woocommerce-tabs table tbody th {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}
.page table td, table th, .woocommerce-tabs table td, table th {
    border-right: 1px dotted #e6e6e6;
}
.page table tbody td, .woocommerce-tabs table tbody td {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.page table tbody tr:nth-child(2n) td, .woocommerce-tabs table tbody tr:nth-child(2n) td  {
    background: #f9f9f9;
    border-right: 1px dotted #e8e8e8;
}
.site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
	background-color: #fff;
	border: 1px solid #dcdcdc;
}

.site-main, .hentry {
    margin-bottom:0;
}
.widget a.button.checkout {
    background-color:#468024;
    border-color: #468024;
}

.storefront-breadcrumb {
    margin: 0 0 1.5em;
}

/* Hide the SKU from the product pages */
.product .product_meta .sku_wrapper, .single-product div.product .product_meta .sku_wrapper {
  display: none;
}

/* RHS WIDGETS */

#secondary .widget {
/*    box-shadow: inset 0 0 0 1px #d5d5d5; */
    background-color:#f2f2f2;
    padding: 1.5em 1.5em 1.3em;
}
#secondary h3 {
    font-size: 1.41575em;
    color: #43454b;
}
#secondary #text-10 .widget-title {
    text-transform: uppercase;
}

.woocommerce-multi-currency.shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
    padding: 5px 7px;
}

/* SHOP PAGE */

ul.products li.product img {
    object-fit: contain;
    max-height: 20em;
}

/*ul.products li.product {
    text-align: left;
}*/
ul.products li.product .button {
    width: 100%;
    text-align: center;
}

/* PRODUCT FILTER WOOF */ 
#secondary #woof_widget-2, #secondary .widget-woof {
  background: #ffffff;
}
.woocommerce-shop #secondary ,#secondary #woof_widget-2, .woocommerce-shop #secondary .widget-woof {
  padding-left: 0; 
  padding-top: 0;
}

#woof_widget-2 .widget-title {
  font-size: 1.7em;
  padding-bottom: 0.2em;
  margin-bottom: 0em;
}
#woof_widget-2 h4 {
  border-bottom: 2px solid #6386b4;
  padding-bottom: 0.2em;
}
.woof_btn_default::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content:"\f1de  ";
}
.tax-product_cat #main > div:nth-child(2) { /* hides mini filter on category pages */
  display: none;
}
.tax-product_cat #main .woocommerce.woocommerce-page.woof_shortcode_output { /* to be sure products wooommerce are displayed if page is desktop */
  display: block;
}

/* End filter */

/* Currency */
.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
  display: block;
  border: none;
  font-weight: normal;
}
.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency, .woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper span.wmc-current-currency {
  padding: 0.5em 1em
}
.wmc-current-currency i {
    margin: -14px -18px !important;
}

/* replaces the plugin down arrow */
.woocommerce-multi-currency.wmc-shortcode .wmc-currency-wrapper span.wmc-current-currency-arrow::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f107";
}

.woocommerce-multi-currency.wmc-shortcode.plain-vertical .wmc-currency-wrapper .wmc-sub-currency .wmc-currency a {
    font-weight: 400;
}
/* For FAQ */
.fa-plus-circle:before {
   content: "\2b";
}
.fa-minus-circle:before {
    content: "\f068";
}

/* For testimonials */

blockquote.easy_testimonial {
  border-bottom: 1px solid #E6E6E6 !important;
}
#secondary #randomtestimonialwidget-2 {
     margin-bottom: 0;
}
#secondary #text-4 {
    padding-top:0;
}

#secondary .secured-guaranteed { /* French custom */
  padding: 10px 0;
  font-size: 1.1em;
  text-align: center;
}
#secondary .sidebar-ssl-seal { /* French custom */
  clear: both;
  text-align: center;
  padding-top: 15px;
}
#secondary #ssba_widget-2 {
    padding: 1.5em 1.5em 0 1.5em;  /* French custom */
    margin: 0;
}
#secondary #ssba_widget-2 .ssbp-list li a {   /* French custom */
    color:#fff;
}
#secondary #ssba_widget-2 .gamma {
    margin-bottom:0;
}
#secondary .ssba-classic-2{
    margin-top: 1em;
}

/* FOOTER */
.site-footer a, .site-footer a:not(.button) {
    color: #3a5f89;
    text-underline-position: under;
    text-decoration-color: #6792c9;
}
.site-footer a:hover {
    text-decoration: underline;
    text-decoration-color: #D2DCEE;
}
footer .widget .widget-title {
    padding-bottom: 0;
    border-bottom: 0;
}
footer .footer-social-media li {
    float: left;
    margin-right: 0.8em;
}
footer #text-6 {
    margin-bottom: 0em;
}
footer .footer-widgets {
    border-bottom: 1px solid #ccc;
}
footer .amazon-available {
    max-height: 2.7em;
    width: auto;
    margin-top: 0.6em;
}

/* 2022 footer layout */
#colophon .block {
    padding-left: 2em;
}
#colophon .widget-title {
    border-bottom: 2px solid #6386b4;
    padding-bottom: 0.4em;
    margin-bottom: 0.4em;
}
#colophon .footer-logo {
    width: 100%;
    max-width: 200px;
}

#colophon .footer-payment-methods, #colophon .footer-social-media {
    margin-top: 0.8em;
}

/* PRODUCT PAGES */
/* Storefront product pages full width */ 
body.woocommerce #primary { 
    width: 100%; 
} 

body.woocommerce.single-product #primary {
    width: 100%;
}

/* Less space under form and above tags on product pages */
.single-product div.product form.cart {
	margin-bottom:0;
}

.woocommerce .allInOneProdImages {
  margin: 0.5em 2.5em 0 0;
  border: 1px solid #DCDCDC;
}
/* prices for variable products */
.product .single_variation_wrap .woocommerce-Price-amount {
    font-size: larger;
}
.product .available-on-backorder {
    font-size: larger;
    font-style: italic;
}
/* Buttons */

.added_to_cart, .button, button, input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #468024;
    border-color: #468024;
    border-radius: 1em;
}
.added_to_cart.alt, .added_to_cart.cta, .button.alt, .button.cta, button.alt, button.cta, input[type="button"].alt, input[type="button"].cta, input[type="reset"].alt, input[type="reset"].cta, input[type="submit"].alt, input[type="submit"].cta {
    background-color: #468024;
    border-color: #468024;
}
#main .button.alt:hover {
    background-color: #4C9621;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover {
       background-color: #4C9621;
 
}


.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments {
    background-color: #468024;
}

/* Put product tabs on top as per https://gist.github.com/vanbo/c05e9b9512bd53e3680c82e1c6e4e6a3 */
.product .woocommerce-tabs ul.tabs {
	width: 100%;
	float: none;
	margin-right: 5.8823529412%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	list-style: none;
	padding: 0 0 0 1em;
	margin: 0 0 1.618em;
	overflow: hidden;
	position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	position: absolute;
	content: ' ';
	width: 100%;
	bottom: 0;
	left: 0;
	border-bottom: 1px solid #d3ced2;
	z-index: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid #d3ced2;
	background-color: #ebe9eb;
	display: inline-block;
	position: relative;
	z-index: 0;
	border-radius: 4px 4px 0 0;
	margin: 0 -5px;
	padding: 0 1em;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #fff;
	z-index: 2;
	border-bottom-color: #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
	border: 1px solid #d3ced2;
	position: absolute;
	bottom: -1px;
	width: 0;
	height: 0;
	content: ' ';
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
	left: -6px;
	border-bottom-right-radius: 4px;
	border-width: 0 1px 1px 0;
	box-shadow: 2px 2px 0 #ebe9eb;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
	box-shadow: 2px 2px 0 #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	right: -6px;
	border-bottom-left-radius: 4px;
	border-width: 0 0 1px 1px;
	box-shadow: -2px 2px 0 #ebe9eb;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
	box-shadow: -2px 2px 0 #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: .5em 0;
	font-weight: 700;
	color: #515151;
	text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: inherit;
	text-shadow: inherit;
}


/* Checkout columns */
.woocommerce .col2-set, 
.woocommerce-page .col2-set,
#customer_details+#wc_checkout_add_ons, 
#order_review, #order_review_heading {
    float: none;
    width: 100%;
}
.woocommerce #order_review_heading, .woocommerce #order_review {
    float: none;
    width: 100%;
}
.woocommerce #ship-to-different-address .woocommerce-form__input-checkbox {
    position: relative;
    margin-right: 0.3em;
}

/* checkout crypto */

.woocommerce-checkout .cw-branding {
   display: none; 
}
.woocommerce .woocommerce-checkout .payment_method_cryptowoo label .cc {
    float: right;
}

/* checkout helcim */
.woocommerce-checkout .woocommerce #cardNumber, .woocommerce-checkout .woocommerce #cardCVV {
  font-size: 1.3em;
  padding: 8px;
/*  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
  width: 10em; */
/* To show graphic of generic credit card in background of form field
  background-image: url(/wp-content/uploads/images/misc/card-cc-plain.svg);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 50px 31px;  */
}

.woocommerce-checkout .kr-wc-helcim-payment-method-form legend {
  font-weight: 400;
  font-size: 1.15em;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: -0.8em;
}
.woocommerce-checkout .kr-wc-helcim-payment-method-form select {
  width:auto;
  background-color: #f2f2f2;
  border: none;
  font-size: 1.3em;
  padding: 8px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
}
#ccard-error-message { /* for jquery credit card validation */
	margin: 20px 0px 0px;
	background: #ffd6d6;
	padding: 10px;
	border-radius: 4px;
	line-height: 25px;
	font-size: 0.9em;
	color: #907575;
/*	display:none; */
}
/* checkout cardconnect */
#card_connect-card-name {
    display: none;
}
/* misc */
.woocommerce .cartFreeShipping {
    color: #AD1D00;
    font-size: larger
}
.cartShippingMsg {
    margin-top: -2em; 
    text-align: center;
}
.woocommerce-cart #primary .woocommerce-multi-currency::before {
    content: "Checkout currency: ";
}
.woocommerce .woocommerce-info a {
    color: #3a5f89;
    background: #fff;
    padding: 0.2em 0.3em;
    margin-left: 0.3em;
}
.woocommerce .woocommerce-info a::after {
    content: " »";
}    
.ewd-urp-review-margin .reviewReplyIndent {
    margin-left: 2em;
}
.woocommerce .woocommerce-NoticeGroup-checkout .woocommerce-error, form.woocommerce-checkout .woocommerce-error {
	background-color: #AD1D00;
}
.fontLarger {
    font-size: larger;
}
.buyBulkMsg {
    margin-bottom: 0;
    margin-top: 1.0em;
    font-style: italic;
/*    background-color: #f2f2f2;
    padding: 0.3em; */
}
tr .tdCenter {
    text-align: center;
}

/* affiliate styles */
.page-template .wp_aff_title {
    font-family: manrope, arial, sans-serif;
}
.page-template .wp-aff-box {
  border: 0;
}
.page-template #aff-box-action {
    border-radius: 1em;
}

/* New 2022 search border radius to match buttons */

.widget_product_search form:not(.wp-block-search) input[type="search"] {
    border-radius: 1em;
}

/* Posts */
.single-post .post .posted-on, .single-post .post .post-author {
    display: none;
}

/*Home Page*/

.home #content .col-full {
    margin: 0;
    max-width: 100%;
}


.home section.testkit-hero {
  background: url("https://testkitplus.com/wp-content/uploads/images/homepage/test-kit-plus-hero.jpg");
  background-size: cover;
  padding: 25px;
}

.home section.testkit-hero p {
  max-width: 70%;
}

.home section.testkit-hero .container, .home #homepage-features {
    max-width:75em;
    margin: auto;
    padding: 0 2.6em;
}

.home col-half {
  max-width: 100%;
  padding: 0px 15px;
}

.home section.testkit-hero {
  background-position: center;
}

.hero-content {
  text-align: left;
}
.hero-content h1 {
  font-weight: bold;
}

.home .hero-content p {
    font-size: 1.3em;
}

.home .global-btn a {
    display: inline-block;
    color: #fff;
    background: #468024;
    border-radius: 1em;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease 0s;
}
.global-btn a:hover {
  background: #4C9621;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px;
}

.global-btn a { /* put in desktop style media query */
  padding: 13px 45px;
}
.home .home-about-us, .home #home-cbc {
  max-width: 75em;
  margin: auto;
  padding: 1em 2.5em 0 2.5em;
}

.home .woocommerce-message {
  max-width: 75em;
  margin-left: auto;
  margin-right: auto;
}


/*Home Page Old*/

.page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail {
    padding-top: 2em;
}
.page-template-template-homepage .entry-content, .page-template-template-homepage .entry-header {
     max-width: 66.4989378333em;
}
.home #page #masthead.site-header {
  margin-bottom: 0;    
}

.home .entry-header {
	text-align:center;
}
.home .entry-header h1 {
	font-size: 3.7em;
	margin-bottom: .24em;
}
.home .entry-content {
    font-size: 1.1em;
}

.home-divider {
    margin: 1em 0 1em;
}

#home-cbc {
    margin: 0 auto;
    width: 100%;
}
#home-cbc img {
    float:left;
}
#home-cbc p {
    text-align:left;
    padding-top:5px;
}

#homepage-features {
    text-align:left;
}
.home .home-feature img {
    float: left;
/*    margin: 0 1em 1em 0 */
    margin: 0 0.5em 0 0;
}
.home .home-feature {
    display: block;
    margin: 0 4.75% 1em 0;
    clear: none;
}
.home .feature-title {
    clear: none;
    font-size: 1.387em;
}
.home .home-feature.last {
    margin: 0; 
}
.home .feature-content ul {
    list-style: none;
    margin-left: 0em;
}
.home .feature-content ul li:before {
  content: "-";
  position: absolute;
  margin-left: -0.5em;
}
.home .feature-content ul li {
  margin-left: 0.5em;
}

/* DESKTOP STYLES */

@media only screen and (min-width: 768px) {
  /* Desktop styles go here */
  /* make RHS column wider */

.col-full {
    max-width: 75em;
}
    
.secondary-navigation .menu a, .secondary-navigation .menu .wmc-currency-wrapper span {
    font-size: 0.9em;
}

/* New 2022 Home and footer */
.home #content .col-full {
    padding: 0;
    max-width: 100%;
}
.home .col-half {
  max-width: 50%;
}
.home section.testkit-hero {
    background-position: top;
    padding: 160px 0px;
    min-height: 648px;
}
.home section.testkit-hero p {
  max-width: 100%;
}
.home section.testkit-hero .container {
    padding: 0 4em;
}
footer #text-6 {
    margin-bottom: 0em;
}
#colophon .textwidget p:first-of-type {
    min-height: 10em;
}
#colophon .footer-logo {
    max-width: none;
}
.home-bottom-divider {
    clear: both;
    margin: 0;
}

/* End 2022 Home and footer*/

  /* To make rhs column and search box wider */
  #masthead .secondary-navigation {
    width:44%;
  }
  #masthead .site-search {
    width: 25%;
  }
  body:not(.page-template-template-fullwidth) #primary {
    width: 68%;
    margin-right: 4%;
  }
  /* makes page full width on category pages as there's no rhs column */
  body.tax-product_cat #primary {
     width: 100%;
  }
  .storefront-full-width-content .woocommerce-products-header {
    text-align: left;   
    padding: 0 0 1em;
  }
  
  #secondary {
    width: 25%;
  }
  .woocommerce-active .site-header .main-navigation {
      width : 68%;
      margin-right: 4%;
  }
  .woocommerce-active .site-header .site-header-cart {
      width: 24%;
      margin: 0 1% 0 1%;
  }
  #site-header-cart .count::after {
      content: " in cart";
  }
  #featured .slide-media img {
    height: 100%;
  }
  #page #masthead .background-color {
    background-color:#ffffff;
  }
  .site-header .site-branding img {
    margin-top:-0.6em;
    width: 82%;
  }
  .home .home-feature {
    clear: none;
    width: 30%;
    float: left;
  }
  footer .footer-widgets {
    padding-top: 1em;
  }

/* To make cart shipping area a bit wider */
 .page-template-template-fullwidth-php .cart-collaterals .cart_totals, .page-template-template-fullwidth-php .cart-collaterals .shipping_calculator {
     width:54%;
 }
 .cartShippingMsg {
    float: right;
    width: 54%;
 }

/*  .woocommerce-tabs ul.tabs {
    width: 24.4117647059%;
  }
  .woocommerce-tabs .panel {
    width: 69.7058823529%;
  } */
   /* to make description on product page full width also*/
  .woocommerce-tabs .panel {
	width: 100%;
  }
   .woocommerce-tabs {
	padding-top: 1.6em;
  }

  /* So product filter (woof) is on left side on shop page */
  .woocommerce-shop #secondary {
      float: left;
  }
  .woocommerce-shop #primary {
      float: right;
      margin-right: 0;
  }
}

