@font-face {
    font-family: 'ubunturegular';
    src: url('../fonts/ubuntu-regular-webfont.eot');
    src: url('../fonts/ubuntu-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-regular-webfont.woff2') format('woff2'), url('../fonts/ubuntu-regular-webfont.woff') format('woff'), url('../fonts/ubuntu-regular-webfont.ttf') format('truetype'), url('../fonts/ubuntu-regular-webfont.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntulight';
    src: url('../fonts/ubuntu-light-webfont.eot');
    src: url('../fonts/ubuntu-light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-light-webfont.woff2') format('woff2'), url('../fonts/ubuntu-light-webfont.woff') format('woff'), url('../fonts/ubuntu-light-webfont.ttf') format('truetype'), url('../fonts/ubuntu-light-webfont.svg#ubuntulight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntubold';
    src: url('../fonts/ubuntu-bold-webfont.eot');
    src: url('../fonts/ubuntu-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-bold-webfont.woff2') format('woff2'), url('../fonts/ubuntu-bold-webfont.woff') format('woff'), url('../fonts/ubuntu-bold-webfont.ttf') format('truetype'), url('../fonts/ubuntu-bold-webfont.svg#ubuntubold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ubuntumedium';
    src: url('../fonts/ubuntu-medium-webfont.eot');
    src: url('../fonts/ubuntu-medium-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-medium-webfont.woff2') format('woff2'), url('../fonts/ubuntu-medium-webfont.woff') format('woff'), url('../fonts/ubuntu-medium-webfont.ttf') format('truetype'), url('../fonts/ubuntu-medium-webfont.svg#ubuntumedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body, form {
    height: 100%;
}

body {
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    font-family: ubunturegular, 'Ubuntu', sans-serif;
    color: #474747;
    line-height: 1.7;
    background: transparent;
}

table {
    font-size: 14px;
    font-family: ubunturegular, 'Ubuntu', sans-serif;
    table-layout: fixed;
}

p, h1, h2, h3, h4, h5 {
    font-family: ubunturegular, 'Ubuntu', sans-serif;
}

a {
    color: #4F4F4F;
    text-decoration: none;
}

    a:focus {
        outline: 0;
    }


    a.sel, a:hover {
        color: #FFFFFF;
        text-decoration: none;
    }

    a img {
        border: none;
    }

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}


.logo {
    margin-top: 25px;
    margin-left: 25px;
    margin-bottom:25px;
}

.imatge-fons {
    position: absolute;
    position:relative;
    z-index: -1;
    top: 0;
    right: 0;
}


/****FRANJA XARXES SOCIALS CAPCALERA*/
.franjaXarxesCap {
    padding: 5px 0;
    background: transparent;
}

    .franjaXarxesCap .gpi-titol-social {
        display: none !important;
    }

    .franjaXarxesCap ul.gpi-social {
        float: right;
        margin-right: 20px;
    }

ul.gpi-social {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.gpi-social li {
        display: inline-block;
        padding: 0 8px;
    }

        ul.gpi-social li:first-child {
            padding-left: 0;
        }

        ul.gpi-social li:last-child {
            padding-right: 0;
        }

        ul.gpi-social li a i {
            font-size: 18px;
            color: #8B9EAB;
            -moz-transition: all 0.4s;
            -o-transition: all 0.4s;
            -webkit-transition: all 0.4s;
            transition: all 0.4s;
        }

        ul.gpi-social li a:hover i {
            color: #FFFFFF;
        }
/***FI FRANJA XARXES SOCIALS CAPCALERA***/

/** MENU SUPERIOR **/

#gpi_menu_superior {
    top: 0px;
    z-index: 100;
    border-bottom: 0px;
    background: #164668;
    position: relative;
}


    /*#gpi_menu_superior::after {
        background: inherit;
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: -1;
        bottom: -30px;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
        -moz-transform-origin: 0 100%;
        -o-transform-origin: 0 100%;
        transform-origin: 0 100%;
    }*/





.gpi-navbar {
    background: transparent;
    border: 0px;
    margin-bottom: 0;
    margin-top: 56px;
    padding: 0 25px;
    min-height: 10px;
}

.gpi-navbar-nav > li > a {
    font-family: ubunturegular, 'Ubuntu', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0 22px;
}

.gpi-navbar-nav > li:first-child > a {
    padding-left: 0;
}

.gpi-navbar-nav > li:last-child > a {
    padding-right: 0;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border: none;
}

.gpi-navbar-inverse .gpi-navbar-nav > li > a {
    background: none;
    color: #FFFFFF;
    /*border-bottom:3px solid transparent;*/
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

    .gpi-navbar-inverse .gpi-navbar-nav > li > a:hover, .gpi-navbar-inverse .gpi-navbar-nav > li > a.sel {
        background: none;
        color: #E1E7EB;
        /*border-bottom:3px solid [GENERAL_BORDER_TIT_MENU];*/
    }

    .gpi-navbar-inverse .gpi-navbar-nav > li > a:focus{
        background:none;
    }

.gpi-navbar .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a.sel {
    background: none;
    color: #E1E7EB;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a.sel {
    background: none;
    color: #E1E7EB;
}


.gpi-navbar-toggle {
    margin-top: 13px;
    margin-bottom: 13px;
}

.navbar-collapse {
    float: right;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #E1E7EB;
}


/** FI-MENU **/
/**inici submenu**/

.logoSubMenu {
    max-height: 60px;
    margin-top: 10px;
}

#subMenu {
    /*height:90px;*/
    width: 100%;
    background: #164668;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000000;
    /*opacity:.9;*/
    padding: 4px;
    float: right;
}

    /*#subMenu::after {
        background: inherit;
        content: '';
        display: block;
        height: 52%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: -1;
        bottom: -40px;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
        -moz-transform-origin: 0 100%;
        -o-transform-origin: 0 100%;
        transform-origin: 0 100%;
    }*/

.submenu-navbar-nav > li > a {
    font-family: ubunturegular, 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    padding: 30px 14px 18px;
    text-transform: uppercase;
    float: right;
    margin: 0px;
    text-align: center;
    background: none;
}


    .submenu-navbar-nav > li > a:hover {
        background: none;
        color: #E1E7EB;
    }

    .submenu-navbar-nav > li > a:focus {
        background: none;
        /*color: #E1E7EB;*/
    }

    #subMenu li.active a{
         color: #E1E7EB;
    }




.margin-70 {
    padding-top: 70px;
}

/**fi submenu**/
/***BANNER CAROUSEL***/
.fonsBanner {
    height: 459px;
    width: 100%;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

    .fonsBanner .carousel-caption-alone, #top-carousel .carousel-caption {
        bottom: auto;
        text-align: left;
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        padding: 0;
        top: 180px;
        opacity: 0;
        display: none;
        text-shadow: none;
    }

        #top-carousel .carousel-caption .first-word {
            display: block;
        }

        .fonsBanner .carousel-caption-alone h2, #top-carousel .carousel-caption h2 {
            color: #000000;
            font-size: 27px;
            font-family: ubuntubold, ubunturegular, 'Ubuntu', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.35px;
            margin: 0;
        }

        .fonsBanner .carousel-caption-alone h3, #top-carousel .carousel-caption h3 {
            color: #FCFCFC;
            font-size: 25px;
            font-family: ubuntumedium, ubunturegular, 'Ubuntu', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: #85C334;
            line-height: 24px;
            padding: 8px 12px;
            margin: 0;
            margin-top: 13px;
            float: left;
        }


#top-carousel {
    height: 459px;
    width: 100%;
    position: relative;
}

    #top-carousel .carousel-inner, #top-carousel .carousel-inner .item {
        height: inherit;
    }

        #top-carousel .carousel-inner .item {
            background-position: center center;
            background-size: contain;
            background-repeat: no-repeat;
            width: 100%;
            position: absolute;
        }


    #top-carousel .carousel-caption.carousel-caption-right {
        left: auto;
        right: 800px;
        text-align: right;
    }

    #top-carousel .carousel-caption.carousel-caption-left {
        left: 800px;
        right: auto;
    }

    #top-carousel .carousel-caption.carousel-caption-top {
        left: 15px;
        right: 20%;
        top: 100%;
    }

    #top-carousel .carousel-caption.carousel-caption-bottom {
        left: 15px;
        right: 20%;
        top: 0px;
    }

    #top-carousel .carousel-indicators {
        text-align: left;
        margin-left: 0;
        bottom: 10px;
    }

        #top-carousel .carousel-indicators li {
            background: #CACCC6;
            -moz-border-radius: 0;
            -webkit-border-radius: 0;
            border-radius: 0;
        }

        #top-carousel .carousel-indicators .active {
            background-color: #A9D512;
            width: 10px;
            height: 10px;
            margin: 1px;
        }

/***FI BANNER CAROUSEL****/

/***BLOC 1*/

#descrip1 {
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
    background: #E1E7EB;
    /*margin-top:15px;*/
    z-index: 10;
    /*overflow: hidden;*/
}


    /*#descrip1::before {
        background: inherit;
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: -1;
        top: 0;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -o-transform-origin: 0 0;
        transform-origin: 0 0;
    }*/

    #descrip1 .descripBloc1 {
        background: #E1E7EB;
        padding: 20px 45px 35px;
    }

        #descrip1 .descripBloc1 h1 {
            font-size: 16px;
            color: #0381D8;
            letter-spacing: 0.5px;
            margin: 15px 0 22px;
			text-align: center;
        }

        #descrip1 .descripBloc1 h3 {
            font-family: ubuntumedium, ubunturegular, 'Ubuntu', sans-serif;
            font-size: 22px;
            color: #164668;
            letter-spacing: 0.25px;
            margin: 0;
			text-align: center;
			
        }

            #descrip1 .descripBloc1 h3 span {
                font-family: ubuntubold, ubunturegular, 'Ubuntu', sans-serif;
                color: #164668;
            }

        #descrip1 .descripBloc1 h4 {
            font-size: 22px;
            color: #273946;
            letter-spacing: 0.5px;
            line-height: 22px;
            text-align: justify;
            margin: 0;
        }

    /*#descrip1 .row > div {
    display: table-cell;
    float: none;
    padding: 0;
    vertical-align: top;
}*/

    #descrip1 > div.textSom {
        display: table-cell;
        float: none;
        padding: 0;
        vertical-align: top;
    }

    #descrip1 .fotoDescrip1 {
        display: block;
        position: absolute;
        left: 0;
        right: 50%;
        bottom: -20px;
        top: 0;
        margin-right: 15px;
    }

        #descrip1 .fotoDescrip1 .embed {
            padding-bottom: 0;
            height: 100%;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: scroll;
            background-color: transparent;
            -webkit-transform: skewY(-1.2deg);
            -ms-transform: skewY(-1.2deg);
            -moz-transform: skewY(-1.2deg);
            -o-transform: skewY(-1.2deg);
            transform: skewY(-1.2deg);
            -webkit-transform-origin: 0 0;
            -ms-transform-origin: 0 0;
            -moz-transform-origin: 0 0;
            -o-transform-origin: 0 0;
            transform-origin: 0 0;
        }

/***FI BLOC 1*/

/**BLOC 2***/
#descrip2 {
    background: #FDFDFD;
    z-index: 10;
    margin-top: 10px;
    position: relative;
}




    #descrip2 .titol h3, #descrip3 .titol h3, #descrip5 .titol h3 {
        font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
        font-size: 24px;
        color: #164668;
        text-transform: uppercase;
        letter-spacing: 0.25px;
        margin: 0;
        margin-top: 17px;
        text-align: center;
    }

    #descrip2 .servei h2 {
        font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
        font-size: 20px;
        text-transform: uppercase;
        text-align: center;
        color: #0381D8;
        margin: 20px 0;
        letter-spacing: 0.25px;
    }

    #descrip2 .servei h4 {
        font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
        font-size: 14px;
        text-align: justify;
        color: #273946;
        letter-spacing: 0.25px;
        line-height: 22px;
    }

    /*#descrip2 .servei img{
    min-height: 185px;
}*/

    #descrip2 .servei i {
        font-size: 140px;
        padding-top: 30px;
        /*min-height: 185px;*/
        text-align: center;
        display: block;
        color: #273946;
    }

    #descrip2 .servei .peuServeis {
        min-height: 180px;
    }

    #descrip2 .servei {
        /*padding-right:25px;
    padding-left:25px;*/
        border-left: 1px solid #E1E7EB;
        padding: 0 30px;
        margin: 25px 0;
    }

        #descrip2 .servei:nth-child(2), #descrip2 .servei:nth-child(5) {
            border-left: 1px solid transparent;
        }

    /*#descrip2::before {
        background: inherit;
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: -1;
        top: -15px;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -o-transform-origin: 0 0;
        transform-origin: 0 0;
    }*/


    #descrip2 .servei:nth-child(5) {
        clear: both;
    }

/**FI BLOC 2*/

/***INICI BLOC 3*/
#descrip3 {
    background: #EAEFF2;
    padding: 12px 25px;
    z-index: 12;
    margin-top: 10px;
    position: relative;
}

    #descrip3 .titol h3 {
        color: #164668;
    }


    /*#descrip3::before, #descrip3::after {
        background: inherit;
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: -1;
    }*/

    /*#descrip3::before {
        top: 0;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -o-transform-origin: 0 0;
        transform-origin: 0 0;
    }

    #descrip3::after {
        bottom: -30px;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
        -moz-transform-origin: 0 100%;
        -o-transform-origin: 0 100%;
        transform-origin: 0 100%;
    }*/

.table > tbody > tr > td {
    border-top: 1px solid #CFCFCF;
    padding: 12px 0;
    line-height: 20px;
    vertical-align: middle;
}

.table {
    margin-bottom: 0px;
}

    .table > tbody > tr:first-child > td {
        border-top: 0px solid #CFCFCF;
        padding-bottom: 30px;
    }
/**FI BLOC 3*/
/**INICI BLOC 4***/

#descrip4 {
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}



.moment-item-home {
    padding-left: 0;
    padding-right: 0;
}

figure {
    position: relative;
    float: none;
    overflow: hidden;
    /*width: 48%;*/
    height: auto;
    background: #FFFFFF;
    text-align: center;
}

    figure img {
        position: relative;
        display: block;
        opacity: 0.8;
    }

    figure figcaption {
        padding: 40px;
        color: #fff;
        text-transform: uppercase;
        font-size: 1.25em;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        figure figcaption::before,
        figure figcaption::after {
            pointer-events: none;
        }

        figure figcaption,
        figure figcaption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

            /* Anchor will cover the whole item by default */
            /* For some effects it will show as a button */
            figure figcaption > a {
                z-index: 1000;
                text-indent: 200%;
                white-space: nowrap;
                font-size: 0;
                opacity: 0;
            }

    figure h2 {
        /*word-spacing: -0.15em;*/
        font-weight: 300;
    }

        figure h2 span {
            font-weight: 800;
        }

    figure h2,
    figure p {
        margin: 0;
    }

    figure p {
        letter-spacing: 1px;
        font-size: 68.5%;
    }


    figure.effect-projecte {
        background: #164668;
    }

    figure.effect-projecte > a{
        display:block;
        cursor:pointer;
        position:relative;
        z-index:10;
    }

        figure.effect-projecte img {
            opacity: 1;
        }

        figure.effect-projecte figcaption::after,
        figure.effect-projecte img,
        figure.effect-projecte p {
            /*-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        -moz-transition: opacity 0.35s, transform 0.35s;
        -o-transition: opacity 0.35s, transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;*/
            -webkit-transition: -webkit-transform 0.35s;
            -moz-transition: transform 0.35s;
            -o-transition: transform 0.35s;
            transition: transform 0.35s;
        }

        figure.effect-projecte figcaption::after {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-top: 1px solid #fff;
            border-bottom: 1px solid #fff;
            content: '';
            opacity: 0;
            -webkit-transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
            -moz-transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
            -ms-transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
            -o-transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
            transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
            -webkit-transform-origin: 50% 50%;
            -moz-transform-origin: 50% 50%;
            -ms-transform-origin: 50% 50%;
            -o-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
        }

        figure.effect-projecte h2,
        figure.effect-projecte p,
        figure.effect-projecte h3 {
            opacity: 1;
            -webkit-transform: scale3d(0.8,0.8,1);
            -moz-transform: scale3d(0.8,0.8,1);
            -ms-transform: scale3d(0.8,0.8,1);
            -o-transform: scale3d(0.8,0.8,1);
            transform: scale3d(0.8,0.8,1);
        }

        figure.effect-projecte h2 {
            padding-top: 5%;
            -webkit-transition: -webkit-transform 0.35s;
            -moz-transition: transform 0.35s;
            -o-transition: transform 0.35s;
            transition: transform 0.35s;
            opacity: 0;
            font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
            font-size: 24px;
            color: #EAEFF2;
            letter-spacing: 0.25px;
            border-bottom: 1px solid #EAEFF2;
            padding-bottom: 5px;
            margin-bottom: 5px;
        }

            figure.effect-projecte h2 span {
                font-family: ubuntumedium, ubunturegular, 'Ubuntu', sans-serif;
            }

        figure.effect-projecte p {
            /*padding: 0 1em;*/
            text-transform: none;
            opacity: 0;
            font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
            font-size: 14px;
            color: #EAEFF2;
            letter-spacing: 0.25px;
            line-height: 20px;
            text-align: justify;
        }

        figure.effect-projecte h3 {
            text-transform: none;
            opacity: 0;
            font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
            font-size: #EAEFF2;
            color: 14px;
            letter-spacing: 0.25px;
            text-align: justify;
            margin: 20px 0;
            line-height: 20px;
        }

        figure.effect-projecte:hover img {
            opacity: 0.15;
            /*-webkit-transform: scale3d(1.05,1.05,1);
        -moz-transform: scale3d(1.05,1.05,1);
        -ms-transform: scale3d(1.05,1.05,1);
        -o-transform: scale3d(1.05,1.05,1);
        transform: scale3d(1.05,1.05,1);*/
        }

        /*figure.effect-moments:hover figcaption::after {
	opacity: 1;
	-webkit-transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
	transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
}*/

        figure.effect-projecte:hover h2,
        figure.effect-projecte:hover p,
        figure.effect-projecte:hover h3 {
            opacity: 1;
            -webkit-transform: scale3d(1,1,1);
            -moz-transform: scale3d(1,1,1);
            -ms-transform: scale3d(1,1,1);
            -o-transform: scale3d(1,1,1);
            transform: scale3d(1,1,1);
        }
/**FI BLOC 4***/

/**INICI BLOC 5***/
#descrip5 {
    position: relative;
    background: #EFF0F2;
}

    /*#descrip5::before {
        background: inherit;
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: 0;
        top: 0;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -o-transform-origin: 0 0;
        transform-origin: 0 0;
    }*/

    #descrip5 .titol h3 {
        color: #164668;
    }

    #descrip5 .text-contacte {
        font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
        font-size: 14px;
        color: #164668;
        letter-spacing: 0.65px;
        margin: 14px 0;
    }



/*MAPA*/
.container-google-maps {
    /*height: 618px;*/
    /*overflow: hidden;*/
    display: block;
    position: absolute;
    left: 0;
    right: 50%;
    bottom: -20px;
    top: 0;
    margin-right: 15px;
}

.embed-responsive.embed-responsive-16by9 {
    padding-bottom: 0;
    height: 100%;
}

.embed-responsive {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    /*-webkit-transform: skewY(-1.2deg);
    -ms-transform: skewY(-1.2deg);
    -moz-transform: skewY(-1.2deg);
    -o-transform: skewY(-1.2deg);
    transform: skewY(-1.2deg);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;*/
}

    .embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
        border: 0 none;
        bottom: 0;
        height: 100%;
        left: 0;
        position: absolute;
        top: -14%;
        width: 100%;
        /* -webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
        -o-filter: grayscale(100%);
        filter: grayscale(100%);
        filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
        filter: gray;*/
    }

.container-google-maps-banner {
    height: 444px;
    overflow: hidden;
    display: block;
    margin-bottom: 60px;
}

.container-google-maps .embed-responsive .embed-responsive-item, .container-google-maps .embed-responsive iframe {
    /*top: -17%;*/
    top: 0;
}

/**FI BLOC 5***/

/*************FORMULARI CONTACTE******/

.titolform {
}

.formularilite {
    margin-top: 20px;
}

.form-control {
    background-color: #E6E6E6;
    border: 1px solid transparent;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    /*color: #919888;*/
    font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
    font-size: 14px;
    text-transform: capitalize;
    margin: 8px 0;
    width: 100%;
}

    .form-control:focus {
        border-color: #B5BDAB;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        outline: 0 none;
    }

a.gpi-link-condicions {
    color: #919888;
}

a.gpi-link-condicions:hover {
    color: #164668;
}

.conditions .CHECKBOX, .CHECKBOX {
    border: medium none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: inline-block;
    width: 40px;
}

#formulari input[type="checkbox"] {
    margin-left: 4px;
}

.container-checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
    margin-left: 15px;
    padding-right: 15px;
}

    .container-checkbox input[type="checkbox"] {
        opacity: 0;
        position: absolute;
        margin-top: 4px;
        margin-left: -20px;
    }

    .container-checkbox label {
        display: inline-block;
        position: relative;
        padding-left: 5px;
        min-height: 20px;
        font-weight: 400;
        cursor: pointer;
        font-size: 14px;
    }

        .container-checkbox label:before {
            content: "";
            display: inline-block;
            position: absolute;
            width: 17px;
            height: 17px;
            left: 0;
            margin-left: -20px;
            border: 1px solid #ccc;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
            background-color: #fff;
            -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            -moz-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
            top: 2px;
        }

        .container-checkbox label:after {
            display: inline-block;
            position: absolute;
            width: 16px;
            height: 16px;
            left: 0;
            margin-left: -20px;
            padding-left: 3px;
            padding-top: 1px;
            font-size: 11px;
            color: #164668;
            top: 0px;
        }

    .container-checkbox input[type="checkbox"]:checked + label:after {
        font-family: 'FontAwesome';
        content: "\f00c";
    }

.popover {
    top: auto;
    bottom: 0px;
    margin-bottom: -50px;
}

.fa-text-right {
    margin-right: 10px;
}

.boto {
    background: #164668 none repeat scroll 0 0;
    float: right;
    height: 35px;
    line-height: 35px;
    padding: 0 20px;
    text-transform: uppercase;
    display: block;
    margin-right: 15px;
    font-size: 22px;
    font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
    color: #FDFDFD;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border:0;
}


    .boto:focus, .boto:hover {
        background: #8B9EAB none repeat scroll 0 0;
        color: #FDFDFD;
    }

/**********FI FORMULARI CONTACTE********/

/*TELEFON CAPCALERA*/
.telCap{
float:right;
margin-right: 45px;
margin-top: 5px;
}

.telCap a, .telCap{
font-family: ubuntumedium, ubunturegular, 'Ubuntu', sans-serif;
font-size: 22px;
color: #FDFDFD;
letter-spacing: 0.25px;
}

.telCap a i, .telCap i{
    font-size:30px;
    margin-right:15px;
    color:#A1AAB0;
    position: relative;
vertical-align: middle;
margin-top: -6px;
}

.telCap a:hover{
    color:#FFFFFF;
}

.telCapFix{
float:right;
margin-top: 5px;
margin-right:15px;
}

.telCapFix a, .telCapFix{
font-family: ubuntumedium, ubunturegular, 'Ubuntu', sans-serif;
font-size: 19px;
color: #FDFDFD;
letter-spacing: 0.25px;
}

.telCapFix a i, .telCapFix i{
    font-size:26px;
    margin-right:15px;
    color:#A1AAB0;
    position: relative;
vertical-align: middle;
margin-top: -6px;
}

/*FI TELEFON CAPCALERA*/

/**INICI FOOTER**/
#footer {
    background-color: #164668;
    height: 240px;
    margin-top: -240px;
    padding-top: 30px;
    position: relative;
}

    /*#footer::before {
        background: inherit;
        content: '';
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: 0;
        top: 0px;
        -webkit-transform: skewY(-1.2deg);
        -ms-transform: skewY(-1.2deg);
        -moz-transform: skewY(-1.2deg);
        -o-transform: skewY(-1.2deg);
        transform: skewY(-1.2deg);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -moz-transform-origin: 0 0;
        -o-transform-origin: 0 0;
        transform-origin: 0 0;
    }*/

#wrap {
    padding: 0 0 240px;
    min-height: 100%;
    height: auto;
    overflow: hidden;
}

.logoFooter {
    float: right;
    padding-top: 33px;
    margin: 14px;
    max-height: 220px !important;
    opacity: 0.3;
    filter: alpha(opacity=30); /* For IE8 and earlier */
}

/**FI FOOTER**/

.credits {
    border-top: 1px solid #40657E;
    margin-top: 20px;
    padding-top: 14px;
    color: #E6E6E6;
}

    .credits p {
        font-size: 12px;
        font-family: ubunturegular;
        margin-right: 10px;
    }

    .credits a, .credits .btn-link {
        color: #E6E6E6;
    }

    .credits .btn-link {
        font-size: 12px;
        padding: 0;
        margin: 0;
        margin-top: -6px;
    }

    .credits a:hover {
        color: #FFFFFF;
    }

    .credits .btn-link:hover, .credits .btn-link:focus {
        color: #FFFFFF;
        text-decoration: none;
        background-color: transparent;
    }

/** ITEM PEU**/
.containerXarxesPeu {
    margin: 18px 0;
}

    .containerXarxesPeu .textXarxesPeu {
        color: #8B9EAB;
        letter-spacing: 0.5px;
        font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
        font-size: 14px;
        margin-right: 20px;
    }

.itemPeu, .itemPeu b {
    color: #E6E6E6;
    letter-spacing: 0.5px;
    font-family: ubuntulight, ubunturegular, 'Ubuntu', sans-serif;
    font-size: 14px;
    float: right;
}



    .itemPeu .telf {
        color: #FFFFFF;
        font-size: 20px;
        font-family: ubuntubold, ubunturegular, 'Ubuntu', sans-serif;
        margin: 20px 0;
    }

    .itemPeu i {
        font-size: 18px;
        color: #A1AAB0;
        margin-right: 12px;
    }

    .itemPeu .telf i {
        font-size: 24px;
    }

    .itemPeu .email i {
        font-size: 12px;
    }

    .itemPeu .email a {
        color: #E6E6E6;
        -moz-transition: all 0.2s;
        -o-transition: all 0.2s;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
    }

        .itemPeu .email a:hover {
            color: #FFFFFF;
        }

img.desaturate {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.txt_right {
    text-align: right;
}


#peuLogo {
    margin-top: -6px;
}
/**FI ITEM PEU**/

.modal-dialog {
    left: 50%;
    margin: 0;
    position: absolute;
    top: 50%;
    width: 80%;
}

.modal-body {
    font-size: 14px;
    text-align: justify;
    overflow-y: auto;
}

    .modal-body a {
        color: [MODAL_COLOR_LINK_DES];
    }

        .modal-body a:hover, .modal-body a:focus {
            color: [MODAL_COLOR_LINK_ACT];
        }


#gpi-back-top {
    bottom: 0;
    position: fixed;
    right: 30px;
    display: none;
}

    #gpi-back-top a {
        color: #164668;
        display: block;
        float: right;
        text-align: center;
        text-decoration: none;
        -moz-transition: all 0.5s ease 0s;
        -o-transition: all 0.5s ease 0s;
        -webkit-transition: all 0.5s ease 0s;
        transition: all 0.5s ease 0s;
        font-size: 40px;
    }

        #gpi-back-top a i.fa {
            /*filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0.5);
            -webkit-transform: rotate(-90deg);
            -moz-transform: rotate(-90deg);
            -ms-transform: rotate(-90deg);
            -o-transform: rotate(-90deg);
            transform: rotate(-90deg);*/
            display: inline-block;
        }

        #gpi-back-top:hover a, #gpi-back-top a:hover, #gpi-back-top a:focus {
            color: #8B9EAB;
        }



/** BOTO BACKTOTOP **/
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: transparent url(../fonts/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    -o-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
    border: none;
    z-index: 5;
}

    .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s;
        -moz-transition: opacity .3s 0s, visibility 0s 0s;
        -o-transition: opacity .3s 0s, visibility 0s 0s;
        transition: opacity .3s 0s, visibility 0s 0s;
    }

    .cd-top.cd-is-visible {
        /* the button becomes visible */
        visibility: visible;
        opacity: 1;
    }

    .cd-top.cd-fade-out {
        /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
        opacity: .5;
    }

    .no-touch .cd-top:hover {
        background-color: transparent;
        opacity: 1;
    }

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 50px;
        width: 50px;
        right: 30px;
        bottom: 30px;
    }
}



/*FI BOTO BACKTOTOP **/


/*COOKIES***********************************/
#cookies_banner {
    border-color: #FFFFFF !important;
    -o-border-radius: 0 0 0 0 !important;
    -moz-border-radius: 0 0 0 0 !important;
    -webkit-border-radius: 0 0 0 0 !important;
    -ms-border-radius: 0 0 0 0 !important;
    border-radius: 0 0 0 0 !important;
    border-width: 1px 0 !important;
    -o-box-shadow: 0 0 10px #444444;
    -ms-box-shadow: 0 0 10px #444444;
    -webkit-box-shadow: 0 0 10px #444444;
    -moz-box-shadow: 0 0 10px #444444;
    box-shadow: 0 0 10px #444444;
    background: #000000;
    display: none;
    float: none !important;
    min-height: 25px;
    left: 0;
    margin: 0 auto !important;
    padding: 3px 0;
    position: fixed !important;
    right: 0;
    text-align: center;
    text-shadow: none;
    width: 100% !important;
    z-index: 999;
    bottom: 0px;
    font-size: 14px;
    color: #FFFFFF;
}

    #cookies_banner a {
        color: #FFFFFF;
    }

        #cookies_banner a:hover {
            color: #FFFFFF;
        }

#cookies_accept {
    color: #FFFFFF;
    cursor: pointer;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    font-size: 20px;
}

    #cookies_accept:hover {
        color: #FFFFFF;
    }

#cookies_banner p {
    margin: 0px;
    padding: 0px;
    font-size: 14px;
}

/**MIDES RESPONSIVE**/

@media (min-width:992px) and (max-width:1200px) {
    .gpi-navbar-nav > li > a {
        padding: 0 12px;
    }

    .gpi-navbar {
        margin-top: 50px;
    }

    #top-carousel {
        height: 420px;
    }

    #descrip1 .descripBloc1 h1 {
        font-size: 14px;
    }

    #descrip1 .descripBloc1 h3 {
        font-size: 20px;
    }

    #descrip1 .descripBloc1 h4 {
        line-height: 20px;
    }

    #descrip2 .servei i {
        font-size: 112px;
    }

    figure.effect-projecte p {
        font-size: 13px;
        letter-spacing: 0;
        line-height: 18px;
    }

    figure.effect-projecte h3 {
        margin: 10px 0;
    }

    figure figcaption {
    padding: 20px;
}

        .telCapFix a:hover{
        color:#FFFFFF;
    }

        .telCap{
            margin-right:36px;
        }
}



@media (min-width:768px) and (max-width:991px) {


    .gpi-navbar-nav > li > a {
        padding: 0 12px;
        font-size: 13px;
    }

    .gpi-navbar {
        margin-top: 41px;
    }

    #top-carousel {
        height: 330px;
    }

    #descrip2 .servei:nth-child(5) {
        clear: none;
    }

    /*#descrip2 .servei:nth-child(6), #descrip2 .servei:nth-child(4), #descrip2 .servei:nth-child(8) {
        clear: both;
    }*/

    #descrip2 .servei {
        border-left: 0px solid #cde6ad;
    }

        .telCap a, .telCap {
    font-size: 19px;
}

    .telCap a i, .telCap i {
    font-size: 25px;
    margin-top: -4px;
}

    .telCap {
    margin-right: 32px;
}
        .telCapFix {
    margin-right: 8px;
}
}

@media (max-width:991px) {
        figure figcaption {
    padding: 25px;
}

    .container-google-maps {
        position: relative;
        height: 350px !important;
        right: 0;
        margin-right: 0;
    }

    #descrip1 .row > div:last-child {
        background: none !important;
    }

        #descrip1 .row > div:last-child img {
            display: block !important;
        }

    #descrip1 .row > div {
        display: block;
    }

    #descrip3 {
        padding: 10px;
    }

            .telCapFix a:hover{
        color:#FFFFFF;
    }
    
    
}

@media (max-width:767px) {

       #descrip2 .servei img, #descrip3 .servei img {
        max-width: 320px;
    }
    
        .telCap {
    
    margin-right: 28px;
}

    #gpi-back-top a {
    font-size: 35px;
}

    #gpi-back-top {
    right: 15px;
}

    #descrip1 {
        padding-right: 0px;
        padding-left: 0px;
    }

        #descrip1 .descripBloc1 {
            padding: 25px 15px;
        }


    #gpi_menu_superior::after {
        bottom: -15px;
    }

    .logo {
        margin-top: 12px;
        margin-left: 0px;
        max-width: 70%;
    }


    .itemPeu, .itemPeu b {
        float: left;
        margin-top: 15px;
    }

    .boto {
        font-size: 14px;
    }

    figure.effect-projecte p {
        font-size: 13px;
        letter-spacing: 0;
        line-height: 18px;
    }

    figure.effect-projecte h3 {
        margin: 10px 0;
    }

    #top-carousel {
        height: 300px;
    }

        #top-carousel .carousel-caption .first-word {
            display: none;
        }

    #descrip2 .servei .peuServeis {
        min-height: 0;
    }

    #descrip2 .servei {
        margin: 10px 0;
    }

    .credits p {
        font-size: 10px;
    }

    #footer {
        height: auto;
    }

    .navbar-inverse .navbar-toggle {
        border-color: transparent;
        background: #000000;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
        margin-bottom: 0;
        /*margin-right: 42px;*/
        margin-top: 25px;
        margin-right: 0;
    }

        .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
            background-color: #000000;
        }


    .navbar-toggle .icon-bar {
        display: block;
        width: 31px;
        height: 5px;
        -moz-border-radius: 1px;
        -webkit-border-radius: 1px;
        border-radius: 1px;
    }

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #FFFFFF;
    }

    .navbar-inverse:hover .navbar-toggle:hover .icon-bar, .navbar-inverse .navbar-toggle:focus .icon-bar {
        background-color: #CACCC6;
    }

    .navbar-collapse {
        float: left;
        width: 100%;
    }

    .nav > li {
        padding: 10px;
        border-bottom:1px solid #2c2c2c;
    }

    .gpi-contingut table {
        table-layout: fixed;
    }

        .gpi-contingut table tr td {
            display: block;
            width: 100% !important;
            padding-bottom: 10px;
        }

            .gpi-contingut table tr td img {
                display: block;
                text-align: center !important;
                margin: 0px auto !important;
                max-width: 100%;
                /*max-width:50%;*/
                width: auto;
                height: auto;
            }

    .table > tbody > tr > td {
        border-top: 0px solid #cfcfcf;
    }

    .table > tbody > tr:first-child > td {
        padding-bottom: 10px;
    }

    .gpi-navbar {
        margin-top: 0;
        padding: 0 15px;
    }

    /*.gpi-navbar-nav > li:first-child > a {
        padding-left: 20px;
    }*/

    .carousel-indicators {
        bottom: -20px;
        left: 45%;
    }

    .gpi-navbar-nav > li > a {
    padding: 0;
}

    #submenu{
        display:none !important;
    }

    #gpi-xarxes-copy-xs{
        margin-top:15px;
        padding-left:10px;
    }
}

@media (max-width:400px) {
        #top-carousel {
        height: 150px;
    }
}
