.markdownEditorPage {
  height: 100%;
  display: flex;
  flex-direction: column;

  .editor-functions {
    display: flex;

    .editorButton {
      /*Align with form and editor*/
      margin: 10px 20px
    }
  }

  .editorConfig {
    margin-left: 20px;

    .configItemListTitle {
      display: inline-block;
      font-weight: bolder;
      border-bottom: 3px solid black;
    }

    .configItem {
      display: flex;
      flex-direction: column;
      align-items: flex-start;

      .toggleWrapper {
        background-color: white;
        min-width: 40%;
        border: 3px solid #dfdfe3;
        border-radius: 0 5px 5px 5px;

        .switch {
          margin: 5px;
        }
      }

      .configItemTitle {
        font-weight: bolder;
        margin-bottom: 0;
        background-color: #dfdfe3;
        padding: 5px;
        border-radius: 5px 5px 0 0;
      }

      &.list-wrapper {
        flex-direction: column;
      }

      &.image-list {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        margin: 15px 0;

        .configListItem {
          display: flex;
          flex-direction: column;
          align-items: center;

          .configItemTitle {
            margin-top: 0;
            margin-bottom: 10px;
          }
          &:hover {
            outline: #fd8b0d 2px solid;
            cursor: pointer;
          }
        }
      }

      .configImage {
        max-width: 50px;
        max-height: 50px;
        object-fit: contain;
      }
    }
  }

  .editor {
    width: 90%;
    background-color: white;
    margin: 20px auto;
  }

}

input {
  min-width: 40%;
  font-size: 1.1rem;
  line-height: 2;
  border: 3px solid #dfdfe3;
  border-radius: 0 5px 5px 5px;
}

p::first-letter {
  text-transform: uppercase;
}


/* Seperate Slider CSS */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;

  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: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: #fd8b0d;
  }

  input:focus + .slider {
    box-shadow: 0 0 1px #fd8b0d;
  }

  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%;
  }
}
