/**
* This file should be copied to the web/sites/default/files folder using FTP to take effect on admin pages without components
* Pages with component added will already include that file using the front theme library
*/
body {
  font-family: var(--gin-font) !important;
}

#block-gin-content,
.gin--edit-form .page-wrapper__node-edit-form .node-form {
  max-width: 100%!important;
  width: 100%;
}

.gin--edit-form header {
  z-index: 10!important;
}

.gin--edit-form .sticky-shadow {
  z-index: 5!important;
}

.gin--edit-form .page-wrapper__node-edit-form .block-local-tasks-block {
  margin-left: unset !important;
  margin-right: unset !important;
}

.page-wrapper__node-edit-form .node-form .field--name-field-components {
  background-color: var(--body-color) !important;
}

.lpb-component-list__item img {
  margin-right: 0px;
  max-width: unset;
  display: inline-block;
  height: 100px;
  width: 100%;
  object-fit: cover;
  border-bottom: solid 1px #c9acac;;
}

.lpb-component-list__item a {
  background-color: var(--cravan-rouge);
  margin-top:0px;
  display: flex!important;
  flex-direction: column!important;
  color: var(--cravan-beige)!important;
  height: 100%;
}

.lpb-component-list__group > div > div {
  width: 18%;
  min-height: 50px;
  border: solid 1px var(--cravan-rouge);
  margin: 1%;
}

.ui-widget-content a {
  display:block;
}

.ui-widget-content a {
  text-align: center;
}

.lpb-component-list__search {
  padding-top: 10px;
  padding-bottom: 10px;
}

.lpb-enable__wrapper {
  position: fixed;
  width: 100%;
  z-index: 10;
}

.lpb-enable {
  top: 12px;
  background-color: rgba(0, 0, 0, 0.8);
}

a.lpb-enable-button {
  align-items: center;
  background-color: unset;
  border: solid 0px white;
  border-radius: 25px;
  color: white;
  display: flex;
  font-family: var(--gin-font) !important;
  padding: 3px 12px 3px 0;
  width: 100%;
}

.lpb-form__actions.form-actions {
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 99;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
}

/*
 * If not main language, hide layout paragraphs add/duplicate/delete controls as translations are ISO
 * and secondary languages cannot add/remove elements (paragraphs default behaviour)
 */
html:lang(en) main .lpb-btn--add.use-ajax,
html:lang(en) main .lpb-duplicate.use-ajax,
html:lang(en) main .lpb-delete.use-ajax {
  display: none!important;
}

.ui-dialog .ui-dialog-titlebar-close {
  top: 25px!important;
}

/*
 * Hide contextual edit menus on front page
 */
.contextual .trigger {
  display:none!important;
}
