﻿.error,
.error ul,
.error ul li {
  font-weight: bold;
  color: red !important;
  border-color: red !important;
}

.required::after {
  content: " *";
  color: red;
}

* {
  font-family: "Merriweather Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

section {
  height: 80dvh !important;
}
footer {
  height: 8dvh !important;
}
nav {
  height: 8dvh !important;
}

.add-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.w-40 {
  width: 40%;
}

.switch-input:checked ~ .switch-toggle-slider::after {
  background-color: #28c76f !important;
  border-color: #28c76f !important;
}
.switch-toggle-slider::after {
  background-color: #ea5455 !important;
  border-color: #ea5455 !important;
}

@media only screen and (max-width: 768px) {
  .md-w-40 {
    width: 40%;
  }
  .md-w-100 {
    width: 100% !important;
  }

  .align-items-md-center {
    align-items: center !important;
  }

  .mb-md {
    margin-bottom: 1rem !important;
  }

  .dvw-60 {
    width: 80dvw !important;
  }

  .md-hide {
    display: none !important;
  }
  .md-show {
    display: block !important;
  }

  .md-grid-color-primary {
    background-color: #7367f0 !important;
    color: white !important;
    padding: 0.3rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .md-grid-color-warning {
    background-color: #ff9f43 !important;
    color: white !important;
    padding: 0.3rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .md-grid-color-info {
    background-color: #00cfe8 !important;
    color: white !important;
    padding: 0.3rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .md-grid-color-white {
    background-color: darkgray !important;
    color: white !important;
    padding: 0.3rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    justify-content: center !important;
    border: none;
  }
}

.form-icon {
  top: 50% !important;
  transform: translate(0, -50%);
}

.sidebar-logo {
  height: 100%;
  background-image: url("../img/logo/inform-logo.png");
  background-origin: border-box;
  background-position: center;
  background-repeat: no-repeat;
  backface-visibility: visible;
  background-size: 65% !important;
}

.glass-bg {
  background: rgba(250, 250, 250, 0.55);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.2px);
  -webkit-backdrop-filter: blur(9.2px);
  border: 1px solid rgba(104, 93, 216, 0.19);
  padding: 2rem;
}

#gridTable thead tr th {
  min-width: 150px !important;
}

#gridTable tbody tr:hover {
  background-color: lightgray;
}

.highlight {
  background-color: lightblue !important;
  color: white !important;
}
.top-1 {
  top: 1rem !important;
}
.end-1 {
  right: 1rem !important;
}

.disabled {
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: auto !important;
}

.overflow-y {
  overflow-y: auto;
  height: 50dvh !important;
}

#toast-container .toast-close-button {
  color: white !important;
}

#toast-container .toast-warning {
  background-image: url(../img/icons/toast-warn.png) !important;
}
#toast-container .toast-success {
  background-image: url(../img/icons/toast-ok.png) !important;
}
#toast-container .toast-error {
  background-image: url(../img/icons/toast-fail.png) !important;
}
#toast-container .toast-info {
  background-image: url(../img/icons/toast-info.png) !important;
}

.swal2-container {
  z-index: 20000 !important;
}

.btn-orange {
  background-color: rgba(253, 126, 20, 1);
  color: white;
}
.btn-orange:hover {
  background-color: rgb(230, 103, 0);
  color: whitesmoke;
}
.btn-orange:focus {
  background-color: rgb(230, 103, 0);
}

.btn-orange:active {
  background-color: rgb(230, 103, 0) !important;
  color: whitesmoke !important;
}

.btn-orange:disabled {
  background-color: rgb(230, 103, 0) !important;
  color: whitesmoke;
}

.select2-search__field {
    width: 100% !important; /*makes the placeholder to be 100% of the width while there are no options selected*/
}
.swal2-html-container{
    white-space:break-spaces;
    text-align:start;
}