/* 
Theme Name: Bemarketing - Hello
Theme URI: https://github.com/elementor/hello-theme/
Description: Barebones theme to be used along with elementor.
Author: Bemarketing
Author URI: https://bemarketing.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/** WP Button **/

.wp-element-button{
	fill: var(--e-global-color-secondary);
    color: var(--e-global-color-secondary) !important;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
	border-radius: 6px;
	border-color: var(--e-global-color-accent);
	background-color: var(--e-global-color-accent);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
	padding: 12px 24px;
	text-align: center;
    transition: all .3s;
}

.wp-element-button:hover{
	background-color: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
}

/* 
 * Gravity Forms Styles
*/

/* Form Title */
.gform_wrapper .gform_heading .gform_title {
  font-size: 1.5em;
}

/* Gfrom Wrapper */
body .gform_wrapper {
  background: #0000000a;
  border: none;
  border-radius: 3px;
  padding: 20px;
}

/* Field Labels */
.gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
  display: block;
}

/* Input, text area, and drop down field Styles */
.gform_wrapper .gform_body .gform_fields .gfield input[type="text"],
select,
textarea {
  border: 1px solid #e0e0e0;
  box-shadow: inset 0px 1px 4px 0px #0a0a0a1c;
}
.gform_wrapper .gform_body .gform_fields .gfield input[type="text"]:focus,
select:focus,
textarea:focus {
  border: 1px solid #e0e0e0;
  box-shadow: inset 0px 1px 4px 0px #8888881c;
}

/* Checkbox list */
.gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox {
  /* Add Styles as needed */
}

/* Submit Button */
.gform_wrapper .gform_footer input[type="submit"] {
  border: none;
}
.gform_wrapper .gform_footer input[type="submit"]:hover {
  background: #000;
}

/** Filter Bar Styling **/
.directory-filter-bar {
  margin-bottom: 20px;
}
.directory-filter-bar form {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.directory-filter-bar form .form-control label {
  font-size: 14px;
  margin-bottom: 5px;
}

.directory-filter-bar form .form-control input, .directory-filter-bar form .form-control select {
  padding: 5px;
  font-size: 14px;
  height: 30px;
  border-radius: 4px;
	border-color: #1D325A;
}

.directory-filter-bar form .form-control button {
  height: 30px;
  width: 100%;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  border-radius: 4px;
}

.directory-filter-bar form .form-control {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/** Table styling **/

.custom-acf-table tbody {
  background-color: #fff;
}

.custom-acf-table th,
.custom-acf-table .views-link {
  text-wrap: nowrap;
}

.custom-acf-table th,
.custom-acf-table td {
  font-size: 16px;
  text-align: left;
}

.custom-acf-table td:first-child {
  width: 300px;
  max-width: 300px;
}
.custom-acf-table td:first-child a {
  color: var(--e-global-color-accent) !important;
}

.custom-acf-table tr:nth-child(odd):hover td {
  background-color: hsla(0, 0%, 50.2%, 0.0705882353);
}

.custom-acf-table tr:nth-child(even):hover td {
  background-color: #fff;
}

.directory-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .custom-acf-table th,
  .custom-acf-table .view-link {
    text-wrap: wrap;
  }
  .custom-acf-table td:first-child {
    width: 200px;
    max-width: 200px;
  }
}

@media (max-width: 540px) {
  .custom-acf-table td:first-child {
    width: 100%;
    max-width: 100%;
  }
  .custom-acf-table th {
    display: none;
  }
  .custom-acf-table td {
    display: block;
    padding: 0.5rem 1rem;
    border: none;
  }
  .custom-acf-table td:first-child {
    padding-top: 2rem;
  }
  .custom-acf-table td:last-child {
    padding-bottom: 2rem;
  }
  .custom-acf-table td::before {
    content: attr(data-cell) ": ";
    text-transform: capitalize;
    font-weight: 700;
  }
}

/** End Table styling **/
