html,
body {
    margin: 0;
    margin-top: 0 !important;
    padding: 0;
    background: black !important;
    color: #FFFFFF;
    scroll-behavior: smooth;
}

a {
    color: #00b2b2;
    text-decoration: none;
    cursor: pointer;
}

.clear {
    float: none;
    clear: both;
}

.section {
    /*max-height: 100vh;
	min-height: 100vh;*/
    height: 100vh !important;
    width: 100%;
    position: relative;
    overflow: hidden;
}

section.oscurecer>div {
    background-color: black;
}

section.oscurecer .video-container {
    opacity: 0.7;
}

h1.title {
    font-size: 45pt;
    color: transparent;
    -webkit-text-stroke: 2px white;
    font-family: 'Archivo Black', sans-serif;
    line-height: 1;
}

h4.subtitle {
    font-weight: 100;
    font-family: 'Oswald', sans-serif;
    font-size: 21pt;
    margin-top: 40px;
}

h4.subtitle>mark {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
    padding-top: 0;
    color: #a7c860;
    background-color: black;
    line-height: 1.7;
}


/*Title and subtitle container*/

.text-container {
    width: 100%;
    position: absolute;
    top: 0;
    padding-top: 150px;
    padding-bottom: 80px;
    height: 100vh;
    z-index: 10;
    display: flex;
    align-items: center;
}


/*Background video container*/

.video-container {
    min-width: 100%;
    min-height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}


/*Footer Section container*/

.content-bottom-text {
    width: 100%;
    position: absolute;
    bottom: 0;
    margin-bottom: 15px;
    z-index: 10;
}


/*HEADER*/

header,
header img {
    transition: all .6s;
}

header .logo {
    cursor: pointer !important;
    pointer-events: auto;
    padding: 20px;
}

header.noticias {
    background-color: white;
    padding-top: 0;
    box-shadow: 0px -7px 20px 0px black;
}

header.noticias img {
    margin: 8px;
    height: 70px;
}


/*FOOTER*/

footer.noticias {
    position: relative;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 25px;
}

footer.noticias img.logo {
    max-height: 60px;
    width: auto;
}

footer.noticias div.redes img {
    width: 20px;
    margin: 0 10px;
}

@media (max-width: 490px) {
    footer.noticias>div {
        text-align: center;
        width: 100%
    }
}


/*SECCION-3*/

#seccion_3>div {
    background-image: url(../img/fondo-3-b.jpg);
    background-size: cover;
    background-position: bottom center;
}


/*SECCION-4*/

#seccion_4>div {
    background-image: url(../img/fondo-4.jpg);
    background-size: cover;
}

#seccion_4 #mapa,
#mostrar1,
#mostrar2 {
    cursor: pointer;
    transition: transform .5s;
}

#seccion_4 #mapa:hover {
    transform: scale(1.1);
}

#mostrar1 {
    margin-right: 8px;
}

#mostrar1,
#mostrar2 {
    width: 45%;
}

#mostrar1:hover,
#mostrar2:hover {
    transform: scale(1.05);
}

#overlay,
#aveiro1,
#aveiro2 {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100 !important;
    background-color: rgb(0 0 0 / 78%);
    z-index: 2;
    cursor: pointer;
}

#overlay .img-container,
#aveiro1 .img-container,
#aveiro2 .img-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay #img-overlay,
#aveiro1 #img-overlay,
#aveiro2 #img-overlay {
    max-height: 100%;
    max-width: 100%;
}


/*SECCION-5*/

#seccion_5>div {
    background-image: url(../img/fondo-5.jpg);
    background-size: cover;
}


/*SECCION-6*/

#seccion_7>div {
    background-image: url(../img/fondo-6.jpg);
    background-size: cover;
}


/*SECCION-13*/

#seccion_14 h1.title {
    -webkit-text-stroke: 2px #017acd;
}


/*SECCION-15*/

#seccion_15>div {
    background-image: url(../img/placas-solares.jpg);
    background-size: cover;
}


/*SECCION-contacto*/

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

input,
textarea {
    width: 100%;
    border: 0;
    padding: 15px;
    border-radius: 17px;
    font-family: 'Montserrat' !important;
    font-size: 15px !important;
    font-weight: 100;
    resize: none;
}

span.wpcf7-list-item {
    position: relative;
    margin-left: 3em !important;
    color: white;
    font-family: 'Montserrat' !important;
    font-size: 13px;
}

a.condition {
    color: white;
    font-family: 'Montserrat' !important;
    font-size: 13px;
}

a.condition:hover {
    text-decoration: underline;
    color: white;
    cursor: pointer;
}

input[type="checkbox"] {
    position: absolute;
    left: -3em;
    top: 3px;
}

input.wpcf7-form-control.wpcf7-submit {
    background-color: #017acd;
    color: white;
    border-radius: 50px;
    font-family: 'Oswald' !important;
    font-weight: 400;
    font-size: 18px !important;
    padding: 8px;
}

input.wpcf7-form-control.wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #46b450;
    background: #c9ffce;
    border-radius: 50px;
    padding: 5px 20px;
    text-align: center;
    font-size: 15px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #dc3232;
    color: #dc3232;
    background-color: #dc32324f;
    border-radius: 50px;
    padding: 5px 20px;
    text-align: center;
    font-size: 15px;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-weight: normal;
    display: block;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: -20px;
}


/*NOTICIAS*/

body#noticias {
    background-color: white !important;
}

.contact-archive .container-noticia .img_noticia {
    width: 100%;
    height: 265px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.noticias-title h1.title {
    -webkit-text-stroke: 2px #017acd;
}

.mas-noticia-portada.ampliar-not {
    text-align: center;
    font-size: 22px;
    font-family: 'Oswald';
    color: white;
    background-color: #306097;
    padding: 7px;
    border-radius: 50px;
}

a:hover .mas-noticia-portada.ampliar-not {
    background-color: #3c3b3a;
    text-decoration: none;
}

.container-noticia a:hover {
    text-decoration: none;
}

.container-noticia .fecha-noticia-portada {
    font-family: 'Oswald';
    font-weight: 600;
    font-size: 16pt;
    color: #306097;
    display: flex;
    align-items: center;
}

.container-noticia .fecha-noticia-portada img.img-reloj {
    margin-right: 5px;
    width: 25px;
}

.container-noticia .title-noticia-arch {
    font-family: 'Oswald';
    font-weight: 100;
    font-size: 35pt;
    color: #306097;
}


/*MENU*/


/*
.responsive-menu-inner,
.responsive-menu-inner::before {
    width: 50px!important;
    height: 6px!important;
    margin-bottom: -1px!important;
}

.responsive-menu-accessible.is-active .responsive-menu-inner::after {
    bottom: 12px!important;
}

.responsive-menu-accessible .responsive-menu-inner::after {
    width: 50px!important;
    height: 6px!important;
    bottom: -13px!important;
}

.responsive-menu-inner::before {
    top: -13px!important;
}

button#responsive-menu-button {
    background-color: transparent !important;
    right: 40px !important;
}

*/

#responsive-menu-additional-content {
    padding: 25px 30px !important;
}

#responsive-menu-additional-content>div {
    padding-left: 5%;
    margin-top: 30px;
}

#responsive-menu-additional-content .text-dark span,
#responsive-menu-additional-content .text-dark a {
    display: block;
    color: black;
    font-family: 'Roboto';
    font-size: initial;
}

#responsive-menu-additional-content .text-dark a {
    text-decoration: underline;
}

#responsive-menu-container #responsive-menu ul.responsive-menu-submenu li.responsive-menu-item a {
    height: fit-content !important;
}

body#noticias button#responsive-menu-button.is-active .responsive-menu-inner {
    background-color: transparent !important;
}

body#noticias button#responsive-menu-button .responsive-menu-inner,
body#noticias button#responsive-menu-button .responsive-menu-inner::before,
body#noticias button#responsive-menu-button .responsive-menu-inner::after {
    background-color: #306097;
}


/*PRIVACY POLICY*/

.section-avisos {
    font-size: large !important;
}

.section-avisos h2 {
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    margin-top: 30px;
}

.section-avisos h3 {
    font-size: 20px;
    text-transform: uppercase;
}

.section-avisos p {
    font-weight: 200;
}


/*ERROR404*/

div.error404 {
    padding: 180px 0 100px 0;
    height: 100vh;
    min-height: fit-content;
    display: flex;
    align-items: center;
    background-image: url(../img/fondo-error.jpg);
    background-size: cover;
    background-position: bottom center;
}

div.ups {
    display: flex;
    flex-direction: column;
    padding: 0 38px;
    align-self: center;
}

.ups h1 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.ups h3 {
    font-weight: 200;
    font-size: 20px;
    line-height: 1;
}

.txt-error-1 {
    font-weight: 100;
    font-size: 68px;
    color: transparent;
    -webkit-text-stroke: 2px white;
    font-family: 'Archivo Black', sans-serif;
}

.txt-error-2 {
    font-weight: 100;
    font-size: 47px;
    text-transform: uppercase;
    color: #a7c860;
    font-family: 'Oswald', sans-serif;
    line-height: 2;
}

.txt-error-2 mark {
    background-color: black;
    color: #a7c860;
}


/*RESPONSIVE*/

@media (max-width: 768px) {
    body {
        overflow: hidden visible !important;
    }
    .section {
        /*height: fit-content !important;*/
        max-height: none;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .section>div {
        min-height: 680px;
    }
    h1.title {
        font-size: 38px;
    }
    h4.subtitle {
        font-size: 18px;
    }
    header {
        /*background: black;*/
        padding: 0 !important;
        z-index: 10 !important;
    }
    button#responsive-menu-button.responsive-menu-button.responsive-menu-boring.responsive-menu-accessible {
        top: 5px !important;
    }
    footer {
        position: relative !important;
        background-color: black;
    }
    div.error404 {
        padding: 100px 0 200px 0;
        min-height: 435px;
    }
    .txt-error-1 {
        font-size: 34px;
    }
    .txt-error-2 {
        line-height: 2.5;
        font-size: 40px;
    }
    textarea {
        max-height: 100px;
    }
}

@media (max-height: 600px) {
    body {
        overflow: hidden visible !important;
    }
    .section {
        /*height: fit-content !important;*/
        max-height: none;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .section>div {
        min-height: 680px;
    }
    h1.title {
        font-size: 38px;
    }
    h4.subtitle {
        font-size: 18px;
    }
    header {
        /*background: black;*/
        padding: 0 !important;
        z-index: 10 !important;
    }
    button#responsive-menu-button.responsive-menu-button.responsive-menu-boring.responsive-menu-accessible {
        top: 5px !important;
    }
    footer {
        position: relative !important;
        background-color: black;
    }
    div.error404 {
        padding: 100px 0 200px 0;
        min-height: 435px;
    }
    .txt-error-1 {
        font-size: 34px;
    }
    .txt-error-2 {
        line-height: 2.5;
        font-size: 40px;
    }
    textarea {
        max-height: 100px;
    }
}

@media (max-height: 600px) and (max-width: 500px) {
    header img {
        width: auto;
        height: 50px;
        margin: 8px;
    }
}

@media (max-height: 600px) {
    .section {
        height: 600px !important;
    }
    #seccion_contacto.section {
        height: 650px !important;
    }
    .video-container {
        min-height: 100% !important;
    }
}