
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Titillium+Web&subset=latin,latin-ext);

:root{
    --color-verd : lightgreen;
    --color-verdfosc : darkgreen;
    --quasi-negre : #656565;
    --gris-menu : #777777;
    color : black;
}

.btn-xs {
  padding: 0.10rem 0.1rem;   /* Reduce el relleno interno */
  font-size: 0.70rem;        /* Reduce el tamaño de la fuente */
  line-height: 1.2;          /* Ajusta el interlineado */
  border-radius: 0.2rem;     /* Bordes ligeramente más pequeños */
}

.ample-10 {
  padding-right: 10px;
  padding-left: 10px;
}

.visible {
  display: block; /* o inline, inline-block, según corresponda */
}
.hidden {
  display: none;
}

.form-alineado-izquierda {
  text-align: left;
}

/* Check de les fotos de les noticies */
.news-image-container {
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 1rem;
}

.checkmark-overlay {
  position: absolute;
  top: 10px;
  right: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 5px;
  font-size: 20px;
  display: none;
  z-index: 10;
}

.checkmark-overlay.visible {
  display: block;
}

.news-image {
  cursor: pointer;
  transition: opacity 0.3s;
  margin: 0;
  padding-top: 10px;
}

.news-image:hover {
  opacity: 0.8;
}
/* Fi check de les fotos */

html {
  font-size: 1rem;
  scroll-behavior: smooth;
}

code {
  font-size: 80%;
}
.footer {
  padding-top: 20px;
  width: 100%;
  /* Set the fixed height of the footer here */
}
a {
  color: black
}
a:hover{
  text-decoration: none;
  color: var(--color-verd);
}
.alert {
    position: relative;
    margin-bottom: 0px;
}
.login{
    margin: 80px 0px;
}
.tomas-href{
    color:darkgreen;
}
.tomas-href a:hover{
    font-weight:800;
  color: var(orange);
}
.margebasic {
    margin: 20px 0px;
}

.mesmargebasic {
    margin: 30px 0px;
}

/* Dropdown submenu */
.dropdown-submenu .dropdown-item{
    background:var(--gris-menu)
}
.dropdown-menu{
    background-color:var(--gris-menu)
}
.dropdown-item hover{
    background:var(--gris-menu)
}
.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top:-6px;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

/* Datatables */
div.dataTables_wrapper div.dataTables_length select{
    min-width:50px;
}

@include media-breakpoint-up(sm) {
  html {
    font-size: 1.2rem;
  }
}

@include media-breakpoint-up(md) {
  html {
    font-size: 1.1rem;
  }
}

@include media-breakpoint-up(lg) {
  html {
    font-size: 1rem;
  }
}
.botonou{
    padding-bottom:10px;
}
.card a:hover{
  text-decoration: none;
  color: var(--color-verdfosc);
}

a:hover{
}

body{
}

body .popover {display: none! important; }

.caltomas a{
  text-decoration: none;
  color: white;
}
.elcos {
  margin: 25px 0px 25px 0px;
}

.caltomas a:hover{
  text-decoration: none;
  color: var(--color-verd);
}

.caltomas_intro {
  background-color: var(--quasi-negre);
  color: white;
}

.caltomas_menu{
  background-color: var(--gris-menu);
  color: white;
}

/* INTRO */
#intro {
  width: 100%;
  height: 60vh;
  position: relative;
	background: url(../img/intro-background.jpg) top center;
  background-size: cover;
}

label{
  margin-bottom:1px;
}

@media (min-width: 1024px) {
	#intro {
		background-attachment: fixed;
	}
}

.intro-content {
	background: rgba(0, 0, 0, 0.65);
  position: absolute;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
	padding: 0 15px;
}

.intro-content  h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 64px;
  font-weight: 700;
}

.intro-content  h3 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 500;
}
.form-control{
    padding:1px 2px;
    height: calc(1.5em + 2px);
    border-radius: 0.25rem;
}
input-group-text{
    color: red;
    padding:1px 2px 1px 2px;
    height: calc(1.5em + 2px);
    border-radius: 0.25rem;
}
/* Blog */
.grisfluix{
    background-color:lightgrey;
}

.widget{
    padding-top:15px;
}
.paginationblog{
    padding-bottom:15px;
}
ul.cat{
    list-style-type: none;
    padding-left:15px;
}
ul.cat a:hover{
  text-decoration: none;
  color: var(--color-verdfosc);
}

.verdfosc a{
  color: var(--color-verdfosc);
}
.article {
    padding-bottom:30px;
}
/* Menuicons */

.menuicons{
  padding : 5px;
}

.menuicons a:hover{
  color : darkgreen;
}

.icon{
  float:both;
  text-align: right;
}
