/**
 * All of the CSS for the public-facing CSS source
 * for the MODEC motor model's specs.
 */

a:-webkit-any-link:not(.ct-link-button) {
  color: var(--color-primary);
}
a:-webkit-any-link:not(.font-semibold) {
  font-weight: 700;
}

.modec-menu-sublink:hover {
  color: var(--color-primary) !important;
}
.sub-menu-1:hover::before {
  color: var(--color-primary) !important;
}
/*a.modec-button-white:-webkit-any-link {
  color: var(--color-background);
}*/
/* a.modec-button-white:-webkit-any-link:hover {
  color: var(--color-primary);
} */
a.footer-link:-webkit-any-link {
  color: var(--color-text);
}
a.footer-link:-webkit-any-link:hover {
  color: var(--color-primary);
}

/* 
  Menu
*/
.modec-megamenu-item:hover
  .modec-megamenu-submenu:not(.modec-megamenu-submenu-right),
.modec-megamenu-submenu:hover:not(.modec-megamenu-submenu-right) {
  left: 0;
}
.modec-megamenu-item:hover .modec-megamenu-submenu-right,
.modec-megamenu-submenu-right:hover {
  right: 0;
}

/*
  Pages Page /motor/{slug}
 */
body.motor-template-default div.modec-toggle-content {
  display: flex !important;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity, 0.2s ease-in-out;
}
body.motor-template-default
  div.oxy-toggle[class*="expanded"]
  + .modec-toggle-content {
  max-height: 550px;
  opacity: 1;
}

/* 
  Page /air-motors
*/
body.page-id-425 div.modec-power-range-item.power-range-05 {
  --color-motor: var(--color-power-range-05);
}
body.page-id-425 div.modec-power-range-item.power-range-07 {
  --color-motor: var(--color-power-range-07);
}
body.page-id-425 div.modec-power-range-item.power-range-08 {
  --color-motor: var(--color-power-range-08);
}
body.page-id-425 div.modec-power-range-item.power-range-10 {
  --color-motor: var(--color-power-range-10);
}
body.page-id-425 div.modec-power-range-item.power-range-20 {
  --color-motor: var(--color-power-range-20);
}
body.page-id-425 div.modec-power-range-item.power-range-25 {
  --color-motor: var(--color-power-range-25);
}
body.page-id-425 div.modec-power-range-item.power-range-30 {
  --color-motor: var(--color-power-range-30);
}
body.page-id-425
  div.modec-power-range-item
  div.oxy-expand-collapse-icon::before,
body.page-id-425
  div.modec-power-range-item
  div.oxy-expand-collapse-icon::after {
  background-color: var(--color-motor) !important;
}
body.page-id-425 div.modec-power-range-item div.oxy-toggle-content {
  border-bottom: 2px solid var(--color-motor);
}
body.page-id-425 div.modec-power-range-item div.modec-toggle-content {
  display: flex !important;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity, 0.2s ease-in-out;
}
body.page-id-425 div.oxy-toggle[class*="expanded"] + .modec-toggle-content {
  max-height: 400px;
  opacity: 1;
}

/*
  Contact form
*/
div.contact-form-field.acf-field-text,
div.contact-form-field.acf-field-email,
div.contact-form-field.acf-field-select {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

div.contact-form-field.acf-field-text div.acf-label,
div.contact-form-field.acf-field-email div.acf-label,
div.contact-form-field.acf-field-select div.acf-label {
  min-width: 150px;
}

div.contact-form-field.acf-field-text div.acf-input,
div.contact-form-field.acf-field-email div.acf-input,
div.contact-form-field.acf-field-select div.acf-input {
  flex-grow: 1;
}

@media only screen and (max-width: 768px) {
  div.contact-form-field {
    width: 100% !important;
  }
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
  border-radius: 10px;
}

body::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.33, var(--color-primary)),
    /*color-stop(0.5, #004d6d),*/ color-stop(0.66, var(--color-primary))
  );
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.hide-old-images {
  display: none !important;
}

.oxy-gallery-flex .oxy-gallery-item-contents {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  margin: 0;
  background-position: center center !important;
  max-width: 460px;
  max-height: 280px;
  margin: auto !important;
}

#_gallery-50-3528.oxy-gallery-flex .oxy-gallery-item-sizer {
  padding-bottom: 210px !important;
  position: relative;
}

.pswp__img {
  background: #f0f0f0;
}

b,
strong {
  font-weight: bold !important;
}

.ct-section-inner-wrap .oxy-stock-content-styles ul {
  display: inline-block;
  margin-top: 0;
}

.modec-card-title-link {
  margin-bottom: 0px !important;
  color: #374047 !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  display: flex !important;
  align-items: flex-start !important;
  transition: color 0.2s ease 0s;
}

.modec-card-title-link:hover {
  color: var(--color-primary) !important;
  transition: color 0.2s ease 0s;
}

mark {
  color: #fff !important;
  background-color: var(--color-primary) !important;
  padding: 0 4px;
  font-weight: 600 !important;
  border-radius: 15px;
  transition: all 0.33s ease 0s;
}

* a span.chip.has-mark,
* span.chip.has-mark {
  padding: 0 !important;
  transition: all 0.33s ease 0s;
}

* a span.chip.has-mark:hover {
  background-color: white !important;
  transition: all 0.33s ease 0s;
}
* a span.chip.has-mark:hover mark {
  opacity: 0.8 !important;
  transition: all 0.33s ease 0s;
}
*:not(.has-mark) mark {
  /*border: 2px solid rgb(220, 220, 220) !important;*/
}
span.has-mark {
  border: 2px solid rgb(220, 220, 220) !important;
}

/*Breadcrumb*/
.breadcrumbs {
  margin-top: 0.5em;
  margin-bottom: 2em;
}
.breadcrumbs a.breadcrumb-item {
  font-size: 0.7em;
  font-weight: 600 !important;
  color: #37404786 !important;
}
.breadcrumbs a.breadcrumb-item:hover,
.breadcrumbs a.breadcrumb-item:hover + .breadcrumb-separator {
  color: var(--color-primary) !important;
}
.breadcrumbs span.breadcrumb-separator {
  color: #37404786 !important;
  font-size: 0.7em;
  margin: 0 5px 0 0 !important;
  font-weight: 600;
}
.table-container {
  margin-bottom: 10px;
}

.scroll-table {
  overflow-x: auto;
}

.scroll-table::-webkit-scrollbar, .my-modec-team-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #eee;
}

.scroll-table::-webkit-scrollbar-thumb, .my-modec-team-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.33, var(--color-primary)),
    /*color-stop(0.5, #004d6d),*/ color-stop(0.66, var(--color-primary))
  );
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}
.scroll-table::-webkit-scrollbar-track, .my-modec-team-list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #eee;
  border-radius: 10px;
}

.swal2-content {
  padding: 0 !important;
}
#swal2-content {
  display: block !important;
  word-wrap: break-word !important;
  white-space: pre-line !important;
  text-align: left !important;
}

/*.swal2-popup {
  font-size: 12px !important;
}*/

.modec-actuator-grid-item {
  max-width: 24% !important;
}
@media only screen and (max-width: 1080px) {
  .modec-actuator-grid-item {
    max-width: 32% !important;
  }
}
@media only screen and (max-width: 768px) {
  .modec-actuator-grid-item {
    max-width: 49% !important;
  }
}
@media only screen and (max-width: 480px) {
  .modec-actuator-grid-item {
    max-width: unset !important;
  }
}

@media only screen and (max-width: 768px) {
  .unslider-wrap li {
    height: unset !important;
  }
}

.ct-image {
  max-width: 100%;
  height: auto;
}

#cookie-logo {
  background-repeat: no-repeat !important;
}
/*LiteSpeed LazyLoading FadeIn effect*/
/* PART 1 - Before Lazy Load */
img[data-lazyloaded] {
  opacity: 0;
}
/* PART 2 - Upon Lazy Load */
img.litespeed-loaded {
  -webkit-transition: opacity 0.5s linear 0.2s;
  -moz-transition: opacity 0.5s linear 0.2s;
  transition: opacity 0.5s linear 0.2s;
  opacity: 1;
}

/*Outline Fix*/
* {
  outline: none !important;
}

#_header-213-39,
#_header-213-39.oxy-header-wrapper.oxy-header.oxy-sticky-header.oxy-sticky-header-active,
.cky-consent-bar {
  max-width: 100vw !important;
}

div[data-id="div_block-6618-8128"] {
  position: relative !important;
}

.user-thumbnail {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.user-thumbnail.menu-mobile {
  width: 100%;
  gap: 10px;
}

.user-name span{
  text-transform: capitalize;
  font-weight: 600;
  color: rgb(32, 32, 32) !important;
  font-size: 14px;
}

.user-thumbnail .user-logout{
  font-weight: 400;
  color: var(--color-primary) !important;
  font-size: 12px;
  letter-spacing: 0.25px;
}
.user-thumbnail .user-account{
  font-weight: 400;
  color: var(--color-primary) !important;
  font-size: 11px;
  letter-spacing: 0.25px;
}

.user-avatar, .user-avatar a{
  position: relative;
  display: inline-block;
}

.user-avatar a span{
  left: 50%;
  bottom: 8px;
  transform: translate(-50%, 0);
  position: absolute;
  text-transform: capitalize;
  font-weight: 600;
  color: rgb(255, 255, 255) !important;
  font-size: 12px;
  text-shadow: 0px 0px 5px #000;
}

.user-thumbnail .infos{
  display: flex;
  flex-direction: column;
}

.user-thumbnail.menu-mobile .infos{
  flex-grow: 1;
}


.user-avatar img {
  border-radius: 50%;
  width: 40px; /* Adjust as needed */
  height: 40px; /* Adjust as needed */
  /*margin-right: 10px;*/
  border-color: var(--color-primary);
  border-width: 2px;
  border-style: solid;
  object-fit: cover;
  object-position: center center;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 100px;
  z-index: 1;
  top: 50px;
  padding-top: 5px;
  right: 14px;
  background: white;
}

.dropdown-content-inner {
  height: 100%;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  color: #333 !important;
  padding: 5px 8px;
  display: inline-block;
  text-decoration: none;
}

.dropdown-content a:hover {
  /*background-color: #f9f9f9;*/
  color: var(--color-primary) !important;
}

.user-thumbnail:hover .dropdown-content {
  display: block;
}

.team {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
  overflow: visible;
  padding: 10px;
}

.team::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
  border-radius: 10px;
}

.team::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}

.team::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.33, var(--color-primary)),
    /*color-stop(0.5, #004d6d),*/ color-stop(0.66, var(--color-primary))
  );
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}


.team .user-card {
  margin-top: 0px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  box-shadow: 0px 2px 10px 1px rgba(0,0,0,.1);
  width: 100%;
  padding: 5px;
  align-items: center;
  gap: 10px;
}

.team .user-card .user-name {
  text-transform: capitalize;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.team .user-card .user-position {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-size: 12px;
  font-weight: 200;
  opacity: .5;
}

.team .user-card .user-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team .user-card .user-avatar img {
  width: 80px; /* Adjust as needed */
  height: 80px; /* Adjust as needed */
}
.team .user-card .user-avatar svg {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 0px;
  left: 0px;
  fill: var(--color-primary);
  /*filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.8));*/
  background-color: transparent;
}
.team .user-card .user-avatar svg.bg {
  position: absolute;
  width: 24px;
  height: 24px;
  top: -3px;
  left: -3px;
  fill: white;
  background-color: transparent;
}

.team .user-card .user-content {
  display: flex;
  flex-direction: column;
}/*
.team .user-card .user-content .user-mail {
  margin-top: 10px !important;
}*/
.team .user-card .user-content .user-phone,
.team .user-card .user-content .user-mail {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  /*position: relative;*/
}

.team .user-card .user-content .user-phone svg,
.team .user-card .user-content .user-mail svg {
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
  background-color: transparent;
}
.team .user-card .user-content .user-phone a,
.team .user-card .user-content .user-mail a {
  color: var(--color-paragraph);
  font-size: 12px;
}
.team .user-card .user-content .user-phone a:hover,
.team .user-card .user-content .user-mail a:hover {
  color: var(--color-primary);
}
#user-profile-update-form{
  height: 100%;
}
/*#user-profile-update-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#user-profile-update-form label {
  display: block;
  margin-bottom: 5px;
}

#user-profile-update-form input[type="submit"] {
  margin-top: 10px;
}

#user-profile-update-form img {
  width: 80px; 
  height: 80px; 
  margin-right: 10px;
  border-color: var(--color-primary);
  border-width: 2px;
  border-radius: 50%;
  border-style: solid;
  object-fit: cover;
  object-position: center center;
}

.profile-field {
  clear: both;
  width: 100%;
  padding: 5px;
}

.profile-field.user-profile-picture {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-field.user-profile-picture .inner {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.profile-field.user-profile-picture label {
  width: 100%;
}

.profile-field.col-50 {
  width: 40%;
  flex-grow: 1;
}*/
.user-profile-form img {
  width: 175px; 
  height: 175px; 
  border-color: var(--color-primary);
  border-width: 2px;
  border-radius: 50%;
  border-style: solid;
  object-fit: cover;
  object-position: center center;
}
.user-profile-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 20px;
  justify-content: space-between;
}
.user-password-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 5px;
  justify-content: space-between;
}
.user-password-form .field-container{
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.user-password-form .form-group.row{
  padding-bottom: 0px;
}
.user-password-form .form-group.submit{
  padding-bottom: 0px !important;
}
.user-profile-form .left-col .inner{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.user-profile-form .right-col {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
  align-content: flex-start;
  width: calc(100% - 200px);
  flex-direction: row !important;
  padding: 0 !important;
}

@media only screen and (max-width: 600px) {
  /*Small smartphones [325px -> 425px]*/
  .user-profile-form .left-col, .user-profile-form .right-col, .user-profile-form .form-group {
    width: 100% !important;
  }
  .user-profile-form .form-group {
    max-width: 100% !important;
  }

}
.user-profile-form .form-group {
  width: 40%;
  max-width: 50%;
  flex-grow: 1;
}
.user-profile-form .form-group.image {
  margin-bottom: .5rem;
  width: 100%;
  max-width: 100%;
  
  
}
.user-profile-form .form-group.submit {
  margin-top: 0px;
  width: 100%;
  max-width: 100%;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.user-password-form .form-group.submit {
  margin-top: 0px;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
/*
.user-profile-form .form-group.image .inner{
  display: flex;
  flex-direction: row;
  align-items: center;
}*/
.user-profile-form .form-group.image .inner .inner-inner{
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
}

.user-profile-form .form-group.image .inner .inner-inner button{
  width: fit-content !important;
}
.user-profile-form .form-group.image .inner .inner-inner span{
  font-size: 12px;
  font-style: italic;
  position: absolute;
  bottom: -30px;
  opacity: .5;
}

.user-profile-form label, .user-password-form label{
  font-weight: lighter;
  font-size: 14px;
}

.user-profile-form input[type="file"] {
  display: block;
  width: 100%;
  /*height: calc(1.5em + 0.75rem + 2px);*/
  /*padding: 0.375rem 0.75rem;*/
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: transparent;
  /*background-clip: padding-box;*/
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.user-profile-form input[type="text"],
.user-profile-form input[type="email"],
.user-profile-form input[type="tel"],
.user-password-form input[type="password"]
 {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.user-profile-form input[type="email"] {
  cursor: not-allowed;
}

.user-profile-form .btn-primary,
.user-password-form .btn-primary {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.375rem 0.75rem;
  font-size: 12px;
  font-family: 'Source Sans Pro';
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-decoration: none;
  border-radius: 20px;
  cursor: pointer;
}

.img-thumbnail-container{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.edit-image-icon{
  display: none;
  pointer-events: none;
}

#image-preview:hover{
  cursor: pointer;
  filter: brightness(.75);
  transition: all .2s ease 0s;
}
#image-preview:hover + .edit-image-icon, .edit-image-icon:hover{
  display: block !important;
  position: absolute;
  height: 20px;
  width: 20px;
  top: 50%;
  left: 50%;
  fill: white;
  transform: translate(-50%, -50%);
}
.distributor-main-title, .my-team-main-title,.sales-rep-main-title, .events-main-title,.update-profile-main-title,.update-password-main-title{
  font-weight: 600;
}
.my-team-main-title{
  padding-left: 20px;
  padding-right: 20px;
}
.distributor-infos-wrapper > img{
  max-height: 64px;
}
.distributor-infos-wrapper{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
.distributor-title{
  margin-top: 1em;
  margin-bottom: 1em;
  width: fit-content;
  padding-top: .5em;
  padding-bottom: .5em;
  border-right-width: 0px;
  border-left-width: 0px;
  border-top-width: 2px;
  border-bottom-width: 2px;
  border-style: solid;
  border-color: var(--color-primary);
  margin-left: auto;
  margin-right: auto;
}
.distributor-infos{
  padding-inline-start: 0 !important;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  gap: 15px;
}
.distributor-infos li{
  display: flex !important;
  flex-direction: row;
  list-style: none;
  align-items: center;
  gap: 10px;
}

.distributor-infos li svg{
  width: 14px;
  height: 14px;
  fill: var(--color-primary);
  background-color: transparent;
}
.distributor-infos li a, .distributor-infos li p{
  font-size: 12px;
  color: var(--color-paragraph) !important;
}
.distributor-infos li a:hover{
  color: var(--color-primary) !important;
}

#_header_row-22-38 .oxy-header-container,
#_header_row-23-27966 .oxy-header-container{
  max-width: 1450px !important;
}
#_header_row-22-38 .oxy-header-container .oxy-header-center{
  margin-right: 125px !important;
}
#_header_row-23-27966 .oxy-header-container .oxy-header-center{
  margin-right: 210px !important;
}

@media only screen and (max-width: 1200px){
  /*Tablets [601px -> 1200px]*/
}
@media only screen and (max-width: 600px){
/*Big smartphones [426px -> 600px]*/
#_header_row-22-38 .oxy-header-container,
#_header_row-23-27966 .oxy-header-container{
  padding-left: 5px;
  padding-right: 5px;
}
body #_header_row-22-38 .oxy-header-container .oxy-header-center,
body #_header_row-23-27966 .oxy-header-container .oxy-header-center{
  margin-right: 5px !important;
}
}
@media only screen and (max-width: 425px){
/*Small smartphones [325px -> 425px]*/
}

.submit-icon-button{
  border-radius: 20px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Source Sans Pro';
  display: flex !important;
  gap: 10px;
  min-height: 40px;
  align-content: center;
  width: fit-content !important;
  background-color: var(--color-primary);
  padding-left: 15px;
  padding-right: 10px;
  margin: auto;
  transition: all .2s ease 0s;
}

.submit-icon-button:hover{
  filter: brightness(1.1);
  transform: scale(1.025);
  transition: all .2s ease 0s;
}
.submit-icon-button:hover, .submit-icon-button input[type="submit"]:hover, .submit-icon-button svg:hover{
  cursor: pointer;
}

.submit-icon-button svg{
  color: white !important;
  fill: white !important;
  stroke: white !important;
  height: 24px;
  width: 24px;
}
.submit-icon-button input[type="submit"]{
  background: transparent !important;
  font-family: "Source Sans Pro";
  font-size: 14px;
  font-weight: 600;
  color: white;
  border: none !important;
}