/* HRP Custom CSS */

/* Equal height columns and vertical centering for signup page */
@media (min-width: 992px) {
  body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
  }

  .loginColumns {
    height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
  }

  .loginColumns.animated.fadeInDown {
    animation: none;
  }

  .loginColumns .row {
    display: flex;
    height: 100vh;
    width: 100%;
    margin: 0;
  }

  .loginColumns .row .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .loginColumns .bg-white .ibox-content,
  .loginColumns .bg-hrp-pink .row .col-sm-10 {
    max-width: 500px;
    width: 100%;
  }

  .loginColumns .bg-hrp-pink {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .loginColumns .bg-hrp-pink .row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .loginColumns .bg-hrp-pink .row .col-sm-10 {
    float: none;
    margin: 0 auto;
    text-align: center;
  }
}

.badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge-container img {
  margin-right: 15px;
  margin-bottom: 10px;
}

.badge-container img:last-child {
  margin-right: 0;
}

.rendered-form p {
  display: inline-block;
}

.formbuilder-starRating-label {
  width: 100%;
}

.formbuilder-required {
  margin-left: 2px;
}

.scrollable-180 {
  max-height: 180px;
  overflow-x: hidden;
  overflow-y: auto;
}

.mx-10{
  margin-left: 10px;
  margin-right: 10px;
}

.mx-20{
  margin-left: 20px;
  margin-right: 20px;
}

.p-w-xxs {
  padding-left: 5px;
  padding-right: 5px;
}

.p-b-xxs {
  padding-bottom: 5px;
}

.p-t-sm {
  padding-top: 15px;
}

.p-r-sm {
  padding-right: 15px;
}

.p-r-lg {
  padding-right: 30px;
}

.p-b-lg {
  padding-bottom: 30px;
}

.p-l-lg {
  padding-left: 30px;
}

.p-r-none{
  padding-right: none;
}

.p-l-none{
  padding-left: none;
}
.px-lg {
  padding-left: 30px;
  padding-right: 30px;
}

.border-t-0 {
  border-top: none !important;
}

.py-0 {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

textarea.form-control {
  max-width: 100%;
}

.w-100{
  width: 100px;
}

.w-full {
  width: 100%;
}

.btn-hrp-pink {
  background-color: #ce3465;
  color: white;
}

.btn-hrp-pink:hover,
.btn-hrp-pink:focus,
.btn-hrp-pink:active {
  background-color: #b02e59;
  color: white;
}

.btn-hrp-purple {
  background-color: #7277ef;
  color: white;
}

.btn-hrp-teal {
  background-color: #03d3d5;
  color: white;
}

.btn-hrp-yellow {
  background-color: #ffbb00;
  color: white;
}

.bg-hrp-pink{
  background-color: #fb699d;
}

.bg-hrp-purple{
  background-color: #939bf9;
}

.bg-hrp-green{
  background-color: #00f39e;
}

.bg-hrp-yellow{
  background-color: #ffbb00;
}

.bg-hrp-teal{
  background-color: #2ad7d7;
}

.bg-hrp-blue{
  background-color: #2dd3fd;
}

.bg-white{
  background-color: white;
}

.text-hrp-purple{
  color: #4333D6;
}

.text-hrp-teal{
  color: #06B9DD;
}

.text-hrp-pink{
  color: #FF4FA9;
}

.text-hrp-yellow{
  color: #FDA305;
}

.label-hrp-pink {
  background-color: #ff4fa9;
  color: white;
}

.label-hrp-purple {
  background-color: #7277ef;
  color: white;
}

.label-hrp-teal {
  background-color: #03d3d5;
  color: white;
}

.label-hrp-yellow {
  background-color: #ffbb00;
  color: white;
}

.border-hrp-pink {
  border-color: #ff4fa9;
}

.border-hrp-purple {
  border-color: #7277ef;
}

.border-hrp-teal {
  border-color: #03d3d5;
}

.border-hrp-yellow {
  border-color: #ffbb00;
}

.truncate {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .text-nowrap does this too */
.nowrap {
  white-space: nowrap;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.clear-both	{
  clear: both;
}

.f-right{
  float: right;
}

.d-grid {
  display: grid;
}

.d-flex {
  display: flex !important;
}

.d-inline {
  display: inline;
}
.d-flow-root{
  display: flow-root;
}

.fixed-height-300{
  overflow: scroll;
  max-height: 300px;
}

body.mini-navbar .navbar-default .nav .nav-second-level li a span {
  display: inline;
}

.mini-navbar .nav-second-level{
  min-width: 160px !important;
  font-size: 10px;
}

.cascading-dropdown{
  top: auto !important;
  right: 0 !important;
  left: auto !important;
}

.p-relative{
  position: relative
}

@media only screen and (max-width: 576px) {
  .px-xs-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  /* Responsive adjustments for signup form on mobile */
  .loginColumns .bg-white .ibox-content,
  .loginColumns .bg-hrp-pink .row .col-sm-10 {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 991px) {
  .pb-sm-4 {
    padding-bottom: 1rem !important;
  }
  .px-sm-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .pl-sm-8 {
    padding-left: 2rem !important;
  }
  .pr-sm-12 {
    padding-right: 3rem !important;
  }
}

@media screen and (min-width: 992px) {
  .pl-md-4 {
    padding-left: 1rem !important;
  }
  .pr-md-8 {
    padding-right: 2rem !important;
  }
}

.cf-custom-form input[class="form-control"] {
  color: black;
}

.cf-custom-form .dropdown-toggle {
  height: 34px;
}

/* FormBuilder customisations */

.formbuilder-radio-inline {
  position: relative;
  padding-left: 30px; /* Adjust as needed */
  /* cursor: not-allowed; /* Change the cursor style to indicate it's disabled */
}

/* Style for the outer circle (can be customized) */
.formbuilder-radio-inline .radio-dot, .formbuilder-radio-inline .radio-dot-chrome {
  position: absolute;
  left: 3.5px;
  top: 7.5px;
  width: 5px; /* Adjust as needed */
  height: 5px; /* Adjust as needed */
  border: 2px solid #ccc; /* Border color for the outer circle */
  border-radius: 50%; /* Make it a circle */
  background-color: #fff; /* Background color for the outer circle */
}

.formbuilder-radio-inline .radio-dot-chrome {
  left: 4px;
  top: 5px;
}

/* Style for the inner circle dot when the radio is checked */
.formbuilder-radio-inline input[type="radio"]:checked + .radio-dot, .formbuilder-radio-inline input[type="radio"]:checked + .radio-dot-chrome {
  background-color: #666;
  border-color: #666;
}

.formbuilder-radio {
  position: relative;
  /* padding-left: 30px; /* Adjust as needed */
  /* cursor: not-allowed; /* Change the cursor style to indicate it's disabled */
}

/* Style for the outer circle (can be customized) */
.formbuilder-radio .radio-dot, .formbuilder-radio .radio-dot-chrome {
  position: absolute;
  left: 3.5px;
  top: 7.5px;
  width: 5px; /* Adjust as needed */
  height: 5px; /* Adjust as needed */
  border: 2px solid #ccc; /* Border color for the outer circle */
  border-radius: 50%; /* Make it a circle */
  background-color: #fff; /* Background color for the outer circle */
}

.formbuilder-radio .radio-dot-chrome {
  left: 4px;
  top: 5px;
}

.formbuilder-radio-group label, .formbuilder-checkbox-group label:not(.kc-toggle) {
  display: inline;
  margin: 3px;
}

/* Style for the inner circle dot when the radio is checked */
.formbuilder-radio input[type="radio"]:checked + .radio-dot, .formbuilder-radio input[type="radio"]:checked + .radio-dot-chrome {
  background-color: #666;
  border-color: #666;
}

.panel-heading .accordion-toggle:after {
  /* symbol for "opening" panels */
  font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
  content: "\e114";    /* adjust as needed, taken from bootstrap.css */
  float: right;        /* adjust as needed */
  color: grey;         /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
  /* symbol for "collapsed" panels */
  content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

/* Text Area customisation */
.char-counter {
  font-size: 0.8rem;
  color: #666;
  text-align: right;
  margin-top: 2px;
  display: block;
}

/* Signup form input customization */
.signup-input {
  height: 42px; /* Slightly taller input fields */
  border-radius: 4px; /* 4px rounded border */
}

/* Floating label styles for signup page */
.floating-label-group {
  position: relative;
}

.floating-label-input {
  position: relative;
}

.floating-label-input::placeholder {
  color: transparent;
}

.floating-label-input:placeholder-shown + .floating-label {
  font-size: 14px;
  top: 12px;
  left: 10px;
  opacity: 0.7;
  font-weight: normal;
}

.with-icon .floating-label-input:placeholder-shown + .floating-label {
  left: 30px; /* Adjust for icon */
}

.floating-label {
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: -10px;
  font-size: 12px;
  transition: 0.2s ease all;
  color: #999; /* text-muted color */
  background-color: #fff;
  padding: 0 5px;
  z-index: 5;
  font-weight: normal;
}

/* Removed color change on focus to keep consistent muted color */

.has-error .floating-label {
  color: #a94442; /* Bootstrap error color */
}

/* Ensure placeholders are not bold */
.floating-label-input::placeholder {
  font-weight: normal;
}

/* Ensure floating labels work with validation errors */
.has-error .floating-label-input:placeholder-shown + .floating-label {
  font-size: 14px;
  top: 12px;
  left: 10px;
  opacity: 0.7;
  font-weight: normal;
}

.has-error.with-icon .floating-label-input:placeholder-shown + .floating-label {
  left: 30px; /* Adjust for icon */
}

/* In-form field icon styles for Bootstrap 3 */

.with-icon {
  position: relative;
}

.with-icon i {
  position: absolute;
  top: 12px; /* Raised up to align with field text */
  left: 10px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  /* icon doesn't block input clicks */
  z-index: 5; /* Ensure icon stays above other elements */
}

.with-icon .form-control {
  padding-left: 30px;
  /* enough space for icon */
}

/* Ensure icons stay in place when validation errors occur */
.has-error.with-icon i {
  top: 12px; /* Same fixed position */
}

/* Chosen dropdown position*/
.chosen-container.chosen-drop-up .chosen-drop{
  top: auto;
  bottom: 100%;
}
