/**
 * #.# Styles
 *
 * CSS for both Frontend+Backend.
 */
.responsive-block-editor-addons-icon-list__wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;

}

.responsive-block-editor-addons-icon-list__icon-at-top
  .responsive-block-editor-addons-icon-list__source-wrap {
  align-self: flex-start;
}

.responsive-block-editor-addons-icon-list__outer-wrap {
  margin-bottom: 0;

  &.wp-block-responsive-block-editor-addons-icon-list
    .responsive-block-editor-addons-icon-list__wrap
    a.responsive-block-editor-addons-icon-list__wrapper,
  &.wp-block-responsive-block-editor-addons-icon-list
    .responsive-block-editor-addons-icon-list__wrap
    a.responsive-block-editor-addons-icon-list__wrapper:focus,
  &.wp-block-responsive-block-editor-addons-icon-list
    .responsive-block-editor-addons-icon-list__wrap
    a.responsive-block-editor-addons-icon-list__wrapper:active,
  &.wp-block-responsive-block-editor-addons-icon-list
    .responsive-block-editor-addons-icon-list__wrap
    a.responsive-block-editor-addons-icon-list__wrapper:visited {
    text-decoration: none;
  }

  a.responsive-block-editor-addons-button__link:focus {
    box-shadow: none;
  }

  .responsive-block-editor-addons-icon-list__wrapper > p {
    display: none;
  }

  .responsive-block-editor-addons-icon-list__wrapper {
    padding: 0;
    transition: all 0.2s;
    display: inline-flex;
    text-align: center;
  }

  .responsive-block-editor-addons-icon-list__content-wrap,
  .responsive-block-editor-addons-icon-list__source-wrap {
    width: inherit;
    display: inline-block;
  }

  .responsive-block-editor-addons-icon-list__source-wrap {
    display: inherit;
    align-items: center;
    border-style: solid;
  }
  .responsive-block-editor-addons-icon-list__content-wrap {
    color: #3a3a3a;
    display: flex;
    align-items: center;
  }

  .responsive-block-editor-addons-icon-list__source-icon,
  .responsive-block-editor-addons-icon-list__source-icon:before {
    font-size: 16px;
    width: 16px;
    height: 16px;
  }

  .responsive-block-editor-addons-icon-list__source-icon svg {
    display: block;
  }

  .responsive-block-editor-addons-icon-list__source-image {
    width: 40px;
  }

  .responsive-block-editor-addons-icon-list__wrapper:first-child {
    margin-left: 0;
  }

  .responsive-block-editor-addons-icon-list__wrapper:last-child {
    margin-right: 0;
  }

  .responsive-block-editor-addons-icon-list__wrap > p {
    display: none;
  }

  .responsive-block-editor-addons-icon-list__wrapper[href="/"] {
    pointer-events: none;
    cursor: text;
  }

  &.wp-block-responsive-block-editor-addons-icon-list
    .responsive-block-editor-addons-icon-list__wrap
    .responsive-block-editor-addons-icon-list__wrapper {
    text-decoration: none;
  }

  .responsive-block-editor-addons-icon-list__wrap
    .responsive-block-editor-addons-icon-list__wrapper {
    box-shadow: none;
  }

  &.responsive-block-editor-addons-icon-list__icon-at-top
    .responsive-block-editor-addons-icon-list__source-wrap {
    align-self: flex-start;
  }
}

.responsive-block-editor-addons-icon-list__no-label
  .responsive-block-editor-addons-icon-list__label-wrap {
  display: none;
}

.responsive-block-editor-addons-icon-list__layout-horizontal
  .responsive-block-editor-addons-icon-list__wrapper {
  padding: 0;
}

.wp-block-responsive-block-editor-addons-icons-list-child
  > a.wp-responsive-block-editor-addons-icon-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.components-base-control__field {

  p {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 400;
    line-height: 16.41px;
    text-align: left;
    color: #666666;
  }

  .responsive-block-editor-addons-alignment, 
  .responsive-block-editor-addons-alignment-tablet,
  .responsive-block-editor-addons-alignment-mobile  {
    max-height: 32px;
    height: 100%;
    margin-top: 8px;

    .components-toolbar {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      justify-items: center;
      min-height: 32px;
      max-height: 32px;
      height: 100%;
      border: 1px solid #C9C8C8;
      border-radius: 4px;
    
      > div {
        width: 100%;
        max-height: 32px;
        height: 100%;

        // First child styling
        &:first-child {
          border-right: 1px solid #C9C8C8;
        }
      
        // Last child styling
        &:last-child {
          border-left: 1px solid #C9C8C8;
        }
      
        .components-toolbar__control {
          width: 100%;
          max-height: 32px;
          height: 100%;
          &::before {
            width: 100%;
            left: 0px;
            right: 0px;
          }
        }
      
        .components-toolbar__control.is-pressed {
          &::before {
            background: #007CBA;
            width: 100%;
            left: 0px;
            right: 0px;
            max-height: 32px;
            height: 100%;
          }
        }
      }
    }
  }

}

.rbea-inspector-tab 
.components-toggle-control 
.components-base-control__field
.components-flex.components-h-stack {
  flex-direction: row-reverse;
}

.rbea-inspector-tab {
  .components-panel__body {
    .responsive-block-editor-addons-container-spacing-title {
      font-family: Roboto;
      font-size: 13px;
      font-weight: 600;
      line-height: 16.41px;
      text-align: left;
      color: #666666;
    }
  }
}

.rbea-inspector-tab {
  .responsive-block-editor-addons-color-inspect-tabs {
    width: 100%;
    .components-tab-panel__tabs {
      max-width: 300px;
      width: 112%;
      margin-left: -15px;
      gap: 0px;
      margin-bottom: 24px;
      max-height: 34px;
      height: 100%;
      display: flex;
      justify-content: space-evenly;
    
      .responsive-block-editor-addons-empty-tab {
        border-bottom: 1px solid #ddd;
        padding: 14px 0px;
        width: 30px;
        height: 100%;
        align-items: flex-end;
      }

      .responsive-block-editor-addons-empty-tab-middle {
        border-bottom: 1px solid #ddd;
        padding: 14px 0px;
        width: 20px;
        height: 100%;
        align-items: flex-end;
      }
    
      .responsive-block-editor-addons-normal-tab,
      .responsive-block-editor-addons-hover-tab {
        display: flex;
        justify-content: center;
        max-width: 108px;
        border: 1px solid #ddd;;
        width: 100%;
        height: 100%;
        background-color: #ddd;
        color: #666;
        padding: 5.5px 36px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        font-size: 13px;
        font-weight: 400;
        line-height: 16px;
      }

      .responsive-block-editor-addons-normal-tab.active-tab, 
      .responsive-block-editor-addons-hover-tab.active-tab {
        background-color: #fff;
        color: #007CBA;
        border-bottom: none;
        padding: 6px 36px;
      }
    }
  }
}



@media (max-width: 976px) {
	.responsive-block-editor-addons-icon-list__source-wrap > .responsive-block-editor-addons-icon-list__source-icon {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}