* {
    box-sizing: border-box;
}
#nbdesigner_frontend_area img {
    margin: 0 5px 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}
body.nbd-prevent-scroll, html.nbd-prevent-scroll {
    overflow: scroll;
    width: 100%;
    height: 90%;
    font-size: 90%;
}
.nbd-edit-design {
    border: 0;
    border-radius: 0;
    cursor: pointer;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
}

a.button.nbd-edit-design {
    text-decoration: none;
}
a.button.nbd-edit-design:active {
    color: #cccccc;
}
.nbd-edit-design:hover{
    background : #cccc;

}
.tile__text-wrap-inner ul li {
    margin-bottom: 0;
}
.atom-loading {
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top:  -50px;
    position: relative;
}
@-webkit-keyframes atom-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes atom-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}
.rtl .atom-loading {
    right: 50%;
    margin-right: -50px;
}
.loading__ring {
    position: absolute;
    width: 100px;
    height: 100px;
}
.loading__ring:first-child {
    -webkit-transform: skew(30deg, 20deg);
    transform: skew(30deg, 20deg);
}
.loading__ring:last-child {
    -webkit-transform: skew(-30deg, -20deg) scale(-1, 1);
    transform: skew(-30deg, -20deg) scale(-1, 1);
}
.loading__ring:last-child svg {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.loading__ring svg {
    -webkit-animation: atom-rotate 1s linear infinite;
    animation: atom-rotate 1s linear infinite;
    fill: rgba(0, 0, 0, 0.2);
}
.nbd-popup-list-preview-img {
    max-width: 100px !important;
    display: inline-block;
}
.nbdesigner_pp_close {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    background: #f98332;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    cursor: pointer;
    font-size: 20px;
    line-height: 30px;
    z-index: 3;
}
#triggerDesign {
    margin-left: 0;
    background-image: none;
    background: #1979c3;
    border: 1px solid #1979c3;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    padding: 10px 10px;
    box-sizing: border-box;
    vertical-align: middle;
    width: 65%;
    border-radius: 3px;
    text-align: center;
    font-size: 1.8rem;
}

#triggerDesign:hover {
    background: #006bb4;
    border: 1px solid #006bb4;
    color: #fff;
    text-decoration: none;
}

.nbdesigner-disable {
    opacity: 0.2;
    pointer-events: none;
}

.nbdesigner_disable {
    opacity: 0.5;
    cursor: not-allowed !important;
}

#nbdesigner_frontend_area {
    margin-top: 15px;
}

a.button.design-action-grid {
    text-decoration: none;
    background-image: none;
    background: #1979c3;
    border: #1979c3;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
    box-sizing: border-box;
    vertical-align: middle;
    border-radius: 0;
    line-height: 1;
    font-weight: 600;
    padding: 12px 7px 10px 10px;
    font-size: 1.3rem;
}

a.button.design-action-grid:hover {
    background: #006bb4;
    border: #006bb4;
}
/* NBD Popup */
body.open-nbd-popup {
    overflow: hidden;
}
.nbd-popup {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
    opacity: 1;
    top: 0;
    overflow: auto;
    overflow-y: scroll;
}
.nbd-popup.hide {
    opacity: 0;
    top: -99999px;
}
.nbd-popup .nbd-popup-content-wrap {
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -webkit-transition: all ease .4s;
    transition: all ease .4s;
    -ms-transform: translateY(100px) scale(0.8);
    -webkit-transform: translateY(100px) scale(0.8);
    transform: translateY(100px) scale(0.8);
    opacity: 0;
    position:relative;
    -webkit-box-shadow: 0 11px 14px -7px rgba(0,0,0,.2), 0 23px 36px 3px rgba(0,0,0,.14), 0 9px 44px 8px rgba(0,0,0,.12);
    -moz-box-shadow: 0 11px 14px -7px rgba(0,0,0,.2), 0 23px 36px 3px rgba(0,0,0,.14), 0 9px 44px 8px rgba(0,0,0,.12);
    -ms-box-shadow: 0 11px 14px -7px rgba(0,0,0,.2), 0 23px 36px 3px rgba(0,0,0,.14), 0 9px 44px 8px rgba(0,0,0,.12);
    box-shadow: 0 11px 14px -7px rgba(0,0,0,.2), 0 23px 36px 3px rgba(0,0,0,.14), 0 9px 44px 8px rgba(0,0,0,.12);
    border-radius: 4px;
    background: #fff;
}
.nbd-popup.active .nbd-popup-content-wrap {
    -ms-transform: translateY(0) scale(1);
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
    opacity: 1;
}
.nbd-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    display: block;
    width: 30px;
    height: 30px;
    padding: 3px;
    background: #fff;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -webkit-transition: all ease .4s;
    transition: all ease .4s;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -moz-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -ms-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9;
}
.nbd-popup-close svg {
    color: #757575;
    fill: #757575;
}
.nbd-popup-close:hover {
    -webkit-box-shadow: 0 3px 10px 0 rgba(75,79,84,.3);
    -moz-box-shadow: 0 3px 10px 0 rgba(75,79,84,.3);
    -ms-box-shadow: 0 3px 10px 0 rgba(75,79,84,.3);
    box-shadow: 0 3px 10px 0 rgba(75,79,84,.3);
}
.nbd-popup-close:hover svg{
    color: #0c8ea7;
    fill: #0c8ea7;
}
.nbd-popup-content-inner, .nbd-popup-content, .nbd-popup-content .loading {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: relative;
}
.nbd-popup-content .loading {
    position: absolute;
}
.nbd-popup-content .loading.hide, .nbd-popup-content-inner.hide {
    display: none;
}
.nbd-popup-content-inner {
    padding: 15px;
}
.nbd-popup-actions {
    margin: 30px 0;
}
.nbd-popup-large-img img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}
.nbd-popup-start-design {
    line-height: 40px;
    padding: 0 15px;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -moz-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -ms-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    height: 40px;
    display: inline-block;
    text-transform: uppercase;
    background: #0c8ea7;
    color: #fff;
    float: right;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -webkit-transition: all ease .4s;
    transition: all ease .4s;
    text-decoration: none !important;
}
.nbd-popup-content-inner img {
    -webkit-box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    -moz-box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    -ms-box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -webkit-transition: all ease .4s;
    transition: all ease .4s;
    max-height: 300px;
}
.nbd-popup-start-design:hover, .nbd-popup-content-inner img:hover {
    -webkit-box-shadow: 0 7px 8px -4px rgba(0,0,0,.2), 0 12px 17px 2px rgba(0,0,0,.14), 0 5px 22px 4px rgba(0,0,0,.12);
    -moz-box-shadow: 0 7px 8px -4px rgba(0,0,0,.2), 0 12px 17px 2px rgba(0,0,0,.14), 0 5px 22px 4px rgba(0,0,0,.12);
    -ms-box-shadow: 0 7px 8px -4px rgba(0,0,0,.2), 0 12px 17px 2px rgba(0,0,0,.14), 0 5px 22px 4px rgba(0,0,0,.12);
    box-shadow: 0 7px 8px -4px rgba(0,0,0,.2), 0 12px 17px 2px rgba(0,0,0,.14), 0 5px 22px 4px rgba(0,0,0,.12);
}
.nbd-popup-list-preview img {
    padding: 3px;
    border: 1px solid #fff;
    background: #fff;
    border-radius: 0;
    cursor: pointer;
}
.nbd-popup-list-preview img.active {
    border-color: #0c8ea7;
}
.nbd-popup-design-name {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}
.nbd-add-template-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0c8ea7;
    display: block;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    position: fixed;
    bottom: 32px;
    right: 32px;
    -webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
    box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -webkit-transition: all ease .4s;
    transition: all ease .4s;
}
.nbd-add-template-btn:hover {
    -webkit-box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
    box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.2);
}
.nbd-select {
    background: #fff url(../images/select-arrows.png) no-repeat 100% 50%;
    border: 1px solid #ccc;
    padding: 0.5em 0.75em;
    padding-right: 2em;
    -webkit-appearance: button;
    -moz-appearance: button;
    -ms-appearance: button;
    margin-bottom: 15px;
    height: 36px;
    cursor: pointer;
    margin-left: 15px;
    line-height: 20px;
}
.nbd-preview-product-variation {
    margin: 15px 0 0;
}
.nbd-popup-list-product.has-scroll {
    max-height: 500px;
    overflow: hidden;
    overflow-y: scroll;
}
.nbd-back-to-list-pp-products {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    padding: 5px;
    vertical-align: middle;
    border-radius: 50%;
    background: #eee;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    transition: all 0.4s;
}
.nbd-back-to-list-pp-products:hover {
    -webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -moz-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -ms-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
}
@-webkit-keyframes atom-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes atom-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.atom-loading {
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top:  -50px;
    position: relative;
}
.rtl .atom-loading {
    right: 50%;
    margin-right: -50px;
}
.loading__ring {
    position: absolute;
    width: 100px;
    height: 100px;
}
.loading__ring:first-child {
    -webkit-transform: skew(30deg, 20deg);
    transform: skew(30deg, 20deg);
}
.loading__ring:last-child {
    -webkit-transform: skew(-30deg, -20deg) scale(-1, 1);
    transform: skew(-30deg, -20deg) scale(-1, 1);
}
.loading__ring:last-child svg {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.loading__ring svg {
    -webkit-animation: atom-rotate 1s linear infinite;
    animation: atom-rotate 1s linear infinite;
    fill: rgba(0, 0, 0, 0.2);
}
.nbd-popup-list-preview-img {
    max-width: 100px !important;
    display: inline-block;
}
/* End. NBD Popup */
.nbd-gallery-filter-tag {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 17px;
    background: #fff;
    height: 32px;
    padding: 0 3px 0 17px;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -moz-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -ms-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}
.nbd-filter-tag-name {
    vertical-align: middle;
}
.nbd-filter-tag-remove {
    vertical-align: middle;
    height: 26px;
    width: 26px;
    border: 1px solid #c8cbcc;
    border-radius: 50%;
    display: inline-block;
    margin-top: 3px;
    margin-left: 5px;
    cursor: pointer;
}
.nbd-filter-color {
    vertical-align: middle;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    display: inline-block;
    margin-top: 3px;
    margin-left: -14px;
}
.nbd-filter-tag-remove svg path {
    fill: #ddd;
}
.nbd-filter-tag-remove:hover svg path {
    fill: #db133b;
}
.nbd-gallery-filter {
    margin-bottom: 15px;
}
.nbd-gallery-filter-text {
    font-weight: bold;
    color: #0c8ea7;
    margin-right: 20px;
    vertical-align: middle;
}
.nbd-color-list-item {
    display: inline-block;
    margin: 2px;
}
.nbd-color-list-item-inner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}
.nbd-color-list-item-inner.active {
    border: 2px solid #db133b;
    box-sizing: border-box;
}
p.nbd-sidebar-h3 {
    font-weight: bold;
}