/*------------------------------------
Meta Box HF
------------------------------------*/

#ut_hf_setting.loading:after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  opacity: 0.7;
  z-index: 9;
}

#ut_hf_setting.loading:before {
  border: 6px solid #f3f3f3;
  /* Light grey */
  border-top: 6px solid #007cba;
  /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 0.5s linear infinite;
  content: "";
  position: absolute;
  left: calc((100% - 30px) / 2);
  top: calc((100% - 30px) / 2);
  z-index: 10;
}

/*------------------------------------
Popup HF
------------------------------------*/

button#ut-new-template__form__save {
    color: #fff;
    width: 100%;
    height: 47px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    padding: 12px 23px;
    font-weight: 500;
}

#display-on {
  text-transform: capitalize;
}

.child-item {
  margin: 20px 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ut-auto-complete-field {
  border: 1px solid #7e8993;
  max-width: 250px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  border-radius: 4px;
}

.ut-auto-complete-field .ut-auto-complete-key {
  font-size: 13px;
  display: flex;
  margin: 2px 4px 2px 0;
  color: #32373c;
  overflow: hidden;
  background-color: #e2e4e7;
  border-radius: 50px;
  padding: 3px 5px 3px 10px;
  align-items: center;
}

.ut-auto-complete-field .ut-auto-complete-key:focus {
  border-color: #007cba;
  box-shadow: 0 0 0 1px #007cba;
  outline: 2px solid transparent;
}

.ut-auto-complete-field .btn-ut-auto-complete-delete {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #3c434a;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding-top: 2px;
  margin-left: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 21px;
}

.ut-auto-complete-field .btn-ut-auto-complete-delete:before {
  line-height: normal;
}

.ut-auto-complete-field .ut--hf-post-name {
  border: none;
  width: auto;
  display: inline-block;
}

.ut-auto-complete-field .ut--hf-post-name:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.input-item-wrapper .ut-data {
  max-height: 240px;
}

.input-item-wrapper .ut-data .hf-list-post {
  max-height: 240px;
  overflow-y: scroll;
  margin: 0;
  border: 1px solid #7e8993;
  padding: 0;
}

.input-item-wrapper .ut-data .hf-list-post li {
  cursor: pointer;
  padding: 2px 15px;
}

.input-item-wrapper .ut-data .hf-list-post li:hover {
  background-color: #007cba;
  color: #fff;
}

.input-item-wrapper .ut-data .ut-hf-list-post {
  max-height: 240px;
  max-width: 250px;
}

.ut-select-all-post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 250px;
  height: 32px;
  border-radius: 4px 4px 0 0;
  border: 1px solid #7e8993;
  cursor: pointer;
}

.ut-select-all-post .ut-select-all {
  padding-left: 10px;
}

.ut-select-all-post .ut-arrow {
  padding: 0 10px;
}

.ut-section-render--post,
.ut-select-all-post {
  box-sizing: border-box;
}

.hidden {
  display: none;
}

.show {
  display: block;
}

.ut-section-select-post.select-all .ut-select-all-post {
  border-radius: 4px;
}

.ut-section-select-post.select-all .ut-section-render--post {
  border: 1px solid #7e8993;
  border-top: none;
  width: 240px;
  padding: 5px;
}

.ut-section-select-post.render--post .ut-section-render--post {
  border: 1px solid #7e8993;
  border-top: none;
  width: 250px;
  padding: 5px;
}

.ut-section-select-post.render--post.has-option .ut-section-render--post {
  padding: 0;
  border: none;
  width: 250px;
}

.no-display-on,
.display-on {
  text-transform: capitalize;
}

.ut-ut-dialog-widget-content {
  background-color: #fff;
  position: absolute;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.dialog-message {
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ut-lightbox {
  position: fixed;
  height: 100%;
  width: 100%;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.ut-lightbox.show {
  opacity: 1;
  visibility: visible;
}


.ut-lightbox .ut-dialog-widget-content {
  margin: auto;
  width: 375px;
}

.ut-lightbox .dialog-header {
  font-size: 15px;
  color: #495157;
  font-weight: 500;
}

.ut-lightbox .dialog-buttons-wrapper {
  border-top: 1px solid #e6e9ec;
  text-align: center;
}

.ut-lightbox .dialog-buttons-wrapper > .dialog-button {
  font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
  width: 50%;
  border: none;
  background: none;
  color: #6d7882;
  font-size: 15px;
  cursor: pointer;
  padding: 13px 0;
  outline: 0;
}

.ut-lightbox .dialog-buttons-wrapper > .dialog-button:hover {
  background-color: #f4f6f7;
}

.ut-lightbox .dialog-buttons-wrapper > .dialog-button.dialog-ok {
  color: #b01b1b;
}

.ut-lightbox .dialog-buttons-wrapper > .dialog-button.dialog-take_over {
  color: #39b54a;
}

.ut-lightbox .dialog-buttons-wrapper > .dialog-button:active {
  background-color: rgba(230, 233, 236, 0.5);
}

.ut-lightbox .dialog-buttons-wrapper > .dialog-button::-moz-focus-inner {
  border: 0;
}

.dialog-close-button {
  cursor: pointer;
  position: absolute;
  margin-top: 15px;
  right: 15px;
  font-size: 15px;
  line-height: 1;
}

.dialog-close-button:not(:hover) {
  opacity: 0.4;
}

.dialog-alert-widget .dialog-buttons-wrapper > button {
  width: 100%;
}

.dialog-confirm-widget .dialog-button:first-child {
  border-right: 1px solid #e6e9ec;
}

.dialog-prevent-scroll {
  overflow: hidden;
  max-height: 100vh;
}

.ut-fit-aspect-ratio {
  position: relative;
  height: 0;
}

.ut-templates-modal .ut-dialog-widget-content {
  background-color: #f1f3f5;
  top: calc((100% - 90vh + 32px) / 2);
  position: fixed;
  width: 90vw;
  left: calc((100% - 90vw) / 2);
}

@media (min-width: 992px) {
  .ut-templates-modal .ut-dialog-widget-content {
    width: 600px;
    left: calc((100% - 670px) / 2);
  }
}

.ut-templates-modal .dialog-header {
  padding: 0;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 1;
  border-radius: 5px;
}
.ut-dialog-widget-content.dialog-lightbox-widget-content {
  border-radius: 6px;
  transition: all 0.4s;
  transform: translateY(20px);
}

.ut-lightbox.show .ut-dialog-widget-content.dialog-lightbox-widget-content{
  transform: translateY(0px);
  
}
.ut-templates-modal .dialog-buttons-wrapper {
  background-color: #fff;
  border: none;
  display: none;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 5px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.ut-templates-modal .dialog-buttons-wrapper .ut-button {
  height: 40px;
  margin-left: 5px;
}

.ut-templates-modal .dialog-buttons-wrapper .ut-button-success {
  padding: 12px 36px;
  color: #fff;
  width: initial;
  font-size: 15px;
}

.ut-templates-modal .dialog-buttons-wrapper .ut-button-success:hover {
  background-color: #39b54a;
}

.ut-templates-modal .dialog-loading {
  display: none;
}

.ut-templates-modal__header {
    display: -webkit-flex;
    -webkit-align-items: center;
    justify-content: space-between;
    height: 50px;
}

.ut-templates-modal-header-title {
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
}

.ut-templates-modal-header-title-area {
  padding-left: 15px;
}

.ut-templates-modal-header-title-area > * {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

.ut-header-logo-icon-wrapper {
  margin-right: 10px;
}

.ut-templates-modal-header-title i {
  font-size: 10px;
}

.ut-templates-modal__header__item {
  display: flex;
  justify-content: center;
}

.ut-templates-modal__header__item > i {
  font-size: 20px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
}

.ut-templates-modal__header__item > i:not(:hover) {
  color: #a4afb7;
}

.ut-templates-modal__header__close--normal {
  width: 45px;
  border-left: 1px solid #e6e9ec;
}

.ut-templates-modal__header__close--normal i {
  font-size: 18px;
}

.ut-templates-modal__header__close--skip {
  padding: 10px;
  padding-left: 20px;
  margin-right: 10px;
  color: #fff;
  background-color: #a4afb7;
  font-size: 11px;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  cursor: pointer;
}

.ut-templates-modal__header__close--skip > i {
  font-size: inherit;
  padding-left: 10px;
  margin-left: 15px;
  border-left: 1px solid;
}

.ut-templates-modal__header__close--skip > i:not(:hover) {
  color: #fff;
}

.ut-screen-only,
.screen-reader-text,
.screen-reader-text span,
.ui-helper-hidden-accessible {
  position: absolute;
  top: -10000em;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ut-clearfix:after {
  content: "";
  display: block;
  clear: both;
  width: 0;
  height: 0;
}

.ut-gradient-logo i {
  color: #fff;
  display: block;
}

#ut-new-template__description__title {
  font-size: 30px;
  color: #556068;
}

#ut-new-template__description__title span {
  font-weight: bold;
}

#ut-new-template__description {
  width: 35%;
  max-width: 300px;
  padding-right: 100px;
}

#ut-new-template__description__content {
  font-size: 16px;
  padding: 30px 0;
  color: #6d7882;
  display: block;
}

#ut-new-template-dialog-content {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  text-align: left;
  color: #3c434a;
  justify-content: center;
}

#ut-new-template__form {
  flex-grow: 1;
  max-width: 545px;
  padding: 30px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.08);
  overflow-y: scroll;
}

#ut-new-template__form::-webkit-scrollbar {
  width: 3px;
  height: 10px;
}

#ut-new-template__form::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 50px;
}

#ut-new-template__form::-webkit-scrollbar-thumb:hover {
  background: #fc1550;
}

.ut-new-template__form__title {
  display: block;
  font-size: 23px;
  color: #556068;
}

#ut-new-template__form .ut-form-field input,
#ut-new-template__form .ut-form-field select {
  width: 100%;
  height: 50px;
  padding: 10px;
  font-size: 14px;
  box-shadow: none;
  border-radius: 5px;
  background: none;
  color: #495157;
  border: 1px solid;
  outline: none;
  max-width: 100%;
}

#ut-new-template__form .ut-select-all-post,
#ut-new-template__form .ut-auto-complete-field {
  width: 100%;
  max-width: 100%;
}

#ut-new-template__form
.ut-section-select-post.render--post
.ut-section-render--post {
  width: 100%;
  border-color: #d5dadf;
}

#ut-new-template__form .ut-select-all-post,
#ut-new-template__form .ut-auto-complete-field,
#ut-new-template__form .ut--hf-post-name {
  border-color: #d5dadf;
  min-height: 45px;
    width: 100%;
}

#ut-new-template__form .ut-select-all {
  font-size: 14px;
}

#ut-new-template__form .input-item-wrapper .ut-data .ut-hf-list-post {
  max-width: 100%;
}

#ut-new-template__form .input-item-wrapper .ut-data .hf-list-post {
  border-color: #d5dadf;
  line-height: 30px;
  font-size: 13px;
}

#ut-new-template__form .ut-auto-complete-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#ut-new-template__form .ut-form-field input:not(:focus),
#ut-new-template__form .ut-form-field select:not(:focus) {
  border-color: #d5dadf;
}

#ut-new-template__form .ut-form-field input:focus,
#ut-new-template__form .ut-form-field select:focus {
  border-color: #a4afb7;
}
a#ut-edit-elementor {
    background-color: #ccc;
    display: inline-flex;
    border-radius: 6px;
    font-size: 14px;
    line-height: 23px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    padding: 12px 23px;
    transition: all .4s;
     text-decoration: none;
}

a#ut-edit-elementor:hover {
    background-color: #646970;
}


.ut-button.ut-button-success:not([disabled]) {
  background-color: #24a07d;
}

.ut-button.ut-button-primary:not([disabled]),
a#ut-edit-elementor {
  background-color: #24a07d;
}

.ut-button.ut-button-success {
    color: #fff;
    width: 100%;
    height: 50px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
}

.ut-button.ut-button-primary:not([disabled]):hover,
.ut-button.ut-button-success:not([disabled]):hover,
a#ut-edit-elementor:hover {
  opacity: 0.85;
  background: #1e745d;
}

.ut-button.ut-button-success:not([disabled]):active {
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.19),
  0 3px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.19), 0 3px 3px rgba(0, 0, 0, 0.1);
}

.ut-button {
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
  border: none;
  transition-duration: 0.3s;
}
.ut-form-field, .ut-template--row {
  margin: 0 0 17px 0;
}
#ut-new-template__form .ut-form-field__label {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

span.ut-select-all-post,
.ut-section-select-post.select-all,
.ut-form-field__select__wrapper {
  background: #ffffff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
  background-size: 16px 16px;
}

#ut-new-template__form__submit {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#ut-new-template__form__submit.loading:after,
#ut-new-template__form__save.loading:after {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #24a07d;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 0.5s linear infinite;
  content: "";
  z-index: 10;
  margin-left: 10px;
}

.ut-submit-buttons-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 21px;
}

span.ut-type {
    text-transform: capitalize;
}

@media (min-width: 1024px) {
  body.admin-bar .dialog-lightbox-widget {
    height: -webkit-calc(100vh - 32px);
    height: calc(100vh - 32px);
  }
}

@media (max-width: 1024px) {
  body.admin-bar .ut-lightbox {
    position: -webkit-sticky;
    position: sticky;
    height: 100vh;
  }
}
@media (max-width: 991px) {
  #ut-new-template__description {
    display: none;
  }
  #ut-new-template-dialog-content {
    padding: 0 30px;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  #ut-new-template-dialog-content {
    padding: 0;
  }
  #ut-new-template__form {
    padding: 20px 20px;
  }
}