.btn.pull-right{
  margin-left: 25px;
}

.fa-asterisk {
  font-size: .7em;
  color: #aaa;
}


h2.inline{
  display: inline;
}

.my-forms{
  margin-top: 30px;
}

.form-control.checkbox-group{
  height: auto !important;
}

.input-group-btn .btn{
  border: 1px solid #9a9c9d;
}

.form-card.published {
  border-left: 3px solid var(--green) !important;
}

.form-card.unpublished {
  border-left: 3px solid var(--red) !important;
}

.unpublished-tag {
  display: inline-block;
  margin-top: 5px;
}

.form-title {
  font-size: 1.5em;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 3px;
}

.component {
  margin-top: 16px;
  max-width: 100%;
  overflow: none;
  height: 100%;
}

.non_group_component {
  height: 150px;
  overflow-y: auto;
}

.component .panel-body {
  padding-top: 10;
}

.no-padding {
  padding: 0;
}

.header {
  margin-bottom: 10px;
}

.handle {
  border: 1px solid var(--light-grey);
  padding: 2px;
}

.btn-text {
  margin-left: 5px;
}

.btn-text:hover {
  cursor: pointer;
}

.btn-edit:hover {
  color: var(--blue);
}

.btn-copy:hover {
  color: var(--purple);
}

.btn-delete:hover {
  color: var(--red);
}

.btn-rmv-row {
    position: absolute;
    left: 0;
    top: 5;
}

.btn-rmv-row:hover {
  color: var(--red);
}

.new-form-empty {
  margin: 10px;
  height: 120px;
  line-height: 10px;
  border: dashed 2px var(--light-grey);
  text-align: center;
  font-size: 1.5em;
  color: var(--grey);
}

.component-style {
  border: 1px solid var(--light-grey);
  border-radius: 5px;
  padding: 5px 15px;
  background-color: white;
  overflow: hidden;
}

.non_group_style {
  height: 150px;
  overflow-y: auto;
}

.left-spacing {
  margin-left: 20px;
}

.component-type {
  margin-top: 0;
  color: var(--blue);
}

#preview-container {
  height: 32px;
  padding: 2px 4px;
}

#preview-text {
  font-size: 16pt;
  position: relative;
  top: 5px;
}

.survey {
  display: block;
  overflow: auto;
  height: auto !important;
  text-align: center;
}

.survey-numbers, .survey-buttons {
  display: flex;
  text-align: center;
}

.survey-numbers {
  border-bottom: 1px solid var(--light-grey);
}

.survey-numbers>label, .survey-buttons>label {
  width: 100%;
  height: 100%;
}

.survey-numbers>label:hover, .survey-buttons>label:hover {
  background-color: var(--light-grey);
  cursor: pointer;
}

.survey-button {
  float: none;
  margin: 5px 50% !important;
  transform: translate(-50%, 0);
}

.text-container {
  padding: 5px 0px;
}

.text-container {
  overflow-wrap: break-word;
}

.group-container {
  min-height: 30px;
  line-height: normal;
  height: auto;
  width: 100%;
}

@media(max-width: 1000px) {
  #catalog {
    position: sticky;
    width: 100%;
    top: 0px;
    z-index: 1000;
  }

  .list-group-item {
    display: inline-flex;
  }
}

@media(min-width: 1001px) {
  #catalog {
    position: sticky;
    width: 15%;
    float: right;
    top: 0px;
  }
}

#main-content-scroll{
  overflow-y: scroll;
  max-height: 80vh;
}

.catalog-section {
  width: 100%;
  font-size: 15pt;
}

.catalog-item:hover {
  cursor: grab;
}

/* Switch HTML and CSS from https://www.w3schools.com/howto/howto_css_switch.asp */
/* The switch - the box around the slider */
.switch {
  position: relative;
  top: -14;
  display: inline-block;
  width: 56px;
  height: 26px;
  margin-bottom: 0;
}

/* Because Firefox likes to be different */
@-moz-document url-prefix() {
  .switch {
    top: 0 !important;
  }
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.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: 22px;
  width: 22px;
  left: 4px;
  bottom: 2px;
  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%;
}

.spacer{
  min-height: 30px;
}

.question_preview{
  margin-top: 10px;
  padding: 5px 15px;
}

.collapsed span.chevron {
  transform: rotate(90deg)
}

.preview_holder {
  max-width: 1200px;
  margin: 10px auto;
}

.question_preview .fa-asterisk {
	color: var(--red);
}

#loading-wrapper > #loader div {
  border-color: var(--light-grey) !important;
}

.option_row span.fa-plus:hover {
  cursor: pointer;
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .30);
    z-index: 9999;
    text-align: center;
    align-items: center;
    justify-content: center;
}
