/********************************
FUENTES PERSONALIZADAS
*********************************/
@font-face {
    font-family: LabilGroteskBasic;
    src: url(fuentes/LabilGroteskBasic-Light.ttf);
}
@font-face {
    font-family: LabilGroteskBasic;
    src: url(fuentes/LabilGroteskBasic-Bold.ttf);
    font-weight: bold;
}
@font-face {
    font-family: SummerLovingSolid;
    src: url("fuentes/Summer Loving Solid.otf");
}


/********************************
ESTILOS GENERALES
*********************************/
* {
    box-sizing: border-box;
    transition: all 0.5s ease;
}

html,body,form {
    height:100%;
    margin:0px;
}

body {
    height: 100%;
    margin: 0px;
    padding: 10px;
    /*background-image: url(../images/fondo1.jpg);
    background-attachment: fixed;
    background-size: cover;*/
    background-color: #f0f0f0;
}

h1,h2{
    text-align:left;
}

a{
    color:black;
}
    a:hover {
        color: #cd2340;
    }
.tdn{
    text-decoration:none;
}

.pagina {
    border: 1px solid #e5e6e8;
    background-color: white;
    max-width: 1000px;
    margin: auto;
    box-shadow: 0px 0px 8px #999999;
    /*padding-bottom:20px;*/
    position: relative;
    border-bottom: 4px solid #e12b32;
    padding-top:16px;
}

.encabezado{
    /*padding: 16px;*/
    white-space:nowrap;
}
.encabezado table{
    margin:4px 48px 8px 16px;
}

#divIdioma {
    position: absolute;
    right: 100px;
    top: 5px;
    font-family: Montserrat;
    font-size: 0.7em;
    font-weight:500;
    z-index:100;
}

#divlogogva {
    margin-left: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
}
#divlogogvayclaim {
    padding-left: 7%;
}

#logoestamoscontigo {
    text-align: left;
    padding-left: 10px;
    height:100px;
    width:180px;
    background-position: right;
    background-size: auto 100%;
    background-repeat: no-repeat;
    margin-top: 20px;
    position:relative;
}

.titulo {
    font-family: LabilGroteskBasic;
    font-size: 2.5em;
    font-weight:bold;
    font-variant: small-caps;
}

.titulo2 {
    font: 1.3em bold Arial Black,Georgia;
    font-variant: small-caps;
}

.telefono {
    /*background-color: #eeeeee;*/
    background-image:url(../images/opa70w.png);
    padding: 10px;
    font-variant: small-caps;
    border-top: 1px solid #e5e6e8;
    border-bottom: 1px solid #e5e6e8;
}
    .telefono td {
        color: red;
        font-weight: 800;
        font: 0.9em Arial Black;
        text-shadow:1px 1px 2px white;
    }

.divTelefono {
    display: inline-block;
    width: 100%;
    text-align: left;
    color: red;
    font-weight: 800;
    font: 0.9em Arial Black;
    text-shadow: 1px 1px 2px white;
    margin-bottom:6px;
    position:relative;
    z-index:100;
}

.lnk {
    color: #cd2340
}

.lnkAutotest {
    display: inline-block;
    /*border: 1px solid red;*/
    padding: 4px;
    text-decoration:none;
    color:red;
    text-shadow:none;
}
    .lnkAutotest:hover {
        background-color: #cd2340;
        color:white;
    }

.lnkIdioma {
    color: #cd2340;
    font-weight:bold;
    text-decoration:none;
}
.lnkIdioma:hover {
    color: black;
}
.consellerias {
    max-width: 180px;
    display: inline-block;
    width: 20%;
    vertical-align: top;
    margin-top: 6px;
}

    .consellerias a {
        display: block;
        padding: 6px;
        margin-left:8px;
        border: 1px solid #e5e6e8;
        background-color: #d8d9db;
        font: 0.65em Montserrat;
        margin-bottom: 2px;
        text-decoration: none;
        color: black;
        /*text-shadow:1px 1px white;*/
    }

        .consellerias a:hover {
            border: 1px solid #cd2340;
            background-color: #cd2340;
            color: white;
            /*text-shadow: -1px -1px #4b0c16;*/
        }

.contApartados {
    padding-left: 0px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.contApartados .imgSeccion {
    position: absolute;
    left: 18px;
}

.contApartados img{
    height: 200px;
}

.contenidopie {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    padding-left: 21px;
    text-align:center;
}
    .contenidopietxt {
        display: inline-block;
        vertical-align: middle;
        width: 33%;
        float:right;
        padding-top: 20px;
        padding-right: 21px;
    }
    .apartado{
    display:inline-block;
    margin-right:13px;
    margin-bottom:3px;
    vertical-align:top;

}

    .apartado:hover {
    }

    .apartado .titapartado {
    }
    .apartado:hover .titapartado {
    }

.ap1 {
}
.ap2 {
}
.ap3 {
}
.ap4 {
}
.ap5 {
}
.ap6 {
}
.ap7 {
}
.ap8 {
}
.ap9 {
}


.ap1i {
    background-image: url(../images/imagenes/punto1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap2i {
    background-image: url(../images/imagenes/punto2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap3i {
    background-image: url(../images/imagenes/punto3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap4i {
    background-image: url(../images/imagenes/punto4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap5i {
    background-image: url(../images/imagenes/punto5.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap6i {
    background-image: url(../images/imagenes/punto6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap7i {
    background-image: url(../images/imagenes/punto7.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.ap8i {
    background-image: url(../images/imagenes/punto8.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}


.blocNoticias {
    margin-top:20px;
    padding: 16px;
    border-top: 1px solid #e5e6e8;
    display:none;
}

.noticia{
    display:inline-block;
    padding:2px;
    margin-right:3px;
    margin-bottom:3px;
    border:1px solid #cccccc;
    border-radius:0px 5px 0px 5px;
    width:235px;
    height:130px;
    overflow:hidden;
}
    .noticia:hover {
        background-color: #eeeeee;
        border: 1px solid #cd2340;
        cursor:pointer;
    }
.noticia img{
    width:80px;
    border-radius:3px;
    border:1px solid #888888;
}
.nottit{
    font: 11.5px Arial, Calibri, Tahoma;
    font-weight:bold;
    color:#444444;
}
.notcuerpo{
    font:11px Arial, Calibri, Tahoma;
    color:#666666;
    font-style:italic;
    margin-top:4px;
}
.cuerpoAptdo {
    font: 0.9em Arial, Calibri, Tahoma;
    padding: 16px 24px 120px 24px;
    text-align: justify;
    background-image: url(../images/cas/fondo.jpg);
}

.divAutotest {
    display: inline-block;
    /*width: 220px;*/
    width:100%;
    text-align: right;
    color: red;
    font-weight: 800;
    font: 0.9em Arial Black;
    text-shadow: 1px 1px 2px white;
    margin-bottom: 6px;
}

.divTweets {
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 3px solid #dddddd;
    border-top-width: 0px;
    /*width: 220px;*/
    width:100%;
    height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 5px;
    font-family: Arial Black;
    font-size: 0.7em;
    color: #666666;
    background-color: #e0e0e0;
    margin-left:2px;
}

.divNoticias {
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 3px solid #dddddd;
    border-top-width:0px;
    width: 220px;
    height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0px;
    font-family: Arial Black;
    font-size: 0.7em;
    color: #666666;
    margin-left:2px;
}

#imgDesk{
    max-width:100%;
}
#imgMov {
    max-width: 100%;
    display:none;
}

.encabPagina2 {
    width: 90%;
    background-color: #e12b32;
    padding: 2px;
    border: 3px solid #e12b32;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 2em;
    text-align: left;
    color: white;
    margin: auto;
    margin-top: 20px;
    position: relative;
}

.contPagina2 {
    width: 90%;
    background-color: #f5f5f5;
    border-left: 3px solid #e12b32;
    border-right: 3px solid #e12b32;
    border-bottom: 3px solid #e12b32;
    padding: 4px;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1em;
    text-align: left;
    color: black;
    margin: auto;
    position: relative;
    padding-left: 15%;
    padding-right:10%;
    padding-top:20px;
    padding-bottom:20px;
    background-color: #f5f5f5;
}

.contPagina2 p{
    display:list-item;
    list-style-type:circle;
    list-style-position:outside;
    list-style-image:url(../images/bullet.png);
    padding-left:6px;
}

#pastillas{
    text-align:center;
}
#pastillas img{
    width:30%;
}

.clearfix:after {
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

#footer {
    background-color: #d8d9db;
    max-width: 1000px;
    margin: auto;
    padding: 16px;
    height: auto;
    /*border-top: 2px solid #e12b32;*/
    color:black;
    text-shadow:1px 1px 0px white;
}

#icoDerecha{
    position:fixed;
    right:5px;
    bottom:5px;
}

#icoIzquierda {
    position: fixed;
    left: 5px;
    bottom: -5px;
}

#bocadilloDcha{
    position:absolute;
    left:-174px;
    top:-60px;
}
#bocadilloIzqda {
    position: absolute;
    left: 80px;
    top: -50px;
}
.titulogal{
    margin-bottom: 40px;
    font-family:Montserrat;
}
.titulogal h2 {
    text-align: center;
}
#videos {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding:4px;
}

.video1, .video2, .video3 {
    /*box-shadow:0px 0px 4px black;*/
    border: 1px solid #cccccc;
    background-color: black;
}

.video1 {
    width: 60%;
    display:inline-block;
    height: 370px;
    vertical-align:top;
}
#subvideos {
    height: 370px;
    width: 39%;
    display:inline-block;
    vertical-align:top;
    position:relative;
}
.video2{
    height:180px
}
.video3 {
    height: 180px;
    position:absolute;
    bottom:0px;
}

#enlacevermasvideos{
    text-align:right;
    font: 0.8em Montserrat;
    width:80%;
    margin:auto;
    margin-top:12px;
    margin-bottom:10px;

}
    #enlacevermasvideos a {
        text-decoration: none;
    }


