body header {
    box-shadow: none;
}
.home-top-blocks {
    height: 660px;
}

.left-main-block, .right-main-block {
    float: left;
    width: 50%;
    height: 100%;
}

.left-main-block {
    position: relative;
    background-image: url('/files/images/pattern-ancient.png'), url('/files/images/empire-horison.png');
    background-repeat: repeat-x, no-repeat;
    background-position: right 0, right bottom;
    position: relative;
    padding: 70px 0 70px;
}

.left-main-block:after {
    display: inline-block;
    position: absolute;
    bottom: -6px;
    right: -46px;
    content: url(/files/images/essays-emperor.png);
}

.left-main-block-wrapper {
    float: right;
    max-width: 90%;
    width: 475px;
}

.main-text-header {
    padding-left: 80px;
    background: url('/files/images/home-heading-icon.jpg') no-repeat 0 center;
    font-size: 27px;
    font-weight: 700;
}

.main-text-header span {
    color: #e14e46;
    font-weight: 800;
}

.main-top-advantages {
    font-size: 17px;
    color: #444444;
    padding-top: 15px;
}

.main-top-advantages .block_li {
    padding: 11px 0 11px 35px;
    background: url('/files/images/check-icon-flat.svg') no-repeat 2px 14px;
    background-size: 19px;
}

.main-top-advantages .block_red {
    font-size: 17px;
    color: #e14e46;
    font-weight: 700;
}

.right-main-block {
    background: url('/files/images/empire-horizon2.webp') no-repeat bottom center #fccf5b;
}

.right-main-block .essay-miniorder-form.essay-component {
    box-shadow: none;
    border: none;
    text-align: center;
    position: relative;
    padding: 20px!important;
}
.right-main-block-miniorder-wrapper {
    max-width: 595px;
    margin: 0 auto;
}
.right-main-block .miniorder-header {
    font-size: 30px;
    border: none;
    background: none;
    color: #652022;
    text-align: left;
    padding-bottom: 0;
    padding-top: 40px;
    margin-left: 20px;
}


.right-main-block .ae-miniorder-custom *,
.right-main-block .ae-miniorder-custom *:before,
.right-main-block .ae-miniorder-custom *:after {
    box-sizing: border-box;
}

.right-main-block .ae-miniorder-custom form > span,
.right-main-block .ae-miniorder-custom form > .sidebar-total {
    float: left;
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.right-main-block .ae-miniorder-custom form > label {
    text-align: left;
}

.right-main-block .ae-miniorder-custom label {
    color: #444444;
    font-weight: normal;
    display: block;
    text-align: left;
}

.right-main-block .essay-miniorder-form form select {
    margin-bottom: 20px;
}

.right-main-block .ae-miniorder-custom .mini-order-total-price {
    text-decoration: line-through;
    color: #652022;
    font-size: 18px;
    margin-left: 40px;
    display: block;
}

.right-main-block .ae-miniorder-custom .mini-order-total-price.first-order {
    display: none;
}

.right-main-block .ae-miniorder-custom input[type=submit] {
    background: #e14e46;
    border: none;
    width: 100%;
    margin-top: 25px;
    padding: 15px;
}

.right-main-block .ae-miniorder-custom .sidebar-total {
    padding-top: 18px;
    font-size: 18px;
    display: flex;
    font-size: 18px;
    gap: 20px;
    align-items: baseline;
}

.block-white-one {
    height: auto;
    padding: 10px 0 20px 0;
}

.block-white-one h2 {
    text-align: center;
}

.block-white-one p {
    font-size: 18px;
}

.img-discount.first_discount .btn_order_img {
    position: absolute;
    top: 28px;
    right: 115px;
    width: 145px;
    height: 42px;
}

.img-discount {
    width: 65%;
    margin: 0 auto;
    padding: 15px 0;
}

.img-discount.first_discount {
    /* padding-bottom: 105px; */
    position: relative;
    background-image: url(/files/images/first_discount.png);
    background-size: contain;
    height: 113px;
    background-repeat: no-repeat;
    margin-top: 25px;
}

.midl-cont {
    height: 450px;
    background: #fbdc83;
}

.why-us {
    padding-top: 20px;
    padding-bottom: 32px;
    /* background: #fbdc83; */
    overflow: hidden;
    /* background: url(/files/images/pattern.jpg); */
}

.why-us ul li {
    float: left;
    width: 33%;
    background: url(/files/images/red_list.jpg) no-repeat left center;
    list-style: none;
    font-size: 18px;
    padding-left: 30px;
    line-height: 55px;
}

.midle-block {

    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0px 8px 13px -5px;
}
.how_it_work {
    text-align: center;
}
.midle-block.how_it_work h2 {
    margin: 0;
    padding: 32px 0 14px;
    text-align: center;
}

.shield.lazy-background {
    background: linear-gradient(180deg, rgba(222,80,69,1) 15%, rgba(255,255,255,1) 25%);
}
.shield.visible-bg {
    display: inline-block;
    width: 135px;
    height: 162px;
    margin: 10px 10px;
    position: relative;
    background: url(/files/images/shield.jpg) no-repeat;
}

.shield:hover {
    background-image: url(/files/images/shield_active.jpg);
    cursor: default;
}

.shield:hover .work_text {
    color: #e04e46;
}

.number {
    margin-top: 4px;
    font-weight: 900;
    color: white;
    text-align: center;
    font-size: 24px;
}

.work_text {
    font-size: 20px;
    padding: 10px 14px 0 18px;
    width: 100%;
    position: absolute;
    text-align: center;
    line-height: 23px;
    margin: 22px auto 0;
}

.work_text .small_text {
    font-size: 14px;
    font-weight: 400;
}

ul.list_how_it_works {
    text-align: left;
    list-style: none;
    padding: 0 40px 40px;
}

ul.list_how_it_works li {
    line-height: 40px;
    background: url(/files/images/shield_small.jpg) left top 5px no-repeat;
    font-size: 14px;
    padding-left: 10px;
}

ul.list_how_it_works li.hover {
    background: url(/files/images/shield_small_active.jpg) left top 5px no-repeat;
}

ul.list_how_it_works li.hover .list_title {
    text-decoration: underline;
}

.number_work {
    margin: 20px 0 15px;
}

ul.list_how_it_works li span {
    font-size: 20px;
    display: inline-block;
    margin-right: 10px;
}

ul.list_how_it_works li .list_num {
    /*background: url("/files/images/shield_small.jpg") center center no-repeat;*/
    display: inline-block;
}

.writing_services h2 {
    margin: 20px 0;
    text-align: center;
}

.title_block_writing {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.writing_list {
    font-size: 18px;
    line-height: 30px;
    list-style: none;
    display: block;
    margin: 0 auto;
    max-width: 500px;
}

.list_left li {
    position: relative;
}

.list_right li {
    position: relative;
}

.writing_list li {
    text-align: left;
    padding-left: 25px;
}

.list_left li:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 21px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: '\f00d';
    position: absolute;
    left: 0;
    color: #e14e46;
}

.list_right li:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 18px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: '\f00c';
    position: absolute;
    left: 0;
    color: #1abc9c;
}
.block-discount h2 {
    text-align: center;
}

.block_dicount {
    background: url("/files/images/wreath.jpg") no-repeat center center;
    width: 207px;
    height: 186px;
    margin: 25px auto 0;
    padding-top: 30px;
    text-align: center;
    transform: scale(0.1);
}

.block_off {
    font-size: 24px;
    text-transform: uppercase;
}

.num_discount {
    font-size: 36px;
}

.more_then {
    font-size: 18px;
}

.count_pages {
    font-size: 20px;
}

.main-text-block h3 {
    margin: 50px 0 30px;
    text-align: center;
}

.main-text-block ol li:before {
    counter-increment: myCounter;
    content: counter(myCounter) ".";
    color: #e14e46;
    margin-right: 10px;
    font-weight: bold;
}

.main-text-block ol li {
    list-style: none;
    text-align: left;
    font-size: 18px;
    /* display: inline-block; */
    /* width: 49%; */

}

.main-text-block p {
    font-size: 18px;
}

.main-text-block ol {
    padding: 0 15px;
    counter-reset: myCounter;
    /*column-count: 2;*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 50px;
}

.grey-bg-bottom {
    background: #fbdc83;
    padding-bottom: 40px;
}

.grey-bg-bottom h2 {
    margin: 40px 0;
    text-align: center;
}

.provide_list li {
    list-style: none;
    font-size: 18px;
    padding: 0px 0 20px 60px;
    text-align: left;
    line-height: 40px;
}

.provide_list li:nth-child(1) {
    background: url("/files/images/provide_1.png") no-repeat left top;
}

.provide_list li:nth-child(2) {
    background: url("/files/images/provide_2.png") no-repeat left top;
}

.provide_list li:nth-child(3) {
    background: url("/files/images/provide_3.png") no-repeat left top;
}

.provide_list li:nth-child(4) {
    background: url("/files/images/provide_4.png") no-repeat left top;
}

.provide_list li:nth-child(5) {
    background: url("/files/images/provide_5.png") no-repeat left top;
}

.provide_list li:nth-child(6) {
    background: url("/files/images/provide_6.png") no-repeat left top;
}

.block_btn, .block_btn:hover, .block_btn:visited, .block_btn:focus {
    display: block;
    margin: 30px auto 0;
    width: 200px;
    height: 50px;
    line-height: 48px;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
}

.big_yellow_btn, .big_yellow_btn:hover, .big_yellow_btn:visited, .big_yellow_btn:focus {
    background: #fbdc83;
    border: 1px solid #444444;
    color: #444444;
}

.big_blue_btn, .big_blue_btn:hover, .big_blue_btn:visited, .big_blue_btn:focus {
    background: #475577;
    border: 1px solid #475577;
    color: white;
}

.big_red_btn, .big_red_btn:hover, .big_red_btn:visited, .big_red_btn:focus {
    background: #b8312f;
    border: 1px solid #b8312f;
    color: white;
}

.bottom-main-text {
    padding: 50px 0 30px;
}

.bottom-main-text p {
    font-size: 18px;
    text-align: justify;
}

@media (max-width: 1199px) {
    .why-us ul {

        padding-left: 0px;
        max-width: 340px;
        width: 100%;
        display: block;
        margin: auto;
    }
    /*.midl-cont .why-us ul{*/
    /*max-width: 100%;*/
    /*}*/
    .why-us ul li {
        float: none;
        width: auto;
        line-height: 25px;
    }

    .why-us .col-md-12 {

        margin-bottom: 10px;

    }

}

@media all and (min-width: 991px) {
    .right-main-block-miniorder-wrapper {
        margin: 0;
        width: 485px;
        padding-left: 3%;
    }
}
@media all and (min-width: 1200px) {
    .right-main-block-miniorder-wrapper {
        margin: 0;
        width: 585px;
        padding-left: 3%;
    }
}
@media all and (max-width: 991px) {
    .service-bar .head-contacts > .head-contacts-chat,
    .service-bar .head-contacts > .head-contacts-email,
    .service-bar .head-credentials {
        display: none;
    }

    .service-bar .head-contacts {
        width: auto;
    }

    .service-bar .navbar-toggle {
        display: block;
        line-height: normal;
    }

    .home-top-blocks {
        height: auto;
    }

    .left-main-block {
        height: 660px;
    }

    .left-main-block, .right-main-block {
        width: 100%;
        float: none;
    }

    .left-main-block-wrapper {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .left-main-block:after {
        right: 25%;
        transform: translateX(65%);
    }

    .main-text-block ol {
        gap: 25px;
    }

}
.right-main-block .col-lg-6.col-sm-12.level-col {
    width: 25%;
    padding-left: 0;
}
.right-main-block .col-lg-6.col-sm-12.urgency-col {
    width: 25%;
}
@media all and (min-width: 768px) {
    .right-main-block-miniorder-wrapper {
        max-width: none;
    }
    .right-main-block .col-lg-6.col-sm-12 {
        width: 50%;
    }
    .bottom-main-text p {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media all and (max-width: 767px) {
    .right-main-block .col-lg-6.col-sm-12.level-col, .right-main-block .col-lg-6.col-sm-12.urgency-col {
        width:100%;
        padding-left: 15px;
    }
    .main-text-block ol {
        /*column-count: 1;*/
        display: block;
    }
    .main-text-block ol li {
        float: none;
        width: 100%;
    }
    .right-main-block .ae-miniorder-custom .sidebar-total {
        padding-top: 0;
        margin: 0;
    }
}

@media all and (max-width: 991px) {
    .right-main-block {
        padding-bottom: 110px;
    }
}
@media all and (max-width: 767px) {
    .grey-bg-bottom .provide_list {
        padding: 0 40px;
    }
}
@media all and (max-width: 600px) {
    .right-main-block .ae-miniorder-custom form > span, .right-main-block .ae-miniorder-custom form > .sidebar-total {
        width: 100%;
        display: block;
        float: none;
    }
    .left-main-block:after {
        display: none;
    }
    ul.list_how_it_works {
        padding: 0 15px 30px;
    }
    ul.list_how_it_works li {
        line-height: 20px;
        padding-bottom: 10px;
    }
    .grey-bg-bottom .provide_list {
        padding: 0 15px;
    }
    .grey-bg-bottom .provide_list li {
        padding: 0px 0 20px 50px;
        text-align: left;
        line-height: 30px;
    }
}

.data-currency {
    position: absolute;
    right: 15px;
    top: -50px;
    z-index: 9;
    color: #8d4f31!important;
    display: flex;
    font-weight: 900;
}
.data-currency.dropdown-hidden {  
    align-items: center;
}
.data-currency span {
    margin-top: 20px;
}
.data-currency.dropdown-hidden span {
    margin: 0;
    font-weight: 600;
}
 .top-data .data-currency .currency {
    padding: 5px;
    width: 70px;
}
 .top-data .data-currency.dropdown-hidden:after {
    transition: .3s;
    position: absolute;
    right: 5px;
    top: 1px;
    bottom: 0;
    content: '\F107';
    font: normal 700 normal 14px/1 FontAwesome;
    height: 16px;
    margin: auto;
    z-index: 1;
}
.top-data .data-currency:after {
    transition: .3s;
    position: absolute;
    right: 5px;
    top: -150px;
    bottom: 0;
    content: '\F106';
    font: normal 700 normal 14px/1 FontAwesome;
    height: 16px;
    margin: auto;
    z-index: 1;
}
.top-data .data-currency.dropdown-hidden input[type="button"] {
    border-bottom: 1px dashed #8d4f31;
}
.top-data .data-currency input[type="button"] {
    border: none;
    background: transparent;
    width: 103px;
    height: 39px;
    font-size: 15px;
    border-top: none;
    border-left: none;
    margin: 5px 0;
}
 .data-currency input[type="button"]:hover {
    cursor: pointer;
    transform: scale(1.04);
    box-shadow: none;
}
 .dropdown-hidden .currency input:not(.active) {
    display: none;
}
.data-currency:not(.dropdown-hidden) .currency {
    background-color: #fff;
    border-radius: 9px;
    box-shadow: 0 0 10px #2e2e2e;
}
.currency input[type="button"] {
    display: block;
}

.click-for-first-order {
    margin: 33px 0 0 0;
    height: 46px;
    background: #ffdc81;
    padding: 5px;
    border-radius: 10px;
}
.click-for-first-order span {
    margin-left: 5px;
    color: #652022;
    font-weight: 600;
    font-style: normal;
}
.click-for-first-order span .discount {
    color: #e14e46;
    font-weight: 900;
}
.click-for-first-order input[type=checkbox]:before {
    width: 25px;
    height: 25px;
    display: inline-block;
    content: '';
    position: relative;
    top: -7px;
    left: 0;
    border-radius: 5px;
}
.click-for-first-order input[type=checkbox]:before {
    background: #652022;
}
.click-for-first-order input[type=checkbox]:after {
    top: -10px;
    left: -5px;
    color: #fff; 
}
body .ae-miniorder-custom .number-field::after{
    color: rgba(54,54,54,.75);
    font-size: 14px;
    font-family: 'Open Sans', Arial;
    left: calc(50% - 50px);
}
body .ae-miniorder-custom .number-field input[type="text"]{
    padding-right: calc(50% + 50px);
}
body .ae-miniorder-custom .number-field.form-slim .plus.p{
    width:40px;
}
body .ae-miniorder-custom .number-field.form-slim .plus.p{
    padding-left: 11px;
}
@media(max-width:1199px) and (min-width:992px){
    body  .footer-contact-block-links .address-footer img.address{
        max-width:100%;
    }
    body .right-main-block .ae-miniorder-custom .row {
        margin: 0;
    }
    body .right-main-block .ae-miniorder-custom .col-lg-6.col-sm-12 {
        padding-right: 0;
        padding-left: 5px;
    }
    .ae-miniorder-custom #miniorder{
        padding-right: 0!important;
        padding-left: 0px!important;
    }
    .ae-miniorder-custom .click-for-first-order input[type=checkbox]:before,.ae-miniorder-custom .click-for-first-order input[type=checkbox]:after,.ae-miniorder-custom .click-for-first-order input[type=checkbox] {
        width: 20px;
        height: 20px;
    }
    .ae-miniorder-custom .click-for-first-order input[type=checkbox]:before{
        top: 0px;
    }
    .ae-miniorder-custom .click-for-first-order input[type=checkbox]:after{
        font-size:16px;
        top: -5px;
        left: -2px;
    }
    .ae-miniorder-custom .click-for-first-order span{
        font-size: 13px;
    }
    .ae-miniorder-custom .click-for-first-order input[type=checkbox]{
        margin-top: 0;
    }
}
@media(max-width:991px){
    .right-main-block-miniorder-wrapper{
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }
    .ae-miniorder-custom .essay-component.essay-miniorder-form .click-for-first-order label{
        width: fit-content;
        margin: 10px auto 0;
    }
}