/******************************************
 * Block header
 */

.no_display_home {
    display: none;
}

.block-header {
    /*background: #56BEC5;*/
    color: white;
    padding: 40px 150px;
    /*min-height: 300px;*/
    width: 100%;
}

.block-header>.container>.row {
    min-height: 153px;
}

.block-header h1 {
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
    font-size: 30px;
    line-height: 1.45em;
}

.block-header .col:first-child {
    float: left;
    margin-top: 25px;
}

.block-header .col:last-child {
    text-align: center;
}


/* Correcció alineament block-header */

.block-header .correctAlign {
    position: relative;
    top: 50px;
}

.block-header .list-inline>li {
    display: inline-block;
}

.block-header .list-inline>li:after {
    content: " · ";
}

.block-header .list-inline>li:last-child:after {
    display: none;
}

.block-header .block-header-text {
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
    font-size: 30px;
    line-height: 1.45em;
}

@media (max-width: 1220px) {
    .block-header {
        padding: 60px 20px 60px 20px;
    }
    .block-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .block-header {
        padding: 40px 10px;
    }
    .block-header h1 {
        font-size: 22px;
    }
    .block-header .container {
        padding-right: 5px;
        padding-left: 5px;
    }
    .block-header .container {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .block-header {
        text-align: center;
    }
    .block-header>.container>.row {
        min-height: 0px;
    }
    .block-header .center-flex {
        display: block;
    }
    .block-header .container img {
        max-width: 250px;
    }
}

@media (max-width: 590px) {
    .block-header h1 {
        font-size: 16px;
    }
    .block-header .list-inline>li {
        display: block;
        line-height: 25px;
    }
    .block-header .list-inline>li:after {
        content: "";
        display: none;
    }
    .block-header .list-inline>li:last-child:after {
        display: none;
    }
}


/******************************************
 * Block-1
 */

.block-1 {
    position: relative;
    overflow: hidden;
    padding-top: 11vw;
    padding-bottom: 13.5vw;
}

.img_bg-1 {
    position: absolute;
    top: -11vw;
    left: -5vw;
    height: 180%;
    z-index: -1;
}

.block-1 .row {
    position: relative;
}

.block-1 .box {
    border: 3px solid #65B2E4;
    margin: auto;
    width: 600px;
    height: 600px;
    padding: 5% 6%;
    margin-bottom: 70px;
    position: relative;
}

.block-1 .box * {
    font-size: 1.5em;
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
}

.block-1 .box p {
    font-size: 0.75em;
    position: absolute;
    bottom: 1.5vw;
    left: 2vw;
}

.block-1 .box img {
    position: relative;
    width: 320px;
    left: -20px;
}

.block-1 .block-text {
    text-align: justify;
    padding-right: 3.6vw;
    padding-left: 3.6vw;
}

.block-1 .block-text p {
    margin-bottom: 1vw;
    line-height: 1.2;
}

.block-1 .block-text span {
    float: left;
    font-size: 6.2vw;
    line-height: 0.9;
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
}

.block-1 .greatChar {
    color: black;
    font-size: 32.5vw;
    z-index: 2;
    position: absolute;
    bottom: -24vw;
    left: 73.5vw;
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
}


/******************************************
 * Block-2
 */

.block-2 {
    padding: 229px 0;
    position: relative;
    overflow: hidden;
}

.block-2:before {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    /*background-image: url('../img/PRODUCTE-6.jpg');*/
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: cover;
}

.block-2 div {
    border: 3px solid white;
    margin: auto;
    position: relative;
    z-index: 2;
    color: white;
    width: 600px;
    height: 600px;
    display: flex;
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
    text-align: center;
}

.block-2 h1 {
    margin: auto;
    font-size: 40px;
    padding: 0 10%;
}

.block-2 p {
    position: absolute;
    bottom: 40px;
    right: 35px;
    font-size: 20px;
}


/******************************************
 * Block-3
 */

.textPadding {
    padding: 0 4vw;
}

#apartments_cover {
    min-height: 100vh;
    /*50vw;*/
    position: relative;
    overflow: hidden;
}

#apartments_cover h1 {
    font-family: 'Cantata One', serif;
    -webkit-font-smoothing: antialiased;
    font-size: 1.5em;
    text-align: center;
    padding: 0 0 3.5vw 0;
}

#apartments_cover p {
    /*font-size: 20px;
    margin-bottom: 1.5vw;*/
    font-weight: 300;
}


/*#apartments_cover span.greatChar {
	font-family: 'Cantana One', serif;
	-webkit-font-smoothing: antialiased;
	font-size: 5.5em;
	line-height: 1;
}

#apartments_cover span.greatChar {
	line-height: calc(676px + 1vh);
	font-size: calc(900px + 30vh);
	left: -27vw;
	mix-blend-mode: multiply;
	overflow: hidden;
	display: block;
	bottom: 0;
}*/

#apartments_cover b.block3_grid_title {
    font-size: 1.1em;
}


/* Arregla la imatge de la dreta */

#apartments_cover>.row {
    min-height: 100vh;
}

#apartments_cover>.row>div {
    min-height: 100vh;
}

#apartments_cover>.row>div:first-child {
    /*min-height: 100%;*/
    padding-top: 20px;
    padding-bottom: 20px;
}

#apartments_cover>.row>div:last-child {
    /* background: url('../img/retocats/apartaments_3.jpg'); */
    background-size: cover;
    position: relative;
    padding: 0;
    /*z-index: -1;*/
    min-height: 100%;
}

#apartments_cover .greatChar {
    position: absolute;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    left: 50%;
    transform: translate(-50%, 0);
}

#apartments_cover .container-fluid p {
    text-align: left;
    font-size: 14px;
}

#apartments_cover .icones .row {
    margin-bottom: 20px;
}

#apartments_cover .icones img {
    width: 40px;
    margin-right: 30px;
}

#apartments_cover .small_font-size {
    font-size: 18px;
    /*display: none;*/
    /* a la home, block apartaments: no hi caben tantes coses!!!!""*/
}

#apartments_cover .small_font-size i {
    font-size: 29px;
    position: relative;
    left: 10px;
    bottom: 3px;
}

#apartments_cover .verticalAlign {
    display: table;
}

#apartments_cover .verticalAlign * {
    display: table-cell;
    vertical-align: middle;
}

@media (max-width: 1200px) {
    #apartments_cover .icones {
        display: none;
    }
}

@media (max-width: 767px) {
    #apartments_cover {
        min-height: 200vh;
    }
    #apartments_cover>.row>div:first-child {
        min-height: 100vh;
        padding: 20px 4vw;
    }
    #apartments_cover>.row>div:first-child+div {
        min-height: 100vh;
    }
    /*Correcta alineació de la lletra en responsive*/
    #apartments_cover img.greatChar {
        height: 50%;
        left: 0;
        top: 50%;
        transform: none;
    }
    #apartments_cover img.greatChar,
    #apartments_cover span.greatChar {
        display: none;
    }
}


/* TODO: vertical-align files.
 * 
 * Si no puc alinear verticalment les files,
 * utilitzar com a últim recurs un position relative
 * a les classes e1, e2, ... e6.
 */


/******************************************
 * Block-4
 */

.block-2.block-4:before {
    /*background-image: url('../img/llibre.jpg');*/
}


/******************************************
 * XSS
 */

.xss {
    padding: 2% 2% 2% 2%;
}


/*.xss { padding: 20px; }*/

.xss .row,
.xss .xss-element {
    height: 100%;
    color: #0FB3E6;
    margin-bottom: 30px;
    text-align: center;
}

.xss-element a {
    color: #0FB3E6;
    font-size: 1.1em;
}

.xss-element a:hover {
    color: #9bcecb;
    font-size: 1.1em;
}

.xss i {
    font-size: 50px;
}

.xss .social {
    margin: -4% 0 0 20%;
    width: 80%;
    font-size: 0.5em;
    /*
    height: 576px;
    text-align: justify;
    overflow: scroll;
    */
}

.xss .social > * {
    width: 100%;
}

.xss .social img {
    width: 100%;
    margin-bottom: 10px;
}

.xss .social #instafeed {
    height: 500px;
    overflow: auto;
}

.xss .social #instafeed img {
    max-width: 100%;
}

@media screen and (max-width: 1220px) {
	.xss i {
		/*
		position: absolute;
		top: 0;
		left: 50%;
		transform: translate(-50%, 0);
		*/
	}
	.xss-element {
		position: relative;
		padding-top: 80px;
	}
	.xss .social {
		width: 100%;
		margin: 0;
		text-align: center;
	}
}

@media screen and (max-width: 767px) {
	.xss i {
		left: 50px;
	}
	.xss-element {
		margin-bottom: 50px;
	}
}

.block-header .container img.disfrutar-logo,
.disfrutar-logo {
	max-width: 75%;
}
@media screen and (max-width: 1220px) {
	.block-header .container img.disfrutar-logo,
	.disfrutar-logo {
		max-width: 75%;
	}
}
@media screen and (max-width: 767px) {
	.block-header .container img.disfrutar-logo,
	.disfrutar-logo {
		max-width: 75%;
	}
}
@media screen and (max-width: 576px) {
	.block-header .container img.disfrutar-logo,
	.disfrutar-logo {
		max-width: 180px;
	}
}