/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 100vh;
    overflow-y: auto;
    background: var(--secondary);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 300px;
    min-height: 100vh;
    background: var(--dark);
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -300px;
    }

    .content {
        width: calc(100% - 300px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -300px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--light);
    font-weight: 500;
    border-left: 3px solid var(--secondary);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--dark);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    color: var(--light);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--light);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.content .navbar .dropdown-item {
    color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}




/* Modifications (Custom) */
span .fa {
  color: #000;
}

/* Forms */
.padding-r-20 {
  padding-right: 20px;
}
.validation {
  margin-top: 2px;
  color: #DC3545;
  font-size: 14px;
}
.form-label span {
	font-weight: 600;
	color: #0DCAF0 ;
}
.text-info {
  font-size: 15px;
}

/* Modals */
.modal {
  text-align: center;
  padding: 0!important;
}
.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
.modal-dialog {
  margin: 30px auto;
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
.modal-content .modal-header, 
.modal-content .modal-footer {
  border: none;
}
.modal-header .close {
  margin-top: -35px;
  font-size: 24px;
}
.modal-title {
  font-size: 20px;
  color: #444;
  font-weight: 700;
}
.modal-body {
  font-size: 18px;
  line-height: 24px;
  color: #444;
  Word-wrap: break-Word;
}
.modal-body .form-label {
  font-size: 16px;
}
.modal-body .form-control {
  background-color: #FFF;
}
@media (min-width: 300px) {
  .modal-content {
    width: 270px;
  }
}
@media (min-width: 360px) {
  .modal-content {
    width: 330px;
  }
}
@media (min-width: 400px) {
  .modal-content {
    width: 370px;
  }
}
@media (min-width: 480px) {
  .modal-content {
    width: 450px;
  }
}
@media (min-width: 535px) {
  .modal-content {
    width: 500px;
  }
}

.select {
  background-color: #000 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23eb1616' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px 14px;
}

.spinner-input {
  width: 1.3rem;
  height: 1.3rem;
}

.spinner-form {
  width: 2.6rem;
  height: 2.6rem;
}

.text-justify {
  text-align: justify !important;
}

.min-height-div {
  min-height: 100vh !important;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #888;
  color: #000;
  opacity: 1;
}


/* forms */
.m-txt {
  list-style: none;
  margin-left: -90px !important;
}

.mt-btn {
  margin-top: 0px;
}
  
.input-pt-4 {
  padding-top: 0 !important;
}


@media (min-width: 480px) and (max-width: 767px) {
  .m-txt {
    margin-left: -30px !important;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .m-txt {
    margin-left: 0px !important;
  }
}

@media (min-width: 1201px) and (max-width: 1400px) {
  .m-txt {
     margin-left: 10px !important;
  }
}

@media (min-width: 1401px) and (max-width: 1800px) {
  .m-txt {
     margin-left: -50px !important;
  }
}

@media (max-width: 768px) {
  .mt-btn {
    margin-top: 24px;
  }
  
  .file-btn {
    float: left !important;
    margin: 0px;
  }
  
  .input-pt-4 {
    padding-top: 1.5rem !important;
  }
}

.my-logo {
	margin-bottom: 30px;
	border: #999 solid 2px;
	height: 100px !important;
  width: 100px !important;
}

input[type="file"] {
  top: 0px;
  right: 0px;
  position: absolute;
  display: block;
  opacity: 0;
  background: transparent none repeat scroll 0px 0px;
  cursor: inherit;
  height: 42px;
  width: 175px;
}

.error-red {
  color: #FF0000;
  font-size: 14px;
  text-align: left;
}


.dropdown-item:hover, .dropdown-item:focus {
  color: #1e2125;
  background-color: #000;
}  
  
.sidebar .dropdown-toggle-caret::after {
  top: 0.34em !important;
}

.sidebar .dropdown-toggle-caret[aria-expanded="true"]::after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}

.sidebar .dropdown-menu .dropdown-menu {
  margin-left: 20px;
  border-left: 2px solid #495057;
}


legend[id], section[id], div[id] {
  scroll-margin-top: 100px; /* ajusta según la altura de tu navbar */
}

.mt-moin-6 {
  margin-top: -6px;
}

.accordion-button:not(.collapsed) {
  background-color: #2b2b2b; /* Fondo oscuro al expandirse */
  color: #ffffff;            /* Texto blanco */
}

.accordion-button {
  background-color: #1e1e1e; /* Fondo cerrado */
  color: #cccccc;            /* Texto más tenue */
  border: none;
}

.accordion-button:focus {
  box-shadow: none; /* Elimina el contorno azul al enfocar */
}

.accordion-item {
  background-color: #1a1a1a; /* Fondo general del acordeón */
  border: 1px solid #333;    /* Borde tenue */
}


.list-constraints {
  list-style: none;
  margin-left: -31px !important;
}
