/* Estilos que valen para todas las páginas. Se carga en base.html.
   Lo que es de una sola página va en el CSS de esa página */

/* TÍTULOS
   Todos los títulos usan Fredoka, tengan o no una clase. Las clases solo
   cambian el color o el tamaño. También cubre las clases de Bootstrap que
   hacen que algo se vea como título (.h1 ... .h6 y .display-*) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-title);
  font-weight: 600;
}
/* END TÍTULOS */


/* NAVBAR */
.navbar {
  height: 60px;
}

/* En pantallas de menos de 360px el logo, los enlaces y la foto de perfil no
   cabian en el navbar y la foto se salia por la derecha. El logo trae su alto
   en un style del template, por eso el !important */
@media (max-width: 359.98px) {
  .navbar-brand img {
    height: 44px !important;
  }
}

.navbar-dark--color{
  background-color: var(--my-green-dark);
}

/* El 55% de Bootstrap se ve inactivo sobre el verde */
.navbar-dark--color .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

/* "Sobre nosotros" en pantallas grandes, "Nosotros" en celular */
.index_large_display {
  display: block;
}

.index_small_display {
  display: none;
}

@media only screen and (max-width: 575.98px) {
  .index_large_display {
    display: none;
  }
  .index_small_display {
    display: block;
  }
}
/* END NAVBAR */


/* FONTS */
/* Títulos de página y de modales */
.myStyleFont {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--my-green-dark);
}

.myStyleRedFont {
  font-family: var(--font-title);
  font-weight: 600;
  color: red;
}

.myOptionsForm {
  font-family: var(--font-title);
  color: white;
  font-size: 1.3rem;
  font-weight: 400;
}

@media only screen and (max-width: 500px) {
  .myOptionsForm {
    font-size: 1rem;
    font-weight: 500;
  }
}

.my-green {
  color: var(--my-green-dark);
}

p.center, h3.center, h5.center, input.center{
  text-align: center;
}

p.justify, h3.justify, h5.justify, input.justify{
  text-align: justify;
}

.modal-title--size{
  font-size: 28px;
}
/* END FONTS */


/* CONTAINERS */
#main_container {
  margin-top: 2em;
}

#wrapper_bell {
  position: relative;
}

#navbarDropdownMenuLink.dropdown-toggle::after {
  display: none;
}

#userMenuDropdown.dropdown-toggle::after {
  display: none;
}

.jumbotron{
  background-color: white;
}

#li_notifications {
  margin-right: 1.5em;
}
/* END CONTAINERS */


/* IMAGES */
#img_bell:hover {
  cursor: pointer;
}

#img_bell{
  width: 1.5em;
  height: 1.5em;
}

#wraper_circle_red_to_bell {
  position: absolute;
  left: 0.7em;
  top: 0;
}

#circle_red_to_bell {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background-color: red;
}

#small_circle_red_to_bell {
  position: absolute;
  font-size: 0.7em;
  color: white;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

img.image_profile_menu {
    width: 50px;
    height: 50px;
    border: solid 1px white;
    border-radius: 50%;
    position: relative;
    box-shadow: 0px 15px 35px -15px rgba(0, 0, 0, 0.5),
    0 5px 20px 0 rgba(0, 0, 0, 0.1);
    z-index: 10;
}

img.image_profile_menu.none:hover {
    cursor: auto;
}
/* END IMAGES */


/* BUTTONS */
.btn-success--color{
    background-color: var(--my-green-dark);
}

.dropdown a:active {
  background-color: var(--my-green-dark) !important;
}
/* END BUTTONS */


/* MENÚ DEL USUARIO: proveedor y cliente (foto de perfil en el navbar) */
.navbar .user-menu {
  min-width: 240px;
  margin-top: 8px;
  padding: 8px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--my-shadow-soft);
}

/* Opciones de unos 44px de alto para que se toquen bien con el dedo */
.user-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
}

/* Ancho fijo para que los textos queden alineados aunque los iconos midan distinto */
.user-menu .dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--my-icon-gray-dark);
}

.user-menu .dropdown-item:hover,
.user-menu .dropdown-item:focus {
  background-color: var(--my-green-light-ad);
  color: var(--my-green-dark);
}

.user-menu .dropdown-item:hover i,
.user-menu .dropdown-item:focus i,
.user-menu .dropdown-item:active i {
  color: inherit;
}
/* END MENÚ DEL USUARIO */


/* ICONS */
.image_icon {
  width: 1.5em;
}
.image_icon_sm {
  width: 1em;
}
.image_icon_lg {
  width: 2em;
}
/* END ICONS */


/* ALERTS */
div.login_alert {
  margin: 0px;
  padding: 0.5rem 1rem;
  font-size: 14px;
}

#alert_div {
  opacity: 0;
  transition: 3s;
  overflow: hidden;
}

#alert_div.show {
  opacity: 1;
  transition: 3s;
}

#expand-alert {
  margin-top: -100%;
  transition: 5s;
}

#expand-alert.expanded {
  margin-top: 0;
  transition: 5s;
}
/*  END ALERTS */


/* SPINER */
#my_spinner_modal_header {
  opacity: 0;
  color: var(--my-green-dark);
  background-color: #fff;
  border-color: #fff;
  margin-top: 0;
}

#my_spinner_modal_header.show {
  opacity: 1;
}
/* END SPINER */


/* LINKS */
.no_decorated {
  text-decoration: none;
}
/* END LINKS */
