.rform-editform-modal,
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.rform-modal-content {
  display: flex;
  gap: 5px;
  flex-direction: column;
  background-color: #ffffff;
  margin: auto;
  /* 15% from the top and centered */
  width: 30%;
  /* Could be more or less, depending on screen size */
  /* height: 90%; */
  min-width: 622px;
  box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -webkit-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -moz-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-content {
  display: flex;
  gap: 5px;
  flex-direction: column;
  background-color: #34383c;
  margin: auto;
  /* 15% from the top and centered */
  width: 80%;
  /* Could be more or less, depending on screen size */
  height: 90%;
  box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -webkit-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -moz-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.rform-radiobtn-container {
  display: flex;

  color: #34383c;
  padding-left: 35px;
  cursor: pointer;
  font-size: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0.5rem;
}

/* Hide the browser's default radio button */
.rform-radiobtn-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #acacac;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.rform-radiobtn-container:hover input~.checkmark {
  border: solid 2px #1619d0;
}

/* When the radio button is checked, add a blue background */
.rform-radiobtn-container input:checked~.checkmark {
  background-color: #1619d0;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: block;
}

/* Show the indicator (dot/circle) when checked */
.rform-radiobtn-container input:checked~.checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.rform-radiobtn-container .checkmark:after {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
}


.rform-tab-content {
  display: none;
  padding: 1rem;
}

.rform-radiobtn-container>.rform-radio-btn:checked+.rform-tab-content {
  display: block;
}

.rform-modal-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.rform-modal-header {
  display: flex;
  justify-content: space-between;
  box-shadow: 0px -6px 13px 0px gray;
}

.rform-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem;
  gap: 0.5rem;
  color: #34383c;
  font-size: 16px;
}

.rform-close-btn {
  height: 100%;
  background-color: transparent;
  border: none;
  padding-inline: 1rem;
  color: black;
  font-size: 20px;
  cursor: pointer;
}

.rform-close-btn:hover {
  background-color: rgb(206, 30, 30);
  color: #f3f3f3;
}

.ifr-editor {
  height: 100%;
  width: 100%;
}

.ifr-editor[src] {
  background-color: #34383c;
}

/* The Close Button */
.close {
  color: rgb(255, 255, 255);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.elementor-editor-container {
  width: 100%;
  height: 100%;
}

.flex-direction-col {
  display: flex;
  flex-direction: column;
}

.elementor-modal-iframe-btn-control {
  padding: 15px;
}

.elementor-editor-header-iframe {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.edit-form-wrapper {
  padding: 5px;
  display: flex;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rform-editor-header {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  padding-inline: 1rem;
}

.rform-editor-header>strong {
  font-size: 1rem;
}

.rform-tab-select {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rform-label-select {
  color: black;
  font-size: 15px;
}

.rform-select-form {
  height: 2.5rem;
  padding-inline: 0.5rem;
  font-size: 15px;
  color: black;
  background-color: white ;
}

.rform-tab-select-footer,
.rform-tab-new-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.rform-modal-btn {
  padding-inline: 1rem;
  height: 2.5rem;
  border-radius: 0.35rem;
  border: none;
  background-color: #3153d1;
}

.newform-tabs {
  width: 100%;
}

.newform-tab-header {
  display: flex;
}

.tab-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  background-color: transparent;
  border: none;
  border-radius: 0.375rem;
  font-size: initial;
  cursor: pointer;
}

.tab-item.active {
  background-color: #0d6efd;
  color: #fff;
}

.tab-pane {
  display: none;
  padding: 10px;
}

.tab-pane.active {
  display: block;
}

.rform-input-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mb-3{
  margin-bottom: 1rem !important;
}

.form-label {
  color: #212529;
  margin-bottom: 0.5rem;
  display: inline-block;
}

#tab-general h5 {
  font-size: larger;
  color: #212529;
  margin-block: 1rem;
}

#confirmation_form , #notification_form {
  display: none;
}

.conf_desc , .notif-desc{
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: smaller;
}