/*
**  WARNING: this CSS is based on ACA and should be adapted for generic UGO core
*/

body.error {
    padding-top:0;
    background: url(../images/BG_error_img.jpg) #2A272A no-repeat bottom center;
    background-size: cover;
    background-attachment: fixed;
}

body.error .nav-company-logo {
    height: 100px;
    width: 200px;
    background: transparent url(../images/logo_welcome@2x.png) no-repeat center center;
    background-size: cover;
    top: 4px;
    margin:0 auto;
    left: 50%;
    margin-left:-100px;
    position: absolute;
}
.welcome_text_image {
    width: 640px;
    height: 340px;
    background: url(../images/img_welcome_web_l@2x.png) transparent no-repeat top center;
    background-size: cover;
    position:absolute;
    left: 50%;
    top:50px;
    margin-left:-318px;
}

.continue_btn {
    position:absolute;
    width:60px;
    height: 60px;
    overflow:hidden;
    border-radius: 50%;
    font-size: 36px;
    line-height: 60px;
    text-align:center;
    margin-top: 430px;
}

.continue_btn .glyphicon {
    line-height: 56px;
}

#errorNav, nav#errorNav {
    height: 39px;
    width: 100%;
    position: absolute;
    z-index: 99999;
}

#errorNav .menu-right {
    width: 170px;
    height: 39px;
    overflow:hidden;
}

#errorNav .menu-right .navbar-nav {
    margin: 0;
}

#errorNav .menu-right .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 767px) {
    #errorNav .menu-right {
        text-align:right;
    }
}

body.error .menu-right.role-bg, body.error .menu-right.role-bg:hover, body.error .menu-right a:hover {
    background-color:transparent!important;;
}

a.ugo-brand {
    display: block;
    width: 100%;
    height: 100%;
}

a.ugo-brand span {
    display: none;
}

.error-language h2 {
    text-align: center;
}

.error-language .error-description {
    text-align: center;
    margin: 0px 0 25px;
}

.error-page {
    flex: 1 0 auto;
    position: relative;
}

.error-container {
    position: relative;
    min-height: 430px;
    top: 0;
}
.error-container.welcome_200 {
    margin-top: -100px;
}
.error-content {
}
.error-content:first-child {
    /*margin-top: 135px;*/
}

.error-background {
    height: 230px;
    width: 100%;
    padding-top: 70px;
}


.code_404 .error-background {
    background: transparent url("../images/IMG_logo_404@2x.png") no-repeat bottom center;
    background-size:269px 95px;
}

.code_500 .error-background {
    background: transparent url("../images/IMG_logo_500@2x.png") no-repeat bottom center;
    background-size:238px 95px;
}

.code_retry .error-background {
    background: transparent url("../images/IMG_error_retry.png") no-repeat bottom center;
    background-size:137px 95px;
}
.error-content {
    width: 60%;
    margin: auto;
    text-align:center;
}

.error-content .btn {
    margin: 0 auto;
    width: 200px;
    height: 45px;
    line-height: 33px;
    /*font-size: 15px;*/
    display: block;
    border: 0;
    border-radius: 0;
}

@media (max-width: 768px) {
    body.error {
        padding-top:0;
        background: url(../images/BG_error_img.jpg) #2A272A no-repeat bottom center;
        background-size: cover;
        background-attachment: fixed;
    }
    .error-content {
        width: 80%;
        margin: auto;
        text-align:center;
    }
    .code_500 .error-content,
    .code_200 .error-content,
    .code_404 .error-content {
    }
    .welcome_text_image {
        width: 274px;
        height: 179px;
        background: url(../images/img_welcome_web_s@2x.png) transparent no-repeat top center;
        background-size: cover;;
        position:absolute;
        left: 50%;
        top:30px;
        margin-left:-137px;
    }

    .continue_btn {
        position:absolute;
        width:40px;
        height: 40px;
        overflow:hidden;
        border-radius: 50%;
        font-size: 28px;
        line-height: 36px;
        text-align:center;
        margin-top: 270px;
        margin-left: -20px;
    }
    .continue_btn .glyphicon {
        line-height: 36px;
        /*bootstrap sucks*/
    }
}
