/*!****************************************************************************
 * \file   custom.css
 * \author G.Remsak
 * \date   2017-08
 * \brief  CSS for emap on desktop devices
 *****************************************************************************/

 
/***********************************************
ROOT
***********************************************/
html{
   overflow: hidden;
   width: 100%;
   font-size: 14px;
}

body{
    height:100%;
    position: fixed;
}
/*
body,
output,
.form-control,
.btn,
.dropdown-menu,
.input-group-text,
.custom-control,
.custom-switch,
.popover-title { font-size:12px !important; }
*/
.ui-logo-eval {
	width: 15rem;
	height: auto;
	position: absolute;
	z-index: 10;
}

.ui-logo-edit {
	height: 4rem;
	left: 10px;
	top: 10px;
	position: absolute;
}

.ui-misc {
	top: 0px;
	position: absolute;
}

.ui-mobile-misc {
	top: 50px;
}

/***********************************************
UTILITIES
***********************************************/

.zoom-indicator div {
     background-color: rgba(0,0,0,0.6);
}

.save-indicator div {
     position: absolute;
     z-index: 999;
     top: 0%;
     right: 0%;
 }

:focus{
    outline: none;
}

/******************************************
MAIN DIVS
*******************************************/

.body {
	position:absolute;
}
.view {
	position:absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index:2;
}

.ui-main {
}

.edit {
	position:absolute;
	left: 0px;
	top: 0px;
	z-index: 4;
}
.layer {
	position:absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index:3;
}

.iframe {
	position: absolute;
	border: none;
	overflow: hidden;
	z-index: 4;
}

/***********************************************
FONT & STLYING
***********************************************/


td {
	padding: 4px;
}
/*!****************************************************************************
 * load tracker
 *****************************************************************************/
 .load-tracker {
     position: absolute;
     z-index: 999;
 }
 
 .m-spinner--pos {
	 margin-top: -32px;
	 margin-left: -32px;
 }
 
 .load-tracker-progress {
    position: absolute;
     top: 0;
     left: 0;
     z-index: 0;
     height: 100%;
     width: 0%;
     background: rgba(0,0,0,0.6);
 }
 
.load-tracker-value {
    position: absolute;
     top: -30px;
     left: -26px;
     z-index: 1;
     height: 100%;
     width: 100%;
     line-height: 30px;
     text-align: center;
     color: rgba(255,255,255,0.8);
	 font-size: x-small;
 }

 .sbl-circ {
  height: 32px;
  width: 32px;
  color: rgba(255,255,255,0.4);
  position: relative;
  display: none;
  border: 3px solid;
  border-radius: 50%;
  border-top-color: transparent;
  animation: rotate 1s linear infinite; 
 }

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

 
.debug-log {
    position: absolute;
    font-size: 0.8rem;
    text-align: left;
    line-height: 1.2em;
    color: rgba(255,255,255,1);
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 10rem;
    top: 5rem;
    left: 0;
}

	
/******* 
EDIT DRAW 
*******/
.btn-zap {
	background-color: #242c5b !important;
	color: white !important;
}
.btn-zap.active {
	background-color: #00d0ff !important;
}
.btn-zap:hover {
	background-color: #00d0ff !important;
	color: white !important;
}

/*
.popover {
	min-width: 14rem !important;
}

.popover-body {
	max-height: 5rem;
    overflow-y: auto;
	overscroll-behavior-y: contain;
	-webkit-overflow-scrolling: touch;

	-webkit-scrollbar {
		width: 2px;
	};

	-webkit-scrollbar-track {
		background: #000;
	};

	-webkit-scrollbar-thumb {
		background: #aaaaaa;
	};

}*/

.menu {
    -webkit-transition: width 2s ease;
    -moz-transition: width 2s ease;
    -o-transition: width 2s ease;
    transition: width 2s ease;
    
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    
    width: 0px;
	padding-left: 0.6rem;
}
.menu.in {
    width: auto;
}

.edit-left-mouse-menu,
.edit-right-mouse-menu {
    //background-color: rgba(0,0,0,0.6);
    border-radius: 0rem;
    position: absolute;
    border: none;
	flex-wrap: unset !important;
}

.button_edit {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.0rem;
    color: rgba(255,255,255,1);
    opacity: 0.5;
    cursor: pointer;
    vertical-align: middle;
    line-height: 2rem; 
    font-family: 'Material Design Icons';
}

.button_edit:hover {
    opacity: 1;
}

.button_separator {
  border-left: 1px solid white;
  height: 50%;
  width: 10px;
  position: absolute;
  left: 50%;
  margin-left: 0px;
  bottom: 0;
}

.button_edit.e_black  {
    opacity: 1;
    color: black;
}

.button_edit.e_red {
    opacity: 1;
    color: red;
}

.button_edit.e_green   {
    opacity: 1;
    color: green;
}

.button_edit.active {
    opacity: 1;
}

.divobject-menu,
.history-menu,
.edit-menu,
.list-menu,
.info-menu,
.infolayer-menu,
.overlay-menu,
.pos-menu{
    position: absolute;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    display: inline-block;
	flex-wrap: unset !important;
}
.divobject-menu,
.overlay-menu {
    background-color: rgba(255,255,255,1) !important;
	border-radius: 0.3rem; 
}

.margin-right {
	margin-right: 0.3rem;
}

.mdi_small {
	font-size: 9px !important;
}


.ui-menu {
    position: absolute;
    padding: 5px;
    display: inline-block;
	flex-wrap: unset !important;
	z-index: 1000;
}

.history-menu{
    left: 10px;
	top: 10px;
}

.infolayer-menu{
    left: 10px;
	top: 60px;
}

.edit-menu{
    left: 10px;
	top: 110px;
}

.info-menu{
    left: 10px;
	top: 300px;
}

.list-menu{
    left: 10px;
	top:370px;
}

.pos-menu{
    left: 10px;
	top: 160px;
}

.overlay-menu{
    right: 10px;
	top: 10px;
}

.divobject-menu{
    right: 320px;
	top: 10px;
}

.edit-red{
	color: rgb(255,0,0);
}

.edit-green{
	color: rgb(0,255,0);
}

.buttons-div {
    margin-right: 1rem;
    margin-left: 1rem;
    vertical-align: middle;
    line-height: 2.5rem; 
    width: 1rem;
}
.select-history {
	width:8rem;
}	
.select_infolayer {
   font-size: 0.8rem;
   width: 2rem;
   margin: 0.3rem;
   color: rgba(0,0,0,1);
   background: rgba(255,255,255,1);
   -webkit-appearance: menulist !important; 
} 

.select_dbposition {
   font-size: 0.8rem;
   width: 80%;
   margin: 0.3rem;
   color: rgba(0,0,0,1);
   background: rgba(255,255,255,1);
   -webkit-appearance: menulist !important; 
} 

.select_datajson {
   font-size: 0.8rem;
   width: 6rem;
   margin: 0.3rem;
   color: rgba(0,0,0,1);
   background: rgba(255,255,255,1);
   -webkit-appearance: menulist !important; 
}

.input_overlayname {
    width: 10rem;
    font-size: 0.8rem;
    margin: 0.3rem;
    opacity: 0.8;
    color: rgba(0,0,0,1);
    background: rgba(255,255,255,1);
}

.input_overlayzoom {
    width: 2rem;
    font-size: 0.8rem;
    margin: 0.3rem;
    opacity: 0.8;
    color: rgba(0,0,0,1);
    background: rgba(255,255,255,1);
   -webkit-appearance: menulist !important; 
}
.input_divobject  {
    font-size: 0.8rem;
    margin: 1.3rem;
    opacity: 0.8;
    color: rgba(0,0,0,1);
    background: rgba(255,255,255,1);
}

.label-text {
    width: 10rem;
    font-size: 1rem;
    margin: 0.3rem;
    opacity: 0.6;
    color: rgba(0,0,0,1);
}

.info-item {
    cursor: move;
}

.media_preview{
    float: left;
    width: 5rem;
}

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.custom-switch.custom-switch-lg .custom-control-label::before {
    height: 2rem;
    width: calc(3rem + 0.75rem);
/*   border-radius: 4rem;*/
}

.custom-switch.custom-switch-lg .custom-control-label::after {
    width: calc(2rem - 4px);
    height: calc(2rem - 4px);
    border-radius: calc(3rem - (2rem / 2));
}

.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2rem - 0.25rem));
}

.custom-control {
	max-height: 1.5rem;
}

.custom-switch {
	padding-left: 2.0rem;
	margin-right: -0.8rem;
}

.custom-control-label {
	color: #ffffff;
}

.custom-control-label::before {
/*	background-color: #ffffff;*/
	border: #000000;
}

.custom-control-input:checked~.custom-control-label::before {
/*	background-color: #00d0ff;*/
	color: #ffffff;
}

.btn-zap-toolbar {
	color: #ffffff !important;
	background-color: #6cp757d1a !important;
	border-color: #6c757d !important;
}

.unclickable {
	opacity: 0.5;
}

.small-img {
	width: auto; 
	height: 3rem;  
}

/***********************************************
INFO WINDOW
***********************************************/

.info-window{
    background-color: rgba(255,255,255,1);
    color: rgba(0,0,0,1);
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100; 
    border-radius: 0rem;
}

.info_content{
    width: 100%;
}

/* Nur Content soll scrollen */
.scroll_content{
    overflow-y: auto;
    overflow-x: hidden;
    line-height: 120%; 
    text-align: justify;
    display: none;
    margin-left: 0.5rem;
    margin-right: 0rem;
     padding: 0.5rem;
}

.h1_container{
    width: 90%;
    padding-bottom: 0.6rem;
    text-align: left;
}

/***********************************************
LISTWINDOW
***********************************************/

.drag_item {
   position: relative;
   margin-top: 0.5rem;
   margin-bottom: 0.5rem;
   background-color: rgba(255,255,255,1);
   border: 1px solid rgba(0,0,0,1);
   opacity: 0.6;
}

.drag_item:hover { 
    background-color: rgba(255,255,255,1);
    opacity: 1;
}

.hide { 
    display: none;
}
/*
[data-toggle="toggle"] {
    display: none;
}*/

.tbody {
	background-color: rgba(255,255,255,0.9);
}

.list-window{
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 100; 
    border-radius: 0rem;
/*    background-color: rgba(255,255,255,0.9);*/
    color: gray;
    width: 450px;
}

.list-title{
    background-color: rgba(0,0,0,0.6);
    color: rgba(255,255,255,1);
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.3; 
}

.list-content{
    background-color: rgba(255,255,255,1);
    color: gray;
    padding: 8px;
}

.list-dragbar {
    background-color: rgba(0,0,0,0.9);
    height: 22px;
    width: 100%;
    padding: 9px;
 
 }
.list-dragbar::after {
    content: "";
    height: 3px;
    width: 20%;
    margin: 0 auto;
    background:rgba(255,255,255,1);
    display: block;
    border-radius: 3px;
}
div.dataTables_wrapper div.dataTables_filter input {
      width: 60%; <!-- or whatever width you want -->
}
/*
#xtable_filter input {
  border-style: solid;
  border-width: 1px;
  border-color: rgba(0,0,0,1);
  background-color: white;
}

#xtable_length select {
   border-style: solid;
   border-width: 1px;
   border-color: rgba(0,0,0,1);
   background-color: white;
  -webkit-appearance: menulist !important; 
}*/

.edit_scroll_content{
    overflow-y: auto;
    overflow-x: hidden; 
}

.edit_list_item{
    color: gray;
}

.my-td {
    align: "right";
}
/**************
drag drop safari hack
***************/
[draggable=true] 
{
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    user-select: none;
}



 
/***********************************************
TAGS
***********************************************/

.tag_text h1 {
    font-size: 1.1em;
    text-align: center;
    line-height: 1.2em;
    border-radius: 0.2em; 
    background-color: rgba(255,255,255,1);
    border: 1px solid rgba(0,0,0,0.6);
    color: rgba(0,0,0,1);
    max-width: 10rem;
}

.tag_image_landscape,
.tag_image_portrait,
.tag_image {
  display: inline-block;
  position: absolute;
  width: 3rem;
  height: 3rem;
}

.tag_image_landscape img {
  width: auto;
  height: 100%;
  opacity: 1;
}

.tag_image_portrait img {
  width: auto;
  height: 100%;
  opacity: 1;
}

.tag_image img {
  width: auto;
  height: 100%;
  opacity: 1;
}

.tag_video {
  display: inline-block;
  position: relative;
  width: auto;
  height: 5rem;
}

.tag_video video {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.icon-text-size {
	font-size: 24px;
}

/* div objects*/

.tag_icon {
  display: inline-block;
  position: absolute;
  padding:1px;
  color: rgba(0,0,0,0.8); 
}

.tag_circle_landscape,
.tag_circle_portrait {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
  border:1px solid #ffffff;
  transition: width, height, transform 1s;
 }

.tag_circle_landscape img {
  width: auto;
  height: 100%;
  margin-left: -0rem;
  opacity: 0;
  
}
.tag_circle_portrait img {
  width: 100%;
  height: auto;
  margin-left: -0rem;
  opacity: 0;
  
}

.tag_square_landscape,
.tag_square_portrait {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border:1px solid #ffffff;
  transition: width, height, transform 1s;
 }

.tag_square_landscape img {
  width: auto;
  height: 100%;
  margin-left: 0rem;
  opacity: 0;
  transition: opacity 1s;
 }

.tag_square_portrait img {
  width: 100%;
  height: auto;
  margin-left: 0rem;
  opacity: 0;
  transition: opacity 1s;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.icon_container {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.8) !important; 
  border:1px solid #ffffff;
}

.popover {
	min-width: 200px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.popover-scroll {
	overflow-y: auto;
	max-height: 200px;	
}


.animate {
  transform: matrix(2, 0, 0, 2, 0, 0);
}

.animate_in {
  opacity: 1 !important;
  transition: opacity 1s !important;
}
.animate_out {
  opacity: 0 !important;
  transition: opacity 1s !important;
}

.tag_show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

::-webkit-scrollbar {
	width: 5px;
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background: rgba(255,255,255,1);
}

::-webkit-scrollbar-thumb {
	background: rgba(200,200,200,1);
}

.table-scroll {
	overflow-y: auto;
}

.table-max-height {
	max-height: 450px;	
}

/*modal*/
.modal-dialog {
}
 
.modal-content {
    /* 80% of window height */ 
    height: 100%;
    background-color:#BBD6EC;
}   

.modal-body {
	padding: 0px !important;
}

.iframe {
    /* 80% of window height */
    height:100%;
    width:100%; 
	padding: 1rem;
}   
video {
    height: auto;
    min-height:100%;
    width: 100%;
    min-width: 100%;
}

.img-shadow {
-webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

/*Welcome Button*/

ul#welcome li {
    display:inline;
    text-align:center;
    margin: 0 10%;
}
ul#welcome li i {
    display: block;
}

ul#welcome li:first-child {
    margin-left: 0;
}
ul#welcome li:last-child {
    margin-right: 0;
}
.welcome-size {
	font-size: 1.5rem;
}
.welcome {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.welcome-button {
	background-color: rgba(255,255,255, 0.65) !important;
	color: rgba(100, 100, 100, 1) !important;
    padding: 0rem 1rem !important;

}

/*info link*/
.info-button {
	box-shadow: 2px 2px 2px rgba(0,0,0,.3);
	border-radius: 2px;
}

