.modal-dialog {
    max-width: none;
}

/* ========== pick-up-gift ========== */
#pick-up-gift1-wrapper, #pick-up-gift2-wrapper, #pick-up-gift3-wrapper {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1280px;
    background: #EBFFE6;
    border-radius: 10px;
}

.pick-up-gift-title {
    margin: 44px 0 20px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 32px;
    /* or 89% */
    color: #369415;
}

.pick-up-gift-wrapper {
    padding: 0 41px;
}

.pick-up-gift-bg {
    background: #FFFFFF;
    border-radius: 20px;
}

.pick-up-gift-number {
    padding: 20px 0 20px 40px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 32px;
    /* identical to box height, or 160% */
    color: #331606;
}

.poc-gift-wrapper {
    margin-top: 29px;
    padding: 0;
}

.gift-category {
    width: 211px;
    height: 245px;
    margin-bottom: 30px;
}

.poc-gift-outer-block {
    height: 189px;
    width: 189px;
    background-color: rgba(255, 185, 1, 0.2);
    border-radius: 60px;
}

.poc-gift-inner-block {
    height: 157px;
    width: 157px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(37.86%, #FFB901), to(#F78500));
    background: -o-linear-gradient(top, #FFB901 37.86%, #F78500 100%);
    background: linear-gradient(180deg, #FFB901 37.86%, #F78500 100%);
    border-radius: 50px;
}

.poc-gift-img {
    position: relative;
    top: -50px;
    height: 167px;
    width: 167px;
    -webkit-filter: drop-shadow(0px 60px 51px rgba(0, 0, 0, 0.14)) drop-shadow(0px 29px 25px rgba(0, 0, 0, 0.09)) drop-shadow(0px 19px 15px rgba(0, 0, 0, 0.07)) drop-shadow(0px 11px 8px rgba(0, 0, 0, 0.05));
    filter: drop-shadow(0px 60px 51px rgba(0, 0, 0, 0.14)) drop-shadow(0px 29px 25px rgba(0, 0, 0, 0.09)) drop-shadow(0px 19px 15px rgba(0, 0, 0, 0.07)) drop-shadow(0px 11px 8px rgba(0, 0, 0, 0.05));
    -webkit-transform: scale(0.845) rotate(12.26deg);
    -ms-transform: scale(0.845) rotate(12.26deg);
    transform: scale(0.845) rotate(12.26deg);
}

#poc-img1, #poc-img2, #poc-img3, #poc-img4, #poc-img5, #poc-img6, #poc-img7 {
    height: 204px;
    width: 204px;
    position: absolute;
}

#poc-img1 {
    background: url("../img/packaging_options/packages.png") center center no-repeat;
    background-size: cover;
}
#poc-img2 {
    background: url("../img/packaging_options/cardboard.png") center center no-repeat;
    background-size: cover;
}
#poc-img3 {
    background: url("../img/packaging_options/textile.png") center center no-repeat;
    background-size: cover;
}
#poc-img4 {
    background: url("../img/packaging_options/pouches.png") center center no-repeat;
    background-size: cover;
}
#poc-img5 {
    background: url("../img/packaging_options/tin.png") center center no-repeat;
    background-size: cover;
}
#poc-img6 {
    background: url("../img/packaging_options/tuba.png") center center no-repeat;
    background-size: cover;
}
#poc-img7 {
    background: url("../img/packaging_options/plywood.png") center center no-repeat;
    background-size: cover;
}

/* стилизация bootstrap4 checkbox'ов */
.custom-checkbox .custom-control-label::before {
    background: #FFB901;
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:focus~.custom-control-label::before {
    background: #FFB901;
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:checked~.custom-control-label::before {
    background: #FFB901;
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:focus:not(:checked)~.custom-control-label::before {
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:not(:disabled):active~.custom-control-label::before {
    background-color: #d6f5dd !important;
    border-color: #d6f5dd !important;
}

.gifts-count {
    width: auto;
    margin: 0 11%;

    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;

    color: #000000;
}

/* стилизация input type = number блока "количество подарков" */
.number {
    margin-left: 40px;
    margin-right: 15px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;

    color: #000000;
}
.number input[type="number"] {
    height: 54px;
    width: 66px;
    line-height: 32px;
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top: 1px solid #908F8D;
    border-left: 1px solid #908F8D;
    border-bottom: 1px solid #908F8D;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.number input[type="number"]::-webkit-outer-spin-button,
.number input[type="number"]::-webkit-inner-spin-button {
    display: none;
}
.number-minus, .number-plus {
    width: 27px;
    height: 27px;
    padding: 0;
    display: block;
    text-align: center;
    border: none;
    font-size: 20px;
    font-weight: 600;
}
.number-plus {
    color: #369415;
    border-top-right-radius: 10px;
    border-top: 1px solid #908F8D;
    border-right: 1px solid #908F8D;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.number-minus {
    color: #DE3C00;
    border-bottom-right-radius: 10px;
    border-right: 1px solid #908F8D;
    border-bottom: 1px solid #908F8D;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.btn-gift-next {
    height: 53px;
    width: 250px;
    margin: 20px 0 23px;

    background: #FFB901;
    -webkit-box-shadow: 0 23px 31px rgba(247, 133, 0, 0.3), 0 7px 9px rgba(247, 133, 0, 0.16), 0 3px 4px rgba(247, 133, 0, 0.12), 0 1px 1px rgba(247, 133, 0, 0.07);
    box-shadow: 0 23px 31px rgba(247, 133, 0, 0.3), 0 7px 9px rgba(247, 133, 0, 0.16), 0 3px 4px rgba(247, 133, 0, 0.12), 0 1px 1px rgba(247, 133, 0, 0.07);
    border-radius: 10px;

    font-family: Roboto Regular, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;

    color: #4C2900;
    /* text_in_button */
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.65);
}

/* ========== pick-up-gift2 ========== */
#pick-up-gift2 {
    /*position: absolute;*/
    margin-bottom: 25px;
}

.pick-up-gift2-number span{
    padding-bottom: 29px;
}

#pick-up-gift2 label {
    padding-top: 3px;
    padding-left: 10px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    /* text */
    color: #331606;
}

.custom-radio {
    padding-bottom: 12px;
}

/* стилизация bootstrap4 radio */
.custom-control-label::before {
    background: #FFB901;
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:focus~.custom-control-label::before {
    background: #FFB901;
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:checked~.custom-control-label::before {
    background: #FFB901;
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:focus:not(:checked)~.custom-control-label::before {
    border: 3px solid rgba(255, 185, 1, 0.2);
}
.custom-control-input-orange:not(:disabled):active~.custom-control-label::before {
    background-color: #d6f5dd !important;
    border-color: #d6f5dd !important;
}

/* ========== pick-up-gift3 ========== */
#pick-up-gift3 textarea, #pick-up-gift3 input {
    width: 100%;
    padding-left: 20px;
    border: 1px solid #908F8D;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;

    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    color: #908F8D;
}

#pick-up-gift3 textarea {
    height: 164px;
    margin-bottom: 40px;
    padding-top: 12px;
}
#pick-up-gift3 input {
    height: 46px;
    margin-bottom: 13px;
}

/* ========== back-call ========== */
#back-call-wrapper {
    position: fixed;
    top: 250px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 500px;
    background: #EBFFE6;
    border-radius: 10px;
}

.back-call-title {
    margin: 44px 0 20px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 26px;
    line-height: 32px;
    /* identical to box height, or 89% */
    color: #369415;
}

.back-call-text-wrapper {
    max-width: 354px;
    margin: 0 auto;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 20px;
}

.back-call-text{
    height: 46px;
    border: 1px solid #908F8D;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;

    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    color: #908F8D;
}

#back-call .back-call-text:first-child {
    margin-bottom: 10px;
}

#back-call-btn {
    height: 53px;
    width: 250px;
    margin: 20px 0;
    background: #FFB901;
    -webkit-box-shadow: 0 23px 31px rgba(247, 133, 0, 0.3), 0 7px 9px rgba(247, 133, 0, 0.16), 0 3px 4px rgba(247, 133, 0, 0.12), 0 1px 1px rgba(247, 133, 0, 0.07);
    box-shadow: 0 23px 31px rgba(247, 133, 0, 0.3), 0 7px 9px rgba(247, 133, 0, 0.16), 0 3px 4px rgba(247, 133, 0, 0.12), 0 1px 1px rgba(247, 133, 0, 0.07);
    border-radius: 10px;
    border: none;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-bottom-color: #F78500;
}

/* ========== thanks-for-contacting ========== */
#thanks-for-contacting-wrapper {
    position: fixed;
    top: 250px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 456px;
    background: #EBFFE6;
    border-radius: 10px;
}

.thanks-for-contacting-title {
    margin: 44px 0 20px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 26px;
    line-height: 32px;
    /* identical to box height, or 89% */
    color: #369415;
}

.thanks-for-contacting-text-wrapper {
    margin: 0 40px 44px 40px;
    background: #FFFFFF;
    border-radius: 20px;
}

.thanks-for-contacting-text{
    padding: 20px 56px;
    font-family: Cera Pro, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 25px;
    /* text */
    color: #331606;
}


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

@media (min-width: 1100px) and (max-width: 1399px) {
    #pick-up-gift1-wrapper, #pick-up-gift2-wrapper, #pick-up-gift3-wrapper {
        width: 1090px;
    }
}

@media (max-width: 1100px) {
    #pick-up-gift1-wrapper, #pick-up-gift2-wrapper, #pick-up-gift3-wrapper {
        width: auto;
    }
}

@media (max-width: 768px) {
    /* фикс для прокрутки 2-го модального окна, т.к. при переходе от 1-го на 2-й
    теряются указанные ниже свойства overflow и прокрутка 2-й модалки перестаёт быть возможнм */
    #pick-up-gift2 {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .pick-up-gift-number {
        padding: 20px 0;
    }
    .block6 {
        padding-left: 0;
        padding-right: 0;
    }
    #back-call {
        width: 90%;
        height: auto;
    }
    #thanks-for-contacting {
        width: 60%;
        height: auto;
    }
    .back-call-text-wrapper {
        height: auto;
    }
}

@media (max-width: 599px) {
    .back-call-text-wrapper {
        margin: 0 25px;
    }
    #thanks-for-contacting {
        width: 90%;
        height: auto;
    }
    .thanks-for-contacting-text {
        padding: 20px 15px;
    }

}