﻿html{
  /*overflow-y: scroll;*/
  padding: 0;
}

html,
body {
  height: 100%;
  font-size: 1.03rem;
  font-family: 'Open Sans', sans-serif;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  scroll-behavior:smooth;
}

 /*  Expand margins lower res */

@media (max-width: 576px) {
 html, body {
 	 padding-left:0px;
 	 padding-right:0px;
}}

a {
  color: #343a40;
  font-weight: 800;
  text-decoration: underline;
}

a:hover {
  color:#fff;
  background-color:grey;
  text-decoration: none;
  /*
  padding-left:5px;
  padding-right:5px; */

}

a.titol {
    font-size: 1rem;
    color:#343a40;
}
                                                                                                 /*   homeDestacatTitlehomeDestacatTitle*/
a.current {
    /*text-transform: uppercase;*/
    font-size: 0.70rem;
    color:#ffffff;
    background-color: #383838;
    padding-right:8px;
    padding-left:8px;
    padding-bottom:7px;
    padding-top:1px;
}

/*------------------------------------------------------------ESDEVENIMENT FILTRES------------------------------------------*/

a.text-center {
    text-align: right!important;
    font-size: 0.8rem;
    padding-bottom:2px;
    padding-top:1px;
}

a.submenu_esq {
    text-transform: uppercase;
    font-size: 0.70rem;
}

#page-content {
  flex: 1 0 auto;
}

#sticky-footer {
  flex-shrink: none;
  padding-top: 4rem !important;
  padding-bottom: 5rem !important;
}

* {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 5px !important;
}

.wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

/* *********************** SEPARADOR PROGRAMA *********************** */

b {
    font-weight:lighter;
    font-size: 0.8rem;
    line-height: 43px;

}

/* *********************** font stuff *********************** */
@font-face {
  font-family: 'Cirka';
  src: url('fonts/Cirka-Light.eot');
  src: url('fonts/Cirka-Light.eot?#iefix') format('embedded-opentype'),
    url('fonts/Cirka-Light.woff2') format('woff2'),
    url('fonts/Cirka-Light.woff') format('woff'),
    url('fonts/Cirka-Light.ttf') format('truetype'),
    url('fonts/Cirka-Light.svg#Cirka-Light') format('svg');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Cirka';
  src: url('fonts/Cirka-Bold.eot');
  src: url('fonts/Cirka-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Cirka-Bold.woff2') format('woff2'),
    url('fonts/Cirka-Bold.woff') format('woff'),
    url('fonts/Cirka-Bold.ttf') format('truetype'),
    url('fonts/Cirka-Bold.svg#Cirka-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
}

/* *********************** EO font stuff *********************** */
.footer-item {
  white-space: nowrap;
  padding-left:5px;
  padding-right:5px;
}
/*
.footer-item:hover {
  color: #fff;
  background-color:grey;
  padding-left:5px;
  padding-right:5px;
}
*/
.ovni {
  font-size: 40px
}

/* *********************** navbar stuff *********************** */
.navbar {
  min-height: 75px;
}

.navbarHeight {
  height: 25px;
}

.navNarMenuItem {
  min-height: 2em;
}

.navbar-collapse {
  padding-bottom:3em;
}


.menuItem {
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 800
}

.sizelang {
 font-size: 0.7rem;
}
 

/* menu superior color cos inactiu */
.navNarMenuItem a {
    color: #383838 !important;
}

.navNarMenuItem a:link {
  color: #383838 !important;
}

.navNarMenuItem a:visited {
  color: #383838 !important;
}

.navNarMenuItem a:hover {
  color: #fff !important;
  background-color:grey;
  padding-right:5px;
  padding-left:5px;
}

.active {
    color:#ffffff;
    background-color: #383838;
}

/* menu superior color cos actiu */
.navNarMenuItem.active a {
  color: #ffffff !important;
}

.navNarMenuItem.active a:hover {
  color: #ffffff !important;
  background-color: transparent!important;
}

.navNarMenuItem:hover > .lk_svg {
  fill:#ffffff!important;
}

.lk_svg:hover > svg {
  fill: #fff!important;
  /*border:1px solid red;*/
}

.lk_svg {
  padding:0.3em;
}



/* *********************** EO navbar stuff *********************** */
/* *********************** jumbotron stuff *********************** */
.jumbotron {
  background: none
}

.jumbotronTitle {
  font-family: 'Cirka';
  font-size: 30px;
  line-height: 1rem;
  font-weight: bold;
}

/* *********************** EO jumbotron stuff *********************** */
/* *********************** black block header stuff *********************** */
.block-header {
  padding-top:30px;
  padding-bottom: 70px;
  background-color:white;
  color: black;
  font-size: 1.3rem;
}

.block-header-home {
  padding-top:10px;
  background-color:white;
  color: black;
  font-size: 1.3rem;
}

.block-header-title {
  margin-left: 0px;
  font-weight: 800;
  /*text-transform: uppercase;*/
  font-family: 'Cirka';
  /*font-family: 'Open Sans', sans-serif;*/
  font-size: 1.25rem;
}

.block-header-subtitle {
  display: none !important;
  margin-right: 30px;
  font-weight: 300;
  font-size: 0.8rem;
  color:rgb(255,255,255);
}

/* *********************** EO black block header stuff *********************** */
/* *********************** Archive Cards stuff *********************** */
/* remove rounding from cards, buttons and inputs */
.card, .btn, .form-control, .card-img-top {
  border-radius: 0;
}

/* .card {
  border-width: 0
} */
.card-body {
  height: 13em;
}

.card-body-autors {
  height: 7em;
}

.card-tag {
  color: #383838;
  font-size: 12px;
}

.card-title {
  margin-bottom: 0.1rem; /* espai sota titol llistat de cataleg */
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  color: #000000;
}

.mb-2, .my-2 {
  margin-bottom: 0rem !important; /* espai sota marca OVNI llistat de cataleg */
}

.card-author {
  font-size: 1rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.46;
  letter-spacing: normal;
  color: #606060;
  margin-bottom:0.3rem; /* espai entre titol i dades a llistat de cataleg */
}

.detail-block {
  position: absolute;
  bottom: 1.25rem
}

.card-details {
  font-size: 0.95rem;
  line-height: 1.36;
  margin-bottom: 0;
}

/*   Space below embed video-player */

.embed-responsive {
  padding-bottom:40px;	

}

/* *********************** EO Archive Cards stuff *********************** */
.news-title {;
  margin-top: .25rem;
  margin-bottom: .25rem;
  line-height: 1.15rem;
  font-size: 1.20rem;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.40rem;
  padding-bottom: 0.40rem;
  letter-spacing: normal;
  color: #fff;
}

.news-subtitle {
  margin-top: .25rem;
  margin-bottom: .45rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 0.25rem;
  /*text-transform: uppercase;*/
  line-height: 22px;
  color: #50db9c;
  font-size: 1rem;
}

.news-date {
  font-size: 1rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #fff;
  margin-top: .25rem;
  margin-bottom: .25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.nounderline {
  text-decoration: none !important
}

.videoText {
  font-weight: 300;
  font-size: 25px;
}



.eventsText {
  font-weight: 300;
  padding: 1em 1em 1.5em 1em;  /* padding projects ------ */
}

.eventsTitle {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
  padding-bottom: 2rem;
}

.eventsTitle a:hover {
  padding-left:0px;
  padding-right:0px;
}

.bg-light {
  background-color: #fff !important;
}

.footerSelected {
  color: #fff;
  background-color:black;
  padding-left:5px;
  padding-right:5px;
}

.current {
    /*border-bottom: 2px solid #50db9c;----------------------------------------------------------------------------------------underline currrent*/
}

.sel {
    color:#ffffff;
    background-color: #383838;
}

.crop-text-2 {
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}


@media (max-width: 576px){
  .archiveItem .card-body {
    border-right: none !important;
  }

  .archiveItem:nth-last-child(1) .card-body {
    border-bottom: none !important;
  }

  .collapseFilter {
    padding-right:0px!important;
  }

  .block-header-subtitle {
    margin-right:0;
    text-align:right;
  }


}

@media (max-width: 992px)  {
  .videoCol:not(:nth-child(3n)) {
    border-right: 1px solid;
  }

  .sideMenu {
    border-right: 1px solid;
  }
}

@media (min-width: 576px) and (max-width: 992px) {
  .archiveItem:nth-child(even) .card-body {
    border-right: none !important;
  }

  .archiveItem:nth-last-child(1) .card-body,
  .archiveItem:nth-last-child(2):not(:nth-child(2n)) .card-body {
    border-bottom: none !important;
  }

  .card-body-filter {
    border:0px solid green;
    padding:0;
    margin:0;
  }

  .collapseFilter {
    padding-right:0px!important;
  }



}

@media (min-width: 768px) {
  .event:nth-child(odd) .eventData {
    flex-direction: row-reverse;
  }

  .archiveItem:nth-child(4n) .card-body {
    border-right: none !important;
  }
}

@media (min-width: 992px){
  .archiveItem:nth-last-child(1) .card-body,
  .archiveItem:nth-last-child(2):not(:nth-child(4n)) .card-body,
  .archiveItem:nth-last-child(3):not(:nth-child(4n)):not(:nth-child(4n-1)) .card-body,
  .archiveItem:nth-last-child(4):not(:nth-child(4n)):not(:nth-child(4n-1)):not(:nth-child(4n-2)) .card-body {
    border-bottom: none !important;
  }

  .videoCol:nth-last-child(1) .videoField:nth-last-child(1) {
    border-bottom: none !important
  }



}

.eventImage {
  object-fit: none;
  object-position: center;
}


.greenSubtitle { /* Text link url home capcelera */
  color: #5e171e;
  font-size:1.2rem;
  text-decoration: underline;
  font-weight: 800;
}

.carousel-caption{
  left: 20px;
  right: 20px;
  padding-bottom: 0;
  pointer-events: none;
}

.carousel-indicators li {
    width: 50px;
    height: 10px;
    border-radius: 100%;
    background-color: #fff;    
}

.block {
  height: -webkit-calc(100vh - 220px);
  height: -moz-calc(100vh - 220px);
  /* height: calc(100vh - 95px); default */
  height: calc(100vh - 95px);
}

/* -----------------menu idiomas -------------------*/
.select-hidden {
  display: none;
  visibility: hidden;
}

.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  border-right: 0px solid; /*--------------------------------------------------------------------------------------- line language select*/
}

.select-styled {
  position: absolute;
  right: 0;
  bottom: 0px;
  left: 0;
  top:-1px;
  height: 30px !important;
  margin-left: -1px;
  margin-right: -1px;
  border: 1px transparent;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  color: #383838;
  font-size:0.8rem;
}

.select-styled:hover {
  background:grey;
  color:#fff;
}

.select-styled:after {
  width: 0;
  height: 0;
  position: absolute;
  top: 16px;
  right: 10px;
}

.select-styled:active, .select-styled.active {
  background-color: #000;
  color:#fff;
}

.select-options {
  display: none;
  position: absolute;
  top: 100%;
  top:30px;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  /*border-top: 1px solid;*/
}

.select-options:hover {
  /*background:transparent;*/
  color:#fff;
}

.select-options li {
  height: 30px !important;
  margin-left: -1px;
  margin-right: -1px;
/*  border-bottom: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;*/
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  color:#000;
  background: #fff;
  font-size:0.8rem;
}

.select-options li:hover {
  background:grey;
  color:#fff;
}

/*
.select-options li:first-child {
margin-top: 1px;
}

.select-options li:hover {
  background: #f0f0f0;
}

.select-options li[rel=hide] {
  display: none;
}
*/
.selectOptionLastVisible {
  /*border-bottom: 1px solid;*/
}

.activeLang {
  color:#000;
  background-color: #ffffff;
}

.activeLang:hover {
  background:grey;
  color:#fff;
}

.submenuHeight {
  min-height: 20px;
}

.submenuHeight a:hover {
  /*padding-right:2px;
  padding-left:2px;*/
}

.abcedari {
  color: #50db9c;
	font-size: 0.73rem;
	padding-left:0.7em;
	padding-right:0.7em;
	text-align:right;
}

.abcedari a:hover{
  padding-right:5px;
  padding-left:5px;
}

.abcedari .sel{
  padding-right:5px;
  padding-left:5px;
}


.pagination {
  padding:0;
	text-align:right;
}

.searchResults {
  list-style-type: none;
}

.searchResult {}

.titleBold {
  font-weight: 800;
  margin-bottom: 0
}

.card-header {
  background: #fff !important;
}

.card-body-filter {
  background: #ffffff !important;
  margin:0;
  padding:0;
  padding-right:3em;
}

[data-toggle="collapse"][aria-expanded="true"] > .js-rotate-if-collapsed
{
    -webkit-transform: rotate(90deg);
    -moz-transform:    rotate(90deg);
    -ms-transform:     rotate(90deg);
    -o-transform:      rotate(90deg);
    transform:         rotate(90deg);
}

.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}

/* generals */

.contingut a {
  color:black;
}

.contingut a:hover {
color: #fff;
  /*padding-right:5px;
  padding-left:5px;*/
}

#homeBlock a {
  color: #000;
  padding-right:5px;
  padding-left:5px;
}

#homeBlock a:hover {
  color: #fff;
  padding-right:5px;
  padding-left:5px;
}

h2 {
  font-weight: 800;
  font-size: 16px;
  margin-bottom:3.6em; /*----IMATGE PROJECTE---*/
   /* font-family: 'Cirka';*/
  font-family: 'Open Sans', sans-serif;
}

h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom:0.6em;
}

/* List line around */

.list-group-item {
 font-size:1rem;	
 border:none !important;
 padding-top:0.2rem;
 padding-bottom:0.2rem;
} 

.llista {
  list-style:none;
  margin:0;
  padding:0;
}

.llista li {
	border: none;
	font-size:1.03rem;
}


.llista li h4 {
	font-size:0.9rem;
}


.titol:hover {
  /*padding-right:5px;
  padding-left:5px;*/
}

.titol {
  color: #001158;
}

.titol_lk{
  color: #343a40;
  font-size:1rem;
  
}

.titol_lk:hover {
  font-size:1rem;
  color:#ffffff;
  background-color:grey;
  text-decoration: overline;
  padding-right:5px;
  padding-left:5px;
  text-decoration:none;
}

.autor:hover {
 /* padding-right:5px;
  padding-left:5px;*/
}

.projectes:hover {
  padding-right:5px;
  padding-left:5px;
}

.documents:hover {
  padding-right:5px;
  padding-left:5px;
}

.autor {
  color:#6c757d;
}

.autor_lk {
  color:#6c757d;
  font-size:1rem;  
}

.autor_lk:hover {
  font-size:1rem;	
  color:#ffffff;
  background-color:grey;
  text-decoration: overline;
  padding-left:0px;
  padding-right:0px;
  text-decoration:none;
}

.tag-lk {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  background-color: #ffffff;
  padding: 0.5em;
  padding-right:5px;
  padding-left:5px;
  color: #383838;
  text-transform: uppercase;
}

.tag-lk:hover {
  background-color:#383838;
  color:#ffffff;
  text-decoration: overline;
  padding-right:5px;
  padding-left:5px;
  text-decoration:none;
}


.texturl:hover {
  color:#ffffff!important;
  padding-left:5px;
  padding-right:5px;
}

.hora {
  color: #5b5e75;
  margin-top:1em;
}

/* colors

vermerll cc5325
blau 5b5e75
ocre a1915d
beix c5c9b3
salmo ffcdbd
groc fcc866
vefd 50db9c
*/



/* -----------------NOUS-------------------*/


svg {
    overflow: hidden;
    vertical-align: middle;
    fill: #383838;
}

svg:link {
  color: #fff !important;
}

svg:visited {
  color: #fff !important;
}

svg:hover {
    overflow: hidden;
    vertical-align: middle;
    fill: #ffffff;
    /*background-color:#00000;*/
    background-color:transparent!important;
}

/* Arrow go back*/
svg.bi.bi-chevron-left
{
	width: 22px;
    height: 22px;
    Display:none;
}


path {
    overflow: hidden;
    vertical-align: middle;
    fill: #383838;
}

path:link {
  color: #383838 !important;
}

path:visited {
  color: #383838 !important;
}

path:hover {
    overflow: hidden;
    vertical-align: middle;
}

span.step-links {
  font-size: 0.7rem;
}


.border {
    border: 0px solid #dee2e6!important
}

.border-top {
    border-top: 0px solid #dee2e6!important
}

.border-right {
    border-right: 0px solid #dee2e6!important
}

.border-bottom {
    border-bottom: 0px solid #dee2e6!important
}

.border-left {
    border-left: 0px solid #dee2e6!important
}

.border-dark {
    border-color: #fff!important;
}

.border-white {
    border-color: #fff!important
}

.homeTitle {
  font-size:1.3rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.homeSubTitle {
  font-size:1.3rem;
}

/* Mini extra title top of the boxes home*/

.homeDestacatTitle {
   display: none !important;	
  text-align: center;
  text-transform: uppercase;
  color: rgb(255,255,255);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.70rem;
  padding-bottom:30px;
  padding-left:0.5rem;
}

#home-dest>div {
margin-bottom:1em;
}

@media (max-width: 768px) {
#home-dest>div {
margin-bottom:0.1em;
}
}

.destacat-simple {
  min-height:100%!important;
  
}

.destacat-doble-big {
  min-height:160px;
  height:100%!important;
}

.destacat-doble-min {
  min-height:100%!important;
}

.destacat-triple-big {
  min-height:100%!important;
}

.destacat-triple-min {
  min-height:100%!important;
}



/* Thumbnails marge */

.card-img-top {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 97%;
    margin-bottom:5px; /* perfil inferior thumbnails catalog*/
   /* padding-bottom:5px;*/
}

/* home ample petit */

@media (max-width: 360px){
  .block {
    height:100%;
  }
  .carousel-caption {
    bottom:2px;
    left:2px;
    padding:0;
    margin-bottom:0px !important;
  }

  .destacat-triple-minwin {
      height:100%;
      min-height:120px;
      border:1px solid blue;
  }

}

.lk_svg:hover svg>path {
  fill:#ffffff;
}


.contingut {
 padding-bottom:0px;

}

/* -------------------------- Carrousel text -----------------------------------------*/


.carousel-title {
  font-family: 'Cirka';	
  margin-top: .25rem;
  margin-bottom: .25rem;
  line-height: 1.15rem;
  font-size: 1.17rem;
  font-weight: 800;
  font-stretch: normal;
  font-style: bold;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: .5rem;
  padding-bottom: 0.50rem;
  letter-spacing: normal;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px #000000;
}

.carousel-subtitle {
  font-family: 'Cirka';
  margin-top: .25rem;
  margin-bottom: .45rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 2.25rem;
  line-height: 1.15rem;
  color: #50db9c;
  font-style: bold;
  font-size: 1.3rem;
  text-shadow: 2px 2px 4px #000000;
}

.carousel-caption {
  margin-bottom: 30px;
}

.carousel-inner {
  height: 100% !important;
}

#carousel-main {
  scroll-snap-align: start;
}

#snapContainer {
  flex: none;
  scroll-snap-type: y mandatory;
  overflow: scroll;
  height: auto;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
}

#homeBlock {
  scroll-snap-align: end;
}


/* -------------------------- Responsive text -----------------------------------------*/


/* Small devices (landscape phones, 576px and up) */

/*@media (min-width: 576px) {  */

@media (min-width: 920px) {
  .news-title {
    font-family: 'Cirka';
  	font-size: calc(0.5rem + 1vw);
    line-height: 1.6rem;
  }

  .news-subtitle {
    font-family: 'Cirka';
  	font-size: calc(0.3rem + .8vw);
    line-height: calc(1.25rem + .8vw);
  }

  .news-date {
    font-size: calc(.1rem + 1vw);
  }

  .carousel-title {
    font-family: 'Cirka';
  	font-size: calc(0.4rem + 1vw);
    line-height: calc(0.1rem + .8vw);
  }

  .carousel-subtitle {
    font-family: 'Cirka';
  	font-size: calc(0.3rem + .8vw);
    line-height: calc(0.1rem + .8vw);
  }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}
