@import "variables.css";

body {
  font-family: var(--primary-font) !important;
  font-size: 16px;
}

.form-group:not(:last-child) {
  margin-bottom: 12px;
}

.form-group h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font) !important;
}

.btn:hover {
  color: white !important;
}

.newCard {
  background: #ffffff none repeat scroll 0 0;
  margin: 8px 8px;
  padding: 20px;
  border: 0 solid #e7e7e7;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.newCard h4 {
  margin-bottom: 0.5em;
}

.newCard h4 span {
  font-size: 0.65em;
}

.newCard .picturesTable {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.newCard .picturesTable a {
  position: relative;
}

.newCard .picturesTable .onlyImage a img {
  border-radius: 4px !important;
}

.newCard .picturesTable a img {
  position: relative;
  width: 100px;
  border-radius: 4px 4px 0 0;
  height: 150px;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease; /* Agrega transición para transform */
}

.picturesTable .pictureItem {
  margin: 2px 3px;
  border-radius: 4px;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 8%);
}

.newCard .picturesTable a i {
  position: absolute;
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  padding: 4px;
  top: 100%; /* Posiciona el icono debajo de la imagen */
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease; /* Agrega transición para transform */
}

.newCard .picturesTable a:hover i {
  opacity: 1;
  top: 70%; /* Mueve el icono hacia arriba al hacer hover */
  transform: translate(-50%, -50%); /* Ajusta la posición del icono */
}

.newCard .picturesTable a:hover img {
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease; /* Agrega transición para transform */
}

.newCard .picturesTable .selectedSection {
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  cursor: pointer;
  border-radius: 0 0 4px 4px;
  /*border-top: 2px solid #c89f24; */
  color: #c89f24;
}

.cursor-pointer {
  cursor: pointer;
}

.newCard .picturesTable .selectedSection.selected,
.newCard .picturesTable .selectedSection:hover {
  background: #edd899;
}

.ctm-cancel-button {
  background-color: #99abb4 !important;
  color: white !important;
}

.swal2-actions {
  margin-bottom: 15px;
}

.swal2-actions button {
  margin: 0 3px !important;
}

.toast .toast-title {
  font-family: var(--primary-font) !important;
  font-weight: 600;
  font-size: 1.1em;
}

.toast .toast-message {
  font-family: var(--primary-font) !important;
}

.toast .toast-message b {
  font-weight: 600;
}

/* Bootstrap tunning */
.alert-info {
  background-color: var(--primary-color-light);
  border: none;
  color: var(--over-primary-light);
}
