#main_content {
    color: #000
}

.error404 section.banner-new.no-form,
.error404 .aioseo-breadcrumbs,
.aioseo-breadcrumbs {
    display: none;
}

#main_content .left {
    font-size: 400%;
    font-weight: 700;
    text-align: center;
    padding: .5em
}

._404heading {
    font-size: 200%;
    margin: .35em 0;
    text-align: center
}
 
 ul._404_links li {
    display: inline-block;
    width: 100%;
    max-width: 412px;
    padding: 20px;
    border: 1px solid #D9D9D9;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 24px;
}
.hero_404 {
    background: #EFEFEF;
}
.hero_404 .container{
    background: url(../img/404hero.jpg);
    background-size: cover !important;
    height: calc(100vh - 200px);
    max-height: 590px;
    min-height: 550px;
    margin-top: 20px;
    padding-top: 150px;
    font-size: 30px;
    line-height: 1.6;
    color: #3A3A3A;
    max-width: 1200px;
    margin: 15px auto 20px;
    border-radius: 43px;
    padding: 110px 85px 85px;
}

._404heading_title {
    color: #0E62DF;
    font-weight: 900;
    font-size: 152px;
    line-height: 1;
    margin: 0;
}
._404heading_stitle {
    font-weight: 700;
    font-size: 39px;
}
.hero_404 .wrapper {
    display: block;
    flex-wrap: wrap;
    text-align: center;
    max-width: 310px;
} 
#main_content ul._404_links li {
    display: inline-block;
    width: 100%;
    max-width: 412px;
    padding: 15px 30px 10px;
    border: 1px solid #D9D9D9;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 24px;
    margin: 0 5px 60px;
}
a._404button_more {
    font-size: 16px;
    font-weight: 400;
    background: #2C2C2C;
    color: white;
    display: inline-block;
    width: 100%;
    border-radius: 8px;
    padding: 4px;
}
 
a._404button_more:hover {
    color: white;
    background: #1962CF;
}
ul._404_links {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
}
.left {
    display: block;
    text-align: center;
    max-width: 290px;
}
.big_title_404 {
    font-weight: 900;
    font-size: 110px;
    line-height: 1;
    color: #2162C2;
}
.title_404 {
    font-weight: 700;
    margin: 0 0 30px;
}
.sub_title_404 {
    font-size: 30px;
    line-height: 1.1;
    margin: 0 auto 16px;
}
._404button a {
    font-size: 24px;
    color: white;
    outline: none;
    display: block;
}
._404button a {
    font-size: 24px;
    color: white;
    outline: none;
    display: block;
    line-height: 1;
    padding: 19px 49px;
    display: inline-block;
    margin: 30px 0 15px;
    border-radius: 60px;
}
.link_block_404:hover {
    box-shadow: 10px 10px 30px rgb(10 60 148 / 33%);
}
._404button a:hover {
    background: rgb(41,72,138)!important;
}
.hero_404 {
    background: #EFEFEF;
    padding: 120px 15px 50px;
    margin-top: -80px;
}
.link_block_404 {
    max-width: 369px;
    height: 345px;
    overflow: hidden;
    position: relative;
    border-radius: 21px;
    width: 100%;
    margin: 0 10px 40px;
    box-shadow: 10px 10px 30px rgb(74 74 74 / 20%);
}
.link_block_404 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
._404 .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.link_block_404 {
    max-width: 369px;
    height: 345px;
    overflow: hidden;
    position: relative;
    border-radius: 21px;
    width: 100%;
    margin: 0 10px 40px;
}
.link_block_404 a {
    position: absolute;
    width: 100%;
    height: 100%;
}
._404 .container {
    max-width: 1230px;
}
.link_block_404_txt {
    position: absolute;
    width: 600px;
    height: 600px;
    z-index: 2;
    top: 40%;
    left: 35%;
    background: white;
    border-radius: 100%;
}
.link_block_404_txt span {
    position: absolute;
    top: 135px;
    left: 77px;
    font-size: 23px;
    text-transform: uppercase;
    font-style: italic;
    max-width: 150px;
    display: flex;
    align-items: flex-end;
    min-height: 60px;
    font-weight: 600;
    color: #4A4A4A;
}
.link_block_404 a:hover .link_block_404_txt span {
    color: rgb(22,98,211);
}
.link_block_404:hover {
    box-shadow: 10px 10px 30px rgb(22,98,211 / 40%)!important;
}
div#main_content._404 {
    padding-top: 70px;
    background: white;
    padding-bottom: 50px;
}


 
@media(max-width:999px) {
    ul._404_links {
        justify-content: center;
        margin: 50px 0 0;
    }
    #main_content ul._404_links li {
        margin: 0 5px 20px;
    }
}

@media(max-width:999px) {
    .left {
        margin: auto;
    }
}

@media(max-width:579px) {
    .hero_404{
    padding: 120px 0px 50px;
    }
    .hero_404 .wrapper {
        margin: auto;
    }
    ul._404_links li {
        padding: 15px 20px 10px;
        font-size: 19px;
        margin: 0 5px 20px;
    }
    ._404heading_title {
        font-size: 120px;
    }
    ._404heading_stitle {
        font-weight: 700;
        font-size: 29px;
        margin: 0 0 20px;
    }
    .hero_404 {
        font-size: 23px;
    }
    ._404button {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        margin: 20px 0 0;
    }
    .hero_404 .container {
        max-width: calc(100% - 30px);
        margin: 15px auto 20px;
        padding: 75px 0px 10px;
        background: transparent !important;
    }
    .left {
        display: block;
        text-align: center;
        max-width: 360px;
        width: 100%;
        height: 570px;
        text-align: center;
        align-items: unset;
        margin: -100px auto 0;
    }
    .title_404 {
        font-weight: 700;
        margin: 0 0 25px;
    }
    .sub_title_404 {
        font-size: 24px;
        line-height: 1.1;
        max-width: 300px;
        margin: 24px auto 25px;
    }
    ._404button {
        margin: 0px 0 0;
    }
    ._404button a {
        margin: 0px 0 15px;
    }
    .button-container {
        z-index: 99;
    }
    .link_block_404_txt span {
        left: 50px;
    }
    .formobile {
        display: block !important;
        border-radius: 26px;
        overflow: hidden;
    }
    .link_block_404 {
        max-width: 269px;
        height: 245px;
  
        width: 100%;
        margin: 0 10px 40px;
    }
    .link_block_404_txt {
        position: absolute;
        width: 400px;
        height: 400px;
        z-index: 2;
        top: 42%;
        left: 25%;
    }
    .button-container {
        z-index: 9;
    }
    .link_block_404_txt span {
        top: 70px;
        left: 69px;
        max-width: 130px;
        font-size: 19px;
    }
    .hero_404 .container {
        max-height: 490px;
        min-height: 490px;
    }
}