﻿@media (max-width: 991px) {
  .cd-dropdown {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    visibility: hidden;
    /* Force Hardware Acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.5s 0s, visibility 0s 0.5s;
    -moz-transition: -moz-transform 0.5s 0s, visibility 0s 0.5s;
    transition: transform 0.5s 0s, visibility 0s 0.5s;
  }

  .cd-dropdown .cd-close {
    /* 'X' close icon - mobile version only */
    position: absolute;
    z-index: 3;
    right: 0;
    top: 0;
    height: 50px;
    width: 42px;
    /* image replacement */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: white;
    background: #fff;
  }

  .cd-dropdown .cd-close::after,
  .cd-dropdown .cd-close::before {
    /* this is the 'X' icon */
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    height: 16px;
    width: 2px;
    background-color: #000;
  }

  .cd-dropdown .cd-close::after {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -o-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
  }

  .cd-dropdown .cd-close::before {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -o-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  }
  .cd-dropdown-content a {
    margin: 0 22px;
    font-size: 15px;
    font-weight: 500;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    letter-spacing: 0.5px;
  }
  .cd-dropdown-content ul li.third-child a {
    margin: 0 22px;
    font-size: 15px;
    font-weight: 500;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    letter-spacing: 0.5px;
  }
  .cd-dropdown-content ul li.third-child.tumunu-gor a {
    text-decoration: underline;
    font-weight: 500;
  }
  .cd-dropdown-content .cd-menu-title a {
    padding: 20px 0 20px 13px;
    font-size: 17px;
    font-weight: 500;
    line-height: 21px;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
    letter-spacing: 0.5px;
  }
}
.cd-dropdown.dropdown-is-active {
  visibility: visible;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: -webkit-transform 0.5s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform 0.5s 0s, visibility 0s 0s;
  transition: transform 0.5s 0s, visibility 0s 0s;
}

.cd-dropdown-content,
.cd-dropdown-content ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  background: #f7ba02;
}
.cd-dropdown-content a,
.cd-dropdown-content ul a {
  display: block;
}

.cd-dropdown-content a {
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
}

.cd-dropdown-content.is-hidden,
.cd-dropdown-content ul.is-hidden {
  /* push the secondary dropdown items to the right */
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
}

.cd-dropdown-content.is-hidden > li > a,
.cd-dropdown-content.move-out > li > a,
.cd-dropdown-content ul.is-hidden > li > a,
.cd-dropdown-content ul.move-out > li > a {
  /* lower down the dropdown items opacity - when secondary dropdown slides in or for dropdown items hidden on the right */
  opacity: 0;
}

.cd-dropdown-content.move-out > li > a,
.cd-dropdown-content ul.move-out > li > a {
  /* push the dropdown items to the left when secondary dropdown slides in */
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
}

.dropdown-is-active .cd-dropdown-content,
.dropdown-is-active .cd-dropdown-content ul {
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 1380px) {
  .cd-dropdown-content .first-child > a {
    padding: 0px;
    margin: 0 14px;
    font-size: 13px;
  }
}
@media (max-width: 1379px) and (min-width: 1280px) {
  .cd-dropdown-content .first-child > a {
    padding: 0px;
    font-size: 13px;
    margin: 0 12px;
  }
}

@media (max-width: 1279px) and (min-width: 992px) {
  .cd-dropdown-content .first-child > a {
    padding: 0px;
    margin: 0 7px;
    font-size: 12px;
  }
}
@media only screen and (min-width: 992px) {
  .cd-dropdown-content .first-child > a {
    font-weight: 600;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    height: 48px;
  }
  .cd-dropdown-content a,
  .cd-dropdown-content ul a {
    font-size: 15px;
    padding: 10px 20px;
  }

  .cd-dropdown-content.is-hidden > li > a,
  .cd-dropdown-content.move-out > li > a,
  .cd-dropdown-content ul.is-hidden > li > a,
  .cd-dropdown-content ul.move-out > li > a {
    /* reset mobile style */
    opacity: 1;
  }
}

.cd-dropdown-content .see-all a {
  /* different style for the See all links */
  color: #3f8654;
}

@media only screen and (min-width: 992px) {
  .cd-dropdown-content {
    position: static;
    height: auto;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .no-touch .cd-dropdown-content > li:not(.has-children) a:hover {
    color: #3f8654;
  }

  .cd-dropdown-content.move-out > li > a {
    /* reset mobile style */
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }

  .cd-dropdown-content .cd-secondary-dropdown {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    left: 100%;
    height: auto;
    background-color: #fff;
  }
  .cd-dropdown-content .cd-secondary-dropdown::after {
    clear: both;
    content: "";
    display: table;
  }

  .open-to-left .cd-dropdown-content .cd-secondary-dropdown {
    /* use the .open-to-left class if you want to open the dropdown on the left */
    left: auto;
    right: 100%;
  }

  .cd-dropdown-content .cd-secondary-dropdown.is-hidden {
    /* reset mobile style */
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  .cd-dropdown-content .cd-secondary-dropdown.fade-in {
    /* animate secondary dropdown items when hovering over of of the .cd-dropdown-content list items */
    -webkit-animation: cd-fade-in 0.2s;
    -moz-animation: cd-fade-in 0.2s;
    animation: cd-fade-in 0.2s;
  }

  .cd-dropdown-content .cd-secondary-dropdown.fade-out {
    /* animate secondary dropdown items when hovering over of of the .cd-dropdown-content list items */
    -webkit-animation: cd-fade-out 0.2s;
    -moz-animation: cd-fade-out 0.2s;
    animation: cd-fade-out 0.2s;
  }

  .cd-dropdown-content .cd-secondary-dropdown > .go-back {
    display: none;
  }

  .cd-dropdown-content .cd-secondary-dropdown > .see-all {
    position: absolute;
    bottom: 20px;
    height: 45px;
    text-align: center;
  }

  .cd-dropdown-content .cd-secondary-dropdown > .see-all a {
    margin: 0;
    height: 100%;
    line-height: 45px;
    background: #ebebeb;
    pointer-events: auto;
    -webkit-transition: color 0.2s, background-color 0.2s;
    -moz-transition: color 0.2s, background-color 0.2s;
    transition: color 0.2s, background-color 0.2s;
  }

  .no-touch .cd-dropdown-content .cd-secondary-dropdown > .see-all a:hover {
    background-color: #111433;
  }

  .cd-dropdown-content .cd-secondary-dropdown > li {
    float: left;
  }

  .cd-dropdown-content .cd-secondary-dropdown {
    overflow: hidden;
    width: 100%;
    left: 0;
    letter-spacing: 0;
  }

  .cd-dropdown-content .cd-secondary-dropdown > li > a::after,
  .cd-dropdown-content .cd-secondary-dropdown > li > a::before {
    /* hide the arrow */
    display: none;
  }

  .cd-dropdown-content .cd-secondary-dropdown.move-out > li > a {
    /* reset mobile style */
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  .cd-dropdown-content .cd-secondary-dropdown > li > ul {
    /* reset mobile style */
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    -ms-transform: translate(0);
    -o-transform: translate(0);
    transform: translate(0);
    position: relative;
    height: auto;
    padding: 0;
  }

  .cd-dropdown-content .cd-secondary-dropdown > li > ul > .go-back {
    display: none;
  }
  .cd-dropdown-content .cd-secondary-dropdown li {
    margin: 0 0 10px 0;
  }
  .cd-dropdown-content .cd-secondary-dropdown a {
    padding: 0;
    display: inline-block;
  }
  .no-touch .cd-dropdown-content .cd-secondary-dropdown a:hover {
    color: #3f8654;
  }

  .cd-dropdown-content .cd-secondary-dropdown ul {
    padding-bottom: 0px;
    overflow: hidden;
    height: auto;
  }

  .cd-dropdown-content .cd-secondary-dropdown .go-back a {
    padding-left: 20px;
    color: transparent;
  }

  .no-touch .cd-dropdown-content .cd-secondary-dropdown .go-back a:hover {
    color: transparent;
  }

  .cd-dropdown-content .cd-secondary-dropdown .go-back a::before,
  .cd-dropdown-content .cd-secondary-dropdown .go-back a::after {
    left: 0;
  }

  .cd-dropdown-content .cd-secondary-dropdown .see-all {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .cd-dropdown-content > .has-children > ul {
    visibility: hidden;
  }

  .cd-dropdown-content > .has-children > ul.is-active {
    /* when hover over .cd-dropdown-content items - show subnavigation */
    visibility: visible;
  }

  .cd-dropdown-content > .has-children > a.is-active {
    /* hover effect for .cd-dropdown-content items with subnavigation */
  }

  .cd-dropdown-content > .first-child > a.is-active:after,
  .cd-dropdown-content > .first-child:hover > a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 1px;
    z-index: 10001;
    background: #000;
  }
}

@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
    visibility: visible;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
    visibility: visible;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes cd-fade-in {
  0% {
    opacity: 0;
    visibility: visible;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

@-webkit-keyframes cd-fade-out {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: visible;
  }
}

@-moz-keyframes cd-fade-out {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: visible;
  }
}

@keyframes cd-fade-out {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: visible;
  }
}
@media (max-width: 991px) {
  .cd-dropdown-content,
  .cd-dropdown-content ul {
    background: #fff;
  }
  .has-children > a,
  .go-back a {
    position: relative;
  }

  .has-children > a::before,
  .has-children > a::after,
  .go-back a::before,
  .go-back a::after {
    /* arrow icon in CSS - for element with nested unordered lists */
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1px;
    display: inline-block;
    height: 2px;
    width: 8px;
    background: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .has-children > a::before,
  .go-back a::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .has-children > a::after,
  .go-back a::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .has-children > a::before,
  .has-children > a::after {
    /* arrow goes on the right side - children navigation */
    right: 12px;
    -webkit-transform-origin: 8px 50%;
    -moz-transform-origin: 8px 50%;
    -ms-transform-origin: 8px 50%;
    -o-transform-origin: 8px 50%;
    transform-origin: 8px 50%;
  }

  .cd-dropdown-content .go-back a {
    font-size: 17px;
    font-weight: 500;
    padding: 20px 40px;
    line-height: 21px;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
    letter-spacing: 0.5px;
  }

  .cd-dropdown-content .go-back a::before,
  .cd-dropdown-content .go-back a::after {
    /* arrow goes on the left side - go back button */
    left: 20px;
    -webkit-transform-origin: 1px 50%;
    -moz-transform-origin: 1px 50%;
    -ms-transform-origin: 1px 50%;
    -o-transform-origin: 1px 50%;
    transform-origin: 1px 50%;
  }

  .no-js .cd-dropdown-wrapper:hover .cd-dropdown {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}
@media (min-width: 992px) {
  .cd-dropdown-trigger,
  .cd-close {
    display: none;
  }

  .cd-dropdown-content,
  .cd-dropdown-content ul {
    top: auto;
  }
  .cd-dropdown-content > li {
    float: left;
  }
}
@media (max-width: 991px) {
  .has-children {
    position: initial;
    padding: 0;
  }
  .cd-dropdown-content .cd-user {
    background: #f2f2f2;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
  }

  .cd-dropdown-content .cd-user .btn-dark {
    color: #fff;
    border: none;
  }
  .cd-dropdown-content .cd-user .btn {
    margin: 0 10px;
    min-width: 160px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 0;
  }
}

.cd-dropdown-trigger.arrow {
  position: relative;
  cursor: pointer;
  padding: 12px 50px 12px 0px;
  float: left;
  margin-top: 20px;
}
.cd-dropdown-trigger.arrow span {
  display: block;
  position: absolute;
  height: 2px;
  width: 24px;
  background: #39454d;
  left: 10px;
}
.cd-dropdown-trigger.arrow span:nth-child(1) {
  top: 0px;
}

.cd-dropdown-trigger.arrow span:nth-child(2) {
  top: 8px;
  width: 16px;
}
.cd-dropdown-trigger.arrow span span {
  margin-left: 2px;
  width: 9px;
  left: 9px;
}
.cd-dropdown-trigger.arrow span:nth-child(3) {
  top: 16px;
}

.cd-dropdown-trigger.arrow span:nth-child(4) {
  top: 24px;
  background: transparent;
  height: auto;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  width: auto;
}

@media (min-width: 992px) {
  .cd-dropdown-content .cd-secondary-dropdown > li > a {
    font-size: 16px;
    font-weight: 500;
    padding: 0 0 10px 0;
    margin-bottom: 10px;
  }

  .cd-dropdown-content .cd-secondary-dropdown.default > li.has-children {
    float: left;
  }

  .cd-dropdown-content .cd-secondary-dropdown.default {
    padding: 35px 40px 0 40px;
    min-height: 380px;
    border: 1px solid #e5e5e5;
  }

  .cd-dropdown-content .cd-secondary-dropdown.default > li.kategoriler {
    width: 29.16666667%;
  }
  .cd-dropdown-content .cd-secondary-dropdown ul li.tumunu-gor a,
  .cd-dropdown-content .cd-secondary-dropdown ul li.tum-markalar a {
    border-bottom: 1px solid;
    line-height: 15px;
  }
  .cd-dropdown-content .cd-secondary-dropdown a span {
    font-size: 18px;
    padding-top: 18px;
    display: block;
  }
  .cd-dropdown-content .cd-secondary-dropdown.one-cikanlar .menu-catbox a {
    font-weight: 500;
    display: block;
    padding: 0 0 5px 0;
  }
  .cd-dropdown-content .cd-secondary-dropdown > li.img-menu {
    float: right;
  }
}
