/* --- POSITION --- */
.c_1{
  /* to center in the middle: class="c_1 vh-100 w-100" */
	display: flex;
	justify-content: center;
	align-items: center;
}
.c_2{
  /* to center in the middle: class="c_1 vh-100 w-100" */
	display: flex;
  flex-direction: column;
	justify-content: center;
	align-items: center;
  text-align: center;
}
a {
  text-decoration: none;
}
p{
  margin: 0;
  padding:0;
}
.vh-95 {
  height: 95vh;
}
.vh-90 {
  height: 90vh;
}
.vh-70 {
  height: 70vh;
}
.vh-50 {
  height: 50vh;
}
.vh-40 {
  height: 40vh;
}
.vh-30 {
  height: 30vh;
}
.vh-20 {
  height: 20vh;
}
.vw-80{
	width: 50vw;
}

.handle{
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.handle:active{
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
.hov:hover{
	cursor:pointer;
}
.justify {
  text-align: justify;
  text-justify: inter-word;
}

/* --- ICON SUCCESS --- */
.icon-success {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid;
    /* transform: scale(var(--ggs,1)); */
    border-radius: 4px;
  }
  
  .icon-success:before {
    content: "Success";
    position: absolute;
    left: 25px;
    top: -2px;
  }
  
  .icon-success::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    left: 3px;
    top: -1px;
    width: 6px;
    height: 10px;
    border-width: 0 2px 2px 0;
    border-style: solid;
    transform-origin: bottom left;
    transform: rotate(45deg)
  }
  
  /* --- ICON INFO --- */
  .icon-primary {
    box-sizing: border-box;
    position: relative;
    display: block;
    /* transform: scale(var(--ggs,1)); */
    width: 24px;
    height: 24px;
    border: 2px solid;
    border-radius: 40px
  }
  
  .icon-primary::after,
  .icon-primary::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 3px;
    background: currentColor;
    left: 8.5px
  }
  
  .icon-primary::after {
    bottom: 3px;
    height: 9px
  }
  
  .icon-primary::before {
    height: 3px;
    top: 3px
  }
  
  .icon-primary span:before {
    position: absolute;
    content: "Info";
    left: 26px;
    top: -1px;
  }
  
  /* --- ICON WARNING --- */
  .icon-warning {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    border-left: 13.5px solid transparent;
    border-right: 13.5px solid transparent;
    border-bottom: 25px solid black;
  }
  
  .icon-warning::after,
  .icon-warning::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 3px;
    background: currentColor;
    left: -1.5px
  }
  
  .icon-warning::after {
    height: 8px;
    bottom: -16px;
    color: white;
  }
  
  .icon-warning::before {
    height: 3px;
    bottom: -21px;
    color: white;
  }
  
  .icon-warning span:before {
    position: absolute;
    content: "Warning";
    left: 15px;
    top: 3px;
  }
  
  /* --- ICON ERROR --- */
  .icon-danger {
    box-sizing: border-box;
    position: relative;
    display: block;
    /* transform: scale(var(--ggs,1)); */
    width: 24px;
    height: 24px;
    border: 2px solid;
    border-radius: 40px
  }
  
  .icon-danger::after,
  .icon-danger::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 3px;
    background: currentColor;
    left: 8.5px;
  }
  
  .icon-danger::after {
    bottom: 3px;
    height: 3px;
  }
  
  .icon-danger::before {
    top: 3px;
    height: 9px;
  }
  
  .icon-danger span:before {
    position: absolute;
    content: "Error";
    left: 26px;
    top: -1px;
  }

.nav-txt-1{
  font-size: 1.4rem; /* Match h4 size */
  font-weight: 450; /* Match h4 weight */
  text-decoration: none; /* Remove underline */
}

/* for carousel */
.carousel-fill {
  object-fit: fill;
}
.carousel-cover {
  object-fit: cover;
}
.carousel-size1 {
  height: 350px;
}
@media (max-width: 767px) {
  .carousel-size1 {
      height: 200px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .carousel-size1 {
      height: 275px;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .carousel-size1 {
      height: 375px;
  }
}
@media (min-width: 1201px) and (max-width: 1400px) {
  .carousel-size1 {
      height: 430px;
  }
}
@media (min-width: 1401px) {
  .carousel-size1 {
      height: 500px;
  }
}

.formset input[type="checkbox"][name$="-DELETE"] {
    display: none;
}

/* For formset */
.icon-plus {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: blue;
  color: white;
  border: none;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* --- Plus Icon (using pseudo-elements) --- */
.icon-plus::before {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

/* Hover effect for button */
.icon-plus:hover {
  background-color: darkblue;
}

/* For formset */
.icon-minus {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: red;
  color: white;
  border: none;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* --- Plus Icon (using pseudo-elements) --- */
.icon-minus::before {
  content: "-";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

/* Hover effect for button */
.icon-minus:hover {
  background-color: darkred;
}