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;}

.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:20px;
}

.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, .plan-0 {
	color:#721c24;
}

.plan-1 {
	color:#084298;
}

.lic-1, .plan-2 {
	color:#155724;
}

.changelog1, .changelog5 {
	color:green;
}

.changelog2, .changelog6 {
	color:#a67d05;
}

.changelog3, .changelog7 {
	color:#b11826;
}

.changelog4, .changelog11 {
	color:#138496
}


#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;
}

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;
} 

.box-edit-tekma .alert {display:none;}

.default-hidden {
	display:none;
}

.prijavaskakanje #turnir-details, .prijavadresura #turnir-details {
	margin-top:10px;
	min-height:60px;
}

.prijavaskakanje #konj-details, .prijavadresura #konj-details,
.prijavaskakanje #jahac-details, .prijavadresura #jahac-details {
	margin-top:10px;
}

.prijavaskakanje #hitripari, .prijavadresura #hitripari {
	margin-top:10px;
	min-height:60px;
	max-height:100px;
	overflow:auto;
	margin-bottom:15px;
}

.prijavaskakanje #hitripari .hitripar, .prijavadresura #hitripari .hitripar {
	padding:8px 5px;
	background:#f0f0f0;
	cursor:pointer;
}

.prijavaskakanje #hitripari .hitripar:nth-child(even), .prijavadresura #hitripari .hitripar:nth-child(even) {
	background:#f8f8f8;
}

#uploadjsonfile {
	display:none;
}

.domene.edit .box-actions form {
	display:block;
	margin-top:5px;
}

.keyword-list {
	display:flex;
	margin:0 -5px;
	box-sizing:border-box;
	flex-wrap:wrap;
}

.keyword-list span {
	margin:0 2px;
	margin-bottom:5px;
	font-size:14px;
	font-weight:400 !important;
}

.keyword-list span i {
	cursor:pointer;
}

.keyword-list span.badge-secondary {
	text-decoration: line-through;
}

.month-heading {
	display:flex;
	align-items:center;
	margin-bottom:20px;
}

.month-heading form {
	margin:0 10px;
}

.month-heading strong {
	width:125px;
	font-size:14px;
	text-align:center;
	display:block;
}

.blogs-legend {
	table-layout:fixed;
	width:500px;
}

.blogs-legend td {
	padding:5px 7px;
	text-align:center;
}

.tox-tinymce-aux {
  position: absolute !important;
}

.sortable-container {
	display:flex;
	margin:0 -20px;
}

.sortable-container-inner {
	width: 50%;
	padding:0 20px;
	box-sizing:border-box;
}

.sortable-container-inner label {
	font-weight:600;
}

#sortable1, #sortable2 {
	border: 2px solid #eee;
	min-height: 56px;
	overflow:auto;
	list-style-type: none;
	max-height:220px;
	overflow:auto;
	padding:0;
	padding:5px;	
}

#sortable1 li, #sortable2 li {
	margin: 5px;
	padding: 5px;
	font-size: 1.2em;
	display:inline-block;
	cursor:pointer;
	color:#383d41;
	border: 1px solid #d6d8db;
	background:#e2e3e5;
}

#sortable2 li {
	color:#004085;
	border: 1px solid #b8daff;
	background:#cce5ff;
}

.posodobitvestrani .badge {
	font-size:120%;
	padding:5px 10px;
}

@media screen and (max-width:767px) {
	
	.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;
		top:60px;
		left:0;
		right:0;
		bottom:0;
		overflow-y:auto;
		width:100%;
		z-index:100;
		box-sizing:border-box;
	}
	
	.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;
	}
}

/*.licenca0 span, .licenca1 span {
	width:16px;
	height:16px;
	border-radius:8px;
	display:inline-block;
	background:white;
}*/

#documents-form-wrapper-reminder {display:none;}
#subscriptions-plugin-form-wrapper {display:none;}

.project-list-description, .project-task-description {
	color:#666;
	font-size:0.92em;
	margin-top:4px;
}

.project-count {
	display:inline-block;
	min-width:30px;
	padding:4px 8px;
	border-radius:14px;
	font-weight:600;
}

.project-count-pending {
	background:#fff3cd;
	color:#856404;
}

.project-count-completed {
	background:#d4edda;
	color:#155724;
}

.project-count-claimed {
	background:#cce5ff;
	color:#004085;
}

.project-heading {
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:20px;
	margin-bottom:20px;
}

.project-heading h1 {
	margin-bottom:8px;
}

.project-heading h1 .badge {
	font-size:0.5em;
	vertical-align:middle;
}

.project-description {
	max-width:900px;
	font-size:1.05em;
}

.project-heading-actions {
	display:flex;
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:7px;
}

.project-heading-actions form, .project-task-actions form {
	display:inline-block;
	margin:0;
}

.project-summary {
	margin-bottom:15px;
}

.project-summary-item {
	background:white;
	border:1px solid #ccc;
	padding:14px 16px;
	min-height:75px;
}

.project-summary-item span {
	display:block;
	color:#666;
	font-size:0.9em;
	margin-bottom:4px;
}

.project-summary-item strong {
	display:block;
	font-size:1.35em;
}

.project-due-status {
	display:block;
	font-size:0.9em;
	font-weight:600;
	margin-top:3px;
}

.project-due-remaining {
	color:#155724;
}

.project-due-today {
	color:#856404;
}

.project-due-overdue {
	color:#721c24;
}

.project-meta-line {
	color:#666;
	margin-bottom:20px;
}

.project-view-switch {
	margin-bottom:20px;
}

.project-task-box .box-content {
	padding:10px 20px 20px 20px;
}

.project-task-actions {
	display:flex;
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:5px;
}

.project-task-attachments {
	margin-top:10px;
	padding:10px;
	background:#f8f9fa;
	border:1px solid #dee2e6;
}

.project-task-attachments ul {
	margin:7px 0;
	padding-left:20px;
}

.project-task-attachments small {
	color:#666;
}

.project-task-status {
	display:inline-block;
	white-space:nowrap;
	font-weight:600;
}

.project-status-pending {
	color:#6c757d;
}

.project-status-progress {
	color:#084298;
}

.project-status-completed {
	color:#155724;
}

.project-timeline {
	position:relative;
	margin:10px 0 30px 18px;
	padding-left:34px;
}

.project-timeline:before {
	content:"";
	position:absolute;
	top:0;
	bottom:0;
	left:12px;
	width:2px;
	background:#bbb;
}

.project-timeline-item {
	position:relative;
	margin-bottom:18px;
}

.project-timeline-marker {
	position:absolute;
	left:-34px;
	top:13px;
	width:26px;
	height:26px;
	line-height:24px;
	text-align:center;
	border-radius:50%;
	border:2px solid #6c757d;
	background:#f0f0f0;
	z-index:1;
}

.project-timeline-item.project-status-progress .project-timeline-marker {
	border-color:#084298;
	color:#084298;
}

.project-timeline-item.project-status-completed .project-timeline-marker {
	border-color:#155724;
	color:#155724;
}

.project-timeline-content {
	background:white;
	border:1px solid #ccc;
	padding:14px 16px;
}

.project-timeline-title {
	display:flex;
	justify-content:space-between;
	gap:15px;
	font-size:1.1em;
}

.project-timeline-status {
	min-width:150px;
	text-align:right;
}

.project-timeline-status small {
	display:block;
	color:#666;
	font-size:0.85em;
	font-weight:400;
	margin-top:3px;
}

.project-task-meta {
	color:#666;
	font-size:0.92em;
	margin:8px 0;
}

@media screen and (max-width:991px) {
	.project-heading {
		display:block;
	}

	.project-heading-actions {
		justify-content:flex-start;
		margin-top:15px;
	}

	.project-summary-item {
		margin-bottom:10px;
	}

	.project-tasks-table {
		display:block;
		overflow-x:auto;
		white-space:normal;
	}
}
