* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  position: relative;
  background: #17181a;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 400;
  color: #dbdbe5;
}

img {
  max-width: 100%;
  image-rendering: optimizeQuality;
  -ms-interpolation-mode: bicubic;
}

p {
  margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", "Source Sans Pro", sans-serif;
  font-weight: normal;
  line-height: 1.2em;
  margin-bottom: .5em;
  margin-top: 30px;
}
header h1, header
h2, header
h3, header
h4, header
h5, header
h6 {
  margin-top: 0;
}

h1 {
  font-size: 2.2em;
  line-height: 1.4em;
  color: #3d4851;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-transform: uppercase;
}

hr {
  border: none;
  border-bottom: solid 1px #1c1d1f;
}

pre {
  overflow: auto;
}

code {
  overflow: auto;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #f9f9f9;
  text-decoration: none;
}


b,
strong {
  font-weight: 700;
}

blockquote {
  position: relative;
  display: block;
  padding: 20px 20px 20px 50px;
  background: #1c1d1f;
  margin-bottom: 10px;
}
blockquote:before {
  content: open-quote;
  position: absolute;
  font-size: 40px;
  color: #f9f9f9;
  text-shadow: 0 1px 0 black;
  line-height: 40px;
  left: 10px;
  top: 10px;
  font-family: 'Lily Script One', cursive;
}
blockquote > *:last-child {
  margin-bottom: 0;
}


.clearfix {
  overflow: hidden;
  *zoom: 1;
}

.container {
  overflow: hidden;
  *zoom: 1;
  position: relative;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.col-1 {
  width: 25%;
}

.col-2 {
  width: 50%;
}

.col-3 {
  width: 75%;
}

.col-4 {
  width: 100%;
}

.col-1,
.col-2,
.col-3,
.col-4 {
  display: block;
  float: left;
}
@media screen and (max-width: 767px) {
  .col-1,
  .col-2,
  .col-3,
  .col-4 {
    width: 100%;
  }
}

.col-offset-1 {
  margin-left: 25%;
}

.col-offset-2 {
  margin-left: 50%;
}

.col-offset-3 {
  margin-left: 75%;
}

@media screen and (max-width: 767px) {
  .col-offset-1,
  .col-offset-2,
  .col-offset-3 {
    margin-left: 0;
  }
}
#header {
  position: relative;
  width: 100%;
  display: table;
  height: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px 20px;
}
#header[style] {
  -webkit-box-shadow: inset 0 -3000px 0 0 rgba(0, 0, 0, 0.0);
  -moz-box-shadow: inset 0 -3000px 0 0 rgba(0, 0, 0, 0.0);
  box-shadow: inset 0 -3000px 0 0 rgba(0, 0, 0, 0.0);
  margin-bottom: 30px; /* espai sota del main header */
  height: 60%;
  /*height: 43%; */
}

#header > span {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  z-index: 10;
}
#header h1,
#header h3 {
  display: inline-block;
  color: #f9f9f9;
}
#header h1 {
  font-size: 2.5em;
  padding-bottom: 6px;
  margin-bottom: 14px;
  text-transform: uppercase;
  border-bottom: solid 3px #f9f9f9;
}

#header h3 {
  position: relative;
  font-size: 1em;
  padding: 0;
}


#content_a {
  position: relative;
  width:100%;
  height: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 50px; /*espai per damunt i sota del centre del banner*/
}
#content_a[style] {
  -webkit-box-shadow: inset 0 -3000px 0 0 rgba(0, 0, 0, 0.0);
  -moz-box-shadow: inset 0 -3000px 0 0 rgba(0, 0, 0, 0.0);
  box-shadow: inset 0 -3000px 0 0 rgba(0, 0, 0, 0.0);
  margin-bottom: 30px; /*espai sota de cada banner*/
  height: 60%;
}

#content_a > span {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  z-index: 10;
}

#content_a h1,
#content_a h3 {
  display: inline-block;
  color: #c1c1c1;
}


#content_a h1 {
  font-size: 2.5em;
  padding-bottom: 6px;
  margin-bottom: 14px;
  text-transform: uppercase;
  border-bottom: solid 3px #c1c1c1;
}

#content_a h3 {
  position: relative;
  font-size: 1em;
  padding: 0;
}

#navigation {
  background: #1c1d1f;
  padding: 0 20px;
}
#navigation .container {
  padding: 0 20px;
  text-align: center;
  z-index: 10;
}
#navigation .container h1,
#navigation .container a {
  padding: 20px 0;
  margin: 0;
}
#navigation .container h1 {
  font-size: 16px;
  text-align: left;
}
@media screen and (max-width: 767px) {
  #navigation .container h1 {
    text-align: center;
    padding-bottom: 0;
  }
}
#navigation .container h1 a {
  color: #f9f9f9;
  padding: 0;
}
#navigation .container a {
  display: inline-block;
  font-size: .875em;
  color: #dbdbe5;
}
#navigation .container a:hover {
  color: #f9f9f9;
  text-decoration: none;
}
#navigation .container a + a {
  margin-left: 20px;
}

#content {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  padding: 0 20px;
  text-align: left;
}

/* SLIDESHOW */
#slideshow { 
    margin: 50px auto; 
    position: relative; 
    width: 240px; 
    height: 240px; 
    padding: 10px; 
    box-shadow: 0 0 20px rgba(0,0,0,0.4); 
}

#slideshow > div { 
    position: absolute; 
    top: 10px; 
    left: 10px; 
    right: 10px; 
    bottom: 10px; 
}
