body, html {
	margin:0;
	padding:0;
}

body {
	font-size:12px;
	line-height:1.4;
	font-family:"Roboto", Arial;
	color:#333;
	background:#f0f0f0;
}

h1 {font-size:180%;font-weight:400;margin-bottom:1em;}
h2 {font-size:150%;font-weight:400;margin-bottom:1em;}
h3 {font-size:130%;font-weight:400;margin-bottom:1em;}

.form-control {
	border-color:#aaa;
}

.table td, .table th {
	padding:0.4rem;
	vertical-align:middle;
}

.table .btn {
	padding:4px 10px;
}

.table-picker tbody tr {cursor:pointer;}

.form-control {
	padding:.275rem .5rem;
}

.form-group {
	margin-bottom:.5rem;
}

.menu-section {
	font-size:1.15em;
}

.mobile-menu-link {
	font-size:24px;
	align-self:center;
	cursor:pointer;
}

.mobile-menu-link-close {
	font-size:26px;
	cursor:pointer;
	float:right;
	margin-right:25px;
}


body > div {
	min-height:100vh;
	box-sizing:border-box;
	padding-top:40px;
}

div#top-toolbar {
	min-height:0;
	position:fixed;
	top:0;
	left:0;
	right:0;
	background:#2a2a2a;
	color:#e5e5e5;
	z-index:100;
	padding:0 15px;
	line-height:40px;
	text-align:left;
	font-size:0.9em;
}

div#top-toolbar .row > div:last-child {
	text-align:right;
}

div#top-toolbar a, div#top-toolbar a:link, div#top-toolbar a:focus, div#top-toolbar a:visited {
	color:#e5e5e5;
}

body.login, body.recover {
	background:#f0f0f0;
}

button.btn, .form-control, a.btn {
	font-size:1em;
}

.login .image, .recover .image  {
	text-align:center;
	margin-bottom:30px;
}

.login img, .recover img {
	max-width:100%;
	height:auto;
}


.login button.btn, .login .form-control, .login a.btn, .login .input-group-text, 
.recover button.btn, .recover .form-control, .recover a.btn, .recover .input-group-text  {
	font-size:1em;
}

.login .main-section, .recover .main-section {
	max-width:500px;
	align-self:center;
	margin:5vh auto 0 auto;
	flex-grow:1;
	/*margin-top:-10vh;*/
}

.recover .main-section {
	max-width:650px;
	align-self:center;
	margin:5vh auto 0 auto;
	flex-grow:1;
	/*margin-top:-10vh;*/
}


.login .site-container > .row,
.recover .site-container > .row {
	/*height:100vh;
	justify-content:center;
	align-items:center;*/
}


.login .main,
.recover .main {
	/*align-self:center;*/
}

.login form {
	width:100%;
	padding:30px;
	background:white;
	/*margin-top:-10vh;*/
}

.login .recover-link {
	text-align:center;
	margin-top:20px;
	margin-bottom:0;
}

.recover form {
	width:100%;
	padding:30px;
	background:white;
}

.login .input-group-text {
	min-width:140px;
	text-align:right;
	justify-content:right;
}

.recover .input-group-text {
	min-width:100px;
	text-align:right;
	justify-content:right;
}

.login button {
	width:100%;
}

.menu-section {
	background:#333;
	position: sticky;
	align-self:flex-end;
	bottom:0;
}

.menu-section .inner {
	color:white;
	padding:20px 0;
	box-sizing:border-box;
	min-height:100vh;
}

.main-section .inner {
	padding:30px;
}

.login .main-section .inner {
	padding:0px;
}

.userinfo {
	padding-bottom:10px;
	margin-bottom:15px;
	border-bottom:1px solid #ddd;
	text-align:right;
}

.menu-section h3 {
	padding:0 20px;
	margin-bottom:15px;
}

nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

nav a {
	color:white;
	text-decoration:none;
	display:block;
}

nav a:link, nav a:focus, nav a:visited {
	color:white;
	text-decoration:none;
}

nav ul.mainmenu > li > a {
	padding:5px 20px;
}

nav ul ul {
	display:none;
	margin:10px 0;
}

nav ul ul a {
	display:inline-block;
}


nav ul li.active ul {
	display:block;
}

nav ul ul a, nav ul ul a:link, nav ul ul a:focus, nav ul ul a:visited {
	padding:3px 10px 3px 10px;
	margin-left:25px;
	color:#aaa;
}

nav ul.mainmenu > li > a:hover {
	color:white;
	text-decoration:none;
	background:#121212;
}

nav ul.mainmenu > li.active {
	background:#444;
	overflow:auto;
}

nav ul.mainmenu > li.active > a {
	background:#0073aa;
}

nav ul ul a:hover, nav ul ul li.active a {
	color:white;
	text-decoration:none;
}

#message-container .alert i {
	float:right;
	cursor:pointer;
}

body.edit form {
	/*max-width:600px;
	margin:0 auto;*/
}

body.edit .input-group-text {
	min-width:200px;
	text-align:right;
	justify-content:right;
}

header {
	margin:-30px -30px 30px -30px;
	padding:15px 20px;
	background:rgba(0,115,170,0.8);
	border-bottom:1px solid rgba(0,115,170,0.85);
	color:white;
}

header h1 {
	margin-bottom:0;
}

.form-toolbar {
	margin:-30px -30px 30px -30px;
	background: #e0e0e0;
	border-bottom:1px solid #ccc;
	padding:10px 20px;
	font-size:0.9em;
}

.form-toolbar .row > div:last-child {
	text-align:right;
}

.form-toolbar .row > div > * {
	display:inline-block;
	margin-right:10px;
}

.form-toolbar .row > div > *:last-child {
	margin-right:0px;
}

.form-toolbar i {
	margin-right:7px;
}

.box {
	background:white;
	border:1px solid #bbb;
	margin-bottom:30px;
}
/*
.box:last-child {
	margin-bottom:0;
}*/

.box-title {
	font-size:0.9em;
	font-weight:600;
	padding:10px 15px;
	border-bottom: 1px solid #ccc;
}

.box-content {
	padding:20px;
}

.main-content {
	padding:40px;
}


.box-meta .meta {
	margin-bottom:7px;
}

.box-meta .meta:last-child {
	margin-bottom:0;
}


table.table {
	border-bottom:2px solid;
	margin:10px 0;
}

.box-table-tekme {
	margin-bottom:30px;
}

.box-table-tekme .table {
	margin-top:0;
	margin-bottom:30px;
}

table.table a {
	/*color:#333;*/
}

table.table a.btn, table.table button.btn {
	/*color:#333;*/
	font-size:0.9em;
}

table.table form, .toolsrow form {
	display:inline;
}

table.table thead {
	border:1px solid #454d55;
}

table.table tbody {
	background:white;
	border:1px solid #dee2e6;
}

.clickable-row {cursor:pointer;}

.toolsrow {
	margin-bottom:10px;
}

.toolsrow > div {
	margin-bottom:10px;
}

.toolsrow input, .toolsrow button, .toolsrow a {
	font-size:0.9em;
}

.filterrow > div {
	align-self:center;
}

.filterrow form {
	float:left;
	margin-right:10px;
}

.filterrow select {
	width:auto;
	margin-right:5px;
}

.searchform input[type="text"] {
	float:right;
	width:70%;
}

.searchform button {
	float:right;
	margin-left:5px;
}

.paginator {
	overflow:auto;
	font-size:0.9em;
}

.paginator-inner {
	float:right;
	display:flex;
}

.paginator-current {
	margin:0 10px;
	line-height:33px;
}

.paginator button {
	background:white;
	margin-left:5px;
	width:35px;
	height:35px;
	line-height:32px;
	border:1px solid #0073aa;
	color:#0073aa;
	box-sizing:border-box;
}

input.form-control[type='checkbox'] {
	width: auto;
}

.form-row {
	margin-bottom:10px;
	margin-left:-10px;
	margin-right:-10px;
}

.form-row > .col, .form-row > [class*="col-"] {
	padding-left:10px;
	padding-right:10px;
}

.hidden {
	display:none;
}

.invalid-password-match, .invalid-password-complex {
	display:none;
	font-size:80%;
	font-size:80%;
	margin-top:0.25rem;
	color:#dc3545;
}

.licenca0, .licenca1 {
	background:#721c24;
	display:inline-block;
	border-radius:12px;
	opacity:0.9;
	height:24px;
	width:24px;
	/*padding:7px;*/
}

.licenca1 {
	background:#155724;
}

.lic-0 {
	color:#721c24;
}

.lic-1 {
	color:#155724;
}

.changelog1, .changelog5 {
	color:green;
}

.changelog2, .changelog6 {
	color:#a67d05;
}

.changelog3, .changelog7 {
	color:#b11826;
}

.changelog4 {
	color:#138496
}

.customer h3 {
	font-weight:500;
}

.customer h3 a {
	color:#333;
}

.customer h2 a {
	color:#333;
}

.customer h2 + h3 {
	margin-top:-10px;
}

.customer-items {
	margin-top:15px;
}

#popup-wrapper {
	position:fixed;
	top:40px; left:0; bottom:0; right:0;
	display:none;
	justify-content:center;
	align-items:center;
	background:rgba(0,0,0,0.7);
	padding:0;
	box-sizing:border-box;
}

#popup {
	max-width:1200px;
	width:100%;
	padding:5px 10px 10px 10px;
	box-sizing:border-box;
	background:white;
	margin:0 30px;
	max-height:80vh;
	overflow:auto;
	position:relative;
}

#popup .popup-processing-item {
	display:none;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:100;
	background:rgba(255,255,255, 0.5);
}

#popup-content {
	padding:10px 20px 20px 20px;
}

#popup .popup-close {
	text-align:right;
	font-size:150%;
	color:#555;
	cursor:pointer;
}

table .image img {
	max-width:130px;
	height:auto;
}

body.showpopup #popup-wrapper {display:flex;}
body.popup-processing #popup .popup-processing-item {display:block;}

.pointer {
	cursor:pointer;
}

.list-group .badge {float:right;font-size:1.3em;cursor:pointer;}
.list-group.list-add-remove {margin-bottom:15px;}

.table-form td {
	vertical-align:top;
} 

.table-form input, .table-form textarea {
	border:none;
	background:transparent;
} 

.default-hidden {
	display:none;
}

 .customer-item {
	display:flex;
	align-items:stretch;
}

.checking-data img,
.box-content img {
	max-width:100%;
	height:auto;
}

.customer .customer-data img {
	max-height:350px;
}

.customer .customer-data .date {
	margin-bottom:0.8em;
} 


.customer .customer-metadata {
	display:flex;
	margin:20px -20px;
	flex-wrap:wrap;
	background:#e0e0e0;
	padding:20px 0;
	font-size:13px;
	align-items:center;
}

.customer .customer-metadata > div {
	width:33.33%;
	flex:0 0 33.33%;
	padding:0 5px;
}


.customer .customer-data .top-data {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	border-bottom:1px solid #bbb;
	margin-bottom:15px;
}

.customer .customer-data .top-data > div {
	display:flex;
}

.box-content .box-actions {
	display:flex;
	flex-wrap:wrap;
	margin:0 -5px 0 -5px;
	justify-content:center;
	
}

.box-content .box-actions > * {
	padding:0 5px;
	
}

.check-navigation {
	display:flex;
	justify-content:center;
	margin-bottom:20px;
}

.check-navigation button {
	margin-right:15px;
	font-size:110%;
}

.check-navigation button:last-child {
	margin-right:0;
}

body.checking h1 {
	text-align:center;
}

#pokopalisceitems-map {
	width:100%;
	height:500px;
}


#location-btn {
	display:block;
	width:100%;
	margin-bottom:10px;
}

.check-map {
}

.checking .note-icon {
	font-size:130%;
	float:right;
}

.checking .action-buttons {
	text-align:center;
	margin-bottom:20px;
}

.checking .action-buttons button {
	margin-right:10px;
}

.checking .action-buttons button:last-child {
	margin-right:0;
}

.merilnamesta.edit #transferdata {
	margin-top:10px;
}

h1 + h3 {
	margin-top:-0.7em;
	margin-bottom:1.5em;
}

.form-images-wrapper {
	display:flex;
	margin:0 -10px;
	flex-wrap:wrap;
	text-align:center;
}

.form-images-wrapper > div {
	flex:0 0 33.33%;
	width:33.33%;
	padding:0 10px;
	margin-bottom:15px;
	position:relative;
}

.form-images-wrapper .image-buttons {
	position:absolute;
	top:10px;
	right:20px;
	z-index:1000;
	display:flex;
}

.form-images-wrapper .image-details {
	position:absolute;
	bottom:0;
	left:10px; right:10px;;
	z-index:1000;
	background:rgba(0,0,0,0.7);
	color:white;
	padding:7px;
	text-align:left;
	font-size:12px;
	display:none;
}

.form-images-wrapper .image-buttons > * {
	width:36px;
	line-height:36px;
	background:black;
	color:white;
	font-size:16px;	
	border-radius:18px;
	display:none;
	margin-left:5px;
	opacity:0.6;
	cursor:pointer;
}

.form-images-wrapper .image-buttons > a {
	color:white;
}

.form-images-wrapper .image-buttons > *:hover {
	opacity:0.85;
}


.form-images-wrapper > div:hover .image-buttons > *  {
	display:block;
}

.form-images-wrapper > div:hover .image-details {
	display:block;
}

.customer-item .flex-item {
	display:flex;
}

.customer-item .flex-item > .box {
	width:100%;
	flex:0 0 100%;
	display:flex;
}

.customer-item .flex-item .box-content {
	width:100%;
	flex:0 0 100%;
	display:flex;
}

.customer-item .flex-item .box-inner-content {
	width:100%;
	flex:0 0 100%;
	display:flex;
	flex-direction:column;
}

.customer-item .flex-item .image {
	flex-grow:1;
}

.customer-data.complexity-1 {
	border-color:#1e953a;
	border-width:3px;
}

.customer-data.complexity-2 {
	/*border-color:#ba8b00;*/
	border-width:3px;
}

.customer-data.complexity-3 {
	border-color:#a71d2a;
	border-width:3px;
}

.complexity-1.customer-data .top-data {
	border-color:#1e953a;
}

.complexity-3.customer-data .top-data {
	border-color:#a71d2a;
}

.btn-actions {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	align-items:center;
	margin-bottom:-7px;
}

.btn-actions .left-buttons,
.btn-actions .right-buttons {
	display:flex;
	margin:0 -2px;
	align-items:center;
	flex-wrap:wrap;
}

.btn-actions .left-buttons > div,
.btn-actions .right-buttons > div {
	padding:0 2px;
	margin-bottom:7px;
}


.customer-status-delimiter {
	border-color:#bbb;
	margin:15px 0;
}

.complexity-1.customer-data .customer-status-delimiter {
	border-color:#1e953a;
}

.complexity-3.customer-data .customer-status-delimiter {
	border-color:#a71d2a;
}

.filterrow form {
	display:inline-block;
	margin-bottom:10px;
}

.tox-tinymce-aux {
	position:absolute !important;
}

.box-operations a.btn {
	margin-bottom:5px;
}

.customer .customer-metadata .badge,
.customertable td .badge {
	font-size:90%;
	margin-bottom:3px;
	padding:5px 7px;
}

.customer .customer-metadata .badge {
	margin-top:3px;
}

.customer .customer-metadata .badge:last-child,
.customertable td .badge:last-child {
	margin-bottom:0px;
}

.spareparts .badge {
	font-size:90%;
	padding:5px 7px;
}


@media screen and (max-width:1199px) {
	.form-images-wrapper > div {
		flex:0 0 50%;
		width:50%;
	}
}

@media screen and (max-width:991px) {
	
	.login .main-section, .recover .main-section {
		max-width:none;
		/*margin-top:-10vh;*/
	}
	
	.login form {
		padding:20px;
	}
	
	.login .input-group-text {
		min-width:100px;
	}
		
	.login .main-section {
		max-width:none;
		margin:5vh 30px 0 30px;
		/*margin-top:-10vh;*/
	}
	
	.menu-section {
		display:none;
		position:fixed;
		left:0;
		right:0;
		bottom:0;
		top:60px;
		overflow-y:auto;
		width:100%;
		z-index:100;
		box-sizing:border-box;
		height:calc(100vh - 60px);
		align-self:auto;
	}
	
	.show-mobile-menu .menu-section {
		display:block;
	} 
	
	.show-mobile-menu .main-section {
		height:calc(100vh - 60px);
		overflow:hidden;
	} 
	
	div#top-toolbar {
		line-height:20px;
		padding-top:10px;
		padding-bottom:10px;
	}
	
	body > div {
		padding-top:60px;
	}
	
	.main-section .inner {
		padding:20px;
	}
	
	.customer .customer-metadata .badge {
		font-size:80%;
	}
	
	

}

@media screen and (max-width:767px) {
	.check-map {
		margin-top:20px;
	}
	
	.form-images-wrapper > div {
		flex:0 0 100%;
		width:100%;
	}
	
	.btn-actions .left-buttons > div {
		width:100%;
		flex:0 0 100%;
	}
	
	.btn-actions .right-buttons > div {
		width:100%;
		flex:0 0 100%;
	}
	
	.btn-actions,
	.btn-actions .left-buttons,
	.btn-actions .right-buttons {
		width:100%;
	}
	
	.btn-actions .left-buttons button,
	.btn-actions .right-buttons button,
	.btn-actions .left-buttons a,
	.btn-actions .right-buttons a {
		width:100%;
		display:block;
	}
	
	.searchform button span {
		display:none;
	}
}

/*.licenca0 span, .licenca1 span {
	width:16px;
	height:16px;
	border-radius:8px;
	display:inline-block;
	background:white;
}*/

#documents-form-wrapper-reminder {display:none;}
