/*custom old css*/

.array-add-button {
  margin: 10px;
}
.switch-widget-block {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  cursor: not-allowed;
}

.disable {
  opacity: 0.3;
}
.noGroup > * > div > * > * > div > fieldset {
  border: 0px !important;
  padding: 0px !important;
}
.noGroup {
  padding: 0px !important ;
}

.with-label {
  border: 1px solid lightgray;
  margin-bottom: 10px;
  position: relative;
}
input.dp-picker-input {
  width: 100% !important;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  padding: 10px;
  font-size: 14px !important;
  height: 40px !important;
}
.ngClist > div {
  padding: 6px;
}

.inputSearch > sf-form {
  padding: 0px !important;
}

sf-form-object {
  position: relative;
  display: block;
}

.list-fields {
  display: flex;
  flex-wrap: wrap;
}

sf-form {
  display: block;
  padding: 10px 0px;
}

sf-form-element {
  display: block;
  width: 100%;
  position: relative;
}

.list-fields > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

sf-widget-chooser {
  display: block;
}

sf-string-widget {
  display: block;
}

td {
  padding: 0px 6px 3px 0px;
}

.key {
  padding: 0px 6px 3px 0px;
  background-color: #a2efe8;
}

.key.selected {
  background-color: #109488;
  color: white;
}

.listKey {
  margin: 10px 0px;
}

.keyEdit {
  background-color: #e3e3e3;
  padding: 4px 10px;
}
/* css for add button on api widget */
a.input-add-button {
  width: 25px;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  text-decoration: none !important;
}
a.input-view-button {
  color: white;
  text-decoration: none;
}

a.input-add-button i:before {
  color: #007bff;
}
/* some pleace we need to z-index be default*/
.default-z-index {
  z-index: 0;
}
/* for onload button  */

button.onload::after {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  margin-right: 10px;
  border-radius: 100px;
  border: 2px solid #e9ecef;
  border-top-width: 0px;
  border-right-width: 0px;
  -webkit-animation: fa-spin 0.2s linear infinite;
  animation: fa-spin 0.2s linear infinite;
}

button.onload {
  display: flex;
}

/* fix direction in datePicker mode time*/
dp-time-select .dp-time-select-controls {
  direction: ltr;
}

/*delete margin for noneGroup object */

.noneGroup > * > * > * > sf-form-object {
  margin: 0px;
  top: -3px;
}
/* margin top for inline form in form*/

.btn-formModal .main-form {
  margin-top: 20px;
}

btnformmodal-widget > div > .btn {
  background-color: #63c2de;
  color: white;
}

.schemaEdit {
  display: inline-block;
  position: relative;
  width: 100%;
}

/*show button inline in form */

/* border for warning message show text yellow and border input yellow */

.warning input,
.warning .widget-input {
  border: 1px solid yellow !important;
}

.warning {
  color: yellow;
}

/* border danger where not valid and show message red */

/* not valid*/
.danger span.input-group-text {
  color: white;
}
.danger .parentSelection,
.danger .parenActive {
  border-color: red !important;
}
.danger {
  color: red;
}
.danger .label {
  color: white !important;
  background-color: red !important;
}
.danger input,
.danger .widget-input {
  border: 1px solid red !important;
}

/* valid */
.valid .parentSelection,
.valid .parenActive {
  border-color: #cfd8dc !important;
}
.valid span.input-group-text {
  color: black;
}
.valid {
  color: initial;
}
.valid input,
.valid .widget-input {
  border: 1px solid #ced4da !important;
}
/* valid input back to default */

.valid .label {
  color: initial !important;
  background-color: #f0f3f5 !important;
}

/* success input border green*/

.success input {
  border: 1px solid #46f546 !important;
}

.inline-lable label {
  display: inline;
}

.inline-lable label + * {
  /* display: inline-block; */
}

.date-picker {
  color: black;
}

.date-picker label {
  color: white;
}

dp-date-picker > div + div {
  left: inherit !important;
}

color-picker {
  /* direction: ltr; */
}
/* end custom css*/

/*for datepicker show better disable and enable days*/
input:disabled,
input:disabled,
input:disabled,
input:disabled::-webkit-file-upload-button,
button:disabled,
select:disabled,
optgroup:disabled,
option:disabled,
select[disabled] > option {
  font-weight: 100 !important;
  opacity: 0.3;
}

.dp-prev-month,
.dp-next-month {
  opacity: 0.1 !important;
  font-weight: 100 !important;
}

/* end edit for datepicker  */

/* disable display for disable field in form builder */
.displaynone {
  display: none;
}

/* add css for table selection lable and input*/

.inputSearch label {
  color: black;
  text-align: center;
  width: 100%;
}

.inputSearch {
  width: 100%;
}

/* add css for duble list add arrow image */

.btn.add-select {
  background-image: url("img/single-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn.add-all {
  background-image: url("img/duble-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn.remove-select {
  background-image: url("img/single-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}

.btn.remove-all {
  background-image: url("img/duble-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
  background-size: contain;
}

.btn.remove-select:hover {
  transform: rotate(180deg) scale(1.2);
}
.btn.remove-all:hover {
  transform: rotate(180deg) scale(1.2);
}

/* end css for form builder */

/* css for treeSelect */

.keyRefrence {
  padding: 5px;
  height: 24px;
  width: 100%;
  position: relative;
  background-color: white;
  color: #d9d9d9;
  border: 1px solid;
  margin: 10px 0px;
}

.inFixedBack {
  padding: 9px;
}

.Tree.lebel {
  font-size: 18px;
  margin-bottom: 10px;
}

.selectTree {
  position: relative;
  margin-right: 10px;
}

.tree-property {
  padding: 7px 14px 7px 7px;
  display: flex;
  position: relative;
  width: -webkit-fill-available;
}
.tree-property .switch {
  width: 12px;
  height: 12px;
  right: -7px;
  top: 9px;
  position: absolute;
  background-color: #0e1d28;
}
.childObject {
  margin-right: 24px;
}

.list > div {
  border-right: 2px solid #000000;
  transition-duration: 1s;
}

.childObject .value {
  color: #000000;
}

.tree-property.open {
  width: fit-content;
  border-bottom: 2px solid #000000;
}
/**/

/*css for fieldset */
fieldset.default {
  margin-bottom: 24px;
  background-color: #ffffff1a;
}

.default > label {
  border-bottom: 2px solid;
  padding-bottom: 11px;
}
/*end css for fieldset*/

/*css for wizard*/
.wzard_steps {
  display: flex;
}

.wzard_steps label {
  font-size: 12px;
  cursor: pointer;
  padding-bottom: 5px;
}

.wzard_steps > div {
  width: 100%;
  text-align: center;
}

.wzard_steps label.active {
  border-bottom: 2px solid #000000;
}

.horizonal {
  display: flex;
}

.wzard_steps.horizonal {
  display: block;
}

.fielsList.horizonal {
  display: block;
  width: 100%;
}
/*end css for wizard*/

/*css for accordion*/

.accordion {
  position: relative;
  display: inline-block;
  width: 100%;
  max-height: 41px;
  overflow: hidden;
}

.accordion.open {
  max-height: 1000px;
  overflow: visible;
}

.default.accordion.open {
  max-height: 500px;
}
/*end css of accordion*/

/*css for date picker */
.date-picker dp-date-picker {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
}
/*end css for date picker*/

/*css for object list edit */
.mainobjlist > table {
  width: 100%;
  color: black;
}

.mainobjlist th {
  /* width: 100%; */
  background-color: #0a4f48;
  color: white;
  padding: 1;
}

.mainobjlist thead {
  width: 100%;
}

.mainobjlist {
  padding: 5px;
  background-color: white;
  margin: 10px 0px;
}

.mainobjlist tr {
  background-color: #a2efe8;
}

.mainobjlist tr.active {
  background-color: #109488;
  color: white;
}
/*end css for object list edit*/
/*css for keyEdit widget */
.keyInput {
  padding: 15px;
}
.lis-formelement {
  background-color: #0000001c;
  margin: 10px 0px;
  padding: 0px 10px;
}
/*end css for keyEdit widget*/
/*css for object  */

/*end css for object*/

/*css for key Edit in formBuilder */
.keyEdit .listKey {
  background-color: white;
  padding: 1px 4px;
  margin: 5px 0px;
}

.keyEdit .listKey .key {
  background-color: #000000;
  padding: 3px;
  margin: 3px 0px;
  cursor: pointer;
}

.keyEdit .editProperty {
  background-color: rgba(0, 0, 0, 0.41);
  padding: 10px;
  margin: 10px 0px;
  border-radius: 4px;
}

.keyEdit .key.selected {
  background-color: #0a4e47;
}
/*end of css for key Edit */
/*css for modal */
td
  > div
  > div
  > sf-form
  > form
  > sf-form-element
  > div
  > sf-widget-chooser
  > *
  > div
  > label {
  display: none !important;
}

td
  > div
  > sf-form
  > form
  > sf-form-element
  > div
  > sf-widget-chooser
  > *
  > div
  > label {
  display: none !important;
}

.widget.form-group {
  margin: 0px !important;
}

.fixedBack {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.57);
  height: 100%;
  z-index: 1;
  padding: 30px;
  padding-top: 81px;
}

.inFixedBack {
  background-color: white;
  color: black;
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
}

.h120 {
  height: 75px !important;
}
/*end old css for modal*/

/* margin top for inline form in form*/

.btn-formModal .main-form {
  margin-top: 20px;
}

/*show button inline in form */

.parent-btn {
  display: inline-block;
  margin: 0px 0px 10px 10px;
}

.inline-lable label {
  display: inline;
}

.inline-lable label + * {
  /* display: inline-block; */
}

.date-picker {
  color: black;
}

.date-picker label {
  color: black;
}

dp-date-picker > div + div {
  left: inherit !important;
}

color-picker {
  direction: ltr;
}
/* end custom css*/

/*for datepicker show better disable and enable days*/
input:disabled,
input:disabled,
input:disabled,
input:disabled::-webkit-file-upload-button,
button:disabled,
select:disabled,
optgroup:disabled,
option:disabled,
select[disabled] > option {
  font-weight: 100 !important;
  opacity: 0.3;
}

.dp-prev-month,
.dp-next-month {
  opacity: 0.1 !important;
  font-weight: 100 !important;
}

/* end edit for datepicker  */

/* add css for close icon without use image*/
formmodal > div > .ngCdelete {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 22px;
  top: 23px;
}

.ngCdelete > .left,
.ngCdelete > .right {
  width: 2px;
  height: 11px;
  position: absolute;
  background-color: white;
  top: 2px;
}

.ngCdelete > .left {
  transform: rotate(45deg);
}

.ngCdelete > .right {
  transform: rotate(-45deg);
}

.back-white > .ngCdelete {
  position: fixed;
  top: inherit !important;
  right: inherit !important;
  left: inherit !important;
}
/**/

/* theme of selection array in form builder */
.ngCitem {
  background-color: #007bff;
  position: relative;
  color: white;
  width: 100%;
  border: none !important;
  display: flex;
  align-items: center;
}
.ngCitem.array {
  width: auto;
  margin-left: 2px;
  padding: 2px;
  padding-left: 22px;
  margin-bottom: 2px;
}
/**/

/* disable display for disable field in form builder */
.displayNone {
  display: none;
}

/* add css for table selection lable and input*/

.inputSearch label {
  color: black;
  text-align: center;
  width: 100%;
}

.inputSearch {
  width: 100%;
}

.ngCselectlist {
  max-height: 196px;
  overflow: auto;
}

/* add css for duble list add arrow image */
.btn.add-select {
  background-image: url("img/single-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn.add-all {
  background-image: url("img/duble-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn.remove-select {
  background-image: url("img/single-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}

.btn.remove-all {
  background-image: url("img/duble-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
  background-size: contain;
}

.btn.remove-select:hover {
  transform: rotate(180deg) scale(1.2);
}
.btn.remove-all:hover {
  transform: rotate(180deg) scale(1.2);
}
/* end css for form builder */
a.input-view-button.active {
  color: white;
  padding: 5px;
  text-decoration: none;
}

.ngCDiscription {
  width: 100%;
}
.ngCdelete {
  height: 100%;
  direction: ltr;
  z-index: 1;
  align-items: center;
  display: flex;
  padding: 5px;
  text-decoration: none;
  cursor: pointer;
}

.FormBuilder.back-black {
  margin-top: 47px;
}
.margin-left-right {
  margin-left: 200px !important;
  margin-bottom: 200px !important;
  /* margin-bottom: 5px !important; */
}
/*css for height*/
.h75 {
  min-height: 75px;
}
.h80 {
  min-height: 80px;
}
.h85 {
  min-height: 85px;
}
.h90 {
  min-height: 90px;
}
.h95 {
  min-height: 95px;
}
.h100 {
  min-height: 100px;
}
.h105 {
  min-height: 105px;
}
.h110 {
  min-height: 110px;
}
.h115 {
  min-height: 115px;
}
.h120 {
  min-height: 120px;
}
.h125 {
  min-height: 125px;
}
.h130 {
  min-height: 130px;
}
.h135 {
  min-height: 135px;
}
.h140 {
  min-height: 140px;
}
/*end css for height*/

/*css for disable field */
.displayDisabled {
  opacity: 0.3;
  position: relative;
}

.displayDisabled .block-field {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0pc;
}
/* end css for disable field*/

/*css for col to display in current postion*/
.col-sm-6.h75.undefined {
  display: -webkit-box;
}
/*end css for col to display in current postion*/

/**
    css for title of form
*/
.main-form.form_with_label {
  background-color: white;
}

.main-form.form_with_label {
  border: 1px solid #c8ced3;
  margin-bottom: 10px;
}

.main-form.form_with_label > sf-form {
  padding: 10px;
}

/** form animation **/

/* .boxanimation {
     border : 0px !important;
     position: relative !important;
     display: block !important;
     padding: 1px;
 }
 .boxanimation > .label {
    animation-name: moveDown;
    opacity: 0;
    animation-delay: 2.2s;
    top : -60px  !important;
    animation-duration: 1s;
    position : relative !important;
    animation-fill-mode: forwards;
    visibility: visible;
    width: 100%;
    padding: 10px;
    color: black;
    cursor: pointer;
    background-color: #f3f3f3;
    border-bottom: 1px solid lightgray;
    font-size: 14px !important;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: bold;
 }


 .boxanimation > * {
    animation-name: fade;
    animation-delay: 2s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    z-index: auto;
    visibility: hidden;
 }

.boxanimation::before {
    content: "";
    width: 0%;
    top: 0px;
    right : 0px;
    position: absolute;
    height: 0%;
    border-top-color: lightgray;
    border-top-style: solid;
    border-top-width: 0px;
    border-right-color: lightgray;
    border-right-style: solid;
    border-right-width: 0px;
    animation-name: loadtop;
    animation-duration: 1s;
    animation-delay: 1s ;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    z-index: -1;
    visibility: visible !important;
}

.boxanimation::after {
    content: "";
    width: 0%;
    bottom: 0px;
    left: 0px;
    position: absolute;
    height: 0%;
    border-bottom-color: lightgray;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-left-color: lightgray;
    border-left-style: solid;
    border-left-width: 0px;
    animation-name: loadbottom;
    animation-duration: 1s;
    animation-delay: 1s ;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    z-index: -1;
    visibility: visible !important;
} */

/**
disable animation
*/
.form-control {
  border-radius: 0px !important;
  border: 1px solid #ced4da !important;
}
input.dp-picker-input {
  border: 1px solid #ced4da;
}
.form-title.label {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: #f0f3f5;
  border-bottom: 1px solid #c8ced3;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}

.panel > .label {
  opacity: 1;
  animation-delay: 2.2s;
  top: 0px !important;
  animation-duration: 1s;
  position: relative !important;
  animation-fill-mode: forwards;
  visibility: visible;
  width: 100%;
  padding: 10px;
  color: black;
  cursor: pointer;
  background-color: #f0f3f5;
  border-bottom: 1px solid lightgray;
  font-size: 14px !important;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* font awsome animation and danger*/
.danger .input-group > div > span > i:before {
  color: white;
  animation: fadein;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

.valid .input-group > div > span > i:before {
  color: black;
  animation: none;
}

.danger span.input-group-text {
  background-color: red;
  border: red;
}

.valid span.input-group-text {
  background-color: rgb(233, 236, 239);
  border: rgb(206, 212, 218);
}

/* css for drag and drop items */
.onDrop[draggable="true"] {
  background-color: #00000033;
}

.onDrag[draggable="true"] {
  opacity: 0.1;
}

.dragable-item-array {
  background-color: #0000000d;
  border: 1px solid #0000001c;
  cursor: move;
  padding: 2px;
}

/* css for item array with index*/

.array-item-index {
  position: absolute;
  background-color: darkgrey;
  padding: 0px 5px;
  border-radius: 3px;
  bottom: 0px;
  left: 0px;
}

.dragable-item-array {
  position: relative;
}

/*for high light search match in search pipe */

span.search-pipe {
  background-color: yellow;
}

@keyframes loadtop {
  0% {
    width: 0%;
    height: 0%;
    border-top-width: 1px;
    border-right-width: 0px;
  }
  20% {
    width: 25%;
    height: 0%;
    border-top-width: 1px;
    border-right-width: 0px;
  }

  80% {
    width: 100%;
    height: 75%;
    border-top-width: 1px;
    border-right-width: 1px;
  }

  100% {
    width: 100%;
    height: 100%;
    border-top-width: 1px;
    border-right-width: 1px;
  }
}

@keyframes loadbottom {
  0% {
    height: 0%;
    width: 0%;
    border-bottom-width: 0px;
    border-left-width: 0px;
  }
  20% {
    height: 25%;
    width: 0%;
    border-bottom-width: 1px;
    border-left-width: 0px;
  }

  80% {
    height: 100%;
    width: 75%;
    border-bottom-width: 1px;
    border-left-width: 1px;
  }

  100% {
    height: 100%;
    width: 100%;
    border-bottom-width: 1px;
    border-left-width: 1px;
  }
}

@keyframes fade {
  0% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}
@keyframes moveDown {
  0% {
    top: -60px;
    opacity: 0;
  }
  100% {
    top: 0px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
