body {
  width: 100%;
}
.wrapper-container {
  width: 100%;
  position: relative;
}
.header-label {
  background: #1f1f2c;
  position: relative;
  z-index: 5;
  color: #fff;
}
.header-label p {
  margin: 5px 0;
  font-size: 15px;
}
.header-label p a {
  color: #fff;
}
.header-label i {
  line-height: 25px;
  width: 25px;
  text-align: center;
  height: 25px;
  border-radius: 14px;
  background-color: #fff;
  margin-top: 2px;
  margin-left: 4px;
  color: #1f1f2c;
}
main {
  min-height: 400px;
}
.nav>li>a{
  padding: 10px 10px;
}
nav li a:hover {
  background-color: #004287 !important;
}
nav li a:focus {
  background-color: #004287 !important;
}
.nav .open a {
  background-color: RGBA(0, 66, 135, 0.84) !important;
}
.navbar {
  border-radius: 0px;
  min-height: 100px;
  margin-bottom: 0px;
}
.nav_back {
  background: #004d9e;
}
.nav-links {
  margin-top: 30px;
}
.nav-links a {
  color: #fff;
  font-weight: bold;
}
.navbar-toggle {
  margin-top: 25px;
  background-color: #fff;
}
.navbar-toggle .icon-bar {
  border: 1px solid #004d9e;
}
.navbar-right .dropdown-menu {
  right: auto;
  left: 0px;
}
.dropdown-menu {
  padding: 0px;
  background-color: transparent;
}
.dropdown-menu li a {
  color: #fff;
  padding: 20px 15px;
}
.dropdown-menu li a:hover {
  color: #549be1;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu >a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}
.dropdown-submenu >.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
  min-width: 200px;
}
.dropdown-submenu .pull-left {
  float: none;
}
.dropdown-submenu .pull-left .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}
.empty-container {
  padding: 70px;
}
.blue-back {
	background: #0b1b73;
	color: #fff;
}
.castells-container {
  font-size: 1.2em;
  padding: 30px 0px 80px;
  margin-top: 120px;
}
.castells-container h2 {
  font-weight: bold;
}
.castells-container p {
  min-height: 200px;
}
.castells-container a{
    color:#FFF !important;
  }
.separation-border {
  width: 40%;
  height: 10px;
  background: #c9e5e8;
  margin: 15px 0;
}
.img-casteller {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
}
.btn-castells {
  background-color: #0085c2;
  font-size: 1em;
}
.noticias-header h2,
.section-header h2 {
  margin-top: 5px;
  color: #004d9e;
  font-weight: bold;
}
.noticias-header {
  margin-top: 70px;
}
.section-header {
  margin-top: 30px;
}
.img-noticies-wrapper {
  height: 200px;
  overflow-y: hidden;
}
.title-noticies {
  height: 70px;
}
.text-noticies {
  height: 80px;
  overflow: hidden;
}
.noticies-icon {
  margin: 0 auto;
}
.noticias-blog .noticia-wrapper,
.noticias .noticia-wrapper {
  margin-bottom: 40px;
}
.noticias-blog .noticia-wrapper p,
.noticias .noticia-wrapper p {
  color: #616161;
  margin: 10px 0px;
  min-height: 30px;
}
.btn-mas {
  margin-top: 20px;
  background: #004d9e;
  color: #fff;
  font-weight: bold;
}
.btn-mas a {
  color: #fff;
}
.btn-mas i {
  font-size: 18px;
  margin-left: 5px;
}
.btn:hover {
  color: #003ba2;
}
.text-promo {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 30px;
}
.territori-buttons {
  margin-bottom: 30px;
  text-align: center;
}
.btn-territori {
  color: #808080;
  font-size: 1.3em;
  font-weight: bold;
  margin: 0 1%;
  min-width: 100px;
}
.btn-territori:hover,
.btn-territori background blue_cast,
.btn-territori color white,
.btn-territori.active {
  background: #004d9e;
  color: #fff;
}
#carousel-home .carousel-indicators {
  bottom: -40px;
}
#carousel-home .carousel-indicators li {
  background: #d1d1d1;
  border: 1px solid #f1f1f1;
}
#carousel-home .carousel-indicators li.active {
  background: #535353;
}
.carousel-caption {
  text-align: left;
  bottom: 0;
  padding-bottom: 15px;
}
.carousel-caption h3,
.carousel-caption h4 {
  text-shadow: 2px 2px #000;
}
.carousel-caption .btn {
  background: #0085c2;
  color: #fff;
}
.slider-home h3 {
  font-size: 40px;
}
.slider-home h4 {
  font-size: 24px;
}
.slider-home a {
  font-size: 20px;
}
#carousel-logos {
  background: #212123;
}
#carousel-logos .carousel-indicators {
  bottom: -50px;
}
#carousel-logos .carousel-indicators li {
  background: #d1d1d1;
  border: 1px solid #f1f1f1;
}
#carousel-logos .carousel-indicators li.active {
  background: #535353;
}
#carousel-logos .carousel-item {
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
}
#carousel-logos .carousel-item div {
  font-size: 0;
}
#carousel-logos .carousel-item div .logo {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: calc(100% / 8);
}
#carousel-logos .carousel-item div .logo img {
  width: 100%;
}
#carousel-logos .carousel-item div .logo .caption-logo {
  background: rgba(0,0,0,0.7);
  height: 100%;
  left: 0;
  padding: 10% 10%;
  position: absolute;
  opacity: 0;
  text-align: center;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100%;
}
#carousel-logos .carousel-item div .logo .caption-logo .titulo-accord {
  color: #004d9e;
}
#carousel-logos .carousel-item div .logo .caption-logo:hover {
  opacity: 1;
}
#carousel-logos .carousel-item div .logo .caption-logo p {
  color: #fff;
}
#carousel-logos .carousel-item div .logo .caption-logo p,
#carousel-logos .carousel-item div .logo .caption-logo a {
  font-size: 12px;
  line-height: 13px;
  margin: 0px;
}
.patrocinadors-section {
  margin-bottom: 80px;
  margin-top: 50px;
}
.patrocinadors-section h3 {
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}
.patrocinadors-section .patrocinadors {
  text-align: center;
}
#carousel-support .logo-support {
  text-align: center;
}
#carousel-support .carousel-control {
  background: transparent;
  color: #444;
}
#carousel-support .carousel-control .glyphicon-menu-left,
#carousel-support .carousel-control .glyphicon-menu-right {
  display: inline-block;
  font-size: 30px;
  height: 30px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  width: 30px;
  z-index: 5;
}
#carousel-support .carousel-control .glyphicon-menu-left {
  left: 50%;
  margin-left: -50px;
}
#carousel-support .carousel-control .glyphicon-menu-right {
  margin-right: -50px;
  right: 50%;
}
.btn_share .at-icon-wrapper {
  width: 30px;
  height: 30px;
}
.top-header-img .caption-header {
  position: absolute;
  bottom: 0px;
  padding-top: 10px;
  background-color: rgba(0,77,158,0.82);
}
.top-header-img .caption-header > div {
  display: inline-block;
  vertical-align: bottom;
}
.top-header-img .caption-header h1 {
  color: #fff;
  font-weight: bold;
}
.blog-container {
  width: 60%;
  margin-left: 10%;
}
.blog-container h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 5px;
}
#breadbrumb-header {
  text-align: right;
  font-size: 1.1em;
}
#breadbrumb-header ol {
  background: transparent;
  margin-top: 10px;
}
#breadbrumb-header ol a {
  color: #0085c2;
}
#breadbrumb-header ol .active {
  color: #fff;
}
#breadbrumb-header ol > li + li::before {
  color: #fff;
  content: ">\00a0";
}
#breadcrumb-header-2 {
  text-align: right;
  font-size: 1.1em;
}
#breadcrumb-header-2 ol {
  background: transparent;
}
#breadcrumb-header-2 ol a {
  color: #0085c2;
}
#breadcrumb-header-2 ol .active {
  color: #808080;
}
#breadcrumb-header-2 ol > li + li::before {
  color: #808080;
  content: ">\00a0";
}
.title-separator {
  height: 5px;
  width: 100px;
  background-color: #c9e5e8;
  margin-bottom: 20px;
}
.noticias-blog {
  margin-bottom: 100px;
}
.photo-post img {
  width: 100%;
}
#categoria {
  font-size: 1.2em;
  margin-top: 10px;
}
.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px;
  opacity: 0;
  color: #fff;
  cursor: pointer;
}
.overlay p {
  text-align: center;
  margin: 70px 0px;
}
.overlay:hover {
  opacity: 1;
}
.contacteu-container {
  margin-bottom: 40px;
}
.contacteu-dir iframe {
  margin-bottom: 20px;
}
.video-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  margin-top: 10px;
  position: relative;
}
.video-wrapper p {
  height: 40px;
}
.galeria {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}
.image-galery {
  height: 250px;
  width: auto;
}
.galeria-item {
  height: 250px;
  position: relative;
  display: inline-block;
  padding: 4px;
}
.galeria-item-videos {
  position: relative;
  width: calc(100% / 4);
  display: inline-block;
  padding: 4px;
}
.galeria-container {
  margin-top: 30px;
  min-height: 500px;
}
aside >div {
  margin-top: 30px;
}
.sidebar {
  width: 19%;
  display: inline-block;
  margin: 30px 0px;
  padding: 0px 15px;
}
.search-form {
  margin-bottom: 20px;
}
.input-search {
  float: left;
  width: 80%;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  padding: 5px;
  border-right: none;
}
#search-submit {
  float: left;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  padding: 5px;
  border-left: none;
}
.sidenav {
  margin-top: 80px;
  margin-bottom: 40px;
}
.sidenav h5 {
  font-weight: bold;
  font-size: 1.1em;
}
.sidenav ul {
  list-style: none;
  padding: 0;
}
.sidenav ul li {
  padding: 5px 0;
  font-size: 1.1em;
}
.sidenav ul li a {
  color: #000;
}
.sidenav ul span {
  margin-right: 5px;
}
.social {
  padding: 40px 0;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}
.social-buttongroup {
  padding: 15px 0 !important;
}
.social-buttongroup .social-button {
  border: 0;
  padding: 5px 15px;
  font-size: 11px;
  margin-left: 10px;
  color: #fff;
}
.social-buttongroup .social-button.fb-btn {
  background: #3a5898;
}
.social-buttongroup .social-button.tw-btn {
  background: #00aced;
}
.social-buttongroup .social-button.g-btn {
  background: #c04934;
}
.social-header-link {
  float: right;
}
.segueix-nos h5 {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.1em;
}
.segueix-nos .social {
  border: 0 !important;
}
.segueix-nos .social i {
  background-color: #7d7c80;
  border-radius: 50%;
  color: #fff;
  height: 25px;
  line-height: 25px;
  margin-left: 4px;
  margin-top: 2px;
  text-align: center;
  width: 25px;
}
.footer {
  background: #212636;
  color: #fff;
  padding: 40px 0px;
}
.footer h4 {
  font-weight: bold;
  margin-bottom: 20px;
}
.footer a {
  color: #fff;
}
.icon-cont {
  margin-right: 10px;
}
.icon-cont span {
  font-size: 22px;
  color: #004d9e;
}
.icons-wrapper {
  margin: 10px 0;
}
.form-footer {
button
  background: #0085c2;
}
.form-footer .form-control {
  margin: 10px 0px;
  background-color: #212636 !important;
  border-radius: 0px;
  color: #fff;
}
.footer-label {
  background: #191e2b;
  text-align: center;
  padding-top: 20px;
}
.footer-label p {
  color: #fff;
  text-align: center;
}
.footer-label p a {
  color: #fff;
}
.no-padding {
  padding: 0;
}
.posts-section {
  margin-bottom: 30px;
  text-align: justify;
}
.row-post {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #004d9e;
}
.row-post:last-of-type {
  border-bottom: 0px;
}
.post-container img {
  padding-right: 20px;
  padding-bottom: 10px;
}
.post-container p {
  font-size: 1.1em;
  text-align: justify;
}
.section-title {
  font-size: 1.5em;
  font-weight: bold;
}
.post-title {
  color: #004d9e;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
}
.post-title a:hover {
  color: #00a3b5;
  text-decoration: none;
}
.center-img {
  width: 100%;
  margin: 0 auto 10px;
}
.padding-div {
  padding-top: 10px;
  padding-bottom: 10px;
}
.colle p {
  padding-top: 40px;
}
.espais-text p {
  min-height: 180px;
}
.espais-text .info-btn {
  font-weight: bold;
}
.junta-row {
  padding-top: 20px;
  padding-bottom: 20px;
}
.junta-row .member-wrap {
  min-height: 450px;
}
@media screen and (max-width: 360px) {
  .button-group button {
    padding: 10px 10px;
    margin: 10px 5px;
  }
  .castells-container {
    text-align: center;
  }
  .castells-container p {
    min-height: 115px;
  }
  .separation-border {
    width: 100%;
  }
  .img-casteller {
    display: none;
  }
  #carousel-logos .carousel-inner .item div .logo {
    width: calc(100% / 2);
  }
  footer h4 {
    text-align: center;
  }
  .text-espais p {
    margin-top: 20px;
  }
}
@media screen and (max-width: 768px) {
  #carousel-logos .carousel-item {
    height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  #carousel-logos .carousel-item div .logo {
    width: calc(100% / 2);
  }
  .img-casteller {
    width: 20%;
  }
  .social-header-link {
    float: none;
  }
  .social-header {
    margin: 10px 0px;
  }
  .header-address {
    text-align: center;
  }
  .social-header-link {
    float: none;
  }
  .social-header {
    margin: 10px 0px;
  }
  .header-address {
    text-align: center;
  }
  .img-casteller {
    width: 65%;
    transform: translateX(-25%);
  }
  .castells-container {
    margin-top: 0px;
  }
  .espais-text p {
    min-height: 100px;
    text-align: justify;
  }
  .noticia-wrapper {
    margin-bottom: 20px;
  }
  .descripcion-principal {
    margin: 10px 30px;
  }
  .btn-mas {
    margin: 10px 30px;
  }
  #breadbrumb-header ol {
    margin: 0px;
  }
  .top-header-img .caption-header h1 {
    margin: 0px;
    font-size: 2em;
  }
}
@media screen and (max-width: 800px) {
  #carousel-home {
    display: none !important;
  }
}
@media (min-width: 1024px) and (max-width: 1190px) {
  .img-casteller {
    width: 31%;
  }
}
@media (max-width: 1200px) {
  .navbar-header {
    float: none;
  }
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collapse.in {
    display: block !important;
  }
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .dropdown-submenu li a {
    padding-left: 30px;
  }
}
@media screen and (min-width: 1400px) {
  .img-casteller {
    width: 17%;
  }
}
@media screen and (min-width: 1900px) {
  .img-casteller {
    width: 15%;
  }
}
