
body { 
	background-color: silver;
	background-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.12px;
}

a:hover,
a:focus {
	outline: none;
}

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

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

.container {
   	max-width: 2500px;
   	width: 100%;
}

/*@media (min-width: 1300px) {
	.container {
    	width: 1270px;
	}
}
@media (min-width: 1400px) {
	.container {
    	width: 1370px;
	}
}
@media (min-width: 1500px) {
	.container {
    	width: 1470px;
	}
}
@media (min-width: 1900px) {
	.container {
    	width: 1870px;
	}
}*/


.page-header .lead {
	color: rgb(77,77,77) !important;
}

.clear {
	clear: both;
}

.right {
	float: right;
}

@media (min-width: 768px) {
	.lead {
		font-size: 17px;
		margin-bottom: 5px;
	}
}


.logo {
	max-width: 260px;
	margin: 15px auto 20px auto;
	transition: 0.25s all;
}
@media (max-width: 767px) {
	.logo {
		max-width: 190px;
		margin: 15px auto 20px auto;
		transition: 0.25s all;
	}
}

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

.bold {
	font-weight: bold;
}

.page-header {
	border-color: #ddd;
	padding-bottom: 5px;
}

@media (max-width:767px) {
	.page-header {
		border: 0;
	}
}

.visible-xlg {
    display: none !important;
}

@media (min-width: 1500px) {
	.visible-xlg {
    	display: block !important;
    }
	td.visible-xlg, th.visible-xlg {
    	display: table-cell!important;
	}
}

.hidden-xlg {
    display: block !important;
}
td.hidden-xlg, th.hidden-xlg {
   	display: table-cell !important;
}

@media (max-width: 1499px) {
	.hidden-xlg {
    	display: none !important;
    }
}

hr {
	border-top: 1px solid #ddd;
}

.form-group {
    margin-bottom: 10px;
}

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

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

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

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

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;
}
h4 {
	color: #555;
    font-size: 19px;
}

small {
	font-size: 60%;
}

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

.page-header h1 small,
.page-header h2 small,
.page-header h3 small {
	color: #00a651;
}

.page-header.no-border {
	border: 0;
	margin-bottom: 0;
}

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

.bordered {
    border: 2px solid rgba(0,0,0,0.57);
    color: rgba(0,0,0,0.65);
    padding: 2px 1px;
    font-size: 74%;
    font-weight: bold;
    min-width: 20px;
    display: inherit;
    text-align: center;
    line-height: 1.18;
}

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

.popover-content div.item {
	width: 122px;
	display: inline-block;
	float: left;
}

.popover-content span {
	min-width: 47px;
	text-align: right;
	display: inline-block;
}

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

/* 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: 86%;
}

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

.table.table-hover tbody tr:hover {
	background-color: rgba(230, 230, 230, 0.81);
}

@media (min-width:992px) {
	.table.table-hover tr:not(.selected) td .btn:not(.btn-xs) {
		opacity: 0.37;
	}
	.table.table-hover tr:hover td .btn:not(.btn-xs) {
		opacity: 1;
	}
}

.table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td, .table-condensed>thead>tr>th {
	padding: 4px 4px 3px 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: 5px 20px;
    font-size: 10px;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	background: rgba(250, 250, 250, 0.7);
	color: #444;
    z-index: 5;
}

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

body.logged #page {
	background: rgba(255, 255, 255, 0.65);
    min-height: 100vh;
	padding-bottom: 100px;
}


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

.nav-tabs {
	border-color: #2e6da4; 
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
	background-color: #337ab7;
    border-color: #2e6da4;
    color: white;
}

.nav-tabs>li>a:hover {
	border-color: #2e6da4; 
}

/*
    background-color: #337ab7;
    border-color: #2e6da4;
*/

.btn-group-sm>.btn, .btn-sm {
	line-height: 1.45;
}

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

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

table.table {
	font-size: 80%;
	margin-top: 15px;
	margin-bottom: 0;
}

table.table>tbody>tr>td {
	//vertical-align: bottom;
}

table.table.one-row-td-with-ellipsis td {
    max-width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
table.table td:last-child {
    overflow: visible;
}

table.table td > div.dropdown {
	display: inline-block;
}

.table .progress {
	margin: 4px 0;
	height: 13px;
}

.table td .btn-sm {
	margin: -2px -2px 2px -1px;
    padding: 4px 8px;
}

table.table-hover tr td:last-child {
    padding-top: 3px;
    padding-bottom: 1px;
	padding-left: 2px;
}


@media (max-width:767px) {
	.table td .btn {
    	padding: 3px 8px 4px 7px;
	}
}

@media (min-width:768px) and (max-width:991px) {
	#q {
		max-width: 110px;
	}
}

/*table.table.table-condensed td {
	padding-top: 7px;
    padding-bottom: 0px;
}
table.table.table-condensed td:last-child {
    padding-top: 2px;
}*/

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

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

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

.navbar
.input-group.date input {
	font-size: 95%;
}
 
.input-group.date > .input-group-btn > button.dropdown-toggle {
	padding: 6px 5px;
}

.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%;
}

.faded {
	opacity; 0.82;
}

.event-datetime {
	margin-top: -27px;
	padding-left: 15px;
	font-size: 86%;
	color: #505050;
}

#user_home .well {
//	margin-top: 27px;
	min-height: 116px;
}

.pages {
	z-index : 1;
}

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

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

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

.badge {
	padding: 3px 6px;
}

.badge-important {
	background: #c9302c;
}

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

.found-results-container { 
    border-radius: 5px;
    border: 1px solid #ccc;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    max-height: 300px;
    overflow-y: auto;
    font-size: 90%;
}
.found-results-container > table.table {
	margin: 0;
}
.found-results-container > table.table tr:first-child td {
	border-top: 0;
}

.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(200,200,200);
	}
}

.navbar-default {
    background-color: #f8f8f8;
    border-color: #00a651;
}

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

.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(200,200,200);
}
.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;
}

.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;
}
.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;
}


.records-summary {
	background: #e7e7e7;
	padding: 5px;
	margin-top: 45px;	
	border-top: 1px solid #333;
	font-size: 95%;
	z-index: 2;
}
.records-summary table {
	width: 100%;
	font-size: 88%;
	line-height: 125%;
	margin-left: -1px;
}

.records-summary table th {
	text-align: center;
	color: #777;
	font-size: 75%;
}

.records-summary table td {
	text-align: center;
	border: 1px solid #d5d5d5;
	padding: 1px;
	font-weight: bold;
}

.records-summary .row > div:first-child {
	padding-top: 17px;
    font-size: 88%;
    color: #333;
}

.records-summary table .label {
	display: block;
	color: #777;
}

.records-summary table .currency {
	font-size: 70%;
	color: #444;
	padding-left: 5px;
    margin-right: -2px;
}

.records-summary table .value {
	display: inline-block; 
	min-width: 89px;
	text-align: right;
}
.records-summary table .value:only-of-type {
	min-width: 85px;
	text-align: center;
}

@media (min-width: 992px) {

	.records-summary {
		position: fixed;
		bottom: 0;
		left: 0;
	    width: 100%;
	    padding-left: 281px;
		padding-right: 32px;
		background: rgba(226, 226, 226, 0.96);
		box-shadow: 0 0 10px 7px #d4d4d4;
	}
	
	#content {
		padding-bottom: 45px;
	}

}


@media (max-height: 375px) {

	.records-summary {
		display:none!important;
	}

}

.summarytypes {
	width: 5%;
	float:left;
	padding-top: 19px;
	font-size: 84%;
}
.summarytables {
	width: 95%;
	float:right;
}

@media (max-width: 1199px) {
	.summarytypes {
		width: 6%;
	}
	.summarytables {
		width: 94%;
	}
}

@media (max-width: 991px) {
	.summarytypes {
		width: 7%;
	}
	.summarytables {
		width: 93%;
	}
}

@media (max-width: 767px) {
	.summarytypes {
		width: 9%;
	}
	.summarytables {
		width: 90%;
	}
}

/*table.records tr.selected:before {
	content: ' ';
	display: block;
    width: 15px;
    height: 15px;
    background: red;
    left: 255px;
    position: absolute;
}*/

.selected-icon {
	
}
.selected-icon > span {
	margin-left: -20px;
	padding-top: 8px;
	font-size: 85%;
	display: none;
}

tr.selected td.selected-icon > span {
	display: block;
}

table>tbody>tr.selected>td,
table>tbody>tr.selected:hover>td,
.table>tbody>tr.selected>td,
.table>tbody>tr.selected:hover>td {
	background-color: rgba(241, 239, 84, 0.5) /*rgba(255, 253, 85, 0.65)*/;
}

@media (min-width:1499px) {
	.col-xlg-9 {
		width: 75%;
		float: left;
	}
	.col-xlg-3 {
		width: 25%;
		float: left;
	}
}

.openDetail {
	cursor:pointer;
}

#record-detail .well {
	margin-top: 2px;
	margin-bottom: 20px;
	text-align: center;
	min-height: 71px;
	transition: 0.3s all;
}

#record-detail .well > span {
	color: #999;
}

.well {
	font-size: 90%;
}

@media (min-width:1299px) {
	.well {
		margin-top: 20px;
		margin-bottom: 28px;
		padding: 19px 15px;
		font-size: 111%;
		transition: 0.3s all;
	}
}

table.records tr > th:first-child,
table.records tr > td:first-child {
	padding: 0;
	width:0;
}

.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;
}

.date-filter-input-group
.input-group.date .input-group-btn > .btn {
	padding: 7px 4px 5px 4px;
	
	-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-group-btn:not(:last-child):not(:first-child) > .btn {
	border-radius: 0;
}

.date-filter-input-group
.input-group.date .input-group-btn + .input-group-btn > .btn {
	border-left: 0;
}

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

#Search {
	width: 150px;
	max-width: 150px;
	padding: 6px 9px;
}

.records-status-filter {
	margin: 10px;
}

.records-status-filter > a.btn {
	padding: 5px 7px
}

.temporary-upload-dropzone {
	min-height: 150px;
	border: 1px dashed #ccc;
	border-radius: 4px;
	background: #fff;
	padding: 20px;
}

.temporary-upload-dropzone.dz-drag-hover {
	border-color: #337ab7;
	background: #f4f8fc;
}

body.temporary-dropzone-page-active .temporary-upload-dropzone.temporary-dropzone-page-target {
	border-color: #286090;
	background: #eef5fb;
	box-shadow: 0 0 0 4px rgba(40, 96, 144, 0.15);
}

.temporary-upload-dropzone .dz-message {
	margin: 2em 0;
	color: #666;
	text-align: center;
}

.temporary-upload-help {
	margin-top: 8px;
	color: #777;
	font-size: 12px;
}

.temporary-upload-link {
	margin-top: 10px;
}
