@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&family=Cormorant+Garamond:wght@500&family=Dancing+Script:wght@500&family=Indie+Flower&family=Open+Sans&family=Oswald&family=Permanent+Marker&family=Playfair+Display&display=swap');

//--------------------------------------------------------------------

body,
html,
#root,
#app {
  min-height: 100%;
}

body {
  width: 100%;
  background-color: #eaeaea;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 22px;
  font-size: 14px;
  user-select: none;
  overflow-y: hidden;
}

body * {
  box-sizing: border-box;
}

#app {
  text-align: center;
  position: relative;
}

#app, #root {
  min-height: 100vh;
  height: 100%;
}

p {
  margin-top: 0;
}

select {
  appearance: none;
  color: #333;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #e4e4e4;
  border-radius: 6px;
  cursor: pointer;
  height: 30px;
  background-image: url('/icons/caret-down.svg');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 6px;
  padding-left: 5px;
  padding-right: 20px;
  position: relative;
}


//--------------------------------------------------------------------


.sbar::-webkit-scrollbar{
  width: 8px;
}
.sbar {
  scrollbar-width: thin;
  scrollbar-color: #c9c9c9 #e4e4e4;
}
.sbar::-webkit-scrollbar-track{
  background: #e4e4e4;
}
.sbar::-webkit-scrollbar-thumb{
  background-color: #c9c9c9;
  border-radius: 3px;
}


//--------------------------------------------------------------------


header {
  z-index: 3;

  .menu {

    button {
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: center center;
      padding: 0;
      width: 32px;
      height: 32px;
      cursor: pointer;
      border: 2px solid #000;
      border-radius: 50%;
      clear: both;
      opacity: 0.6;
      margin-left: 20px;

      &.close{
        background-color: #000;

        svg {
          fill: #fff;
        }
      }

      &:hover {
        opacity: 1;
      }

      img,
      svg {
        width: 12px;
        height: 12px;
      }

      &.disabled {
        opacity: 0.2;
      }

    }
  }

  .floating-menu {
    left: auto;
    bottom: auto;
    right: 65px;
    top: 71px;
  }
}


//--------------------------------------------------------------------


.canvas-holder {
  z-index: 0;
}


//--------------------------------------------------------------------


.toolbar {
  z-index: 2;
  position: absolute;
  left: 0;
  top: 71px;
  // height: calc(100% - 91px);
  // height: 100%;
  min-height: calc(100% - 71px);
}

.toolpanel {
  // position: fixed;
  position: absolute;
  z-index: 1;
  top: 70px;
  left: -300px;
  height: calc(100% - 70px);
  box-shadow: 0 0 2px 0 rgba(50, 50, 50, 0.25);

  &.visible {
    left: 63px;
  }

  .minimizer {
    box-shadow: 1px 0 2px 0 rgba(50, 50, 50, 0.1);
  }

  button {
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;

    &:hover {
      border-color: #555;
    }

    img,
    svg {
      opacity: 0.7;
      width: 18px;
      height: 18px;
      vertical-align: middle;

      &:hover {
        opacity: 1;
      }
    }
  }
}

//--------------------------------------------------------------------


.bottom-info {
  font-size: 13px;
  color: #999;
  position: fixed;
  right: 20px;
  bottom: 20px;
  line-height: 18px;

  img,
  svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    opacity: 0.4;
  }

  select {
    width: 70px;
  }
}


//--------------------------------------------------------------------


.chrome-picker {
  background-color: transparent !important;
  box-shadow: unset !important;
  font-family: 'Open Sans' !important;

  .flexbox-fix div:nth-child(2) > div:nth-child(2) {
    border: 1px solid #eee;
  }
}


//--------------------------------------------------------------------


.tabs {
  margin-top: 22px;

  .tablist {
    margin-bottom: 15px;
  }

  .tablist .button {
    font-size: 13px;

    &.active {
      color: #555;
    }
  }
}


//--------------------------------------------------------------------

#wpcontent {
  padding-left: 0 !important;
}

#adminmenuback {
  z-index: 2;
}

p.subtitle {
  padding-left: 0 !important;
}

.notice.notice-warning.inline, .notice-warning, .notice-danger, .notice-error, .notice-success {
  display: none !important;
}

.tabs .tablist .button, .tabs .tablist .button.active {
  box-shadow: none !important;
  background-color: transparent;
  border: none !important;
}

.mbe-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(199 193 193 / 40%);
}
.mbe-modal-content {
    margin: 15% auto;
    padding: 0;
    width: fit-content;
    width: -moz-fit-content;
    min-width: 350px;
    max-width: 800px;
    max-height: 85%;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
    font-family: sans-serif;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.mbe-modal-header {
    padding: 10px 20px 13px;
    background: white;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
}
.mbe-modal-header img {
    width: 25px;
}
h4.mbe-modal-title {
    margin: 0;
    line-height: 24px;
    font-weight: 400;
    font-size: 16px;
    margin-left: 5px;
}
.mbe-modal-body {
    padding: 10px 20px;
}
.mbe-modal-body > p {
    font-size: 14px;
    font-weight: 300;
}
.mbe-modal-body span.asterisk {
    color: #d73a49;
}
input#mbeSubscriberEmail {
    width: 100%;
}
.mbe-error {
    text-align: right;
    color: #d73a49;
}
.mbe-modal-footer {
    padding: 10px 20px 11px;
    background: white;
    border-top: 1px solid #e8e8e8;
    text-align: right;
}
.mbe-btn-close {
    margin-right: 5px !important;
}
.mbe-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}
.mbe-btn[disabled] {
    background-image: linear-gradient(-45deg, #007cba 33%, #005a87 33%, #005a87 70%, #007cba 70%) !important;
    background-size: 100px 100% !important;
    border-color: #007cba !important;
    animation: mbe-busy-animation 2.5s linear infinite;
    color: #fff !important;
}
@keyframes mbe-busy-animation {
    0% {
        background-position: 200px 0;
    }
}