/*
 * YO Menu - Ultra Modern Responsive Style
 * Orijinal yapıyı bozmadan modernleştirilmiş sürüm
 * DÜZ 2 RENK: #45aaa4 ve #ff7f69
 * Gradient kullanılmadı.
 */

/* =========================
   BASE
========================= */
.yo-menu,
.yo-menu *,
ul.yo-fm,
ul.yo-fm * {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.yo-menu {
    position: relative;
    margin-bottom: 22px;
    font-family: 'Montserrat', sans-serif;
    z-index: 20;
}

/* =========================
   HEADING
========================= */
.yo-heading {
    position: relative;
    display: block;
    min-width: 100%;
    margin: 0;
    padding: 18px 20px;
    cursor: pointer;
    border: 0;
    border-radius: 20px 20px 0 0;
    background: #45aaa4;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .2px;
    box-shadow:
        0 18px 40px rgba(69, 170, 164, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.22);
    -webkit-transition: all .30s ease;
       -moz-transition: all .30s ease;
        -ms-transition: all .30s ease;
         -o-transition: all .30s ease;
            transition: all .30s ease;
}

.yo-heading:hover {
    background: #ff7f69;
    box-shadow:
        0 22px 46px rgba(255, 127, 105, 0.30),
        0 10px 22px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.24);
}

.yo-heading.yo-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.yo-heading.yo-close {
    border-radius: 20px;
}

.yo-heading i.fa.fa-bars {
    float: right;
    line-height: 22px;
    font-size: 16px;
    opacity: .95;
    -webkit-transition: transform .25s ease;
       -moz-transition: transform .25s ease;
        -ms-transition: transform .25s ease;
         -o-transition: transform .25s ease;
            transition: transform .25s ease;
}

.yo-heading:hover i.fa.fa-bars {
    -webkit-transform: rotate(90deg);
       -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
         -o-transform: rotate(90deg);
            transform: rotate(90deg);
}

/* =========================
   WRAPPER
========================= */
.yo-wrapper {
    position: relative;
    padding: 0;
    margin-bottom: 0;
    border: 1px solid #edf0f3;
    border-top: 0;
    border-radius: 0 0 20px 20px;
    background: #ffffff;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.08),
        0 10px 20px rgba(15, 23, 42, 0.04);
    overflow: visible;
}

.yo-heading + .yo-wrapper {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* =========================
   DEFAULT UL / LI
========================= */
ul.yo-fm,
ul.yo-fm ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yo-menu ul.yo-fm li {
    position: relative;
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    border-bottom: 1px solid #f1f3f5;
    background: #ffffff;
}

.yo-menu ul.yo-fm li:first-child {
    border-top: none;
}

.yo-menu ul.yo-fm li:last-child {
    border-bottom: none;
}

ul.yo-fm li > a {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

/* =========================
   MAIN LINKS
========================= */
.yo-menu ul.yo-fm li > a {
    min-height: 56px;
    padding: 16px 46px 16px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #27303a;
    background: #ffffff;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

.yo-menu ul.yo-fm li > a:before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 0;
    border-radius: 0 8px 8px 0;
    background: #ff7f69;
    opacity: 0;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

.yo-menu ul.yo-fm li > a:hover {
    color: #45aaa4;
    background: rgba(69, 170, 164, 0.08);
    padding-left: 22px;
}

.yo-menu ul.yo-fm li > a:hover:before,
.yo-menu ul.yo-fm li > a.active:before,
.yo-menu ul.yo-fm li:hover > a:before {
    width: 4px;
    opacity: 1;
}

.yo-menu ul.yo-fm li > a.active {
    color: #45aaa4;
    font-weight: 700;
    background: rgba(69, 170, 164, 0.10);
}

.yo-menu ul.yo-fm li:hover > a {
    color: #45aaa4;
    background: rgba(69, 170, 164, 0.08);
}

/* Parent Arrow */
ul.yo-fm li a.fm-parent:after {
    content: '\f105';
    position: absolute;
    top: 50%;
    right: 18px;
    margin: 0;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 1;
    color: #9aa4ae;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

ul.yo-fm li:hover > a.fm-parent:after,
ul.yo-fm li > a.active.fm-parent:after {
    color: #ff7f69;
    -webkit-transform: translateY(-50%) translateX(2px);
       -moz-transform: translateY(-50%) translateX(2px);
        -ms-transform: translateY(-50%) translateX(2px);
         -o-transform: translateY(-50%) translateX(2px);
            transform: translateY(-50%) translateX(2px);
}

/* =========================
   IMAGES / ICONS / BADGES
========================= */
ul.yo-fm .fm-image a {
    display: block;
    padding: 8px !important;
    text-align: center;
}

ul.yo-fm img {
    max-width: 100% !important;
    height: auto;
    vertical-align: middle;
    border: 0;
    overflow: hidden;
}

ul.yo-fm img.fm-icon {
    margin-right: .7em;
}

ul.yo-fm li a span {
    vertical-align: middle;
}

ul.yo-fm li a span.fm-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #ff7f69;
    background: rgba(255, 127, 105, 0.10);
    border: 1px solid rgba(255, 127, 105, 0.16);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

/* =========================
   ONE LEVEL / FLYOUT
========================= */
ul.yo-fm.fm-one li {
    position: relative;
}

ul.yo-fm.fm-one ul,
ul.yo-fm .fm-container {
    position: absolute;
    top: 0;
    left: calc(100% + 1px);
    z-index: 9999;
    display: none;
}

#column-right ul.yo-fm.fm-one ul,
#column-right ul.yo-fm .fm-container {
    left: auto;
    right: calc(100% + 8px);
}

ul.yo-fm.fm-one ul {
    min-width: 250px;
    padding: 12px;
    border: 1px solid #eceff2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.10),
        0 6px 16px rgba(0, 0, 0, 0.04);
}

ul.yo-fm.fm-one li li {
    border-bottom: 0;
    background: transparent;
}

ul.yo-fm.fm-one li li > a {
    min-height: 46px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
}

ul.yo-fm.fm-one li li + li > a {
    margin-top: 6px;
}

ul.yo-fm.fm-one li li > a:hover {
    background: rgba(69, 170, 164, 0.08);
}

/* =========================
   MULTI / MEGA CONTAINER
========================= */
ul.yo-fm.fm-multi {
    position: relative;
}

ul.yo-fm .fm-container {
    width: 900px;
    max-width: calc(100vw - 60px);
    min-height: 420px;
    padding: 26px 22px;
    border: 1px solid #eceff2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.14),
        0 12px 28px rgba(15, 23, 42, 0.06);
}

ul.yo-fm .fm-container .fm-brand-info {
    overflow: hidden;
    margin: 0 10px 18px;
}

ul.yo-fm .fm-container .fm-title {
    margin-bottom: 18px;
}

ul.yo-fm .fm-container .fm-title a {
    display: block;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #1f2529;
    background: rgba(69, 170, 164, 0.08);
    border: 1px solid rgba(69, 170, 164, 0.16);
    border-radius: 16px;
}

ul.yo-fm .fm-container .fm-brand-info .fm-image {
    margin-bottom: 14px;
    text-align: center;
}

ul.yo-fm .fm-container .fm-descr {
    margin-bottom: 18px;
    padding: 0 4px;
    color: #6f7880;
    font-size: 13px;
    line-height: 1.7;
    font-style: italic;
}

ul.yo-fm .fm-container > ul {
    display: block;
    float: left;
    width: 50%;
}

ul.yo-fm .fm-container > ul > li {
    overflow: hidden;
    margin: 0 10px;
    border: 0;
    background: transparent;
}

ul.yo-fm .fm-container > ul > li + li {
    margin-top: 20px;
}

/* =========================
   LISTS INSIDE MEGA
========================= */
ul.yo-fm ul.fm-list {
    overflow: hidden;
    width: auto;
    padding: 0;
    margin: 0;
}

ul.yo-fm ul.fm-list li {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    border: 0;
    background: transparent;
}

ul.yo-fm ul.fm-list li + li {
    margin-top: 8px;
}

ul.yo-fm ul.fm-list li a {
    position: relative;
    padding: 0 0 0 18px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: #4b5359;
    background: transparent;
}

ul.yo-fm ul.fm-list li a:hover {
    color: #45aaa4;
    background: transparent;
}

ul.yo-fm ul.fm-list li a span:before {
    content: '\00B7';
    position: absolute;
    left: 0;
    top: 50%;
    font-size: 22px;
    line-height: 0;
    color: #ff7f69;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
}

/* =========================
   PRODUCT / IMAGE CARDS
========================= */
ul.yo-fm .fm-container .fm-image-center,
ul.yo-fm .fm-container .fm-image-left .fm-image {
    border: 1px solid #eef1f4;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    -webkit-transition: all .28s ease;
       -moz-transition: all .28s ease;
        -ms-transition: all .28s ease;
         -o-transition: all .28s ease;
            transition: all .28s ease;
}

ul.yo-fm .fm-container .fm-image-center:hover,
ul.yo-fm .fm-container .fm-image-left .fm-image:hover {
    border-color: rgba(255, 127, 105, 0.28);
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.10),
        0 6px 16px rgba(15, 23, 42, 0.04);
    -webkit-transform: translateY(-3px);
       -moz-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
         -o-transform: translateY(-3px);
            transform: translateY(-3px);
}

ul.yo-fm .fm-container .fm-image-center > a {
    display: block;
    padding: 12px 10px;
    color: #1f2529;
    font-weight: 700;
    text-align: center;
    background: rgba(69, 170, 164, 0.06);
}

ul.yo-fm .fm-container .fm-image-center a.fm-pr-name {
    min-height: 42px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

ul.yo-fm .fm-container .fm-image-center .fm-image {
    position: relative;
}

ul.yo-fm .fm-container .fm-image-left .fm-image {
    float: left;
    width: 30%;
    margin-right: 5%;
}

ul.yo-fm .fm-container .fm-image-left > a {
    font-size: 14px;
    font-weight: 700;
    background: rgba(69, 170, 164, 0.06);
}

/* =========================
   PRICE / RATING / CART
========================= */
ul.yo-fm .fm-price {
    display: inline-block;
    margin-left: .4em;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #ff7f69;
    background: rgba(255, 127, 105, 0.10);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

ul.yo-fm .fm-container .fm-image-center .fm-price {
    background: rgba(255, 127, 105, 0.10);
    box-shadow: none;
}

ul.yo-fm .fm-rating {
    float: right;
    margin: 6px 0;
}

ul.yo-fm .fm-price-left {
    display: inline-block;
    float: none;
    overflow: hidden;
    margin: 8px 0;
}

ul.yo-fm .fm-rating-center {
    position: absolute;
    left: 8%;
    bottom: 12%;
}

ul.yo-fm .fm-cart-center {
    position: absolute;
    right: 8%;
    bottom: 11%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

ul.yo-fm li:hover > .fm-image .fm-cart-center {
    visibility: visible;
    opacity: 1;
}

/* =========================
   DESKTOP HOVER OPEN
========================= */
@media (min-width: 992px) {
    ul.yo-fm li:hover > ul,
    ul.yo-fm li:hover > .fm-container {
        display: block;
    }
}

/* =========================
   TABLET
========================= */
@media (max-width: 1199px) {
    ul.yo-fm .fm-container {
        width: 720px;
        max-width: calc(100vw - 40px);
    }

    .yo-heading {
        font-size: 16px;
        padding: 16px 18px;
    }

    .yo-menu ul.yo-fm li > a {
        font-size: 14px;
        padding: 15px 42px 15px 15px;
    }
}

/* =========================
   MOBILE / TABLET
========================= */
@media (max-width: 991px) {
    .yo-menu {
        margin-bottom: 16px;
    }

    .yo-heading {
        min-width: 100%;
        padding: 15px 16px;
        font-size: 15px;
        border-radius: 16px 16px 0 0;
    }

    .yo-heading.yo-close {
        border-radius: 16px;
    }

    .yo-wrapper {
        border-radius: 0 0 16px 16px;
    }

    .yo-menu ul.yo-fm li > a {
        min-height: 50px;
        padding: 14px 40px 14px 14px;
        font-size: 14px;
    }

    .yo-menu ul.yo-fm li > a:hover {
        padding-left: 16px;
    }

    ul.yo-fm.fm-one ul,
    ul.yo-fm .fm-container,
    #column-right ul.yo-fm.fm-one ul,
    #column-right ul.yo-fm .fm-container {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        display: none;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0;
        padding: 14px;
        border: 0;
        border-top: 1px solid #f2f2f2;
        border-radius: 0;
        box-shadow: none;
        background: #fcfcfc;
    }

    ul.yo-fm .fm-container > ul {
        float: none;
        width: 100%;
    }

    ul.yo-fm .fm-container > ul > li {
        margin: 0;
    }

    ul.yo-fm .fm-container > ul > li + li {
        margin-top: 14px;
    }

    ul.yo-fm .fm-container .fm-title a {
        font-size: 15px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    ul.yo-fm .fm-container .fm-image-left .fm-image {
        width: 90px;
        margin-right: 12px;
    }

    ul.yo-fm .fm-cart-center {
        visibility: visible;
        opacity: 1;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 575px) {
    .yo-heading {
        padding: 14px 14px;
        font-size: 14px;
        border-radius: 14px 14px 0 0;
    }

    .yo-heading.yo-close {
        border-radius: 14px;
    }

    .yo-wrapper {
        border-radius: 0 0 14px 14px;
    }

    .yo-menu ul.yo-fm li > a {
        min-height: 46px;
        padding: 12px 36px 12px 12px;
        font-size: 13px;
    }

    ul.yo-fm li a.fm-parent:after {
        right: 12px;
        font-size: 13px;
    }

    ul.yo-fm .fm-container {
        padding: 12px;
    }

    ul.yo-fm .fm-container .fm-title a {
        font-size: 14px;
    }

    ul.yo-fm ul.fm-list li a {
        font-size: 12px;
    }

    ul.yo-fm .fm-price {
        font-size: 11px;
        padding: 5px 8px;
    }
}
