/* -----------------------------------------------------------------------------

  SLIDE AND PUSH MENUS COMPONENT
  
----------------------------------------------------------------------------- */


/**
 * Menu overview.
 */

.c-menu {
    position: fixed;
    z-index: 350;
    background-color: #f7f7f7;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.c-menu__items {
    list-style: none;
    margin: 0;
    padding: 0;
}


/**
 * Left and right menus
 *
 * Slide and push menus coming in from the left and right inherit a lot of
 * common styles. We'll start each of them off by doing up the common styles
 * for each version, followed by individual styles.
 *
 * The various versions are governed by modifier classes.
 */


/**
 * Common modifiers for left/right menus.
 */

.c-menu--slide-left,
.c-menu--slide-right,
.c-menu--push-left,
.c-menu--push-right {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding:25px;
}

@media all and (min-width: 320px) {
    .c-menu--slide-left,
    .c-menu--slide-right,
    .c-menu--push-left,
    .c-menu--push-right {
        width: 470px;
    }
}

/* .c-menu--slide-left .c-menu__item,
.c-menu--slide-right .c-menu__item,
.c-menu--push-left .c-menu__item,
.c-menu--push-right .c-menu__item {
    display: block;
    text-align: center;
    border-top: solid 1px #b5dbe9;
    border-bottom: solid 1px #3184a1;
}

.c-menu--slide-left .c-menu__item:first-child,
.c-menu--slide-right .c-menu__item:first-child,
.c-menu--push-left .c-menu__item:first-child,
.c-menu--push-right .c-menu__item:first-child {
    border-top: none;
}

.c-menu--slide-left .c-menu__item:last-child,
.c-menu--slide-right .c-menu__item:last-child,
.c-menu--push-left .c-menu__item:last-child,
.c-menu--push-right .c-menu__item:last-child {
    border-bottom: none;
}

.c-menu--slide-left .c-menu__link,
.c-menu--slide-right .c-menu__link,
.c-menu--push-left .c-menu__link,
.c-menu--push-right .c-menu__link {
    display: block;
    padding: 12px 24px;
    color: #fff;
}

.c-menu--slide-left .c-menu__close,
.c-menu--slide-right .c-menu__close,
.c-menu--push-left .c-menu__close,
.c-menu--push-right .c-menu__close {
    display: block;
    padding: 12px 24px;
    width: 100%;
} */


/**
 * Slide/Push Menu Left.
 */

.c-menu--slide-left,
.c-menu--push-left {
    top: 0;
    left: 0;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

@media all and (min-width: 320px) {
    .c-menu--slide-left,
    .c-menu--push-left {
        -webkit-transform: translateX(-470px);
        -ms-transform: translateX(-470px);
        transform: translateX(-470px);
    }
}

.c-menu--slide-left.is-active,
.c-menu--push-left.is-active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}


/**
 * Slide/Push Menu Right.
 */

.c-menu--slide-right,
.c-menu--push-right {
    top: 0;
    right: 0;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

@media all and (min-width: 320px) {
    .c-menu--slide-right,
    .c-menu--push-right {
        -webkit-transform: translateX(470px);
        -ms-transform: translateX(470px);
        transform: translateX(470px);
    }
}

.c-menu--slide-right.is-active,
.c-menu--push-right.is-active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}


/**
 * Top and bottom menus
 *
 * Slide and push menus coming in from the top and bottom inherit a lot of
 * common styles. We'll start each of them off by doing up the common styles
 * for each version, followed by individual styles.
 *
 * The various versions are governed by modifier classes.

/**
 * Common modifiers for top/bottom menus
 */

.c-menu--slide-top,
.c-menu--slide-bottom,
.c-menu--push-top,
.c-menu--push-bottom {
    vertical-align: middle;
    width: 100%;
    height: 60px;
    text-align: center;
    overflow-x: scroll;
}

.c-menu--slide-top .c-menu__items,
.c-menu--slide-bottom .c-menu__items,
.c-menu--push-top .c-menu__items,
.c-menu--push-bottom .c-menu__items {
    display: inline-block;
    text-align: center;
}

.c-menu--slide-top .c-menu__item,
.c-menu--slide-bottom .c-menu__item,
.c-menu--push-top .c-menu__item,
.c-menu--push-bottom .c-menu__item {
    display: inline-block;
    line-height: 60px;
}

.c-menu--slide-top .c-menu__link,
.c-menu--slide-bottom .c-menu__link,
.c-menu--push-top .c-menu__link,
.c-menu--push-bottom .c-menu__link {
    display: block;
    padding: 0 4px;
    color: #fff;
}

.c-menu--slide-top .c-menu__close,
.c-menu--slide-bottom .c-menu__close,
.c-menu--push-top .c-menu__close,
.c-menu--push-bottom .c-menu__close {
    display: inline-block;
    margin-right: 12px;
    padding: 0 24px;
    height: 60px;
    line-height: 60px;
}


/**
 * Slide/Push Menu Top.
 */

.c-menu--slide-top,
.c-menu--push-top {
    top: 0;
    left: 0;
    -webkit-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    transform: translateY(-60px);
}

.c-menu--slide-top.is-active,
.c-menu--push-top.is-active {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}


/**
 * Slide/Push Menu Bottom.
 */

.c-menu--slide-bottom,
.c-menu--push-bottom {
    bottom: 0;
    left: 0;
    -webkit-transform: translateY(60px);
    -ms-transform: translateY(60px);
    transform: translateY(60px);
}

.c-menu--slide-bottom.is-active,
.c-menu--push-bottom.is-active {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}


/**
 * Wrapper states.
 *
 * Various wrapper states occur depending on if a menu is pushing into view, in
 * which case, the wrapper has to be pushed by the respective distance.
 */

.o-wrapper.has-push-left {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

@media all and (min-width: 320px) {
    .o-wrapper.has-push-left {
        -webkit-transform: translateX(470px);
        -ms-transform: translateX(470px);
        transform: translateX(470px);
    }
}

.o-wrapper.has-push-right {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

@media all and (min-width: 320px) {
    .o-wrapper.has-push-right {
        -webkit-transform: translateX(-470px);
        -ms-transform: translateX(-470px);
        transform: translateX(-470px);
    }
}

.o-wrapper.has-push-top {
    -webkit-transform: translateY(60px);
    -ms-transform: translateY(60px);
    transform: translateY(60px);
}

.o-wrapper.has-push-bottom {
    -webkit-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    transform: translateY(-60px);
}


/**
 * Body states.
 *
 * When a menu is active, we want to hide the overflows on the body to prevent
 * awkward document scrolling.
 */

body.has-active-menu {
    overflow: hidden;
}


/**
 * Close button resets.
 */

.cart_close {
    display: block;
    position: relative;
    width: 100%;
    height:22px;
}
.cart_close a {
    position: absolute;
    right: 0px;
    top:0;
    transform: rotate(0deg);
    transition: all .35s ease-out;
}
.cart_close a:hover{
    transform: rotate(180deg)
}
.c-menu__close:focus {
    outline: none;
}
.cart_item_title{
    display: block;
    margin-top:18px;
}
.cart_item_title span{
    display: block;
}
.cart_item_title span.cont_txt1{
    font-size:25px;
    line-height: 25px;
    letter-spacing: 2px;
}
.cart_item_title span.cont_txt2{
    font-size:13px;
    line-height: 13px;
    letter-spacing: 2px;
    margin-top:10px;
}
.cart_item_list{
    display: block;
    margin-top:35px;
    font-size:12px;
    line-height: 12px;
    letter-spacing: 1px;
    border-bottom:#dfdfdf 1px solid;
    padding-bottom:12px;
    margin-bottom:0px;
}
.cart_item_list span.cont_txt1{
    letter-spacing: 2px;
}
.item_count{
    display: table;
    width:100%;
    margin-top:180px;
}
.item_count abbr{
    display: table-cell;
    width:50%;
    vertical-align: middle;
}
.item_count abbr.count_name{
    font-size:14px;
    line-height: 14px;
    letter-spacing: 1px;
}
.item_count abbr.count_total{
    text-align: right;
    font-size:24px;
    line-height: 24px;
    letter-spacing: 2px;
}
.item_btn{
    display: block;
    margin-top:20px;
}
.item_btn a{
    width: 100%;
    height:38px;
    line-height: 38px;
    font-size:14px;
    text-align: center;
    background: #524662;
    color:#fff;
    display: inline-block;
    letter-spacing: 1px;
    background-color: rgba(57, 45, 73, 1);
    background-position: right top;
    background-image: url(../../images/common_icon/trapezoid_right.png);
    background-repeat: no-repeat;
}

.cart_item_cont{
    overflow-x: hidden;
    overflow-y: scroll;
    max-height:350px;
}
.cart_item_cont::-webkit-scrollbar {
    width: 6px!important;
}
.cart_item_cont::-webkit-scrollbar-track {
}
.cart_item_cont::-webkit-scrollbar-thumb {
    border-radius: 10px!important;
    background-color: #e4e4e4;
}
.cart_item_cont li{
    display: block;
    width: 100%;
    position: relative;
    border-bottom:#dfdfdf 1px solid;
    padding-top:4px;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}
.cart_item_cont li:hover{
    background: #fff;
}
.cart_item_cont li .item_close{
    display: block;
    text-align: right;
    position: absolute;
    right:10px;
}
.cart_item_cont li .item_close a{
    color:#a9a9a9;
    font-size:18px;
}
.cart_item_cont li .item_close a:hover{
    color:#392d49;
}
.cart_item_cont li .item_cotnent{
    display: block;
    margin:0 auto;
    width:90%;
}
.cart_item_cont li .item_cotnent .media-body{
    padding-left:20px;
}
.cart_item_cont li .item_cotnent span{
    display: block;
}
.cart_item_cont li .item_cotnent span.cont_title{
    font-size:18px;
    letter-spacing: 1px;
    font-weight: 100;
}
.cart_item_cont li .item_cotnent span.cont_txt{
    margin-top:7px;
}
.cart_item_cont li .item_cotnent span.cont_txt abbr{
    display: inline-block;
    font-size:16px;
    vertical-align: middle;
}
.cart_item_cont li .item_cotnent span.cont_txt abbr.txt_number{
    margin-right:35px;
}
.cart_item_cont li .item_cotnent span.cont_txt abbr.txt_line{
    width:1px;
    height:16px;
    background: #dfdfdf;
    margin-right:32px;
}
.cart_item_cont li .item_cotnent span.cont_txt abbr.txt_price{
    letter-spacing: 1.5px;
}
/* -----------------------------------------------------------------------------

  MASK COMPONENT
  
----------------------------------------------------------------------------- */

.c-mask {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 0;
    height: 0;
    background-color: #fff;
    opacity: 0;
    -webkit-transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
    transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
}

.c-mask.is-active {
    width: 100%;
    height: 100%;
    opacity: 0.9;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}


/* -----------------------------------------------------------------------------

  BUTTONS
  
----------------------------------------------------------------------------- */

.c-buttons {
    margin-bottom: 48px;
    text-align: center;
}

.c-button {
    display: inline-block;
    margin: 4px;
    padding: 12px 24px;
    color: #67b5d1;
    background: none;
    font-size: 14px;
    border: solid 2px #67b5d1;
    box-shadow: none;
    border-radius: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.c-button:focus {
    outline: none;
}

.c-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* -----------------------------------------------------------------------------

  CARBON AD COMPONENT
  
----------------------------------------------------------------------------- */

#carbonads {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 1000;
    padding: 24px 12px 12px 12px;
    width: 154px;
    background-color: #fff;
    line-height: 1.1;
    border: solid 1px #e7e7e7;
}

.carbon-wrap {
    display: block;
    margin: 0 0 4px 0;
}

.carbon-img {
    display: block;
    margin: 0 0 4px 0;
    padding: 0;
    width: 130px;
    height: 100px;
}

.carbon-text {
    color: #818181;
    font-size: 12px;
}

.carbon-poweredby {
    font-size: 10px;
    font-style: italic;
}

.carbonad__close {
    display: block;
    position: absolute;
    top: 0;
    left: 12px;
    height: 24px;
    font-size: 11px;
    line-height: 24px;
}

@media all and (max-width: 660px) {
    #carbonads {
        display: none;
    }
}
