.module {

  /* flex-direction: column; */
  position: relative;
  /* display: flex; 
  flex-direction: column-reverse;
  justify-content: flex-end;  */
}

.device {
  display: flex;
  align-items: center;
  
}

/* .din .device{
     height: 82mm; 
} */

.railNumber {
  position: absolute;
  margin-left: -20px;
  margin-top: 15px;
  font-size: 0.8em;
  color: rgb(192, 192, 192);
  /* background-color: aquamarine; */
}

.space {
  box-sizing: border-box;
  background: repeating-linear-gradient(
    135deg,
    #e5e5e5,
    #e5e5e5 10px,
    #fff 10px,
    #fff 20px
  );
}

.dinHandle:hover {
  outline: 2px solid #3245;
  border-radius: 100%;
}

.dinHandle,
.dinSettings {
  width: 25px;
  position: absolute;
  /* left: 100%;   */
  cursor: pointer;
  text-align: center;
  color: #878787;
  vertical-align: middle;
  font-size: 1.2em;
  height: 30px;
  background-color: #fff;
}

.dinSettings {
  /* left: calc(100% + 25px); */
  background-image: url(../images.631/icons/tools/settings.svg);
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: center;
  opacity: 0.6;
}

.moreStickerSettings {
  /* left: calc(100% + 25px); */
  background-image: url(../images.631/icons/tools/settings.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: left;
  padding-left: 20px;
  margin-top: 10px;
  /* opacity: 0.6; */
}

.din {
  outline: none !important;
  text-align: left;
  margin: 0;
  padding: 0;
  height: 117mm;
  display: flex;
  background-image: url(../images.631/devices/rail.svg);
  background-repeat: repeat-x;
  background-size: 20mm;
  border-radius: 10px;
}


.stickersOnTop .din {
  background-position-y: 174% !important;
}


.dinRemoving {
  outline: 3px solid #ff3737 !important;
}

.dinAdding {
  outline: 3px solid #9de16f !important;
}

.dinDevices {
  outline: none !important;
  text-align: left;
  margin: 0;
  padding: 0;
  display: flex;
  opacity: 0.999;
  min-width: 100mm;
  border-bottom: 1px dotted #ccc;
  border-top: 1px dotted #ccc;
  cursor: pointer;
}
/* 
.draggable {
  background-color: yellow;
} */

#schemaContainer .dinDevices {
  border-bottom: 1px solid transparent !important;
  border-top: 1px solid transparent !important;
}

.dinDevices:hover {
  /* cursor: pointer; */
}

#printBox .dinDevices {
  background-image: none !important;
}

.selectedModule {
  opacity: 1;
  /* outline: 2px solid rgb(195 233 24) !important; */
  filter: drop-shadow(0 0 5px rgb(70, 70, 70));
  /* border-radius: 4px !important; */
  /* background-color: #d0d5da; */
}

.din .module {
  outline: none;
  user-select: none;
  /* background-color: #9de16f;
  outline: 2px solid red */
}
.din .device {
  position: relative;
  /* background-color: #ff3737; */
  /* outline: 1px solid blue; */
}
.modalTypes .device {
  cursor: pointer;
}
#box .din .module:hover {
  cursor: pointer;
}

.stickersOnTop .din .device {
  /* position: absolute; */
  bottom: 0;
  /* outline: 3px solid red; */
}

.stickersOnTop .din .module {
 /* flex§ */
}


#box .din .device {
  cursor: pointer;
  filter: drop-shadow(0 0);
  z-index: 100;
  /* opacity: 0.2; */
  /* background-color: bisque; */
  /* height: 400px; */
  /* bottom: 0; */
}


#box .din .device:hover, #box .bus:hover, #box .connector:hover, #box .input:hover {
  cursor: pointer;
  filter: drop-shadow(0 0 2px rgb(70, 70, 70));
  z-index: 100;
  
}
#box {
  margin: 0 0 0 64px;
  display: inline-block;
  position: relative;
  background-color: #f5f4f4;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  border: 0;
  outline: 0;
border-right: 1px solid black;
border-left: 1px solid black;  
}

#tmpBox{
  display: none;
}

.deviceId {
  position: absolute;
  background-color: rgb(255, 238, 51);
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.5);
  height: 6mm;
  min-height: 6mm;
  width: 12mm;
  min-width: 6mm;
  border-radius: 2px;  
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  padding-left: 3px;
  font-size: 8px;
  text-align: center;
  vertical-align: middle;
  font-size: 0.8em;
  overflow: hidden;
  white-space: nowrap;

  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);

  display: flex; 
  align-items: center; 
  justify-content: center;

  font-family: isonorm;
}

.connectrDetails input{
  width: 41px !important;
  height: 30px !important;
  border: 1px solid #ccc; 
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 16px;
  display: block; margin: auto;
  text-align: center;
}
.connectrDetails  {
  font-size: 10px;
  color: #ccc;
  text-align: center;
}

.connectrDetails img {
  display: block; margin: auto;
  cursor: pointer;
  /* color:red; */
}

.connectrDetails span {
  display: inline-block; margin: auto;
  cursor: pointer;
  /* color:red; */
}

#modalConnectors .modalTypes {
  height: 50px; 
}

#phaseCount .form-check, #phaseColor .form-check, #phaseText .form-check {
  display: inline-block;
  margin-right: 10px;
}

.form-check{
  
  /* padding: 10px; */
}

.form-check:hover{
  border-radius: 10px;
  cursor: pointer;
  outline: 2px dotted rgb(112, 112, 112);
  outline-offset: 3px;
}

.printRowIds .deviceId {
  position: inherit !important;
  box-shadow: 0 0 0 0;
    border: 1px solid #ccc;
    border-radius: 1px;  
    transform: translate(0%, 0%);
}


