/*
|---------------------------------------------------------------
| RWO Dossierverwaltung
| http://www.rw-oberwallis.ch
| 
| Copyright by RW Oberwallis AG
| Created by indual GmbH, Brig
| 
|---------------------------------------------------------------
*/




/* Basic */

body {
	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
}

.navbar-brand {
	font-size: 24px;
	font-weight: normal;
	font-family: 'Open Sans Condensed', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body .navbar {
	border: none;
}

a.logo {
	float: left;
	margin: 10px 15px 10px 0;
	width: 104px;
}

a.logo img {
	width: 100%;
}

img.logo-print {
	height: 100px;
	margin-bottom: 30px;
}

.navbar-inverse .navbar-brand {
	padding-top: 18px;
	padding-bottom: 12px;
	color: white;
	font-size: 16px;
}

.only_print {
	display: none;
}

/* Navigation  */

body .navbar {
	border-radius: 0;
}

.nav .glyphicon {
	top: 2px;
}

.nav ul.dropdown-menu li.active_sub a {
	font-weight: bolder;
}

.nav .logout {
	padding-right: 0;
}

.nav li a {
	font-size: 15px;
}




/* Content parts */

h1, .h1 {
	font-family: 'Open Sans Condensed', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 28px;
	font-weight: bold;
	margin: 0 0 20px 0;
}

h2, .h2 {
	font-family: 'Open Sans Condensed', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 22px;
}

h2, h3, h4, h5, h6, 
.h2, .h3, .h4, .h5, .h6 {
	font-family: 'Open Sans Condensed', "Helvetica Neue",Helvetica,Arial,sans-serif;
}

a {
	color: #bc0120;
}
a:hover {
	color: #000;
}

a.sort {
	color: #333;
}

.container.content a.btn {
	color: #fff;
}
.container.content a.icon {
	color: #444;
}
.container.content a.icon:hover {
	color: #000;
}

div.container .button_bar {
	background: #EEE;
	border-top: 1px solid #CCC;
	padding: 10px;
	margin: 40px 0 10px 0;
	overflow: auto;
}

div.container .dropdown-menu .button_bar {
	margin: 0;
}

div.tab-content {
	margin-top: 10px;
}

div.detail_view div.tab-content {
	display: inline-block;
	width: 100%;
}





/* Dropdown state change  */

ul.dropdown-menu {
	font-size: 13px;
}

ul.dropdown-menu h3 {
	font-size: 16px;
	margin: 10px 0 5px 10px;
}




/* Tabs */

.nav-tabs {
	border-bottom: 1px solid #ccc;
}
.nav-tabs>li.active>a, 
.nav-tabs>li.active>a:hover, 
.nav-tabs>li.active>a:focus {
	border: 1px solid #ccc;
	border-bottom-color: transparent;
}


.tab-content .form-group {
	width: 48%;
	float: right;
	margin-bottom: 5px;
}

.tab-content .form-group label {
	padding-left: 0;
	padding-right: 0;
}

.tab-content .form-group:first-child {
	float: left;
}

.tab-content .form-group input {
	margin-right: 10px;
}

.tab-content .line {
	clear: both;
	display: inline-block;
	width: 100%;
}

.tab-content .left {
	float: left;

}

.tab-content .right {
	float: left;
}


/* View, form group */

.detail_view .tab-content .form-group {
	width: 100%;
	float: none;
	padding: 5px 5px 0 5px;
}

.detail_view .tab-content .form-group:nth-child(odd) {
	background: #eee;
}




/* Tables */


table.table tr td ul {
	padding-left: 0;
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

table.table tr td ul li {
	padding: 0 10px;
}

table.table tr td ul li.dropdown {
	padding: 0;
}

table.table tr td ul a.dropdown-toggle {
	color: #333 !important;
	white-space: nowrap;
}

table.table tr td ul li .button_bar {
	margin: 5px -10px 0 -10px !important;
}

table th.controls {
	text-align: right;
	width: 19px;
}

table.table tr.archived,
table.table tr.archived a,
table.table tr.archived a .glyphicon,
table.table tr.archived td ul a.dropdown-toggle  {
	color: #bbb;
}

table.table .notes .description_content {
	float: left;
	width: 90%;
}

table.table th.amount,
table.table td.amount {
	text-align: right;
	min-width: 140px;
}

div.detail_view {
	display: inline-block;
	width: 100%;
}


/* replace table condesed -> problem with collapse */
.table thead>tr>th, 
.table tbody>tr>th, 
.table tfoot>tr>th, 
.table thead>tr>td, 
.table tbody>tr>td, 
.table tfoot>tr>td {
	padding: 3px 5px;
}

.table {
	border: 1px solid #ddd;
	margin-bottom: 10px;
}

.table th {
	background: #f5f5f5;
	background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
}

.table th a {
	white-space: nowrap;
}

.table .tr_total {
	border-bottom: 2px solid #ddd;
	border-top: 2px solid #ddd;
}

.table .tr_diff_amount {
	border-bottom: 2px solid #ddd;
}

.table .tr_total_amounts {
	background: #f5f5f5;
	background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
}

.tooltips_amount_content {
	text-align: left;
}

.table .white-space {
	height: 20px;
}

/* Sort */
b.caret_up {
	display: inline-block;
	width: 0;
	vertical-align: middle;
	border-bottom: 4px solid #000;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	margin-left: 2px;
	content: "";
}


/* Notes */

.notes {
	width: 320px;
	max-width: 350px;
	word-wrap: break-word;
}

.notes_plus {
	float: right;
/* 	margin-right: 15px; */
	cursor: pointer;
}




/* Pagination */

.pagination {
	width: 100%;
	background: none;
	text-align: center;
	border-top: 1px solid lightgrey;
	margin: 5px auto !important;
	border-radius: 0 !important;
	position: relative;
}

.pagination .left {
	position: absolute;
	left: 0;
	top: 0;
}

.pagination span.first,
.pagination span.last {
	display: none;
}

.pagination .num {
	text-align: center;
	padding: 5px 3px;
}

.pagination .num a {

}

.pagination .right {
	position: absolute;
	right: 0;
	top: 0;
}




/* Footer section */

footer {
	margin-top: 10px;
	text-align: center;
}

footer p {
	color: #999;
	font-size: 80%;
}

footer p a {
	color: #999;
}

ul.align_left {
	padding-left: 15px;
}

/* Dashboard */
.dashboard_entry {
	display: block;
	border-radius: 10px;
	background: #eee;
	border: 1px solid #ccc;
	padding: 0 20px 10px 20px;
	margin-bottom: 20px;
	color: #333;
}
.dashboard_entry:hover {
	color: #333;
	text-decoration: none;
	background: #ddd;
}

.dashboard_entry .flaticon {
	float: right;
	width: 60px;
	margin-top: 15px;
}
body .navbar-inverse .navbar-nav>.active>a,
body .navbar-inverse .navbar-nav>.active>a:hover,
body .navbar-inverse .navbar-nav>.active>a:focus {
	background-color: #be0021;
}


