/*=================================================================

    ██████╗  ██████╗ ███╗   ██╗██████╗  █████╗    ███████╗███████╗
    ██╔══██╗██╔═══██╗████╗  ██║██╔══██╗██╔══██╗   ██╔════╝██╔════╝
    ██████╔╝██║   ██║██╔██╗ ██║██║  ██║███████║   █████╗  ███████╗
    ██╔══██╗██║   ██║██║╚██╗██║██║  ██║██╔══██║   ██╔══╝  ╚════██║
    ██████╔╝╚██████╔╝██║ ╚████║██████╔╝██║  ██║██╗███████╗███████║
    ╚═════╝  ╚═════╝ ╚═╝  ╚═══╝╚═════╝ ╚═╝  ╚═╝╚═╝╚══════╝╚══════╝

    http://bonda.es - FROM MALLORCA WITH LOVE
//=================================================================*/

/* /////////////////////////////////////////////////////////////// */
/*  IMPORTANT: this CSS file requires common-styles.css            */
/* /////////////////////////////////////////////////////////////// */



/*--------------------------------
  GENERALS
--------------------------------*/
body {
    padding: 0;
}



/*--------------------------------
  GENERALS: WELCOME SECTION
--------------------------------*/
#welcome {
    width: 100%;
    background-color: #4273a5;
    background-blend-mode: multiply;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    will-change: background-image;
    -webkit-transition: background-image .3s;
    -moz-transition: background-image .3s;
    -o-transition: background-image .3s;
    transition: background-image .3s;
}




/*--------------------------------
  COMPONENTS: BIG INTRO HEADER
--------------------------------*/
.header_big-intro {
    padding: 30px 0;
    color: #ffffff;
}

.header_big-intro:before, .header_big-intro:after {
content: "";
display: table;
}

.header_big-intro:after {
    clear: both;
}

.header_big-intro .title,
.header_big-intro .text-wrapper {
    width: 90%;
    margin: 0 auto;
}

.header_big-intro .title {
    font-family: "Merriweather", serif;
    font-size: 2.5em;
    font-style: italic;
    font-weight: bold;
    letter-spacing: -0.05em;
    line-height: 1;
    text-align: center;
}

.header_big-intro .text-wrapper .subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 20px;
}

.header_big-intro .text-wrapper .text {
    font-size: 1em;
    text-align: center;
}

@media (min-width: 768px) {

    .header_big-intro {
        padding: 60px;
    }

    .header_big-intro .title {
        font-size: 7.5em;
    }

    .header_big-intro .text-wrapper .subtitle {
        font-size: 2.5em;
    }

    .header_big-intro .text-wrapper .text {
        font-size: 1.1em;
    }

} /* /END min-width: 768px */

@media (min-width: 1200px) {

    .header_big-intro {
        padding: 120px 60px;
    }

    .header_big-intro .title {
        font-size: 7em;
    }

    .header_big-intro .text-wrapper .subtitle {
        font-size: 3em;
    }

} /* /END min-width: 1200px */



/*--------------------------------
  COMPONENTS: GRID
--------------------------------*/

/* GRID - TRIANGLE
*****************/
.grid.triangle .grid-wrapper .item {
    background-color: #4273a5;
}

.grid .grid-wrapper .item:nth-last-child(-n+1) {
    margin-bottom: 15px;
}

.grid.triangle .grid-wrapper .item:hover {
    background-color: #4273a5;
}

.grid.triangle .grid-wrapper .item:before {
    padding-top: 100%;
}

.grid.triangle .grid-wrapper .item a:before {
    background-color: #003366;
    opacity: 1;
    opacity: 0.9;
}

.grid.triangle .grid-wrapper .item a:before {
    -webkit-transform: rotate(-45deg) !important;
    -moz-transform: rotate(-45deg) !important;
    -ms-transform: rotate(-45deg) !important;
    -o-transform: rotate(-45deg) !important;
    transform: rotate(-45deg) !important;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.grid.triangle .grid-wrapper .item a:after {
    content: "\62";
    font-size: 20px;
    opacity: 0;
}

.grid.triangle .grid-wrapper .item h4 {
    display: block;
    display: -webkit-box;
    position: absolute;
    width: 55%;
    height: 81px;
    top: 15px;
    left: 0;
    color: #ffffff;
    font-size: 1.05em;
    line-height: 1.2;
    padding: 15px 0 0 30px;
    margin: 0;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    z-index: 1;
}

.grid.triangle .grid-wrapper .item h4:before {
    content: "\62";
    position: absolute;
    top: 13px;
    left: 0;
    font-family: "fontsell";
    font-size: 18px;
    opacity: 0;
    will-change: opacity;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.grid.triangle .grid-wrapper .item:hover h4 {
    left: 15px;
}

.grid.triangle .grid-wrapper .item:hover h4:before {
    opacity: 1;
}

.grid.triangle .grid-wrapper .item h3 {
    color: #ffffff;
    opacity: 1;
}

.grid.triangle .grid-wrapper .item.seu-electronica {
    background-color: #a2a500;
}

.grid.triangle .grid-wrapper .item.seu-electronica a:before {
    background-color: #a2a500;
}

.grid.triangle .grid-wrapper .item.infomallorca {
    background-color: #01b7f2;
}

.grid.triangle .grid-wrapper .item.infomallorca a:before {
    background-color: #01b7f2;
}

@media (min-width: 414px) {

    .grid.triangle .grid-wrapper .item h4 {
        height: 80px;
    }

    .grid.triangle .grid-wrapper .item h3 {
        right: 15px;
        bottom: 30px;
    }

} /* /END min-width: 414px */


@media (min-width: 568px) and (max-width: 767px) {

    .grid .grid-wrapper .item h4 {
        display: none !important;
    }

} /* END min-width: 568px and max-width: 767px */

@media (min-width: 768px) {

    .grid.triangle .grid-wrapper .item h4 {
        padding: 15px 0 0 15px;
    }

    .grid.triangle .grid-wrapper .item h3 {
        font-size: 2em;
        right: 0;
        bottom: 15px;
    }

    .grid .grid-wrapper .item:nth-last-child(-n+3) {
        margin-bottom: 15px;
    }

} /* END min-width: 768px; */


@media (min-width: 1200px) {

    .grid.triangle .grid-wrapper .item a {
        background-color: #003366;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
    }

    .grid.triangle .grid-wrapper .item:hover a {
        background-color: transparent;
    }

    .grid.triangle .grid-wrapper .item a:before {
        opacity: 1;
        border-bottom: 1px solid #ffffff;
    }

    .grid.triangle .grid-wrapper .item h4 {
        padding: 15px 0 0 30px;
    }

    .grid.triangle .grid-wrapper .item h3 {
        font-size: 2.5em;
    }

    .grid.triangle .grid-wrapper .item.seu-electronica a {
        background-color: #a2a500;
    }

    .grid.triangle .grid-wrapper .item.seu-electronica:hover a {
        background-color: transparent;
    }

    .grid.triangle .grid-wrapper .item.infomallorca a {
        background-color: #01b7f2;
    }

    .grid.triangle .grid-wrapper .item.infomallorca:hover a {
        background-color: transparent;
    }

} /* END min-width: 1200px; */