/* 
 Theme Name:   experthive-child
 Theme URI:    
 Description:  ExpertHive child theme
 Author:       Butterfly
 Author URI:   www.butterfly.com.au
 Template:     experthive
 Version:      1.0.5
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

ul#menu-header li.menu-item--user-login {
	display: none;
}

.hp-vendor__content {
margin-bottom: 30px !important;
}

.hp-field.hp-field--checkbox span {
    font-weight: normal !important;
}


.job-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.job-card {
    flex: 0 0 calc(33.33% - 15px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 15px);
    max-width: calc(33.33% - 15px);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    border-color: #0073aa; /* Optional: change border color on hover */
}

.job-card h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.job-card:hover h3 a {
    color: #0073aa;
}







.hp-vendor__header {
    padding-top: 25px !important;
}


.hp-vendor__attribute.hp-vendor__attribute--hiring {
    visibility: hidden !important;
}



/* i.hp-vendor__verified-badge.hp-icon.fas.fa-shield-alt {
    width: 20px !important;
} */


.hp-vendor__attributes.hp-vendor__attributes--secondary {
	width: 200px !important;
}

.hp-vendor__attribute.hp-vendor__attribute--equal-opportunity-employer {
    margin-right: 150px !important;
	visibility: hidden !important;
}

.hp-vendor__attribute.hp-vendor__attribute--seeking-work{
	visibility: hidden !important;
}

/* .hp-vendor__attribute--work-type {
    display: none !important;
} */

.hp-vendor__attribute.hp-vendor__attribute--interest{
	display: none !important;
}

.job-and-work-accordion-content{
	margin-left: 55px !important;
}


/* .job-and-work-accordion-header{
	visibility: hidden !important;
} */

.hp-vendor__attribute.hp-vendor__attribute--experience {
margin-left:35% !important;
}

.hp-vendor__content {
padding-bottom: 0 !important;
}

.hp-vendor__verified-badge {
    position: absolute;
    right: 3rem !important;
}

.hp-vendor__attribute.hp-vendor__attribute--equal-opportunity-employer {
	width: 40px;
}

.hp-vendor__attribute.hp-vendor__attribute--experience {
    position: absolute !important;
    top: 350px !important;

}

.equal-opportunity-label {
    text-align: left;
    font-weight: normal;
    margin-bottom: 8px;
    color: #333;
}

.hp-vendor--view-block .hp-vendor__registered-date,
.hp-vendor--view-page .hp-vendor__registered-date {
  display: none;
}

.hidden-attr,
.hidden-attr-container {
    display: none !important;
}

.hp-template--vendor-dashboard-page canvas.hp-chart {
	display: none !important;
}


.hp-template--vendor-dashboard-page .hp-table {
	display: none !important;
}

/* Profile Tabs - More compact version */
.profile-tabs {
    margin: 2rem 0;
}

.tab-navigation {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 0;
    margin-bottom: 2rem;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 0.2rem 0.5rem; /* Standard padding */
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: rgba(15, 23, 39, .85);
    font-size: 0.8rem;
    border-bottom: 3px solid transparent;
    flex: 1;
    text-align: center;
    min-width: fit-content;
    transition: color 0.3s ease, border-bottom-color 0.3s ease; /* Add transitions */
}

.tab-button:hover {
    color: #ff661b; /* Highlight the text with the desired color */
    background: none; /* Remove any background color on hover */
    border: none; /* Remove any border styling on hover */
    border-bottom-color: #ff661b; /* Optional for bottom border animation */
}


.tab-button.active {
    color: #ff661b;
    border-bottom-color: #ff661b;
}

/*********** Update filter to be an accordion *************/
.hp-form__field--checkboxes ul ul {
  display: none; 
  padding-left: 20px; 
}

.hp-form__field--checkboxes ul {
  padding-left: 20px;
}

.hp-form__field--checkboxes .expanded > ul {
  display: block; 
}

.hp-form__field--checkboxes ul > li > label, .hp-widget--vendor-filter .toggle-button {
  display: inline-block;
  position: relative;
}

.toggle-button{
  float: right;
  width:40px;
  height:20px;
  text-align: center;
  font-size: 17px;
  margin-top: -4px;
}

.toggle-button:hover{
  cursor: pointer;
  color: #ff661b;
}

.hp-field--checkboxes{
  max-height: 100%;
  overflow-y: visible;
}

.hp-form__field--checkboxes ul > li > label{
  max-width: calc(100% - 40px);
}

/**********Membership pricing table ************/

.pricing-block .pricing-cards{
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}

.pricing-block .pricing-card__body, .pricing-block .pricing-card__head{
  padding: 20px;
}

.pricing-card__head .price strong > span{
  color:#e44d26;
  font-size: 20px;
  padding-left: 4px;
}

@media only screen and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 1199px) {
  .pricing-block .pricing-cards{
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .pricing-block .pricing-cards{
    gap: 20px;
    grid-template-columns: repeat(1, 1fr);
  }
}

/*** dashboard ***/
.hp-template--vendor-dashboard-page .hp-field--button{
  margin-bottom: 20px;
}

.hp-template--vendor-view-page .hp-listing--view-block .hp-listing__header, .hp-template--vendor-view-page .hp-page .hp-listing--view-block .hp-listing__header{
  display: block;
}

body .hp-vendor--view-page .hp-vendor__summary{
  height: auto;
}

/*** registration completion ***/
.page-template-registration-completion .header-hero{
  background: #333333;
    padding-top: 64px;
    padding-bottom: 158px;
    text-align: center;
    position: relative;
}

.page-template-registration-completion .page__title {
  color: #FF661B;
  margin-bottom: 8px;
  padding-top: 40px;
}

.page-template-registration-completion .header-hero:after {
  content: "";
  background: #333333;
  position: absolute;
  bottom: -27px;
  width: 42px;
  height: 42px;
  display: block;
  transform: rotate(45deg) translateX(-50%);
  left: 50%;
}

.registration-completion-info{
  text-align: center;
}

.registration-completion{
  width: 100%;
  height: auto;
}

.registration-completion iframe{
  margin : 20px 0 40px;
}

.registration-completion label{
  font-weight: 500;
  margin-bottom: 20px;
}

.registration-completion .next-btn{
  margin-top: 50px;
}

.registration-completion .next-btn:hover{
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .registration-completion iframe{
   width: 100%;
  }
}
/******* Hiring *******/
.tag-hiring{
  text-transform: uppercase;

}

.image-container-tag{
  width: 150px;
  height:150px;
  border-radius: 50%;
  overflow: hidden;
}

span.tag-hiring {
  margin-top: -30px;
  display: block;
  text-align: center;
  padding: 4px 4px 5px;
  background-color: #FF661B;
  position: relative;
  color: white;
  font-size: 14px;
  opacity: 0.8;
}

/**** Left hand menu ****/
.site-sidebar .hp-menu__item--listings-edit {
  position: relative;
}

.site-sidebar .toggle-plus {
  content: '+';
  position: absolute;
  right: -8px;
  top: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 22px;
  padding: 2px 8px;
  color: #333;
}

.site-sidebar .hp-menu__item{
  padding-left: 0;
}

.site-sidebar .hp-menu__item--listing-submit,
.site-sidebar .hp-menu__item--documentation-and-templates,
.site-sidebar .hp-menu__item--human-resources,
.site-sidebar .hp-menu__item--code-of-conduct,
.site-sidebar .hp-menu__item--terms-of-use,
.site-sidebar .hp-menu__item--health-and-safety-ohs,
.site-sidebar .hp-menu__item--job-reqs-view,
.site-sidebar .hp-menu__item--job-req-submit,
.site-sidebar .hp-menu__item--job-reqs-edit,
.site-sidebar .hp-menu__item--offers-view,
.site-sidebar .hp-menu__item--view-job-requests-carpenter,
.site-sidebar .hp-menu__item--bookkeping-financial-services,
.site-sidebar .hp-menu__item--business-mastery-program,
.site-sidebar .hp-menu__item--next-minuite-project,
.site-sidebar .hp-menu__item--ca-web-services,
.site-sidebar .hp-menu__item--builders-license,
.site-sidebar .hp-menu__item--user-edit-settings,
.site-sidebar .hp-menu__item--notifications-thread,
.site-sidebar .hp-menu__item--2fa
{
  display: none;
  padding-left: 20px;
}

.site-sidebar .hp-menu__item--listing-submit.show{
  padding-left: 0;
}

.site-sidebar .hp-menu li>a{
  padding-right: 10px;
}

.site-sidebar .hp-menu li::before{
  display: none;
}

/**** Membership page ****/
.membership-notice {
  padding: 20px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 500px;
  margin: 20px auto;
  text-align: center;
  font-family: Arial, sans-serif;
}

.membership-links {
  margin-top: 15px;
}

.membership-link {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 15px;
  background-color: #f9e7e7; 
  color: #f36f35;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #f36f35; 
  font-weight: bold;
  transition: all 0.3s ease;
}

.membership-link:hover {
  background-color: #f18b60; 
  color: #fff; 
  border-color: #f18b60;
}

/*** Remove attribute display on card ***/
.hp-page__sidebar .hp-vendor__summary .hp-vendor__attribute--membership-level,
.hp-page__sidebar .hp-vendor__summary .hp-vendor__attribute--phone,
.hp-page__sidebar .hp-vendor__summary .hp-vendor__attribute--occupation,
.hp-page__sidebar .hp-vendor__summary .hp-vendor__attribute--interest,
.hp-page__sidebar .hp-vendor__summary .hp-vendor__attribute--employer,
.hp-page__sidebar .hp-vendor__summary .hp-vendor__attribute--rate
{
  display: none!important;
}

.job-and-work-accordion {
	margin-bottom: 10px;
  display: block;
  width: 100%;
}

.job-and-work-accordion-header {
	cursor: pointer;
	width: 100%;
	text-align: left;
	display: flex;
	justify-content: center;
	align-items: center;
  color: rgba(15, 23, 39, .85);
  font-size: 15px!important;
}

.accordion-arrow {
	transition: transform 0.3s ease;
  margin-left: 12px;
}

.job-and-work-accordion-header.active .accordion-arrow {
	transform: rotate(180deg); /* Rotate the arrow when active */
}

.job-and-work-accordion-content {
	padding: 10px 10px;
	display: none;
	overflow: hidden;
}

.job-and-work-accordion-content.show {
	display: block;
}

.hp-page  .job-and-work-accordion .hp-vendor__attribute--job-type{
  margin-bottom: 0!important;
}

.hp-page__sidebar .hp-vendor__attribute, 
.hp-vendor--view-block .hp-vendor__attribute{
  font-size: 15px!important;
  font-weight: bold;
  display: block;
  color: rgba(15, 23, 39, .85);
}

.hp-page  .hp-vendor--view-page .hp-vendor__summary{
  padding: 50px 24px 40px;
}

.hp-listing--view-block .hp-listing__image img{
  width: 100px;
  height: 100px;
  margin-bottom: 6px;
  text-align: center;
}

.hp-grid__item .hp-testimonial {
  min-height: 450px;
}

.category-news .post__text {
  font-size: 14px;
}

article.hp-vendor.hp-vendor--view-block .hp-vendor__content{
  min-height: 180px;
}



.bis-hub .wp-block-column.bookkeeping,
.bis-hub .wp-block-column.caweb,
.bis-hub .wp-block-column.mastery,
.bis-hub .wp-block-column.next-min
 {
  position: relative;
  background-color: transparent!important;
}

.bis-hub .wp-block-column.bookkeeping::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../jpg/bookkeping.jpg');
  background-repeat: no-repeat;
  z-index: 0; 
  background-size: cover;
  background-position: center;
}
.bis-hub .wp-block-column.caweb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../jpg/webdesign.jpg');
  background-repeat: no-repeat;
  z-index: 0; 
  background-size: cover;
  background-position: center;
}
.bis-hub .wp-block-column.mastery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../jpg/mastery.jpg');
  background-repeat: no-repeat;
  z-index: 0; 
  background-size: cover;
  background-position: center;
}
.bis-hub .wp-block-column.next-min::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../jpg/nextmin.jpg');
  background-repeat: no-repeat;
  z-index: 0; 
  background-size: cover;
  background-position: center;
}

.bis-hub .wp-block-column h2.has-background{
  background-color: transparent!important;
  z-index: 1;
  position: relative;
  padding: 40px;
  font-size: 42px;
}

.bis-hub .wp-block-column.bookkeeping::after,
.bis-hub .wp-block-column.caweb::after,
.bis-hub .wp-block-column.mastery::after,
.bis-hub .wp-block-column.next-min::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity for the overlay */
  z-index: 0; /* Ensure the overlay is behind the content */
}

.bis-hub .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow{
  padding: 20px;
}

.bis-hub .wp-block-columns.is-layout-flex{
  margin-bottom: 50px;
}

/* Modal background overlay */
#thank_you_modal_unique {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
  z-index: 1000;
  display: none; /* Hidden by default */
}

/* Modal content box */
#thank_you_modal_unique .modal-content {
  background-color: #fff;
  padding: 40px;
  width: 380px;
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Move the modal back to truly center */
}


/* Close button styling */
#thank_you_modal_unique .fancybox-button.fancybox-close-small {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#thank_you_modal_unique .fancybox-button.fancybox-close-small svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

#thank_you_modal_unique .fancybox-button.fancybox-close-small:hover svg {
  fill: #ff661b; /* Change close icon color on hover */
}

/****Request confirmation ****/
/* Modal background overlay */
#request-confirmation{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
  z-index: 1000;
}

/* Modal content box */
#request-confirmation .modal-content {
  background-color: #fff;
  padding: 40px;
  width: 380px;
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 40%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Move the modal back to truly center */
}


/* Close button styling */
#request-confirmation .fancybox-button.fancybox-close-small {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#request-confirmation .fancybox-button.fancybox-close-small svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

#request-confirmation .fancybox-button.fancybox-close-small:hover {
  color: #ff661b;
}

/* Remove the number input arrows for Chrome, Safari, Edge, and Opera */
input[name="turnover"]::-webkit-outer-spin-button,
input[name="turnover"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove the number input arrows for Firefox */
input[name="turnover"] {
    -moz-appearance: textfield;
}

/* Add a dollar sign as a background image */
input[name="turnover"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><text x="0" y="15" font-size="16" font-family="Arial" fill="black">$</text></svg>');
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left: 25px; /* Create space for the dollar sign */
}

/* Style the input as per your design needs */
input[name="turnover"] {
    font-size: 16px;
    height: 35px;
    width: 100%; /* Adjust width as per your layout */
    box-sizing: border-box; /* Ensure padding is considered within the width */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 5px; /* Rounded corners */
    padding-right: 10px; /* Space for right side of input */
}

.wp-block-group.content-block.content-block-dark.margin-bottom {
    margin-bottom: 0px;
}

a.wp-block-button__link.wp-element-button {
    font-size: 16px;
}
    .homepage-cta-block {
        margin-left: -115px;
        padding: 10px;
		margin-top: -41px !important;
    }


/* BADGE OVERRIDE */
.hp-vendor--view-block .hp-vendor__verified-badge, 
.hp-vendor--view-page .hp-vendor__rating, 
.hp-vendor--view-page .hp-vendor__verified-badge, 
.badge-wrapper img {
    position: static !important;
	margin: 0 !important;
	color: #ff661b !important;
}

.hp-vendor--view-block .hp-vendor__verified-badge, 
.hp-vendor--view-page .hp-vendor__rating, 
.hp-vendor--view-page .hp-vendor__verified-badge {
	width: 20px !important;
}

.badge-wrapper {
    position: absolute;
    top: 350px;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

span.badge-user__label {
    font-size: 14px;
    color: #000;
}

.badge-user__item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hp-vendor__verified-badge.hp-icon.fas.fa-shield-alt,
.hp-vendor__verified-badge.hp-icon.fas.fa-circle-check {
    font-size: 20px;
}

@media screen and (max-width: 768px) {
	.tab-navigation {
    display: inline-table !important;
	}
}