/*
Theme Name: My Woo theme
Theme URI: http://sajatoldalad.hu/sajat-theme
Author: Ivanics Réka
Author URI: https://ivanicsreka.eu
Description: Basic Theme by Reka Ivanics
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: basic-theme
*/

/* general beállítások */

:root {
  --white: #fff;
  --light-green: #f5f5f5;
  --logo-green: #049881;
  --light-grey: #eee;
  --medium-grey: #ddd;
  --black: #000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans';
  font-size: 16px;
  background: url(img/body.jpg) top center;
  padding-top: 120px;
}

/* header */

#header {
  text-align: center;
  background: var(--white);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 3;
}

#logo {
  width: 33.3333%;
}

#logo a {
  display: inline-block;
  margin: 0 auto;
  width: 250px;
}

#logo img {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

#header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#special-offer {
  width: 33.3333%;
  text-align: left;
}

#special-offer p {
  margin: 0;
}

#top-menu {
  width: 33.3333%;
}

#top-menu ul {
  text-align: right;
}

#top-menu ul li {
  display: inline;
  margin-left: 15px;
}

#top-menu ul li a::before {
  content: "";
  height: 24px;
  width: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

#top-menu ul li.top-cart a::before {
  background: url(img/cart.svg);
  background-size: 100% auto;
}

#top-menu ul li.top-user a::before {
  background: url(img/user.svg);
  background-size: 100% auto;
}

#top-menu ul li.top-shop a::before {
  background: url(img/shop.svg);
  background-size: 100% auto;
}

#main-menu {
  background: var(--light-green);
}

#main-menu ul li {
  display: inline;
}

#main-menu ul li a {
  display: inline-block;
  text-decoration: none;
  height: 50px;
  line-height: 50px;
  padding: 0 15px;
  color: var(--black);
  text-transform: uppercase;
  font-weight: 700;
}

#main-menu ul li a:hover {
  color: var(--logo-green);
}

@media only screen and (max-width: 960px) {
  #header-top {
    display: block;
  }

  #special-offer,
  #top-menu,
  #logo {
    width: 100%;
    text-align: center;
  }

  #top-menu ul {
    text-align: center;
    margin: 15px 0;
  }

  #top-menu ul li {
    margin: 0 10px;
  }

  #top-menu ul li a span {
    display: none;
  }

  .contents-count {
    display: block !important;
  }

  #logo img {
    margin: 40px 0 20px 0;
  }

  #special-offer {
    padding: 10px 0;
    border-bottom: solid 1px var(--medium-grey);
  }

  #main-menu {
    min-height: 50px;
    position: relative;
  }

  #main-menu ul {
    display: none;
  }

  #main-menu li {
    display: block !important;
    width: 100%;
    border-bottom: solid 1px var(--medium-grey);
  }

  #header {
    position: relative;
  }

  body {
    padding-top: 0;
  }

  #hamburger {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 10px;
  }

  #hamburger::before,
  #hamburger::after {
    content: "";
    position: absolute;
    border-bottom: solid 3px var(--logo-green);
    border-top: solid 3px var(--logo-green);
    height: 12px;
    width: 100%;
    left: 0;
  }

  #hamburger::before {
    bottom: 0;
  }

  #hamburger::after {
    top: 0;
  }
}



/* typo */

a {
  color: var(--logo-green);
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: 'Josefin Sans';
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: normal;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: normal;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: normal;
}

p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.button {
  background: var(--logo-green) !important;
  color: var(--white) !important;
  text-transform: uppercase;
  font-size: 16px;
  padding: 5px 10px;
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
  border-radius: 3px;
}

/* oldal beállitások */

main {
  padding: 0px 0px 40px 0px;
}

footer {
  clear: both;
  background: rgba(0, 0, 0, 0.05);
  padding: 30px 0;
  text-align: left;
  overflow: hidden;
}

footer li {
  margin-bottom: 5px;
}

footer li a:hover {
  text-decoration: underline;
}

#copyright {
  padding: 15px;
  text-align: center;
}

article {
  margin-bottom: 40px;
}

/* article:nth-last-of-type(odd) {
  clear: left;
} */
article:nth-of-type(odd) {
  clear: both;
}

.widget {
  margin-bottom: 40px;
}

a.tag-cloud-link {
  font-size: 14px !important;
  display: inline-block;
  padding: 5px 010px;
  border: solid 1px #aaa;
}

.align-center {
  text-align: center;
}

.home-page section {
  margin-bottom: 40px;
}

.home-page section h2.align-center {
  text-transform: uppercase;
}

.home-page section p {
  margin-bottom: 20px;
}

.info-menu {
  position: relative;
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

.info-menu ul {
  overflow: hidden;
}

.info-menu ul li {
  display: block;
  float: left;
  width: 33.33%;
}

.info-menu ul li a::before {
  content: "";
  height: 34px;
  width: 34px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.sub-shipping a::before {
  background: url(img/shipping.svg);
  background-size: 100% auto;
}

.sub-gari a::before {
  background: url(img/guarantee.svg);
  background-size: 100% auto;
}

.sub-shops a::before {
  background: url(img/marker.svg);
  background-size: 100% auto;
}