.fast-order form > .form-group { display: none; } .fast-order .top-block { display: table; width: 100%; } .fast-order .top-block .image, .fast-order .top-block .main { display: table-cell; vertical-align: top; } .fast-order .top-block .image img { width: 40rem; max-width: 100%; } .fast-order .top-block .main { padding-left: 2rem; } .fast-order .top-block .main h1 { margin-top: 0; } .fast-order .top-block .main .discount-wrap { font-size: 1.6rem; margin-top: 1.6rem; } .fast-order .top-block .main .discount-wrap .old-price { color: #929292; text-decoration: none !important; margin-right: 1rem; } .fast-order .top-block .main .discount-wrap .discount { display: inline-block; padding: 0.2rem 0.8rem; color: #ffffff; font-size: 1.6rem; background-color: #D42822; border-radius: 0.3rem; line-height: 2rem; } .fast-order .top-block .main .price-wrap { margin-top: 0.7rem; } .fast-order .top-block .main .price-wrap .price { font-size: 3.2rem; font-weight: bold; } .fast-order .info { margin-top: 1rem; } .fast-order .bottom-block { margin-top: 2.5rem; } .fast-order .bottom-block > * { vertical-align: top; } .fast-order .bottom-block .form-group { display: inline-block; width: 37.5rem; max-width: 100%; } .fast-order .bottom-block .form-group .help-block { display: block; } .fast-order .bottom-block .form-group input { height: 3.6rem; display: inline-block; border: solid 1px gray; } .fast-order .bottom-block .submit-btn { height: 3.6rem; width: 16rem; margin-left: 2rem; color: #ffffff; background-color: #D42822; text-transform: uppercase; } .fast-order .bottom-block .cancel-btn { display: none; height: 3.6rem; width: 12rem; margin-left: 2rem; background-color: #ffffff; border: solid 1px #929292; } @media (max-width: 800px) { .modal-dialog { width: 30rem; } .modal-dialog .modal-content .modal-body .fast-order .top-block { display: none; } .modal-dialog .modal-content .modal-body .fast-order .info { margin-top: 0; } .modal-dialog .modal-content .modal-body .fast-order .bottom-block { text-align: center; } .modal-dialog .modal-content .modal-body .fast-order .bottom-block .submit-btn { margin: 0; } .modal-dialog .modal-content .modal-body .fast-order .bottom-block .cancel-btn { display: none; } }