.ui-tooltip {
  max-width: 200px;
}

/* Tooltip container */
.ui-tooltip {
  max-width: 200px;
  background-color: #1d2327;
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* Tooltip arrow */
.ui-tooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.error:not(.floating-links),
.notice:not(.floating-links),
.update-nag:not(.floating-links),
.notice-info:not(.floating-links) {
  display: none !important;
}

#floating-links {
  font-variant-numeric: tabular-nums;
  margin: 0;
  margin-left: -20px;
  font-size: .8125rem;
  box-sizing: border-box;
  color: rgba(26, 26, 26, 0.9);
  font-weight: 400;
  line-height: 1.5;

  .fl-free.fl-reorder-icon {
    color: #cccccc;
  }

  .fl-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 18px;
  }

  /* Hide default HTML checkbox */
  .fl-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  /* The slider */
  .fl-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .fl-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .fl-switch.fl-modal-trigger {
    .fl-slider:before {
      background-color: #9e9797;
    }
  }

  input:checked+.fl-slider {
    background-color: #1e73be;
  }

  input:focus+.fl-slider {
    box-shadow: 0 0 1px #2196F3;
  }

  input:checked+.fl-slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
  }

  /* Rounded sliders */
  .fl-slider.fl-round {
    border-radius: 9px;
  }

  .fl-slider.fl-round:before {
    border-radius: 50%;
  }

  .fl-wrapper {

    a.button.button-black,
    button.button.button-black,
    input.button.button-black,
    span.button.button-black {
      border: 1px solid #333;
      background: #333;
      color: rgba(255, 255, 255, 0.9);
      font-size: .8125rem;
      font-weight: 400;
      transition: all .3s ease;
      min-height: 10px;
    }

    a.button.button-black:hover,
    a.button.button-black:focus,
    a.button.button-black:active,
    button.button.button-black:hover,
    button.button.button-black:focus,
    button.button.button-black:active,
    input.button.button-black:hover,
    input.button.button-black:focus,
    input.button.button-black:active,
    span.button.button-black:hover,
    span.button.button-black:focus,
    span.button.button-black:active {
      box-shadow: 0 0 0 1px #fff, 0 0 0 3px #333;
    }

    .fl-header-wrapper {
      background-color: #fff;
      margin: 0 auto;

      .fl-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        height: 70px;
        box-sizing: border-box;
        background-color: #fff;
        max-width: 90%;
        margin: 0 auto;

        .fl-logo {
          margin: auto 0;
          height: 30px;
          margin-top: 23px;
        }

        .fl-header-left {
          display: flex;
          font-size: .875rem;

          .fl-header-menu {
            display: flex;
            align-items: center;
            height: 100%;
            padding: 0 20px;
            box-sizing: border-box;

            ul {
              display: flex;

              li {
                margin-bottom: 0;

                a {
                  padding: 23px 15px;
                  text-decoration: none;
                  color: rgba(26, 26, 26, 0.9);
                  height: 100%;
                  border-bottom: 4px solid transparent;
                  transition: border .3s ease-out;
                  box-sizing: border-box;
                  -moz-box-sizing: border-box;
                  -webkit-box-sizing: border-box;

                  &.active {
                    border-bottom: 4px solid #1bc975;
                  }

                  &.disabled {
                    pointer-events: none;
                    opacity: 0.5;
                  }
                }
              }
            }
          }
        }

        .fl-header-right {
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          margin-left: auto;
          gap: 15px;
          min-height: 52px;
        }
      }
    }

    .fl-content-wrapper {
      display: flex;
      max-width: 90%;
      margin: 0 auto;
      margin-top: 15px;

      @media only screen and (max-width: 768px) {
        flex-direction: column;
      }

      h3 {
        margin: 0;
        padding-bottom: 20px;
      }

      .fl-settings-box {
        width: 50%;
        padding-right: 20px;

        @media only screen and (max-width: 768px) {
          width: 100%;
          margin-bottom: 10px;
        }

        .fl-settings-wrapper {
          background: #fff;
          box-shadow: rgba(0, 0, 0, .1) 0 4px 6px -1px, rgba(0, 0, 0, .06) 0 2px 4px -1px;
          border-radius: 5px;
          transition: all 1s ease;
          display: flex;
          flex-wrap: wrap;
          justify-content: flex-start;
          flex-direction: column;
          padding: 20px 25px;

          .fl-settings-container {
            .fl-setting {
              display: flex;
              justify-content: space-between;
              padding: 15px 0;

              &:last-child {
                padding-bottom: 0;
              }

              .fl-setting-label {
                display: flex;
                font-size: .8125rem;
                font-weight: 400;
                line-height: 1.5;
                text-transform: unset;
                cursor: grab;

                .fl-reorder-icon {
                  margin-right: 10px;
                }

                .fl-tooltip {
                  cursor: pointer;
                  margin-left: 5px;
                  font-size: 16px;
                  color: #d7263d;
                  line-height: 1.2;
                }
              }

              input[type=number] {
                min-width: 104px;
              }

            }
          }

          #fl-social-icons {
            .fl-setting {
              flex-wrap: wrap;

              .fl-network-url-field {
                width: 100%;
                padding-top: 19px;
                max-width: 95%;
                display: flex;
                flex-direction: column;
              }

              small {
                padding-top: 10px;
              }
            }
          }
        }
      }

      .fl-sidebar-wrapper {
        width: 20%;
      }
    }
  }

  .fl-notification-holder {
    opacity: 0;
    position: fixed;
    padding: 13px 25px;
    background: #1bc975;
    color: #fff;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    letter-spacing: 1px;
    bottom: -100%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 99999;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__rendered::after {
    font-family: "dashicons";
    content: "";
    font-size: 16px;
    margin-right: 5px;
    margin-top: 2px;
    display: inline-flex;
    float: right;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__clear::after {
    content: "✕";
    margin-left: 5px;
  }

  .select2-container {
    min-width: 100px !important;
  }

  .select2-container .select2-results__option[title] {
    pointer-events: none !important;
  }

  .select2-container .select2-results__option[title]::after {
    content: none !important;
  }
}

@keyframes fadeIn {

  0% {

    opacity: 0;

    -webkit-transition-property: opacity;

    transition-property: opacity;

    -webkit-transition-timing-function: cubic-bezier(.19, 1, .22, 1);

    transition-timing-function: cubic-bezier(.19, 1, .22, 1)
  }


  100% {


    opacity: 1;

    -webkit-transition-duration: 1.1s;

    transition-duration: 1.1s;

    -webkit-transition-delay: .05s;

    transition-delay: .05s
  }

}


@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-timing-function: cubic-bezier(.19, 1, .22, 1);
    transition-timing-function: cubic-bezier(.19, 1, .22, 1)
  }

  100% {
    opacity: 1;
    -webkit-transition-duration: 1.1s;
    transition-duration: 1.1s;
    -webkit-transition-delay: .05s;
    transition-delay: .05s
  }
}


.fadeIn {
  animation-name: fadeIn;
  -webkit-animation-name: fadeIn;
  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
  visibility: visible !important;
}

.fl-modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1;
  height: 100%;
  width: 100%;
  margin: auto;
  overflow-y: auto;
  border-radius: 2px;
  top: 0;
  -webkit-box-shadow: 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 30%);
  box-shadow: 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 30%);
  background-color: #000;
  background-color: rgba(0, 0, 0, .4);
  animation-duration: .5s !important;
  -webkit-animation-duration: .5s !important;

  .fl-modal-content {
    display: flex;
    padding: 25px;
    width: 25%;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    -moz-box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    -webkit-box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    text-align: center;
    top: 50%;
    -webkit-transform: translate(0px, -50%);
    -moz-transform: translate(0px, -50%);
    -ms-transform: translate(0px, -50%);
    -o-transform: translate(0px, -50%);
    transform: translate(0px, -50%);

    @media only screen and (max-width: 1080px) {
      width: 45%;
    }

    .fl-modal-wraper {
      float: none;
      margin: 0 auto;
      display: table;
      padding-top: 0 !important;
      text-align: center;

      h5 {
        font-size: 40px;
        margin: 10px 0;
      }

      p {
        font-size: 15px;
        line-height: 1.8;
      }

      hr {
        padding-bottom: 10px;
      }

      .fl-lock-icon .dashicons {
        color: #ff8c00 !important;
        font-size: 50px;
        margin-bottom: 30px;
        width: 100%;
      }

      .btn {
        background: #ff8c00;
        padding: 12px 25px;
        height: auto;
        font-size: 18px;
        text-transform: capitalize;
        border-radius: 30px !important;
        color: #fff;
        text-decoration: none;
        width: auto;
        -moz-transition: all ease-in .5s;
        -ms-transition: all ease-in .5s;
        -o-transition: all ease-in .5s;
        -webkit-transition: all ease-in .5s;
        transition: all ease-in .5s;

        &:hover {
          background: #e48109;
          -moz-transition: all ease-in .5s;
          -ms-transition: all ease-in .5s;
          -o-transition: all ease-in .5s;
          -webkit-transition: all ease-in .5s;
          transition: all ease-in .5s;
        }
      }
    }
  }


  .fl-modal-footer {
    border-top: 1px solid #ccc;

    .fl-modal-close {
      float: left;
    }

    .btn-flat {
      color: #ee6e73;

      &:hover {
        color: #02acf7;
      }
    }
  }

  &.open {
    z-index: 1003;
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    top: 0 !important;
  }
}