@font-face {
  font-family: 'wadi';
  src:  url('../../fonts/wadi.eot');
  src:  url('../../fonts/wadi.eot') format('embedded-opentype'),
    url('../../fonts/wadi.ttf') format('truetype'),
    url('../../fonts/wadi.woff') format('woff'),
    url('../../fonts/wadi.svg') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.wadi_widget_icon {
  background: #e9e9e9;
  padding: 16px;
  box-shadow: inset 1px 3px 4px 3px #88888836;
  border-radius: 50%;
}
.wadi_icon_widget {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "wadi" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: #4e4e4e;
  font-size: 2.2rem;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.wadi-accordion-wadi:before {
  content: "\e900";
  color: #556068;
}
.wadi-animted-text:before {
  content: "\e901";
}
.wadi-blockquote:before {
  content: "\e902";
  color: #556068;
}
.wadi-carousel:before {
  content: "\e903";
  color: #556068;
}
.wadi-carousel-2:before {
  content: "\e904";
  color: #556068;
}
.wadi-chart:before {
  content: "\e905";
  color: #556068;
}
.wadi-chart-2:before {
  content: "\e906";
  color: #556068;
}
.wadi-content-toggle:before {
  content: "\e907";
  color: #556068;
}
.wadi-content-toggle-wadi:before {
  content: "\e908";
  color: #556068;
}
.wadi-counter:before {
  content: "\e909";
}
.wadi-dual-heading:before {
  content: "\e90a";
  color: #556068;
}
.wadi-flip-box:before {
  content: "\e90b";
  color: #556068;
}
.wadi-gallery:before {
  content: "\e90c";
}
.wadi-gallery-grid:before {
  content: "\e90d";
  color: #556068;
}
.wadi-gallery-grid-2:before {
  content: "\e90e";
  color: #556068;
}
.wadi-image-accordion:before {
  content: "\e90f";
}
.wadi-image-accordion-2:before {
  content: "\e910";
}
.wadi-image-comparison:before {
  content: "\e911";
}
.wadi-image-comparison-2:before {
  content: "\e912";
}
.wadi-info-box:before {
  content: "\e913";
  color: #556068;
}
.wadi-lottie:before {
  content: "\e914";
}
.wadi-map:before {
  content: "\e915";
  color: #556068;
}
.wadi-map-pin:before {
  content: "\e916";
  color: #556068;
}
.wadi-media-carousel:before {
  content: "\e917";
  color: #556068;
}
.wadi-modal:before {
  content: "\e918";
}
.wadi-paypal-checkout:before {
  content: "\e919";
}
.wadi-paypal-donation:before {
  content: "\e91a";
}
.wadi-paypal-subscription:before {
  content: "\e91b";
}
.wadi-popout:before {
  content: "\e91c";
}
.wadi-popup:before {
  content: "\e91d";
}
.wadi-posts:before {
  content: "\e91e";
  color: #556068;
}
.wadi-posts-2:before {
  content: "\e91f";
  color: #556068;
}
.wadi-price-list:before {
  content: "\e920";
  color: #556068;
}
.wadi-price-list-1:before {
  content: "\e921";
  color: #556068;
}
.wadi-price-list-2:before {
  content: "\e922";
  color: #556068;
}
.wadi-price-table:before {
  content: "\e923";
  color: #556068;
}
.wadi-price-table-wadi:before {
  content: "\e924";
  color: #556068;
}
.wadi-table1:before {
  content: "\e925";
}
.wadi-tabs:before {
  content: "\e926";
  color: #556068;
}
.wadi-tabs-wadi:before {
  content: "\e927";
  color: #556068;
}
.wadi-testimonial:before {
  content: "\e928";
  color: #556068;
}
.wadi-testimonial-carousel:before {
  content: "\e929";
}
.wadi-testimonial-wadi:before {
  content: "\e92a";
  color: #556068;
}
.wadi-video:before {
  content: "\e92b";
}
.wadi-video-2:before {
  content: "\e92c";
}


// @import url('./wadi-ios-switch.scss');

.wadi_addons_elements_control_container {
  // background-color: #fff;
  padding: 30px;
  margin-left: -20px;
  // .wadi_elements_items_settings {
  // }

  .wadi_elements_info {
    display: flex;
    // grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background: #fafafa;
    padding: 40px;
    border-radius: 25px;
    align-items: center;

    .wadi_section_info {
      font-size: 1.1rem;
      margin-right: 10px;
      h4 {
        font-size: 1.3rem;
      }

      p {
        font-size: 1rem;
      }
    }

    .wadi_elements_status {
      display: flex;
      .wadi_button {
        background-color: #ddd;
        color: white;
        font-size: 1.1rem;
        height: 60px;
        margin: -2px;
        border: 1px solid #ccc;
        cursor: pointer;
        font-weight: 600;
        width: 210px;

        &.wadi_button-disable {
          border-radius: 0 30px 30px 0;
          padding: 0 31px;
          &.active {
            background: #898989;
            box-shadow: inset 3.564px 1.816px 7px 0px rgb(81 81 81 / 50%);
          }
        }
        &.wadi_button-enable {
          border-radius: 30px 0 0 30px;
          padding: 0 31px;
          &.active {
            background: #00c9a9;
            box-shadow: inset 3.564px 1.816px 7px 0px rgb(81 81 81 / 50%);
          }
        }
      }
    }

    @media only screen and (max-width: 1200px) {
      .wadi_elements_status {
        display: flex;
        .wadi_button {
          width: 160px;
          &.wadi_button-disable {
            border-radius: 0;
          }
          &.wadi_button-enable {
            border-radius: 0;
          }
        }
      }
    }





  }
  @media only screen and (max-width: 768px) {
    .wadi_elements_info {
      display: flex;
      flex-direction: column;
    }

    .wadi_elements_status {
      display: flex;
      .wadi_button {
        font-size: 0.9rem;
      }
    }

  }

  .wadi-elements {
    .wadi-switchers {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 1rem;

      .wadi_element_item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f4f4f4;
        padding: 22px;
        border-radius: 20px;
        // box-shadow: inset -6px 0px 15px #ddd;
        border: 1px solid #ccc;

        .wadi_element_link {
          text-decoration: none;

          .wadi_element_link_separator {
            width: 3px;
            height: 3px;
            display: inline-block;
            text-align: center;
            color: #000000;
            background: #000000;
            -webkit-border-radius: 50%;
            border-radius: 50%;
            vertical-align: middle;
            margin: 0 3px;
          }
        }

        .switch {
          position: relative;
          display: inline-block;
          width: 44px;
          height: 24px;
          -webkit-border-radius: 12px;
          border-radius: 12px;
        }

        .switch input {
          display: none;
        }

        .wadi_addon_switcher,
        .pro_wadi_addon_switcher {
          position: absolute;
          cursor: pointer;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          /* background-color: #f2f2f2;
                            box-shadow: 0 0 2px 1px #ccc inset; */
          -webkit-transition: 0.2s;
          transition: 0.2s;
        }

        .wadi_addon_switcher:before,
        .pro_wadi_addon_switcher:before {
          position: absolute;
          content: "";
          left: 3px;
          top: 50%;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
          /* background: radial-gradient(farthest-corner at 14px 0px, #f0f0f0 50%, #cacaca 100%); */
          -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
          padding: 0;
          margin: 0;
          width: 15px;
          height: 15px;
          -webkit-border-radius: 8px;
          border-radius: 8px;
          -webkit-filter: drop-shadow(0px 5px 2.5px rgba(40, 40, 40, 0.35));
          filter: drop-shadow(0px 5px 2.5px rgba(40, 40, 40, 0.35));
          background-color: #f7f7f7;
          border: 1px solid #ffffff;
          /* box-shadow: 0 2.5px 5px #b8b8b9; */
        }

        input:checked + .wadi_addon_switcher {
          background: #00c9a9;
        }

        input:focus + .wadi_addon_switcher {
          -webkit-box-shadow: 0 0 1px #18a4fd;
          box-shadow: 0 0 1px #18a4fd;
        }

        input:checked + .wadi_addon_switcher:before {
          -webkit-transform: translate3d(20px, -50%, 0);
          transform: translate3d(20px, -50%, 0);
        }

        .wadi_addon_switcher.round,
        .pro_wadi_addon_switcher.round {
          -webkit-border-radius: 34px;
          border-radius: 34px;
          background-image: -webkit-gradient(
            linear,
            left top,
            left bottom,
            from(#cfcfcf),
            to(#dbdbdb)
          );
          background-image: -webkit-linear-gradient(
            top,
            #cfcfcf 0%,
            #dbdbdb 100%
          );
          background-image: linear-gradient(180deg, #cfcfcf 0%, #dbdbdb 100%);
        }

        .slider.round:before,
        .pro_wadi_addon_switcher.round:before {
          -webkit-border-radius: 50%;
          border-radius: 50%;
        }

        .switch input:disabled + .pro_wadi_addon_switcher::after {
          position: absolute;
          font-family: "Dashicons";
          content: "\f160";
          color: #474747;
          right: 8px;
          top: 50%;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
        }


        .wadi_element_name {
          font-size: 1.1rem;
          font-weight: 600;
          height: 60px;
          display: flex;
          align-items: center;

          .wadi_addon_pro_element {
            background: #ffcd1f;
            font-size: .8rem;
            color: #fff;
            padding: 6px;
            border-radius: 6px;
            margin-left: 6px;
          }
        }
      }
    }
  }
}

// Sweet Alert Modal Upgrade

.wadi_swal_modal {
  &.swal2-modal {
    background-color: #ffffff;
    opacity: 0.95;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #ffffff 10px ), repeating-linear-gradient( #f8f8f855, #f8f8f8 );
  }
  &.swal2-popup {
    border-radius: 30px 0;
  }

  & .swal2-confirm.swal2-styled {
    background-color: #818181;
    border-radius: 0;
  }

  & .swal2-cancel.swal2-styled {
    background-color: #00a188;
    border-radius: 0;
  }
}