﻿@media (min-width: 768px) {
    body {
        padding-top: 76px; /* for sticky header*/
    }
}

.sidebar {
    display: block;
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
}

#sidebar .navbar-nav > li {
  float: none;  /* Cancel default li float: left */
}

/* Start Header */

.header-main-wrap > ul {
    height: 130px;
    list-style: none;
    margin: 0 auto;
    padding: 10px 0 60px 0;
}

/*logo*/
.header-main-wrap .menu-logo {
    display: inline-block;
    left: 50%;
    position: absolute;
    top: 10px;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header-main-wrap .menu-logo .logo-image {
    width: 120px;
}

/*menu*/
.header-main-wrap .navbar-mainmenu {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #dedede;
    height: 100%;
    left: 0;
    opacity: 0;
    padding: 50px 0 0 0;
    position: fixed;
    top: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 1001;
}

html.main-menu--active .header-main-wrap .navbar-mainmenu {
    opacity: 1;
    visibility: visible;
}

.header-main-wrap .navbar-mainmenu .navbar-close {
    background-color: #fff;
    border-color: transparent;
    border-width: 1px;
    color: #333;
    cursor: pointer;
    font-size: 22px;
    height: 50px;
    left: 0;
    overflow: hidden;
    position: absolute;
    text-indent: -9999px;
    top: 0;
    width: 70%;    
    z-index: 2;
}

.header-main-wrap .navbar-mainmenu .navbar-close:hover {
    color: #777;
}

.header-main-wrap .navbar-mainmenu .navbar-close .fa {
    position: absolute;
    right: 10px;
    top: 10px;
    text-indent: 0;
}

.header-main-wrap .navbar-mainmenu > ul {
    background-color: #fff;
    height: 100%;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    width: 70%;
}

.header-main-wrap .navbar-mainmenu > ul > li > button,
.header-main-wrap .navbar-mainmenu > ul > li > a {
    border-bottom: 1px solid #dedede;
    color: #333;
    font-size: 16px;
    padding: 15px;
    text-align: left;
}

.header-main-wrap .navbar-mainmenu > ul > li > button:hover,
.header-main-wrap .navbar-mainmenu > ul > li > a:hover {
    color: #777;
}

/*store*/
.header-main-wrap .menu-store {
    border-radius: 5px;
    left: 15%;
    position: absolute;
    text-align: center;
    top: 10px;
    width: 15%;
}

.header-main-wrap .menu-store .store-link {
    display: block;
    text-decoration: none;
}

.header-main-wrap .menu-store .store-link span {
    display: none;
}

.header-main-wrap .menu-store .store-link span.fa {
    display: block;
    line-height: 50px;
}

.header-main-wrap .menu-store .store-link span.fa:before {
    color: #333;
    font-size: 21px;
}

/*search*/
.header-main-wrap .menu-search {
    bottom: 0;
    position: absolute;
    left: 0;
    width: 100%;
}

.header-main-wrap .menu-search .navbar-form {
    border: none;
    margin: 0;
    padding: 0;
}

.header-main-wrap .menu-search .search-wrap {
    padding: 10px;
    position: relative;
}

.header-main-wrap .menu-search #keywords {
    color: #555;
    height: 40px;
    max-width: 100%;
    padding-right: 70px;
    width: 100%;
}

.header-main-wrap .menu-search .form-control-clear {
    background-color: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    position: absolute;
    right: 49px;
    text-indent: -9999px;
    top: 10px;
    width: 34px;
}

.header-main-wrap .menu-search .form-control-clear:before {
    left: 50%;
    position: absolute;
    text-indent: 0;
    top: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header-main-wrap .menu-search .btn-search {
    border-radius: 0 4px 4px 0;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
}

/*cart*/
.header-main-wrap .menu-cart {
    border-radius: 5px;
    position: absolute;
    right: 15%;
    text-align: center;
    top: 10px;
    width: 15%;
}

.header-main-wrap .menu-cart .menu-cart-link {
    display: block;
    text-decoration: none;
}

.header-main-wrap .menu-cart .fa {
    line-height: 50px;
}

.header-main-wrap .menu-cart .navbar-account {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.header-main-wrap .menu-cart .fa:before {
    color: #222;
    font-size: 21px;
}

.header-main-wrap .menu-cart .cart-items-wrap {
    background-color: #2e3583;
    border-radius: 50%;
    display: none;
    height: 20px;
    left: 50%;
    min-width: 20px;
    padding: 2px;
    position: absolute;
    text-align: center;
    top: 5px;
}

.header-main-wrap .menu-cart .cart-items-wrap.active {
    display: block;
}

.header-main-wrap .menu-cart .cart-items-wrap .counter {
    color: #fff;
    display: block;
    font-size: 11px;
    line-height: 16px;
}

/*account*/
.header-main-wrap .menu-account {
    border-radius: 5px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 10px;
    width: 15%;
}

.header-main-wrap .menu-account .account-link {
    border-radius: 5px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.header-main-wrap .menu-account .fa {
    line-height: 50px;
}

.header-main-wrap .menu-account .fa:before {
    color: #333;
    font-size: 21px;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

.header-main-wrap .menu-account .caret {
    color: #333;
    display: none;
}

.header-main-wrap .menu-account .my-account-menus > h2 {
    display: none;
}

.header-main-wrap .menu-account .my-account-menus .list-group {
    margin: 0;
}

.header-main-wrap .menu-account .my-account-menus .list-group-item {
    background-color: transparent;
    border-color: transparent transparent #dedede transparent;
    border-style: solid;
    border-width: 1px;
    color: #333;
    font-size: 16px;
    padding: 15px;
    text-align: left;
}

.header-main-wrap .menu-account .my-account-menus .list-group-item:hover {
    color: #777;
}

.header-main-wrap .menu-account .my-account-menus .list-group-item .fa {
    display: none;
}

.header-main-wrap .menu-account .my-account-logout a {
    border-color: transparent transparent #dedede transparent;
    border-style: solid;
    border-width: 1px;
    color: #333;
    cursor: pointer;
    display: block;
    font-size: 16px;
    padding: 15px;
    text-align: left;
    text-decoration: none;
}

.header-main-wrap .menu-account .my-account-logout a:hover {
    color: #777;
}

/*search*/
.header-main-wrap .menu-navs {
    border-radius: 5px;
    left: 0;
    position: absolute;
    text-align: center;
    top: 10px;
    width: 15%;
}

.header-main-wrap .menu-navs .main-menu-link {
    cursor: pointer;
    display: block;
}

.header-main-wrap .menu-navs .main-menu-link .fa {
    line-height: 50px;
}

.header-main-wrap .menu-navs .main-menu-link .fa:before {
    color: #333;
    font-size: 21px;
}

@media (min-width: 768px) {
    .header-main-wrap > ul {
        height: 75px;
        padding-bottom: 10px;
    }

    .header-main-wrap .menu-logo {
        left: 10px;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    .header-main-wrap .menu-navs {
        left: auto;
        right: 150px;
        top: 15px;
        width: 50px;
    }

    .header-main-wrap.single-store .menu-navs {
        right: 100px;
    }

    .header-main-wrap .navbar-mainmenu .navbar-close {
        width: 50%;
    }

    .header-main-wrap .navbar-mainmenu .navbar-close.mobile-only {
        display: block;
    }

    .header-main-wrap .navbar-mainmenu > ul {
        width: 50%;
    }

    .header-main-wrap .navbar-mainmenu > ul > li {
        float: none;
    }

    .header-main-wrap .menu-search {
        background-color: transparent;
        border: none;
        bottom: auto;
        left: 160px;
        top: 20px;
        width: -webkit-calc(100% - 370px);
        width: -moz-calc(100% - 370px);
        width: calc(100% - 370px);
    }

    .header-main-wrap.single-store .menu-search {
        width: -webkit-calc(100% - 320px);
        width: -moz-calc(100% - 320px);
        width: calc(100% - 320px);
    }

    .header-main-wrap .menu-search .search-wrap {
        padding: 0;
    }

    .header-main-wrap .menu-search .form-control-clear {
        right: 39px;
        top: 0;
    }

    .header-main-wrap .menu-search .btn-search {
        right: 0;
        top: 0;
    }

    .header-main-wrap .menu-store {
        left: auto;
        right: 100px;
        top: 15px;
        width: 50px;
    }

    .header-main-wrap .menu-cart {
        right: 50px;
        top: 15px;
        width: 50px;
    }

    .header-main-wrap .menu-account {
        top: 15px;
        width: 50px;
    }

    .header-main-wrap .menu-account .caret {
        display: inline-block;
    }

    .header-main-wrap .menu-account .navbar-nav > li {
        float: none;
    }

    .header-main-wrap .navbar-default .navbar-nav > li > a,
    .header-main-wrap .menu-account .my-account-menus .list-group-item,
    .header-main-wrap .menu-account .my-account-logout a {
        display: block;
        padding: 5px;
    }
}

@media (min-width: 992px) {
    .header-main-wrap .menu-logo .logo-image {
        width: 125px;
    }

    .header-main-wrap .menu-navs {
        left: 165px;
        width: 40%;
    }

    .header-main-wrap .menu-navs .main-menu-link {
        display: none;
    }

    .header-main-wrap .navbar-mainmenu {
        background-color: transparent;
        border: none;
        height: auto;
        left: auto;
        opacity: 1;
        padding-top: 0;
        position: static;
        top: auto;
        visibility: visible;
        width: 100%;
    }

    .header-main-wrap .navbar-mainmenu .navbar-close.mobile-only {
        display: none;
    }

    .header-main-wrap .navbar-mainmenu > ul {
        background-color: transparent;
        border: none;
        float: none;
        max-height: 52px;
        overflow: visible;
        width: 100%;
    }

    .header-main-wrap .navbar-mainmenu > ul > li {
        float: left;
    }

    .header-main-wrap .navbar-mainmenu > ul > li > button,
    .header-main-wrap .navbar-mainmenu > ul > li > a {
        border-bottom-color: transparent;
    }

    .header-main-wrap .menu-search {
        left: -webkit-calc(40% + 165px);
        left: -moz-calc(40% + 165px);
        left: calc(40% + 165px);
        width: -webkit-calc(60% - 325px);
        width: -moz-calc(60% - 325px);
        width: calc(60% - 325px);
    }

    .header-main-wrap.single-store .menu-search {
        width: -webkit-calc(60% - 275px);
        width: -moz-calc(60% - 275px);
        width: calc(60% - 275px);
    }
}

@media (min-width: 1200px) {
    .header-main-wrap > ul {
        position: relative;
        width: 1170px;
    }

    .header-main-wrap .menu-navs {
        left: 355px;
        width: 30%;
    }

    .header-main-wrap.single-store .menu-navs {
        left: 165px;
        width: 40%;
    }

    .header-main-wrap .menu-store {
        left: 165px;
        top: 15px;
        width: 190px;
    }

    .header-main-wrap .menu-store .store-link {
        padding-left: 20px;
        position: relative;
    }

    .header-main-wrap .menu-store .store-link span {
        display: block;
        line-height: 1;
    }

    .header-main-wrap .menu-store .store-link span.fa {
        left: 5px;
        line-height: 1;
        position: absolute;
        top: 5px;
    }

    .header-main-wrap .menu-store .store-link__text {
        color: #333;
        font-size: 14px;
        padding: 5px 0 0 5px;
        text-align: left;
    }

    .header-main-wrap .menu-store .store-link__text.current-store {
        font-weight: bold;
        line-height: 1.3;
        margin-top: 3px;
        max-height: 36px;
        overflow: hidden;
        padding: 0 0 5px 5px;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-main-wrap .menu-search {
        left: -webkit-calc(30% + 385px);
        left: -moz-calc(30% + 385px);
        left: calc(30% + 385px);
        width: -webkit-calc(60% - 375px);
        width: -moz-calc(60% - 375px);
        width: calc(60% - 375px);
    }

    .header-main-wrap.single-store .menu-search {
        left: -webkit-calc(40% + 165px);
        left: -moz-calc(40% + 165px);
        left: calc(40% + 165px);
        width: -webkit-calc(60% - 275px);
        width: -moz-calc(60% - 275px);
        width: calc(60% - 275px);
    }
}

/* End Header */

/* Start My Account */

.my-account-wrap #sidebar {
    display: none;
}

.my-account-wrap #sidebar > h2 {
    font-size: 18px;
}

.my-account-wrap .page-title {
    line-height: 34px;
}

@media (min-width: 600px) {
    .my-account-wrap #sidebar > h2 {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .my-account-wrap #sidebar > h2 {
        font-size: 22px;
    }
}

@media (min-width: 992px) {
    .my-account-wrap #sidebar {
        display: Block;
    }

    .my-account-wrap #sidebar .list-group .list-group-item .fa-chevron-right {
        line-height: 22px;
    }
}

@media (min-width: 1024px) {
    .my-account-wrap #sidebar > h2 {
        font-size: 26px;
    }
}

@media (min-width: 1200px) {
    .my-account-wrap #sidebar > h2 {
        font-size: 30px;
    }
}

/* End My Account */

/* Start Modal Dialog */

@media (min-width: 768px) {
    .modal-dialog {
        top: 130px;
    }
}

@media (min-width: 965px) {
    .modal-dialog {
        top: 90px;
    }
}

/* End Modal Dialog */