/**
* Theme Name: Workreap Child
* Description: This is a child theme of Workreap.
* Author: Amentotech
* Template: workreap
* Version: 0.0.27
*/

/* Force Select2 to display dropdown below (Workreap dashboard) */
.select2-container--open.select2-container--above .select2-dropdown {
  top: 100% !important;
  bottom: auto !important;
}

/* ===========================
   VenoBox (Workreap) viewport fit
   =========================== */

/* Keep the modal content inside the viewport */
.vbox-overlay .vbox-content{
  max-width: 95vw !important;
  max-height: 90vh !important;
   height: auto !important;
}

/* Ensure the image never exceeds the viewport */
.vbox-overlay img.vbox-figlio{
  max-width: 95vw !important;
  max-height: 90vh !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

/* If VenoBox is trying to scroll the inner container, prevent that */
.vbox-overlay .vbox-container{
  overflow: hidden !important;
}



.vbox-overlay .vbox-content {
  text-align: center !important;
}

.vbox-overlay img.vbox-figlio {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center VenoBox image horizontally + vertically */
.vbox-overlay .vbox-content {
  display: flex !important;
  align-items: center !important;      /* vertical center */
  justify-content: center !important;  /* horizontal center */
}

/* Freelancer listing: 4 columns on large screens (override col-lg-4) */
@media (min-width: 992px){
  .wr-searchtalentlist > [class*="col-lg-4"]{
    flex: 0 0 auto;
    width: 25% !important;       /* 4 columns */
    max-width: 25% !important;
  }
}


@media (min-width: 1200px){
  .wr-searchtalentlist > [class*="col-lg-4"]{
    width: 25% !important;
    max-width: 25% !important;
  }
}







/* Skillfinder note v0.0.6:
   The heavy .sfc-wr-* visual styling for freelancer public template overrides now loads from Skillfinder Core.
   This child theme keeps layout/template overrides only, plus the small legacy child-theme utilities above. */
