/*
Theme Name: ALOEVERA.EE 2018
Theme URI: https://aloevera.ee
Description: Custom theme for ALOEVERA.EE 2018 website.
Author: Dreamo digiagentuur
Author URI: https://dreamo.ee
Version: 1.0
Text Domain: aloe
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }
::selection {
  background: #fec70b;
	color: #fff;
}
::-moz-selection {
  background: #fec70b;
	color: #fff;
}
body{
	font-size: 100%;
	font-family: 'Roboto', sans-serif;
	margin: 0;
  background: #fff;
}
a, a:visited{
  color: #000000;
  text-decoration: none;
}
.content {
  float: left;
  width: 100%;
}
.wrap{
	width: 96%;
	max-width: 1170px;
	margin: 0 auto;
}
header{
	float: left;
	width: 100%;
	border-top: 4px solid #fec70b;
}
.logo {
    width: 250px;
    float: left;
    height: 80px;
    margin: 10px 0;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}
.logo a{
  width: 100%;
  height: 100%;
  display: block;
}
.menu-wrap{
  width: calc(100% - 250px);
  float: left;
}
.menu-wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
	text-align: right;
}
.menu-wrap ul li {
  display: inline-block;
  padding: 0 10px;
}
.menu-wrap ul li:last-of-type{
  padding-right: 0;
}
.menu-wrap ul li a {
  color: #000000;
	line-height: 100px;
	transition: 0.3s ease;
	text-decoration: none;
  font-weight: bold;
}
.menu-wrap ul li a:hover,
.current-menu-item a,
.current-page-ancestor a{
	color: #fec70b !important;
}
.menu-wrap ul li.list{
  padding-left: 0;
}
.menu-wrap ul li.list a,
.menu-wrap ul li.list a:visited,
.list.current-menu-item a{
  background: #fec70b;
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 20px;
}
.menu-wrap ul li.list a:hover{
  color: #000 !important;
}
footer{
	float: left;
	width: 100%;
	padding: 30px 0 40px;
  margin: 50px 0 0;
	background-image: linear-gradient(to right, #fedf0b 0%, #fec70b 50%, #fedf0b 100%);
	color: #f4f5f7;
	line-height: 1.5;
}
footer h3{
	margin-bottom: 0;
}
footer a, footer a:visited{
  color: #f4f5f7;
}
footer a:hover{
  text-decoration: underline;
}
.fb-page.fb_iframe_widget {
  margin-top: 1.5em;
}
.cat-menu{
	width: 100%;
	float: left;
	padding: 14px 0;
	border-top: 1px solid #E7E7E7;
	border-bottom: 1px solid #E7E7E7;
}
.cat-menu-wrap ul {
  margin: 0;
	padding: 0;
  list-style: none;
	text-align: right;
}
.cat-menu-wrap ul li {
  display: inline-block;
  padding: 0 0 0 20px;
}
.cat-menu-wrap ul li a {
  color: #181716;
	text-decoration: none;
	font-weight: bold;
	transition: 0.3s ease;
}
.cat-menu-wrap ul li a:hover{
	color: #fec70b;
}
.wpmenucart-contents i {
  color: #fec70b;
	margin-left: 20px;
}
.col4-1, .col4-2, .col4-3{
  float: left;
  padding: 0 20px;
  min-height: 1px;
}
.col4-1{
  width: 25%;
}
.col4-2{
  width: 50%;
  padding-right: 100px;
}
.col4-3{
  width: 25%;
  text-align: right;
}
/* OWL */

.homepage-slider{
	float: left;
	width: 100%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
position:relative;
}
.homepage-slider h1 {
    position: absolute;
    bottom: 5%;
    left: 2.5%;
    color: #fff;
}
.slides{
	margin: 0;
	padding: 0;
}
.slide {
  float: left;
  height: 500px;
  width: 100%;
  list-style: none;
  background-size: cover;
	background-position: center;
}
.owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: right !important;
  padding-right: 30px;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #fec70b !important;
}
.owl-theme .owl-dots .owl-dot span{
	background: #fff !important;
}
.owl-theme .owl-dots .owl-dot span {
  width: 8px !important;
  height: 8px !important;
}

/* OWL */

.homepage-intro{
  max-width: 1000px;
  width: 90%;
  margin: 60px auto 0 auto;
  text-align: center;
}
.avalehe-nupp{
  text-align: center;
  margin-top: 0;
  line-height: 100px;
}
.button-shop{
  background: #fec70b;
  background-image: linear-gradient(to right, #fedf0b 0%, #fec70b 50%, #fedf0b 100%);
  color: #fff !important;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 50px;
  transition: 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.button-shop:hover{
  background: #bab9b9;
}
#sidebar{
  float: left;
  width: 300px;
  padding-right: 20px;
}
#sidebar ul{
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 0;
}
#sidebar ul li {
  padding: 7px 0;
}
#sidebar ul li a{
  font-weight: bold;
}
.current-cat a:first-of-type {
  color: #000;
}
.current-cat a { color: #000; }
.current-cat .children a { color: #fec70b; }

.product-categories .cat-parent .children {
display: none;
margin-left: 20px !important;
}

.product-categories .cat-parent.current-cat .children ,
.product-categories .cat-parent.current-cat-parent .children {
display: inherit;
}


.wc{
  float: left;
  width: calc(100% - 300px);
}
select {
  padding: 4px 10px;
  border: 1px solid #666;
  border-radius: 3px;
}
a:focus, button:focus, input:focus, textarea:focus{
  outline: none;
}
/* WOOCOMMERCE */
.woocommerce div.product .product_title{
  font-size: 1.5em;
}
h2.woocommerce-loop-product__title {
    text-align: center;
}
.woocommerce ul.products li.product .price {
  color: #000;
  display: block;
  font-weight: bold;
  margin-bottom: 0;
  font-size: 1em;
  text-align: center;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button,.woocommerce input.button.alt, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover, .wpcf7-submit, .woocommerce .woocommerce-message .button, .woocommerce button.button, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce-cart .woocommerce a.button, .wpcf7-submit, .widget_product_search button{
  background: #fec70b;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 0.8em;
  border-radius: 50px;
  transition: 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  border: none;
  cursor: pointer;
}
.woocommerce ul.products li.product .button {
  margin-top: 1em;
  transform: translateX(-50%);
  left: 50%;
}
.widget_product_search input{
  width: 100%;
  margin: 0 0 20px;
}
.widget_product_search button{
  float: right;
}
.products{
  float: left;
  width: 100%;
}
.related{
  display: none !important;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wpcf7-submit:hover{
  background: #bab9b9;
}
.reset_variations,
.woocommerce span.onsale{
  display: none !important;
}
.single-product .wc{
  margin-top: 50px;
}
.single-products button{
  margin-top: 25px;
}
.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as{
  width: 100%;
  float: left;
}
form.cart,
.product_metad{
  float: left;
  width: 100%;
}
.woocommerce a.added_to_cart {
  padding-top: .5em;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
  width: 100%;
  font-size: 0.8em;
}
.woocommerce div.product p.price, .woocommerce div.product span.price{
  color: #000;
}
.woocommerce-variation-price {
    margin-bottom: 20px;
}
.woocommerce table.shop_attributes th{
  text-align: left;
  padding: 10px 0;
}
.woocommerce-message,
.woocommerce-message::before {
  border-top-color: #fec70b;
  color: #fec70b;
}
.woocommerce div.product form.cart {
    margin: 2em 0;
}
figure.woocommerce-product-gallery__wrapper {
    margin: 0;
}
/* WOOCOMMERCE */
/* WooCommerce 3.0 Gallery */

.woocommerce-product-gallery {
position: relative;
margin-bottom: 3em
}

.woocommerce-product-gallery figure {
margin: 0
}

.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) {
width: 25%;
display: inline-block
}

.woocommerce-product-gallery .flex-control-thumbs li {
list-style: none;
float: left;
cursor: pointer
}

.woocommerce-product-gallery .flex-control-thumbs img {
opacity: .5
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover {
opacity: 1
}

.woocommerce-product-gallery img {
display: block
}

.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
width: 33.3333%
}

.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
width: 25%
}

.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
width: 20%
}

.woocommerce-product-gallery__trigger {
position: absolute;
top: 1em;
right: 1em;
z-index: 99;
}

a.woocommerce-product-gallery__trigger {
text-decoration: none;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
position: absolute;
top: .875em;
right: .875em;
display: block;
height: 2em;
width: 2em;
border-radius: 3px;
z-index: 99;
text-align: center;
text-indent: -999px;
overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
background-color: #169fda;
color: #ffffff;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
background-color: #1781ae;
border-color: #1781ae;
color: #ffffff;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before {
  font: normal normal normal 1em/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  content: "\f00e";
  line-height: 2;
  text-indent: 0;
}
.dreamo{float: left;width: 100%;text-align: right;}
.dreamo a{font-size: 8px !important;font-family: arial !important;font-weight: bold !important;letter-spacing: 1px !important;color: #f4f5f7 !important;text-decoration: none !important;}
.dreamo a:hover{text-decoration:none !important; color:#f4f5f7 !important;}
.home .woocommerce {
    display: none;
}
/* start MOBILE NAV */
.mobile-menu-open {
  left: 100%;
  overflow: hidden;
}

.m-menu {
  display: block;
  position: fixed;
  background: rgba(0, 68, 136, 0.95);
  width: 100%;
  left: -100%;
  bottom: 0%;
  top: 0px;
  z-index: 99;
  zoom: 1;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

.mobile-menu-open .m-menu {
  z-index: 99;
  zoom: 1;
  left: 0%;
}

.m-menu-wrapper {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  height: 100%;
}

.m-menu ul {
  float: none;
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.m-menu ul ul {
  padding-left: 15px;
}

.m-menu-wrap ul li {
  float: none;
  margin: 0px!important;
  background: none!important;
}

.m-menu-wrap ul a,
.m-menu-wrap ul .first a {
  background-image: none!important;
  color: white!important;
  text-align: center;
  padding: 10px 15px;
  margin-left: 0px;
  margin-right: 0px;
  display: block;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -ms-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
}

.m-menu-wrapper::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(128, 128, 128, 0.7);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(32, 32, 32, 0.05);
}
/* end MOBILE NAV */
.icon {
  background-color: transparent;
  border: 0;
  height: 33px;
  width: 30px;
  cursor: pointer;
  padding: 0;
  display: block;
  float: right;
  z-index: 4;
  position: fixed;
  top: 12px;
  right: 10px;
}
.icon span {
  display: block;
  height: 2px;
  width: 25px;
  background-color: #000;
  border-radius: 2px;
  position: absolute;
  -webkit-transition: -webkit-transform 0.3s;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.mobile-menu-open .icon span{
  background-color: #fff;
}
.icon span:first-child {
top: 9px;
}
.icon span:nth-child(2) {
top: 16px;
}
.icon span:last-child {
top: 23px;
}
.icon--active span:first-child {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 15px;
}
.icon--active span:last-child {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
position: absolute;
top: 15px;
}
.icon--active span:nth-child(2) {
opacity: 0;
}
.icon--button {
border-radius: 10px;
}
.icon-transition {
-webkit-transition: -webkit-transform 0.3s;
-webkit-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
.mobile-nav{
  display: none;
}
.woocommerce-cart .content,
.woocommerce-checkout .content {
  margin-top: 50px;
}
.woocommerce form .form-row.woocommerce-validated .select2-container, .woocommerce form .form-row.woocommerce-validated input.input-text, .woocommerce form .form-row.woocommerce-validated select {
  border-color: none !important;
}
input, textarea {
  padding: 7.5px;
  border-radius: 0px;
  border: 1px solid #d3ced2;
  max-width: 100%;
}
.woocommerce ul.order_details {
  margin: 0;
  list-style: none;
  padding: 0;
}
.contact-left, .contact-right{
  width: 50%;
  float: left;
}
.contact-left{
  padding-right: 40px;
}
ul.tootajad {
  padding: 0;
  list-style: none;
}
li.tootaja {
  display: block;
  width: 50%;
  float: left;
  text-align: center;
  margin: 0 0 20px;
}
.tootaja h3 {
  margin-bottom: 0;
}
.tootaja p {
  margin: 5px 0;
  font-style: italic;
}
img.profile {
  max-width: 90%;
  display: block;
  margin: 0 auto;
}
header .wrap{
  position: relative;
}
.woocommerce nav.woocommerce-pagination {
  text-align: center;
  float: left;
  width: 100%;
}
.woocommerce-widget-layered-nav h2 {
    font-size: 1.3em;
    margin: 0 0 5px;
}
.woocommerce div.product form.cart .button{
  margin-left: 10px;
}
.grecaptcha-badge{
  display: none !important;
}
/* --------------------------
	COOKIES
-------------------------- */

.cookies{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #B79A33;
  background-color: rgba(0,0,0, 0.88);
  color:#fff;
  z-index: 9;
  opacity: 1;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.cookies.hidden{
  transform: translateY(100%);
	-moz-transform: translateY(100%);
	-webkit-transform: translateY(100%);
  opacity: 0;
}
.cookies-content{
  position: relative;
  padding: 0 155px 0 10px;
	width: 94%;
  max-width: 1280px;
  margin: 0 auto;
}
.cookies-content a{
  color: #fff;
}
.cookies-content .btn{
  position: absolute;
  right: 80px;
  top:50%;
  color: #fff;
  border-color: #fff;
  transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
span.wpcf7-list-item {
  margin: 0;
}
.wpcf7-list-item input{
  margin-left: 0;
}
.wpcf7-acceptance a {
  text-decoration: underline;
}
.woocommerce-customer-details {
  float: left;
  width: 100%;
}
.woocommerce .woocommerce-customer-details address{
  border: 0;
  padding: 0;
}
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before{
  display: none;
}
.woocommerce-customer-details--email{
  padding: 0 !important;
  margin: 0 !important;
}
/* Media Queries */

@media(max-width: 1400px){
  body{
    font-size: 90%;
  }
  .col4-1{
    width: 25%;
  }
  .col4-2{
    width: 35%;
    padding-right: 20px;
  }
  .col4-3{
    width: 40%;
  }
  .slide{
    height: 50vh;
  }
}
@media(max-width: 1000px){
  .col4-1, .col4-2{
    width: 50%;
    text-align: center;
  }
  .col4-3{
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  .slide{
    height: 200px;
  }
  .homepage-intro{
    text-align: justify;
  }
}
@media(max-width: 800px){
  .cookies-content {
    padding: 0 100px 0 0;
  }
  .cookies-content .btn{
    right: 0;
  }
  .woocommerce-cart .content,
  .woocommerce-checkout .content {
    margin-top: 74px;
  }
  #sidebar ul li a {
    font-weight: bold;
    width: 100%;
    background: #fec70b;
    display: block;
    padding: 10px;
    color: #fff;
  }
  #sidebar ul{
    margin-left: 0 !important;
  }
  .children{
    margin-bottom: 20px;
  }
  .children li a {
    padding: 5px 0 5px 30px !important;
  }
  .contact-left, .contact-right {
    width: 100%;
    padding: 0
}
  .col4-1, .col4-2{
    width: 100%;
  }
  footer{
    margin: 20px 0 0;
  }
  .homepage-slider{
    display: none;
  }
  .homepage-intro {
    margin: 20px auto 0 auto;
    float: left;
    width: 100%;
  }
  .home .woocommerce {
    display: block;
    margin-top: 20px;
  }
  .home .count{
    display: none;
  }
  .home .woocommerce-loop-category__title{
    text-align: center;
  }
  .cat-menu{
    display: none;
  }
  .menu-wrap{
    display: none;
  }
  .logo {
    width: 50%;
    height: 40px;
    margin: 5px 0;
  }
  .wpmenucart{
    display: none;
  }
  .m-menu-wrap {
    margin-top: 50px;
  }
  header {
    background: #fff;
    position: fixed;
    z-index: 3;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }
  .content{
    margin-top: 54px;
  }
  .mobile-nav{
    display: block;
  }
  .home .woocommerce ul.products li.product a img{
    margin: 0;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*=columns-] ul.products li.product, .woocommerce[class*=columns-] ul.products li.product{
    margin: 0 0 1em;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 25%;
  }
  #sidebar {
    float: left;
    width: 100%;
    padding-right: 0;
  }
  .wc {
    float: left;
    width: 100%;
  }
  #sidebar ul li {
    padding: 0;
  }
  .single-product #sidebar{
    display: none;
  }
  .single-product .wc {
    margin-top: 20px;
  }
  .woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 30px;
    float: left;
    width: 100%;
  }
}
@media(max-width: 500px){
  li.tootaja {
    width: 100%;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 100% !important;
  }
}
