:root {
  --color-main: coral;
  --color-main-light: LightCoral;
  
  --color-monza: tomato;
  --color-red-ribbon: darkorange;
  --color-torch-red: orangered;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

nav {
  border-bottom: 8px solid var(--color-main);
}

nav a {
  font-weight: 600;
}

nav.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

nav.navbar .container-fluid {
  align-items: stretch;
}

.navbar-toggler {
  border: 0;
} 

span.navbar-brand {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 20px;
  padding-top: 15px;
  padding-bottom: 6px;

  display: flex;
  gap: 15px;
}

span.navbar-brand a.logo {
  display: inline-block;
    margin-top: -4px;
}

span.navbar-brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 300;
}

.navbar-collapse {
  justify-content: flex-end;
}

ul.navbar-nav,
ul.navbar-nav li.nav-item,
ul.navbar-nav li.nav-item a.nav-link
{
  min-height: 100%;
}

.navbar-nav a.nav-link {
  display: block;
  padding-left: 20px !important;
  padding-right: 20px !important;
  line-height: 52px;
  -webkit-transform: skew(-18deg);
  -ms-transform: skew(-18deg);
  transform: skew(-18deg);
}

.nav-item a.nav-link span {
  display: inline-block;
  -webkit-transform: skew(18deg);
  -ms-transform: skew(18deg);
  transform: skew(18deg);
}

.navbar-nav a.nav-link:hover {
  background-color: var(--color-main-light);
  color: white;
}


.navbar-nav a.nav-link.active {
  background-color: var(--color-main);
  color: white;
  font-weight: 600;
}

.navbar-nav a.nav-link.active:hover {
  background-color: var(--color-main-light);
}

.jumbotron {
  position: relative;
  background-image: url("http://cmmollet.cat/marxa-nordica/images/01_marxa.jpg");
  background-size: cover;
  object-fit: cover;
  height: 500px;
  font-size: 14px;
  overflow: hidden;
}

.jumbotron:before {
  content: " ";
  position: absolute;
  height: 100%;
  width: 250px;
  top: 0;
  right: -80px;
  background-color: rgba(255,255,255,0.5);
  
  -webkit-transform: skew(-18deg);
  -ms-transform: skew(-18deg);
  transform: skew(-18deg);
}

.jumbotron .jumbotron__decoration:after {
  content: " ";
  position: absolute;
  height: 100%;
  width: 250px;
  top: 0;
  right: 0;
  
  /*
  background-image: url("http://cmmollet.cat/senders/images/separador.png");
  background-size: cover;
  */
  /* background-color: rgba(0,0,0,0.2); */
}

.jumbotron h1 {
  font-family: "Open Sans", Arial;
  padding-top: 40px;
  font-size: 28px;
  color: #fff;
  font-weight: 300;
  text-shadow: 2px 2px #000;
}

.jumbotron h1 strong {
  font-weight: 600;
  font-size: 42px;
}

.jumbotron p {
  color: #fff;
  font-weight: 400;
  text-shadow: 2px 2px #000;
}

.jumbotron .jumbotron__decoration > .container:after {
  position: absolute;
  content: "";
  width: 100%;
  left: -220px;
  bottom: 0px;
  height: 65px;
  
  background: var(--color-main);
  background: linear-gradient(90deg, var(--color-main) 0, var(--color-main-light));

  z-index: 0;
  
  -webkit-transform: skew(-18deg);
  -ms-transform: skew(-18deg);
  transform: skew(-18deg);
}

.jumbotron__content {
  position: absolute;
  left: 0;
  bottom: 0;
  
  color: white; 
  height: 60px;
  width: 100%;
  z-index: 99;
}
 

.jumbotron__content h2 {
  display: flex;
  gap: 20px;
  align-items: center;

  z-index: 99;
  font-size: 38px;
  font-weight: 300;
}

.jumbotron__content h2 i {
  display: inline-block;
  background: white;
  width: 15px;
  height: 20px;
  -webkit-transform: skew(-18deg);
  -ms-transform: skew(-18deg);
  transform: skew(-18deg);
}


.main {
  background-image: url("http://cmmollet.cat/senders/images/06_opacity.jpg");
  background-size: cover;
}

.main .content__text a {
  color: #282828;
  text-decoration: underline;
}

.main .content__text a:hover {
  text-decoration: none;
}

.content__text p {
  text-align: justify;
}


.main form {
  border: 1px solid #c0c0c0;
  background-color: white;
  padding: 15px;
}

.main form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.main form .field-group {
  margin-bottom: 15px;
}

.main form button.btn.btn-primary {

}



.accessos_directes {
  padding-top: 50px;
  text-align: center;
}

.accessos_directes .cartells {
  position: relative;
  display: inline-block;
  max-width: 350px;
}

.accessos_directes .cartells hr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0px;
  border-bottom: 0px;
}

.accessos_directes .cartells .pal1:before {
  position: absolute;
  content: " ";
  display: inline-block;
  width: 6px;
  height: 350px;
  top: -77px;
  left: calc(50% - 20px);
  background: orange;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  transform: rotate(345deg);
}

.accessos_directes .cartells .pal1:after {
  position: absolute;
  content: " ";
  display: inline-block;
  width: 11px;
  height: 47px;
  top: -72px;
  left: calc(50% - 62px);
  background: black;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  transform: rotate(345deg);
}

.accessos_directes .cartells .pal1-footer::after {
  position: absolute;
  content: " ";
  display: inline-block;
  width: 31px;
  height: 6px;
  top: 250px;
  left: calc(50% - -10px);
  background: black;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  transform: rotate(345deg);
}

.accessos_directes .cartells .pal2:before {
  position: absolute;
  content: " ";
  display: inline-block;
  width: 6px;
  height: 350px;
  top: -77px;
  left: calc(50% - -17px);
  background: orangered;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  transform: rotate(20deg);
}

.accessos_directes .cartells .pal2:after {
  position: absolute;
  content: " ";
  display: inline-block;
  width: 11px;
  height: 47px;
  top: -72px;
  left: calc(50% - -68px);
  background: black;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  transform: rotate(20deg);
}


.accessos_directes .cartells .pal2-footer::after {
  position: absolute;
  content: " ";
  display: inline-block;
  width: 31px;
  height: 6px;
  top: 250px;
  left: calc(50% - 50px);
  background: black;
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  transform: rotate(20deg);
}

.accessos_directes a {
  position: relative;
  width: 100%;
  display: inline-block;
  border: 1px solid #efefef;
  padding: 15px;
  margin-bottom: 15px;
  text-align: left;
  text-decoration: none;

  background: white;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  fill: var(--color-main);
}

.accessos_directes a:hover {
  background: var(--color-main);
  color: white;
}

.accessos_directes a > * {
  display: block;
}

.accessos_directes a span {
  font-weight: 700;
  text-transform: uppercase;
}

.accessos_directes a small {
  /* color: #282828; */
}

.accessos_directes a:after {
  position: absolute;
  content: "›";
  font-size: 101px;
  top: 22px;
  right: 10px;
  color: #BDA486;
  line-height: 0;
}

.accessos_directes a.down:after {
  position: absolute;
  content: "›";
  font-size: 101px;
  top: 31px;
  right: 10px;
  color: #BDA486;
  line-height: 0;
  transform: rotate(88deg);
}

.footer {
  background: var(--color-main);
  background: linear-gradient(90deg, var(--color-main) 0, var(--color-main-light));
  -webkit-filter: progid:dximagetransform.microsoft.gradient(startColorstr="#a60e2a",endColorstr="#e0092d",GradientType=1);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr="#a60e2a",endColorstr="#e0092d",GradientType=1);

  color: white;
  padding: 15px 0;

}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  text-decoration: none;
}


.footer .senders {
  font-weight: bold;
}

.footer .cmm {
  text-align: right;
}


/* media small */

  
@media (max-width: 576px) {

  .navbar-nav a.nav-link,
  .navbar-nav a.nav-link span {
    -webkit-transform: skew(0deg);
    -ms-transform: skew(0deg);
    transform: skew(0deg);
  }

  .jumbotron {
    max-height: 350px;
  }

  .jumbotron:before {
    content: none;
  }

  .jumbotron h1 {
    font-size: 26px;
  }

  .jumbotron h1 strong {
    text-transform: uppercase;
    letter-spacing: -1px;
  }

  .jumbotron .jumbotron__decoration:after {
    content: none;
  }

  .jumbotron .jumbotron__decoration > .container:after {
    left: 0;
    -webkit-transform: skew(0deg);
    -ms-transform: skew(0deg);
    transform: skew(0deg);
  }

  .jumbotron .jumbotron__decoration > .container:after,
  .jumbotron__content,
  .jumbotron__content h2 {
    height: 55px;
    line-height: 55px;
  }

  .jumbotron__content h2 {
    font-weight: 600;
    font-size: 18px;
  }

  .main__content.py-5 {
    padding-top: 1rem!important;
  }

  .accessos_directes .cartells {
    width: 100%;
    max-width: 100%;
  }
  .accessos_directes .cartells:before {
    content: none;
  }

  .footer .cmm {
    text-align: left;
    margin-top: 15px;
    border-top: 1px solid white;
    padding-top: 15px;
  }

} /* end media */
