/* loader */
@keyframes lds-double-ring {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes lds-double-ring {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes lds-double-ring_reverse {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
@-webkit-keyframes lds-double-ring_reverse {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
.lds-double-ring {
  position: relative;
}
.lds-double-ring div {
  position: absolute;
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  border-radius: 50%;
  border: 8px solid #000;
  border-color: #72ce45 transparent #72ce45 transparent;
  -webkit-animation: lds-double-ring 2.5s linear infinite;
  animation: lds-double-ring 2.5s linear infinite;
}
.lds-double-ring div:nth-child(2) {
  width: 140px;
  height: 140px;
  top: 30px;
  left: 30px;
  border-color: transparent #b46df1 transparent #b46df1;
  -webkit-animation: lds-double-ring_reverse 2.5s linear infinite;
  animation: lds-double-ring_reverse 2.5s linear infinite;
}
.lds-double-ring {
  width: 200px !important;
  height: 200px !important;
  -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
  transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}



/* **** */
html,
body,
#view {
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
}

body{
	font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.center {
	text-align: center;
	color: white;
}

/*login*/
#page {
	background: url("../images/login_background.jpg") no-repeat top center;
	background-size: cover;
	height: 100vh;
	position: absolute;
	width: 100%;
}
#page #content {
	position: relative;
	top: 50%;
	margin-top: -330px;
}
#page #logo {
	text-align: center;
	/*padding-top: 30px;*/
}
/*#login {
	background: lightgrey;
}*/
#loginbox {
	width: 350px;
	margin: auto;
	background-color: rgba(11,11,11,0.85);
	padding: 20px;
}
#loginbox p {
	text-align: right;
	color: white;
}
#loginbox label {
	margin-right: 15px;
}
#loginbox .login-input {
	background: none;
	border: 3px solid rgb(114,206,69);
	padding: 5px;
	color: white;
}
#login-submit {
    background: none;
    border: none;
    color: rgb(180,109,241);
	text-decoration: none;
    cursor: pointer;
	font-size: 1.3em;
	font-weight: bold;
}
#login-row {
	background: url('../images/drone_medium.png') no-repeat;
	background-size: 60px;
	margin: 0;
	padding: 10px;
}
#loginbox .error {
	color: #960000;
	font-weight: bold;
}
/*térkép*/
#images {
	position: fixed;
	overflow-y: auto;
    /*overflow-x: auto;*/
	bottom:0;
	width:100%;
	height: 200px;
	background-color: rgba(11,11,11,0.8);
	color:white;
	display:none;
}
/*#imgrow {
	width: 100%;
}*/

#images img {height:150px;margin:20px;}

#actions {display:none;}

.imgrow {	padding-left: 250px;}
.imgrow div {display:inline-block;position: relative;}
.imgrow div input {position: absolute;right:30px;bottom:30px;}

.imgdate {
	position: absolute;
    bottom: 24px;
    left: 20px;
	background-color: gray;
}

#sidemenu {
	height: 100%; /* 100% Full-height */
	width: 250px; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 2; /* Stay on top */
	top: 0; /* Stay at the top */
	left: 0;
	background-color: rgba(11,11,11,0.8); /* Black*/
	overflow-x: hidden; /* Disable horizontal scroll */
	transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	color: white;
}
#sidemenu .sidemenu-icon {
	display: inline-block;
    float: right;
    cursor: pointer;
    padding-right: 5px;
	font-size: 22px;
}
#sidemenu .menu-item {
	border-bottom: 1px solid #696969;
	padding: 5px 15px;
	color: rgb(114,206,69);
	font-weight: bold;
	margin: 0;
	cursor: pointer;
}
#sidemenu .menu-item.inactive {
	color: white;
}
#sidemenu #menu-alert {
	color: red;
}
#sidemenu .menu-group-header {
	background-color: rgba(11,11,11,0.6);
	padding: 5px 5px;
	cursor: pointer;
}
#sidemenu .menu-header {
	background-color: rgba(11,11,11,0.8);
	padding: 5px 0 5px 5px;
	margin-top: 0;
	color: white;
	cursor: pointer;
}
#sidemenu .menu-group {
	overflow: hidden;
	max-height: 1000px;
    transition: max-height 0.25s ease-in;
}
#sidemenu .menu-group.hidden {
	max-height: 0;
	transition: max-height 0.25s ease-out;
}
#sidemenu #logo {
	height: 15%;
    text-align: center;
}
#sidemenu #menuContent {
	height: 85%;
    overflow-y: auto;
}
#sidemenu .userbox p {
	margin: 5px;
	color: white;
}
#sidemenu .userbox a {
	color: white;
}
.esri-layer-list {
	padding: 0;
}
#layers-nav, #media-nav, #flies-nav, #lines-nav {
	background: none;
}
#layers-nav .esri-layer-list__item,
.side-nav .esri-layer-list__item {
	background: none;
	color: white;
}
#layers-nav .esri-layer-list__item-container,
.side-nav .esri-layer-list__item-container {
	padding: 0 7px 0 20px;
}
#layers-nav .esri-layer-list__child-toggle,
.side-nav .esri-layer-list__child-toggle {
	color: rgb(114,206,69);
}
.fly-tick {
	color: rgb(180,109,241);
}
.flyfilter.inactive {
	color: gray;
}
#menu-flies {
	background: url('../images/drone.png') no-repeat right 5px center;
}
#menu-lines {
	background: url('../images/link.png') no-repeat right 5px center;
}
#menu-alert {
	background: url('../images/hazard.png') no-repeat right 5px center;
}
#menu-admin {
	background: url('../images/settings.png') no-repeat right 5px center;
}
#menu-search {
	background: url('../images/grid.png') no-repeat right 5px center;
}
#menu-map {
	background: url('../images/globe.png') no-repeat right 5px center;
}
#menu-filetype {
	background: url('../images/folder.png') no-repeat right 5px center;
}
#layers-nav .esri-layer-list__item--has-children {
	color: rgb(114,206,69);
}
#detail-popup, #full-popup, #help-popup {
	position: fixed;
	z-index: 3;
	right: 0;
	top: 0;
	background-color: rgba(11,11,11,0.8);
}
#full-popup, #help-popup {
	color: white;
	overflow: auto;
}
#help-popup {
	transition: right 0.5s ease-out;
	background-color: rgba(11,11,11,0.95);
}
#help-popup h2 {
	margin-bottom: 5px;
}
#help-popup h3 {
	margin: 0;
}
#help-popup p {
	margin-top: 0;
}
#help-content ol {
	list-style: lower-latin;
}
#welcome-content, #help-content {
	padding: 0 40px;
}
#welcome-controls, #help-controls {
	text-align: right;
}
#hide-label {
	vertical-align: middle;
}
#close-welcome, #close-help {
	/*float: right;*/
	font-size: 2em;
	padding: 3px 30px;
	margin-left: 30px;
	vertical-align: middle;
	display: inline-block;
}
#close-welcome:active, #close-help:active {
	transform: translate(5px,5px);
	box-shadow: none;
}
#show-help {
	z-index: 1000;
	position: absolute;
	right: 20px;
	top: 50px;
	cursor: pointer;
	font-size: 30px;
	color: rgb(180,109,241);
	transition: 0.5s;
}
#show-help:hover {
	font-size: 35px;
	transition: 0.5s;
}
#loader {
	width: 200px;
	margin: auto;
	height: 100vh;
}
#loader .lds-css {
	padding-top: 150px;
}
.image-cell {
	padding: 10px;
}
.highlight {
	color: rgb(114,206,69);
}
.highlight1 {
	color: rgb(180,109,241);
}
.left {
	float: left;
}
.right {
	float: right;
}
.btn, .flyNoteControls, .edit-btn {
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
    
    background-color: rgba(70,70,70,0.85);
    padding: 10px;
    text-align: center;
    box-shadow: 5px 5px 5px #111111;
    cursor: pointer;
    font-weight: bold;
    margin: 0;
    font-size: 16px;
}
#pillarInfo {
	height: 250px;
}
.flyBox, #pillarInfo {
	width: 450px;
	/*background-color: white;*/
	margin: 10px;
}
#pillarImgWrapper {
	/*float: right;*/
	height: 250px;
}
#pillarImg {
	box-shadow: 5px 5px 5px #111111;
}
#tagLayer {
	width: 100%;
    height: 250px;
    position: relative;
    top: -254px;
}
#tagLayer .tag {
    border: 2px solid rgb(114,206,69);
    position: absolute;
    cursor: pointer;
    box-shadow: 3px 3px 4px #111111;
    color: rgb(114,206,69);
    text-align: center;
}
#tagLayer .tag:hover {
	background-color: rgba(200,200,200,0.4);
}
#tagLayer .tag.selected {
	border-color: rgb(180,109,241);
}
#tagLayer .tag.plant {
	background-image: url('../images/plant.png');
	background-size: cover;
}
#tagLayer .tag.plant.selected {
	background-image: url('../images/plant_selected.png');
}
#pillarOverview {
	height: 230px;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 10px;
    color: white;
}
#pillarOverview label {
	display: inline-block;
	width: 150px;
}
#pillarOverview p {
	margin: 0;
}
/*#pillarOverview h3, #flyStatus h3, #flyStatus h4, #flyPlan h3 {*/
.tabContent h3, .tabContent h4 {
	color: rgb(180,109,241);
	margin-top: 0;
}
#resetPartBtn {
	width: 300px;
}
.btn:hover, .statusToc:hover {
	background-color: rgba(90,90,90,0.85);
	/*font-size: 18px;*/
}
.flyNoteControls:hover {
	background-color: rgba(90,90,90,0.85);
}
.btn:active, .flyNoteControls:active, .edit-btn:active {
	transform: translate(5px,5px);
	box-shadow: none;
}
#selectedPart {
	color: white;
}
#pillarData {
	height: 100%;
}
#pillarData #head {
	background-color: rgba(11,11,11,0.6);
	padding-top: 5px;
	margin-top: 0;
	color: white;
	height: 45px;
}
#pillarData h2 {
	margin: 0;
	padding: 5px;
}
#pillarData #navigation {
	float: right;
	padding-top: 5px;
}
#pillarData #navigation #closeBtn {
	font-weight: bold;
	font-size: 25px;
	cursor: pointer;
}

#popupContent {
	overflow: auto;
	padding: 5px;
}
.tabContent {
	/*background: white;*/
	padding: 10px;
	margin-left: 470px;
	/*margin-top: 10px;*/
}
.flyNote {
	border: 1px solid rgb(11,11,11);
	padding: 0 5px;
	margin-bottom: 10px;
}
.flyNoteControls {
	margin: 10px;
    text-align: right;
	color: rgb(114,206,69);
	cursor: pointer;
	display: inline-block;
	font-weight: bold;
}
.flyNoteControls span {
	padding-right: 3px;
}
.navTab {
	margin-right: 20px;
	color: rgb(180,109,241);
	font-weight: bold;
	cursor: pointer;
	transition: 0.5s;
}
.navTab.active {
	color: white;
}
.navTab:hover {
	font-size: 18px;
	transition: 0.5s;
}
.centerTable td {
	text-align: center;
}
.selected-fly {
	color: rgb(180,109,241);
}
#click-hint {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%,0) translate(125px,0);
    color: #777;
    font-style: italic;
    opacity: 0.5;
    font-size: 69px;
    font-weight: bold;
}
.statusToc {
	cursor: pointer;
    height: 35px;
    background-color: rgba(70,70,70,0.85);
    margin-bottom: 9px;
    vertical-align: middle;
    padding: 15px 0px 0px 10px;
    color: white;
    font-weight: bold;
    box-shadow: 5px 5px 5px #111111;
	background-position: 98% center;
	background-repeat: no-repeat;
	text-align: left;
}
.statusToc.active {
	font-weight: bold;
	background-color: rgb(180,109,241);
}
.form-section label {
	display: inline-block;
	min-width: 210px;
	color: white;
}
.form-section textarea, #flyPlan-note {
	width: 98%;
	box-shadow: 10px 10px 10px rgb(20,20,20);
}
.form-section textarea::placeholder {
	font-style: italic;
}
.form-section input, .form-section select {
	box-shadow: 5px 5px 5px rgb(20,20,20);
    height: 25px;
    box-sizing: border-box;
}
.form-section p {
	color: white;
}
.form-section p:first-of-type {
	clear: right;
}
#flyPlanTable {
	color: white;
	width: 98%;
	margin-bottom: 30px;
	border-collapse: collapse;
}
#flyPlanTable tr.selected {
	border: 2px solid rgb(180,109,241);
}
/*áttekintés táblázat */
#conditionWrapper {
	margin-left: -475px;
}
#conditionTable {
	border-collapse: separate;
	border-spacing: 5px;
	width: 100%;
}
#conditionTable td, #conditionTable th {
	height: 55px;
    padding: 0px 5px;
}
#conditionTable .firstCol {
	background-color: rgb(70,70,70);
	color: white;
	background-position: 98% center;
	background-repeat: no-repeat;
	width: 275px;
}
#conditionTable .head {
	background-color: rgb(114,206,69);
	color: white;
}
#conditionTable .data {
	background-color: white;
}
.cell_oszlop {
	background-image: url('../images/oszlop_small.png');
}
.cell_vedo {
	background-image: url('../images/vedovezeto_small.png');
}
.cell_fazis {
	background-image: url('../images/fazisvezeto_small.png');
}
.cell_kornyezet {
	background-image: url('../images/oszlopkornyezet_small.png');
}
.cell_alert {
	background-image: url('../images/hazard.png');
}

/* admin  */
.gridbox .xhdr,
.gridbox tr,
.gridbox td,
.gridbox .objbox {
	background-color: transparent !important;
	color: white !important;
}
.gridbox td.hover {
	background-color: rgb(180,109,241) !important;
	cursor: pointer;
}
div.gridbox_material.gridbox table.hdr td div.hdrcell {
	color: rgb(180,109,241);
	font-weight: bold;
    text-align: center;
}

#admin-grid {
	width: 80%;
	height: 400px;
	margin: 30px auto;
}

#admin-popup {
	background: rgba(255,255,255,1);
	position: absolute;
	border: 2px solid rgb(180,109,241);
	color: rgb(180,109,241);
	width: 700px;
	height: 500px;
	top: 70px;
	left: 50%;
	margin-left: -350px;
	padding: 10px;
}
#admin-popup .popup-controls {
	height: 50px;
    position: absolute;
    bottom: 0px;
    width: 700px;
}
#admin-popup label {
	display: inline-block;
    width: 130px;
	vertical-align: top;
}
#admin-popup input, #admin-popup textarea, #admin-popup select {
	background: none;
	border: 3px solid rgb(114,206,69);
	padding: 5px;
	color: rgb(114,206,69);
}
#admin-popup textarea {
	width: 550px;
	box-shadow: 10px 10px 10px rgb(150,150,150);
}
#admin-popup input, #admin-popup select {
	box-shadow: 10px 10px 10px rgb(150,150,150);
}
#admin-popup .edit-btn {
	width: 120px;
	border: 3px solid rgb(180,109,241);
	color: rgb(180,109,241);
	background-color: white;
	text-align: center;
    font-size: 1.4em;
    padding: 5px;
	cursor: pointer;
}
#admin-popup .edit-btn:hover {
	background-color: rgb(180,109,241);
	color: white;
}
.image-container {
	float:right;
	margin-right:15px;
	position: relative;
	cursor: pointer;
}
.image-container .overlay:hover {
	opacity: 1;
	font-size: 50px;
	transition: 0.5s;
}
.image-container .overlay {
	position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(200,200,200,0.6);
    top: 0;
    opacity: 0.5;
    font-size: 45px;
    text-align:center;
}
.image-container .fa {
	width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    color: white;
}
/*#admin-popup .left {
	float: left;
}
#admin-popup .right {
	float: right;
}*/
.form-error {
	margin-bottom: 0;
	margin-left: 15px;
	display: inline-block;
	line-height: 100%;
}

#admin-popup .slider-wrapper {
	width: 700px;
	height: 100%;
	overflow: hidden;
}
#admin-popup .slider {
	width: 2100px;
	transition: margin-left 0.5s;
	height: 100%;
}
#admin-popup .popup-slide {
	float: left;
	width: 700px;
	height: 100%;
	position: relative;
}
#admin-popup .btn-row {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 50px;
	padding: 0 20px;
    box-sizing: border-box;
}
#admin-popup #files {
	height: 250px;
    margin-top: 10px;
    overflow: auto;
}
#admin-popup #files .img-row {
	padding: 10px;
}
#admin-popup #files .thumbnail {
	vertical-align: middle;
	margin-left: 20px;
	box-shadow: 10px 10px 10px rgb(70,70,70);
}
#admin-popup .alert-error {
	background-color: red;
	color: white;
}
#admin-popup #files .progress-bar {
	display: inline-block;
    background-color: rgb(114,206,69);
    height: 20px;
	margin-left: 20px;
}
#mediaobject-table {
	width: 98%;
	border-collapse: collapse;
}
#mediaobject-table td, #mediaobject-table th {
	border: 1px solid rgb(180,109,241);
}
#mediaobject-table .controls {
	text-align: center;
	width: 90px;
}
#mediaobject-content {
	height: 375px;
    overflow: auto;
    padding-bottom: 10px;
}
#preview-image {
	cursor: pointer;
}
/* scrollbar - csak Chrome */
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(11,11,11,0.6); 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}


/*Nyomtatott riport*/
.printable table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	page-break-inside: avoid;
}
.printable td, .printable th {
	text-align: left;
	border: 1px solid black;
	width: 25%;
	padding: 3px;
}
.printable .header {
	background: rgba(11,11,11,0.6) url('../images/logo.png') no-repeat left;
	text-align: center;
	padding: 15px;
	padding-left: 45px;
	color: rgb(114,206,69);
}
.printable h2 {
	color: rgb(114,206,69);	
}
.printable .stateTable th {
	width: 220px;
}
.printable .stateTable td {
	width: auto;
}
.printable .planTable td {
	width: auto;
	vertical-align: top;
}
.printable .planTable th {
	width: auto;
}
.printable td.imageCell {
	width: 450px;
	padding: 5px 10px 10px 5px;
}