.tabbable-custom .nav {
  display: flex;
}

@media screen and (max-width: 991px) {
  .tabbable-custom .nav {
    overflow-x: scroll;
  }
}

/* Step tabs begin */
.tab-content {
  position: relative;
  background-color: #F2F2F2 !important;
  border: none !important;
}
.nav-tabs li.active a {
  background-color: #F2F2F2 !important;
  border: none;
  color: #000000;
}
.neo-demat {
  overflow: visible;
}
.neo-demat .nav-tabs li a {
  padding: 4px 10px;
  color: #000000;
  white-space: nowrap;
  scroll-snap-align: start;
}
.nav-tabs li a:hover {
  color: none;
}
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
  cursor: default;
  border: none;
  color: #3767D6 !important;
}
.neo-demat .nav-tabs {
  height: 30px;
}
/* Step tabs end */

.builder-reboot {
  position: absolute;
  right: 30px;
  top: 45px;
  background: #FFFFFF;
  box-shadow: 1px 1px 15px rgba(86, 86, 86, 0.3);
  border-radius: 4px !important;
  border: none;
  outline: none;
  padding: 7px 12px;
  font-family: Open Sans;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  transition: all 250ms ease-in-out;
}

.builder-reboot:hover {
  transform: scale(1.025);
}

.builder-reboot:active {
  opacity: 0.85;
}

@media screen and (max-width: 991px) {
  .tabbable-custom .tab-content {
    width: 100%;
  }

  .tabbable-custom .tab-content .tab-pane {
    overflow-x: scroll;
    width: 100%;
  }

  .tabbable-custom .tab-content .tab-pane .tab-pane-content {
    min-width: 1300px;
  }

  .builder-reboot {
    position: relative;
    top: 0;
    right: auto;
  }
}

.builder-input {
  margin-bottom: 0.1vh;
  width: 250px;
  height: 30px;
}
.builder-input-margin {
  margin-bottom: 15px;
}
.builder-element-label {
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-size: 14px;
}
.builder-input-inline {
  display: inline;
}
.builder-input-button {
  height: 30px;
  line-height: 0;
  margin-top: -3px;
  margin-right: 30px;
}
.builder-btn-add-option {
  font-size: 14px;
}
.builder-element-textarea {
  width: 80%;
  height: 200px;
}
.builder-actions {
  display: inline;
  float: right;
}
.builder-action-delete {
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-size: 14px;
  color: #FF0408;
  margin-left: 5px;
  margin-right: 5px;
}
.builder-action-edit {
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-size: 14px;
  text-align: right;
  color: #FFA401;
  margin-left: 5px;
  margin-right: 5px;
}
.builder-element-text {
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  display: inline-block;
  color: rgba(0, 0, 0, 0.5);
}
.builder-element-type {
  font-weight: 600;
  font-size: 14px;
  color: #000000;
  display: inline-block;
}
.builder-group-add {
  font-weight: 600;
  font-size: 14px;
  color: #000000;
  display: inline-block;
  margin-top: 5px;
}
.builder-title {
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  margin-top: 10px;
  margin-bottom: 10px;
}
/* these grids will be used to align columns in the builder */
.builder-grid {
  display: grid;
  margin-top: 10px;
  grid-template-columns: 200px 1fr 1fr 2fr;
  grid-template-rows: max-content;
  padding-left: 50px;
  padding-right: 11px;
}
.builder-grid-first-level {
  display: grid !important;
  line-height: unset !important;
  grid-template-columns: 200px 1fr 1fr 2fr;
  grid-template-rows: max-content;
}
.builder-grid-second-level {
  display: grid !important;
  line-height: unset !important;
  /* grid-template-columns: 0 150px 1fr 1fr 2fr; */
  grid-template-columns: 200px 1fr 1fr 2fr;
  grid-template-rows: max-content;
  padding-right: 0px !important;
}
.builder-grid-group {
  display: grid !important;
  line-height: unset !important;
  grid-template-columns: 200px 1fr 1fr 2fr;
  margin-bottom: 14px;
}
/* ----------- */
/* .row.dd3-content.builder-grid-second-level { */
.dd3-content.builder-grid-second-level {
  padding-right: 0px !important;
}
/* .row.dd3-content.step { */
.dd3-content.step {
  border-color: black;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}
.builder-grid-elem {
  font-weight: 600;
  font-size: 14px;
  color: #000000;
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.builder-buttons {
  text-align: center;
  margin-top: 30px;
}
.builder-leading {
  font-family: Open Sans;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
}
.builder-subtitle {
  font-family: Open Sans;
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #808080;
}
.builder-btn {
  color: white;
  font-family: Open Sans;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  border-width: 0;
  padding: 7px 14px;
  font-size: 14px;
  outline: none !important;
  background-image: none !important;
  filter: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  text-shadow: none;
}
.builder-select {
  width: 100%;
  height: 44px;
  background-color: white;
  font-family: Open Sans;
  font-size: 14px;
  line-height: 14px;
  color: #686565;
}
.builder-select:focus{
  outline: none;
}
.add {
  color: #27AE60 !important;
}
.modify {
  color: #FFA401 !important;
}
.remove {
  color: #E74C3C !important;
}
.cancel {
  background-color: #78909C;
  color: white;
}
.unclickable {
  opacity: 0.5;
}
.outline-add {
  background-color: #27AE60 !important;
  color: white;
}
.outline-modify {
  background-color: #FFA401 !important;
  color: white;
  border: 1px solid #FFA401;
}
.outline-remove {
  background-color: #E74C3C !important;
  color: white;
  border: 1px solid #E74C3C;
}
.outline-group {
  color: #878787;
  background: #FFFFFF;
  border: 1px solid #878787;
}

.checkmark.plain {
  margin: 5px 10px;
  padding: 5px 10px;
  min-width: 25px;
  height: 25px;
  background-color: #25478C;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 65%;
  white-space: nowrap;
  border: solid 1px #25478C;
  border-radius: 25px !important;
  transition: 300ms all ease-out;
}

.checkmark.outline {
  margin: 5px 10px;
  padding: 5px 10px;
  min-width: 25px;
  height: 25px;
  background-color: white;
  color:#25478C;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 65%;
  white-space: nowrap;
  border: solid 1px #25478C;
  border-radius: 25px !important;
  transition: 300ms all ease-out;
}

.map-child {
  margin-left: 100px;
}

.editor-image {
  max-width: 70%;
}

.neo-demat .row.dd3-content {
  line-height: unset !important;
}

.file-uploader-select {
  width: 50%;
  display: inline-block;
  margin-bottom: 5px;
}
