:root {
  --font-size-close-btn: 10px;
}
.offcanvas-left-show{
  padding-right: 0px !important;
}

.offcanvas-left-show .element-btn {
  left: -100px;
}

.offcanvas-right-show .designer-btn {
  right: -100px;
}

.form-full-height {
  min-height: 1000px;
  display: flex;
  flex-direction: column;
}
.custom-form-header{
  position: fixed;
  z-index: 99999;
  width: 100%;
  top: 0;
}
/* header background color */
.custom-bg {
  background-color: #343a40;
  color: #fff !important;
  text-decoration: none;
 
}

.custom-link a {
  text-decoration: none;
  /* color: #fff; */
}

/* settings off-canvas styling */


/* FAB btn design */
.btn-circle {
  width: 50px;
  height: 50px;
  padding: 13px 17px;
  border-radius: 60px;
  font-size: 15px;
  text-align: center;
}

.btn-semi-round {
  position: absolute;
  display: flex;
  align-items: center;
  left: -20px;
  top: 0;
  width: 100px;
  padding: 9.5px;
  font-size: 10px;
  border-radius: 0 100px 100px 0;
  text-align: left;
}

.element-btn {
  position: fixed;
  top: 50px;
  left: 20px;
  z-index: 1;
  transition: all .3s ease-in-out;
}

.designer-btn {
  position: fixed;
  top: 50px;
  right: 40px;
  z-index: 1;
  transition: all .3s ease-in-out;
}

@media (max-width:500px) {
  .element-btn {
    top: 75px;
  }

  .designer-btn {
    top: 75px;
  }
}

/* Design canvas */

#wrapper {
  /* margin-top: 20px; */
  height: 100vh;
  width: 100%;
  /* border: 1px solid green; */
  position: relative;

}

.area_wrapper {
  /* background-color: #cbcbcb; */
  position: absolute;
  overflow: auto;
  height: 100vh;
  width: 100%;
  margin-top: 2rem;
}

.area {
  top: 25px;
  /* left: 25px; */
  max-width: 21cm;
  min-height: 1000px;
  background-color: #fff;
  position: relative;
  margin-bottom: 8rem;
  isolation: isolate;
  margin-inline: auto;
}

/* .footer-btns{
    position: absolute;
    width: 94%;
    bottom: 20px;
} */

/* custom font-size */
.fs-7 {
  font-size: var(--font-size-close-btn);
}

/* Field type styling */
/* .custom-break{
  word-break: break-all;
} */
.rm-wrap {
  flex-wrap: nowrap;
  word-break: break-all;

}

.list-form-elements {
  list-style: none;
  padding-inline-start: 0px;
  height: 100vh;
  overflow-y: scroll;
  padding-bottom: 4rem;
}

.list-form-elements li a {
  padding: .5rem 1rem;
  display: block;
}

.list-form-elements li {
  border-bottom: .5px solid #ffffff29;
}

.img-size {
  width: 20px;
  margin-right: .5rem;
}

/* Delete fields  */
.list-deleted-fields {
  list-style: none;
  padding-inline-start: 0px;
}

.list-deleted-fields li a {
  padding: .5rem 1rem;
}

.list-deleted-fields li:nth-child(1) {
  padding: .5rem;
}

/* custom scroll bar */
.list-form-elements::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #bbbbbb;
}

.list-form-elements::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
  width: 10px;
  background-color: #343a40;
}

.list-form-elements::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  /* border: 2px solid #555555; */
}

/* padding for toggle label */
.label-pb {
  padding-bottom: 4px;
}

/* left sidebar styling */
.custom-canvas-body {
  padding: 0 !important;
  overflow-y: hidden !important;
}

.offcanvas-start {
  width: 200px !important;
  top:34px;
}
.offcanvas-end{
  top: 34px;
}

.offcanvas-end{
  width: 350px !important;
}

.modal-backdrop {
  pointer-events: none;
}

.modal-backdrop.show {
  opacity: 0;
}


/* Form Designer */

.custom-select {
  padding: 5px 10px;
  font-size: 13px;
  height: 34px;
}

#form-online input,
#form-online textarea,
#form-online select, 
#form-online label {
  pointer-events: none;
}

.select2-container .select2-selection--single{
  height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
}

/* color-picker styling */
.color-picker {
  padding: 8px 15px;
  border-radius: .25rem;
  /* border: 1px solid #ccc; */
  background-color: #f8f9f9;
  color: #343a40;
  width: 100%;
  display: inline-block;
}

.clr-field {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  width: 15px;
  height: 15px;
  border: none;
}

.custom-gap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

/* copy btn */
.btn-copy {
  color: #fff !important;
  /* background-color: #495057; */
  /* border-color: #495057; */
  font-size: 14px;
  min-height: 36px;
  padding: 5px 10px;
  margin-top: auto;
  width: 100%;
}

/* form elements heading */

.form-elements-head {
  text-align: left;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #535f6f;
  margin-bottom: 5px;
  padding-bottom: 4px;
}

/* img upld */
.rgt-tab-img-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #535f6f; */
  padding: 20px 0;
  margin: 0 auto;
}

.rgt-tab-img-upload label {
  padding: 20px;
  border: 2px dashed #d9cec1;
  cursor: pointer;
}

.rgt-tab-img-upload span {
  color: #fff;
  position: relative;
}

.rgt-tab-img-upload input {
  width: 1px;
  top: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

/* Content area styling */
.content-area {
  /* font-family: 'Times New Roman', Times, serif; */
  padding: 40px;
}

.content-area ul {
  list-style: none;
  margin: 0;
  padding-inline-start: 0;
}

/* .content-area label {
  display: block;
} */

.custom-field {
  position: relative;
  padding: 5px 10px;
  text-align: left;
}

/* .custom-field select,
.custom-field input{
  pointer-events: none;
} */
.custom-field .required {
  color: red;
}

#form-online .active-field {
  -webkit-box-shadow: 0px 0px 0px 1px #0293e2;
  box-shadow: 0px 0px 0px 1px #0293e2;
  cursor: move;
  border-radius: 5px;
}

#form-online .active-field {
  cursor: move;
}

/* field buttons */
.input_btn {
  display: block;
  flex-direction: column;
  border: 0;
  padding: 0;
  white-space: nowrap;
  position: absolute;
  top: 12px;
  transform: translateY(-50%);
  right: 2px;
  /* opacity: 0; */
}

.input_btn a {
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.input_btn a i {
  font-size: 10px !important;
  line-height: normal;
  margin: 0px !important;
  color: #fff;
  padding: 6px;
  border-radius: 18px;
  height: auto;
}

.input_setting i, .input_setting_paragraph i{
  background: #49515a;
}

.input_remove i {
  background: #d73027;
}

/* file upload */
.file-input {
  border: 1px solid #ced4da;
  padding: 3px 0px 3px 3px;
  border-radius: 5px;
}

.custon-upload-input {
  float: left;
  /* display: flex; */
  position: absolute;
  z-index: 9;
  opacity: 0;
  font-size: 13px;
  height: 26px;
}

#custom-upload-button {
  padding: 2px 8px;
  color: #495057;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  font-size: 13px;
  line-height: inherit;
  height: 26px;
  display: inline-block;
}

.camera-btn-outer {
  float: right;
  margin: 0 4px 0 0;
}

.image-btn-outer {
  /* float: left; */
  display: inline-block;
  margin: 0 4px 0 0;
}

.image-btn-outer a {
  padding: 6px 8px;
  font-size: 13px;
  height: 24px;
  cursor: pointer;
}

.custom-upload-text {
  /* margin-left: 10px; */
  color: #aaa;
  font-size: 13px;
}

.file-input-delete {
  padding: 7px 8px;
  font-size: 13px;
  color: #dc3545 !important;
  cursor: pointer;
  text-decoration: none;
}

.input-group-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* padding: .375rem .75rem; */
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057 !important;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef !important;
  border: 1px solid #ced4da !important;
  border-radius: .25rem;
  text-decoration: none;
}

.grid-wraper {
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.grid-label {
  border-bottom: 1px solid #ced4da;
  color: #000 !important;
  padding: 2px 5px !important;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.grid-wraper .sport_tree {
  padding-left: 10px;
}

.grid-wraper .sport_tree li {
  padding-left: 10px;
}

/* .sport_tree label{
  display: inline-block;
} */

/* multi-select-checkbox */
.custom-align-center {
  line-height: 1.5rem;
}

.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}

.custom-control-label::before {
  position: absolute;
  top: .25rem;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #dee2e6;
}

.custom-control-label::after {
  position: absolute;
  top: .25rem;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.custom-control-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox .custom-control-label::before {
  border-radius: .25rem;
}

.custom-radio .custom-control-label::before {
  border-radius: 50%;
}

.bnr_img {
  background: #fff;
  /* border: 1px solid #ced4da; */
  padding: 5px 10px;
  border-radius: .25rem;
  padding: 0;
}

.bnr_img>.bnr_img_icon {
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ced4da;
  width: 100%;
  min-height: 100px;
  /* height: 110px; */
  overflow: hidden;
}
.bnr_img_icon img{
  max-width: 100%;
  height: auto;
}

/* blank space */
.blank_space {
  background: #f7fafd;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
}

/* buttons */

.float-left {
  float: left !important;
}

.float-right {
  float: right !important;
}

.online-form-field-list .input_btn {
  opacity: 0;
}

#form-online .online-form-field-list:hover .input_btn {
  opacity: 1;
}
#form-settings-content .select-sec .input_btn{
  opacity: 0;
}
#form-settings-content .select-sec:hover .input_btn{
  opacity: 1;
}

#form-online .active-field {
  -webkit-box-shadow: none;
  box-shadow: none;
}

#form-online .active-field:hover {
  -webkit-box-shadow: 0px 0px 0px 1px #0293e2;
  box-shadow: 0px 0px 0px 1px #0293e2;
}

/* settings page styling */

.side-navbar-left {
  background-color: #333;
  bottom: 0px;
  left: 0;
  position: fixed;
  top: 35px;
  width: 240px;
  /* z-index: -1; */
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  opacity: 1;
  padding-left: 10px;
  padding-top: 20px;
  padding-right: 10px;
  overflow-y: auto;
}
.navbar-primary .navbar-primary-menu, 
.navbar-primary .navbar-primary-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-navbar-left .navbar-primary-menu li:nth-child(1) {
  width: 100%;
}

.side-navbar-left > .navbar-primary-menu li {
  border-radius: 4px;
  position: initial;
}
.side-navbar-left > .navbar-primary-menu li a.active {
  background: #ecedf2;
  color: #212529;
}

.side-navbar-left > .navbar-primary-menu li a {
  border-radius: 4px;
  margin: 2px 0;
}
.navbar-primary .navbar-primary-menu li a {
  display: block;
  padding: 12px 18px;
  text-align: left;
  border-bottom: solid 1px #444;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

/* main content styling section - Form settings */
.main-content {
  /* margin-top: 42px; */
  margin-left: 0px;
  padding: 20px;
  background-color: #ecedf2;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.side-navbar-left ~ .main-content {
  padding: 50px;
}
.side-navbar-left.navbar-primary ~ .main-content {
  margin-left: 240px !important;
}
#form_online {
  height: 100vh;
  overflow-y: scroll;
  margin-top: 35px;
}
#form-settings-content >.tab-pane {
  box-shadow: none;
  padding: 0;
}
.main-content .form_card {
  margin: 60px 0px;
  padding: 40px;
  background: #ffffff;
  /* width: 100%; */
  min-width: 500px;
}
#form-settings-content .form_card {
  margin-bottom: 40px;
  padding-right: calc(100% - 43.75rem);
  margin-top: 0;
}
.head-top-icon {
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding: 40px;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  margin-right: 10px;
}
.form-line {
  position: relative;
}
#form-settings-content .select-sec {
  width: 400px;
  border: 1px solid transparent;
  cursor: move;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 10px;
  background-color: #1976ab;
  color: #ffff;
}
.form-group input, .form-group textarea {
  display: block;
  background: none;
  padding: 0.125rem 0.4rem 0.0625rem;
  font-size: 13px;
  border: 1px solid #e0dddd;
  line-height: 1.9;
  width: 100% !important;
  color: transparent;
  -webkit-transition: all 0.28s ease;
  transition: all 0.28s ease;
  box-shadow: none;
}
#form_online input, #form_online select, #form_online textarea {
  pointer-events: none;
}

.form-group.custom_check input {
  width: 1rem !important;
  height: 1rem !important;
}
.form-group select, .form-group input:focus, .form-group input:valid, .form-group input.form-file, .form-group input.has-value, .form-group textarea:focus, .form-group textarea:valid, .form-group textarea.form-file, .form-group textarea.has-value {
  color: #333;
}
.add-checkbox-sec {
  width: 400px;
  border: 1px dotted #c6c6c6;
  cursor: move;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 10px;
  background-color: #ffffff;
  font-size: 14px;
  text-align: center;
}
#form-settings-content .form_card.pr_auto {
  padding-right: 40px;
}
.settings-page-btn-labal {
  font-weight: 500;
}

/* side-tab2 styling */

.custom-group-text{
  padding: .375rem .75rem !important;
}
.pr-40{
  padding-right: 40px !important;
}
.sectionbg {
  padding: 10px;
  background: #f5f6f6;
}

/* custom check box */
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: #007bff;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before {
  background-color: #007bff;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}

.invalid-feedback {
  display: block;
}

/* custom alert position */
.alert-fixed{
    position: sticky;
    z-index: 9999;
    top: 0;
    transform: translateY(5px);
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 0 !important;
}


/* Overflow max-width  */

.textarea-content-wrapper{
  max-width: 100%;
}
.textarea-content-wrapper img{
  max-width: 100%;
}
