﻿.main-wrapper {
    position: relative;
}
.outer-wrapper {
    color: #000;
    margin-bottom: 29px;
    font-size: 42px;
    line-height: 75px;
    text-align: center;
}
    .outer-wrapper span {
        font-size: 90px;
        display: block;
    }

/* MESSAGE */
.message {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    padding: 0 20px;
}

/* NAVIGATION */
.nav-wrapper {
    display: table;
    margin: 0 auto 30px auto;
    margin-top: 40px;
    margin-bottom: 0;
}

    .nav-wrapper a {
        font-size: 16px;
        text-decoration: none;
        text-align: center;
        vertical-align: middle;
        margin-right: 5px;
        padding: 6px 35px;
        background: #1b7dff !important;
        color: #fff;
        text-transform: capitalize;
    }
        .nav-wrapper a:hover {
            background: #fff;
            color: #233d63;
        }

/* SOCIAL LINKS */
.social-links {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    clear: both;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(78, 180, 219, 0.5);
        display: inline-block;
        text-align: center;
        vertical-align: middle;
        color: #fff;
        font-size: 19px;
        margin: 1px;
        padding: 9px 0 0 0;
        border-radius: 20px;
        box-shadow: 0 1px 0px 1px rgba(78, 180, 219, 0.7);
    }

p.copyrights {
    font-size: 12px;
    text-align: center;
    font-family: arial;
}

/* HOVER EFFECTS */
.nav-wrapper a:hover, .search-box .btn:hover, .social-links a:hover {
    background: #fff;
    color: #233d63;
}

.er_posi {
    position: absolute;
    width: 100%;
    top: 85px;
}

.suber {
    text-align: center;
    color: #000;
    font-size: 30px;
    margin-bottom: 0;
}

.error_img {
    position: relative;
}

.errp {
    text-align: center;
    color: #000;
    font-size: 25px;
}

.error_img img {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}

.nav-wrapper a:hover {
    background: #192b48 !important;
    color: #fff;
}
@media only screen and (max-width:1199px) and (min-width:992px) {
    .er_posi {
        position: absolute;
        width: 100%;
        top: 50px;
    }
}

@media only screen and (max-width:991px) and (min-width:768px) {
    .er_posi {
        top: 25px;
    }
    .outer-wrapper {
        margin-bottom: 10px;
        font-size: 42px;
    }
        .outer-wrapper span {
            font-size: 60px;
            display: block;
        }
    .suber {
        font-size: 20px;
    }
    .errp {
        font-size: 20px;
    }
    .nav-wrapper a {
        padding: 6px 20px;
    }
}

@media only screen and (max-width:767px) and (min-width:320px) {
    .er_posi {
        top: 0;
    }

    .outer-wrapper span {
        font-size: 50px;
    }

    .suber {
        font-size: 20px;
    }

    .errp {
        font-size: 20px;
    }

    .nav-wrapper a {
        padding: 6px 6px;
        font-size: 13px;
    }

    .er_posi {
        position: relative;
        width: 100%;
        top: 0;
    }

    .outer-wrapper {
        color: #000;
        margin-bottom: 0;
    }
    .nav-wrapper {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}