#site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#site-header-inner.clr:after {
  content: none;
}

#site-navigation-wrap.icustom-site-navigation .dropdown-menu>li>a {
  line-height: 1;
}

.join-us-form .um.um-register {
  margin-left: 0 !important;
}

.um .um-form input[type="text"],
.um .um-form input[type="search"],
.um .um-form input[type="tel"],
.um .um-form input[type="password"],
.um .um-form textarea {
  border-radius: 10px;
}

.um input[type="submit"].um-button,
.um input[type="submit"].um-button:focus,
.um input[type="submit"].um-button:hover,
.um a.um-button,
.um a.um-button:hover,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active {
  background: var(--e-global-color-primary);
}

.um input[type="submit"].um-button:hover,
.um a.um-button:hover,
.um a.um-button.um-disabled:hover {
  filter: contrast(1.5);
}

.header-member {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  margin-right: 0;
}

.icustom-header-login a {
  display: inline-block;
  padding: 4px 15px;
  background: var(--e-global-color-primary);
  transition-duration: 0.4s;
  border-radius: 5px;
  color: #ffffff;
}

.icustom-header-login a:hover {
  filter: contrast(1.5);
}

.icustom-header-member {
  position: relative;
/*min-width: 160px; */
  min-width: auto;
}

.icustom-header-member-display {
  display: flex;
  gap: 5px;
  align-items: center;
  background: var(--e-global-color-primary);
  padding: 4px 15px;
  transition-duration: 0.4s;
  border-radius: 5px;
  color: #ffffff;
}

.icustom-header-member-display__avatar img {
  border-radius: 50%;
}

a.icustom-header-member-display:hover {
  filter: contrast(1.5);
  color: #ffffff;
}

ul.icustom-header-member-dropdown {
  position: absolute;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  z-index: 9;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 1px;
  display: none;
}

.icustom-header-member.is-active ul.icustom-header-member-dropdown {
  display: block;
}

ul.icustom-header-member-dropdown>li>a {
  display: block;
  padding: 8px 10px;
  color: #ffffff;
  background: var(--e-global-color-primary);
  border-bottom: 1px solid #ffffff;
  line-height: 1.2;
}

ul.icustom-header-member-dropdown>li:last-child>a {
	border: 0;
}

ul.icustom-header-member-dropdown>li>a:hover {
  filter: contrast(1.5);
  color: #ffffff;
}

ul.icustom-member-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.page-template-my-profile #main #content-wrap {
  padding-top: 30px;
}

.icustom-member-menu-item {
  width: calc(25% - 10px);
}

a.icustom-member-menu-item__link {
  display: block;
  text-align: center;
  background: var(--e-global-color-primary);
  border: 1px solid var(--e-global-color-primary);
  color: #ffffff;
  padding: 4px;
  border-radius: 4px;
  font-size: 18px;
}

a.icustom-member-menu-item__link:hover {
  filter: contrast(1.5);
  color: #ffffff;
}

a.icustom-member-menu-item__link.is-active {
  background: #ffffff;
  color: var(--e-global-color-primary);
}

.icustom-my-profile {
  margin-top: 20px;
}

.icustom-my-profile__name {
  font-size: 28px;
  font-weight: bold;
  padding-left: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--e-global-color-primary);
}

.icustom-my-profile-company {
  margin-top: 20px;
  padding-left: 30px;
  display: flex;
  gap: 10px;
}

.icustom-my-profile-company-left {
  width: 300px;
  flex-basis: 300px;
}

.icustom-my-profile-company-left {
  width: 600px;
  flex-basis: 300px;
}

.icustom-my-profile-company-item__label {
  display: inline-block;
  font-weight: bold;
  color: var(--e-global-color-primary);
}

.icustom-my-profile-company-item__value {
  display: inline-block;
  margin-left: 4px;
}

.icustom-my-profile-company-item__value--active {
  font-weight: bold;
}

.icustom-my-profile-company-contact {
  margin-top: 20px;
  padding-left: 50px;
}

ul.icustom-my-profile-company-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
}

.icustom-my-profile-company-contact-item i {
  color: var(--e-global-color-primary);
  margin-left: 5px;
}

.icustom-my-profile-company-profile {
  font-size: 28px;
  font-weight: bold;
  padding-left: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--e-global-color-primary);
}

.icustom-my-profile-company-description {
  margin-top: 10px;
  padding-left: 30px;
}

.icustom-member-wrapper {
  margin-top: 30px;
}

.icustom-member-content {
  padding: 0 30px;
}

.icustom-member-content-form--member-search {
  max-width: 400px;
  margin: auto;
}

.icustom-member-content-form--member-search .um-field-label {
  display: none;
}

.icustom-member-content-form-input input {
  width: 100%;
  border: none;
  outline: none;
  display: block;
  height: 40px;
  padding: 0 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #999;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #999;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #999;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #999;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #999;
}

::placeholder {
  /* Most modern browsers support this now. */
  color: #999;
}

.um-search-filter .select2.select2-container .select2-selection,
.um-field .select2.select2-container .select2-selection {
  border-radius: 8px !important;
}

.um-field {
  padding: 10px 0 0 0;
}

.icustom-member-content-form-submit {
  margin-top: 10px;
}

.btn-search-member {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: var(--e-global-color-primary);
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
}

.btn-search-member:hover {
  color: #ffffff;
  filter: contrast(1.5);
}

.icustom-member-title {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
  padding-left: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--e-global-color-primary);
}

body.template-member #main {
  background: #f3f3f3;
}

.icustom-member__block {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.icustom-member-search-result-content {
  display: none;
}

.icustom-member-search-result-content.is-active {
  display: block;
}

.icustom-member-search-result th {
  font-weight: bold;
  color: var(--e-global-color-primary);
}

.icustom-member-search-result img {
  max-height: 60px;
}

.icustom-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: red;
  margin: auto;
}

.icustom-status.status-active {
  background-color: green;
}

.icustom-member-search-result th,
.icustom-member-search-result td {
  text-align: center;
  vertical-align: middle;
}

.icustom-member-search-result a {
  font-weight: bold;
  color: #000000;
}

.icustom-member-search-result__profile {
  width: 120px;
}

.icustom-member-content__form-news-submission .nf-form-fields-required {
  display: none;
}

.icustom-member-content__form-news-submission .nf-form-content {
  max-width: 100%;
}

.icustom-member-content__form-news-submission .file_upload-wrap button.btn,
.icustom-member-content__form-news-submission .submit-wrap .ninja-forms-field {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--e-global-color-primary);
  color: #ffffff;
}

.icustom-member-content__form-news-submission .file_upload-wrap button.btn:hover,
.icustom-member-content__form-news-submission .submit-wrap .ninja-forms-field:hover {
  filter: contrast(1.5);
}

.icustom-member-content__form-news-submission .nf-form-content textarea.ninja-forms-field {
  border-radius: 10px;
}

.icustom-member-content__form-news-submission .submit-wrap .nf-field-element {
  text-align: right;
}

.icustom-member-download-item {
  padding: 8px 15px;
  border-radius: 8px;
  background: #f3f3f3;
  margin-bottom: 10px;
}

.icustom-form--quote-system {
  display: flex;
  justify-content: space-between;
}

.icustom-form--quote-system>div {
  width: calc(25% - 20px);
}

.icustom-form--quote-system .um-field {
  padding-top: 0;
}

.icustom-form--quote-system .um-field-label {
  display: none;
}

.icustom-form--quote-system-input input {
  width: 100%;
  border: none;
  outline: none;
  display: block;
  height: 40px;
  padding: 0 0 0 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.icustom-form--quote-system-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: var(--e-global-color-primary);
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
}

.icustom-form--quote-system-search__btn:hover {
  color: #ffffff;
  filter: contrast(1.5);
}

.icustom-member-content-quote-selector {
  margin-top: 20px;
}

.icustom-member-content-quote-selector table {
  margin-bottom: 0;
}

.icustom-member-content-quote-selector th,
.icustom-member-content-quote-selector td {
  text-align: center;
  border: 1px solid #ccc;
}

.icustom-member-content-quote-selector th {
  color: var(--e-global-color-primary);
  font-weight: bold;
}

.icustom-member-content-quote-selector-company__checkbox {
  width: 60px;
}

.icustom-member-content-quote-selector {
  display: flex;
  gap: 20px;
}

.icustom-member-content-quote-selector-company {
  width: 60%;
}

.icustom-member-content-quote-selector-selected {
  width: 40%;
}

.icustom-member-content-quote-form-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 5px 0;
}

.icustom-member-content-quote-form-item {
  width: 100%;
}

.icustom-member-content-quote-form-row-submit {
  display: flex;
  padding: 5px 0;
  justify-content: flex-end;
}

.icustom-member-content-quote-form form input[type="text"],
.icustom-member-content-quote-form form input[type="email"],
.icustom-member-content-quote-form form input[type="submit"],
.icustom-member-content-quote-form form textarea {
  border-radius: 8px;
}

.icustom-member-content-quote-form form textarea {
  min-height: 100px;
}

.icustom-member-content-quote-form {
  display: none;
  margin-top: 20px;
}

.icustom-member-content-quote-form.is-active {
  display: block;
}

.icustom-employee-edit form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.icustom-employee-edit-item {
  padding: 5px;
  border-bottom: 1px solid #cccccc;
}

.icustom-employee-edit-new form>dev {
  flex-grow: 1;
}

.employee-profile-file {
  display: none;
}

.icustom-employee-edit {
  max-width: 800px;
  margin: auto;
}

.icustom-employee-edit-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.icustom-employee-edit-item__profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--e-global-color-primary);
  overflow: hidden;
}

.icustom-employee-edit-item__profile {
  position: relative;
  min-width: 60px;
}

.icustom-employee-edit-item__profile a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  display: none;
}

.icustom-employee-edit-item__profile:hover a {
  display: flex;
}

.icustom-employee-edit form input[type="text"],
.icustom-employee-edit form input[type="email"] {
  background: #ffffff;
  border-radius: 8px;
}

.icustom-employee-edit form input[type="submit"] {
  border-radius: 8px;
}

.icustom-employee-edit form input[type="text"]:focus,
.icustom-employee-edit form input[type="email"]:focus {
  border-color: var(--e-global-color-primary);
}

.icustom-employee-edit-item__submit {
  display: flex;
  gap: 5px;
  align-items: center;
}

body input[type="submit"].icustom-employee-btn-update,
body input[type="submit"].icustom-employee-btn-new {
  background-color: #198754;
}

body input[type="submit"].icustom-employee-btn-update:hover,
body input[type="submit"].icustom-employee-btn-new:hover {
  background-color: #198754;
  filter: contrast(1.5);
}

.icustom-member__personal {
  margin-top: 20px;
}

.icustom-employee-view {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.icustom-employee-view-item {
  width: calc(50% - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
  gap: 3px;
}

img.icustom-employee-view-item-profile__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid var(--e-global-color-primary);
  overflow: hidden;
}

.icustom-my-profile-edit-button {
  float: right;
  background: #cd191e;
  color: #fff;
  padding: 5px 15px;
  font-size: 20px;
}

.icustom-my-profile-edit-button:hover {
  background: #4a4a4a;
  color: #fff;
}

/* .um-field-company_enrollment[data-key="company_enrollment"] {
  display: none !important;
}

.um-field-company_expire[data-key="company_expire"] {
  display: none !important;

} */

.um-profile-body .um-field[data-key="company_enrollment"],
.um-profile-body .um-field[data-key="company_expire"] {
  display: none !important;
}

/* adjust custom */

a:focus {
    outline: none !important;
}
#site-navigation-wrap {
	float: right;
	position: relative;
	right: 0;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 20px;
}
#site-navigation-wrap .menu-item-has-children>a {
	color: #000!important;
}
#site-navigation-wrap #menu-main-menu>li>a { 
	padding: 15px;
}

