@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);


h1, h2, h3, h4 {
    margin: 5px 0;
}

#nav-top #logo {
    float:left;
}

#nav-top a:hover#logo, #nav-top a:focus#logo, #nav-top a:active#logo {
    text-decoration: none;
}

#nav-top h1 {
    color: #ffe000;
    font-weight: 300;
    margin: 0;
}

#nav-top a, #nav-top a:link, #nav-top a:visited {
    color: #fff;
}

#nav-top #main-nav {
    clear: both;
}

#nav-top ul, #nav-top li {
    padding: 0;
    margin:0;
    list-style: none;
}

a#nav-toggle {
    text-decoration: none;
}

#nav-toggle { cursor: pointer; padding: 10px 35px 16px 0px; margin-top: 8px; float: right; }

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 3px;
  width: 35px;
  background: #ccc;
  position: absolute;
  display: block;
  content: '';
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  transition: all 200ms linear;
  transition: 0.3s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.2s opacity linear;
}
#nav-toggle.active {
    padding-top: 15px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: translateZ(0px) rotate(45deg);
  -webkit-transform: translateZ(0px) rotate(45deg);
  -moz-transform: translateZ(0px) rotate(45deg);
  -ms-transform: translateZ(0px) rotate(45deg);
  -o-transform: translateZ(0px) rotate(45deg);
}
#nav-toggle.active span:after {
  transform: translateZ(0px) rotate(-45deg);
  -webkit-transform: translateZ(0px) rotate(-45deg);
  -moz-transform: translateZ(0px) rotate(-45deg);
  -ms-transform: translateZ(0px) rotate(-45deg);
  -o-transform: translateZ(0px) rotate(-45deg);
}

#logo, .isotip {
    display: block;
}

.cercle img {
  border-radius: 50%;
}

.white {
    background:#fff;
}

h1.section-name, h2.section-name, span.section-name {
    padding: 5px 10px;
    background: #333;
    color: #fff;
    letter-spacing: 0.15em;
    font-weight: normal;
    display: table;
}

h1.section-name, h1.section-name a, h1.section-name a:hover, h1.section-name a:focus {
    text-transform: uppercase;
    font-size: 20px;
    color: #ffe000;
    text-decoration: none;
}

h2.section-name a, h2.section-name a:hover, h2.section-name a:focus {
	color: #fff;
	text-decoration: none;
}

h2.section-name {
    font-size: 18px;
}

span.section-name {
    margin: 10px 0;
}



.arrow {
    position: relative;
    margin-bottom: 0;
}

.arrow:after {
	top: 100%;
	left: 10px;
        margin-top: -1px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(0, 0, 0, 0);
	border-top-color: #ccc;
	border-width: 10px;
        transition: 0.2s all linear;
}

h4.arrow {
        padding: 5px 10px;
        background: #ccc;
        text-transform: uppercase;
        color: #333;
    }


#contacta_resposta {
	margin: 5px 0;
	padding: 10px;
	background: #ffe000;
	color: #333;
	font-weight: bold;
	display: none;
}

.scontactxarxes a {
        color: #fff;
        display: inline-block;
        padding: 3px;
        text-align: center;
        height: 30px;
        width: 30px;
        border: 2px solid #ffe000;
	margin: 0 5px 10px 5px;
        transition: 0.2s background linear;
    }

    .scontactxarxes a:hover, .scontactxarxes a:focus {
        background: #ffe000;
        color: #333;
    }


    #sprojects .proyecto {
        height: 180px;
        margin: 0 0 15px 0;
        border: 1px solid #cdcdcd;
        display: block;
	overflow: hidden;
    }

    #sprojects .centerv.nocenter {
        margin-top: 5px;
    }

    .carousel-indicators {
        bottom: auto;
    }

    .carousel-indicators li, .carousel-indicators .active {
        border-radius: 0;
        background: #dadada;
        border: 1px solid #dadada;
        width: 15px; height: 15px;
        margin: 0 1px;
        transition: 0.5s background linear;
    }

    .carousel-indicators .active {
        background: #ffe000;
        border: 1px solid #ffe000;
    }

    .proyecto {
        position: relative;
        display: block;
        overflow: hidden;
    }

    a:hover.proyecto, a:focus.proyecto {
        text-decoration: none;
    }

    .proyecto .logo {
        position: relative;
        display: block;
        height: 100%;
        width: 100%;
        transition: 0.3s all ease-out;
    }

    a:hover.proyecto .logo, a:focus.proyecto .logo {
        height: 110px;
    }

    .proyecto .logo img {
        position: absolute;
        top: 0; bottom: 0; left: 0; right: 0;
        height: 100px;
        margin: auto;
        transition: 0.3s all ease-out;
    }

    a:hover.proyecto .logo img, a:focus.proyecto .logo img{
        height: 70px;
    }

    .proyecto .text {
        display: block;
        background: #eee;
        height: 70px;
        border-top: 1px solid #ddd;
    }

    .proyecto .text .titol {
        display: block;
        background: #fcfcfc;
        color: #fcfcfc;
        font-size: 1.1em;
        text-align: center;
        padding: 10px 0;
        height: 70px;
        transition: 0.5s all ease-out;
    }

    a:hover.proyecto .text .titol, a:focus.proyecto .text .titol {
        height: 41px;
        color: #333;
    }

    .proyecto .text .serveis {
        display: block;
        padding: 5px 0;
        border-top: 1px solid #ddd;
        text-align: center;
        color: #ccc;
        font-size: 0.7em;
    }

    .proyecto .text .serveis .servei {
        display: inline-block;
        background: #ccc;
        color: #333;
        padding: 1px 3px;
        margin: 0 2px;
        text-transform: uppercase;
    }

    .cita {
        padding: 0 15px;
        font-size: 1.15em;
    }

    .citadalt {
        background: url(../imgs/cita.png) left top;
        background-size: auto 15px;
        height: 15px; width: 20px;
        margin-bottom: 8px;
    }

    .citabaix {
        background: url(../imgs/cita.png) right top;
        background-size: auto 15px;
        height: 15px; width: 20px;
        margin-top: 8px;
    }

    .cita .firma {
        text-transform: uppercase;
        padding: 10px 0;
        text-align: center;
    }

    .cita .firma .nom {
        font-weight: 300;
    }

    .cita .firma .empresa {
        font-size: 0.7em;
        font-weight: bold;
    }

    .cita .groc, .post-title .groc {
        background: #ffe000;
        box-shadow: 5px 0 0 #ffe000, -5px 0 0 #ffe000;
	box-decoration-break: clone;
    }

    .wp_rp_content {
	display: table;
	width: 100%;
    }

    .wp_rp_content h3 {
    }

    .wp_rp_content ul {
	padding: 0;
	margin:0 -0.5%;
	list-style: none;
	text-align: center;
    }

    .wp_rp_content ul li {
	float: left;
	width: 24%;
	margin: 5px 0.5% 5px 0.5%;
    }

    .wp_rp_content ul li a {
	background: transparent;
    }

    .wp_rp_content ul li img {
	width: 100%;
	height: auto;
    }


    .sidebar .widget {
	margin-bottom: 15px;
    }

    .sidebar h2, .wp_rp_content h3 {
	background: #ffe000;
	text-transform: uppercase;
	padding: 3px 5px;
	letter-spacing: 0.1em;
	font-size: 15px;
	display: table;
	display: inline-block;
    }

img, iframe {
    max-width: 100%;
    max-width: 100% !important;
}

    .container img {
	max-width: 100%;
	height: auto;
    }

    .post-thumbnail {
	height: 300px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	margin: 15px 0;
	position: relative;
    }

    .post-thumbnail .blog-post {
	position: absolute;
	bottom: 10px;
    }

    .post-thumbnail a.read-more {
	display: block;
	width: 100%;
	height: 100%;
    }

    .post-thumbnail .post-title .groc {
	margin-bottom: 0px;
    }

    .post-thumbnail .caixa_meta {
	background: #333;
        box-shadow: 5px 0 0 #333, -5px 0 0 #333;
	box-decoration-break: clone;
	color: #999;
    }

    #featured-image .image {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%; height: 100%;
	position: absolute;
	top: 0; left:0; right: 0; bottom: 0;
    }

    #idiomes {
	text-align: center;
	text-transform: uppercase;
    }

    #idiomes a {
	background: #222;
	border-radius: 2px;
	padding: 5px 10px;
	display: inline-block;
	margin: 12px 2px;
	color: #fff;
	transition: 0.2s all linear;
    }

    #idiomes a:hover, #idiomes a:focus {
	background: #000;
	color: #fff;
	background: #000;
	text-decoration: none;
    }

    #cookies {
	background: #ccc;
	color: #333;
	font-size: 0.8em;
	z-index: 101;
	display: none;
      }

    #cookies .container {
	  padding-top: 5px;
      }

      .blog-post-content a {
	color: #333;
	background: #fffacf;
    }

    .noenglish, .qtranxs-available-languages-message {padding: 10px; border: 2px solid #ffe000; border-left: 0; border-right: 0; background:#fcf8e3;}

.noenglish a, .qtranxs-available-languages-message a { font-weight: bold;}

.pager li>a, .pager li>span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #ffe000;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: bold;
}

#cookies .btn-default {
    background: #ffe000;
  color: #333;
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 0;
  margin: 0 2px;
  font-weight: bold;
}

#cookies .btn-default.info {
    background: #ccc;
}

#cookies .links {
    padding: 16px 0;
    text-align: center;
}

#cookies a.btn-default:hover, #cookies a.btn-default:focus {
    text-decoration: none;
    background-color: #fff;
}

#error {
    width: 100%;
    height: 300px;
}


@media (max-width: 767px) {

    #cookies {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 99;
        font-size: 0.7em;
        line-height: 1;
      }

    .slimScrollBar, .slimScrollRail {
	display: none:
    }

    .fp-scrollable, .slimScrollDiv, body, html{
	overflow: auto !important;
	height: auto !important;
    }


    #nav-top  {
	position: absolute;
	background: #333;
	box-shadow: 5px 0 20px rgba(51,51,51,0.9);
	left: 0; right: 0;
	z-index: 99;
    }

    #nav-top-bg {
	content: " ";
	position: absolute;
	top: -200px;
	left: 0; right: 0;
	height: 200px;
	background: #333;
	z-index: 99;
    }

    #nav-top h1 {
	font-size: 20px;
	padding: 5px 0;
    }

    #footer-mobile {
	color: #ccc;
	text-align: center;
	padding: 20px 0;
    }


    #footer-mobile a, #footer-mobile a:visited {
	color: #fff;
    }

    #fullpage {
	padding-top: 40px;
	transition: 0.5s opacity linear, 0.8s padding ease-out;
    }

    #tblog {
	padding-top: 40px;
    }

    .section {
	background: #fff;
	overflow: hidden;
    }

    #tblog.tancar, #main.tancar {
	transition: 0.5s opacity linear, 0.8s padding ease-out;
    }


    #opacity {
	position: fixed;
	top: 0; bottom: 0; left: 0; right: 0;
	background: #333;
	opacity: 0;
	display: none;
	transition: 0.15s opacity linear;
	z-index: 80;
    }

    #opacity.menu {
	display: block;
	opacity: 0.8;
    }

    #fullpage.tancar {
	overflow: hidden;
	padding-top: 800px;
	opacity: 0;
    }

    #tblog.tancar, #main.tancar {
	padding-top: 800px;
	opacity: 0;
    }

    #nav-top ul li a {
        border-bottom: 1px solid #ccc;
        padding: 10px;
        display: block;
    }

    #nav-top ul li a.arrow:after {
	display: none;
    }

    #main-nav a:focus, #main-nav a:hover {
	background: #222;
	text-decoration: none;
    }

    #nav-top #main-nav {
        height: 1px;
        overflow: hidden;
        opacity: 0;
	transition: 0.2s height linear, 0.2s opacity linear;
    }

    #nav-top #main-nav.active {
        height: 260px;
        opacity: 1;
    }

    body.noscroll #fullpage, body.noscroll #fullblog {
	overflow: hidden;
	position: fixed; top: 0; width: 100%;
    }

    .header-section {
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .header-section, #tblog {
        background: #eee;
        border-top: 1px solid #ccc;
    }

    #tblog .header-section {
	border: 0;
    }


    h3.groc, {
        padding: 0;
	display: inline;
	line-height: 1.5;
        color: #333;
        background: #ffe000;
        box-shadow: 5px 0 0 #ffe000, -5px 0 0 #ffe000;
	box-decoration-break: clone;
    }

    .h3cont {
	margin-bottom: 5px;
    }

    .section {
        height: auto !important;
    }

    .content {
        padding: 10px 0 15px 0;
    }

    #shome, #sblog, #sprojects, #steam, #scontact {
        display: none;
    }

    #sabout {
        padding-bottom: 0;
    }

    #swhy p {
        margin-top: 0;
        padding: 10px;
        background: #eee;
    }

    .proyecto .logo img {
        height: 70px;
    }

    .proyecto .text .titol {
        height: 41px;
        color: #333;
    }

    .proyecto .logo {
        height: 110px;
    }

    #lista-proyectos .carousel-inner>.item {
	display: block;
    }

    #lista-proyectos .carousel-indicators {
	display: none;
    }

    .carousel-indicators {
	position: relative;
    }

    a#logo:hover {
	text-decoration: none;
    }

    #tblog.single, #tblog.single .header-section {
	background: transparent;
	border: 0;
    }

    #tblog.single {
	position: absolute;
	z-index: 70;
    }

    @keyframes tblog {
      0%   { opacity: 0; padding-top: 800px;}
      15%   { opacity: 0; padding-top: 800px;}
      100% { opacity: 1; }
    }

    @-webkit-keyframes tblog {
      0%   { opacity: 0; padding-top: 800px;}
      15%   { opacity: 0; padding-top: 800px;}
      100% { opacity: 1; }
    }

    @-o-keyframes tblog {
      0%   { opacity: 0; padding-top: 800px;}
      15%   { opacity: 0; padding-top: 800px;}
      100% { opacity: 1; }
    }

    @-moz-keyframes tblog {
      0%   { opacity: 0; padding-top: 800px;}
      15%   { opacity: 0; padding-top: 800px;}
      100% { opacity: 1; }
    }

    @-ms-keyframes tblog {
      0%   { opacity: 0; padding-top: 800px;}
      75%   { opacity: 0; padding-top: 800px;}
      100% { opacity: 1; }
    }

    #tblog.home, #portada #fullpage {
	background: #333;
	padding-left: 0;
	padding-right: 0;
	animation-name: tblog;
	animation-duration: 0.85s;
	animation-timing-function: ease-out;
	-webkit-animation-name: tblog;
	-webkit-animation-duration: 0.85s;
	-webkit-animation-timing-function: ease-out;
	-moz-animation-name: tblog;
	-moz-animation-duration: 0.85s;
	-moz-animation-timing-function: ease-out;
	-o-animation-name: tblog;
	-o-animation-duration: 0.85s;
	-o-animation-timing-function: ease-out;
	-ms-animation-name: tblog;
	-ms-animation-duration: 0.85s;
	-ms-animation-timing-function: ease-out;
    }

    #tblog.home .header-section{
	width: 100%;
	margin: 0;
	padding-left: 15px;
    }

    #featured-image {
	min-height: 260px;
	margin-top: 39px;
	position: relative;
    }

    #featured-image .post-title {
	position: absolute;
	bottom: 10px;
	margin: 0;
	left: 15px;
	right: 15px;
	letter-spacing: 0.05em;
    }

    #featured-image .post-title h1 {
	font-size: 1.7em;
	margin: 0 5px;
    }

    #featured-image .post-title .section-name {
	margin: 5px 0;
	font-size: 0.8em;
    }

    #featured-image.error404 {
	min-height: 150px;
	background: #000;
    }

    #featured-image.error404 .post-title h1 {
	margin: 0;
    }

    .wp_rp_content ul li {
	float: left;
	width: 49%;
	margin: 5px 0.5% 5px 0.5%;
    }

    .wp_rp_content ul li:nth-child(3) {
	clear: both;
    }

    .alignleft, .alignright {
	margin: 10px auto;
	display: block;
	float: none;
    }

    .post-thumbnail .blog-post {
	padding: 0 15px;
    }

    .post-thumbnail {
	height: 200px;
    }

    #sservices .img-responsive img {
	width: 100%;
	height: auto;
    }

    .phone {
	font-size: 20px;
	display: inline-block;
	padding: 5px 10px;
	background: #222;
	border-radius: 5px;
    }

    a:hover.phone, a:focus.phone {
	text-decoration: none;
	background: #000;
    }

 .cookies #footer-mobile {
	padding-bottom: 200px;
    }
}

@media (min-width: 768px) {

    body {
        background: #fff;
    }

#error {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    border: 0;
    z-index: 0;
}

#error_text {
    position: absolute;
    z-index: 99;
    left: 0;
}

    #cookies {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: 101;
	opacity: 0.95;
	color: #ccc;
	background: #303030;
	border-top: 1px solid #222;
      }


#cookies .links {
    padding: 16px 0;
    text-align: right;
}

#blog.cookies #scontact {
	padding-bottom: 80px;
    }

    .page-center,  .page-center-fixed, #page-margin {
	max-width: 1680px;
	margin: 0 auto;
	position: relative;
    }

    .page-center-fixed {
	position: fixed;
	top: 0; right: 0; left: 0; bottom: 0;
    }


    #idiomes {
	position: fixed;
	bottom: 20px;
	margin-left: -225px;
    }

    #xarxesdiapaso, #idiomes {
	transition: 0.5s bottom linear;
    }

    .cookies #idiomes {
	bottom: 70px;
    }

    #idiomes a {
	background: #999;
	font-size: 0.8em;
	margin: 0 1px;
	opacity: 0.7;
    }

    #idiomes a:hover, #idiomes a:focus {
	opacity: 1;
    }

    #left-headers {
	position: fixed;
	width: 270px;
	top: 0; left: 0;
	bottom: 0;
	pointer-events: none;
    }

    #fullpage {
	background: #fff;
    }

   #nav-top {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    height: 70px;
    z-index: 99;
   }

   #nav-top-bg {
    position: absolute;
    display: block;
    right: 0;
    left: 50%;
    top: 0;
    height: 70px;
    overflow: hidden;
    background: #333;
    content: " ";
    z-index: 98;
   }

   #xarxesdiapaso {
    position: absolute;
    right: 0;
    top: 10px;
    padding: 20px 20px 20px 0;
    text-align: right;
    z-index: 99;
   }

    #nav-top #xarxesdiapaso a, #nav-top #xarxesdiapaso a:link, #nav-top #xarxesdiapaso a:visited {
    color: #ccc;
    display: inline-block;
    margin: 0 5px;
    font-size: 20px;
    transition: 0.2s color linear;
   }

   #nav-top #xarxesdiapaso a:hover, #nav-top #xarxesdiapaso a:focus{
    color: #fff;
   }

   #nav-top  #main-nav {
    background: #333;
    height: 70px;
   }

   #main-nav {
    position: relative;
    z-index: 99;
   }

   #main-nav ul li {
    float: left;
   }

   #main-nav ul li a {
    display: block;
    margin: 20px 5px 0 5px;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: 0.2s all linear;
   }

   #main-nav ul li a:hover, #main-nav ul li a:focus {
    text-decoration: none;
    background: #555;
    outline:0;
   }

   #main-nav a.active, #main-nav ul li a:hover.active, #main-nav ul li a:focus.active, #main-nav ul li a:focus {
    background: #ffe000;
    color: #333;
   }

   #main-nav ul li a:focus {
    background: #fff;
   }

   #main-nav a:hover.arrow:after, #main-nav a:focus.arrow:after, #main-nav a.active.arrow:after, #main-nav a:focus.arrow:after {
    left: 10px;
   }

   #main-nav a:hover.arrow:after, #main-nav a:focus.arrow:after {
    border-top-color: #555;
   }

   #main-nav a.active.arrow:after, #main-nav a:focus.arrow.active:after {
        border-top-color: #ffe000;
    }

    #main-nav a:focus.arrow:after {
        border-top-color: #fff;
    }

    #main-nav a.arrow:after {
        border-top-color: #333;
        border-width: 8px;
        left: 30px;

    }

    #nav-top #main-nav, #nav-top-bg {
        margin-top: 10px;
    }


   .borrable {
    transition: 0.1s opacity linear;
   }

   .borrar .borrable, #sabout.borrar .content {
    opacity: 0;
   }

   a#logo, a#logo:hover, a#logo:focus {
    color: #ffe000;
    text-decoration: none;
   }

   #nav-top #logo, #nav-top.logo a#logo:hover, #nav-top.logo a#logo:focus {
    position: absolute;
    left: 30px;
    top: 15px;
    width: 270px;
    z-index: 99;
    transition: 0.3s all linear;
   }

   #logo .isotip, #nav-top.logo a#logo:hover .isotip, #nav-top.logo a#logo:focus .isotip {
    background: url(../imgs/logo_diapaso.png) center left no-repeat;
    background-size: auto 45px;
    height: 62px;
    width: 45px;
    margin-right: 5px;
    float: left;
   }

   #logo .isotip {
    transition: 0.3s all linear;
    transition: 0.6s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.3s opacity linear;
   }

    #logo h1, #nav-top.logo a#logo:hover h1, #nav-top.logo a#logo:focus h1 {
    padding-top: 0;
    transition: 0.3s all linear;
    transition: 0.6s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.3s opacity linear;
    margin-top: 10px;
    opacity: 1;
   }

   #nav-top.logo #logo {
    margin-top: 0;
   }

   #nav-top.logo #logo .isotip {
    opacity: 1;
    margin-top: 0;
    height: 80px;
    width: 70px;
    background-size: auto 70px;
   }

   #nav-top.logo #logo h1 {
    opacity: 0;
   }

   .section {
    position: relative;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(0);
   -moz-transform: translateZ(0);
   -ms-transform: translateZ(0);
   -o-transform: translateZ(0);
   transform: translateZ(0);
    background: #fff;
   }

   .moving .slimScrollBar {
    opacity: 0 !important;
   }

   .moving .slimScrollBar {

   }

    .centerv.center {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        z-index: 10;
    }

    .fp-scrollable .centerv.center {
	position: relative;
        top: 0;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        z-index: 10;
    }

    .centerv.nocenter {
        padding-top: 95px;
        padding-bottom: 150px;
    }

    .nocentertop {
        background: #fff;
        position: fixed;
        left: 0; right: 0; top: 0; height: 10px;
        display: none;
	z-index: 95;
    }

    .nocentertop.blanc {
        display: block;
    }

    .nocentertop.gris {
	background: #333;
    }

    .nocentertop.huit {
	background: #f8f8f8;
    }

    #blog .nocentertop {
	display: block;
	background: #f8f8f8;
    }

    #sabout.blanc {
	background: #fff;
    }

    #sblog.blanc {
	background: #fff;
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(248,248,248,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(248,248,248,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(248,248,248,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(248,248,248,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(248,248,248,1) 100%); /* W3C */
    }

    #sabout.gris {
	background: #333;
    }


    .groc span {
        display: table;
        padding: 5px 10px;
        margin: 5px 0;
        background: #ffe000;
        color: #333;
        display: table;
        text-transform: uppercase;
    }

    h4.arrow {
        display: table;
        background: #333;
        color: #fff;
    }

    .arrow:after {
	border-top-color: #333;
    }

    .header-section {
        position: absolute;
        top: 150px;
        left: 0;
	padding-left: 30px;
        z-index: 95;
        opacity: 0;
        transition: 0.2s all ease-out;
	transition: 0.5s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.2s opacity linear;
        max-width: 270px;
    }

    .header-section.fixed, .header-section.amaga {
        top: 100px;
        margin-top: 0;
    }

    .header-section.fixed {
        opacity: 1;
    }

    .header-section.secondline {
        padding-top: 42px;
    }

    .header-section h2, .header-section h1 {
        transition: 0.2s all ease-out;
	transition: 0.5s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.2s opacity linear;
    }

    .header-section.fosc h2, .header-section.fosc h1  {
        background: #666;
        transition: 0.2s all ease-out;
	transition: 0.5s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.2s opacity linear;
    }

    .header-section.oneline h2, .header-section.amaga h2, .header-section.amaga h1 {
        opacity: 0;
        margin-left: -30px;
    }


    #shome {
        background: #333;
        position: relative;
	padding: 0;
	overflow: hidden;
    }

    #shome.fotovideo{
	background: #333 url(../imgs/video/loop2.gif) center center no-repeat;
        background-size: cover;
    }

    #shome #video {
	margin: auto;
	position: absolute; right: 0;
    }

    #sabout {
        position: relative;
        background: #fff url(../imgs/video_bg.jpg) center center no-repeat;
        background-size: cover;
    }

    #sabout .container {
        position: relative;
        height: 100%;
        margin: auto;
        padding-top: 0;
        padding-bottom: 0;
    }


    #shome .fp-scrollable {
		padding: 0;
    }

    #sabout .fp-scrollable {
    	position: relative;
    	height: 100%;
    	padding-top: 0;
    	padding-bottom: 0;
    }

    #sabout .content {
        position: absolute;
        bottom: 100px;
        left: 20px;
        margin: auto;
        max-width: 500px;
        z-index: 95;
        opacity: 1;
        transition: 0.5s all ease-out;
	transition: 0.5s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.3s opacity linear;
    }

    #sabout .content .aboutcont {
	background: #fff;
	background: rgba(255,255,255,0.5);
	padding: 10px 10px 15px 10px;
	margin-top: 5px;
    }

    #sabout .content .aboutcont p {
	margin-top: 0;
    }

    #sabout .content .aboutcont a, #swhy a {
	background: #333;
	color: #fff;
	padding: 5px 10px;
	text-transform: uppercase;
	font-weight: bold;
	transition: 0.2s all linear;
    }

    #swhy a {
	background: #ccc;
	color: #333;
    }

    #sabout .content .aboutcont a:hover, #sabout .content .aboutcont a:focus, #swhy a:hover, #swhy a:focus {
	background: #ffe000;
	color: #333;
	text-decoration: none;
    }

    #swhy .fa, #sabout .fa{
	margin-left: 6px;
    }

    #wcontinua.ani {
	opacity: 0;
	margin-left: -100px;
    }

    #wpreu {
	padding-bottom: 20px;
    }

    .cookies #sabout .content {
	bottom: 150px;
    }

    #sabout.ani .content {
        bottom: 0;
        opacity: 0;
    }

    #swhy h3, #sservices h3, #steam .teamtext {
	transition: 0.5s all ease-out;
	transition: 0.5s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.3s opacity linear;
    }

    #swhy h3 {
	padding-top: 50px;
    }

    #swhy .col-md-3 {
	transition: 0.5s all ease-out;
	padding-bottom: 50px;
    }

    #swhy .col-md-3.ani {
	padding-top: 50px;
	padding-bottom: 0;
        opacity: 0;
    }

    #swhy.ani h3, #sservices.ani h3 {
	opacity: 0;
        margin-left: -100px;
    }

    #steam.ani .teamtext {
	opacity: 0;
        margin-top: -100px;
    }

    #swhy h3.groc, #sservices h3.groc {
        margin-bottom: 50px;
    }

    #steam .row.ani {
	opacity: 0;
    }

    #swhy {
        background: #333;
    }

    #swhy.ngris {
        background: #fff;
    }

    #swhy .row {
        margin: 0 -15px 20px -15px;
        color: #fff;
    }

    #swhy h4.arrow {
        margin-bottom: 20px;
        background: #555;
        font-weight: normal;
    }

    #swhy h4.arrow::after {
        border-top-color: #555;
    }

    #swhy p {
        font-size: 0.9em;
    }

    h3.groc {
        font-size: 25px;
    }

    #swhy h4 {
        font-size: 20px;
    }

    #sservices h4 {
        text-transform: uppercase;
    }

    #sservices .centerv.center {
        margin-top: 140px;
    }

    #sservices.ani .centerv, #sprojects.ani .centerv, #steam.ani .centerv {
        opacity: 0;
    }

    #sprojects .proyecto {
        width: 49%;
        margin: 0 1% 15px 0;
	float: left;
    }

    .servici {
        padding: 0 25px 50px 0;
        clear: both;
	min-height: 160px;
    }

    .servici, .blog-entry {
	transition: 0.4s all ease-out;
	transition: 0.5s all cubic-bezier(0.175, 0.885, 0.270, 1.650), 0.4s opacity linear;
    }

    .servici.ani, .blog-entry.ani {
	opacity: 0;
	transform: scale(0.5, 0.5);
	-webkit-transform: scale(0.5, 0.5);
	-moz-transform: scale(0.5, 0.5);
	-o-transform: scale(0.5, 0.5);
	-ms-transform: scale(0.5, 0.5);
    }

    .servici .icona {
        width: 110px;
        height: 90px;
        float: left;
        margin-right: 20px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: auto 90px;
    }

    .servici .text {
        margin-left: 130px;
    }

    .servici .text h3, .servici .text p {
        margin: 0;
    }

    .servici .text p {
        font-size: 0.85em;
    }

    .servici .icona.audiovisual { background-image: url(../imgs/audiovisual.png); }
    .servici .icona.web { background-image: url(../imgs/web.png); }
    .servici .icona.foto { background-image: url(../imgs/foto.png); }
    .servici .icona.redes { background-image: url(../imgs/redes.png); }
    .servici .icona.premsa { background-image: url(../imgs/premsa.png); }
    .servici .icona.disseny { background-image: url(../imgs/disseny.png); }


    .cita {
        padding: 0 50px;
    }

    #testimonios .item .cita {
        opacity:0;
        transition: 1s opacity ease-in-out;
    }

    #testimonios .item.active .cita {
        opacity: 1;
    }

    #testimonios .gradient {
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 50px;
        background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
        background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
    }


    #steam {
	position: relative;
        background: #fff url(../imgs/team.jpg) center center no-repeat;
        background-size: cover;
    }

    .gblanc {
	background: -moz-linear-gradient(top, rgba(248,248,248,1) 0%, rgba(248,248,248,1) 8%, rgba(248,248,248,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,248,248,1)), color-stop(8%,rgba(248,248,248,1)), color-stop(100%,rgba(248,248,248,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(248,248,248,1) 0%,rgba(248,248,248,1) 8%,rgba(248,248,248,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(248,248,248,1) 0%,rgba(248,248,248,1) 8%,rgba(248,248,248,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(248,248,248,1) 0%,rgba(248,248,248,1) 8%,rgba(248,248,248,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(248,248,248,1) 0%,rgba(248,248,248,1) 8%,rgba(248,248,248,0) 100%); /* W3C */
	top: 0;
    }

    .ggris {
	background: -moz-linear-gradient(top, rgba(51,51,51,0) 0%, rgba(51,51,51,1) 97%, rgba(51,51,51,1) 99%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(51,51,51,0)), color-stop(97%,rgba(51,51,51,1)), color-stop(99%,rgba(51,51,51,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(51,51,51,0) 0%,rgba(51,51,51,1) 97%,rgba(51,51,51,1) 99%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(51,51,51,0) 0%,rgba(51,51,51,1) 97%,rgba(51,51,51,1) 99%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(51,51,51,0) 0%,rgba(51,51,51,1) 97%,rgba(51,51,51,1) 99%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(51,51,51,0) 0%,rgba(51,51,51,1) 97%,rgba(51,51,51,1) 99%); /* W3C */
	bottom: 0;
    }

    .gblanc, .ggris {
	position: absolute;
	width: 100%;
	left: 0; right: 0;
	height: 300px;
    }

    .teamtext {
	max-width: 500px;
	background: #fff;
	background: rgba(255,255,255,0.9);
	padding: 15px 20px 10px 20px;
	position: relative;
	z-index: 20;
    }

    #blogload .post-title {
    	margin-top: 25px;
	font-size: 2.2em;
    }

    #blogload .post-title .groc {
    	line-height: 0.5em;
    }

    #blogload .introduction {
    	font-size: 0.9em;
	margin-left: -2px;
    }

    .readmore {
    	text-transform: uppercase;
    	font-weight: bold;
    }

    #sblog .container {
	margin-right: 0;
    }


    #sblog, #blog, #blog #main.section {
	background: #f8f8f8;
    }


    #blogload {
    	padding-top: 80px;
    }

    #entrada1, #entradas {
	position: relative;
    }

    #entradas .post-title, #blogload .blog-entry.tonly .post-title {
	position: absolute;
	top: 25px;
	left:25px;
	margin: 0;
	z-index: 10;
	max-width: 325px;
    }

    #blogload .blog-entry {
	position: relative;
	padding: 5px;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center right;
	overflow: hidden;
    }

    #blogload .blog-entry .read-more {
	position: absolute;
	display: block;
	width: 100%; height: 100%;
	top: 0;left: 0; right: 0; bottom: 0;
	z-index: 5;
    }

    #blogload .blog-entry a.groc, .readmore a {
	transition: 0.5s all ease-in-out;
    }

    #blogload .blog-entry a.groc {
	border-bottom: 4px solid #ffe000;
	box-shadow: 5px 0 0 #ffe000, -5px 0 0 #ffe000;
	line-height: 1.6;
    }

    #blogload .blog-entry a.groc:hover, #blogload .blog-entry a.groc:focus {
	border-bottom-color: #333;
	text-decoration: none;
    }

    #blogload .blog-entry a.groc:focus {
	background: #333;
	border-bottom: 4px solid #333;
	box-shadow: 5px 0 0 #333, -5px 0 0 #333;
	color: #fff;
	outline: 0;
    }

    .readmore a{
	box-shadow: 5px 0 0 #f8f8f8, -5px 0 0 #f8f8f8;
    }

    .readmore a:hover, .readmore a:focus {
	background: #333;
	box-shadow: 5px 0 0 #333, -5px 0 0 #333;
	color: #fff;
	text-decoration: none;
	outline: 0;
    }

    #blogload .blog-entry.full .content {
	padding: 30px 50px 15px 25px;
	background: #f8f8f8;
	width: 485px;
	min-height: 350px;
	z-index: 10;
	position: absolute;
    }

    #blogload .blog-entry .content h2 {
	margin: 5px 0 15px 0;
    }

    #blogload .blog-entry .image {
	display: block;
	height: 100%;
	min-height: 420px;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
    }

    #blogload .blog-entry.tonly .introduction, #blogload .blog-entry.tonly .readmore{
	display: none;
    }

    @keyframes blogheader {
      0%   { opacity: 0; margin-top: 150px;}
      70%   { opacity: 0; margin-top: 150px;}
      100% { opacity: 1; }
    }

    @-webkit-keyframes blogheader {
      0%   { opacity: 0; margin-top: 150px;}
      70%   { opacity: 0; margin-top: 150px;}
      100% { opacity: 1; }
    }

    @-moz-keyframes blogheader {
      0%   { opacity: 0; margin-top: 150px;}
      70%   { opacity: 0; margin-top: 150px;}
      100% { opacity: 1; }
    }

    @-o-keyframes blogheader {
      0%   { opacity: 0; margin-top: 150px;}
      70%   { opacity: 0; margin-top: 150px;}
      100% { opacity: 1; }
    }

    @-ms-keyframes blogheader {
      0%   { opacity: 0; margin-top: 150px;}
      70%   { opacity: 0; margin-top: 150px;}
      100% { opacity: 1; }
    }

    @keyframes featured {
      0%   { opacity: 0; height: 1px;}
      70%   { opacity: 0; height: 1px;}
      100% { opacity: 1; }
    }

    @-webkit-keyframes featured {
      0%   { opacity: 0; height: 1px;}
      70%   { opacity: 0; height: 1px;}
      100% { opacity: 1; }
    }

    @-moz-keyframes featured {
      0%   { opacity: 0; height: 1px;}
      70%   { opacity: 0; height: 1px;}
      100% { opacity: 1; }
    }

    @-o-keyframes featured {
      0%   { opacity: 0; height: 1px;}
      70%   { opacity: 0; height: 1px;}
      100% { opacity: 1; }
    }

    @-ms-keyframes featured {
      0%   { opacity: 0; height: 1px;}
      70%   { opacity: 0; height: 1px;}
      100% { opacity: 1; }
    }

    @keyframes blogcontent {
      0%   { opacity: 0; padding-top: 100px;}
      75%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-webkit-keyframes blogcontent {
      0%   { opacity: 0; padding-top: 100px;}
      75%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-o-keyframes blogcontent {
      0%   { opacity: 0; padding-top: 100px;}
      75%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-moz-keyframes blogcontent {
      0%   { opacity: 0; padding-top: 100px;}
      75%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-ms-keyframes blogcontent {
      0%   { opacity: 0; padding-top: 100px;}
      75%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }




    @keyframes sidebar {
      0%   { opacity: 0; padding-top: 100px;}
      80%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-webkit-keyframes sidebar {
      0%   { opacity: 0; padding-top: 100px;}
      80%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-moz-keyframes sidebar {
      0%   { opacity: 0; padding-top: 100px;}
      80%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-o-keyframes sidebar {
      0%   { opacity: 0; padding-top: 100px;}
      80%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @-ms-keyframes sidebar {
      0%   { opacity: 0; padding-top: 100px;}
      80%   { opacity: 0; padding-top: 100px;}
      100% { opacity: 1; }
    }

    @keyframes flash {
	0% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	50% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	99% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 0;
	}
	100% {
	    position: relative;
	    opacity: 0;
	}
    }

    @-webkit-keyframes flash {
	0% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	50% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	99% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 0;
	}
	100% {
	    position: relative;
	    top: 0; bottom: auto; left: auto; right: auto;
	    opacity: 0;
	}
    }

    @-moz-keyframes flash {
	0% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	50% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	99% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 0;
	}
	100% {
	    position: relative;
	    top: 0; bottom: auto; left: auto; right: auto;
	    opacity: 0;
	}
    }

    @-o-keyframes flash {
	0% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	50% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	99% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 0;
	}
	100% {
	    position: relative;
	    top: 0; bottom: auto; left: auto; right: auto;
	    opacity: 0;
	}
    }

    @-ms-keyframes flash {
	0% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	50% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 1;
	}
	99% {
	    position: fixed;
	    top: 0; bottom: 0; left: 0; right: 0;
	    opacity: 0;
	}
	100% {
	    position: relative;
	    top: 0; bottom: auto; left: auto; right: auto;
	    opacity: 0;
	}
    }



    #flash {
	background: #f8f8f8;
	background-size: 64px 64px;
	opacity: 0;
	transition: 0.5s opacity linear;
	z-index: 999;
    }

    #flash.on {
	position: fixed;
	top: 0; bottom: 0; left: 0; right: 0;
	opacity: 1;
    }

    #flash {
	position: fixed;
	animation-name: flash;
	animation-duration: 1s;
	animation-timing-function: linear;
	-webkit-animation-name: flash;
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: flash;
	-moz-animation-duration: 1s;
	-moz-animation-timing-function: linear;
	-o-animation-name: flash;
	-o-animation-duration: 1s;
	-o-animation-timing-function: linear;
	-ms-animation-name: flash;
	-ms-animation-duration: 1s;
	-ms-animation-timing-function: linear;
    }

    #blog #content, #blog #scontact  {
	animation-name: blogcontent;
	animation-duration: 2s;
	animation-timing-function: ease-out;
	-webkit-animation-name: blogcontent;
	-webkit-animation-duration: 2s;
	-webkit-animation-timing-function: ease-out;
	-moz-animation-name: blogcontent;
	-moz-animation-duration: 2s;
	-moz-animation-timing-function: ease-out;
	-o-animation-name: blogcontent;
	-o-animation-duration: 2s;
	-o-animation-timing-function: ease-out;
	-ms-animation-name: blogcontent;
	-ms-animation-duration: 2s;
	-ms-animation-timing-function: ease-out;
    }

    #blog #content .sidebar {
	animation-name: sidebar;
	animation-duration: 2.5s;
	animation-timing-function: linear;
	-webkit-animation-name: sidebar;
	-webkit-animation-duration: 2.5s;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: sidebar;
	-moz-animation-duration: 2.5s;
	-moz-animation-timing-function: linear;
	-o-animation-name: sidebar;
	-o-animation-duration: 2.5s;
	-o-animation-timing-function: linear;
	-ms-animation-name: sidebar;
	-ms-animation-duration: 2.5s;
	-ms-animation-timing-function: linear;
    }

    #blog .header-section.fixed {
	position: fixed;
    }

    #blog .header-section h2 {
	animation-name: blogheader;
	animation-duration: 1s;
	animation-timing-function: linear;
	-webkit-animation-name: blogheader;
	-webkit-animation-delay: 0s;
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: blogheader;
	-moz-animation-duration: 1s;
	-moz-animation-timing-function: linear;
	-o-animation-name: blogheader;
	-o-animation-duration: 1s;
	-o-animation-timing-function: linear;
	-ms-animation-name: blogheader;
	-ms-animation-duration: 1s;
	-ms-animation-timing-function: linear;
    }

    .blog-top {
	margin-top: 80px;
    }

    #featured-image {
	margin-bottom: 20px;
	height: 350px;
	padding-left: 0;
	position: relative;
	overflow: hidden;
	animation-name: featured;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
	-webkit-animation-name: featured;
	-webkit-animation-duration: 1.5s;
	-webkit-animation-timing-function: ease-out;
	-moz-animation-name: featured;
	-moz-animation-duration: 1.5s;
	-moz-animation-timing-function: ease-out;
	-o-animation-name: featured;
	-o-animation-duration: 1.5s;
	-o-animation-timing-function: ease-out;
	-ms-animation-name: featured;
	-ms-animation-duration: 1.5s;
	-ms-animation-timing-function: ease-out;
    }

    #featured-image .image {
	height: 350px;
    }

    #featured-image h1, #featured-image.error404 .post-title {
	position: absolute;
	bottom: 15px;
	left: 30px;
	font-size: 2.2em;
	text-transform: uppercase;
	max-width: 350px;
	letter-spacing: 0.05em;
    }

    #main.error404 {
	background: transparent;
	z-index: 98;
	pointer-events: none;
	cursor: default;
    }

    #featured-image.error404 h1 {
	position: relative;
	font-size: 1em;
	left: auto; bottom: auto;
	margin-bottom: 0px;
    }


    #featured-image.error404 p {
	font-size: 0.5em;
    }

    .blog-post {
	padding: 0 10px;
    }

    .blog-post-content {
	font-size: 1.1em;
	line-height: 1.5;
    }

    img.alignleft {
	float: left;
	margin: 5px 20px 0 0;
    }

    img.alignright {
	float: right;
	margin: 5px 0 0 5px;
    }

    ul {list-style-type: square;}

    .blog-main .blog-post-content {
	color: #333;
	font-size: 14px;
	line-height: 1.7;
	font-weight: 200;
    }

    #wp_rp_first {
	margin: 50px 0 20px 0;
    }



    .sidebar ul {
	margin-top: 5px;
	padding-left: 28px;
    }

    #categories ul, #categories ul a {
	color: #b4b4b4;
    }

    #categories ul a:hover, #categories ul a:focus, #categories ul:hover, #categories ul:hover a {
	color: #333;
    }

    #cerca input {
	border: 0;
	border-bottom: 1px solid #c8c8c8;
	margin-top: 5px;
	width: 100%;
	box-shadow: none;
    }

    #cerca button {
	display: none;
    }

    #instafeed img {
	width: 49%;
	margin: 1px 1% 1px 0;
	float: left;
	box-shadow: 0 0 2px #999;
	transition: 0.5s all ease-in-out;
    }

    #instafeed:hover img {
	opacity: 0.5;
    }

    #instafeed a:hover img {
	box-shadow: 0 0 2px #333;
	opacity: 1;
    }

    #footer {
	background: #111;
	padding-top: 15px;
	padding-bottom: 15px;
	z-index: 99;
	color: #bbb;
    }

    #footer .container {
	padding-left: 30px;
    }

    #footer a {
	color: #ccc;
    }

    #scontact {
        color: #fff;
        background: #333;
    }

    #scontact a {
	color: #fff;
    }

    #scontact a:focus {
	color: #ffe000;
    }

    #scontact .scontactxarxes a:focus, #scontact .scontactxarxes a:hover {
	color: #333;
    }

    #blog #scontact .container {
	padding-top: 40px;
	padding-bottom: 40px;
    }





    #scontact h3 {
        margin: 0 0 20px 15px;
    }

    .scontactform {
        padding-left: 15px;
    }

    .scontactform input, .scontactform textarea {
        border: 4px solid #fff;
        padding: 6px 11px;
        height: auto;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
    }

    .scontactform input:focus, .scontactform textarea:focus {
	border-color: #ffe000;
    }

    .btn-default {
        background: #ffe000;
        color: #333;
        padding: 5px 10px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        border: 0;
        margin-top: 10px;
        position: relative;
	transition: 0.2s all linear;
    }

    .btn-default:focus {
	background: #fff;
        color: #333;
    }

    .scontactform  .btn-default:after {
	bottom: 100%;
	left: 10px;
        margin-bottom: -1px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(0, 0, 0, 0);
	border-bottom-color: #ffe000;
	border-width: 10px;
        transition: 0.2s all linear;
    }

    .btn-default:focus:after{
	border-bottom-color: #fff;
    }

    .scontactinfo {
        font-size: 0.845em;
        padding: 10px 0;
        line-height: 1.4;
	clear: both;
    }

    .scontactinfo a {
	color: #ccc;
	text-decoration: underline;
    }

    .scontactinfo a:hover, .scontactinfo a:focus {
	color: #fff;
    }

    .scontactxarxes a {
	margin: 0 10px 0 0;
    }


    .contacto-w {
        padding: 20px;
        background: #333;
        margin-top: 5px;
    }

    #contacta_resposta {
	margin: 5px 0 5px 15px;
    }


    .fp-scrollable .content, #steam .fp-scrollable .centerv, #swhy .fp-scrollable .centerv, .fp-scrollable #blogload {
	padding: 480px 0 400px 0;
    }

    #sabout .fp-scrollable .content {
    	padding-top: 0;
    	padding-bottom: 0;
    }


@-moz-keyframes continua {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes continua {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-o-keyframes continua {
  0%, 20%, 50%, 80%, 100% {
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -o-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -o-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-ms-keyframes continua {
  0%, 20%, 50%, 80%, 100% {
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -ms-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes continua {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

#continua {
  -moz-animation: continua 2s infinite;
  -webkit-animation: continua 2s infinite;
  -o-animation: continua 2s infinite;
  -ms-animation: continua 2s infinite;
  animation: continua 2s infinite;
  position: fixed;
  z-index: 99;
  bottom: 10px;
  opacity: 0.5;
  left: 50%;
  margin-left: -20px;
  width: 40px;
  height: 40px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOTMuNzUxLDQ1NS44NjhjLTIwLjE4MSwyMC4xNzktNTMuMTY1LDE5LjkxMy03My42NzMtMC41OTVsMCwwYy0yMC41MDgtMjAuNTA4LTIwLjc3My01My40OTMtMC41OTQtNzMuNjcyICBsMTg5Ljk5OS0xOTBjMjAuMTc4LTIwLjE3OCw1My4xNjQtMTkuOTEzLDczLjY3MiwwLjU5NWwwLDBjMjAuNTA4LDIwLjUwOSwyMC43NzIsNTMuNDkyLDAuNTk1LDczLjY3MUwyOTMuNzUxLDQ1NS44Njh6Ii8+DQo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjIwLjI0OSw0NTUuODY4YzIwLjE4LDIwLjE3OSw1My4xNjQsMTkuOTEzLDczLjY3Mi0wLjU5NWwwLDBjMjAuNTA5LTIwLjUwOCwyMC43NzQtNTMuNDkzLDAuNTk2LTczLjY3MiAgbC0xOTAtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=);
  background-size: contain;
  transition: 0.5s all linear;

}

.cookies #continua {
    bottom: 80px;
}

#continua.dalt {
    bottom: 90px;
    opacity: 0;
}

#steam .centerv, #swhy .centerv {
    padding-top: 80px; padding-bottom: 80px;
}

#comunicaenpositiu {
    position: absolute;
    top:0; bottom: 0; left: 0; right: 0;
    z-index: 80;
}


#comunicaenpositiu.es {
    background: url(../imgs/comunica_es.png) center center no-repeat;
    background-size: 570px 100px;
}

#comunicaenpositiu.ca {
    background: url(../imgs/comunica_ca.png) center center no-repeat;
    background-size: 570px 100px;
}

#comunicaenpositiu.en {
    background: url(../imgs/comunica_en.png) center center no-repeat;
    background-size: 570px 100px;
}


}
@media (min-width: 1670px) {
#sblog .container {
	margin-right: 0;
	width: auto;
	margin-left: 255px;
    }

#left-headers {
	margin-left: -270px;
	left: auto;
    }

    #blog .header-section.fixed {
	margin-left: -270px;
	left: auto;
    }
}

@media (max-width: 1100px) and (min-width: 768px) {
    #swhy h4 {
	font-size: 14px;
    }

    .servici .text p {
	font-size: 12px;
    }
}

@media (max-width: 1669px) and (min-width: 768px) {
    .section, #nav-top, .fp-scrollable {
        padding-left: 270px;
    }

    .slimScrollDiv {
	margin-left: -270px;
    }

    #shome .slimScrollDiv {
	margin-left: 0;
    }

    .section .container, #nav-top .container {
        width: 100%;
    }

    .section .container, #sabout .content {
        padding-right: 45px;
    }

    #sblog .container {
	padding-right: 0;
    }

    #idiomes {
    left: 0;
    padding-left: 30px;
    margin-left: 0;
}

}

@media (max-width: 991px) and (min-width: 768px) {

    .cookies #idiomes {
	bottom: 110px;
    }

    .cookies #sabout .content {
	bottom: 190px;
    }

    #blog.cookies #scontact {
	padding-bottom: 150px;
    }

    .cookies #continua {
	bottom: 120px;
    }

    #main-nav ul li a {
	margin: 22px 0 0 0;
	font-size: 0.8em;
    }

    h3.groc, #swhy h3 {
	background: #ffe000;
	padding: 5px 10px;
    }

    .groc span {
	margin: 0; padding: 0;
    }

    #sabout {
	background-image: none;
    }

    #swhy .col-md-3, #swhy .col-md-3.ani {
	padding-bottom: 10px;
	padding-top: 0;
    }

    .carousel-indicators{
	position: relative;
    }

    #scontact .col-md-4 {
	text-align: center;
	padding-top: 20px;
    }

    #xarxesdiapaso {
	position: fixed;
	bottom: 60px;
	top: auto;
	right: auto;
	margin-left: -240px;
	width: 136px;
	text-align: center;
	padding: 0;
    }

    .cookies #xarxesdiapaso {
	bottom: 150px;
    }

    #nav-top #xarxesdiapaso a, #nav-top #xarxesdiapaso a:link, #nav-top #xarxesdiapaso a:visited {
	font-size: 30px;
	color: #ccc;
    }

    #nav-top #xarxesdiapaso a:hover, #nav-top #xarxesdiapaso a:focus {
	color: #000;
    }
}

#page .section, #page #nav-top {
    position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}

@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-inner > .item {
    -webkit-transition: -webkit-transform .6s ease-in-out;
         -o-transition:      -o-transform .6s ease-in-out;
            transition:         transform .6s ease-in-out;

    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-perspective: 1000;
            perspective: 1000;
  }
  .carousel-inner > .item.next,
  .carousel-inner > .item.active.right {
    left: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }
  .carousel-inner > .item.prev,
  .carousel-inner > .item.active.left {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }
  .carousel-inner > .item.next.left,
  .carousel-inner > .item.prev.right,
  .carousel-inner > .item.active {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}

html, #nav-top, .groc, #left-headers, #main-nav, #main-nav ul, #main-nav ul li, #main-nav ul li a, .form-group {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h3.groc, #left-headers, #nav-top {
    cursor: default;
}

#especial.opzero #especial-espai { opacity: 0;}

#especial.zzero #especial-espai {z-index: 0;}

#especial-espai { background: #ffe000; position: fixed; top: 0; bottom: 0; left: 0; right: 0; left: 0; z-index: 100; transition: 1s opacity linear;}

#especial-espai iframe { width: 100%; height: 100%;}

p, .postal, .post-title h1 span, .blog-post-content li, h4 {
    -o-user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
    user-select: text;
}

::selection, li::selection, ul::selection {
  background: #222; color: #ccc;
}
::-moz-selection, li::-moz-selection, ul::-moz-selection {
  background: #222; color: #ccc;
}

.legal-checkbox, .legal-checkbox input, .legal-checkbox span {
    vertical-align: middle;
    margin: 0;
}

.legal-checkbox a {
    background: #ffe000;
    color: #000 !important;
}
