* {
    font-family: 'Open Sans', Arial;
}

body {
    background: #eee;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

li {
    list-style: none;
}

.top {
    background: #154360;
    width: 100%;
    display: table;
    padding: 12px 0;
}

.top .content, header .content, section#portada .content, section#noticias .content, section#provincias .content, .copy .content {
    width: 90%;
    margin: 0 auto;
}

.top .content .lt {
    float: left;
}

.top .content .lt a {
    float: left;
    padding: 0 12px;
}

.top .content .lt a p {
    margin: 0;
    padding: 5px 0;
    color: #ddd;
    transition: 0.5s;
    font-size: 14px;
}

.top .content .lt a:hover p {
    color: #fff;
}

.top .content .rt {
    float: right;
}

.top .content .rt a {
    float: left;
    padding: 0 12px;
}

.top .content .rt a img {
    width: 24px;
    filter: invert(0.8);
    transition: 0.5s;
}

.top .content .rt a:hover img {
    filter: invert(1);
}

header {
    background: #185283;
    width: 100%;
    display: table;
    position: sticky;
    padding: 20px 0;
    top: 0;
    z-index: 1;
}

header .content {
    position: relative;
    display: table;
}

header .content .logo {
    float: left;
    width: 20%;
}

header .content .logo a img {
    width: 100%;
}

header .content nav {
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
}

header .content nav a {
    float: left;
    font-size: 15px;
    padding: 8px 15px;
    color: #fff;
    text-transform: uppercase;
}

section#portada {
    background: #111;
    display: table;
    width: 100%;
    padding: 80px 0;
}

section#portada .content .lt {
    float: left;
    width: 45%;
}

section#portada .content .lt li {
    width: 100%;
    min-height: 380px;
}

section#portada .content .lt li h5 {
    color: #fff;
    margin: 0;
    font-size: 15px;
}

section#portada .content .lt li h2 {
    color: #fff;
    margin: 12px 0;
    font-size: 48px;
    line-height: 70px;
}

section#portada .content .lt li p {
    color: gray;
    margin: 0;
    font-size: 15px;
}

section#portada .content .rt {
    float: right;
    width: 45%;
}

section#portada .content .rt .login {
    background: #fff;
    border-radius: 10px;
    padding: 40px 0;
    width: 60%;
    float: right;
}

section#portada .content .rt .login .content {
    width: 80%;
}

section#portada .content .rt .login h2 {
    width: 100%;
    text-align: center;
    margin: 0;
}

section#portada .content .rt .login li {
    margin: 20px 0;
}

label {
    font-size: 13px;
    text-transform: uppercase;
    color: gray;
}

input, select, textarea {
    width: 100%;
    padding: 8px 0;
    background: #fff;
    border-color: #ccc;
    border-width: 0 0 3px 0;
    border-style: solid;
    outline: none;
}

input:focus {
    border-color: royalblue;
}

.btn {
    padding: 10px 20px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    font-size: 14px;
    border-radius: 20px;
    font-family: 'Poppins', Arial;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #fff;
    background: royalblue;
    width: auto;
    margin: 0 auto;
    display: table;
}

.titulo h2 {
    width: 100%;
    border-bottom: 3px solid #aaa;
    display: table;
}

.titulo h2 strong {
    font-family: 'Ubuntu', Arial;
    font-weight: 100;
    font-size: 24px;
    text-transform: uppercase;
    color: #333;
    width: auto;
    padding: 10px 8px;
    border-bottom: 3px solid #123e76;
    margin-bottom: -3px;
    display: table;
    float: left;
}

.titulo h2 span {
    font-size: 13px;
    font-style: italic;
    font-weight: 100;
    color: gray;
    float: left;
    padding: 15px 0 15px 12px;
}

section#noticias, section#provincias {
    width: 100%;
    display: table;
}

section#noticias {
    padding: 20px 0;
}

section#noticias .content .resultados-noticias  {
    float: left;
    width: 70%;
}

section#noticias .content .resultados-noticias .noticias {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
}

section#noticias .content .resultados-noticias .noticias li {
    width: 100%;
    border-radius: 12px;
    background: #fff;
    transition: 0.5s;
    display: inline-block;
    position: relative;
}

section#noticias .content .resultados-noticias .noticias li:hover {
    box-shadow: 2px 3px 10px 2px rgb(0, 0, 0, 0.25);
}

section#noticias .content .resultados-noticias .noticias li .pic, section#noticias .content .resultados-noticias .noticias li .pic a img {
    width: 100%;
    border-radius: 12px 12px 0 0;
}

section#noticias .content .resultados-noticias .noticias li .info {
    width: 100%;
    padding: 20px 0 60px 0;
}

section#noticias .content .resultados-noticias .noticias li .info a {
    display: table;
    width: 90%;
    margin: 0 auto;
    background: #fff;
}

section#noticias .content .resultados-noticias .noticias li .info a h4 {
    color: #333;
    font-size: 15px;
    margin: 0;
}

section#noticias .content .resultados-noticias .noticias li .info a p {
    color: gray;
    font-size: 13px;
    line-height: 24px;
    margin: 8px 0 0 0;
}

section#noticias .content .resultados-noticias .noticias li .pie {
    background: #fff;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
    width: 100%;
    display: table;
    padding: 12px 0;
    position: absolute;
    bottom: 0;
}

section#noticias .content .resultados-noticias .noticias li .pie a {
    float: left;
    text-align: center;
    width: 25% !important;
    display: table !important;
    font-size: 13px;
}

section#noticias .content .sidebar {
    width: 25%;
    float: right;
    margin: 30px 0;
}

section#noticias .content .sidebar h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

section#noticias .content .sidebar li {
    margin: 0 0 20px 0;
}

section#noticias .content .sidebar li a img {
    width: 100%;
}

section#noticias .content .rt {
    float: right;
    width: 28%;
}

.alert {
	width: 100%;
	text-align: center;
	font-size: 13px;
	font-family: 'Ubuntu', Arial;
	font-weight: 100;
	padding: 14px 0;
	margin: 8px auto;
	border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

.alert.yellow {
	background: #FDFFD1;
	color: gray;
	border-color: #FCFFB7;
}

.alert.blue {
	background: #D8E3F9;
	color: #2E92CF;
    border-color: #D8E3F9;
    font-weight: bold;
    font-size: 14px;
}

section#provincias {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 20px 0 60px 0;
}

section#provincias .content .top {
    width: auto;
    margin: 0 auto;
    display: table;
    background: #fff;

}

section#provincias .content .top h2 {
    float: left;
    font-size: 24px;
    margin: 0;
    font-weight: bold;
    padding: 8px 0;
}

section#provincias .content .top select {
    float: left;
    border-width: 0 0 3px 0;
    border-color: gray;
    font-size: 15px;
    outline: none;
    border-style: solid;
    padding: 15px 0;
    margin: 0 0 0 14px;
}

section#provincias {
    display: flex;
}

#resultados-provincias {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#resultados-provincias li {
    position: relative;
    flex: auto;
    border-radius: 10px;
    max-width: 100%;
    min-height: 100px;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#resultados-provincias li:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

#resultados-provincias li .pic, #resultados-provincias li .pic a, #resultados-provincias li .pic a img {
    width: 100%;
    height: 100%;
}

#resultados-provincias li .info {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
}

#resultados-provincias li .info span {
    position: absolute;
    top: 18px;
    left: 18px;
    background: orangered;
    border-radius: 10px;
    padding: 5px 12px;
    font-size: 13px;
    color: #fff;
}

#resultados-provincias li .info a {
    margin: 0 auto;
    width: 90%;
    display: table;
}

#resultados-provincias li .info h2 {
    color: #fff;
    position: absolute;
    bottom: 20px;
    font-size: 18px;
    font-weight: 28px;
    width: 90%;
}

#resultados-provincias li .info .focus, #resultados-provincias li .info:hover h2 {
    display: none;
}

#resultados-provincias li .info:hover .focus {
    display: block;
    position: absolute;
    bottom: 20px;
}

#resultados-provincias li .info .focus h4 {
    color: #fff;
    margin: 0;
    display: table;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
}

#resultados-provincias li .info .focus p {
    color: #fff;
    margin: 0;
    display: table;
    font-size: 13px;
    line-height: 20px;
}

section#banner {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg');
}

section#banner .container {
    background: rgba(0, 0, 0, 0.8);
    display: table;
    width: 100%;
}

section#banner .container .frase {
    margin: 0 auto;
    padding: 120px 0;
}

section#banner .container .frase h4 {
    font-size: 24px;
    color: #eee;
    margin: 0 auto;
    text-align: center;
    font-family: 'Ubuntu', Arial;
    font-weight: 100;
}

section#banner .container .frase h2, section#banner .container .frase h2 strong {
    font-size: 48px;
    color: #fff;
    margin: 20px auto;
    text-align: center;
    font-family: 'Ubuntu', Arial;
    font-weight: 100;
}

section#banner .container .frase h2 strong {
    font-weight: bold;
}

section#banner .container .frase p {
    font-size: 18px;
    color: orangered;
    font-family: 'Ubuntu', Arial;
    font-weight: bold;
    text-align: center;
}

section#banner .container .frase a.btn {
    font-size: 15px;
    margin: 40px auto 0 auto;
    width: auto;
    display: table;
}

footer {
    background: #222;
    padding: 40px 0;
    display: table;
    width: 100%;
}

footer .content {
    position: relative;
    width: 90%;
    margin: 0 auto;
    display: table;
}

footer .content .pic {
    width: 25%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
}

footer .content .pic img {
    width: 100%;
}

footer .content nav {
    float: right;
    width: 65%;
}

footer .content nav .lt {
    width: 48%;
    float: left;
}

footer .content nav .rt {
    float:  right;
    width: 48%;
}

footer .content nav .lt h2, footer .content nav .rt h2 {
    font-size: 24px;
    color: #fff;
    width: 100%;
    text-align: left;
    margin: 0 0 60px 0;
}

footer .content nav .lt h2 strong, footer .content nav .rt h2 strong {
    padding: 0 0 20px 0;
    border-bottom: 3px solid orangered;
}

footer .content nav .lt li, footer .content nav .rt li {
    width: 100%;
    display: table;
    margin: 20px 0;
}

footer .content nav .lt li img, footer .content nav .rt li img {
    width: 24px;
    filter: invert(1);
    float: left;
}

footer .content nav .lt li p, footer .content nav .rt li p {
    float: left;
    margin: 0 0 0 20px;
    color: #fff;
}

footer .content nav .lt li p {
    margin: 0 !important;
}

.copy {
    background: #000;
    padding: 20px 0;
}

.copy .content {
    display: table;
}

.copy .content .lt {
    float: left;
    width: 50%;
}

.copy .content .lt p {
    margin: 0;
    padding: 0;
    color: gray;
}

.copy .content .rt {
    float: right;
    width: 50%;
}

.copy .content .rt p {
    color: gray;
    float: right;
    margin: 0;
}

.copy .content .rt a {
    float: right;
    margin-left: 5px;
    width: 120px;
    margin-top: -5px;
}

.copy .content .rt a img {
    width: 100%;
    filter: invert(1);
}

dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

dialog .box {
    border-radius: 20px;
    padding: 0;
    z-index: 1;
    width: 40%;
    border: none;
    background: #fff;
    display: table;
}

dialog .box header {
    background: orangered;
    padding: 20px  0;
    display: table;
    border-radius: 20px 20px 0 0;
}

dialog .box header h2 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 0 20px;
    padding: 0;
    float: left;
    text-transform: uppercase;
}

dialog .box header a {
    float: right;
    color: #fff;
    font-size: 18px;
    margin: 0 20px 0 0;
    cursor: pointer;
}

dialog .box main {
    padding: 30px 0;
    width: 90%;
    margin: 0 auto;
    display: table;
    border-radius: 0 0 20px 20px;
}

dialog .box main li {
    float: left;
    width: 33%;
    text-align: center;
}

dialog .box main li .pic {
    display: table;
    margin: 0 auto;
    width: auto;
    padding: 30px;
    border: 5px solid #eee;
    border-radius: 50%;
    transition: 0.5s;
}

dialog .box main li .pic img {
    text-align: center;
    width: 60px;
    padding: 8px;
}

dialog .box main li .pic:hover {
    background: #000;
}

dialog .box main li .pic:hover img {
    filter: invert(1);
}

dialog .box main li p {
    width: 100%;
    font-size: 15px;
    color: #333;
    text-align: center;
    margin: 25px 0 0 0;
}