.gallery_designer {
  position: relative;
  -moz-user-select: none;
  user-select: none;
  display: grid;
  grid-template-columns: 200px auto;
  gap: 10px;
}
.gallery_designer .controls {
  position: relative;
  overflow-y: scroll;
  max-height: calc(100vh - 85px);
}
.gallery_designer .controls::-webkit-scrollbar {
  display: none;
}
.gallery_designer .canvas {
  position: absolute;
  left: 210px;
  overflow: hidden;
  transform-origin: top left;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  transition: 0.8s;
}
.gallery_designer .canvas img {
  width: 1600px;
}
.gallery_designer .img_holder {
  aspect-ratio: 1 / 0.3;
  background: #c0c0c0;
  border: none;
}
.gallery_designer .text_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.gallery_designer .tools {
  text-align: center;
  -moz-user-select: none;
  user-select: none;

  border-bottom: 1px solid #e3e3e3;
  border-bottom: 1px solid light-dark(#e3e3e3, #616161);

  padding-bottom: 5px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.gallery_designer .tools div {
  height: 20px;
  line-height: 20px;
  text-align: center;
  vertical-align: top;

  color: #000;
  color: light-dark(#000, #fff);
  
  cursor: pointer;
  border: 1px solid transparent;
}
.gallery_designer .tools div.active {
  border-radius: 3px;

  border: 1px solid #e3e3e3;
  background: #e3e3e3;
  color: #000;

  border: 1px solid light-dark(#e3e3e3, #818181);
  background: light-dark(#e3e3e3, #515151);
  color: light-dark(#000, #fff);
}
.gallery_designer .text_wrapper p.bold {
  font-weight: bold;
}
.gallery_designer .text_wrapper p.underline {
  text-decoration: underline;
}
.gallery_designer .text_wrapper p.italic {
  font-style: italic;
}
.gallery_designer .text_wrapper p.uppercase {
  text-transform: uppercase;
}
.gallery_designer .text_wrapper p.alignl {
  text-align: left;
}
.gallery_designer .text_wrapper p.alignc {
  text-align: center;
}
.gallery_designer .text_wrapper p.alignr {
  text-align: right;
}
.gallery_designer .font_color, .gallery_designer .bg_color, .gallery_designer .shadow {
  border: none;
  width: 28px;
  height: 22px;
  display: inline-block;
  padding: 0;
  margin: 0;
  vertical-align: top;
  appearance: none;
}
.gallery_designer .config_heading {
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}
.gallery_designer .font_controler.active .config_heading {
  border-bottom: none;
  border-radius: 7px 7px 0 0;
}
.gallery_designer .tools_wrapper {
  display: none;
}
.gallery_designer .font_controler.active .tools_wrapper {
  display: block;
}
.gallery_designer .controls_button .ctr span {
  width: 48px;
}
.gallery_designer .font {
  position: relative;

  border-bottom: 1px solid #e3e3e3;
  border-bottom: 1px solid light-dark(#e3e3e3, #616161);

  padding: 0 0 3px;
  margin-top: 7px;
  margin-bottom: 5px;
}
.gallery_designer .tools_wrapper label {
  line-height: 30px;
  height: 24px;
  padding: 3px;
  color: #999;
}
.gallery_designer .ctr_color_pallet {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.gallery_designer .ctr {
  display: inline-block;
  line-height: 26px;
  vertical-align: top;
  margin-bottom: 4px;
}
.gallery_designer .clr-field {
  width: 30px;
  margin-left: 3px;
}
.gallery_designer .ctr_font_color {
  position: relative;
  text-align: center;
}
.gallery_designer .ctr_font_color span {
  font-size: 18px;
  display: block;
  height: 23px;
  line-height: 18px;

  color: #000;
  color: light-dark(#000, #fff);
}
.gallery_designer .ctr_background span, .gallery_designer .ctr_border span {
  font-family: 'flexeicons2';
  font-weight: normal;
  line-height: 14px;
}
.gallery_designer .ctr_shadow span {
  text-shadow: 2px -2px 0 #00000030;
}
.gallery_designer .ctr_font_color .clr-field {
  height: 9px;
  border: none;
  width: auto;
  display: block;
  margin: 0;
}
.gallery_designer .ctr_font_color .color_picker {
  position: absolute;
  top: -4px;
  left: 0;
  height: 25px;
  width: 40px;
  opacity: 0;
  cursor: pointer;
}
.gallery_designer .ctr_font_color .clr-field button {
  height: 12px;
}
.gallery_designer .ctr_shadow {
  display: inline-block;
  vertical-align: top;
}
.gallery_designer .ctr_font_style {
  display: grid;
  grid-template-columns: auto 40px;
  gap: 5px;
  margin-bottom: 5px;
}
.gallery_designer .tools_wrapper .form_fields {
  width: 100%;
  height: 23px;
  line-height: 23px;

  border: 1px solid #e3e3e3;
  border: 1px solid light-dark(#e3e3e3, #515151);

  font-size: 11px;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
}
.gallery_designer .tools_wrapper .form_fields_dg {
  line-height: 18px;
  height: 30px;
  text-align: left;
  padding-left: 5px;

  background: #f3f3f3;
  background: light-dark(#f3f3f3, #313131);
}
.gallery_designer .ctr input.font_size {
  height: 30px;
  border-radius: 4px;
}
.gallery_designer .ctr_font_size {
  margin: 0;
  line-height: 27px;
}
.gallery_designer .ctr_font_family {
  display: inline-block;
}
.gallery_designer .fp-fontspec {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  letter-spacing: 0;
  color: #999;
  font-size: 11px;
}
.gallery_designer .font-picker.fp-select {
  position: relative;

  border: 1px solid #e3e3e3;
  border: 1px solid light-dark(#e3e3e3, #515151);

  padding: 0 5px;
  line-height: 27px;
  display: block;
  border-radius: 4px;
}
.gallery_designer .font-picker.fp-select:after {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #999;
  position: absolute;
  top: 13px;
  right: 7px;
}
.gallery_designer .img_box {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 207px;
  cursor: pointer;
  overflow: hidden;
}
.gallery_designer .img_box .NFI-button {
  display: none !important;
}
.design_btn_wrapper {
  text-align: center;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.design_btn_wrapper .btn_form {
  padding: 0;
}
.gallery_designer .edit_design_mode, .gallery_designer .edit_design_mode {
  display: none;
}
.gallery_designer .edit_design_mode.active {
  display: block;
  margin-bottom: 10px;
  width: 100%;
}
.designer_zoom {
  position: relative;
  font-size: 20px;

  color: #666;
  color: light-dark(#666, #dbdbdb);

  -webkit-appearance: none;
  appearance: none !important;
  -moz-user-select: none;
  user-select: none;
  -moz-image-region: auto;
  margin: 9px 0;
}
.designer_zoom span {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
}
.designer_zoom div {
  display: inline-block;
  margin: 0 3px;
  border: 1px solid #666;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  line-height: 22px;
  text-align: center;
  font-size: 10px;
  cursor: pointer;
}
.gallery_designer .mobile_image_size {
  position: fixed;
  text-align: right;
  right: 113px;
  bottom: 10px;
  width: auto !important;
  z-index: 1000;
}
.gallery_designer .mobile_image_size > .inner {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;

  border-bottom: 1px solid #ddd;
  background: #ededed;

  border-bottom: 1px solid light-dark(#ddd, #515151);
  background: light-dark(#ededed, #3f3f3f);
}
.gallery_designer .mob_size_field {
  width: 56px;
  display: inline-block;
  text-align: center;
  padding: 0 !important;
  line-height: 30px;
  height: 30px;
  text-indent: 0;
  margin: 0 5px;
}
.gallery_designer .controls .fieldset_text {
  border-radius: 0 0 7px 7px;
  border-top: none;
  background: none;
  margin: 0;
  padding: 0 7px 7px;
}
.gallery_designer .theme_wrapper .fieldset_text {
  border: none;
}

.slide_toggle {
  position: relative;
  display: inline-block;
  width: 220px;
  vertical-align: top;
}
.slide_toggle .low {
  font-size: 10px;
  position: absolute;
  border: 1px solid #ccc;
  padding: 0 4px;
  border-radius: 4px;
  top: -1px;
  text-align: center;
  color: #000;
  background: #fff;
  font-weight: normal;
  line-height: 20px;
  left: 0;
  letter-spacing: 0;
}
.slide_toggle .bar {
  position: relative;

  background: #ddd;
  background: light-dark(#ddd, #313131);

  border-radius: 4px;
  width: 100%;
  height: 12px;
  margin-top: 15px;
}
.slide_toggle .bar .inner {
  position: absolute;
  height: 1px;
  bottom: -4px;
  left: 0;
  right: 0;
  margin: 0;
  background: none;
  padding: 0;
  box-shadow: none;
  display: block;
}
.slide_toggle .start {
  position: absolute;
  height: 20px;
  width: 20px;
  padding: 0;
  border-radius: 100%;
  margin-top: -4px;
  top: 0 !important;
  overflow: visible;
  cursor: pointer;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.slide_toggle.mobile_size_wrap {
  width: auto;
}
.mobile_size_wrap label {
  display: inline-block !important;
  padding: 0;
  margin: 0;
  margin-right: 13px;
}
.mobile_size_wrap .bar {
  display: inline-block;
  vertical-align: top;
  width: 200px;
  margin-top: 4px;

  background: #ccc;
  background: light-dark(#ccc, #313131);
}

.slide_toggle.spacing_btn_wrap {
  display: none !important;
}
.gallery_designer .controls .slide_toggle label {
  font-size: 10px;
  text-transform: uppercase;
  color: #999;
  font-weight: bold;
  line-height: 0px;
  margin-top: 15px;
  height: auto;
}
.gallery_designer .controls .slide_toggle {
  margin: 22px 5px;
  width: auto;
  display: block;
}
.gallery_designer .slide_toggle.spacing_1_wrap {
  border-bottom: 1px solid #e3e3e3;
  border-bottom: 1px solid light-dark(#e3e3e3, #616161);

  padding-bottom: 12px;
  margin: 0 4px 0;
}

.theme_wrapper {
  text-align: center;
  border-radius: 0 0 7px 7px;
  padding: 5px 0;
}
.theme_wrapper .inner {
  margin-top: 10px;
}
.theme_wrapper .box {
  display: inline-block;
  border-radius: 3px;
  padding: 3px;
  height: 45px;

  border: 1px solid #e3e3e3;
  background: #fff;

  border: 1px solid light-dark(#e3e3e3, #515151);
  background: light-dark(#fff, #313131);

  margin: 2px 1px;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: top;
  font-size: 10px;
  font-weight: bold;
  color: #8d8d8d;
}
.theme_wrapper .box.active {
  border: 1px solid #0c80ff;

  background: #e0f2ff;
  background: light-dark(#e0f2ff, #31383d);
}
.theme_wrapper .box span {
  display: inline-block;
  width: 25px;
  text-align: center;
}
.gallery_designer .img_wrap {
  background: #0082ca;
  border-radius: 7px;
  color: #fff;
  text-align: center;
  line-height: 33px;
}
.gallery_designer .img_wrap div {
  display: inline-block;
}
.gallery_designer .action_icons {
  display: inline-block;
  vertical-align: sub;
  margin-right: 8px;
}

.theme_wrapper .box.theme2 span, .theme_wrapper .box.theme5 span, .theme_wrapper .box.theme8 span {
  width: 50px;
  text-align: center;
}
.theme_wrapper .box.theme4, .theme_wrapper .box.theme5, .theme_wrapper .box.theme6 {
  padding-top: 25px;
}
.theme_wrapper .box.theme7, .theme_wrapper .box.theme8, .theme_wrapper .box.theme9 {
  padding-top: 14px;
}
.gallery_designer .canvas .theme2 {
  text-align: center;
}
.gallery_designer .canvas .theme3 {
  text-align: right;
}
.gallery_designer .canvas .theme4 {
  position: absolute;
  top: auto;
  bottom: 0;
}
.gallery_designer .canvas .theme5 {
  position: absolute;
  text-align: center;
  top: auto;
  bottom: 0;
}
.gallery_designer .canvas .theme6 {
  position: absolute;
  text-align: right;
  top: auto;
  bottom: 0;
}
.gallery_designer .canvas .theme7 {
  position: absolute;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.gallery_designer .canvas .theme8 {
  position: absolute;
  text-align: center;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.gallery_designer .canvas .theme9 {
  position: absolute;
  text-align: right;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);;
}
.gallery_designer .canvas div p {
  font-size: 64px;
  line-height: 64px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.gallery_designer .canvas div p span.btn {
  display: inline-block;
  padding: 17px 30px;
}
.gallery_designer .record_img {
  display: none;
}
.gallery_designer .fieldset_flex.image .fieldset_img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.gallery_designer .fieldset_flex.image .fieldset_img .file {
  display: none;
}
.gallery_designer .fieldset_img_simple input {
  display: none;
}