.fly {
  width: 3px;
  height: 3px;
  background-color: red;
  position:absolute;
  z-index: 99999999999999
}

/* 
.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  margin: -37px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}
.lightrope li {
  position: relative;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  background: #00f7a5;
  box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  -webkit-animation-name: flash-1;
          animation-name: flash-1;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.lightrope li:nth-child(2n+1) {
  background: aqua;
  box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.5);
  -webkit-animation-name: flash-2;
          animation-name: flash-2;
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
}
.lightrope li:nth-child(4n+2) {
  background: #f70094;
  box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  -webkit-animation-name: flash-3;
          animation-name: flash-3;
  -webkit-animation-duration: 1.1s;
          animation-duration: 1.1s;
}
.lightrope li:nth-child(odd) {
  -webkit-animation-duration: 1.8s;
          animation-duration: 1.8s;
}
.lightrope li:nth-child(3n+1) {
  -webkit-animation-duration: 1.4s;
          animation-duration: 1.4s;
}
.lightrope li:before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 9.3333333333px;
  border-radius: 3px;
  top: -4.6666666667px;
  left: 1px;
}
.lightrope li:after {
  content: "";
  top: -14px;
  left: 9px;
  position: absolute;
  width: 52px;
  height: 18.6666666667px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}
.lightrope li:last-child:after {
  content: none;
}
.lightrope li:first-child {
  margin-left: -40px;
}

@-webkit-keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}

@keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}
@-webkit-keyframes flash-2 {
  0%, 100% {
    background: aqua;
    box-shadow: 0px 4.6666666667px 24px 3px aqua;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
@keyframes flash-2 {
  0%, 100% {
    background: rgb(255, 225, 0);
    box-shadow: 0px 4.6666666667px 24px 3px rgb(255, 208, 0);
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(225, 255, 0, 0.2);
  }
}
@-webkit-keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}
@keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
  }
} */
@font-face {
  font-family: "rd1";
  src: url("fonts/rd1.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "isonorm";
  src: url("fonts/isonorm.otf");
  font-weight: normal;
  font-style: normal;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: normal;
}

#iconsSelector > span {
  /* background-color: #ccc !important; */
}


body {
  color: #242424 !important;
  padding-top: 20px;
  margin: 0;
  font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #858796;
  text-align: left;
  background-color: #fff;
  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
}

div {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
}

ul {
  list-style-type: none !important;
}

#pageControls,
.slider,
.topButton {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

#menu {
  display: inline-block;
  background-color: #ccc;
  width: 200px;
}

.formLabel {
  font-size: 1em;
  margin-bottom: 3px;
  margin-top: 16px;
}

.labelSettings {
  font-size: 1.4em;
  background-color: #8587963e;
  border-radius: 5px;
  padding: 5px 0 5px 70px;
}

.hidden {
  display: none
  
}
.modalTypes {
  /* background-color: #169b6b; */
  width: 100%;
  height: 131px;
  transition: height 0.15s ease-out;
  /* border: 1px solid black; */
}

div.type-selector {
  position: absolute;
  display: flex;  
  transform: scale(0.43);
  transform-origin:top left;

}

div.type-selector .module {
}

div.type-selector > div {
  margin-bottom: 10px;
}

div.type-selector > div:not(:last-child) {
  margin-right: 5px;
}


/* input.module-params {
    width : 50px;
} */

ul.colours-selector {
  user-select: none;
  padding: 0;
  margin-top: 13px;
}

textarea.device-number {
  height: 63px;
}

.labelSettings {
  margin-top: 10px;
  margin-bottom: 10px;
}

li.plusEl {
  float: right;
}

.draggable-source--is-dragging {
  opacity: 0.2;
}

.in-selection {
  background-image: linear-gradient(to bottom, #b2b2b2, #9d9d9d) !important;
}

#device-name {
  height: 100px;
}
/* .slider-handle */
.regular-slider-handle {
  background-image: linear-gradient(to bottom, #656565, #656565) !important;
  /* background-image: linear-gradient(to bottom, #8afa95, #78ca41) !important; */
}

.exact-slider-handle {
  /* background-image: linear-gradient(to bottom, #656565, #656565) !important; */
  background-image: linear-gradient(to bottom, #8afa95, #78ca41) !important;
}

.modal-body {
  position: relative;
  padding: 0 20px 15px 20px !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs {
  font-size: 1.2em !important;
}

.topbar {
  height: 6em !important;
}

.addModuleButton {
  background-color: transparent !important;
  position: absolute;
  margin-left: -60px !important;
}

.cardDxf{
  cursor: pointer;
}
.cardDxf .card-img-top {
  padding:10px;
  height: 100px;
  background-color: #6f6f6f;
}

.addModuleButton button {
  width: 2.5rem !important;
  height: 2.5rem !important;
}

#dinRailWidthSelector {
  margin: 15px 0 -14px 83px;
  height: 100px;
  /* min-height: 44px;  */
  /* top: 0px; */
  /* position: relative; */
}

button.icon {
  font-weight: 900;
}

.transparent {
  opacity: 0.5;
}

.navbar {
  position: absolute !important;
  width: 100% !important;
}

#workArea {
  margin-top: 51px;
  padding-left: 55px;
}

.dinCountBtn {
  font-size: 20px !important;
  height: 20px;
  width: 20px;
  padding: 0 !important;
  line-height: 10px !important;
}

.modal {
  z-index: 1060;
}

.danger {
  /* top: 0;     */
  /* margin-left: auto; */
  /* margin-right: auto;     */
  /* left: 0; */
  /* right: 0; */
  background-image: url(../images.631/icons/tools/danger.svg);
  background-repeat: no-repeat;
  position: absolute;
  display: none;
  z-index: 100000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #78ca41; */
}

.dinCount {
  padding: 0 20px 0 20px;
}

/* .tooltip {
    opacity: 0.5 !important
} */

#modeSelector > div {
  /* border: 1px solid black; */
  text-align: center;
  margin-left: 20px;
  /* width: 50px  ;
    height: 50px; */
}
#modeSelector img {
  width: 65px;
}
.alert {
  display: none;
  width: 600px;
  min-height: 107px;
  position: fixed;
  z-index: 1000000;
  margin-left: -300px;
  text-align: center;
  left: 50%;
  top: 50%;
}

.modal-dialog {
  margin: 1.75rem auto !important;
  transform: none !important;
  left: auto !important;
}

#modalStickerSettings .modal-dialog {
  /* margin-left: -506px !important; */
}

.btn {
  display: inline-block;
  font-weight: 400 !important;
  color: #858796;
  text-align: center;
  vertical-align: middle !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.35rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  /* width: 20px;
    height: 20px; */
  /* padding: 0; */
  /* margin: 0; */
  /* font-size: 30px; */
  /* font-weight: 1000; */
}

.btn-success {
  color: #fff;
  background-color: #1cc88a;
  border-color: #1cc88a;
}

.btn-success:hover {
  color: #fff;
  background-color: #17a673;
  border-color: #169b6b;
}

.plus-button {
  border: 2px solid lightgrey;
  background-color: #ffffff;
  font-size: 16px;
  height: 2.5em;
  width: 2.5em;
  border-radius: 999px;
  position: relative;
  &:after,
  &:before {
    content: "";
    display: block;
    background-color: grey;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &:before {
    height: 1em;
    width: 0.2em;
  }
  &:after {
    height: 0.2em;
    width: 1em;
  }
  font-size: 22px;
  outline: none;
}

.plus-button:hover {
  background-color: #f5f5f5;
  box-shadow: 0 !important;
}

.h5,
h5 {
  font-size: 1.25rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-weight: 400;
  line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.btn-primary {
  color: #fff;
  background-color: #4e73df;
  border-color: #4e73df;
}

#pageControls {
  /* border: 1px solid black; */
  width: 100%;
  /* margin-left: 51px; */
  transition: top 1s;
  z-index: 1010;
  /* background-color: #fff; */
  margin-left: -55px;
  padding-left: 111px;
  white-space: nowrap;
  border-radius: 20px; 
}

#pageControls span {
  white-space: nowrap;  
}

#pageControlsHolder {
  height: 38px;
  
}

#pageControlsContent {
  display:flex;
  flex-direction: row;
  /* justify-content: center; */
  align-items: center;
  background-color:aliceblue;
  width: 1006px;
  border-radius: 20px;
}

#pageControlsContent div {
  display: flex;
  
}
.menuSeparator {
  background-color: #ccc;
  width:1.5px;
  height: 30px;
  border-radius: 2px;
  margin-left: 15px;
  margin-right: 15px;

}

#files {
  cursor: pointer;
  white-space: nowrap;
  /* border: 1px solid orange; */
  padding-left: 10px;
  /* width: 260px;   */
}
#files label {
  cursor: pointer;
}

#files img {
  opacity: 0.5;
  margin: 8px;
}
#files img:hover {
  opacity: 1;
}
#railsCountSelector {
  /* border: 1px solid red; */
  /* margin-left: 67px; */
}

span#scaleMainBox {
  padding-left: 332px;
}

.topButton {
  width: 120px;
  height: 6 0px;
  font-size: 0.9em;
}

.topButton img {
  height: 35px;
}

/* New badge for projects tab */
.tab-icon-container {
  position: relative;
  display: inline-block;
}

.new-badge {
  position: absolute;
  top: -5px;
  right: -15px;
  background-color: #ff4444;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

hr {
  padding: 0;
  margin: 5px;
  /* margin-bottom: 5px; */
}

#scale select {
  /* display: inline; */
  width: 72px !important;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  padding-top: 6px;
  background-color:transparent;
  color: #000;
  opacity: 0.5;
  font-weight: 500;
  /* padding-top:5px; */
  
}
#scale select:hover {

  opacity: 1;
  
}

*:focus {
  outline: none;
}
a {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

#inputFile {
  display: none;
}
.youtube,
.telegram,
.shirt, .social_print {
  text-align: center;
  position: absolute;
  top: 38px;
  left: 950px;
  width: 100px;
  z-index: 100;
  /* border: 1px solid red; */
}

.telegram {
  left: 1045px;
}
.shirt {
  left: 1019px;
  top: 48px;
}

.social_print {
  left: 1017px;
  top: 38px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.logo {
  position: fixed;
  top: 5px;
  /* width: 200px; */
  right: 5px;
  opacity: 0.9;
}

.noFlex {
  display: block !important;
  text-align: left !important;
}

.btn-success.disabled {
  background-color: #ccc !important;
}

.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active,
.show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #1cc88a !important;
  border-color: #1cc88a !important;
}

*[data-page] {
  display: none;
}

*[data-mode] {
  cursor: pointer;
}
a {
  text-decoration: none;
}
.generateExcel {
  margin-bottom: 30px;
}
.btn-close {
  margin-left: 310px;
  margin-top: 8px;
}

.tab-content {
  /* padding-left: 20px !important;
  padding-right: 20px !important; */
  min-height: 554px !important;
}

.portsCountSlider {
  margin-left: 6px;
  padding-top: 12px;
}

#moduleHeightSliderContainer {
  text-align: center;
}

table.specs {
  min-width: 180mm;
}

.paper {
  min-width: 200mm;
}

.btn-outline-danger {
  color: #fff;
  background-color: #e45b69;
  border-color: #e14959;
}
#boxName {
  width: 416px;
  display: inline;
  height: 31px;
  font-size: 20px;
  /* margin-left: 10px; */
}
.modWidthName {
  width: 370px;
  text-align: left;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shake {
  animation: shake 0.5s; 
  animation-iteration-count: 1; 
}

.loading {
  background-color: black;
  opacity: 0.5;
  position: absolute;
  width:3000px;
  height: 3000px;
  z-index:10000;
  display: none;
}

input#modWidth {
  width: 60px;
  text-align: left;
}

.downloadButton {
  width: 320px;
  height: 40px;
  margin-top: 4px;
}

#bottomAddDinRail {
  /* background-color: #17a673; */
  width: 100%;
  text-align: left;
  margin-left: 46px;
  margin-top: 18px;
  margin-bottom: 50px;
}

div[data-page]:not([data-page="box"]) {
  margin-left: 65px;
}

/* Project table text truncation styles */
.project-name-truncate {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: top;
}

.project-table-cell {
  max-width: 0;
  overflow: hidden;
}

.project-table-cell .project-name-truncate {
  max-width: 100%;
}
