.error404 .hdr_sec,
.page-id-515 .hdr_sec {
    background: #000000 !important;
}


.error_text_box_inner {
    font-size: 150px;
    line-height: 1.2;
    color: #000;
}

.error_desc_box_inner span {
    padding: 5px 0;
}

.error_btn_main_box_inner a {
    margin: 5px;
}

.error_btn_main_box_inner {
    padding: 20px 0 0;
}

.error_desc_box_inner.site_desc,
.thank_you_desc_box_inner.site_desc {
    line-height: 1.2;
}

/* ------- thank you page */
.thank_txt {
    font-size: 140px;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 500;
    color: #000;
}

.thank_you_btn_box_inner {
    padding: 20px 0 0;
}

.thank_you_desc_box_inner span {
    margin: 9px 0 0;
}


/* ------- thank you page end */


/* 320 */
@media all and (min-width: 20px) and (max-width: 767px) {

    .error_text_box_inner {
        font-size: 90px;
    }

    /* thank you */
    .thank_txt {
        font-size: 70px;
        line-height: 1;
    }


    /* thank you end */
}

@media all and (min-width: 768px) and (max-width: 980px) {

    .error_text_box_inner {
        line-height: 1;
        font-size: 100px;
    }

    /* thank you */
    .thank_txt {
        font-size: 100px;
    }


    /* thank you end */

}

@media only screen and (min-width: 981px) and (max-width: 1024px) {


    .error_text_box_inner {
        line-height: 1;
        font-size: 120px;
    }

    /* thank you */
    .thank_txt {
        font-size: 120px;
    }

    /* thank you end */


}

@media all and (min-width: 1025px) and (max-width: 1140px) {


    .error_text_box_inner {
        line-height: 1;
        font-size: 120px;
    }

    /* thank you */
    .thank_txt {
        font-size: 120px;
    }

    /* thank you end */
}

@media all and (min-width: 1141px) and (max-width: 1280px) {


    /* thank you */
    .thank_txt {
        font-size: 120px;
    }

    .error_text_box_inner {
        font-size: 130px;
        line-height: 1;
    }

    /* thank you end */
}

@media all and (min-width: 1281px) and (max-width: 1440px) {

    /* thank you */
    .thank_txt {
        font-size: 120px;
    }

    /* thank you end */
}

@media all and (min-width: 1441px) and (max-width: 1680px) {}

@media all and (min-width: 1681px) and (max-width: 1880px) {}