.wp-block-gecko-grid-layout-type-select {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.wp-block-gecko-grid-layout-type-select__item {
  font-size: 0.75rem;
  line-height: 1.2em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0.5rem;
  -ms-flex-preferred-size: 90px;
      flex-basis: 90px;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  border: 1px solid #f0f0f0;
  cursor: pointer;
}
.wp-block-gecko-grid-layout-type-select__item:hover {
  background-color: #FAFAFA;
}
.wp-block-gecko-grid-layout-type-select__item--selected {
  background-color: #F5F5F5;
}

.gecko-trbl {
  display: grid;
  grid-template-rows: repeat(3, minmax(1px, 1fr));
  grid-template-columns: repeat(7, minmax(1px, 1fr));
  grid-template-areas: "tl tl t t t tr tr" "l l l c r r r " "bl bl b b b br br";
}
.gecko-trbl__input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.gecko-trbl__input input {
  width: 100%;
}
.gecko-trbl__input--t {
  grid-area: t;
}
.gecko-trbl__input--r {
  grid-area: r;
}
.gecko-trbl__input--b {
  grid-area: b;
}
.gecko-trbl__input--l {
  grid-area: l;
}
.gecko-trbl__lock {
  grid-area: c;
  background-color: dimgray;
  position: relative;
}
.gecko-trbl__lock__x {
  display: block;
  width: 100%;
  height: 2px;
  background-color: black;
  position: absolute;
  top: calc(50% - 1px);
}
.gecko-trbl__lock__x.true {
  background-color: red;
}
.gecko-trbl__lock__y {
  display: block;
  width: 2px;
  height: 100%;
  background-color: black;
  position: absolute;
  left: calc(50% - 1px);
}
.gecko-trbl__lock__y.true {
  background-color: red;
}
.gecko-trbl__lock__xy {
  display: block;
  width: 10px;
  height: 10px;
  background-color: grey;
  position: absolute;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
}
.gecko-trbl__lock__xy.true {
  background-color: red;
}

.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(1px, 1fr));
  grid-gap: 1rem;
  grid-auto-rows: minmax(50px, auto);
  grid-auto-flow: dense;
  border: 1px dashed lightblue;
  margin: 0;
}
@media (max-width: 720px) {
  .wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout {
    grid-template-columns: minmax(0px, 1fr) !important;
    grid-auto-rows: minmax(1px, auto) !important;
  }
}
@media (max-width: 480px) {
  .wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout {
    grid-template-columns: minmax(0px, 1fr) !important;
    grid-auto-rows: minmax(1px, auto) !important;
  }
}
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-item"],
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-basic"],
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-image"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-column-end: span 1;
  grid-row-end: span 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: none !important;
  background-color: transparent !important;
  border: 1px dashed lightblue;
}
@media (max-width: 480px) {
  .wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-item"],
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-basic"],
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-image"] {
    grid-column: 1/-1 !important;
  }
}
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-item"] .editor-media-placeholder,
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-basic"] .editor-media-placeholder,
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > [data-type="gecko/grid-layout-image"] .editor-media-placeholder {
  min-height: 100%;
}
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout .editor-block-list__block-edit {
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout .editor-block-list__block-edit > [data-block] {
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  height: 100%;
}
.wp-block-gecko-grid-layout-editor > .editor-inner-blocks > .editor-block-list__layout > .editor-block-list__block > .editor-block-list__block-edit {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.wp-block-gecko-grid-layout-editor .block-list-appender {
  display: block;
  text-align: center;
  grid-column: 1/-1;
  grid-row-end: span 1;
  cursor: pointer;
  background-color: #f0f0f0;
}
.wp-block-gecko-grid-layout-editor .block-list-appender:hover {
  background-color: #f3f3f3;
}

.gecko-grid-layout-editor-styles {
  display: none !important;
}

.gecko-grid-layout-basic,
.gecko-grid-layout-image,
.gecko-grid-layout-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  width: 100%;
  margin: 0;
}

[data-type="gecko/grid-layout-image"].is-selected .components-resizable-box__handle {
  display: block;
}

.is-dragging-components-draggable .gecko-grid-layout-image.is-style-hover .gecko-grid-layout-image__caption {
  opacity: 1 !important;
}

.gecko-grid-layout-template-select__templates {
  display: grid;
  grid-template-columns: repeat(12, minmax(15px, auto));
  grid-gap: 1rem;
  grid-auto-rows: auto;
  grid-auto-flow: dense;
}
.gecko-grid-layout-template-select__template {
  display: block;
  grid-column-end: span 4;
  grid-row-end: span 1;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  border: 1px solid #D0D0D0;
  cursor: pointer;
  border-radius: 5px;
}
.gecko-grid-layout-template-select__template:hover {
  border: 1px solid #f0f0f0;
}

.gecko-grid-layout-template-preview {
  min-height: 100px;
  background-color: #D0D0D0;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(12, minmax(15px, auto));
  grid-gap: 3px;
  grid-auto-rows: minmax(15px, auto);
  grid-auto-flow: dense;
}
.gecko-grid-layout-template-preview__item {
  display: block;
  grid-column-end: span 4;
  grid-row-end: span 1;
  background-color: #f0f0f0;
}
