:root {
	--me-color: rgba(255,0,0);
}

.polygon_object {
	cursor: pointer;
}
.polygon_object:hover {
	stroke : rgba(100, 0, 250);
}

.line_object {
	cursor: pointer;
}
.line_object:hover {
	stroke : rgba(100, 0, 250);
}

.point_object {
	cursor: pointer;
}

.point_object:hover {
	fill : rgba(100, 0, 250);
}

.brick {
	fill : rgba(255, 255, 255);
}
.selected_brick {
	fill : rgba(130, 130, 130);
	stroke-width: 1;
	stroke: black;
}

.brick_number {
	pointer-events : none;
}

.active_object {
	fill: rgba(0,255, 0) !important;
}

.active_poly {
	stroke: rgba(100,0,250);
}

.menu-class {
	border-width: 0px;
	background-color: transparent; 
}

.menu-class:hover {
	border-width: 0px;
	background-color: transparent;
}

.menu-class:active {
	border-width: 0px;
	background-color: transparent;
}

.menu-class:focus {
	border-width: 0px;
	background-color: transparent;
}

.detail-menu {
	background-color: rgba(248,249,250,0.75);
}

.grid-menu {
	padding-top: 5px;
	padding-bottom: 5px;
}

.flexbreak {
	flex-basis: 100%;
	height: 0;
}

.flexitem {
	flex-grow: 2;
	padding: 10px;
}

.flex-menu-active {
	display:flex; 
	position:relative; 
	flex-wrap: wrap;
}

.lightbox-menu-active {
	display:flex; 
	position:relative; 
	flex-wrap: wrap;
}

.btn-primary:active:focus {
	box-shadow: none;
}

.btn-primary:focus {
	box-shadow: none;
	border-color: transparent;
	
}

.grid-menu-item {
	padding: 10px;
}

.hide-grid-menu-item {
	display: none !important;	
}

.svg_rotate_180 {
	transform: rotate(180deg);
}

.show_point {
	padding-bottom: 2px;
	padding-left: 5px;
}

.solartile_color_1 {
	fill : rgba(255,255,0);
}

.solartile_color_2 {
	fill : rgba(4, 59, 92);
}

.hide {
	display:none;
}

.menubar {
	--bs-btn-padding-x: 0px;
	text-align: center;
	width: calc(100% - 4px);
	margin-right: 1px;
	font-size: 14px;
}

.color_picker {
	position: absolute;
	z-index: 999;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 105px;
	margin-bottom: 88px;
	background-color: #f8f9fa;
	display: none;
	transform: translateY(-70px);
}


span.line {
        display: inline-flex;
}
.line {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-start;
        align-items: stretch;
        align-content: flex-start;
}
.line > span {
        padding: 0px 2px;
}
textarea {
        resize: none;
        overflow: auto;
}

.lightbox.clk {
        z-index: 400;
        background-color: rgba(255,255,255,0.7);
}
.lightbox {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        padding: 0px;
        margin: 0px;
}
.lightbox > div {
        z-index: 500;
        background-color: transparent;
        position: absolute;
        top: 50%;
        left: 0px;
        width: 100%;
        height: 1px;
        overflow: visible;
        display: block
}
.lightbox > div > div {
        position: absolute;
        left: 0%;

        width: 91%;
        height: 90vh;

        /* 1/2 of height */
        margin-top: -45vh;

        /* 1/2 of width */
	margin-left: 5%;

	overflow-y: auto;
	
}

.lightbox > div > div > table {
	background-color: white;
	border: 1px solid black;
	border-radius: 10px;
}

.lightbox > div > div > table > tbody > tr:hover {
	background-color: #f5f5f5;
}

.lightbox > div > div > input[type=button] {
        margin-right: 20px;
        margin-top: 10px;
}

.ligthboxContent {
	position:absolute;
	left: 20px;
	width: 760px;
	margin-top: -25vh;
	margin-left: 0vw;
	
	border: 2px solid #ccc;
	background-color: #fff;
	padding: 12px;
	box-shadow: 0px 0px 8px #aaa;
	border-radius: 6px;
}

.alertLock {
	height: 100%;
	width: 100%;
	position: absolute;
	z-index: 2000;
	max-width: 1200px;
	background-color: rgba (0,0,0,0.5);
}

.uploadBox {
	position: fixed;
	z-index: 100;
	top: calc(50% - 200px);
	left: calc(50% - 200px);
}

.uploadBox > .header {
	background-color: #fff;
	color: #00a0df;
	margin:0px; 
	padding-top: 1.5rem; 
	padding-bottom: 1.5rem;
	padding-left: 1.5rem;
	font-size: 24px;
	font-weight: 400;
	border-bottom: 2px solid #00a0df;
}

.uploadBox > .box {
	padding: 10px;
	background-color:white;
	margin-top:0px;
	height: 124px;
	width: 350px;
	margin-bottom: 0px;
}

.lds-ring {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	float:left;
}
.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 5px solid #aeb3c5;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #aeb3c5 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;
}

.nav-item-active {
	background-color: #0d6efd;
}

.nav-item {
	padding-bottom: 5px;
	padding-top: 5px;
}

.nav-item-left {
	width: 50%;
	float:left;
}

.nav-item-right {
	width: 50%;
	float:left;
}


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

input[type=range] {
  width: 100%;
}


/* new Main menu */
#drawing-tool-main-menu {
  position: absolute;
  overflow: auto;
  width: calc(100% - 104px);
  height: 100vh;
  background-color: rgb(255, 255, 255);
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 10px;
}

.square {
  margin-left: 30px;
  margin-bottom: 30px;
  position:relative;
  float:left; 
  width: 240px;
  height: 280px;
  border: 2px solid black;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plus {
  font-size: 122px;
}

.square.active {
	border-color:blue;
}

.caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5em; /* Höhe der Überschrift anpassen */
    overflow: hidden;
    text-align:center;
    align-items: center;
    justify-content: flex-start;
}

.caption-text {
    display: inline-block;
	padding: 0;
	padding-top: 5px;
    margin: 0;
    font-size: 16px; /* Schriftgröße anpassen */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#project_header {
	display: flex;
	justify-content: center;
	align-items: center;
}

#drawing-tool-main-menu {
	max-width: 870px;
	
}

