body {
    font-family: Cera Pro Regular, sans-serif;
    background: #ffffff;
}

.close-modal {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 15px;
    right: 15px;
    background: url("../img/close_modal.svg") center center no-repeat;
    background-size: contain;
    z-index: 10;
}

.none-padding {
    padding-right: 0;
    padding-left: 0;
}
.close-div {
    display: none;
}

/* ========== check-packages ========== */
.first {
    margin: 110px 0 50px;
}
#check-packages .row:nth-last-child(-n+1) {
    margin-bottom: 108px;
}

.cp-block {
    max-width: 488px;
    margin-bottom: 30px;
    z-index: 3;
    cursor: pointer;
}

.cp-block-wide {
    max-width: 620px;
}

.cp-block:hover .cp-block-image {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
}

.cp-block:hover .cp-weight-icon {
    background: url("../img/category/cp-weight-color-icon.svg") no-repeat center center;
    background-size: contain;
}
.cp-block:hover .cp-price-icon {
    background: url("../img/category/cp-price-color-icon.svg") no-repeat center center;
    background-size: contain;
}

.super-price:after {
    position: absolute;
    top: -35px;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: -1;
    content: "";
    width: 120px;
    height: 60px;
    background: url("../img/attachments/super_price.svg") no-repeat center center;
    background-size: contain;
}

.cp-block-bg {
    height: 230px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(249,245,246,1)),color-stop(78.26%, rgba(249,245,246,1)),color-stop(78.26%, rgba(255,185,1,1)),to(rgba(255,185,1,1)));
    background: -o-linear-gradient(top, rgba(249,245,246,1) 0%,rgba(249,245,246,1) 78.26%,rgba(255,185,1,1) 78.26%,rgba(255,185,1,1) 100%);
    background: linear-gradient(to bottom, rgba(249,245,246,1) 0%,rgba(249,245,246,1) 78.26%,rgba(255,185,1,1) 78.26%,rgba(255,185,1,1) 100%);
    border-radius: 40px;
}

.cp-block-bg-wide {
    height: 300px;
}

.cp-block-image {
    height: 250px;
    width: 250px;
    top: -45px;
    -webkit-transition: 0.7s ease-out;
    -o-transition: 0.7s ease-out;
    transition: 0.7s ease-out;
}

.cp-block-image-wide {
    height: 300px;
    width: 300px;
}

.cp-block-image img{
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    transform: scale(0.85) translateY(15px);
}

.cp-block-image-wide img{
    transform: scale(1.05) translateY(15px);
}

#cp-block-image1, #cpd-block-image {
    background: url("../img/category/1.png") no-repeat center center;
    background-size: contain;
}
#cp-block-image2 {
    background: url("../img/category/2.png") no-repeat center center;
    background-size: contain;
}
#cp-block-image3 {
    background: url("../img/category/3.png") no-repeat center center;
    background-size: contain;
}
#cp-block-image4 {
    background: url("../img/category/4.png") no-repeat center center;
    background-size: contain;
}
#cp-block-image5 {
    background: url("../img/category/5.png") no-repeat center center;
    background-size: contain;
}
#cp-block-image6 {
    background: url("../img/category/6.png") no-repeat center center;
    background-size: contain;
}

.cp-block-ellipse {
    position: absolute;
    height: 16px;
    width: 132px;
    top: 220px;
    left: 35px;
    background: #000000;
    opacity: 0.7;
    -webkit-filter: blur(30px);
    filter: blur(30px);
}

.cp-block-title{
    padding: 20px 0 5px 0;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    /* identical to box height, or 133% */
    color: #369415;
}

.cpd-left-side-wrapper .cp-weight-price-wrapper {
    padding-bottom: 10px;
}

.cp-weight-price-wrapper {
    padding-bottom: 80px;
}
.cp-weight, .cp-price {
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    /* text */
    color: #331606;
}

.cp-weight-icon {
    height: 22px;
    width: 18px;
    margin-bottom: 6px;
    margin-right: 13px;
    background: url("../img/category/cp-weight-icon.svg") no-repeat center center;
    background-size: contain;
    -webkit-transition: 1s ease-out;
    -o-transition: 1s ease-out;
    transition: 1s ease-out;
}

.cp-price-icon {
    height: 19px;
    width: 24px;
    margin-right: 7px;
    background: url("../img/category/cp-price-icon.svg") no-repeat center center;
    background-size: contain;
    -webkit-transition: 1s ease-out;
    -o-transition: 1s ease-out;
    transition: 1s ease-out;
}

.cp-image {
    position: absolute;
    width: 472px;
    height: 420px;
    top: -190px;
    right: 50px;
    background: url("../img/category/cp-image.png") no-repeat center center;
    background-size: contain;
    -webkit-transform: rotate(-11.1deg);
    -ms-transform: rotate(-11.1deg);
    transform: rotate(-11.1deg);
    z-index: -10;
}
.cp-ellipse {
    position: absolute;
    height: 62px;
    width: 334px;
    top: 100px;
    right: 100px;
    background: #000000;
    opacity: 0.5;
    -webkit-filter: blur(30px);
    filter: blur(30px);
    z-index: -9;
}

/* ========== check-packages-detail ========== */
.modal-dialog {
    max-width: none;
}

#cpd-modal-wrapper {
    /*top: 50px;*/
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 72%;
    border-radius: 10px;
}


#cpd-wrapper {
    position: relative;
    min-height: 750px;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    /*background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)),color-stop(1%, rgba(255,255,255,1)),color-stop(65%, rgba(255,255,255,1)),color-stop(65%, rgba(229,225,226,1)),to(rgba(229,225,226,0.95)));*/
    /*background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 1%,rgba(255,255,255,1) 65%,rgba(229,225,226,1) 65%,rgba(229,225,226,0.95) 100%);*/
    /*background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 1%,rgba(255,255,255,1) 65%,rgba(229,225,226,1) 65%,rgba(229,225,226,0.95) 100%);*/
    border-radius: 10px;
    z-index: 10;
    overflow-x: hidden;
}

.cpd-block-title{
    margin: 20px 0 0 0;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 32px;
    /* identical to box height, or 89% */
    color: #369415;
    max-width: 322px;
}

.cpd-block-title-small {
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    /* identical to box height, or 89% */
    color: grey;
    max-width: 322px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.cpd-left-side-wrapper {
    position: fixed;
    top: 98px;
}

.cpd-weight-icon-color {
    background: url("../img/category/cp-weight-color-icon.svg") no-repeat center center;
    background-size: contain;
}
.cpd-price-icon-color {
    background: url("../img/category/cp-price-color-icon.svg") no-repeat center center;
    background-size: contain;
}

.cpd-block-image {
    height: 322px;
    width: 322px;
}

.cpd-block-image img{
    object-fit: contain;
}

.cpd-block-ellipse {
    position: absolute;
    height: 20px;
    width: 170px;
    top: 540px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #000000;
    opacity: 0.7;
    -webkit-filter: blur(30px);
    filter: blur(30px);
}

.cpd-marker-wrapper {
    height: 88px;
}
.cpd-marker {
    margin: 0 10px 11px;
    padding: 22px 13px 16px;
    background: #ffb90159 !important;
}

.cpd-marker-title {
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    color: #331606!important;
}

.cpd-marker-price {
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    margin-left: 5px;
    color: #908F8D;
}

.cpd-marker:hover, .cpd-marker:focus, .cpd-marker:active {
    background: rgba(40, 167, 69, 0.74) !important;
    /*background: #EBFFE6;*/
}

.cpd-marker:hover .cpd-marker-title, .cpd-marker:focus .cpd-marker-title, .cpd-marker:active .cpd-marker-title {
    /*font-weight: bold;*/
    color: #ffffff !important;
}

.cpd-marker:hover .cpd-marker-price, .cpd-marker:focus .cpd-marker-price, .cpd-marker:active .cpd-marker-price {
    /*font-weight: bold;*/
    color: #FFB901FF !important;
}

.cpd-marker.active .cpd-marker-title{
    /*font-weight: bold;*/
    color: #ffffff !important;

}

.cpd-marker.active .cpd-marker-price {
    /*font-weight: bold;*/
    color: #FFB901FF !important;

}

.cpd-marker.active {
    background-color: #28a745 !important;
}

.cpd-total-count{
    display: block;
    text-align: center;
    margin: 7px 0;
    border-radius: 5px;
    background-color: #369415;
    color: white;
}

.cpd-blocks-wrapper {
    position: relative;
    padding: 1px;
    background: rgba(54, 148, 21, 0.2);
}
.cpd-blocks {
    width: 231px;
    height: 231px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 1);
    align-content: space-between;
}

.cpd-blocks-new {
    width: 233px;
    height: 233px;
}

.cpd-blocks-new:before {
    content: "";
    display: block;
    position: absolute;
    width: 233px;
    height: 233px;
    background: url("../img/category/cpd/new.png");
    background-size: contain;
    z-index: 10;
}

.cpd-blocks-count {
    height: 24px;
    min-width: 39px;
    max-width: 80px;
    padding: 2px 5px;
    background: #FFB901;
    border-radius: 3px;

    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    /* identical to box height, or 143% */
    color: #FFFFFF;

    position: absolute;
    right: 0px;
    top: 0px;
}

.cpd-blocks-title {
    font-family: Sunday, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    /* or 157% */
    letter-spacing: 0.04em;
    /* text */
    color: #331606;
    background-color: rgba(255, 255, 255, .6);
    border-radius: 10px;
    padding-right: 40px;
}

.cpd-blocks-image {
    /*height: 129px;*/
    /*width: 213px;*/
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 45px 15px;
}

.cpd-blocks-image img{
    object-fit: contain;
}

.cpd-blocks-manufacturer {
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    /* identical to box height, or 143% */
    color: #331606;

}
.cpd-blocks-manufacturer-icon {
    height: 24px;
    width: 24px;
    margin-right: 12px;
    background: url("../img/category/cpd/cpd-blocks-manufacturer-icon.svg") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image1 {
    background: url("../img/category/cpd/1.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image2 {
    background: url("../img/category/cpd/2.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image3 {
    background: url("../img/category/cpd/3.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image4 {
    background: url("../img/category/cpd/4.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image5 {
    background: url("../img/category/cpd/5.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image6 {
    background: url("../img/category/cpd/6.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image7 {
    background: url("../img/category/cpd/7.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image8 {
    background: url("../img/category/cpd/8.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image9 {
    background: url("../img/category/cpd/9.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image10 {
    background: url("../img/category/cpd/10.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image11 {
    background: url("../img/category/cpd/11.png") no-repeat center center;
    background-size: contain;
}
#cpd-blocks-image12 {
    background: url("../img/category/cpd/12.png") no-repeat center center;
    background-size: contain;
}
#nav-img img{
    object-fit: contain;
    max-width: 85%;
    max-height: 800px;
}

.add-to-cart-btn {
    position: absolute;
    top: -45px;
    left: 45px;
}


/* ======================================================================== */
/* ============================ MEDIA-запросы ============================= */
/* ======================================================================== */

@media (min-width: 768px) {
    .tab-content>.tab-pane {
        width: 600px;
    }
}

@media (min-width: 1024px) {
    .tab-content>.tab-pane {
        width: 1000px; /* размер (тут и ниже по @media) равен размеру из @media (min-width) потому,
         что левый блок имеет position:fixed и выпадает из общей ширины модалки */
    }
}

@media (min-width: 1100px) {
    .tab-content>.tab-pane {
        width: 1200px;
    }
}

@media (min-width: 1300px) {
    .container {
        max-width: 1240px;
    }
    .tab-content>.tab-pane {
        width: 1300px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1340px;
    }
    .tab-content>.tab-pane {
        width: 1400px;
    }
}
@media (min-width: 1500px) {
    .container {
        max-width: 1440px;
    }
    .tab-content>.tab-pane {
        width: 1500px;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 1540px;
    }
    .tab-content>.tab-pane {
        width: 1600px;
    }
}
@media (min-width: 1700px) {
    .container {
        max-width: 1640px;
    }
    .tab-content>.tab-pane {
        width: 1700px;
    }
}
@media (min-width: 1800px) {
    .container {
        max-width: 1740px;
    }
    .tab-content>.tab-pane {
        width: 1800px;
    }
}
@media (min-width: 1900px) {
    .container {
        max-width: 1860px;
    }
    .tab-content>.tab-pane {
        width: 1900px;
    }
}

@media (min-width: 1800px) and (max-width: 1919px) {
    #cpd-modal-wrapper {
        width: 76.5%;
    }
}

@media (min-width: 1700px) and (max-width: 1799px) {
    #cpd-modal-wrapper {
        width: 81.5%;
    }
}

@media (min-width: 1600px) and (max-width: 1699px) {
    #cpd-modal-wrapper {
        width: 86.5%;
    }
}

@media (min-width: 1500px) and (max-width: 1599px) {
    #cpd-modal-wrapper {
        width: 77%;
    }
}

@media (min-width: 1400px) and (max-width: 1499px) {
    #cpd-modal-wrapper {
        width: 82.5%;
    }
}

@media (min-width: 1300px) and (max-width: 1399px) {
    #cpd-modal-wrapper {
        width: 89%;
    }
}

@media (min-width: 1200px) and (max-width: 1299px) {
    #cpd-modal-wrapper {
        width: 93%;
    }
}

@media (min-width: 1100px) and (max-width: 1199px) {
    #cpd-modal-wrapper {
        width: 91%;
    }
}

@media (min-width: 1024px) and (max-width: 1099px) {
    #cpd-modal-wrapper {
        width: 90%;
    }
}

/* for PC */
@media (min-width: 1024px) and (max-width: 1366px) {
    .cp-block {
        max-width: 300px;
    }
    .cp-block-ellipse {
        top: 180px;
        left: 0;
    }
    .cp-image {
        width: 350px;
    }
    .cp-ellipse {
        top: 70px;
        right: 15px;
    }
    .cp-block-title, .cp-weight, .cp-price {
        font-size: 16px;
    }
}


/* for iPad Pro */
@media only screen
and (min-device-width: 1024px) and (max-device-height: 1366px)
and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    #cpd-modal-wrapper {
        width: 90%
    }
    .cp-block {
        max-width: 300px;
    }
    .cp-block-ellipse {
        top: 180px;
        left: 0;
    }
    .cp-image {
        width: 350px;
    }
    .cp-ellipse {
        top: 70px;
        right: 15px;
    }
}

@media only screen
and (min-device-width: 1024px) and (max-device-height: 1366px)
and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    .cp-block {
        max-width: 400px;
    }
}

@media (max-width: 1280px) {
    #cpd-modal-wrapper {
        width: 90%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 1023px) {
    .cpd-left-side-wrapper {
        position: relative;
        top: 60px;
        margin-bottom: 100px;
    }
}


/*for Nexus10 */
@media (min-width: 790px) and (max-width: 810px) {
    .cp-image {
        top: -226px;
    }
    .cp-ellipse {
        top: 65px;
    }
    .cpd-marker-title {
        margin-right: 10px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .close-modal-detail {
        top: -585px!important;
        right: 0;
    }
}


@media (min-width: 768px) {
    .cpd-marker {
        height: 88px;
        width: 115px;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0 auto;
    }
    .cp-block-ellipse {
        position: relative;
        top: 180px;
        left: 0;
    }
    .cp-image {
        width: 350px;
        height: 320px;
        top: -140px;
    }
    .cp-ellipse {
        right: auto;
    }

    .first {
        margin: 50px 0 0;
    }
    .cpd-marker-wrapper {
        margin-bottom: 60px;
    }
    .cpd-marker {
        padding: 5px;
        background: #f8f8f8;
        border-radius: 10px;
    }
    .close-modal-detail {
        top: -525px;
        right: 0;
    }

    .cpd-marker-wrapper {
        height: auto;
    }
}

@media (max-width: 650px) {
    .cpd-marker-title {
        margin-right: 10px;
    }
    .cpd-block-image {
        height: 250px;
        width: 250px;
    }
    .cpd-block-ellipse {
        top: 470px;
    }
    #cpd-modal-wrapper {
        top: 0;
    }
}

/*------------------------------------------ Печати ПРОДАНО СУПЕРЦЕНА ------------------------------------------*/

.cp-block {
    position: relative;
}

.cp-block .sold {
    position: absolute;
    transform: scale(0.7);
    opacity: 0.72;
}

.cp-block .superprice {
    position: absolute;
    opacity: 0.85;
    top: -25px;
    left: -10px;
    width: 24%;
    height: 24%;
}

.cp-block .superprice img{
    width: 100%;
}

.cp-block .superprice.widetemplate {
    width: 17% !important;
    height: 17% !important;
}

.cp-block .lowprice {
    position: absolute;
    opacity: 1;
    top: -25px;
    left: -10px;
    width: 24%;
    height: 24%;
}
