/* ------------------------------- CSS for edit popup ------------------------------- */
body .box-popup-menu .editable-buttons i {
    margin-right: 0;
}

body .box-item .box-edit-file {
    position: absolute;
    right: 7px;
    top: 7px;
    background: black;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-popup-menu-item {
    position: absolute;
    right: 125px;
    top: -198px;
    padding: 15px 14px 10px;
    display: none;
    background: #eee;
    border: 1px solid #ddd;
    width: 325px;
}

.box-popup-menu-item-add {
    position: absolute;
    right: -196px;
    top: -208px;
    padding: 15px 14px 10px;
    display: none;
    background: #eee;
    border: 1px solid #ddd;
    width: 325px;
}

.box-popup-facebook-social, .box-popup-instagram-social, .box-popup-button {
    position: absolute;
    right: -260px;
    top: -141px;
    padding: 15px 14px 10px;
    display: none;
    background: #eee;
    border: 1px solid #ddd;
    width: 325px;
}

.box-item {
    position: relative;
}
/* End */

/* ------------------------------- CSS for menu item ------------------------------- */
.menu-item {
    padding: 5px;
    border: dashed 1px #0088cc !important;
    position: relative;
    padding-right: 30px;
}

.menu-item-delete {
    position: relative;
    top: -17px;
    right: -36px;
    display: inline-block;
}

body .box-popup-menu .editable-buttons i {
    margin-right: 0;
}
/* End */

/* ------------------------------- CSS for header ------------------------------- */
.header .box-editable,
.header .header-top-left {
    position: relative;
}

.header .header-top-right .nav li a {
    padding: 5px 40px 5px 20px;
    margin: 10px 10px 10px 0;
}

.header .box-editable .icon {
    top: 3px;
}

.header .box-item .box-edit-file {
    top: 3px;
    right: -30px;
}

.header .li-menu .fa-times-circle {
    position: absolute;
    top: 3px;
    right: -5px;
}

body .header .box-popup-menu {
    position: absolute;
    right: 0;
    top: -129px;
    padding: 15px 14px 10px;
    display: none;
    background: #eee;
    border: 1px solid #ddd;
    width: 325px;
}
/* End */

/* ------------------------------- CSS for other ------------------------------- */
.banner-left .popover {
    top: -1.4062px !important;
}

.banner-left .popover ul.wysihtml5-toolbar {
    display: flex;
    margin-bottom: 10px;
}

/* Rating Star */
.review-item .product-reviews-summary {
    display: block;
    margin: 5px 0;
}

.product-reviews-summary .rating-summary {
    margin: 0 4px 0 0;
}

.rating-summary .label {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.rating-summary .rating-result {
    width: 101px;
    position: relative;
    vertical-align: middle;
    display: inline-block;
}

.rating-summary .rating-result > span:before, .rating-summary .rating-result:before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    display: block;
    letter-spacing: 3px;
    font-size: 19px;
    height: 19px;
    line-height: 19px;
}

.rating-summary .rating-result > span:before {
    content: "" "" "" "" "";
    color: #d71d44;
    position: relative;
    z-index: 2;
}

.rating-summary .rating-result > span {
    display: block;
    overflow: hidden;
}

.rating-summary .rating-result:before {
    content: "" "" "" "" "";
    position: absolute;
    top: 0;
    left: 0;
    color: #aaaaaa;
    width: 100%;
    z-index: 1;
}

/* Cropper Popup */
.cropper-view-box {
    outline: 1px solid #fff !important;
}

.cropper-line, .cropper-dashed, .cropper-point {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    -ms-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    -o-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
}

.cropper-dashed {
    border: 2px solid #fff !important;
    opacity: 1 !important;
    background: none !important;
}

.cropper-point {
    height: 15px !important;
    opacity: 1 !important;
    width: 15px !important;
    border-radius: 50px;
}

.cropper-point.point-nw {
    left: -8px !important;
    top: -8px !important;
}

.cropper-point.point-se {
    bottom: -8px !important;
    right: -8px !important;
}

.cropper-point.point-sw {
    bottom: -8px !important;
    left: -8px !important;
}

.cropper-point.point-ne {
    right: -8px !important;
    top: -8px !important;
}

.cropper-point.point-e,
.cropper-point.point-n,
.cropper-point.point-w,
.cropper-point.point-s {
    display: none;
}

.cropper-dashed.dashed-h {
    border-right: none !important;
    border-left: none !important;
}

.cropper-dashed.dashed-v {
    border-top: none !important;
    border-bottom: none !important;
}

.cropper-line.line-e,
.cropper-line.line-w {
    width: 4px;
    opacity: 1;
}

.cropper-line.line-n,
.cropper-line.line-s {
    opacity: 1;
}

.modal-header, .modal-footer {
    display: flex;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-body {
    padding: 3rem;
}

.modal-footer {
    justify-content: flex-end;
}

.modal-footer .btn-group {
    margin-right: 5px;
}

.cropper-wrap-box {
    background: #fff;
}

.modal-footer .btn-primary {
    background: #fff;
    color: black;
    border: 1px solid #e6edef;
}

.modal-footer .btn-primary.crop {
    color: #ffffff !important;
}

/* Photos Video */
.file-upload {
    display: none !important;
}

.row.box-img {
    margin-right: -10px !important;
    margin-left: -10px !important;
}

.block-grid-item {
    width: 23%;
    float: left;
    border: 1px solid #e6edef;
    height: 140px;
    text-align: center;
    margin-left: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.block-grid-item label:hover, .listing-detail select:hover {
    cursor: pointer;
}

.block-grid-item label.screen-reader-only {
    font-weight: 200;
    height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.block-grid-item .fa-camera {
    font-size: 1.5em;
}

.box-preview-img {
    display: none;
}

.block-grid-item {
    position: relative;
}

.box-preview-img img, .insert-thumbnail, .block-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.block-grid-item img {
    width: 50%;
}

.remove-photo {
    position: absolute;
    left: 55%;
    top: 90px;
}

label.btn-act-photo {
    position: absolute;
    left: 22%;
    top: 90px;
}

.btn-act-photo .fa-camera {
    font-size: 14px;
}

.btn-act-photo {
    background: #fff;
    padding: 6px 12px;
    border: 1px solid #e6edef;
    border-radius: 4px;
    display: none;
}

.block-grid-item:hover .btn-act-photo {
    display: block;
}

.block-vid-item {
    width: 23%;
    float: left;
    border: 1px solid #e6edef;
    height: 140px;
    text-align: center;
    margin-left: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.block-vid-item label {
    font-weight: 200;
    height: 140px;
    width: 100%;
}

.insert-video {
    position: relative;
}

.remove-video, .remove-video-thumbnail {
    position: absolute;
    bottom: 10px;
    left: 42%;
    color: #d22d3d;
    display: none;
    border-radius: 4px;
    border: 1px solid #e6edef;
    padding: 5px 11px;
}

.insert-video-thumbnail:hover .remove-video-thumbnail {
    display: block;
}

.insert-video:hover .remove-video {
    display: block;
}

.file-upload-video {
    display: none !important;
}

.box-preview {
    border: 1px solid #e6edef;
    padding: 20px 10px;
    margin-top: -1px;
    background-color: #fff;
}

.box-preview:last-child {
    margin-bottom: 20px;
}

.box-preview img {
    width: 50px;
    display: inline-block;
}

.action-remove {
    float: right;
}

.card, .insert-thumbnail {
    background-size: contain !important;
    background-position: 50% 50% !important;
    background-repeat: no-repeat !important;
    height: 138px;
}

.insert-thumbnail {
    display: none;
}

.action-photo label {
    display: none;
}

.file-upload, .cropper {
    display: none !important;
}

.img-preview {
    display: none;
}
/* End */


/* Left / Right bar */
.right-bar ul li {
    display: inline-block;
    justify-content: center;
    vertical-align: bottom;
    font-size: 13px;
    padding-right: 12px;
    line-height: 15px;
    position: relative;
}

.happy-cookie .header-page .shop-bar .mf-container .right-bar ul li:last-child {
    margin-right: 0;
    padding-right: 0;
    border: none
}

.happy-cookie .header-page .shop-bar .mf-container .right-bar ul li:first-child {
    padding-left: 18px
}

.happy-cookie .header-page .shop-bar .mf-container .right-bar ul li a {
    color: #000
}

.happy-cookie .header-page .shop-bar .mf-container .left-bar ul li:first-child {
    padding-left: unset;
}

.happy-cookie .header-page .shop-bar .mf-container i {
    font-size: 14px;
}

/* Input product name */
#product-name {
    background: unset;
    border: 1px solid #e6edef;
}

#product-name:active, #product-name:focus {
    background: unset;
}
