/*
Theme Name:El Pla del Penedès
Version:1.0
License:GNU General Public License v2 or later
License URI:http://www.gnu.org/licenses/gpl-2.0.html
*/

/* SANITIZE 8.0.0
******************************************************************************************/
*,
::after,
::before {
  background-repeat: no-repeat;
  box-sizing: border-box;
}
::after,
::before {
  text-decoration: inherit;
  vertical-align: inherit;
}
html {
  cursor: default;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.15;
  -moz-tab-size: 4;
  tab-size: 4;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  word-break: break-word;
}
body {
  margin: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  height: 0;
  overflow: visible;
}
main {
  display: block;
}
nav ol,
nav ul {
  list-style: none;
}
pre {
  font-family: Menlo, Consolas, Roboto Mono, Ubuntu Monospace, Noto Mono,
    Oxygen Mono, Liberation Mono, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: Menlo, Consolas, Roboto Mono, Ubuntu Monospace, Noto Mono,
    Oxygen Mono, Liberation Mono, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}
::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
audio,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img {
  border-style: none;
}
svg:not([fill]) {
  fill: currentColor;
}
svg:not(:root) {
  overflow: hidden;
}
table {
  border-collapse: collapse;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button,
input,
select {
  margin: 0;
}
button {
  overflow: visible;
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
input {
  overflow: visible;
}
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  white-space: normal;
}
progress {
  display: inline-block;
  vertical-align: baseline;
}
select {
  text-transform: none;
}
textarea {
  margin: 0;
  overflow: auto;
  resize: vertical;
}
[type="checkbox"],
[type="radio"] {
  padding: 0;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
:-moz-focusring {
  outline: 1px dotted ButtonText;
}
details {
  display: block;
}
dialog {
  background-color: #fff;
  border: solid;
  color: #000;
  display: block;
  height: -moz-fit-content;
  height: -webkit-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
}
dialog:not([open]) {
  display: none;
}
summary {
  display: list-item;
}
canvas {
  display: inline-block;
}
template {
  display: none;
}
[tabindex],
a,
area,
button,
input,
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
[hidden] {
  display: none;
}
[aria-busy="true"] {
  cursor: progress;
}
[aria-controls] {
  cursor: pointer;
}
[aria-disabled="true"],
[disabled] {
  cursor: not-allowed;
}
[aria-hidden="false"][hidden]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  display: inherit;
  position: absolute;
}

/* GRID
******************************************************************************************/
.container,
.container-fluid {
  padding: 0 1rem;
  margin: 0 auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}
.row > * {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding: 0 1rem;
}
.row-sm {
  margin: 0 -0.5rem;
}
.row-sm > * {
  padding: 0 0.5rem;
}
.row-lg {
  margin: 0 -2rem;
}
.row-lg > * {
  padding: 0 2rem;
}
.no-gutters {
  margin: 0;
}
.no-gutters > * {
  padding: 0;
}
.col-1 {
  flex: 0 0 8.333333%;
}
.col-2 {
  flex: 0 0 16.666667%;
}
.col-3 {
  flex: 0 0 25%;
}
.col-4 {
  flex: 0 0 33.333333%;
}
.col-5 {
  flex: 0 0 41.666667%;
}
.col-6 {
  flex: 0 0 50%;
}
.col-7 {
  flex: 0 0 58.333333%;
}
.col-8 {
  flex: 0 0 66.666667%;
}
.col-9 {
  flex: 0 0 75%;
}
.col-10 {
  flex: 0 0 83.333333%;
}
.col-11 {
  flex: 0 0 91.666667%;
}
.col-12 {
  flex: 0 0 100%;
}
@media (min-width: 568px) {
  .container {
    max-width: 30rem;
  }
  .col-sm-1 {
    flex: 0 0 8.333333%;
  }
  .col-sm-2 {
    flex: 0 0 16.666667%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.333333%;
  }
  .col-sm-5 {
    flex: 0 0 41.666667%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
  }
  .col-sm-7 {
    flex: 0 0 58.333333%;
  }
  .col-sm-8 {
    flex: 0 0 66.666667%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
  }
  .col-sm-10 {
    flex: 0 0 83.333333%;
  }
  .col-sm-11 {
    flex: 0 0 91.666667%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 45rem;
  }
  .col-md-1 {
    flex: 0 0 8.333333%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 60rem;
  }
  .col-lg-1 {
    flex: 0 0 8.333333%;
  }
  .col-lg-2 {
    flex: 0 0 16.666667%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.333333%;
  }
  .col-lg-5 {
    flex: 0 0 41.666667%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.333333%;
  }
  .col-lg-8 {
    flex: 0 0 66.666667%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.333333%;
  }
  .col-lg-11 {
    flex: 0 0 91.666667%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 72rem;
  }
  .col-xl-1 {
    flex: 0 0 8.333333%;
  }
  .col-xl-2 {
    flex: 0 0 16.666667%;
  }
  .col-xl-3 {
    flex: 0 0 25%;
  }
  .col-xl-4 {
    flex: 0 0 33.333333%;
  }
  .col-xl-5 {
    flex: 0 0 41.666667%;
  }
  .col-xl-6 {
    flex: 0 0 50%;
  }
  .col-xl-7 {
    flex: 0 0 58.333333%;
  }
  .col-xl-8 {
    flex: 0 0 66.666667%;
  }
  .col-xl-9 {
    flex: 0 0 75%;
  }
  .col-xl-10 {
    flex: 0 0 83.333333%;
  }
  .col-xl-11 {
    flex: 0 0 91.666667%;
  }
  .col-xl-12 {
    flex: 0 0 100%;
  }
}

/* FONTS
******************************************************************************************/
@font-face {
  font-family: "Graphik";
  src: url(fonts/Graphik-Regular.woff) format("woff");
  font-weight: 400;
}
@font-face {
  font-family: "Graphik";
  src: url(fonts/Graphik-Bold.woff) format("woff");
  font-weight: 600;
}
@font-face {
  font-family: "Luna";
  src: url(fonts/Luna.woff) format("woff");
  font-weight: 600;
}

/* GLOBAL
******************************************************************************************/
html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.5;
  font-family: "Graphik";
  color: #333;
}
p,
ul,
ol {
  margin: 0 0 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin: 0 0 1rem;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
}
a,
.btn {
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s,
    transform 0.3s;
}
a {
  color: inherit;
  text-decoration: inherit;
}

/* CLASS
******************************************************************************************/
.btn {
  color: #fff;
  background: #46b9b5;
  font-weight: 600;
  font-size: 1rem;
  padding: 0 1rem;
  border: 0;
  cursor: pointer;
  text-align: center;
  height: 4rem;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(0, 0, 0);
  width: 100%;
  border-radius: 4px;
}
.btn:hover {
  transform: translate3d(0, 0, 0) scale(0.9);
}
.btn-red {
  background: #ecc000;
}
.btn-green {
  background: #a6c058;
}
.btn-pink {
  background: #0176bd;
}
.btn-orange {
  background: #0176bd;
}
.loading .btn {
  cursor: default;
  color: transparent;
  background: #46b9b5 center no-repeat url(img/loading.svg);
  background-size: auto 50%;
}
.alert {
  display: none;
  text-align: center;
  padding: 1rem;
  border-radius: 2px;
}
.alert-success {
  display: block;
  color: green;
  background: rgba(0, 128, 0, 0.1);
}
.alert-danger {
  display: block;
  color: red;
  background: rgba(255, 0, 0, 0.1);
}
.container {
  padding: 0 2rem;
  margin: 0 auto;
}
@media (min-width: 32rem) {
  .container {
    max-width: 32rem;
  }
}
@media (min-width: 48rem) {
  .container {
    max-width: 48rem;
  }
  .btn {
    font-size: 1.25rem;
  }
}
@media (min-width: 64rem) {
  .container {
    max-width: 64rem;
  }
}
@media (min-width: 80rem) {
  .container {
    max-width: 80rem;
  }
}

/* HEADER & FOOTER
******************************************************************************************/
#header {
  text-align: center;
  padding: 1rem 0;
  background: #0176bd;
}
#footer {
  padding: 4rem 0 3rem;
  text-align: center;
  background: #666;
  color: #fff;
}
#footer a {
  text-decoration: underline;
}
#page {
  padding: 5rem 0 4rem;
}
#page .container {
  max-width: 63rem;
}

/* HOME
******************************************************************************************/
.section1 {
  background: #0176bd;
  padding: 2rem 0;
  color: #fff;
  position: relative;
}
.section1 h2 {
  color: #fcee21;
  line-height: normal;
}
.section1 h4 {
  color: #33313d;
}
.section1 h3 {
  font-family: "Luna";
  margin-bottom: 2rem;
}
.section1 .buttons {
  display: grid;
  grid-gap: 1rem;
}
.section2 {
  padding: 2rem 0 0;
  color: #fff;
}
.section2 .box {
  padding: 2rem 2rem 8rem;
  position: relative;
  margin: 0 -2rem 2rem;
}
.section2 .box::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  bottom: -1px;
  width: 10rem;
  pointer-events: none;
  background: right bottom no-repeat;
}
.section2 .box:nth-child(1) {
  background: #0176bd;
}
.section2 .box:nth-child(2) {
  background: #0176bd;
}
.section2 .box:nth-child(3) {
  background: #0176bd;
}
.section2 .box:nth-child(4) {
  background: #0176bd;
}
.section2 .box:nth-child(1)::after {
  background-image: url(img/fase1.svg);
}
.section2 .box:nth-child(2)::after {
  background-image: url(img/fase2.svg);
}
.section2 .box:nth-child(3)::after {
  background-image: url(img/fase3.svg);
}
.section2 .box:nth-child(4)::after {
  background-image: url(img/fase4.svg);
}
.section2 .box:nth-child(4) p {
  margin: 0;
}
.section2 .btn {
  max-width: 16rem;
}
.section2 a:not(.btn) {
  text-decoration: underline;
}
.section3 {
  background: #ecc000;
  padding: 3rem 0 2rem;
}
.section3 h2 {
  text-align: center;
  font-family: "Luna";
  margin-bottom: 2rem;
}
.section3 h5 {
  margin: 0;
}
.section3 .links {
  display: grid;
  grid-gap: 1rem;
}
.section4 {
  padding: 2rem 0;
}
.section4 h3 {
  color: #0176bd;
  text-align: center;
}
.section4 .req {
  margin-bottom: 2rem;
}
.section4 .dashed {
  border: 1px dashed #0176bd;
  padding: 2rem 2rem 1rem;
}
.section4 .dashed h3 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section4 .dashed h3 i {
  width: 3.5rem;
  height: 3.5rem;
  background: url(img/info.svg) center no-repeat;
  margin-right: 1rem;
}
.section5 {
  background: #f2f2f2;
  padding: 5rem 0;
}
.section5 h2 {
  text-align: center;
  font-family: "Luna";
  font-size: 2rem;
  margin-bottom: 2rem;
}
.section5 a {
  color: #0176bd;
  text-decoration: underline;
}
.section5 .field {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
}
.section5 label {
  white-space: nowrap;
  font-weight: 600;
  margin-right: 0.25rem;
}
.section5 .field input {
  border: 0;
  background: transparent;
  outline: none;
  border-bottom: 1px solid #999;
  width: 100%;
}
.section5 textarea {
  background: transparent;
  outline: none;
  border: 1px solid #999;
  width: 100%;
  padding: 1rem;
  margin: 1rem 0;
}
.section5 .submit {
  display: grid;
  grid-gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 32rem) {
  .section2 .box {
    margin: 0 auto 2rem;
  }
}
@media (min-width: 48rem) {
  .section1 {
    padding-bottom: 5rem;
  }
  .section1 h2 {
    font-size: 2.5rem;
    max-width: 28rem;
  }
  .section1 h3 {
    font-size: 2rem;
  }
  .section1 h4 {
    margin: 3rem 0 2rem;
  }
  .section1 .buttons {
    grid-template-columns: 1fr 1fr;
  }
  .section2 {
    padding: 5rem 0 3rem;
  }
  .section2 .box {
    padding: 4rem 6rem 3rem 6.5rem;
    min-height: 24rem;
    font-size: 1.25rem;
    max-width: 63rem;
  }
  .section2 .box::after {
    width: 14rem;
  }
  .section2 .box h3 {
    position: relative;
  }
  .section2 .box h3::after {
    content: "";
    position: absolute;
    left: -3rem;
    width: 2rem;
    height: 2rem;
    background: url(img/arrow.svg) center no-repeat;
  }
  .section2 .box p {
    max-width: 48rem;
  }
  .section3 {
    padding: 6rem 0 5rem;
    font-size: 1.25rem;
  }
  .section3 .container {
    max-width: 54rem;
  }
  .section4 h3 {
    margin-bottom: 2rem;
  }
  .section3 h5 {
    margin-top: 3rem;
    position: relative;
  }
  .section3 .links {
    grid-gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
  }
  .section4 {
    padding: 5rem 0;
    font-size: 1.25rem;
  }
  .section4 .req {
    margin: 0 auto 4rem;
  }
  .section4 .dashed {
    padding: 3rem;
  }
  .section4 .box {
    padding: 3rem 3rem 2rem;
    background: #ecc000;
  }
  .section5 .txt {
    font-size: 1.25rem;
    max-width: 63rem;
    margin: 0 auto 3rem;
  }
  .section5 form {
    margin: 0 auto;
    max-width: 50rem;
  }
  .section5 .submit {
    grid-template-columns: 2fr 1fr;
    grid-gap: 0;
    align-items: center;
  }
}
@media (min-width: 64rem) {
  .section1 .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .section1 .image {
    background: url(img/people.png) center no-repeat;
    background-size: contain;
  }
  .section1 .down {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    width: 2rem;
    margin-left: -1rem;
    height: 1rem;
    background: url(img/down.svg) center no-repeat;
    cursor: pointer;
    transition: 0.3s;
    transform: translate3d(0, 0, 0);
  }
  .section1 .down:hover {
    transform: translate3d(0, 0.5rem, 0);
  }
  .section1 p {
    max-width: 32rem;
  }
  .section1 h4 {
    max-width: 21rem;
  }
  .section3 {
    position: relative;
    padding: 8rem 0 10rem;
  }
  .section3::before {
    content: "";
    position: absolute;
    border-bottom: 8rem solid transparent;
    border-right: 99vw solid #fff;
    top: 0;
  }
  .section3::after {
    content: "";
    position: absolute;
    border-top: 8rem solid transparent;
    border-right: 99vw solid #fff;
    bottom: 0;
  }
  .section3 h5::after {
    content: "";
    position: absolute;
    left: -3rem;
    width: 2rem;
    height: 2rem;
    background: url(img/arrow2.svg) center no-repeat;
    top: -0.25rem;
  }
  .section4 {
    padding-top: 3rem;
  }
  .section4 .req {
    max-width: 37rem;
  }
  .section4 .dashed {
    padding: 4rem 6.5rem;
    max-width: 63rem;
    margin: 0 auto;
  }
  .section5 .submit {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .section5 .submit .btn {
    max-width: 12rem;
    margin: 0 auto;
    display: block;
  }
}

.section1-vote {
  background-color: #0176bd;
  text-align: center;
}
.section1-vote img {
  width: 20rem;
  padding: 1rem 0;
}
#voting h6 {
  color: #666;
}
#voting p {
  color: #333;
}
#voting span {
  color: #0176bd;
}
.box-voting {
  background-color: #eee;
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0;
}
.box-voting p {
  min-height: 10rem;
}
.box-voting .checkbox {
  float: right;
}
.form-control {
  -webkit-appearance: none;
  background: #fff;
  border: 0;
  border-radius: 2px;
  width: 100%;
  outline: none;
  padding: 1rem;
}
