header {
  margin-bottom: 0 !important;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

hr {
  margin: 0;
  border-color: #ccc;
}

body {
  overflow: auto !important;
}

#chosenFont {
  white-space: nowrap;
  float: left;
  margin-right: 10px;
}

#chosenFont.largeDropdown {
  /*width: fit-content;*/
}

.largeDropdown {
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  width: 90%;
  overflow: hidden;
  color: #333;
  background-color: #fff;
  cursor: pointer;
  height: 25px;
  position: relative;
  box-shadow: 0px 0px 10px #dadada;
}

.fontListTitle {
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0;
  border-bottom: solid 1px #dadada;
  padding: 0 10px;
  color: #999;
}

.dropdown-menuFonts .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-menuFonts {
  background-color: #fff !important;
  max-height: 300px !important;
  border-radius: 4px;
}

.dropdown-menuFonts .dropdown-item:hover {
  font-size: 14px !important;
  background-color: #dfdfdf !important;
}

.bg-image-options {
  display: none;
}

.myStamps img {
  cursor: pointer;
  max-height: 100px;
}

.sidebar-container {
  z-index: 200;
  width: 20%;
  padding: 0;
}

.sidebar-container .inner {
  padding: 1.5rem;
}

.videoControlButton {
  font-size: 25px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 7px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}

.playButton {
  pointer-events: all;
  position: absolute;
  z-index: 999;
}

.videoControlButton:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.select-book-image {
  height: 80px;
  width: 100%;
  border-radius: 10px;
  border: dashed 1px #999;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease-in-out;
}

.select-book-image:not(.has-selected):hover {
  border: solid 1px #797979;
  background-color: #797979;
  color: #fff;
}

.select-book-image.has-selected {
  border: solid 1px #999;
  cursor: default;
}

.select-book-image > .selected-book-image,
.select-book-image.has-selected > span {
  display: none;
}

.select-book-image > span,
.select-book-image.has-selected > .selected-book-image {
  display: flex;
}

.imageName {
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
}

#userImagesWrapper .file-manager .files .grid-2 {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0px auto;
  /* overflow-x: hidden; */
  text-overflow: ellipsis;
  overflow-y: hidden;
}

.file-manager .files .myStamps {
  flex: 0 0 auto;
  width: 50%;
  padding: 5px !important;
}

.file-manager .files .myStampsAM {
  width: auto;
}

#stamps-view {
  margin: 0 -20px 10px;
}

.closeIcon {
  position: absolute;
  right: -15px;
  top: 0px;
  width: 25px;
  height: 25px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  color: #fff;
  padding: 5px;
}

.closeIcon:hover {
  background-color: rgba(0, 0, 0, 1);
}

.noImage span {
  font-size: 28px;
  color: #999;
}

#saveCanvasButton {
  display: none;
}

#myModalDownload {
  z-index: 9999;
}

#myModalDownload .modal-dialog {
  height: 100vh;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#myModalDownload .modal-content {
  box-shadow: none;
  width: 600px;
}

.save-as {
  border-radius: 4px;
  border: 1px solid #ddd;
}

.save-as-label input[type="radio"]:checked+.save-as {
  background-color: rgba(59, 196, 182, 0.2);
  transition: all 0.1s linear;
}

textarea {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 10px #dadada;
}

.asset-placeholder {
  border-radius: 6px;
}

.mockupWarning {
  outline: solid 5px #ff0000 !important;
}

.imageLoading {
  opacity: 0.1;
}

#main-footer {
  display: none;
}

#uploadedbooksIMAdvanced .files {
  width: 100%;
  padding-bottom: 40px;
}

.bookAddedToTemplateImage .IMEdit {
  display: block;
}

.maincontent {
  left: 20%;
  width: 80%;
  padding: 0;
  margin-top: 60px;
}

.maincontent,
.step-banner {
  transition: all 1s ease;
}

/* step workspaces */
.maincontent.amstep-1,
.maincontent.amstep-2 {
  left: 20%;
  width: 80%;
}

.maincontent.amstep-3 {
  left: 0;
  width: 100%;
}

.maincontent.amstep-custom {
  left: 25%;
  width: 75%;
}

#stepBanner.amstep-1,
#stepBanner.amstep-2 {
  /* width: 75%; */
}

#stepBanner.amstep-custom {
  width: 75%;
}

#stepBanner.amstep-3 {
  width: 100%;
}

/* #stepBanner {
  position: fixed;
  top: 75;
} */

.sidebar-container.amstep-1,
.sidebar-container.amstep-2 {
  width: 20%;
  transform: translateX(0);
}

.sidebar-container.amstep-3 {
  width: 20%;
  transform: translateX(-100%);
}

.sidebar-container.amstep-custom {
  width: 25%;
  transform: translateX(0);
}

.template-selected.step-1,
.template-selected.step-2 {
  width: 80%;
}

.template-selected.step-3 {
  width: 100%;
}

.mb-140 {
  margin-bottom: 140px;
}

.choose-collections svg {
  width: 1rem;
  height: 1rem;
  fill: white;
}

.btn-view-mockups {
  background-color: var(--upgrade-btn);
  font-weight: 700;
}

.btn-view-mockups:hover {
  background-color: var(--upgrade-btn-hover) !important;
}

.am-filters .type .title,
.am-filters .size .title,
.am-filters .collections .title,
.am-filters .keywords .title {
  font-size: 1rem;
  font-weight: 700 !important;
}

.filter-size {
  font-size: 10px;
}

.filter-size svg {
  width: 0.7rem;
  height: 0.7rem;
}

.am-help svg {
  width: 0.8rem;
  height: 0.8rem;
}

.filter-size-button {
  padding: 0.5rem;
  background-color: #aaa;
  border-radius: 4px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.1s ease;
}

.filter-size-button:hover {
  background-color: #bbb;
}

.filter-size-button.active {
  background-color: #6a6a6a;
}

.btn-downloads svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.filter-size-button > svg {
  width: 2.3rem;
  height: 2.3rem;
  stroke: white;
}

.filter-size-button .check {
  position: absolute;
  bottom: 3px;
  left: 3px;
}

.filter-size-button .check > svg {
  width: 0.7rem;
  height: 0.7rem;
}

.filter-size-button .check > svg circle {
  fill: rgba(255, 255, 255, 0.4);
}

.filter-size-button.active .check > svg circle {
  fill: #00ba00;
}

.filter-size-button .check > svg path {
  fill: rgba(0, 0, 0, 0);
}

.filter-size-button.active .check > svg path {
  fill: #ffffff;
}

.step-label {
  font-weight: 700;
}

.btn-select {
  background-color: #c4c4c4 !important;
}

.btn-select:hover {
  background-color: #999 !important;
}

.btn-next:hover,
.btn-prev:hover,
.btn-download:hover {
  background-color: #25968a !important;
}

.btn-download {
  box-shadow: 0 0 0 0 rgba(51, 196, 182, 1);
  transform: scale(1);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(51, 196, 182, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(51, 196, 182, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(51, 196, 182, 0);
  }
}

.step-banner {
  position: fixed;
  width: 80%;
  height: auto;
  z-index: 99;
  background-color: white;
  box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.09);
}

.step-nav {
  border-radius: 9999px;
  background-color: #ddd;
  width: 1rem;
  height: 1rem;
}

.step-nav.done {
  outline: 0;
  background-color: rgba(51, 196, 182, 1);
}

.step-nav.active {
  outline: 4px solid rgba(51, 196, 182, 0.5);
  background-color: rgba(51, 196, 182, 1);
}

.arrow-right {
  width: 0.7rem;
  height: 0.7rem;
  fill: white;
}

.am-template {
  border-radius: 6px;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 25px -9px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 25px -9px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 25px -9px rgba(0, 0, 0, 0.75);
}

.am-template.book-3D {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.am-template.active {
  outline: 4px solid var(--im-active);
}

.template-selected {
  background-color: #262326;
  z-index: 999;
  height: 110px;
  max-height: 0;
  position: fixed;
  bottom: 0;
  width: 80%;
  transition: max-height 0.7s ease, width 1s ease;
}

.template-selected .templates-div {
  width: 70%;
  padding: 6px;
}

.options-div {
  display: flex;
  flex-direction: column;
}

.options-div span {
  padding: 0.4rem 0;
  font-weight: 700;
  font-style: italic;
  color: #fff;
}

.template-selected.active {
  max-height: 110px;
  transition: max-height 0.7s ease, width 1s ease;
}

.selected-image-div {
  height: 130px;
  margin-right: 0.5rem;
  border-radius: 6px;
}

.selected-image {
  height: 100%;
  border-radius: 6px;
}

#filter-keyword {
  border: 0;
  border-radius: 6px;
  background-color: white !important;
  color: black !important;
  display: flex;
}

.filter-keyword-tippy {
  width: 255px;
  max-height: 300px;
  overflow-y: auto;
  color: black !important;
  cursor: pointer;
}

.filter-keyword-tippy .option:hover {
  background-color: #eee;
}

.am-title {
  border-radius: 4px;
  background-color: var(--upgrade-btn);
  font-weight: 600;
  color: white;
  padding: 2px 8px;
  display: inline-block;
}

.color-box {
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.02);
}

.color-box input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 9999;
}

.badge {
  font-size: 1rem;
  font-weight: 500;
}

.badge svg {
  fill: white;
  width: 0.7rem;
  height: 0.7rem;
}

.edit-button,
.lock-button,
.play-button,
.delete-button,
.replace-book-img,
.remove-book-img {
  font-size: 1.2rem;
  cursor: pointer;
}

.delete-button.disabled {
  color: #bbb;
  cursor: not-allowed;
}

.play-button {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
  padding: 5px;
  color: #f3f3f3;
}

.play-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.editable-view-settings button {
  font-size: 1rem !important;
}

.ti-unlock {
  color: #bbb;
}

.ti-lock {
  font-weight: 800;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary,
.secondary,
.tertiary {
  font-size: 14px;
}

.btn-font-label {
  overflow: hidden;
}

.btn-font-box,
.btn-presets {
  padding: 8px 10px;
  color: black;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 0 2px 4px rgb(0 0 0 / 2%);
}

.btn-font-box {
  max-width: 130px;
  min-width: 130px;
}

.btn-font-box .ti-angle-right {
  font-size: 0.5rem;
}

.btn-font-box:hover,
.btn-presets:hover {
  color: black !important;
  background-color: white !important;
}

#stickysidebar,
.optionsContainer {
  top: 0;
  height: calc(100vh - 60px);
}

.optionsContainer {
  width: calc(100% - 75px);
}

.mockup-item > .mockup-inner {
  position: relative;
}

.mockup-item
  > .mockup-inner
  *:not(#finalImageToExport):not(#bkgImageContainter):not(.userTextClass):not(.userTextClass
    *) {
  pointer-events: none;
}

.mockup-item > .mockup-inner .editButton {
  display: none !important;
}

.mockup-item > .mockup-inner .userTextClass {
  border: 0 !important;
  box-shadow: none !important;
}

/* .mockup-item > .mockup-inner .userTextClass:hover {
  border: 0 !important;
  box-shadow: none !important;
  cursor: text;
}

.mockup-item > .mockup-inner .userTextClass:hover:after, .mockup-item > .mockup-inner .selectedElement:after {
  border: 0 !important;
  box-shadow: none !important;
} */

/* .mockup-item > .mockup-inner .ui-resizable-handle,
.mockup-item > .mockup-inner .ui-rotatable-handle {
  display: none !important;
} */

.mockup-loader {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  z-index: 3;
}

#loader-container {
  display: none;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  margin: 4px;
  border: 4px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.data-input {
  border: 1px dashed #bbb;
  border-radius: 6px;
  background-color: white;
  padding: 1rem;
}

.preload-assets-prev.templates,
.preload-assets-next.templates {
  flex-wrap: nowrap;
}

.font-menu-dropdown {
  display: none;
  position: absolute;
  z-index: 999;
  right: 0;
  margin-top: 5px;
  box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.02);
}

.font-menu-dropdown.active {
  display: block;
}

.preset-options {
  background-color: white;
}

.preset-options:hover {
  background-color: #eee;
}

.size-container {
  display: flex;
}

.sidebar-container .inner .collections .title {
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .sidebar-container .inner {
    padding: 1rem;
  }

  .size-container {
    flex-direction: column;
  }

  .sidebar-container .inner .collections .title {
    align-items: flex-start;
    flex-direction: column;
  }

  .title-label {
    margin-bottom: 0.5rem;
  }

  .filter-mockup .title {
    margin-bottom: 0.5rem !important;
  }

  .filter-mockup.type label {
    margin-bottom: 0.5rem !important;
  }

  #filter-keyword {
    padding: 6px 12px;
  }

  .container {
    width: 100%;
  }

  .sidebar-container {
    position: fixed !important;
    top: 60px !important;
  }

  .filter-size-button svg {
    width: 2rem;
    height: 2rem;
  }
}

@media (min-width: 1800px) {
  .filter-size-button svg {
    width: 3rem;
    height: 3rem;
  }
}

.brand-kit-label {
  font-size: 80%;
  font-weight: 700;
  font-style: italic;
  color: var(--upgrade-btn);
}

#bookFSModal .modal-body {
  min-height: 65vh !important;
}

.tippy-what-size-inner p {
  font-size: 14px;
}

.dynamic-disable {
  display: none;
}

.dynamic-input .dynamic-inner {
  transform: scale(1);
  transition: all 0.3s ease-out;
}

.dynamic-input.disabled .dynamic-inner {
  transform: scale(0.93);
  transition: all 0.3s ease-out;
}

.dynamic-input.disabled .dynamic-disable {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(240, 236, 243, 0.7);
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.tools-header {
  display: block;
}

.tools-header-mobile {
  display: none;
}

.advanced-mockup-grid {
  margin-top: 1.5rem;
}

.am-templates-container {
  margin-top: 120px;
  background-color: #fafafa;
  height: 100vh;
}

.advanced-mockup-grid .grid-sizer,
.advanced-mockup-grid .grid-item,
.collections-grid .grid-item {
  width: 25%;
}

.editable-grid .grid-sizer,
.editable-grid .grid-item {
  width: 50%;
}

.editable-grid .grid-item {
  padding: 3rem !important;
}

.advanced-mockup-grid .grid-item {
  padding: 10px !important;
}

.limTimeButton {
  display: none !important;
}

.table {
  width: auto !important;
}

.uploadElem {
  border: 2px dashed #777;
  border-radius: 5px;
  background: white;
  padding: 0;
  cursor: pointer;
}

.uploadElem:before {
  content: "Drag & drop image or click to upload";
  /*content: '\2713';
font-family:"Glyphicons Halflings";*/
  top: 40px;
  position: relative;
  color: #999;
  font-size: 12px;
  text-align: center;
  margin: 0 auto;
  float: none;
  display: block;
}

.uploadBkg:before {
  content: "Upload your own - Drag & drop image or click to upload";
}

.uploadElem:hover {
  background: #dadada;
  color: #fff;
}

.uploadElem input {
  min-height: 100px;
  padding: 30px;
  width: 100%;
  margin-top: -16px;
}

.template-selected .desktop {
  display: flex;
}

.template-selected .mobile {
  display: none;
}

.step-banner .desktop {
  display: flex;
}

.step-banner .mobile {
  display: none;
}

.filter-close-mobile {
  display: none;
}

.step-banner-mobile {
  background-color: #262326;
  z-index: 99;
  min-height: 65px;
  max-height: 65px;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: none;
}

.step-banner-mobile svg {
  fill: white;
  width: 1.2rem;
  height: 1.2rem;
}

#mobile-downloads-view {
  display: none;
}

@media (max-width: 1023px) {
  #mobile-downloads-view {
    display: block;
    width: 100%;
    height: 100%;
  }

  .collections-grid .grid-item {
    width: 50% !important;
  }

  .tools-header {
    display: none;
  }

  .tools-header-mobile {
    display: block;
  }

  .tools-home > div {
    width: 1.5rem;
    height: 1.5rem;
  }

  .sidebar-container.amstep-1 {
    transform: translateX(135%);
    width: 75%;
    height: 100vh;
    position: fixed;
    margin-top: 60px;
    transition: transform 0.2s ease-in;
  }

  .sidebar-container.amstep-2 {
    transform: translateX(135%);
    width: 75%;
    position: fixed;
    margin-top: 60px;
    transition: transform 0.2s ease-in;
  }

  .sidebar-container.amstep-3 {
    display: none;
  }

  .sidebar-container.active {
    transform: translateX(35%);
    z-index: 201;
    transition: transform 0.2s ease-in;
  }

  .step-banner {
    background-color: #3a3a3a;
    width: 100% !important;
  }

  .step-banner .desktop {
    display: none;
  }

  .step-banner .mobile {
    display: flex;
  }

  .maincontent {
    width: 100%;
    left: 0;
  }

  .advanced-mockup-grid .grid-item {
    padding: 6px !important;
  }

  .am-template {
    border-radius: 3px;
  }

  .template-selected {
    width: 100%;
  }

  .template-selected.active {
    max-height: 80px;
  }

  .template-selected .desktop {
    display: none !important;
  }

  .template-selected .mobile {
    display: flex !important;
    height: 80px;
    padding: 1rem;
  }

  .am-templates-container {
    margin-bottom: 60px;
  }

  .editable-grid .grid-sizer,
  .editable-grid .grid-item {
    width: 100% !important;
  }

  .edit-button {
    display: none !important;
  }

  .filter-close-mobile {
    display: flex;
  }

  .template-selected {
    display: none !important;
  }

  .step-banner-mobile {
    display: flex;
  }
}

@media (max-width: 484px) {
  .advanced-mockup-grid .grid-sizer,
  .advanced-mockup-grid .grid-item,
  .collections-grid .grid-item {
    width: 33.33%;
  }

  #bookFSModal .modal-content.learn-more,
  #myVideoStampsModal .modal-content.learn-more,
  #myStampsModal .modal-content.learn-more {
    min-width: 100vw !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #bookFSModal .modal-body,
  #myVideoStampsModal .modal-body,
  #myStampsModal .modal-body {
    min-width: unset !important;
  }
}

@media (max-width: 384px) {
  .advanced-mockup-grid .grid-sizer,
  .advanced-mockup-grid .grid-item,
  .collections-grid .grid-item {
    width: 50%;
  }
}

#settingsMenu {
  position: fixed;
  right: 0px !important;
  height: calc(100% - 135px) !important;
  top: 135px !important;
}

#undoRedoButtons {
  display: flex !important;
}

.dynamic-focus::after {
  content: " ";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid #ca3f3f;
  box-shadow: 0 0 5px #000;
}

.deselect-icon {
  position: absolute;
  right: 5px;
  top: 5px;
  background-color: rgba(171, 19, 19, 1);
  color: white;
  font-size: 13px;
  border-radius: 4px;
}

.platinum-locked {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: auto;
  height: auto;
  border-radius: 6px;
  padding: 0.3rem 0.3rem;
  background-color: white;
  transition: all 1s ease-in;
}

.platinum-locked .ti-lock {
  font-size: 1rem;
  font-weight: 500;
}

.file-manager .files .qrcodestamp {
  padding: 0 !important;
  width: 100% !important;
}

.qrcodestamp img {
  max-height: none !important;
}

#myModalFonts {
  z-index: 9999;
}

.swal-unsaved-projects .swal-button {
  border: 1px solid #7cd1f9;
}

.swal-unsaved-projects .swal-button-accent {
  color: #7cd1f9;
  background-color: white;
}

.swal-unsaved-projects .swal-button-accent:hover {
  background-color: #7cd1f9;
  color: white;
}

.swal-save-project > .swal-text {
  width: 100%;
  text-align: left;
}