/* 
    Created on : Jan 22, 2019, 11:33:50 AM
    Author     : Artem Yuriev
*/

.wrapper-upsell-thankyou.row {
    margin-right: 15px;
    margin-left: 15px;
}

.el-greco .wrapper-upsell-thankyou.row {
    margin-right: auto;
    margin-left: auto;
    max-width: 700px;
}

.wrapper-upsell-thankyou {
    position: relative;
    /*max-width: 821px;
    min-width: 320px;
    margin: 30px auto;
    padding: 0px 30px 0px 30px;*/
    background-color: #fff;
    display: block !important;
}

@media (max-width: 768px) {
    .wrapper-upsell-thankyou {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .title-upsell p {
        margin-bottom: 5px;
    }

    .container-text p {
        margin: 0px;
    }
}

.wrapper-upsell-thankyou .title-upsell {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

div.container-text {
    font-size: 14px;
}

p.container-text {
    font-size: 14px;
}

.container-text {
    text-align: center;
    margin-bottom: 0px;
}

.upsell-thankyou-title-mobile a span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1.4em;
    max-height: 2.8em;
    -webkit-box-orient: vertical;
}

.upsell-thankyou-title a span:not(.fadeout-thankyou-title) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1.3em;
    max-height: 2.4em;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
}
.upsell-thankyou-title a:hover{
    color: #777;
}

.upsell-thankyou-show-button {
    background-color: #434343;
    color: #fff;
}

.upsell-thankyou-show-button:focus {
    color: #fff;
}

.upsell-thankyou-show-button:hover {
    color: #fff;
    background-color: #323232;
}

.upsell-thankyou-title-mobile a {
    color: #383838;
    font-size: 14px;
    text-decoration: none;
}

.upsell-thankyou-title a {
    color: #383838;
    font-size: 14px;
    text-decoration: none;
}

.thankyou-upsell-padding {
    margin-left: 0px;
    margin-bottom: 0px;
    position: relative;
}

.thankyou-upsell-button {
    position: absolute;
    bottom: 0px;
    left: 35%;
    padding-bottom: 10px;
}

.visible-xs-block .upsell-thankyou-title {
    margin-bottom: 0px;
}

.upsell-thankyou-title {
    margin-bottom: 5px;
}

.discount span {
    background: url(../davinci2/img/css/price.png) 50% no-repeat;
    background-size: contain;
    color: #fff;
    line-height: 15px;
    padding: 5px 0 0;
    display: inline-block;
    font-size: 13px;
    width: 40px;
    height: 39px;
    text-align: center;
    text-transform: uppercase;
}

.discount {
    position: absolute;
    top: 5px;
    left: 5px;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
    -webkit-box-pack: center !important;
}

.col-xs-25 {
    width: 30%;
}

.upsell_image_wrapper.col-sm-9 {
    flex: unset;
    padding: 0px;
    max-width: 14%;
}

.justify-content-center .col-lg-10 {
    flex: 0 0 12%;
    margin: 10px 5px 0px 5px;
}

.btn.upsell-thankyou-show-button {
    line-height: 10px;
    min-width: 100px
}

@media (min-width: 768px) {
    .visible-xs-block {
        visibility: hidden;
        display: none;
    }
}

@media (max-width: 767px) {
    .hidden-xs {
        visibility: hidden;
    }

    .justify-content-center {
        visibility: hidden;
        height: 0px;
    }

    .col-xs-33.col-xs-offset-2 {
        width: 60%;
    }

    .upsell-thankyou-title-mobile {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .upsell-product-price {
        margin-bottom: 0px;
    }
}

.justify-content-center {
    justify-content: center !important;
    -webkit-box-pack: center !important;
}

.fadeout-thankyou-title-mobile {
    margin-left: 50%;
    display: block;
    position: absolute;
    top: 30px;
    height: 1.4em;
    right: 0px;
    width: 50%;
    background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.fadeout-thankyou-title {
    margin-left: 50%;
    display: block;
    position: absolute;
    top: 16px;
    height: 1.4em;
    width: 50%;
    background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.break-text {
    word-break: break-all;
}

.upsell-bottom-button a {
    color: #fff;
}