
body { 
	background-color: rgb(252,252,252);
	Xbackground-image: url('/img/bg.jpg');
	background-size: 1950px;
	background-repeat: repeat;
	background-attachment: fixed;
    background-position: center;
    font-size: 15px;
/*    background-size: 800px;
	background-size: cover;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;*/
	color: #000;
	line-height: 1.6;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	letter-spacing: 0.11px;
}

@media (max-width: 900px) {
	body {
		background-size: 1250px;
	}
} 

@media (max-width: 767px) {
	body {
		font-size: 13px;
	}
} 

.clear {
	clear: both;
}

.right {
	float: right;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.logo {
	max-width: 200px;
	margin: 25px auto;
	transition: 0.25s all;
}
@media (max-width: 767px) {
	.logo {
		max-width: 160px;
		margin: 15px auto;
		transition: 0.25s all;
	}
}

.ta-center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.modal {
	background-color: transparent !important;
	border-color: transparent !important;
}

.modal-dialog {
	margin-top: 70px;
}

@media (min-width: 768px) {
	.form-horizontal .control-label {
    	padding-top: 2px;
	}
}

a, a:hover {
	color: black;
}

p {
    margin: 0 0 10px;
}

h1 {
	color: #111;
    font-size: 25px;
}
h2 {
	color: #333;
    font-size: 23px;
}
h3 {
	color: #555;
    font-size: 21px;
}

small {
	font-size: 60%;
}

@media (max-width: 767px) {
	h1 {
    	font-size: 23px;
	}
	h2 {
		font-size: 21px;
	}
	h3 {
    	font-size: 18px;
	}
}

@media (min-width: 1200px) {
	h1 {
    	font-size: 27px;
	}
	h2 {
		font-size: 25px;
	}
	h3 {
    	font-size: 23px;
	}
}

.media-container img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.popover-content {
	font-size: 88%;
}

table.table td[onclick] {
	cursor: pointer;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
	line-height: 1.385;
}

/* languages */

.languages {
}

.languages a {
	opacity: 0.75;
	margin-left: 5px;
	margin-right: 1px;
/*	-webkit-filter: grayscale(80%);
	-moz-filter: grayscale(80%);
	filter: grayscale(80%);
*/	
}

.languages a:hover,
.languages a.active {
	opacity: 1;
}

.table thead th {
	font-size: 82%;
}

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

.table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td, .table-condensed>thead>tr>th {
	padding: 4px;
}

/* upload */

.upload-tabs {
	margin-top: 10px;
}

.upload-tabs .tab-content {
	border-color: rgba(0,0,0,0.25);
}

.image {

}

.image img { 
	border: 3px solid rgba(255, 255, 255, 0.65);
/*	-webkit-filter: grayscale(60%);
	-moz-filter: grayscale(60%);
	filter: grayscale(60%);
	transition: 0.3s all;
*/	
}

.image img:hover { 
/*	-webkit-filter: none;
	-moz-filter: none;
	filter: none;
	transition: 0.3s all;
*/	
}

.image-options {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -100px;
    padding: 3px 6px;
}

.image-options form {
	display: inline-block;
}

.btn-group > .btn:first-child {
	margin-right: 1px;
}

.btn-group > .btn:nth-child(2) {
	margin-right: -1px;
}

.btn-group > .btn:nth-child(2) {
	border-left: 0;
}

.btn-group > .btn:nth-child(3) {
	border-left: 0;
}

.btn-group > .btn:nth-child(4) {
	border-left: 0;
}

.btn-group > .btn:nth-child(5) {
	border-left: 0;
}

.logout-btn {
	border-left: 0 !important;
}

#notification,
#alert {
	position: fixed;
	top: 0px;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	background: rgba(5, 65, 140, 0.9);
	color: white;
	z-index: 9999;
	cursor: pointer;
	padding: 5px;
	height: 55px;
	display: table;
}

#notification.notification-warning,
#alert.notification-warning {
	//background: rgba(245, 96, 96, 0.9);
	background: rgba(236, 140, 50, 0.9);
}

#notification > span.centered,
#alert > span.centered {
	display: table-cell;
	vertical-align: middle;
}
#notification:focus,
#alert:focus {
	outline: none;
}

@media (max-width:768px) {
	#notification,
	#alert {
		font-size: 14px;
		padding: 2px 5px;
	}
}

#footer {
    text-align: center;
    padding: 2px 16px 1px 16px;
    font-size: 12px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	border-top: 1px solid #ccc;
	background: rgba(250, 250, 250, 0.84);
	color: #444;
    z-index: 5;
}

#footer a {
	color: rgb(20,20,20);
}

body.logged #page {
    min-height: 100vh;
	padding-bottom: 100px;
}

.no-border {
	border: 0;
}

.ribbon-datetime {
	top: -4px;
	left: -4px;
    display: inline-block;
    background: #eee;
    border-radius: 0 0 6px 6px;
    position: relative;
    padding: 1px 2px 3px 4px;
    width: 77px;
}

@media (max-width:768px) {
	.ribbon-datetime {
    	width: 38px;
	}
}

.table > tbody > tr > td {
	border-top: 1px solid #eee;
}

.table > tbody > tr.samostatna_vstupenka > td {
	border-top: 2px solid #ddd;
}


/* not found */
.not-found {
	margin-top: 50px;
	margin-bottom: 80px;
}

/* DEBUG */
.debug-button, .debug-window {
    z-index: 999999;
}

.debug-button {
    right: 45px !important;
    bottom: 3px !important;
    border-radius: 4px;
}



.datepicker {
	z-index: 20000 !important;
}

.date-filter-input-group
.input-group.date input {
	font-size: 85%;
	padding: 3px;
	width: 71px;
}

.navbar {
	margin-top: 5px;
}

.navbar li .caret {
	margin-left: 1px;
	margin-right: -2px;
}

.navbar-default .navbar-nav>li>a {
	padding: 15px 20px;
}

.table.tablesorter .header {
    /* background: url('/img/icon_up_down_arrow.png') no-repeat 99% 10px, url('/img/header-bg.png') repeat-x 0; */
    background: url('/img/icon_up_down_arrow.png') no-repeat 100% 4px;
    padding: 5px;
    padding-right: 15px;
    background-opacity: 0.5;
    cursor: ns-resize;    
}

table.tablesorter .header.headerSortDown {
    /* background: url('/img/glyphicons_212_down_arrow.png') no-repeat 99% 10px, url('/img/header-bg.png') repeat-x 0; */
    background: url('/img/glyphicons_212_down_arrow.png') no-repeat 100% 4px;
}

table.tablesorter .header.headerSortUp {
    /* background: url('/img/glyphicons_213_up_arrow.png') no-repeat 99% 10px, url('/img/header-bg.png') repeat-x 0; */
    background: url('/img/glyphicons_213_up_arrow.png') no-repeat 100% 4px;
}

.table.tablesorter .header.no-sort {
	background: none;
}

.alert, .well {
	padding: 7px 15px 7px 15px;
}

.alert {
	margin-bottom: 30px;
	font-size: 85%;
}

.small {
	font0size: 80%;
}

.faded {
	opacity: 0.74;
}

.faded > td {
	color: #777;
}

.pages {
	z-index : 1;
}

.ta-right {
	text-align: right;
}

.pages.btn-group {
	padding: 10px 0 30px 0;
}

.pages span.glyphicon {
	margin: 0 -2px 0 -2px
}

.pages .btn {
	padding: 5px;
	min-width: 32px;
}

table.table tr td:last-child {
	text-align: right;
	padding: 1px;
}

table.table tr td:last-child a.btn {
	padding: 4px 8px 3px 7px;
}



.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #000;
}

@media (min-width:768px) {
	.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    	background-color: rgb(230,230,230);
	}
}

.navbar-default {
    background-color: rgb(245,245,245);
    border-color: #ccc;
}

.navbar-default .navbar-brand {
    //color: #000;
    padding-bottom: 0;
    margin-right: -2px;
}

.form-group.has-error .input-group > .input-group-btn > .btn {
	border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}


.navbar .navbar-nav > li {
    border-left: 1px solid rgb(220,220,220);
}
.navbar .navbar-nav > li:first-child {
    border-left: 0;
}

.navbar .navbar-nav .dropdown .dropdown-menu {
    background: #F5F5F5;
    /*border-top: 0;*/
    z-index: 1;
    margin-top: 0px;
    margin-left: -1px;
    border-color: #E5E5E5;
    max-height: 300px;
    overflow-y: auto;
}

@media (min-width:1200px) {
	.navbar .navbar-nav .dropdown .dropdown-menu {
        max-height: 370px;
	}
}

.navbar-brand {
    padding: 15px;
    height: 40px;
}

@media (max-width: 767px) {
	.navbar-brand {
    	padding: 13px;
    	padding-right: 5px;
    	max-width: 86%;
    	
	}	
	.navbar-brand > span.label {
    	font-size: 9.5px;
    	padding: 3px 5px;
    	margin-right: 2px;
	}	
	
}

.navbar-static-top {
	margin: 0;
}

.navbar-static-top .navbar-brand  img {
	max-height: 36px;
	margin-left: 11px;
	transition: 0.2s all;
}

@media (min-width:1200px) {
	.navbar-static-top .navbar-brand  img {
		max-height: 36px;
		transition: 0.2s all;
	}
}

.navbar-static-top .navbar-brand {
	padding: 7px 12px 0 0;
}

.navbar-static-top .navbar-header .btn {
	padding: 7px 10px;
}
.navbar-static-top .navbar-header .right .btn {
	margin: 5px 14px 1px 3px;
}

.navbar-header button.navbar-toggle {
	padding: 8px 10px 8px 10px;
    margin: 5px 0 1px 15px;
    font-size: 135%;
    height: 36px;
    float: left;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #555;
}

@media (max-width: 767px) {
	#dropdownUserMenu + ul.dropdown-menu {
		left: auto;
		right: 13px;
		top: 44px;
	}
}

.navbar-right #dropdownUserMenu {
	border: 0;
	border-radius: 0;
	background: transparent;
}

.navbar-header {
	height: 43px;
}

input.highlight {
	background: #ffd05c;
}

.date-filter-input-group
.input-group.date .input-group-addon:not(last-child) {
	width: 8px;
	padding: 0;
	padding-left: 1px;
	background: #F8F8F8;
	border-left: 0;
	border-right: 0;
	color: grey;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    
}

.date-filter-input-group
.input-group.date input[name="from"] {
	border-left: 0; 
	width: 77px;
}

.date-filter-input-group
.input-group.date input[name="to"] {
	border-right: 0; 
	width: 77px;
}

.input-group input[type="text"][name="street"] + .input-group-addon,
.input-group input[type="text"][name="city"] + .input-group-addon {
	//width: 5px;
	//padding: 0;
	padding-left: 1px;
	background: #F8F8F8;
	border-left: 0;
	border-right: 0;
	color: grey;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.input-group-addon,
.input-group-btn > .btn {
    padding: 6px 10px;   
}

#Search {
	width: 220px;
	max-width: 220px;
	padding: 6px 9px;
	z-index: 99999;
}

@media (min-width:768px) {
	#Search {
		width: 350px;
		max-width: 350px;
		font-size: 23px;
		font-weight: bold;
		height: 52px;
	}
}
/*
@media (min-width:1200px) {
	#Search {
		width: 750px;
		max-width: 750px;
		padding: 14px 19px;
		font-size: 27px;
		height: 56px;
	}
}
*/
.no-results {
	padding: 20px;
	text-align: center;
	color: #333;
}

@media (min-width:1200px) {
	.no-results {
		font-size: 200%;
		padding: 50px 20px;
		text-align: center;	
	}
}

.search-results {
	width: 100%;
    background: white;
    z-index: 999;
    margin-top: -5px;
    padding-top: 5px;
    padding-bottom: 0px;
    border: 1px solid #d2d2d2;
    border-top: 0;
    border-radius: 0 0 4px 4px;
}

.found-results-container { 
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.found-results-container > table.table {
	margin: 0;
}
.found-results-container > table.table tr:first-child td {
	border-top: 0;
}

.found-results-container > table.table td > a.btn {
	margin-top: 1px;
}

.found-results-container > a.btn {
	margin: 2px 10px 9px 9px;
}

@media (min-width:1200px) {
	.found-results-container > a.btn {
		margin-left: 19px;
	}
}

.navbar-default .navbar-nav > li > a {
	padding-left: 9px;
	padding-right: 9px;
}

.navbar-default form.navbar-form.navbar-right {
	width: 270px;
	font-size: 90%;
	padding: 0;
}

.navbar-default .navbar-form.navbar-right input {
	padding: 3px;
	font-size: 13px;
}

.navbar-default .navbar-form.navbar-right .input-group.date > .input-group-btn > button {
	padding-left: 3px;
	padding-right: 4px;
}

.navbar-default .navbar-form.navbar-right .input-group-addon {
	padding: 0;
	width: 3px;
}

input[expositiontype]:not([price]) + label {
	font-weight: normal;
}

.total-container .total {
	font-size: 200%;
}

.records-summary {
	padding-right: 135px;
	border-top: 1px solid #555;
	width: 35%;
	margin: 13px 0 25px 65%;
	
}

.records td.storno {
	text-decoration: line-through;
}