:root {
    --rojo-ritsi: #da2724;
}

* {
    font-family: "Exo";
}

a {
    color: var(--rojo-ritsi);
}

html, body {
    height: 100%;
    margin: 0;
  }
  
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    bottom: 0;
    height: min-content;
    width: 100%;
}
  
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  margin: auto;
}

/* Estilo para la página activa */
.pagination {
    --bs-pagination-color: var(--rojo-ritsi);
    --bs-pagination-active-bg: var(--rojo-ritsi);
    --bs-pagination-hover-color: var(--rojo-ritsi);
    --bs-pagination-active-border-color: var(--rojo-ritsi);
}

.full-height{
    height: 100%;
}
.big{
    font-size: 3em;
}
.small{
    font-size: 12px;
}
img{
    max-width: 100%;
}
.no-float{
    float: none !important;
}
.top-space{
    margin-top: 100px;
}
.tope{
    vertical-align: top;
}
.green{
    color: #00887C;
}
.red{
    color: var(--rojo-ritsi);
}
.right-space{
    margin-right: 1em;
}
.large-padding{
    padding: 5px 10px;
}
.fondo-gris{
    background-color: #eee;
}
.inline-block{
    float: none;
    display: inline-block;
    margin-right: -4px;
}
.mediano{
    font-size: 1.3em;
}
.menu img{
    margin: 20px 0px;
}
.ritsi_red {
    color: var(--rojo-ritsi)!important;
}

.delay-1{
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}
.delay-2{
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s;
}
.no-list{
    margin: 0px;
    padding: 0px;
}
.no-list li{
    list-style-type: none;
}

.carousel-inner img {
    width: 100%; /* Set width to 100% */
    margin: auto;
    min-height:200px;
}
  
#income {
  background-color: #00887C;
  color: white;
}

#expenditure {
  background-color: var(--rojo-ritsi);
  color: white;
}

/* Hide the carousel text when the screen is less than 600 pixels wide */
@media (max-width: 600px) {
    .carousel-caption {
        display: none; 
    }
}

.transparent_btn {
    display: inline-block;
    padding: 10px 14px;
    color: #FFF;
    border: 1px solid #FFF;
    text-decoration: none;
    font-size: 14px;
    line-height: 120%;
    background-color: rgba(255,255,255, 0);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 300ms ease;
    -moz-transition: background-color 300ms ease;
    transition: background-color 300ms ease;
    cursor: pointer;
}
.transparent_btn:hover {
    background-color: rgba(255,255,255, 0.3);
    color: #FFF;
}

#search {
    background-image: url('/css/search.jpg'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
    height: 550px
}
    
/* Set gray background color and 100% height */
.sidenav {
    /*background-color: #f1f1f1;*/
    height: 100%;
}
        
/* On small screens, set height to 'auto' for the grid */
@media screen and (max-width: 767px) {
    .row.content {
        height: auto;
    } 
}

/**********************************************************************
              PRUEBAS
**********************************************************************/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0; /* Sit on top */
    top: 0; /* Sit on top */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Mensaje de información */

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Fotos Columnas */

* {
  box-sizing: border-box;
}

.column {
  float: left;
  width: 50%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

/* Float Buttom */

.float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:75px;
    right:40px;
    background-color: var(--rojo-ritsi);
    color:#FFF;
    border-radius:50px;
    text-align:center;
    box-shadow: 2px 2px 3px #999;
}

.my-float{
    margin-top:22px;
}

/* Watermark */
.watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-5deg);
	font-size: 30rem;
	color: rgba(218, 39, 36, 0.1);
	white-space: nowrap;
	pointer-events: none;
	z-index: 0;
}
