body {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
}

/* Cookies */
.flex-containerCookies {
    display: flex;
    flex-wrap: wrap;
}

.flex-containerCookies>div {
    width: 46%;
    margin: 25px;
    margin-left: 30px;
    margin-bottom: 5px !important;
    /*  margin-top: 0px;*/
    text-align: justify;
    /*line-height: 75px;*/
}

input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

#cookies {
    padding: 10px;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 0px;
    position: fixed;
    background: black;
    color: white;
    z-index: 1;
}

.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 400ms ease-out;
    color: #ecf0f1;
    background: black;
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
}

.cookiealert a {
    text-decoration: underline
}

.cookiealert .containerCookies {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cookiealert button {
    padding: 5px 10px;
    margin-right: 10px;
    font-size: 16px;
}

.modal-content {
    background: black !important;
    color: white !important;
}

#cookiesPropiasDiv {
    margin-bottom: 10%;
}

#enlaceCookiesBaner {
    text-align: center;
    margin: auto;
    margin-top: 1%;
}

/* texte cookies capa 1*/
#texteCookies {
    margin: 1% 14% 2% 14%;
}

/* Cookies */

/* HEADER */

#logolink {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 0px;
    margin-left: 2%;
    margin-top: 5%;
    text-align: center;
}

#logotipo {
    max-width: 100%;
    height: auto;
    max-height: 130px;
    border: 4px solid #d7d7c1;
    margin-top: 0px !important;
    margin-bottom: 0px;
    margin-left: 0px;
}

#logotipo:hover {
    border: 4px solid #083B66;
    opacity: 1;
}

nav {
    background-color: #d7d7c1;
    font-size: 19pt;
    height: 80px;
    margin-bottom: 5rem;
}

#navbarDropdown1 {
    color: black;
}

#navbarDropdown1:hover {
    color: #9A0606;
    font-weight: bold;
}

#navbarDropdown2 {
    color: black;
}

#navbarDropdown2:hover {
    color: #9A0606;
    font-weight: bold;
}

#navbarDropdown3 {
    color: black;
}

#navbarDropdown3:hover {
    color: #9A0606;
    font-weight: bold;
}

.fixed-lg {
    position: absolute;
    right: 0;
    margin-right: 1rem;

}

#submenu>a {
    font-size: 18pt;
}

#submenu>a:hover {
    font-size: 18pt;
    color: #9A0606;
    font-weight: bold;
}

button>img {
    width: 50px;
    height: 34px;
}

#btEsp {
    margin-right: 15px;
    background-color: white;
}

#btEsp:hover {
    background-color: #dc3545;
}

#btIng {
    background-color: white;
}

#btIng:hover {
    background-color: #007bff;
}


/* HEADER */


/* Index */

.carousel-item>img {
    height: 720px;
    margin-top: 0px;
}

#navIndex {
    margin-bottom: 0px;
}

#footerIndex {
    margin-top: 0px;
}

#previus {
    color: black;
    font-size: 50px;
    font-weight: bold;
}

#next {
    color: black;
    font-size: 50px;
    font-weight: bold;
}


/* Index */


/* Empresa */
#listaEquipo {
    list-style: none;
}

.titol {
    font-size: 26pt;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
}

.text-justify {
    font-size: 20pt;
    margin-left: 130px;
    margin-right: 130px;
}

.tituli {
    font-size: 20pt;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Empresa */


/* Vivienda Unifamiliar */

#flexObrasCursoV>div {
    width: 48%;
    margin: 15px;
    margin-top: 0px;
    text-align: center;
    line-height: 75px;
}

#flexReformasV>div {
    width: 100%;
    margin: 15px;
    margin-top: 0px;
    text-align: center;
}

#fontImg {
    font-size: 12pt;
}


/* icono atras */

#flexaAtras {
    width: 25px;
    color: white;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-container>div {
    width: 40%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 25px;
}

.flex-containerHotels {
    display: flex;
    flex-wrap: wrap;
}

.flex-containerHotels > div {
    width: 30%;
    margin: 25px;
    margin-top: 0px;
    text-align: center;
    line-height: 75px;
}

.titolImg {
    font-size: 22pt;
    font-weight: bold;
}

.img-fluid:hover {
    opacity: .7;
}

.img-fluid {
    border: 5px inset #dc3545;
}

.linksObras {
    background-color: #f44336;
    color: white;
    padding: 5px 15px;
    font-size: 14pt;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-left: 50px;
    border-radius: 90px;
}

.linksObras i {
    font-size: 18pt;
}

.linksObras:hover,
.linksObras:active {
    background-color: #9A0606;
    color: white;
    text-decoration: none;
}


/* titols dels projetes */

.tituliImg {
    font-size: 15pt;
    font-weight: bold;
}

#titolProjectes {
    font-size: 28pt;
    text-decoration: underline;
}


/* titols de les galeries */

#titolImgenesTotal {
    font-size: 20pt;
    font-weight: bold;
    text-align: center;
}


/* Modal */

.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    max-width: 500px;
    margin-bottom: 35px;
    width: 100%;
    height: 80%;
    border: 5px inset #dc3545;
}

.myImg:hover {
    opacity: 0.7;
}


/* Modal */

#descripció {
    text-align: center;
    font-weight: bold;
    margin-top: 1%;
    margin-left: 25%;
    margin-right: 25%;
    color: black;
    font-size: 16pt;
}

.mySlides {
    width: 50%;
    height: 80%;
    margin-left: 25%;
}

.cursor {
    cursor: pointer;
}

table {
    margin-top: 20px;
}

table>img {
    width: auto;
    height: 80%;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 60%;
    vertical-align: top;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    margin-left: 22.2%;
    margin-right: 22.2%;
}

.bx-wrapper .bx-controls-direction a {
    z-index: 0 !important;
}


/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

img {
    margin-bottom: -4px;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#imagene {
    width: 300px;
    height: auto;
}

.imagenModal {
    width: 100%;
    height: auto;
}

#imgRedimenGirgola1 {
    width: auto;
    height: 500px;
    margin: auto;
    display: block;
}

#imgRedimenGirgola2 {
    width: auto;
    height: 250px;
}

#img1RedimenGirgolaObra2 {
    width: 100%;
    height: 500px;
}

#img2RedimenGirgolaObra2 {
    width: 100%;
    height: 500px;
}

#img3RedimenGirgolaObra2 {
    width: auto;
    height: 250px;
}

#img4RedimenGirgolaObra2 {
    width: auto;
    height: 250px;
}

#img1RedimenFincaCampanet {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

#img2RedimenFincaCampanet {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

#img3RedimenFincaCampanet {
    height: 220px;
}

#img4RedimenFincaCampanet {
    height: 220px;
}

#img1RedimenSomMoix {
    width: auto;
    height: 500px;
    margin: auto;
    display: block;
}

#img2RedimenSomMoix {
    width: auto;
    height: 500px;
    margin: auto;
    display: block;
}

#img3RedimenSomMoix {
    height: 250px;
}

#img4RedimenSomMoix {
    height: 250px;
}

#img1RedimenSantaPonça {
    width: auto;
    height: 500px;
    margin: auto;
    display: block;
}

#img2RedimenSantaPonça {
    height: 33.3%;
}

#imgRendPrunera1 {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

#imgRendPrunera2 {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

#imgRendPrunera3 {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

.imgRendCarrerOradaCalaLlamp {
    width: auto !important;
    height: 450px !important;
    margin: auto !important;
    display: block !important;
}
/* vivienda unifamiliar */


/* hoteles */

#obraNuevaImg {
    width: 45%;
}

#reformasImg {
    height: 308px;
}


/* fotos redimensionades */

#imgSomLlut {
    width: auto;
    height: 500px;
}

#img1RedimenSomLlaut {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

#img2RedimenSomLlaut {
    width: auto;
    height: 450px;
    margin: auto;
    display: block;
}

#img3RedimenSomLlaut {
    height: 185px;
}

#img4RedimenSomLlaut {
    height: 185px;
}

#img1RedimenZadiroAlcudia {
    width: 100%;
    height: 560px;
}

#img2RedimenZadiroAlcudia {
    height: 155px;
}

#img1RedimenCapri {
    width: auto;
    height: 500px;
    margin: auto;
    display: block;
}

#img2RedimenCapri {
    width: auto;
    height: 500px;
    margin: auto;
    display: block;
}

#img3RedimenCapri {
    height: 220px;
}

#img4RedimenCapri {
    height: 220px;
}

#img1RedimenEolo {
    width: auto;
    height: 475px;
    margin: auto;
    display: block;
}

#img2RedimenEolo {
    width: 100%;
    height: 475px;
}

#img3RedimenEolo {
    height: 230px;
}

#img4RedimenEolo {
    height: 230px;
}

#img1RedimenPiratesVillage {
    width: 100%;
    height: 450px;
}

#img2RedimenPiratesVillage {
    width: 100%;
    height: 520px;
}

#img3RedimenPiratesVillage {
    height: 38%;
}

#img4RedimenPiratesVillage {
    height: 48%;
}

#img1RedimenGardenSelection {
    width: 100%;
    height: 460px;
}

#img2RedimenGardenSelection {
    height: 29%;
}


/* hoteles */


/* Edificios */
#edificiosFlex>div {
    width: 47%;
    margin: 20px;
    margin-top: 0px;
    text-align: center;
    line-height: 75px;
}

#fotoRedimenEdifi {
    height: auto;
}

#img1RedimenFabricaRamis {
    width: 100%;
    height: 470px;
}

#img2RedimenFabricaRamis {
    width: auto;
    height: 470px;
    margin: auto;
    display: block;
}

#img3RedimenFabricaRamis {
    width: auto;
    height: 470px;
    margin: auto;
    display: block;
}

#img4RedimenFabricaRamis {
    height: 88%;
}

#img5RedimenFabricaRamis {
    height: 42%;
}

#img6RedimenFabricaRamis {
    height: 42%;
}

#img1GeneralLuque {
    width: 100%;
    height: 525px;
}

#img2GeneralLuque {
    width: 100%;
    height: 525px;
}


/*flexetes illes */

#flexetaImgIlles1 {
    margin-top: -8%;
}

#flexetaImgIlles2 {
    margin-top: -8%;
}

#img1RedimenCappIbiza {
    height: 508px;
}

#img2RedimenCappIbiza {
    height: 508px;
}

#img3RedimenCappIbiza {
    height: 508px;
}

#img4RedimenCappIbiza {
    height: 508px;
}

#img5RedimenCappIbiza {
    height: 508px;
}

#img6RedimenCappIbiza {
    height: 508px;
}

#img7RedimenCappIbiza {
    height: 47%;
}

#img8RedimenCappIbiza {
    height: 40%;
}

#img9RedimenCappIbiza {
    height: 51%;
}

#img10RedimenCappIbiza {
    height: 45%;
}

#img11RedimenCappIbiza {
    height: 42%;
}

#img12RedimenCappIbiza {
    height: 45%;
}

#img1RedimenCappVall {
    width: 100%;
    height: 550px;
}

#img2RedimenCappVall {
    width: 100%;
    height: 550px;
}

#img3RedimenCappVall {
    width: 100%;
    height: 550px;
}

#img4RedimenCappVall {
    width: 100%;
    height: 550px;
}

#img5RedimenCappVall {
    width: 100%;
    height: 550px;
}

#img6RedimenCappVall {
    width: auto;
    height: 550px;
    margin: auto;
    display: block;
}

#img7RedimenCappVall {
    width: 100%;
    height: 550px;
}

#img8RedimenCappVall {
    height: 45%;
}

#img9RedimenCappVall {
    height: 39.5%;
}

#img10RedimenCappVall {
    height: 58.5%;
}

#img11RedimenCappVall {
    height: 49.5%;
}

#img12RedimenCappVall {
    height: 48%;
}

#img13RedimenCappVall {
    height: 25%;
}

#img14RedimenCappVall {
    height: 44%;
}

#img1RedimenOkGroup {
    width: 100%;
    height: 500px;
}

#img2RedimenOkGroup {
    width: 100%;
    height: 500px;
}

#img3RedimenOkGroup {
    width: 100%;
    height: 500px;
}

#img4RedimenOkGroup {
    width: 100%;
    height: 500px;
}

#img5RedimenOkGroup {
    height: 33.5%;
}

#img6RedimenOkGroup {
    height: 51%;
}


/* Edificios */


/* Contacto */

#contacto>div {
    width: 600px;
    text-align: center;
    line-height: 75px;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 0px;
}

#contactanos {
    margin-left: 5%;
}

#contactanos2 {
    margin-left: 5%;
}

#contactanos>p {
    padding: 30px;
}

#contactanos>h2 {
    font-weight: bold;
}

#contactanos2>h2 {
    font-weight: bold;
}

p>i {
    color: #9A0606;
}

iframe {
    width: 600px;
    height: 400px;
    border: 5px solid;
}

#numTel {
    margin-top: 20px;
}


/* Contacto */
/* politica cookies */
table.greyGridTable {
    width: 80%;
    margin: auto;
    border: 2px solid #000000;
    border-collapse: collapse;
    border-spacing: 0;
}

table.greyGridTable td,
table.greyGridTable th {
    border: 1px solid #000000;
    text-align: left;
    padding: 3px;
}

table.greyGridTable tbody td {
    font-size: 16px;
}

table.greyGridTable thead {
    background: #CFCFCF;
    background: -moz-linear-gradient(top, #dbdbdb 0%, #d3d3d3 66%, #CFCFCF 100%);
    background: -webkit-linear-gradient(top, #dbdbdb 0%, #d3d3d3 66%, #CFCFCF 100%);
    background: linear-gradient(to bottom, #dbdbdb 0%, #d3d3d3 66%, #CFCFCF 100%);
    border-bottom: 3px solid #000000;
}

table.greyGridTable thead th {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
}

/* FOOTER */

footer {
    background-color: #333333
        /*#3e4551*/
    ;
    color: white;
    font-size: 14pt;
    margin-top: 30px;
}

.linksadicionals {
    color: white;
}

.linksadicionals:hover {
    color: whitesmoke;
}

.redsocial {
    color: white;
}

/* footer*/

/*fotos sliders */
.bx-wrapper {
    max-width: 700px !important;
    border-style: none
}

.bx-wrapper {
    max-height: 700px !important;
    border-style: none
}

li>img {
    max-height: 700px !important;
    border-style: none
}

/*fotos sliders */

/*Responsive Design */
@media screen and (max-width: 1500px) {
    .bx-wrapper {
        max-width: 700px !important
    }

    .bx-wrapper {
        max-height: 700px !important
    }

    li>img {
        max-height: 700px !important
    }
}

@media screen and (max-width: 1500px) {

    .flex-container>div {
        width: 40%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .flex-containerHotels > div{
        width: 40%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        margin-bottom: 25px;
    }

    #flexObrasCursoV>div {
        width: 45%;
    }

    #reformasImg {
        height: auto;
    }

    /* fotos redimensionades*/
    #img3RedimenSomLlaut {
        height: 145px;
    }

    #img4RedimenSomLlaut {
        height: 145px;
    }

    #imgRedimenGirgola2 {
        height: 185px;
    }

    #img3RedimenFincaCampanet {
        height: 150px;
    }

    #img4RedimenFincaCampanet {
        height: 150px;
    }

    #img3RedimenSomMoix {
        height: 140px;
    }

    #img4RedimenSomMoix {
        height: 140px;
    }

    #img2RedimenSantaPonça {
        height: 25%;
    }

    #img1RedimenZadiroAlcudia {
        height: 500px;
    }

    #img3RedimenPiratesVillage {
        height: auto;
    }

}

@media screen and (max-width: 1400px) {

    #logotipo {
        max-width: 95%;
        max-height: 130px;
        margin-left: 10px;
        margin-top: 30px !important;
    }

    .prev,
    .next {
        margin-left: 21%;
        margin-right: 21%;
        top: 55%;
    }

    /* titols dels projetes */
    .tituliImg {
        font-size: 12pt;
    }

    /* titols */
    /* edificaciones */
    #edificiosFlex>div {
        width: 80%;
        margin-top: 15px;
        margin-bottom: 25px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    #fotoRedimenEdifi {
        height: auto;
    }

    /* edificaciones */
    /* Contacto */
    #contacto>div {
        width: 600px;
        text-align: center;
        line-height: 75px;
        font-size: 28px;
        margin-left: auto;
        margin-right: auto;
    }

    /*fotos redimensionades */
    #img1RedimenGirgolaObra2 {
        height: 500px;
    }

    #img2RedimenGirgolaObra2 {
        height: 500px;
    }

    #img3RedimenGirgolaObra2 {
        height: 200px;
    }

    #img4RedimenGirgolaObra2 {
        height: 200px;
    }

    #img2RedimenEolo {
        height: 500px;
    }

    #img5RedimenOkGroup {
        height: auto;
    }

    #img6RedimenOkGroup {
        height: auto;
    }

}


/* Contacto */

@media screen and (max-width: 1200px) {

    .prev,
    .next {
        top: 45%;
        margin-left: 21%;
        margin-right: 21%;
    }

    .fixed-lg {
        position: relative;
        top: unset;
        right: unset;
        margin-right: unset;
    }

    /* fotos redimen */
    /*#img1RedimenGirgolaObra2 {
        height: 400px;
    }
    #img2RedimenGirgolaObra2 {
        height: 400px;
    }*/
    #img3RedimenGirgolaObra2 {
        height: 200px;
    }

    #img4RedimenGirgolaObra2 {
        height: 200px;
    }

    #img2RedimenSantaPonça {
        height: 20%;
    }

    #img1RedimenZadiroAlcudia {
        height: 400px;
    }

    #img2RedimenEolo {
        height: 380px;
    }

}

@media screen and (max-width: 1000px) {

    .prev,
    .next {
        top: 40%;
        margin-left: 20%;
        margin-right: 20%;
    }

    #descripció {
        margin-left: 5%;
        margin-right: 5%;
    }

    /* fotos redimensionades*/

    #img3RedimenSomLlaut {
        height: 105px;
    }

    #img4RedimenSomLlaut {
        height: 105px;
    }

    #imgRedimenGirgola2 {
        height: 105px;
    }

    /* #img1RedimenGirgolaObra2 {
        height: 350px;
    }
    #img2RedimenGirgolaObra2 {
        height: 350px;
    }*/
    #img3RedimenGirgolaObra2 {
        height: 150px;
    }

    #img4RedimenGirgolaObra2 {
        height: 150px;
    }

    #img2RedimenSantaPonça {
        height: 15%;
    }

    #img2RedimenEolo {
        height: 350px;
    }

}

@media screen and (max-width: 900px) {

    /* HEADER */
    #logotipo {
        max-width: 95%;
        max-height: 130px;
        margin-left: 10px;
        margin-top: 30px !important;
    }

    nav {
        font-size: 17pt;
    }

    #submenu>a {
        font-size: 16pt;
    }

    #submenu>a:hover {
        font-size: 16pt;
        color: #9A0606;
        font-weight: bold;
    }

    button>img {
        width: 40px;
        height: 30px;
    }

    /* HEADER */
    /* index */
    .carousel-item>img {
        height: 520px;
    }

    /* index */
    /*Vivienda Unifamiliar - Hoteles - Edificaciones*/
    .titolImg {
        font-size: 20pt;
    }

    .flex-container>div {
        width: 80%;
        margin-top: 25px;
        margin-bottom: 25px;
        text-align: center;
        line-height: 75px;
        margin-left: auto;
        margin-right: auto;
    }

    #edificiosFlex>div {
        margin-top: auto;
        margin-bottom: auto;
    }

    #flexObraRealizadaV>div {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        margin-bottom: 25px;
    }

    /* titols dels projetes */
    .tituliImg {
        font-size: 15pt;
    }

    /* titols */
    /* flex Vivienda obras en curso*/
    #flexObrasCursoV>div {
        width: 100%;
    }

    /*Vivienda Unifamiliar */
}

@media screen and (max-width: 800px) {

    .prev,
    .next {
        top: 45%;
        margin-left: 19%;
        margin-right: 19%;
    }

    /* HEADER */
    nav {
        font-size: 16pt;
    }

    #submenu>a {
        font-size: 15pt;
    }

    #submenu>a:hover {
        font-size: 15pt;
    }

    #btEsp {
        margin-right: 10px;
    }

    /* HEADER */
    /* index */
    .carousel-item>img {
        height: 450px;
    }

    /* index */
    /* Empresa */
    .titol {
        font-size: 22pt;
    }

    .text-justify {
        font-size: 18pt;
        margin-left: 80px;
        margin-right: 80px;
    }

    .tituli {
        font-size: 18pt;
    }

    /* Empresa */
    /* vivenda unifamiliar */
    #titolProjectes {
        font-size: 24pt;
    }

    /* redimensionade sles fotos */


    /*#img1RedimenGirgolaObra2 {
        height: 300px;
    }
    #img2RedimenGirgolaObra2 {
        height: 300px;
    }*/
    #img3RedimenGirgolaObra2 {
        height: 100px;
    }

    #img4RedimenGirgolaObra2 {
        height: 100px;
    }

    #img1RedimenFincaCampanet {
        height: 400px;
    }

    #img2RedimenFincaCampanet {
        height: 400px
    }

    #img3RedimenFincaCampanet {
        height: 100px;
    }

    #img4RedimenFincaCampanet {
        height: 100px;
    }

    #img3RedimenSomMoix {
        height: 100px;
    }

    #img4RedimenSomMoix {
        height: 100px;
    }

    /* hotels fotos redimen*/
    #img1RedimenZadiroAlcudia {
        height: 300px;
    }

    #img1RedimenCapri {
        height: 400px;
    }

    #img2RedimenCapri {
        height: 400px;
    }

}

@media screen and (max-width: 700px) {

    .prev,
    .next {
        top: 40%;
    }

    /* HEADER */
    #logotipo {
        max-width: 95%;
        max-height: 130px;
        margin-left: 10px;
        margin-top: 30px !important;
    }

    nav {
        font-size: 15pt;
    }

    #submenu>a {
        font-size: 14pt;
    }

    #submenu>a:hover {
        font-size: 14pt;
    }

    #btEsp {
        margin-right: 5px;
    }

    /* HEADER */
    /* index */
    .carousel-item>img {
        height: 350px;
    }

    /* index */
    /* Empresa */
    .titol {
        font-size: 22pt;
    }

    .text-justify {
        font-size: 18pt;
        margin-left: 50px;
        margin-right: 50px;
    }

    .tituli {
        font-size: 18pt;
    }

    /* Empresa */
    /*Vivienda Unifamiliar */
    #titolProjectes {
        font-size: 22pt;
    }

    .titolImg {
        font-size: 18pt;
    }

    .flex-container>div {
        margin: auto;
        text-align: center;
    }

    /*Vivienda Unifamiliar */
    /* Contacto */
    #contactanos>p {
        padding: 20px;
    }

    iframe {
        width: 500px;
        height: 300px;
    }

    /* Contacto */
    /* fotos redimensionades*/

    #img3RedimenSomLlaut {
        height: 80px;
    }

    #img4RedimenSomLlaut {
        height: 80px;
    }

    #img2RedimenSantaPonça {
        height: 12%;
    }

    #img1RedimenSantaPonça {
        height: 425px;
    }

    #img1RedimenGardenSelection {
        height: 400px;
    }

    #img2RedimenEolo {
        height: auto;
    }

    #img1RedimenFabricaRamis {
        height: 400px;
    }

    #img2RedimenFabricaRamis {
        height: 400px;
    }

    #img3RedimenFabricaRamis {
        height: 400px;
    }

    #img1RedimenGirgolaObra2 {
        height: 450px;
    }

    #img2RedimenGirgolaObra2 {
        height: 450px;
    }

    #img1RedimenSomMoix {
        height: 425px;
    }

    #img2RedimenSomMoix {
        height: 425px;
    }

    #img1RedimenSomLlaut {
        height: 375px;
    }

    #img2RedimenSomLlaut {
        height: 375px;
    }

    #img1RedimenCapri {
        height: 350px;
    }

    #img2RedimenCapri {
        height: 350px;
    }

    #img1RedimenEolo {
        height: 400px;
    }

    #img2RedimenEolo {
        height: 400px;
    }

    #img1RedimenPiratesVillage {
        height: 375px;
    }

    #img1RedimenOkGroup {
        height: 450px;
    }

    #img2RedimenOkGroup {
        height: 450px;
    }

    #img3RedimenOkGroup {
        height: 450px;
    }

    #img4RedimenOkGroup {
        height: 450px;
    }

    #img1RedimenCappIbiza {
        height: auto;
    }

    #img2RedimenCappIbiza {
        height: auto;
    }

    #img3RedimenCappIbiza {
        height: auto;
    }

    #img4RedimenCappIbiza {
        height: auto;
    }

    #img5RedimenCappIbiza {
        height: auto;
    }

    #img6RedimenCappIbiza {
        height: auto;
    }

    #img1RedimenCappVall {
        height: 450px;
    }

    #img2RedimenCappVall {
        height: 450px;
    }

    #img3RedimenCappVall {
        height: 450px;
    }

    #img4RedimenCappVall {
        height: 450px;
    }

    #img5RedimenCappVall {
        height: 450px;
    }

    #img6RedimenCappVall {
        height: 450px;
    }

    #img7RedimenCappVall {
        height: 450px;
    }

    #img1GeneralLuque {
        height: 450px;
    }

    #img2GeneralLuque {
        height: 450px;
    }

    #imgRedimenGirgola1 {
        height: 450px;
    }

    #imgRendPrunera1 {
        height: 400px;
    }

    #imgRendPrunera2 {
        height: 400px;
    }

    #imgRendPrunera3 {
        height: 400px;
    }

    .imgRendCarrerOradaCalaLlamp {
        height: 350px !important;
    }
}

@media screen and (max-width: 575px) {
    nav {
        margin-bottom: 1.5rem;
    }

    .prev,
    .next {
        top: 45%;
        font-weight: bold;
        font-size: 2.5rem;
        margin-left: 0;
        margin-right: 0;
    }

    /* HEADER */
    #navbar-collapse {
        background: #d7d7c1;
        margin-left: -1rem;
        margin-right: -1rem;
        margin-top: -0.5rem !important;
    }

    #logotipo {
        max-height: 70px;
        border-top: none;
        margin-top: -30px !important;
        margin-bottom: 10px !important;
        margin-left: 180px !important;
    }

    #menu {
        margin-bottom: 0.5rem;
    }

    #submenu {
        position: absolute;
        left: -3.5rem;
    }

    /* HEADER */
    /* index */
    .carousel-item>img {
        height: 300px;
    }

    /* index */
    /* Empresa */
    .titol {
        font-size: 20pt;
    }

    .text-justify {
        font-size: 16pt;
        margin-left: 40px;
        margin-right: 40px;
    }

    .tituli {
        font-size: 16pt;
    }

    /* Empresa */
    /* Contacto */
    #contacto>div {
        font-size: 24px;
    }

    #contactanos>p {
        padding: 18px;
    }

    #contactanos2>p {
        padding: 18px;
    }

    iframe {
        width: 400px;
        height: 200px;
    }

    /* Contacto */
    /* fotos projectes*/
    .mySlides {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    /* titols dels projetes */
    .tituliImg {
        font-size: 12pt;
    }

    /* titols */
    /* table (fotos petites de les obres)*/
    table.greyGridTable {
        visibility: visible;
    }


    /* table (fotos petites de les obres)*/


    #img1RedimenFabricaRamis {
        height: 350px;
    }

    #img2RedimenFabricaRamis {
        height: 350px;
    }

    #img3RedimenFabricaRamis {
        height: 350px;
    }

    #img1RedimenGirgolaObra2 {
        height: 400px;
    }

    #img2RedimenGirgolaObra2 {
        height: 400px;
    }

    #img1RedimenFincaCampanet {
        height: 350px;
    }

    #img2RedimenFincaCampanet {
        height: 350px
    }

    #img1RedimenSomMoix {
        height: 400px;
    }

    #img2RedimenSomMoix {
        height: 400px;
    }

    #img1RedimenSantaPonça {
        height: 400px;
    }

    #img1RedimenSomLlaut {
        height: 325px;
    }

    #img2RedimenSomLlaut {
        height: 325px;
    }

    #img1RedimenCapri {
        height: 325px;
    }

    #img2RedimenCapri {
        height: 325px;
    }

    #img1RedimenEolo {
        height: 350px;
    }

    #img2RedimenEolo {
        height: 350px;
    }

    #img1RedimenPiratesVillage {
        height: 325px;
    }

    #img1RedimenGardenSelection {
        height: 350px;
    }

    #img1RedimenOkGroup {
        height: 375px;
    }

    #img2RedimenOkGroup {
        height: 375px;
    }

    #img3RedimenOkGroup {
        height: 375px;
    }

    #img4RedimenOkGroup {
        height: 375px;
    }

    #img1RedimenCappVall {
        height: 400px;
    }

    #img2RedimenCappVall {
        height: 400px;
    }

    #img3RedimenCappVall {
        height: 400px;
    }

    #img4RedimenCappVall {
        height: 400px;
    }

    #img5RedimenCappVall {
        height: 400px;
    }

    #img6RedimenCappVall {
        height: 400px;
    }

    #img7RedimenCappVall {
        height: 400px;
    }

    #img1GeneralLuque {
        height: 400px;
    }

    #img2GeneralLuque {
        height: 400px;
    }

    #imgRedimenGirgola1 {
        height: 400px;
    }

    #imgRendPrunera1 {
        height: 350px;
    }

    #imgRendPrunera2 {
        height: 350px;
    }

    #imgRendPrunera3 {
        height: 350px;
    }

    .imgRendCarrerOradaCalaLlamp {
        height: 300px !important;
    }
}

@media screen and (max-width: 500px) {

    #logotipo {
        margin-top: -25px !important;
        margin-left: 140px !important;
    }

    .prev,
    .next {
        top: 41%;
    }

    /* index */
    .carousel-item>img {
        height: 270px;
    }

    /* index */
    /* Contacto */
    #contacto>div {
        font-size: 22px;
    }

    #contactanos>p {
        padding: 16px;
    }

    #contactanos2>p {
        padding: 16px;
    }

    iframe {
        width: auto;
        height: auto;
    }

    #contactanos>h2 {
        font-size: 28px;
    }

    #contactanos2>h2 {
        font-size: 28px;
    }

    /* Contacto */
    /* titols dels projetes */
    .tituliImg {
        font-size: 10pt;
    }

    /* titols */
    #img1RedimenFabricaRamis {
        height: 275px;
    }

    #img2RedimenFabricaRamis {
        height: 275px;
    }

    #img3RedimenFabricaRamis {
        height: 275px;
    }

    #imgRendPrunera1 {
        height: 300px;
    }

    #imgRendPrunera2 {
        height: 300px;
    }

    #imgRendPrunera3 {
        height: 300px;
    }

    #img1RedimenGirgolaObra2 {
        height: 325px;
    }

    #img2RedimenGirgolaObra2 {
        height: 325px;
    }

    #img1RedimenFincaCampanet {
        height: 275px;
    }

    #img2RedimenFincaCampanet {
        height: 275px
    }

    #img1RedimenSomMoix {
        height: 325px;
    }

    #img2RedimenSomMoix {
        height: 325px;
    }

    #img1RedimenSantaPonça {
        height: 325px;
    }

    #img1RedimenSomLlaut {
        height: 275px;
    }

    #img2RedimenSomLlaut {
        height: 275px;
    }

    #img1RedimenCapri {
        height: 250px;
    }

    #img2RedimenCapri {
        height: 250px;
    }

    #img1RedimenEolo {
        height: 275px;
    }

    #img2RedimenEolo {
        height: 275px;
    }

    #img1RedimenPiratesVillage {
        height: 300px;
    }

    #img1RedimenGardenSelection {
        height: 300px;
    }

    #img1RedimenOkGroup {
        height: 325px;
    }

    #img2RedimenOkGroup {
        height: 325px;
    }

    #img3RedimenOkGroup {
        height: 325px;
    }

    #img4RedimenOkGroup {
        height: 325px;
    }

    #img1RedimenCappVall {
        height: 350px;
    }

    #img2RedimenCappVall {
        height: 350px;
    }

    #img3RedimenCappVall {
        height: 350px;
    }

    #img4RedimenCappVall {
        height: 350px;
    }

    #img5RedimenCappVall {
        height: 350px;
    }

    #img6RedimenCappVall {
        height: 350px;
    }

    #img7RedimenCappVall {
        height: 350px;
    }

    #img1GeneralLuque {
        height: 325px;
    }

    #img2GeneralLuque {
        height: 325px;
    }

    #imgRedimenGirgola1 {
        height: 325px;
    }

    .imgRendCarrerOradaCalaLlamp {
        height: 240px !important;
    }
}

@media screen and (max-width: 400px) {
    #logotipo {
        margin-top: -20px !important;
        margin-left: 100px !important;
    }

    .prev,
    .next {
        top: 35%;
        font-size: 2rem;
    }

    .linksObras {
        margin-left: 25px;
    }

    /* Empresa */
    .titol {
        font-size: 16pt;
    }

    .text-justify {
        font-size: 14pt;
        margin-left: 15px;
        margin-right: 15px;
    }

    .tituli {
        font-size: 14pt;
        margin-left: 30px;
        margin-right: 30px;
    }

    /* Empresa */
    /* vvivenda */
    #titolProjectes {
        font-size: 18pt;
    }

    /* Contacto */
    #contacto>div {
        font-size: 16px;
    }

    #contactanos>p {
        font-size: 20px;
    }

    #contactanos2>p {
        font-size: 20px;
    }

    /* Contacto */
    /* titols dels projetes */
    .tituliImg {
        font-size: 9.5pt;
    }

    /* titols */
    /* redimensionade sles fotos */
    #imgRendPrunera1 {
        height: 225px;
    }

    #imgRendPrunera2 {
        height: 225px;
    }

    #imgRendPrunera3 {
        height: 225px;
    }

    #img1RedimenSomLlaut {
        height: 200px;
    }

    #img2RedimenSomLlaut {
        height: 200px;
    }

    #img1RedimenFincaCampanet {
        height: 225px;
    }

    #img2RedimenFincaCampanet {
        height: 225px
    }

    #img1RedimenSomMoix {
        height: 250px;
    }

    #img2RedimenSomMoix {
        height: 250px;
    }

    #img1RedimenSantaPonça {
        height: 250px;
    }

    /* hotels fotos redimen*/
    #img1RedimenZadiroAlcudia {
        height: 130px;
    }

    #img1RedimenCapri {
        height: 225px;
    }

    #img2RedimenCapri {
        height: 225px;
    }

    #img1RedimenEolo {
        height: 200px;
    }

    #img2RedimenEolo {
        height: 200px;
    }

    #img1RedimenGardenSelection {
        height: 250px;
    }

    #img2RedimenGirgolaObra2 {
        height: 275px;
    }

    #img1RedimenGirgolaObra2 {
        height: 275px;
    }

    #img1RedimenFabricaRamis {
        height: 250px;
    }

    #img2RedimenFabricaRamis {
        height: 250px;
    }

    #img3RedimenFabricaRamis {
        height: 250px;
    }

    #img1RedimenPiratesVillage {
        height: 250px;
    }

    #img1RedimenOkGroup {
        height: 275px;
    }

    #img2RedimenOkGroup {
        height: 275px;
    }

    #img3RedimenOkGroup {
        height: 275px;
    }

    #img4RedimenOkGroup {
        height: 275px;
    }

    #img1RedimenCappVall {
        height: 275px;
    }

    #img2RedimenCappVall {
        height: 275px;
    }

    #img3RedimenCappVall {
        height: 275px;
    }

    #img4RedimenCappVall {
        height: 275px;
    }

    #img5RedimenCappVall {
        height: 275px;
    }

    #img6RedimenCappVall {
        height: 275px;
    }

    #img7RedimenCappVall {
        height: 275px;
    }

    #img1GeneralLuque {
        height: 300px;
    }

    #img2GeneralLuque {
        height: 300px;
    }

    #imgRedimenGirgola1 {
        height: 250px;
    }

    .imgRendCarrerOradaCalaLlamp {
        height: 200px !important;
    }
}

@media screen and (max-width: 350px) {

    #logotipo {
        margin-top: -17px !important;
        margin-left: 90px !important;
    }

    .prev,
    .next {
        top: 32%;
        font-size: 1.5rem;
    }

    /* index */
    .carousel-item>img {
        height: 200px;
    }

    /* index */
    /* Contacto */
    #contactanos>h2 {
        font-size: 20px;
    }

    #contactanos2>h2 {
        font-size: 20px;
    }

    #contacto>div {
        font-size: 16px;
    }

    #contactanos>p {
        font-size: 20px;
    }

    #contactanos2>p {
        font-size: 20px;
    }

    iframe {
        width: 230px;
        height: 150px;
    }

    /* Contacto */
    /* titols dels projetes */
    .tituliImg {
        font-size: 8.5pt;
    }

    /* titols */
    #img1RedimenFabricaRamis {
        height: 200px;
    }

    #img2RedimenFabricaRamis {
        height: 200px;
    }

    #img3RedimenFabricaRamis {
        height: 200px;
    }

    #img1RedimenGirgolaObra2 {
        height: 225px;
    }

    #img2RedimenGirgolaObra2 {
        height: 225px;
    }

    #img1RedimenPiratesVillage {
        height: 200px;
    }

    #img1RedimenGardenSelection {
        height: 200px;
    }

    #img1RedimenOkGroup {
        height: 225px;
    }

    #img2RedimenOkGroup {
        height: 225px;
    }

    #img3RedimenOkGroup {
        height: 225px;
    }

    #img4RedimenOkGroup {
        height: 225px;
    }

    #img1RedimenCappVall {
        height: 225px;
    }

    #img2RedimenCappVall {
        height: 225px;
    }

    #img3RedimenCappVall {
        height: 225px;
    }

    #img4RedimenCappVall {
        height: 225px;
    }

    #img5RedimenCappVall {
        height: 225px;
    }

    #img6RedimenCappVall {
        height: 225px;
    }

    #img7RedimenCappVall {
        height: 225px;
    }

    #img1GeneralLuque {
        height: 250px;
    }

    #img2GeneralLuque {
        height: 250px;
    }

    #imgRedimenGirgola1 {
        height: 200px;
    }

    #imgRendPrunera1 {
        height: 200px;
    }

    #imgRendPrunera2 {
        height: 200px;
    }

    #imgRendPrunera3 {
        height: 200px;
    }
}