/* NUEVOS ESTILOS */
@media (max-width: 440px) {
    li.curso {
        padding: 20px 20px 190px 20px;
    }
    div.snippet {
        display: none;
    }
    div.columna_datos ul li {
        display: block;
    }
}
@media (max-width: 582px) {
    iframe {
        width: 100%;
        height: auto;
    }
}
@media (min-width: 650px) {
    div.columna_datos ul li {
        width: 18%;
        line-height: 1.5em;
        float: left;
    }
    div.columna_datos ul li.comienzo {
        width: 22%;
    }
}
@media (min-width: 441px) and (max-width: 567px) {
    li.curso {
        padding: 20px 20px 90px 20px;
    }
}
@media (min-width: 568px) and (max-width: 991px) {
    li.curso {
        padding: 20px 20px 90px 20px;
    }
}
@media (min-width: 992px) {
    li.curso {
        padding: 20px 20px 60px 20px;
    }
    div#capa_mapa {
        height: 200px;
        margin-top: 70px;
    }
    ul.galeria {
        margin-left: -40px;
        margin-top: -25px;
    }
}
@media (max-width: 700px) {
    div#imagenCabecera {
        display: block;
    }
    .logotipo_centro .imagen {
        width: 140px;
        margin: 0 auto;
    }
    span.texto h1 {
    font-size: 22px;
    text-align: center;
    }   
    div.sede span {
        display: block;
    }
    #descripcion_centro {
        margin-bottom: 30px;
    }
    div.listado_sedes {
        text-align: center;
    }
    p.descCurso {
        display: none;
    }
}
@media (min-width: 701px) {
    .logotipo_centro .imagen {
        display: block;
        float: left;
        overflow: hidden;
        width: 140px;
    }
    .logotipo_centro .texto {
        display: block;
        width: auto;
    }
    span.texto h1 {
        font-size: 22px;
        float: left;
    }   
    div.sede span {
        float: right;
    }
}
@media (max-width: 991px) {
    div.logotipo_centro {
        margin-top: 20px;
    }
}
div#navegacion {
    margin: 0;
}
div.datos_detallados table#facultad {
    clear: both;
    overflow: hidden;
    margin-top: 80px;
}
h1 {
    font-size: 22px;
    font-weight: bold;
}
span.texto {
    display: block;
    line-height: 1.5em;
    overflow: hidden;
    width: auto;
    font-weight: bold;
}
h2.cabecera {
    font-size: 22px;
    background-color: #D3D3D3;
    padding: 10px;
}
h3#videos, h3#imagenes, h3#titulo_listado, div.bloqueCursos h2 {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 10px;
    margin-left: -15px;
}
h3#sedes, h3.titulo_sedes {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 10px;
}
div.moverColumnaTop {
    margin-left: -15px;
    margin-top: -40px;
}
div.moverColumnaLeft {
    margin-left: -15px;
}
div.listado_sedes {
    margin-bottom: 60px;
}
div.listado_sedes ul li {
    display: inline-block;
    margin-left: 15px;
}
div.listado_sedes ul li a {
    color: #5275B7;
    font-size: 15px;
}
div.listado_sedes ul li a:before {
    content: '>';
    margin-right: 3px;
}
div.listado_sedes ul li a:hover {
    text-decoration: none;
}
div.sede {
    border: 1px solid #5275B7;
    color: #5275B7;
    font-weight: bold;
    background-color: #fff;
    padding: 10px;
}
.listado_cursos tr td {
    padding: 15px;
    height: 300px;
}
ul.listadoCurso {
    background-color: #eee;
    padding: 30px;
}
ul.listadoCursoVacio {
    display: none;
}
li.curso {
    background-color: #fff;
    margin: 0 auto 20px;
    width: 95%;
}
ul.lista > li:hover {
    outline: 1px solid #7b7b7b;
}
div.curso li:nth-of-type(1) {
    font-size: 24px;
    color: #0086b3;
}
div.curso li:nth-last-of-type(2),
div.curso li:nth-last-of-type(3),
div.curso li:nth-last-of-type(4),
div.curso li:nth-last-of-type(5) {
    float: left;
}
span.nombreCurso {
    display: block;
    font-size: 22px;
}
ul#listadoCursos {
    background-color: #eee;
}
#descripcion_centro_completa {
    display: none;
    float: left;
    height: auto;
    line-height: 13pt;
    padding-top: 20px;
    text-align: justify;
    margin-top: -10px;
}
#descripcion_centro {
    display: block;
    float: left;
    line-height: 13pt;
    padding-top: 20px;
    text-align: justify;
    margin-top: -10px;
}
#botones_desplegar {
    display: inline-block;
    margin: 4px 0;
    padding: 8px;
    width: 100%;
}
#mas_info, #menos_info {
    color: #5275b7;
    cursor: pointer;
}
#menos_info {
    display: none;
}
#descripcion_centro_completa {
    transition: .5s;
}
p.descCurso {
    margin-top: 15px;
}
img#imagenCabecera {
    width: 100%;
    margin-bottom: 20px;
}
@media (min-width: 1600px) {
    img#imagenCabecera {
        width: 100%;
        height: 600px;
        margin-bottom: 20px;
    }
}
li.curso_presencial {
    border-left: 6px solid #ea8a00;
}
li.curso_online {
    border-left: 6px solid #6799e0;
}
li.presencial-streaming {
    border-left: 6px solid #FF5733;
}
li.curso_distancia {
    border-left: 6px solid #67c99c;
}
li.curso_semipresencial {
    border-left: 6px solid #cccc66;
}
li.curso_in_company {
    border-left: 6px solid #990073;
}
ul.listaEspec {
    float: right;
}
ul.listaEspec li {
    display: inline-table;
}
nav.listaFiltros {
    margin: 20px 0;
}
div#filtros ul {
    margin-left: -40px;
}
ul#exterior li {
    margin-bottom: 6px;
}
ul#exterior li b {
    margin-bottom: 10px;
}
ul.interior li {
    padding-left: 18px;
    padding-right: 10px;
}
ul.interior li:nth-child(1) {
    margin-top: 5px;
}
li.titulo {
    border-bottom: 1px solid #a4a4a4;
}
button.btnFiltros {
    width: 50%;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
div.ocultar {
    display: none;
}
div.mostrar {
    display: block;
    transition: 5s;
    height: auto;
}
div#filtros li,
div#filtros a {
    color: #7b7b7b;
}
ul.galeria li {
    display: inline;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
}
div#media {
    margin-bottom: 20px;
}
tr {
    margin-bottom: 10px;
}
td strong {
    margin-right: 20px;
}
div#capa_mapa {
    height: 200px;
}
.ocultarFiltrosPorCampus {
    display: none;
}
h2.titulo_facultad {
    font-size: 20px;
    font-weight: bold;
    color: #ee1f25;
}
h3.nombre_campus {
    color: #666;
    font-size: 18px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid grey;
}
table.campus {
    margin-top: 10px;
    width: 100%;
}
table.campus td:nth-of-type(1) {
    width: 50%;
}
table.campus td:nth-of-type(2) {
    width: 10%;
}
table.campus td:nth-of-type(3) {
    width: 40%;
    float: right;
}
/**** GALERIA FOTOS ****/
body {
    background: #444;
    margin: 0;
    font-family: monospace;
}

.galeria {
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.galeria li {
    margin: 5px;
}
.galeria li a img,
.galeria li iframe {
    width: 215px;
    height: 120px;
}
@media (min-width: 320px) and (max-width: 544px) {
    .imagen img {
        width: 300px;
        height: auto;
        box-sizing: border-box;
    }
}
@media (min-width: 545px) and (max-width: 767px) {
    .imagen img {
        width: 500px;
        height: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .imagen img {
        width: 700px;
        height: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media (min-width: 992px) and (max-width: 1199px){
    .imagen img {
        width: 900px;
        height: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media (min-width: 1200px) {
    .imagen img {
        height: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}
.modal {
    display: none;
}
.modal:target {
    display: block;
    position: fixed;
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    
}
.abrir-galeria {
   -webkit-animation: fadeIn .5s;
    animation: fadeIn .5s; 
}
.imagen {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.imagen a {
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 900;
}
.imagen a:hover {
    text-decoration: none;
}
.imagen a:nth-child(2) {
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}
.modal img {
    margin-top: 60px;
}
.modal a.antSig {
    margin-top: 100px;
    margin-left: 20px;
    margin-right: 20px;
}
.cerrar {
    font-family: "open sans";
    padding: 10px 25px;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
    transition: .5s;
    left: 47%;
    position: absolute;
    
}
#cerrar:target {
    -webkit-animation: fadeOut .5s;
    animation: fadeOut .5s;
}
div#filtros {
    overflow: hidden;
}

div.filtros span.cantidad {
    display: block;
    float: right;
    line-height: 25px;
}

div.filtros span.filtro {
    display: inline-block;
    padding-top: 3px;
    width: 80%;
}

div.filtros div.seleccion span.cantidad {
    display: inline;
    line-height: 25px;
    float: none;
}

div.filtros li, div.seleccion ul li {
    display: block;
    overflow: hidden;
    min-height: 25px;
    padding: 3px 0 3px 14px;
    font-size: 14px;
    font-weight: normal;
}

div.seleccion ul li.seleccionado {
    display: none;
}

div.filtros li.no_visible {
    display: none;
}

div.filtros h3 {
    font-weight: bold;
    margin: 25px 10px 10px 10px;
    font-size: 15px;
}

div.filtros h4 {
    font-weight: normal;
    margin: 25px 10px 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid #d8d8d8;
    color: #333333;
}

div.filtros ul li a, div.filtros ul li span.unico, div.seleccion ul li a {
    display: block;
    color: #333333;
    width: 95%;
    line-height: 25px;
    text-decoration: none;
}

div.filtros ul li:hover, div.filtros ul li.mas:hover, div.filtros ul li.menos:hover, div.filtros ul li.seleccionado {
    background-color: #D8D8D8;
}

div.filtros ul li.mas {
    background: url('/imagenes-web/mas3.png') no-repeat right;
    cursor: pointer;
    line-height: 25px;
    width: 94%;
}

div.filtros ul li.menos {
    background: url('/imagenes-web/menos3.png') no-repeat right;
    cursor: pointer;
    line-height: 25px;
    width: 94%;
}

div.patrocinio_canal {
    width: 100%;
    background: white;
    line-height: 25px;
    margin: 0;
}

span.cantidad {
    color: #7b7b7b;
}

div.seleccion {
    font-size: 16px;
}

span#titulo_filtros {
    display: block;
    font-weight: bold;
    margin: 30px 0 0px 10px;
    color: #5275b7;
    font-size: 16px;
}

/************************************************************************/
/********************       CURSOS      *********************************/
/************************************************************************/
div.titulo {
    overflow: hidden;
}

div.titulo h2 {
    color: #467fb6;
    text-decoration: none;
}

li.patrocinador a div.derecha{
    width: 20%;
    height: 100%;
    padding-top: 2%;
    padding-bottom:2%;
}

div.cursos ul.lista {
    float: right;
    background: none repeat scroll 0 0 #f6f6f6;
    padding: 10px;
}

div.cursosSinFiltros ul.lista {
    width: 100%;
    float: right;
    background: none repeat scroll 0 0 #f6f6f6;
    padding: 10px;
}

ul.lista > li {
    width: 95%;
    margin-bottom: 50px;
    overflow: hidden;
    background: none repeat scroll 0 0 #f6f6f6;
    margin: 15px auto;
    padding: 10px;
    background: white;
    padding-bottom: 0;
}
ul.lista > li.presencial,
div.listado_simple_cursos ul.lista_cursos li.presencial {
    border-left: 6px solid #ea8a00;
}

ul.lista > li.online,
div.listado_simple_cursos ul.lista_cursos li.tipoonline {
    border-left: 6px solid #6799E0;
}

ul.lista > li.presencial-streaming,
div.listado_simple_cursos ul.lista_cursos li.tipopresencial-streaming {
    border-left: 6px solid #FF5733;
}

ul.lista > li.distancia,
div.listado_simple_cursos ul.lista_cursos li.distancia {
    border-left: 6px solid #67C99C;
}

ul.lista > li.semipresencial,
div.listado_simple_cursos ul.lista_cursos li.semipresencial {
    border-left: 6px solid #cccc66;
}

ul.lista > li.video,
div.listado_simple_cursos ul.lista_cursos li.video {
    border-left: 6px solid #5800E7;
}

ul.lista > li.incompany,
div.listado_simple_cursos ul.lista_cursos li.incompany {
    border-left: 6px solid #c185ff;
}

ul.lista > li.cd,
div.listado_simple_cursos ul.lista_cursos li.cd {
    border-left: 6px solid #A50837;
}

ul.lista > li.patrocinador {
    max-height:150px;
    background:#e9eef4;
    padding:10px;
}

ul.lista > li.patrocinador a span.texto{
    font-size: 20px;
    font-weight: bold;
    color:#efc439;
}

ul.lista img.logocentro {
    float: left;
}

span.imparticion {
    background: none !important;
}
span.imparticion.presencial,
div.listado_simple_cursos ul.lista_cursos li.Presencial span.lugar {
    color: #ea8a00;
}

span.imparticion.semipresencial,
div.listado_simple_cursos ul.lista_cursos li.Semipresencial span.lugar {
    color: #cccc66;
}

span.imparticion.online,
div.listado_simple_cursos ul.lista_cursos li.tipoOnline span.lugar {
    color: #6799E0;
}

span.imparticion.presencial-streaming,
div.listado_simple_cursos ul.lista_cursos li.tipopresencial-streaming span.lugar {
    color: #FF5733;
}

span.imparticion.distancia,
div.listado_simple_cursos ul.lista_cursos li.Distancia span.lugar {
    color: #67C99C;
}

span.imparticion.incompany,
div.listado_simple_cursos ul.lista_cursos li.Incompany span.lugar {
    color: #c185ff;
}

span.imparticion.cd,
div.listado_simple_cursos ul.lista_cursos li.cd span.lugar {
    color: #A50837;
}

span.imparticion.video,
div.listado_simple_cursos ul.lista_cursos li.video span.lugar {
    color: #5800E7;
}

ul.lista li h2 {
    clear: right;
    float: left;
    font-size: 22px;
    margin-bottom: 12px;
    width: 95%;
}

ul.lista li span.centro {
    display: block;
    float: left;
    margin-top: 10px;
    color: #7b7b7b;
    font-size: 14px;
    width: 100%;
}

ul.lista li span.centro a {
    color: #7b7b7b;
    text-decoration: none;
}

ul.lista li a:hover {
    text-decoration: none;
}

ul.lista div.fila_evento {
    width: 100%;
    margin: 10px auto;
    clear: both;
    line-height: 1.4em;
}

ul.lista div.fila_evento div.snippet {
    line-height: 1.4em;
    color: #333333
}
a:hover {
    text-decoration: none;
}
span.comienzo {
    padding: 4px 0 8px 25px;
    display: block;
    color: #7b7b7b;
}

div.comienzo {
    background: url("/imagenes-web/calendario_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}

span.precio {
    padding: 4px 0 8px 25px;
    display: block;
    color: #7b7b7b;
    /*font-size:25px;*/
}

div.precio {
    background: url("/imagenes-web/precio_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}

span.lugar {
    padding: 4px 0 8px 25px;
    display: block;
    color: #7b7b7b;
}

div.lugar {
    background: url("/imagenes-web/lugar_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}

span.modalidad {
    padding: 4px 0 8px 25px;
    display: block;
}

span.modalidad.presencial {
    color: #cccc66;
}

span.modalidad.online {
    color: #99ccff;
}

span.modalidad.presencial-streaming {
    color: #FF5733;
}

div.modalidad {
    background: url("/imagenes-web/tic_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}

span.duracion {
    padding: 4px 0 8px 25px;
    display: block;
    color: #7b7b7b;
}

div.duracion {
    background: url("/imagenes-web/reloj_arena_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}

div.columna_datos {
    margin-top: 30px;
}

span.informacion {
    border-radius: 6px;
    display: block;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
    width: 135px;
    float: right;
    color: #fff;
    display: block;
    font-size: 16px;
    padding: 8px 0;
    font-weight: bold;
    text-decoration: none;
}
span.informacion:hover {
    opacity: .5;
}
span.leer_mas a {
    color: #467fb6;
}
div.seleccion {
    border-bottom: 1px solid #d9d8d8;
    display: block;
    font-weight: bold;
    margin: 10px;
    color: #5275b7;
    overflow: hidden;
    padding-top: 15px;
}
div.seleccion strong {
    display: block;
    font-weight: normal;
    margin: 10px 0 10px 10px;
    color: #5275b7;
    font-size: 14px;
}
ul.lista > li article > a {
    text-decoration: none;
}
div#listado_facultades_campus {
    margin-top: 50px;
}
div.snippet img,
div.snippet video {
    display: none;
}
div.snippet ul li {
    display: inline-block;
    margin-right: 50px;
    float: left;
}
/*** Paginador ***/
.paginador_lista {
    font-size: 18px;
    margin: 20px 0;
    text-align: center;
}
.paginador_lista .antsig {
    text-decoration: none;
    font-family: 'open sans';
}
/*** ESTILOS PARA LISTADO CURSOS RELACIONADOS (ESCAPARATE BAJA) ***/
@media (min-width: 1200px) {
    div.listado_simple_cursos {
        width: 70%;
    }
}
div.listado_simple_cursos ul.encabezado {
    display: none;
}
div.listado_simple_cursos ul.lista_cursos {
    background-color: #f6f6f6;
    padding: 20px;
}
div.listado_simple_cursos ul.lista_cursos li.par,
div.listado_simple_cursos ul.lista_cursos li.impar {
    margin-bottom: 20px;
}
div.listado_simple_cursos ul.lista_cursos li.par:hover,
div.listado_simple_cursos ul.lista_cursos li.impar:hover {
    outline: 1px solid #7b7b7b;
}
div.listado_simple_cursos ul.lista_cursos li.curso a {
    font-size: 20px;
    color: #467fb6;
}
ul.education {
    padding: 10px;
    background-color: #fff;
}
div.listado_simple_cursos ul.lista_cursos li.curso {
    padding: 0;
}
div.listado_simple_cursos ul.lista_cursos li.precio {
    background: url("/imagenes-web/precio_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.horas {
    background: url("/imagenes-web/reloj_arena_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.inicio {
    background: url("/imagenes-web/calendario_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.lugar.tipoOnline {
    background: url("/imagenes-web/tic_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.lugar.tipopresencial-streaming {
    background: url("/imagenes-web/tic_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.lugar {
    background: url("/imagenes-web/lugar_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.centro {
    background: url("/imagenes-web/imparte_gris.png") no-repeat scroll left top rgba(0, 0, 0, 0);
}
div.listado_simple_cursos ul.lista_cursos li.horas,
div.listado_simple_cursos ul.lista_cursos li.precio,
div.listado_simple_cursos ul.lista_cursos li.inicio,
div.listado_simple_cursos ul.lista_cursos li.centro {
    padding: 1px 25px;
}
div.listado_simple_cursos ul.lista_cursos li.lugar {
    margin-right: 25px;
}
div.listado_simple_cursos ul.lista_cursos li.centro a {
    color: #0086b3;
}
div.listado_simple_cursos ul.lista_cursos li.curso {
    width: 100%;
}
div.listado_simple_cursos ul.lista_cursos li.par li,
div.listado_simple_cursos ul.lista_cursos li.impar li {
    display: inline-block;
}
.listado_simple_cursos .consultar:before {
    content: 'Consultar';
}
div.listado_simple_cursos ul.lista_cursos li.horas,
div.listado_simple_cursos ul.lista_cursos li.inicio,
div.listado_simple_cursos ul.lista_cursos li.centro {
    margin-top: 20px;
}
div#mensaje_baja {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 60px;
    margin-top: 30px;
}



div.cursos {
    float: right;
}

div.cursos ul.lista{
    background: #f6f6f6 none repeat scroll 0 0;
    float: right;
    max-width: 780px;
    padding: 10px;
}

div.encabezado{
    background: #d9d8d8 none repeat scroll 0 0;
    border: 0 none;
    color: #333333;
    float: right;
    font-size: 24px;
    margin: 0;
    max-width: 780px;
    padding: 7px 2.5%;
    width: 100%;
}

div#seccion{
    overflow: hidden;
}

div.centro{
    margin-bottom: 25px;
}

div.filtros {
    margin-bottom: 30px;
    background: #f6f6f6 none repeat scroll 0 0;
    float: left;
}
@media (max-width: 991px) {
    span#titulo_filtros {
        text-align: center;
    }
}

div#listado_sedes {
    margin-bottom: 50px;
}

ul.sedes li {
    margin-right: 20px;
    margin-bottom: 10px;
}
a.btnSede {
    background-color: #fff;
    color: #337ab7;
    border: 1px solid #337ab7;
    transition: .5s;
}
a.btnSede:hover,
a.btnSede:active,
a.btnSede:focus,
li.btnActual,
li.btnActual:hover,
li.btnActual:active,
li.btnActual:focus {
    background-color: #337ab7;
    border: 1px solid #337ab7;
    color: #fff;
}
div#listado_sedes {
    margin-top: 50px;
}

/**** FILTROS ****/
@media (min-width: 992px) {
    div.btnFiltros {
        display: none;
    }
    div.mostrar_filtros, span#titulo_filtros {
        display: block;
    }
}
@media (max-width: 991px) {
    div.btnFiltros {
        display: block;
    }
    div.ocultar_filtros, span#titulo_filtros {
        display: none;
    }
}
div.btnFiltros {
    width: 100%;
    padding: 10px;
    background-color: #337AB7;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    cursor: pointer;
    border: 0;
    border-radius: 4px;
}
div.btnFiltros:hover {
    width: 100%;
    padding: 10px;
    background-color: #337AB7;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    cursor: pointer;
    border: 0;
    border-radius: 4px;
    opacity: 1;
}
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
#aviso {
    display: none;
    opacity: 0;
    margin-top: 300px;
}
#aviso:target {
    position: absolute;
    display: block;
    opacity: 1;
    border-radius: 3px;
    position: relative;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:0;
    z-index: 999;
    transition:all 1s;
}
.popup-contenedor {
    width: 60%;
    margin-top: 530px;
    position: absolute;
    clear:both;
    padding:10px;
    background-color: #fafafa;
    color:#333;
    border-radius: 3px;
    border: 1px solid #000;
    -webkit-box-shadow: 0px 0px 9px 4px rgba(0,0,0,0.28);
    -moz-box-shadow: 0px 0px 9px 4px rgba(0,0,0,0.28);
    box-shadow: 0px 0px 9px 4px rgba(0,0,0,0.28);
}
a.popup-cerrar {
    position: absolute;
    top:3px;
    right:3px;
    background-color: #5275B7;
    padding:7px 10px;
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
    color:#fff;
    border-top-right-radius: 3px;
    margin-bottom: 20px;
}
a.popup-cerrar:hover {
    text-decoration: none;
    color: #000;
}
a.popup-link {
    float: left;
    padding: 8px;
    border: 1px solid #5275B7;
    border-radius: 20px;
    background-color: #fff;
    color: #5275B7;
    transition: .5s;
}
a.popup-link:hover {
    text-decoration: none;
}