.mdl-button--fab_flinger-container.story-new-fab-container {
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 10;
}

.story-new-fab-container.is-showing-options .fab_btn,
.story-new-fab-container.is-showing-modal .fab_btn {
  display: none;
}

.fab_btn-close {
  z-index: 12;
}

.story-new-fab-container.is-showing-menu .fab_btn-close,
.story-new-fab-container.is-showing-modal .fab_btn-close {
  display: none;
}

.story-new-fab-container .story-new-fab-modal {
  visibility: hidden;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(200,200,200,0.0);
  transition: display 0.0s, background-color 0.1s ease-in;
  -ms-transition: display 0.0s, background-color 0.1s ease-in;
  -moz-transition: display 0.0s, background-color 0.1s ease-in;
  -webkit-transition: display 0.0s, background-color 0.1s ease-in;
}

.story-new-fab-container.is-showing-options .story-new-fab-modal{
  visibility: visible;
  background-color: rgba(200,200,200,0.2);
  transition: display 0.0s, background-color 0.1s ease-out;
  -ms-transition: display 0.0s, background-color 0.1s ease-out;
  -moz-transition: display 0.0s, background-color 0.1s ease-out;
  -webkit-transition: display 0.0s, background-color 0.1s ease-out;
}

.story-new-fab-container.is-showing-modal .story-new-fab-modal{
  visibility: visible;
  background-color: transparent;
  top: initial;
  bottom: 0;
  height: 110px;
  overflow: visible;
}

.story-new-fab--btn_pos {
  position: fixed;
  bottom: 35px;
  right: 30px;
}

.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color {
  background-color: #d81b60;
}

.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color:hover,
.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color:active,
.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color:focus:not(:active) {
  background-color: #f74083;
}

.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color--cerulean,
.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color--cerulean:hover,
.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color--cerulean:active,
.mdl-button--fab.mdl-button--colored.story-new-fab--btn_color--cerulean:focus:not(:active) {
  background-color: #000000;
}


.story-new-fab-container.is-showing-options .mdl-button--fab_flinger-options.story-new-fab-options {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 12;
}

.story-new-fab-container.is-showing-options .mdl-button--fab_flinger-options.story-new-fab-options {
  -webkit-flex-direction: column-reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
}

.story-new-fab-container .mdl-button--fab_flinger-options.story-new-fab-options {
  position: absolute;
  margin-bottom: 10px;
}

.story-new-fab-option-container-bottom {
  position: fixed;
  left: 100px;
  width: calc(100% - 200px);
  bottom: 0;
  display: none;
}

.story-new-fab-option-container-center {
  position: fixed;
  left: 0;
  width: 100%;
  height: 20%;
  overflow: auto;
  padding-left: 100px;
  padding-right: 100px;
  display: none;
  top: 40%;
}

.story-new-fab-dialog {
  width: 100%;
  background: #FFFFFF;
}

.module-delete-button {
  display: none;
  z-index: 10;
  box-shadow: 0px 0px 72px #d81b60;
}

.module-delete-button .dropzone {
  opacity: 0;
  position: relative;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
}

.dragging-module .module-delete-button {
  display: block;
}

.dragging-module .story-new-fab-container {
  display: none;
}

/*Add Module FAB attached to row*/
.story-row .story-new-module-add-fab-container.attached-to-row,
.dragging-module .story-row:hover .story-new-module-add-fab-container.attached-to-row,
.dragging-module .story-row .story-new-module-add-fab-container.attached-to-row.is-showing-options,
/*Add Module FAB attached to module*/
.dragging-module .story-module .story-new-module-add-fab-container.attached-to-module,
.story-module .story-new-module-add-fab-container.attached-to-module,
.dragging-module .story-module:hover:not(:active) .story-new-module-add-fab-container.attached-to-module,
.dragging-module .story-module:hover:active .story-new-module-add-fab-container.attached-to-module:hover,
.dragging-module .story-module .story-new-module-add-fab-container.attached-to-module.is-showing-options,
/*Do not show Add Module FAB for last child in highest cell in the row*/
.story-cell.highest-cell-in-row .story-module:last-child:hover .story-new-module-add-fab-container.attached-to-module
{
  display: none;
}

/*Add Module FAB attached to row*/
.story-row:hover .story-new-module-add-fab-container.attached-to-row,
.story-row .story-new-module-add-fab-container.attached-to-row.is-showing-options,
/*Add Module FAB attached to module*/
.story-module:hover:not(:active) .story-new-module-add-fab-container.attached-to-module,
.story-module:hover:active .story-new-module-add-fab-container.attached-to-module:hover,
.story-module .story-new-module-add-fab-container.attached-to-module.is-showing-options {
  display: block;
}

.story-new-module-add-fab-container.attached-to-module {
  position: relative;
  z-index: 51;
}

.story-new-module-add-fab-container.attached-to-row {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 51;
}

.attached-to-module .story-new-module-add-fab--btn_pos {
  position: absolute;
  z-index: 51;
  bottom: -29px;
  left: -22px;
}

.attached-to-row .story-new-module-add-fab--btn_pos {
  position: absolute;
  bottom: -20px;
  left: 5px;
}

.story-new-module-add-fab-container .story-new-module-add-fab-modal {
  display: none;
  opacity: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 51;
}

.story-new-module-add-fab-container.is-showing-options .story-new-module-add-fab-modal {
  display: block;
}

.story-new-module-add-fab-container .module-add-button-close {
  z-index: 52;
  display: none;
}

.story-new-module-add-fab-container .module-add-button-close:hover,
.story-new-module-add-fab-container .module-add-button:hover {
  color: lightgrey;
}

.story-new-module-add-fab-container.is-showing-options .module-add-button-close {
  display: block;
}

.story-new-module-add-fab-line {
  border-bottom: 3px solid #000000;;
}

.attached-to-module .story-new-module-add-fab-line {
  position: absolute;
  bottom: -10px;
  height: 1px;
  width: 100%;
}

.attached-to-row .story-new-module-add-fab-line {
  position: absolute;
  bottom: -2px;
  height: 0px;
  width: 97%;
  left: 5px;
}

.story-new-fab-dialog {
  text-align: center;
}

.story-new-colorpicker-container {
  display: inline-block;
  padding: 10px 30px;
  position: relative;
}

.mdl-checkbox__box-outline.story-new-colorpicker {
  position: relative;
  top: 2px;
  overflow: initial;
}

.story-new-colorpicker-label {
  display: inline-block;
}

.fss-container {
  align-items: center;
  justify-content: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.fss-container-label {
  padding: 10px 20px;
}

.fss-slider-ctn {
  width: 560px;
  position: relative;
}

.fss-slider-tick {
  width: 1px;
  height: 10px;
  background: gray;
  position: absolute;
  top: 4px;
}

.tooltip-container {
  display: inline-block;
  position: relative;
}

.tooltip-container .tooltip-text {
  display: inline-block;
  visibility: hidden;
  position: absolute;
  width: auto;
  font-size: 10px;
  text-align: center;
  color: #fff;
  background-color: #656666;
  border: 1px solid #656666;
  border-radius: 2px;
  z-index: 12;
  padding: 5px 8px;
  right: 100%;
  top: 100%;
  margin-top: 33%;
  margin-bottom: 5px;
  white-space: nowrap;
}
