/*
Theme Name: Readsters2021
Theme URI: http://maxkukoy.com
Version: 1.0
Author: Max Kukoy
Author URI: http://maxkukoy.com/
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/


/* RESET CSS */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video { 	margin: 0; 	padding: 0; 	border: 0; 	font-size: 100%; 	font: inherit; 	vertical-align: baseline; }
 /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure,  footer, header, hgroup, menu, nav, section { 	display: block; }
 body { 	line-height: 1; }
 ol, ul { 	list-style: none; }
 blockquote, q { 	quotes: none; }
 blockquote:before, blockquote:after, q:before, q:after { 	content: ''; 	content: none; }
 table { 	border-collapse: collapse; 	border-spacing: 0; }

/* Colors */

:root {
  --red: #f15c5e;
  --purple: #6e2670;
  --blue: #0F7CBA;
  --orange: #ec9224;
  --green: #57B33C;
  --teal: #02AEA0;
  --ltgrey: #E2E2E2;
  --white: #ffffff;
  --subnavgrey: #E9E9E9;
  --dkgrey: #5E5B5B;
  --black: #000000;
}

/* Structural CSS */

html {
	font-size: 62.5%;
	}
body {
	font-size: 1.8rem;
  font-family: 'Roboto', sans-serif;
  color: #333;
	}

.wrapper {
  margin: 0;
  padding: 0;
}
.container {
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  position: relative;
}
.wrapper.banner {
  background: var(--ltgrey);
  border-top: 5px solid var(--purple);
  border-bottom: 1px solid var(--purple);
}
.worksection .wrapper.banner {
  border-top-color: var(--red);
  border-bottom-color: var(--red);
}
.product-template-default .wrapper.banner,
.productssection .wrapper.banner {
  border-top-color: var(--blue);
  border-bottom-color: var(--blue);
}
.resourcessection .wrapper.banner {
  border-top-color: var(--orange);
  border-bottom-color: var(--orange);
}
.aboutsection .wrapper.banner {
  border-top-color: var(--green);
  border-bottom-color: var(--green);
}
.main .container,
.banner .container {
  padding: 0px 25px;
}

header.container {
  display: grid;
  grid-template-columns: 273px 1fr;
}
.wrapper.footer {
  background: #868282;
  border-top: 1px solid #333;
  color: #fff;
}
.container.cols4 {
  display: grid;
  grid-template-columns: 1fr;
  padding: 2rem 25px;
}
.container.cols4 .copyright {
  grid-column: 1 / span 1;
  text-align: center;
}

/* Typography CSS */

h1 {
  font-size: 3rem;
  font-family: 'Roboto Slab', sans-serif;
  line-height: 1.2;
  padding: 1rem 0 2rem 0;
  color: var(--purple);
}
header h1 {
  margin-top: 3rem;
}
h2 {
  font-size: 2.5rem;
  font-family: 'Roboto Slab', sans-serif;
  line-height: 1.2;
  padding: 1rem 0 2rem 0;
  clear: both;
  color: #333;
  clear: both;
}
.worksection h2 {
  color: var(--red);
}
.resourcessection h2 {
  color: var(--orange);
}
.product-template-default h2,
.productssection h2 {
  color: var(--blue);
}
.aboutsection h2 {
  color: var(--green);
}

h2::before {
  content: "";
  display: block;
  clear: both;
  width: 100%;
  height: 2px;
  border-top: 1px solid var(--ltgrey);
  padding-bottom: 2rem;
}
h3 {
  font-size: 2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  padding: 1rem 0 2rem 0;
  clear: both;
  color: #333;
}
h4 {
  font-size: 1.8rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
}
p {
  font-size: 1.8rem;
  margin: 0;
  padding: 1rem 0;
  line-height: 1.5;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
article ol {
  list-style: decimal outside;
}
article ul {
  list-style: none outside;
}
article ul.wc-block-grid__products li::before {
  display: none;
}
article li {
  font-size: 1.8rem;
  margin: 0 0 0 2rem;
  padding: .5rem 1rem;
  line-height: 1.5;
  position: relative;
}

article ul li::before {
  content: "\2022";
  font-size: 3rem;
  line-height: 1;
  padding-right: 5px;
  vertical-align: middle;
  left: -10px;
  top: .25rem;
  position: absolute;
}
ol {
  list-style: decimal outside;
}
ul ol {
  padding-top: .25rem;
}
article ol li {
  padding-left: 0;
  margin-left: 2rem;
}
article ul ol li {
  padding-left: 0;
  margin-left: 2.5rem;
}

article ol li::before {
  display: none;

}
article ul li.product::before {
  display: none;
}
.worksection article li::before {
  color: var(--red);
}
.alignright {
  float: right;
  margin: 1rem 0 2rem 2rem;
}
img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
}
/* Link Colors */
a:link,
a:visited {
  color: var(--teal);
  text-decoration: none;
  transition: all .3s linear;
  border-bottom: 1px solid #fff;
}
a:active,
a:hover {
  color: var(--purple);
  border-bottom: 1px solid Var(--purple);
}
.mainnav a:link,
.mainnav a:visited {
  color: #fff;
  border: 0;
}
.footer a:link,
.footer a:visited {
  color: var(--white);
  border-bottom: 1px solid var(--white);
}

.footer a:active,
.footer a:hover {
  color: var(--teal);
}

h1 a:link,
h1 a:visited {
  color: var(--purple);
  border: 0;
}
.banner a {
  border: 0!important;
}
a.added_to_cart {
  display: inline-block;
  margin-left: 10px;
  margin-top: 1rem;
  color: #fff;
  font-size: 1.3rem;
  padding: 5px;

}
.added_to_cart,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
  color: #fff;
  background: var(--purple);
  border: 0;
  transition: all .3s linear;
  border-radius: 5px;
}
.woocommerce a.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover {
  color: #fff;
  background: var(--teal);
  border: 0;
}
.wp-block-handpicked-products a:hover {
  border: 0;
}
.cartbtn {
  position: absolute;
  right: 25px;
  display: block;
  top: 96px;
  padding: 0;
  z-index: 9;
}
.cartbtn .i0 {
  display: none;
}
.cartbtn a {
  color: #fff;
  padding: 12px 15px 12px 35px;
  border: 1px solid red;
  background: var(--dkgrey);
  text-transform: uppercase;
  font-size: 1.3rem;
  position: relative;
  border-radius: 5px;

}
.cart-contents-count {
  display: inline;
}
.cartbtn a::before {
  content: url("images/cart-20-wh.png");
  position: absolute;
  left: 8px;
  top: 8px;
}
.cartbtn a:hover {
  background: var(--teal);
}
/* Logo Styles */

.logo {
  position: relative;
  padding: 10px 0 0 0;
}
#left_eye {
	position: absolute;
	left: 62px;
	top: 40px;
	width: 27px;
	height: 27px;
}

#right_eye {
	position: absolute;
	left: 103px;
	top: 40px;
	width: 27px;
	height: 27px;
}

.woocommerce a.button,
.single_add_to_cart_button,
.single_add_to_cart_button,
.btn a:link,
.btn a:visited {
  background: var(--purple);
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 400;
}
.woocommerce a.button:hover,
.single_add_to_cart_button,
.single_add_to_cart_button,
.btn a:active,
.btn a:hover {
  filter: brightness(125%);
}
.related.products ul img {
  max-height: 250px;
  width: 100%;
  object-fit: contain;
}

/* ######################
  Mobile Nav Toggle Icon
########################*/
.burgerwrap {
  display: block;
}
a.burger {
  position: absolute;
  width: 30px;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  height: 28px;
  display: block;
  z-index: 1000;
  cursor: pointer;
  padding: 5px;
}
.burger span,
.burger span::after,
.burger span::before {
    cursor: pointer;
    border-radius: 1px;
    height: 3px;
    width: 40px;
    background: var(--teal);
    position: absolute;
    display: block;
    content: '';
    transition: all .5s ease-in-out
}
.burger span {
  top: 18px;
}
.burger span::before {
    top: -10px
}
.burger span::after {
    top: 10px
}

.burger.menuopen span::after,
.burger.menuopen span::before {
  top: 0;
}

.burger.menuopen span::before {
  opacity: 0;
}
.burger.menuopen span {
    transform: rotate(45deg);
    top: 18px;
}
.burger.menuopen span::after {
    transform: rotate(-90deg);
    top: 0px;
}

.mainnav {
  position: absolute;
  left: -100%;
  width: 100%;
  background:var(--dkgrey);
  top: 77px;
  z-index: 10;
  transition: all .3s;
}
.mainnav.visible {
  left: 0;
}
.mainnav ul li {
  border-left: 10px solid var(--purple);
}
.mainnav ul li.navhome { border-color: var(--purple); }
.mainnav ul li.navwork { border-color: var(--red); }
.mainnav ul li.navproducts { border-color: var(--blue); }
.mainnav ul li.navresources { border-color: var(--orange); }
.mainnav ul li.navabout { border-color: var(--green); }

.mainnav ul.sub-menu {
  padding-top: .25rem;
  display: none;
}
.mainnav li span.showsubmenu + ul.sub-menu {
  display: block;
}
.mainnav ul li {
  border-bottom: 1px solid var(--ltgrey);
}

.mainnav ul li li {
  border-left: 0px solid var(--purple);
  border-bottom: 0;
}

.mainnav ul {
  margin: 0;
  padding: 0;
}
.mainnav ul li {
  margin: 0;
  padding: .5rem 25px .5rem 25px;
  position: relative;
}
.mainnav ul li li {
  padding: .5rem 0 .5rem 10px;
}
.mainnav ul li.menu-item-has-children span {
  display: block;
  content: "\142f";
  position: absolute;
  right: 25px;
  color: #fff;
  width: 25px;
  height: 25px;
  top: 5px;
  z-index: 20;
  cursor: pointer;
}
.mainnav ul li.menu-item-has-children li span {
  display: none;
}

.mainnav li.current-menu-item ul.sub-menu,
.mainnav li.current_page_ancestor ul.sub-menu  {
  display: block;
}
.mainnav ul li.menu-item-has-children span::after {
  content: "\142f";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mainnav ul li.current_page_parent.menu-item-has-children span::after,
.mainnav ul li.current-menu-item.menu-item-has-children span::after {
  display: none;
}

.footer li {
  padding: .5rem 0;
}
.slogan_block p {
  color: var(--purple);
  font-size: 2.2rem;
  font-weight: bold;
  padding-top: 0;
  text-shadow: 1px 1px #7B777B;
}

.wc-block-grid__products .wc-block-grid__product-image img {
  width: auto;
  max-height: 300px;
}
.woocommerce-product-gallery__image {
  max-width: 600px;
  max-height: 400px;
}
.woocommerce div.product div.images {
  position: relative;
}
.woocommerce div.product div.images img {
  object-fit: scale-down;
  width: 100%;
  max-height: 200px;
}
.productimgbtn {
  display: block;
  float: none;
}
.woocommerce .single-product .product {
}
.product .related.products {
  grid-column: 1 / span 2;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  font-size: 1.6rem;
  padding: .5rem 1rem;

}

@media only screen and (min-width: 900px)  {

  .banner .container {
    padding: 0px 25px;
  }
  .burgerwrap {
    display: none;
  }

  /* Main Navigation */

  .mainnav {
    position: relative;
    width: auto;
    background:var(--ltgrey);
    top: auto;
    left: auto;
  }
  .mainnav ul.sub-menu {
    display: none;
  }
  .mainnav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    text-align: right;
    margin: 0;
    padding: 0;
  }
  .mainnav ul li {
    display: block;
    height: 100%;
    vertical-align: middle;
    font-family: 'Roboto Slab', sans-serif;
    position: relative;
    padding: 0;
    margin: 0;
  }
  .mainnav a {
    display: block;
    vertical-align: bottom;
    position: relative;
    padding: 30px 25px 25px 15px;
    box-sizing: border-box;
    transition: all .3s linear;
    height: 100%;
  }
  .mainnav ul li a:hover {
    filter: brightness(125%);
  }
  li.navhome a { background: var(--purple); }
  li.navwork a { background: var(--red); }
  li.navproducts a { background: var(--blue); }
  li.navresources a { background: var(--orange); }
  li.navabout a { background: var(--green); }

  .mainnav ul.sub-menu {
    display: block;
    position: absolute;
    left: -4000px;
    padding: 0;
    z-index: 100;
  }
  .mainnav ul.sub-menu li:hover,
  .mainvnav li:hover {
  }
  .mainnav li:hover .sub-menu {
    display: block;
    left: -10px;
  }

  .mainnav ul ul.sub-menu li {
    display: block;
    text-align: left;
    min-width: 200px;
    padding: 0;
    margin: 0;
    height: auto;
  }
  .mainnav ul.sub-menu li a {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .mainnav li:hover ul.sub-menu li a {
  }
  .mainnav li:last-child:hover .sub-menu {
    right: 0;
    left: auto;
  }
  .mainnav ul li.menu-item-has-children span {
    display: none;
  }
  .container.cols4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .container.cols4 .copyright {
    grid-column: 1 / span 4;
    text-align: center;
  }
  .copyright p {
    text-transform: uppercase;
    font-size: 1.4rem;
  }

}

@media only screen and (min-width: 320px) and (max-width: 767px) {

}
