
@import url(http://fonts.googleapis.com/css?family=Julius+Sans+One|Gloria+Hallelujah|Libre+Baskerville:400,400italic);

/* base CSS */
* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

html, body {
  padding: 0;
  margin: 0;
}

body {
  color: #325050;
  background: #fff;
  font-family: 'Baskerville', sans-serif;
  font-size: 70%;
}

a {
  //color: #0599c2;
  color: #a9a3c7;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
  text-decoration: none;
}
  a:link {
    color: #a9a3c7;
  }
  a:visited {
    color: #a9a3c7;
  }
  a:hover, a:focus {
    color: #a9a3c7;
    text-decoration: underline;
  }



div {
  background: transparent;
}

header {
  height: 150px;
  padding: 20px 0 70px 0;
  background-attachment: fixed, fixed, fixed, scroll;
  background : linear-gradient(to right, #fff,  #325050 100%);
  background-position: 0 0, 0 0, -5px -25px, 0 50%;
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, auto, cover;
  background-image: url(imatge/fondguidaP.jpg);
  background-size : 100%;
  text-align: center;
}

h1, h2 {
  padding: 0 10%;
  margin: 0;
  color: #fff;
  font-weight: normal;
}
h1 {
  padding-top: 0;
  padding-bottom: 5px;
  border-bottom: none;
  font-weight: bold;
  font-family: 'Julius Sans One', sans-serif;
  font-size: 3.2em;
  text-transform: uppercase;
}
h1::before {
  display: inline-block;
  position: relative;
  top: 20px;
  content: "";
  width: 80px;
  height: 80px;
  margin: -20px 20px 0 0;
  opacity: 0.6;
}
h2 {
  display: block;
  padding-top: 5px;
  padding-bottom: 30px;
  border-top: none;
  //color: rgba(255,255,255,0.6);

  font-weight: normal;
  font-size: 1.6em;
  font-style: italic;
}
h2::before {
  content: " ";
  padding: 50px;
}
h3 {
  margin: 1em 0 0 0;
  color: #2e484c;
  font-family: 'Julius Sans One', sans-serif;
  font-size: 1.8em;
  font-weight: normal;
  text-transform: uppercase;
}



.page-wrapper {
  position: relative;
}

.summary {
  position: relative;
  background: transparent;
  width: 80%;
  margin: 0 auto;
}

/* intro block links -- download HTML/CSS */
.intro a, .intro a:visited {
  position: relative;
  display: inline-block;
  padding: 1px 10px 1px 32px;
  margin: -1px -10px -1px -6px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;

  color: #809b7e;
  font-family: 'Julius Sans One', sans-serif;
  text-transform: uppercase;
}
.intro a:hover, .intro a:focus {
  z-index: 2;
  color: #fff;
  background: #3d8a9f;
  text-decoration: none;
}

.intro a::before {
  display: inline-block;
  position: absolute;
  top: 6px;
  left: 8px;
  padding: 2px;
  color: #a9b995;
  background: #d9e1cd;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -o-border-radius: 2px;

  content: "D";
  font-size: 16px;
  text-indent: 0;


  /* icomoon.io defaults */
  font-family: 'verdemoderna';
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;

  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
  .intro a:hover::before {
    color: #fff;
    background: #357d93;
  }

/* shared sidebar styling */
.design-selection ul,  {
  margin: 0;
}
.design-selection li, .zen-resources li {
  float: left;
  width: 70%;
  padding: 1em 10%;
  border-top: solid 1px #d9e3dc;
  color: #c0cac3;
  font-style: italic;
}
  .design-selection li:hover, .design-selection li:focus {
    background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,0.5)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%); /* W3C */
  }
.design-selection li:nth-child(2n+1),  {
  clear: left;
}
.design-selection .design-name,  li.viewall a {
  display: block;
  margin-bottom: 0.25em;
  font-family: 'Julius Sans One', sans-serif;
  font-size: 1.2em;
  font-style: normal;
  text-transform: uppercase;
}


/* select a design */
.design-selection h3 {
  display: none;
}
.design-selection .designer-name {
  color: #616857;
  font-size: 0.9em;
  font-style: normal;
}

/* main footer */
footer {
  width : 80%;
  clear: both;
  /*padding: 1em 10%;*/
  padding: 1em ;
  color: #fff;
  background: #134347;
  text-align: center;
  margin-top :1em;
}
footer a {
  display: inline-block;
  overflow: hidden;
  width: 40px;
  height: 40px;
  padding: 40px 0 0 0;
  margin: 0 0.5em;
  position: relative;
  color: rgba(255, 255, 255, 0.5);
  -webkit-transition: color 0.25s ease-out, box-shadow 0.25s ease-out;
  -moz-transition: color 0.25s ease-out, box-shadow 0.25s ease-out;
  transition: color 0.25s ease-out, box-shadow 0.25s ease-out;
}
footer a:hover, footer a:focus {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
footer a:visited {
  color: rgba(255, 255, 255, 0.2);
}
footer a::before {
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  overflow: visible;
  font-size: 36px;
  text-indent: 0;

  /* icomoon.io defaults */
  font-family: 'verdemoderna';
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* low-res CSS */
@media only screen and (max-width: 600px) {

  /* these download links make approximately zero sense
     on a phone without a user-accessible file system. */

  /* type adjustments */
  h1 {
    margin-top: 30px;
    font-size: 2.5em;
  }
  h1::before {
    width: 50px;
    height: 50px;
  }
  h2::before {
    padding: 25px;
  }

  .requirements p:last-child {
    padding: 1em 6%;
  }

}


@media only screen and (max-width: 500px) {

  header {
    height: 150px;
    padding-top: 0;
  }
  h1 {
    margin: 0;
  }
  h1::before {
    display: block;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: 0 0 0 -25px;
    padding: 0 0 35px 0;
  }
  h2::before {
    padding: 0;
  }

 .design-selection li, .zen-resources li {
    padding: 1em 5%;
  }

  footer a {
    margin: 0 0.5em;
  }

}

/* extra padding at the cutoffs */
div.participation {
  width: 80%;
  background-attachment: scroll, scroll, fixed;
  background-color: #fff;
  background-image: url(contours-opaque.png), url(gridlines-opaque.png), url(bamboo.png);
  background-repeat: repeat, repeat, no-repeat;
  background-size: auto, auto, cover;
  padding: 1em 0;
  margin-top: 1em;
}


div.participation p {
  margin-bottom: 0;
}

.participation h3, .participation p {
 width: 100%;
}
/* sidebar base styles */
.sidebar {
  background: #edf4f0;
}
.sidebar h3 {
  display: none;
}
.sidebar a {
  color: #607476;
  text-decoration: none;
}
  .sidebar a:hover, .sidebar a:focus {
    color: #49968e;
  }
.sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
}


@media only screen and (max-width: 320px) {

    /* adjusting the site header type size */
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.3em;
    }

    /* linearizing the design list on small screens */
    .design-selection li {
        float: none;
        width: 100%;
    }

    footer {
        padding: 2em 5%;
    }
    footer a {
        width: 35px;
        height: 35px;
        padding: 35px 0 0 0;
        margin: 0 0.5em;
    }
    footer a::before {
        font-size: 32px;
    }

}


/* mid-res CSS */
@media only screen and (max-width: 1132px) {
  header {
    border-top: solid 10px rgba(19, 67, 71, 0.9);
  }
  p, li {
    font-size: 1.2em;
  }
}

@media only screen and (min-width: 500px) and (max-width: 1150px) {

  /* page footer */
  footer {
    padding: 3em 0;
  }
  footer a {
    width: 52px;
    height: 52px;
    padding: 52px 0 0 0;
    margin: 0 2em;
  }
  footer a::before {
    font-size: 48px;
  }

}


/* high-res CSS */
@media only screen and (min-width: 1132px) {
  body {
    background: #ffffff;
    background: -moz-linear-gradient(left,  #ffffff 0%, #ffffff 80%, #e5ede8 80%, #e5ede8 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(80%,#ffffff), color-stop(80%,#e5ede8), color-stop(100%,#e5ede8));
    background: -webkit-linear-gradient(left,  #ffffff 0%,#ffffff 80%,#e5ede8 80%,#e5ede8 100%);
    background: -o-linear-gradient(left,  #ffffff 0%,#ffffff 80%,#e5ede8 80%,#e5ede8 100%);
    background: -ms-linear-gradient(left,  #ffffff 0%,#ffffff 80%,#e5ede8 80%,#e5ede8 100%);
    background: linear-gradient(to right,  #ffffff 0%,#ffffff 80,#e5ede8 80%,#e5ede8 100%);
    font-size: 100%;
  }
  header {
    width: 100%;
    height: 150px;
    padding: 0 10%;
    border-top: solid 12px rgba(19, 67, 71, 0.8);
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.3);
    vertical-align: middle;
    text-align: left;

  }

  header::before, header::after {
    display: block;
    content: " ";
    position: absolute;
    z-index: 3;
    top: 9px;
    left: 0;
    width: 100%;
    height: 7px;
    background: rgba(0, 39, 43, 0.2);
  }

  h1 {
    display: inline-block;
    position: relative;
    margin: 15px 0 0 0;
    padding: 5px 0 5px 0;
  }
  h1::before {
    display: inline-block;
    position: relative;
    top: 65px;
    content: "";
    width: 125px;
    height: 125px;
    margin: -65px 40px 0 0;
    background: url(enso.svg);
    background-size: 100%;
    opacity: 0.6;

    -webkit-animation: koan 36000s infinite alternate;
    -moz-animation: koan 36000s infinite alternate;
    animation: koan 36000s infinite alternate;
  }
  h2 {
    display: block;
    margin: 0;
    padding: 5px 0 60px 70px;
  }
  p {
    font-size: 1em;
  }

  /* sidebar styling */
  .design-selection {
    position: absolute;
    top: 150px;
    right: 0;
    width: 20.3%;
    padding: 0 0 20px 0;
    margin: 0;
    overflow: visible;
    background: transparent;
  }
  .sidebar li {
    float: none;
    width: auto;
    padding-left: 0;
    padding-right: 0;
    margin: 0 29.4% 0 14.7%; /* 0 10% 0 5% of total width */
  }


  /* select a design */
  .design-selection li:first-child {
    border-top: 0;
  }
  .design-selection li:hover, .design-selection li:focus {
    background: none;
  }


  .participation h3, .participation p {
    width: 100%;
  }

  /* coloured cutoff */
  div.participation  {
    width: 80%;
    padding-left: 10%;
    padding-right: 10%;
    margin: 0;
    background : #fff;
  }
  /* extra padding at the cutoffs */
  div.participation  {
    padding-top: 1em;
  }
}

@media only screen and (min-width: 1150px) {
  /* page footer */
  footer a {
    width: 76px;
    height: 20px;
    padding: 5px 0 0 0;
    margin: 0 3em;
  }
  footer a::before {
    font-size: 72px;
  }
  #media {

      background-image:url('imatge/img_pour_titre.jpg');
      background-repeat: no-repeat;
      background-position: right 35% bottom 80%;
      z-index: -1;
  }

  #literatura {

      background-image:url('imatge/livre.jpg');
      background-repeat: no-repeat;
      background-position: right 35% bottom 60%;
      z-index: -1;
  }

  #musica {

      background-image:url('imatge/notes.jpg');
      background-repeat: no-repeat;
      background-position: right 35% bottom 30%;
      z-index: -1;
  }

  #ensenhaires {

      background-image:url('imatge/ecole2.jpg');
      background-repeat: no-repeat;
      background-position: right 35% bottom 10%;
      z-index: -1;
      padding-bottom :300px;
  }

  #divers {

      background-image:url('imatge/ordi.jpg');
      background-repeat: no-repeat;
      background-position: right 35% bottom 20%;
      z-index: -1;
  }

}

/* add perso */
  .a_gauche {
  display:block;
  float:left;
  margin-top :10px;
  padding-right:25px;
  vertical-align:middlep;
  }

  .a_droite {
  display:block;
  float:right;
  margin-top :10px;
  padding-left:25px;
  vertical-align:middle;
  }

  .raz {
  clear:both;
  }

  .francais {
     //color: #809b7e;
     font-style: italic;
  }

  .sous-titre {
    margin: 0 0 0 0;
    padding : 0 0 0 0;
    color: #2e484c;
    background: #fff;
    font-size: 3em;
    font-weight: normal;
    font-family: 'Gloria Hallelujah', sans-serif;
  }

.raz {
clear : both;
}
