body, html {

    margin: auto
}

.gifts-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.instructions,
a {
    text-align: center
}

.instructions span {
    color: #fff;
}

:focus {
    outline: none;
}

.show {
    display: block !important;
}

.hide {
    display: none !important;
}

.boxes,
.boxes cbox,
.boxes img {
    width: 100%
}

.instructions {
    padding: 10px;
    background-color: #232f3e;
    border-radius: 4px;
    color: #fff;
    margin-top: 15px
}

.boxes {
    margin: 25px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.box-o-t {
    position: absolute;
    top: -34%
}

.boxes .discover .box-o-b {
    z-index: 1;
    position: relative
}



.boxes > div {
    position: relative;
    display: inline-block;
    width: 32.5%;
    height: 50%;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    cursor: pointer
}

.boxes > div:hover {
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1)
}

.instructions table {
    width: 100%
}

.instructions td:first-child {
    padding-right: 10px;
    width: 10px
}

.instructions td:last-child {
    padding-left: 10px;
    width: 10px
}

.subtitle {
    font-weight: bold;
    font-style: italic;
    font-size: 17px;
    text-align: left;
    padding-top: 20px;
    display: block;
}

.myh1 {
    font-size: 17px;
    padding: 15px 10px;
    text-shadow: 0 0 0 #C00;
    background-color: #389938;
    color: #fff;
    margin: 10px auto;
    text-align: center;
    border-radius: 4px;
    font-weight: normal;
    text-transform: none;
    font-style: italic;
}

.myh1 span {
    font-weight: bold;
    font-size: 19px;
    margin-bottom: 5px;
    display: block;
}
#boxesContainer {
    background: #fff;
}
.animate-red {
    animation-direction: normal;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: blink-red;
    animation-timing-function: ease;
}

@keyframes blink-red {
    0% {
        background: #232f3e;
    }

    50% {
        background: red
    }

    100% {
        background: #232f3e;
    }
}

.animate-green {
    animation-direction: normal;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: blink-green;
    animation-timing-function: ease;
}

@keyframes blink-green {
    0% {
        background: #232f3e;
    }

    50% {
        background: green;
    }

    100% {
        background: #232f3e;
    }
}

@media only screen and (max-width : 500px) {

    .instructions td:last-child {
        padding-left: 4px;
        width: 4px;
    }

    .instructions td:first-child {
        padding-right: 4px;
        width: 4px;
    }

    .instructions {
        padding: 10px 5px;

    }
}

.rub-ramka {
    background: rgba(189, 61, 77, 0.04);
    padding: 12px 15px !important;
    color: rgb(8, 8, 8);
    font-size: 18px;
    font-family: roboto condensed, arial;
    border: 2px solid;
    border-radius: 4px;
    font-weight: bold;
    border-color: #bd3d4d;
    text-indent: 0 !important;
    text-align: left;
    line-height: 25px;
    max-width: 880px;
    display: block;
    margin: 20px auto !important;
}
.rub-ramka p {
    font-size: 1.1em;
    line-height: 1.2em;
    text-align: center;
}
.alert-fraud {
    font-family: Montserrat;
    font-size: 19px;
    font-weight: 700;
    line-height: 27px;
    width: 100%;
    border-radius: 20px;
    background: #333333;
    padding: 10px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position:relative;
}
.alert-fraud_border {
    background-image: url("data:image/svg+xml;utf8,<svg width='100%' height='100%'><rect width='100%' height='100%' rx='16' ry='16' style='fill: none; stroke: white; stroke-width: 2; stroke-dasharray: 10 11'/></svg>");
    padding: 16px 20px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.alert-fraud_border_flag {
    border-radius: 10px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}
.alert-fraud_border_flag img {
    height: 100%;
}
.alert-fraud_border_text {
    display: flex;
    flex-direction: column;
}
.alert-fraud_border_text span:first-child {
    color: #FB4444;
    text-transform: uppercase;
}
.alert-fraud a {
    color: #0085FF;
    text-decoration: none;
    border-bottom: 2px solid #0085FF;
    transition: color .3s, border-bottom .3s;
}
.alert-fraud a:hover {
    color: #00b3ff;
    text-decoration: none;
    border-bottom: 2px solid #00b3ff;
    transition: color .3s, border-bottom .3s;
}
.alert-fraud a:focus {
    color: #00b3ff;
    text-decoration: none;
    border-bottom: 2px solid #00b3ff;
    transition: color .3s, border-bottom .3s;
}

@media screen and (max-width: 768px) {
    .alert-fraud {
        font-size: 17px;
        line-height: 24px;
    }
    .alert-fraud_border_flag {
        width: 48px;
        height: 48px;
    }


}

@media screen and (max-width: 375px) {
    .alert-fraud {
        margin-top: 14px;
        border-radius: 10px;
    }
    .alert-fraud_border {
        justify-content: center;
        align-items: center;
        text-align: center;
        background-image: none;
    }
    .alert-fraud_border_flag {
        width: 28px;
        height: 28px;
        border-radius: 5px;
        top: -14px;
        position: absolute;
        margin: 0;

    }

}

.boxit p {
    text-indent: 0;
    color: #000;
    text-align: justify;
    margin: 15px;
    line-height: 25px;
    padding: 5px 15px;
    font-size: 18px;
}
.boxit .frame-img {
    padding-left: 0;
    width: 100%;
    max-width: 600px;
    margin-right: 20px
}
.boxit .frame-img img {
    max-width: 100%;
    height: auto !important
}
.boxit .frame-container {
    position: relative;
    padding-bottom: 5%;
    padding-top: 0;
    overflow: hidden
}
.boxit .form-container {
    position: relative;
    background-color: #f4f4f4;
    border-radius: 8px;
    border: 1px solid #d4d4d4; /*margin-top:20px;*/
    width: 90%
}
.boxit .action-valid {
    background-color: #80b91d;
    color: #fff !important;
    height: 61px;
    line-height: 27px !important;
    text-align: center !important;
    font-size: 25px;
    margin: 0
}
.boxit .lp-text {
    padding: 18px 0 0
}
.boxit .px20 {
    font-size: 20px
}
.boxit input,
.boxit select {
    display: block;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    padding-left: 50px !important;
    max-width: 90% !important;
    width: 100%;
    margin: 10px auto !important;
    border: 1px solid #000;
    border-radius: 6px;
    outline: medium none;
    color: #252525;
    font-size: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease 0s;
    -webkit-appearance: none;
        font-size: 16px!important;
}
input.name-black {
    font-size: 20px;
    /*background: #fff url('../images/name_b-b0f.arb.png') no-repeat scroll 30px 50%*/
}
input.phone-black {
    font-size: 20px;
    /*background: #fff url('../images/phone_b-971.arb.png') no-repeat scroll 28px 50%*/
}
.event_order {
    opacity: .88;
    position: relative;
    -webkit-appearance: none;
    display: block;
    text-indent: 0 !important;
    background: #71b100 none repeat scroll 0 0;
    outline: medium none;
    border-width: medium medium 5px;
    font-size: 26px;
    border-style: none none solid;
    border-color: currentcolor currentcolor #548300;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    width: 90%;
    height: 70px;
    line-height: 70px;
    margin-top: 15px !important;
    border-radius: 8px;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center;
    color: #fff !important;
    cursor: pointer
}
.px25 {
    font-size: 25px
}
.pink {
    color: #ef1650 !important
}
.px18 {
    font-size: 18px
}
.px15 {
    font-size: 18px
}
.left-pack {
    background: #ef1650 none repeat scroll 0 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    border-radius: 5px;
    color: #fff;
    margin: 0 8px
}
.form {
; /*display:flex*/
}
.boxit p {
    text-align: center
}
@media(max-width:768px) {
    .form {
        display: flex;
        flex-direction: column;
        align-items: center
    }
    .frame-img {
        margin-right: 0 !important
    }
    input.name-black,
    input.phone-black {
        font-size: 15px !important
    }
    .boxit input,
    .boxit select,
    .boxit textarea {
        font-size: 21px
    }
    .boxit .frame-img {
        width: 100%
    }
    .boxit .action-valid {
        font-size: 20px !important
    }
}
.mybutton:hover {
    background-color: #ff6d6d;
    transition: 0.5s
}
.mybutton {
    background-color: #ff3c3c;
    color: #fff;
    padding: 16px 35px;
    border-radius: 10px;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin: 15px auto;
    cursor: pointer;
    text-shadow: none;
    border: none
}
.mybutton:hover {
    background-color: #ff6d6d;
    transition: 0.5s
}; /*.mybutton{width:100%;font-size:12px!important}*/
}
@media screen and(max-width:767px) {
    #product-block {
        width: 100% !important;
        height: 224px !important;
        margin: 0 !important
    }
    #product-block .plashka2 {
        background-size: 135px 188px;
        width: 110px !important;
        height: 98px;
        padding: 95px 25px 0 0 !important;
        line-height: 16px;
        font-size: 13px;
        margin: 15px 0 0 !important
    }
    #product-block .plashka2-t {
        font-size: 14px
    }
}

.comments__image {
    margin-top: .938em;
    max-width: 52.75em;
    height: auto;
    width: 100%
}

.toland:after {
    display: none;
}

@media (max-width: 767px) {
    #owi {
        width: 100% !important;
        height: auto !important;
    }
}

form {
    display: grid;
    margin-top: 20px;
}

input,
select {
    width: 300px;
    max-width: 100%;
    padding: 10px 15px;
    margin: 10px auto;
    border-radius: 5px;
    border: 1px solid #a2a1a1;
    font-size: 20px;
    box-sizing: border-box;
}

form button {
    max-width: 385px;
    padding: 15px 15px;
    width: 300px;
    color: #FFF;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    margin: 20px auto;
    background: green;
}

.item-gift {
    display: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

select {
    width: 100%;
}

select {
    text-indent: 0;
}

.cost {
    display: inline-block;
    padding: 10px;
    font-size: 20px;
}

.old_price_val {
    text-decoration: line-through;
}

span.new_price_cur,
.new_price_val {
    color: red;
}

.cost strong {
    font-size: 28px;
}
