.env-top {
    background: url(../img/bag/envelope/env-top-bg.jpg) no-repeat top;
    background-size: cover;
    min-height: 500px;
}

.env-top.top_sides_box-top {
    background: url(../img/box/box-top-printed-bg.jpg) no-repeat top;
    background-size: cover;
}

.env-top.box-top {
    background: url(../img/box/box-top-bg.jpg) no-repeat top;
    background-size: cover;
}

.rigid-top {
    background: url(../img/bag/rigid/rigid-top-bg.jpg) no-repeat top;
    background-size: cover;
}
.poly-top {
    background: url(../img/bag/poly/poly-top-bg.jpg) no-repeat top;
    background-size: cover;
}
.poly_bubble-top {
    background: url(../img/bag/envelope/poly-bubble-top-bg-new.jpg) no-repeat top;
    background-size: cover;
}
.metallic_bubble-top {
    background: url(../img/bag/bubble-metallic-top-bg.jpg) no-repeat top;
    background-size: cover;
}


.env-head h2,
.env-head p {
    color: white;
}

.env-head p {
    padding-top: 10px;
}
.env-head h2 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}
.env-head .ratings-wrapper {
    color: #f7d54e;
}

.env-head a {
    color: yellow;
}

.env-form form {
    background-color: #fff;
    display: block;
    padding: 15px 15px 15px 10px;
    margin: 20px;
    border: 4px solid #777;
    border-radius: 15px;
    min-width: 250px;
}

.env-form__type {
    margin-bottom: 20px;
}

.env-form__price {
    /*    margin-bottom: 10px;*/
}

.env-form__label {
    font-weight: bold;
    padding-left: 5px;
}

.env-form__item {
    font-size: 15px;
    line-height: 21px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-weight: normal;
}
.env-form__item:hover {
    cursor: pointer;
    background: #e7e7e7;
}

.env-form__item input,
.env-form__item .env-form__input {
    width: 5%;
    margin: 0px 8px 0 5px;
}

.env-form__header {
    font-weight: bold;
}

.env-form__header .env-form__cost {
    font-size: 15px;
}

.env-form__tab {
    display: none;
}

.env-form__tab.active{
    display: block;
}

.env-form__qty {
    width: 20%;
}

.env-form__cost {
    width: 20%;
    font-size: 12px;
    color: #777;
}

.env-form__sum {
    width: 25%;
}

.env-form__discount {
    color: #f23f3f;
}

@media (max-width: 349px) {
    .env-form__item input,
    .env-form__item .env-form__input {
        margin: 0px 5px 0 5px;
    }
    .env-form__discount span {
        font-size: 10px;
    }
    .env-form__qty {
        width: 23%;
    }
    .env-form__sum {
        width: 22%;
    }
}

@media (max-width: 991px) {
    .env-form form {
        margin: 20px 0;
    }
}


.env-conf button.button {
    margin: 20px 0;
}


.env-form .reviews-count a {
    color: #428bca;
}

.env-info {
    padding: 50px 0 25px;
    text-align: center;
}

.env-info {
    display: flex;
}
.env-info > div {
    flex-basis: 100%;
}

.env-info h4 {
    font-weight: bold;
}
.env-info .body {
    padding: 0 15px;
}

@media (max-width: 991px) {
    .env-info {
        padding: 25px 0 0;
    }
    .env-info > div {
        flex-basis: 100%;
        width: 33.33333%;
    }
    .env-info img {
        height: 60px;
    }
    .env-info h4 {
        font-size: 15px;
    }
    .env-info p {
        display: none;
    }
    .env-info .body {
        display: flex;
        align-items: center;
        flex-direction: row;
        min-height: 68px;
    }
}


.env-video {
    padding: 25px 0;
}

.env-video-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.env-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

h3 {
    line-height: 40px;
    font-weight: bold;
    font-size: 32px;
    margin: 0 0 25px;
}

.env-reviews {
    padding: 25px 0;
}

.env-reviews li {
    text-align: center;
}

.env-reviews li div {
    font-size: 56px;
    font-weight: bold;
}

#rating-summary {
    padding: 0 0 25px;
    margin-bottom: 45px;
    border-bottom: 1px solid #e7e7e7;
}

.env-reviews .avatar-img {
    border-radius: 50%;
}

.env-reviews .avatar-default {
    background: #e6e6e6;
}

.env-reviews .review-short {
    display: flex;
    margin-bottom: 25px;
}

.env-reviews .avatar {
    margin-right: 25px;
}

.env-reviews .review-short h4 {
    font-weight: bold;
}

.env-reviews .rating-stars em:before {
    color: #f7d54e;
}


.env-conf {
    position: relative;
    z-index: 100;
}

.env-conf h1,
.env-conf h2 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.env-conf .button {
    max-width: 300px;
}

.btn-primary {
    color: #fff;
    background-color: #428bca !important;
    border-color: #357ebd !important;
}

.image-gallery-asym>:nth-child(1),
.image-gallery-asym>:nth-child(2),
.image-gallery-asym>:nth-child(3) {
    display: block;
}


.image-gallery-asym {
    margin: 20px auto;
}

.image-gallery-asym>:nth-child(1) {
    margin-bottom: 4%;
    max-width: 100%;
}
.image-gallery-asym>:nth-child(2) {
    margin-left: 4%;
    width: 48%;
    float: right;
}

.image-gallery-asym>:nth-child(3) {
    width: 48%;
    float: right;
}

.env-rel {
    padding-top: 40px;
}

.env-rel__list {
    display: block;
}

.env-rel__list h4 {
    font-weight: bold;
    font-size: 16px;
}

.env-rel__list h4 a{
    color: black;
}

.env-rel__list div img {
    display: block;
    width: 100%;
    max-width: 310px;
}

.env-rel {
    padding: 40px 0;
}


@media (min-width: 600px) {

    .env-rel__list {
        display: flex;
    }

    .image-gallery-asym>:nth-child(1) {
        float: left;
        width: 68.6%;
        padding-right: 20px;
        margin-bottom: 0;
    }
    .image-gallery-asym>:nth-child(2) {
        margin-left: 0;
        margin-bottom: 20px;
        width: 31.4%;
    }
    .image-gallery-asym>:nth-child(3) {
        width: 31.4%;
    }
    .env-rel__list div:nth-child(2){
        margin: 0 20px;
    }

}

h5 {
    font-weight: bold;
}

.env-file {
    max-width: 500px;
    width: 100%;
    margin: 20px auto 10px auto;
    position: relative;
}

.artwork-upload-form .field.file {
    height: 34px;
    margin-bottom: 0;
    position: relative;
}

.field.file input[type=file] {
    height: 34px;
    z-index: 2;
    position: relative;
    opacity: 0;
}

.fake {
    display: -webkit-flex;
    display: flex;
}

.field.file .fake {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.field.file .fake button {
    float: left;
    /*margin: 0 5px 0 0;
    padding: 10px 16px;*/
}

.fake .file-input-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border: 1px solid #c8c8c8;
    background: #fff;
    border-radius: 0 5px 5px 0;
    -webkit-flex: 1;
    flex: 1;
    border-left: 0;
    left: -2px;
}

.fake .file-input-wrapper input {
    position: relative;
    width: 100%;
    border: 0;
    background: 0 0;
    height: 32px;
    padding-left: 5px;
}

.env-canvas {
    transition: none;
    padding-top: 25px;
    height: auto;
    visibility: visible;
}

.editor-wrapper .env-canvas {
    visibility: hidden;
}

.box-side-active .env-canvas {
    visibility: visible;
}

.env-canvas.hideaway {
    transition: none;
    padding-top: 0;
    visibility: hidden;
    height: 0;
}

.env-type {
    text-align: center;
    padding-bottom: 10px;
    margin-top: 25px;
}

.env-type ul {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.env-type ul li {
    padding: 5px;
    border: 1px solid #c8c8c8;
    border-right: 0;
    margin: 1px;
}
.env-type a{
    color: #f23f3f;
}

.env-type ul li:last-child {
    border-right: 1px solid #c8c8c8;
}

.env-area {
    width: 100%;
    max-width: 500px;
    height: 94px;
}

.env-area-label {
    text-align: left;
    width: 100%;
    max-width: 500px;
    padding-top: 25px;
    padding-bottom: 5px;
}


.envWrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.bag_bg {
    background: url(../img/bag/envelope/bg.jpg) no-repeat;
    background-size: cover;
    border-radius: 4px;
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, 0.25);
    position: relative;
}

.custom_print_bg {
    background: url(../img/custom/bg.jpg) no-repeat;
    background-size: cover;
    border-radius: 4px;
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, 0.25);
    position: relative;
}

.env_bg {
    background: #fff;
    box-shadow: none;
    position: relative;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.box-side canvas {
    top: 10px;
    left: 10px;
}

.box-side .canvasTool {
    top: 0px;
    left: 0px;
}

#env_brd, #env_bg {
    width: 100%;
    max-width: 350px;
}

#env_brd.custom_tape_bg, #env_bg.custom_tape_bg{
    width: 100%;
    max-width: 550px !important;
}

.box-side .env_brd,
.box-side .env_bg {
    width: 100%;
    max-width: 450px;
}

.no-scroll {
    overflow: hidden;
    /*position: fixed;    */
}


.env-delete {
    margin-top: 15px;
}

.clearAllEdge {
    position: relative;
    margin-top: -40px;
    text-align: center;
}

.env-delete a:hover,
.clearAllEdge a:hover
{
    cursor: pointer;
}

.env-quality {
    margin-top: 15px;
    background: #fff;
}

.env-quality h3,
.env-quality p {
    line-height: 15px;
    font-size: 12px;
    text-align: center;
    margin: 0 0 5px 0;
}

.env-quality li {
    font-size: 12px;
    margin-bottom: 5px;
    position: relative;
}

.env-quality .env-quality__stars {
    position: absolute;
    top: 0;
    left: 0;
}

.env-quality .env-quality__stars svg {
    width: 12px;
    margin-right: -3px;
    color: #ccc;
}

.env-quality .star-4-green svg,
.env-quality .star-3-green svg {
    color: #58bd31;
}

.env-quality .star-3-green svg:nth-child(1) {
    color: #ccc;
}

.env-quality .star-2-yellow svg:nth-child(3),
.env-quality .star-2-yellow svg:nth-child(4) {
    color: #ffcc00;
}

.env-quality .star-1-red svg:nth-child(4) {
    color: #f23f3f;
}

.env-quality .star-warning {
    top: 6px;
    left: 12px;
}

.env-quality .star-warning svg {
    width: 25px;
    color: #f23f3f;
}

.env-quality__text {
    padding-left: 60px;
    display: inline-block;
}


/*----------------------------------------------------------------*/
/* popup quality for desktop
/*----------------------------------------------------------------*/
.quality-show {
    display: block !important;
    width: 350px !important;
    position: absolute;
    border-radius: 4px;
    top: 0;
    left: 0;
}


.hidden-mob {
    display: none;
}


.env-quality.quality-show {
    margin-top: 0;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

.env-quality.quality-show h3,
.env-quality.quality-show p,
.env-quality.quality-show li {
    line-height: 15px;
    font-size: 12px;
    text-align: left;
    margin: 0 0 5px 0;
    font-weight: normal;
    color: #333;
}

.env-quality.quality-show .env-quality__stars svg {
    width: 12px;
    margin-right: -2px;
}

.env-quality.quality-show .star-warning {
    top: 6px;
    left: 12px;
}

.env-quality.quality-show .star-warning svg {
    width: 20px;
}

.env-quality.quality-show .env-quality__text {
    padding-left: 55px;
}


/* Modal style */

.env-modal .modal-dialog {
    max-width: 540px;
}

.env-modal .modal-header {
    border-bottom: 0;
    padding-bottom: 30px;
}

.env-modal.in {
    display: flex !important;
    align-items: center;
    margin-top: -25%;
}

.env-modal .modal-dialog p {
    text-align: center;
}

.env-modal .modal-footer {
    border-top: 0;
}
.env-modal-alert {
    font-size: 48px;
    color: #aaa;
}

.invalide {
    text-align: center;
    margin: 10px 0 10px;
    color: red;
    font-weight: bold;
}

.env_free_samples_block {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 24px;
}

.env_free_samples_block img {
    max-width: 50%;
}

.env_free_samples_block h1 {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    width: 100%;
    color: #428bca;
    font-size: 24px;
}
.env_free_samples_block h2 {
    font-weight: unset;
}
.env_free_samples_block ul {
    margin-left: 20px;
    list-style: disc;
}
.env_free_samples_block .description {
    font-size: 16px;
    text-align: left;
}

.env_free_samples_block .small-text-note {
    margin-top: 20px;
    text-align: left;
}
.env_free_samples_block b {
    font-weight: bold;
}
.env_free_samples_block img {
    margin: 5px;
}

.link_free_samples {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.link_free_samples a {
    color: #1C75BC;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .env_free_samples_block img {
        max-width: 100%;
    }
    .env_free_samples_block h2 {
        padding: 0;
    }

    .editor-wrapper {
        min-height: 250px;
    }
}

/****************************************************************************/
/* box print select side styles*/
.side-wrapper {
    width: 100%;
    max-width: 350px;
    margin: 25px auto;
    font-size: 18px;
    display: flex;
    justify-content: center;
}
.side-label {
    padding: 15px 10px;
    position: relative;
    background: #efefef;
}

.side-value:hover {
    cursor: pointer;
}

.side-list .side-value:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 10px;
    border: 7px solid transparent;
    border-top: 10px solid #777;
}

.side-list.side-list-open .side-value:after {
    transform: rotate(180deg);
    margin-top: -13px;
}

.side-list {
    position: relative;
    width: 30%;
    background: #efefef;
    margin-left: 3px;
}

.side-list .side-value {
    padding: 15px 10px;
    font-weight: bold;
}
.side-list ul {
    position: absolute;
    width: 100%;
    display: none;
    background: #fff;
}

.side-list ul li {
    background: #fff;
    color: #000;
    padding: 15px 10px;;
    width: 100%;
}

.side-list ul li {
    border-bottom: 1px solid #f0f0f0;
}

.side-list ul li.side-active,
.side-list ul li:hover {
    background: #00A1D9;
    color: #fff;
}

.side-list ul li:hover {
    cursor: pointer;
}
/*********************************************************/


.box-conf h4 {
    text-align: center;
}

/* 3D editor */
.scene3d {
    width: 100%;
    visibility: hidden;
    opacity: 0;
}
.scene3d canvas {
    position: relative;
}

.box-conf .scene3d canvas {
    position: relative;
}

.box-side {
    position: absolute;
    top: 35px;
    left: 15px;
    visibility: hidden;
    width: calc(100% - 30px);
}

@media (min-width: 768px) {

    .box-side {
        top: 80px;
    }

    .env-type {
        margin-top: 50px;
    }

    .editor-wrapper {
        margin-bottom: 50px;
    }

    .env-delete {
        margin-top: 20px;
    }

}

@media (max-width: 768px) {

    .box-side {
        top: 50px;
    }

}

.box-side-active {
    visibility: visible;
    z-index: 100;
}

.box-conf > .row > .col-lg-12 {
    z-index: 1000;
}

.box-conf .env-canvas {
    padding-top: 0;
}

.box-conf .env-quality.quality-show {
    z-index: 100;
}

.box-conf .env-btn-continue {
    visibility: hidden;
}

.box-conf .env-btn-continue.show {
    visibility: visible;
}


/* OWL carousel *********************************************/
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    font-size: 60px;
    line-height: 60px;
    margin-top: -30px;
    left: 0px;
    color: #777;
}
.owl-carousel .owl-nav button.owl-next {
    right: 0px;
    left: auto;
}
/************************************************************/

/* Check all sides ******************************************/
.all-sides-check {
    text-align: center;
}
.all-sides-check__wrapper {
    display: inline-block;
}
.all-sides-check__wrapper span {
    line-height: 20px;
    vertical-align: middle;
    position: relative;
    padding-left: 30px;
}

.all-sides-check__wrapper span:before {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    border: 2px solid #777;
    width: 20px;
    height: 20px;
}

.all-sides-check__wrapper span:after {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    border: 2px solid #777;
    width: 20px;
    height: 20px;
}

.all-sides-check__wrapper.edit-all-sides span:before {
    position: absolute;
    top: -1px;
    left: 2px;
    border: none;
    border-left: 4px solid #428bca;
    border-bottom: 4px solid #428bca;
    width: 24px;
    height: 10px;
    transform: rotate(-45deg);
    z-index: 10;
}
/************************************************************/

.disclaimer {
    margin-top: 30px;
}
.box-area-label {
    padding-top: 0;
    padding-bottom: 5px;
}
.important_box {
    padding-top: 25px;
}

.important_text {
    font-size: 14px;
}
span.select-printed-configurable{
    margin-top: 5px !important;
    padding: 6px 70px !important;;
}

.env-area::-webkit-input-placeholder, .env-area::-moz-placeholder, .env-area:-ms-input-placeholder {
    padding-top: 10px;
}

.cheap_box-top {
    background-color: blue;
    background: url(../img/box/box-crafting-top-bg.jpg) no-repeat top;
    background-size: cover;
}

.tape-top {
    background-color: blue;
    background: url(../img/custom/custom-tape-top-bg.jpg) no-repeat top;
    background-size: cover;
}
.paper-top {
    background: url(../img/bag/paper/top-bg.jpg) no-repeat top;
    background-size: cover;
    min-height: 500px;
}
