/*!
Theme Name: Wine Store
Author: Igor
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: winestore
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Wine Store is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*==============================
    FONTS
==============================*/

@font-face {
  font-family: 'Carmela';
  src: url("fonts/carmela.woff2") format("woff2"), url("fonts/carmela.woff") format("woff"), url("fonts/carmela.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/*==============================
    ICONS FONT
==============================*/

@font-face {
  font-family: 'icons';
  src: url("fonts/icons.ttf?34kawg") format("truetype"), url("fonts/icons.woff?34kawg") format("woff"), url("fonts/icons.svg?34kawg#icons") format("svg");
  font-weight: normal;
  font-style: normal;
}

.icon {
  font-family: 'icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-instagram:before {
  content: "\e905";
}
.icon-facebook:before {
  content: "\e900";
}
.icon-linkedin:before {
  content: "\e901";
}
.icon-twitter:before {
  content: "\e902";
}
.icon-right:before {
  content: "\e903";
}
.icon-left:before {
  content: "\e904";
}

/*==============================
    GENERAL
==============================*/

body {
  font-family: 'Carmela', sans-serif;
  font-weight: 300;
  text-align: right;
  direction: rtl;
}

h1,
h2,
h3 {
  font-weight: bold;
}

a,
a:hover {
  color: inherit;
}

strong,
b {
  font-weight: bold !important;
}

.categories,
.info,
.footer {
  color: #fff;
}

.categories-item,
.articles-item,
.category-item {
  margin: 0 auto;
}

.no-visible {
  opacity: 0;
}

.categories-item p,
.articles-item p {
  font-size: 16px;
  font-weight: bold;
}

/*==============================
    HEADER
==============================*/

.header {
  background-color: #231f20;
  position: relative;
  z-index: 10;
}

.header:after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #3b3b3b;
  left: 0;
  bottom: 14px;
}

.navbar {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.header,
.navbar {
  height: 115px;
}

.navbar-brand {
  width: 160px;
  padding: 0;
  margin-left: 27px;
  margin-bottom: -75px;
  position: relative;
  z-index: 2;
}

.navbar-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.navbar-collapse {
  padding-bottom: 8px;
}

.navbar-nav {
  padding: 0;
  margin: 0 auto 0 15%;
}

.menu-item {
  margin-left: 47px;
}

.menu-item:last-child {
  margin-left: 0;
}

.menu-item.current-menu-item > a,
.menu-item a:hover,
.menu-item a:focus {
  color: #cea252;
  border-color: #cea252;
}

.menu-item a {
  font-size: 20px;
  color: #fff;
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.menu-item a:hover {
  text-decoration: none;
}

.navbar-toggler {
  outline: none !important;
  padding: 12px;
}

.navbar-toggler:not(.collapsed) {
  position: fixed;
  z-index: 10;
}

.toggler-strip {
  position: relative;
  margin-top: 9px;
  margin-bottom: 9px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.toggler-strip,
.toggler-strip::before,
.toggler-strip::after {
  display: block;
  width: 35px;
  height: 3px;
  background-color: #fff;
  outline: 1px solid transparent;
  border-radius: 2px;
  transition-property: background-color, transform, -webkit-transform;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.toggler-strip::before,
.toggler-strip::after {
  position: absolute;
  content: "";
}

.toggler-strip::before {
  top: -9px;
}

.toggler-strip::after {
  top: 9px;
}

.navbar-toggler:not(.collapsed) .toggler-strip {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .toggler-strip::before {
  -webkit-transform: translateY(9px) rotate(45deg);
  -ms-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .toggler-strip::after {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}

/*==============================
    MAIN PAGE
==============================*/

.categories {
  padding-top: 145px;
  padding: 145px 0 382px;
  background: url("img/bg.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.categories .row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

.categories-item {
  padding: 0 15px;
  max-width: 392px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 392px;
  flex: 1 1 392px;
  min-width: 0;
}

.categories-item h3 {
  font-size: 22px;
  margin-top: 0.85em;
}

.categories-item p:first-child {
  width: 100%;
  height: 0;
  padding-top: 100%;
  margin: 0 auto;
  position: relative;
}

.categories-item p:first-child a {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: 18px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  overflow: hidden;
}

.categories-item p:first-child a:before {
  content: '';
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.categories-item p:first-child img {
  width: 61.35%;
  height: auto;
  margin-bottom: -1px;
  position: relative;
}

.info {
  padding: 37px 0 33px;
  margin-top: -278px;
  background-color: rgba(35, 31, 32, 0.9);
}

.info-item h2 {
  font-size: 22px;
  margin-bottom: .2em;
}

.info-item p {
  font-size: 15px;
  line-height: 2;
}

.info-item > p {
  max-width: 431px;
  margin-bottom: 2em;
}

.info-item > p a {
  color: #00ac98;
  text-decoration: underline;
  display: inline-block;
}

div.wpcf7 {
  padding-top: 4px;
}

div.wpcf7 p {
  margin-bottom: 1.4em;
}

.wpcf7-form-control {
  width: 100%;
  border: 1px solid #cea252;
  line-height: normal !important;
  padding: 5px 10px;
}

.wpcf7-text {
  font-size: 16px;
  color: #996600;
  background-color: transparent !important;
}

.wpcf7-text::-webkit-input-placeholder {
  color: #666666;
}

.wpcf7-text:-ms-input-placeholder {
  color: #666666;
}

.wpcf7-text::-ms-input-placeholder {
  color: #666666;
}

.wpcf7-text::placeholder {
  color: #fef;
}

.wpcf7-form-control {
  outline: none;
}

.wpcf7-submit {
  background-color: #cea252;
  font-size: 15px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  padding: 6px 10px;
}

div.wpcf7-response-output {
  margin: 0;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-mail-sent-ok {
  border: none;
}

div.wpcf7 .ajax-loader {
  display: none;
}

.articles {
  padding: 75px 0 26px;
}

.articles .row {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.articles-item {
  max-width: 392px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 392px;
  flex: 1 1 392px;
  min-width: 0;
  padding: 0 36px;
  color: #cea252;
}

.articles-item h3 {
  font-size: 19px;
  margin-top: 1.7em;
}

.articles-item p:first-child {
  width: 100%;
  height: 0;
  padding-top: 100%;
  margin: 0 auto;
  position: relative;
}

.articles-item p:first-child a {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: 16px solid rgba(206, 162, 82, 0.2);
  border-radius: 50%;
  left: 0;
  top: 0;
  overflow: hidden;
}

.articles-item p:first-child a:before {
  content: '';
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.articles-item p:first-child img {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}

/*==============================
    CATEGORIES PAGE 
==============================*/

.main-categories {
  background-color: #231f20;
  color: #fff;
  padding-top: 65px;
}

.category {
  padding: 40px 0 25px;
}

.category h2 {
  font-size: 35px;
  margin-bottom: 1.04em;
  color: #cea252;
}

.category:last-child {
  padding-bottom: 105px;
}

.category-slider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.category-item {
  width: 100%;
  max-width: 321px;
}

.category-item h3 {
  font-size: 25px;
  margin: 1.2em 0 .6em;
}

.category-item p {
  font-size: 14px;
  line-height: 1.4;
}

.category-img {
  width: 100%;
  height: 0;
  padding-top: 100%;
  margin: 0 auto;
  position: relative;
}

.category-img span {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: 16px solid rgba(206, 162, 82, 0.2);
  border-radius: 50%;
  left: 0;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  overflow: hidden;
}

.category-img span:before {
  content: '';
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  top: 0;
  left: 0;
}

.category-img img {
  display: block;
  width: 71.285%;
  height: auto;
  margin-bottom: -1px;
  position: relative;
}

.slick-slide {
  padding: 0 15px;
}

.slick-prev,
.slick-next {
  display: block;
  position: absolute;
  padding: 0;
  cursor: pointer;
  min-width: 50px;
  top: 27%;
}

.slick-prev {
  left: 0;
}

.slick-next {
  right: 0;
}

.icon-left,
.icon-right {
  color: #fff;
  font-size: 38px;
}

.category-slider {
  padding: 0 50px;
}

.slick-list {
  width: 100%;
}

/*==============================
	SINGLE PAGE
==============================*/

.main-page .container {
  max-width: 1070px;
}

article.page {
  padding: 80px 0 40px;
}

.single-img {
  padding-bottom: 40px;
}

.single-img img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  margin: 0 auto;
}

/*==============================
    FOOTER
==============================*/

.footer {
  text-align: center;
  padding: 90px 0 70px;
  background-color: #cea252;
}

.footer-social {
  margin-bottom: 53px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-social .icon {
  font-size: 55px;
  color: #323f57;
  position: relative;
}

.footer-social a {
  margin-left: 16px;
  display: block;
  position: relative;
}

.footer-social a:last-child {
  margin-left: 0;
}

.footer-social a:before {
  position: absolute;
  content: '';
  background-color: #fff;
  display: block;
  width: 52px;
  height: 52px;
  top: 1px;
  left: 1px;
  border-radius: 50%;
  -webkit-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
}

.footer-social a:hover {
  text-decoration: none;
}

.footer-social a:hover:before {
  background-color: transparent;
}

.footer-txt h4 {
  font-size: 25px;
  font-weight: bold;
}

.footer-txt p {
  font-size: 15px;
}

@media only screen and (min-width: 576px) {
  .header,
  .navbar {
    height: 142px;
  }

  .toggler-strip {
    margin-top: 11px;
    margin-bottom: 11px;
  }

  .toggler-strip,
  .toggler-strip::before,
  .toggler-strip::after {
    width: 45px;
    height: 4px;
  }

  .toggler-strip::before {
    top: -11px;
  }

  .toggler-strip::after {
    top: 11px;
  }

  .navbar-toggler:not(.collapsed) .toggler-strip::before {
    -webkit-transform: translateY(11px) rotate(45deg);
    -ms-transform: translateY(11px) rotate(45deg);
    transform: translateY(11px) rotate(45deg);
  }

  .navbar-toggler:not(.collapsed) .toggler-strip::after {
    -webkit-transform: translateY(-11px) rotate(-45deg);
    -ms-transform: translateY(-11px) rotate(-45deg);
    transform: translateY(-11px) rotate(-45deg);
  }

  .category {
    padding: 40px 0 65px;
  }

  .category h2 {
    font-size: 50px;
  }

  .single-img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 310px;
    flex: 0 0 310px;
    max-width: 310px;
    padding-top: 125px;
  }

  .single-img img {
    max-height: none;
  }
}

@media only screen and (min-width: 768px) {
  .categories-item,
  .articles-item,
  .category-item {
    margin: 0;
  }

  .articles .row,
  .categories .row {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  .categories-item:nth-child(2) {
    position: relative;
  }

  .categories-item:nth-child(2):before {
    content: url(img/pattern.svg);
    display: block;
    width: 165%;
    position: absolute;
    top: -17px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .info-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (min-width: 992px) {
  .navbar-brand {
    width: 213px;
    margin-left: 70px;
    margin-bottom: -100px;
  }

  .info .row {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .info .container {
    max-width: 1560px;
  }

  .info-item:last-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    max-width: 42%;
  }

  .info-item h2 {
    font-size: 25px;
  }

  .icon-left,
  .icon-right {
    font-size: 58px;
  }
}

@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1420px;
    padding: 0 25px;
  }

  .info-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 35%;
    flex: 0 0 35%;
    max-width: 35%;
  }

  .info-item:last-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
  }
}

@media only screen and (max-width: 991px) {
  .navbar-brand {
    margin-right: auto;
  }

  .navbar-collapse {
    background-color: rgba(35, 31, 32, 0.92);
    opacity: 0;
    padding-bottom: 50px;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    width: 100%;
    min-height: 100%;
    padding-top: 160px;
  }

  .navbar-collapse.show {
    overflow: auto;
    opacity: 1;
  }

  .navbar-collapse .navbar-nav {
    margin: 0;
    text-align: center;
    height: 100%;
  }

  .navbar-collapse .menu-item {
    margin-left: 0;
  }

  .navbar-collapse .menu-item a {
    font-size: 30px;
  }
}

