.tm-pb-column-layouts {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  float: left;
  position: absolute;
  top: -116px;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px 25px;
  box-sizing: border-box;
  margin: 0;
  overflow: auto;
    li {
      float: left;
      width: 31.66666%;
      margin: 0 2.5% 20px 0;
      padding: 20px;
      cursor: pointer;
      border-radius: 2px;
      background: $white_color;
      border: 2px solid $border-color;
      box-sizing: border-box;
      font-size: 16px;
      color: $dark_color;
      .tm_pb_layout_column {
        float: left;
        height: 75px;
        color: $dark_color;
        background-color: #f1f1f1;
        margin-right: 4%;
        position: relative;
        &.tm_pb_variations {
          background: none;
          &:before {
            display: none;
          }
        }
        &:before {
          position: absolute;
          top: 28px;
          left: 0;
          font-size: 16px;
          width: 100%;
          text-align: center;
        }

        &:last-child {
          margin-right: 0;
        }
      }
      .tm_pb_specialty_column {
        background-color: #f1f1f1;
      }

      &:hover {
        background-color: $button_bg_color;
        border: 2px solid $button_bg_color;
        transition: background 0.3s;

        .tm_pb_layout_column {
          background-color: $dark_color;
          transition: background 0.3s;
          &.tm_pb_variations {
            background: none;
              .tm_pb_variation{
                background-color: $white_color;
              }
          }
          &:before {
            color: $white_color;
          }
        }

      }

    }
}

.tm_pb_variation {
  height: 34px;
  float: left;
  margin-bottom: 7px;
  background: $module_bg_color;
  margin-right: 8%;
}

.tm_pb_3_variations .tm_pb_variation {
  height: 18px;
  margin-bottom: 10px;
}

.tm_pb_variation_full {
  width: 100%;
  float: none;
  margin-right: 0;
}

.tm_pb_variations {
  background: none;
}

.tm_pb_variation_1_2 {
  width: 46%;
}

.tm_pb_variation_1_3 {
  width: 28%;
}

.tm_pb_variation_1_2:last-child,
.tm_pb_variation_1_3:last-child {
  margin-right: 0;
}

.tm_pb_variations:before {
  content: "";
}

.tm_pb_modal_no_tabs .tm-pb-column-layouts {
  top: 0;
}

.tm-pb-layout-buttons,
.tm-pb-all-modules li,
.tm_pb_saved_layouts_list li {
  border-radius: 4px;
  background: $gray_color;
}

.tm_pb_column_layout_fullwidth {
  width: 100%;
}

.tm_pb_column_layout_1_2 {
  width: 48%;

  &:before {
    content: "1/2";
  }
}

.tm_pb_column_layout_1_3 {
  width: 30.6%;

  &:before {
    content: "1/3";
  }
}

.tm_pb_column_layout_1_4 {
  width: 22%;

  &:before {
    content: "1/4";
  }
}

.tm_pb_column_layout_2_3 {
  width: 65%;

  &:before {
    content: "2/3";
  }
}

.tm_pb_column_layout_3_4 {
  width: 74%;

  &:before {
    content: "3/4";
  }
}

.tm-pb-all-modules,
.tm_pb_saved_layouts_list {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  float: left;
}

.tm-pb-all-modules,
.tm_pb_saved_layouts_list {

  li{
    border-radius: $border-radius-small;
    border: 2px solid $border-color;
    background-color: $white_color;
    span{
      font-size: 16px;
      color: $dark_color;
    }
    &:hover{
      background-color: $button_bg_color;
      border: 2px solid $button_bg_color;
      color: $white_color;
      cursor: pointer;
      transition: all 0.3s;
      a {
        color: $white_color;
      }
      span{
        color: $white_color;
      }
      &:before{
        color: $white_color;
      }
    }
    &:before{
      @include fa-icon();
      font-size: 30px;
      color: $module_bg_color;
      content: attr( data-icon );
      transition: all 0.3s;
    }
    a {
      transition: all 0.3s;
    }
    &.tm_pb_number_counter{
      &:before{
        font-family: "Open Sans",sans-serif;
        font-size: 21px;
        line-height: 30px;
        font-weight: 800;
        content: '123';
      }
    }
  }
}
.tm-pb-all-modules li:before,
.tm_pb_saved_layouts_list li:before {
  font-size: 32px;
  margin-right: 11px;
  position: absolute;
  left: 24px;
  top: 18px;
}

.tm-pb-all-modules li,
.tm_pb_saved_layouts_list li {
  color: $button_anchor_text_color;
  text-decoration: none;
  padding: 23px 23px 23px 75px;
  font-size: 18px;
  display: inline-block;
  transition: all 0.3s;
}


.tm-pb-all-modules li,
.tm_pb_saved_layouts_list li {
  width: 31.6666666%;
  margin: 0 2.5% 20px 0;
  position: relative;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  float: left;
}

.tm-pb-all-modules li:nth-child(3n),
.tm-pb-column-layouts li:nth-child(3n),
.tm_pb_saved_layouts_list li:nth-child(3n) {
  margin-right: 0;
}

.tm_pb_saved_layouts_list.tm_pb_global li {
  color: $white_color;
  background-color: $button_bg_color;
  border-color: $button_bg_color;

  &:before {
    color: $white_color;
  }

  a {
    color: $white_color;
  }

  &:hover {
    background-color: $button_bg_hover_color;
    border-color: $button_bg_hover_color;
    color: $white_color;
  }
}

.tm-pb-all-modules li:nth-child(3n+1),
.tm_pb_saved_layouts_list li:nth-child(3n+1) {
  clear: both;
}

.tm-pb-layout-buttons-save:before {
  content: "\40";
}

.tm-pb-layout-buttons-load:before {
  content: "\24";
}

.tm-pb-layout-buttons-clear:before {
  content: "\25";
}