/**
 * Aviso windows XP y navegador distinto a Chrome, Firefox
 */

.block-layer{
    position: fixed;
    background: black;
    opacity: .5;
    z-index: 10000;
    width: 100%;
    height: 100%;
    top: 0px;
}

#old-browser{
    position: fixed;
    z-index: 10001;
    top: 200px;
    left: 0;
    right: 0;
    width: 600px;
/*    height: 200px;*/
    overflow: hidden;
    margin: auto;
    background: #eee;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.ob-msg-box{
    overflow: hidden;
    text-align: center;
    padding: 10px;
    width: 100%;
}
.ob-imagen,.ob-mensaje{
    padding: 10px 5px;
}

.ob-imagen{
    float: left;
    text-align: center;
    width: 200px;
}

.ob-mensaje{
    float: right;
    text-align: left;
    width: 350px;
}

.ob-imagen img{
    width: 100%;
    max-width: 90px;
    max-height: 80px;
}

.ob-button-box{
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.ob-button-box a{
    width: 250px;
    line-height: 2;
    background: #0d9ce1;
    border: 1px solid #ccc;
    padding: 3px;
    display: block;
    margin: auto;
    color: white;
}

/**
 * Aviso actualizar navegador
 *
 * Ultimas versiones soportadas en Win XP
 * FIREFOX < 52.9
 * CHROME < 50
 *
 */

#update-browser{
    display: flex;
    justify-content: center;
    position: fixed;
    position: sticky;
    width: 100%;
    background: #ffeb7b;//fff9d7;
    opacity: 1;
    text-align: center;
    line-height: 3;
    color: black;
    top: 0;
    z-index: 10000;
    height: 100px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

#update-browser a{
    color: darkblue;
    font-weight: bold;
}

#update-browser a{
    color: darkblue;
}

.ub-msg-box{
    display: flex;
    padding: 5px;
    justify-content: center;
}
.ub-img{
    background: url("/images/home/browser-old.png");

    max-width: 50px;
    width: 50px;
    height: 50px;
    background-size: 50px;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    padding: 5px;
}

.ub-img img{
    max-width: 50px;
}

.ub-text{
    align-self: center;
    padding: 5px 10px;
    text-align: left;
    line-height: 1.1;
}

.ub-text:first-line{
    font-weight: bold;
}








.ub-cerrar{
    right: 10px;
    width: 25px;
    position: absolute;
    top: 0;
    cursor: pointer;
}

/**

 */

@media (max-width: 721px) {
    #old-browser {
        width: 50%;
        min-width: 310px;
/*        height: 290px;*/
        top: 20px;
    }
    .ob-imagen,.ob-mensaje{
        width: 100%;
    }
    #update-browser{
        display: none;
    }
}
