/* spoločné ================================================================= */
body {
	margin: 83px 7px 30px 7px;
	padding-right: 0 !important;
}

.page-header,
.page-header h1 {
	margin-top: 0;
}

.strike {
	text-decoration: line-through;
}

.underline {
	text-decoration: underline;
}

.clickable,
[data-toggle="collapse"] {
	cursor: pointer;
}

table.table-hover tr:hover .help-block {
	color: #fff;
}

tr.hover:hover {
	background-color: #7c9629;
	color: #fff;
}

tr.hover:hover a {
	background-color: #7c9629;
	color: #fff;
	text-decoration: none;
	display: block;
}

.well h4 {
	font-weight: bold;
	margin-bottom: 0.5em;
}

.popover-content {
	min-width: 250px;
	color: #555;
}

.btn {
	font-weight: bold;
}

img,
video {
	max-width: 100%;
	height: auto;
}

.form-control-static {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.break-spaces {
	white-space: break-spaces;
}

.preformatted {
	font-family: monospace;
	white-space: pre;
}

.deprecated {
	color: #aaa;
}

/* Menu ===================================================================== */
#navbar > .nav > li {
	font-weight: 700;
}

#navbar .nav li {
	cursor: pointer;
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu > .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -6px;
	margin-left: -1px;
	-webkit-border-radius: 0 6px 6px 6px;
	-moz-border-radius: 0 6px 6px;
	border-radius: 0 6px 6px 6px;
}

.dropdown-submenu .dropdown-menu {
	display: block;
	padding-left: 30px;
}

.dropdown-submenu > a:after {
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-left-color: #ccc;
	margin-top: 5px;
	margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
	border-left-color: #fff;
}

.dropdown-submenu.pull-left {
	float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
	left: -100%;
	margin-left: 10px;
	-webkit-border-radius: 6px 0 6px 6px;
	-moz-border-radius: 6px 0 6px 6px;
	border-radius: 6px 0 6px 6px;
}

.navbar-brand {
	padding: 0;
}

.navbar-brand img {
	max-height: 100%;
}

.breadcrumb {
	margin: 0;
	background: inherit;
}

@media (min-width: 1024px) {
	.dropdown-submenu .dropdown-menu {
		display: none;
		padding-left: 0;
	}

	.dropdown-submenu:hover .dropdown-menu {
		display: block;
	}
}

/* login ==================================================================== */
.form-login {
	margin-left: auto;
	margin-right: auto;
	max-width: 300px;
}

.form-login input[type="text"] {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.form-login input[type="password"] {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-top: 0;
	margin-bottom: 1.5em;
}

/* tabuľky ================================================================== */
.table-details {
	width: auto;
}

.table-fixed {
	table-layout: fixed;
	width: 100%;
}

.table-auto > tbody > tr > td {
	padding-right: 1em;
}

.table-details > tbody > tr > th {
	text-align: right;
	font-weight: 300;
	border: 0;
}

.table-details > tbody > tr > td {
	border: 0;
	color: #000;
}

.table-details > tbody > tr > td:not(.no-style) {
	font-weight: bold;
}

.table-th-nowrap tr > th {
	white-space: nowrap;
}

.table-hover tbody > tr > td > a:not(.btn) {
	display: block;
	color: inherit;
}

.table-hover tbody > tr > td > a:hover {
	text-decoration: none;
}

.table tr.active {
	color: #fff;
	font-weight: bold;
}

/* alert ==================================================================== */
.alert {
	font-weight: bold;
}

.alert-warning {
	background-color: #c09853;
	color: #5c441b;
	color: #fff;
}

.alert-warning label {
	font-weight: bold;
}

.alert-warning .checkbox {
	margin: 0;
}

/* panely =================================================================== */
.panel-heading * {
	margin: 0;
	line-height: 1;
	color: #fff;
	font-weight: bold;
}

.panel-heading select.form-control {
	display: inline-block;
	width: auto;
	color: #000;
}

.panel-heading select.form-control option {
	color: #000;
}

/* pomocné ================================================================== */
.well *:first-child {
	margin-top: 0;
}

.well *:last-child {
	margin-bottom: 0;
}

.list-group-item-sm {
	padding: 4px 7px;
}

.btn-group-vertical .btn {
	padding-left: 10px;
	padding-right: 10px;
}

/* osoba ==================================================================== */
#payments-status-billitem .listing-title {
	margin-top: -2.5em;
}

#payments-status-invoice {
	margin-top: 1em;
}

/* Úvodná obrazovka ========================================================= */
.isp-contracts .contract {
	display: block;
	color: inherit;
	padding-left: 3px;
}

.isp-contracts .contract:hover {
	background-color: #7c9629;
	color: #fff;
	text-decoration: none;
}

.isp-contracts .contract span {
	display: inline-block;
	margin-right: 1.5em;
}

.isp-contracts h4 {
	margin-bottom: 0;
}

.isp-contracts .accesses {
	padding-left: 2em;
}

/* Partnerský predaj ======================================================== */
table.partner .unit-price {
	background-color: #ddd;
	border-color: #ccc;
}

table.partner tbody tr:hover .unit-price {
	background-color: #999;
}

table.partner .total-price {
	background-color: #c5d99e;
	border-color: #aebf8b;
}

table.partner tbody tr:hover .total-price {
	background-color: #7b8762;
}

.invoice-adjustments tfoot {
	background-color: #ddd;
}

.invoice-adjustments > tfoot > tr > th,
.invoice-adjustments > tfoot > tr > td {
	border-top: 1px solid #555;
}

.prepaid-report.table-hover tbody > tr > td > a:not(.btn) {
	display: inline;
	text-decoration: underline;
}

.form-control-inline {
	display: inline-block;
	width: auto;
	font-weight: normal;
}

.form-group.logo {
	float: none;
	width: auto;
	padding: 0;
}


.table-responsive table thead tr th {
	overflow: hidden;
	text-overflow: ellipsis;
}


/* Label ==================================================================== */
.label.value {
	font-size: 100%;
	padding: 0.1em 0.6em .2em;
}

.label {
	padding: 0.2em 0.6em 0.2em;
	border-radius: 10px;
}

.label-default {
	color: #2e2f2f;
	background-color: #e2e2e2;
}

.label-primary {
	color: #fff;
	background-color: #7c9629;
}

.label-success {
	color: #469408;
	background-color: #dff0d8;
}

.label-info {
	color: #0e82ab;
	background-color: #c1dfee;
}

.label-warning {
	color: #8d6c33;
	background-color: #f5e9a3;
}

.label-warning[href]:hover,
.label-warning[href]:focus {
	background-color: #6e5428;
}

.label-danger {
	color: #990000;
	background-color: #f2dede;
}
