body {
	font-size: 14px;
}
.actions {
	text-align: right !important;
	white-space: nowrap;
}

.selectize-input {
	border-radius: 0 !important;
	padding: 10px 18px !important;
}

/* CUSTOMIZE COLORS
 * Primary: #ffb131
 * Darker: #032754
 */

.sidebar ul li a.active:before {border-color: #032754;}
.navbar-default { background-color: #033068; border-color: #121212; }
.navbar-top-links > li > a {color: white;}
.navbar-top-links > li > a.open,
.navbar-top-links > li > a:hover,
.navbar-top-links > li > a:focus { background: #032754; }
.bg-primary { color: #fff; background-color: #2780e3 }
.text-primary,.text-primary:hover { color: #2780e3 }
.text-primary { color: #2780e3 }
a.text-primary:hover,
a.text-primary:focus { color: #1967be }
a.bg-primary:hover,
a.bg-primary:focus { background-color: #1967be }
.btn-primary { color: #fff; background-color: #033068 }
.btn-primary:focus,
.btn-primary.focus { color: #fff; background-color: #032754 }
.btn-primary:hover { color: #fff; background-color: #032754 }
.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary { color: #fff; background-color: #032754 }
.btn-primary:active:hover,
.btn-primary.active:hover,
.open>.dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open>.dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open>.dropdown-toggle.btn-primary.focus { color: #fff; background-color: #032754 }
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus { background-color: #033068 }
.btn-primary .badge { color: #033068; background-color: #fff }
.label-primary { background-color: #2780e3 }
.label-primary[href]:hover,
.label-primary[href]:focus { background-color: #1967be }
.panel-primary { border-color: #2780e3 }
.panel-primary>.panel-heading { color: #fff; background-color: #2780e3; border-color: #2780e3 }
.panel-primary>.panel-heading+.panel-collapse>.panel-body { border-top-color: #2780e3 }
.panel-primary>.panel-heading .badge { color: #2780e3; background-color: #fff }
.panel-primary>.panel-footer+.panel-collapse>.panel-body { border-bottom-color: #2780e3 }

/*table caption {
	text-align: left;
	font-size: 130%;
	font-weight: bold;
	padding-left: 8px;
}*/

.error-helper {color: red;}
.has-error {border-color: red;}
.help-block {font-size: small;}

select optgroup {
	font-weight: bold;
}

/* Popover should not go behind the menubar */
.popover {
	z-index: 1030;
}

.table-sortable th a {
	color: black;
	display: block;
}

/* Indent 3rd level */
.sidebar .nav-second-level .nav-second-level li a {
    padding-left: 85px;
}

.navbar-top-links > li > a,
.navbar-top-links > li > a:hover,
.navbar-top-links > li > a:focus {
    color: #fff;
}

@media print
{
	#page-wrapper {margin-left: 0;}

  a[href]:after {content: none;}
}

.tcr-displayinline,
.tcr-opener {display: none;}
.tcr-openerabove {margin-bottom: 5px;}
/* hiddenlabel */
.tcr-hl {display: none; font-weight: bold;}

/* http://stackoverflow.com/a/18164555 */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

@media (max-width: 767px) {

	.navbar-top-links {position: absolute; top: 0; right: 60px;}
	.navbar-top-links .dropdown-menu {left: auto; right: 0;}

	.block-btn-xs {display: block;}

	.table-customresponsive {display: block; border: none;}
	.table-customresponsive thead {display: none;}
	.table-customresponsive tbody {display: block;}
	.table-customresponsive tr {display:block;margin-bottom: 20px;border: solid 1px #ddd;}
	.table-customresponsive td {display:block;border:none !important;}

	/* tablecustomresponsive-floatleft */
	.table-customresponsive .tcr-fl {float: left; margin-right: 10px;}
	/* tablecustomresponsive-header */
	.table-customresponsive .tcr-h {border-bottom: solid 1px #ddd !important;}
	/* tablecustomresponsive-hiddenlabel */
	.table-customresponsive .tcr-hl {display: inline;}
	.table-customresponsive .tcr-hidden {display:none;}
	/* If there is an error hidden, do show the hidden element */
	.table-customresponsive .has-error.tcr-hidden {display:block;border-bottom: solid 1px #ddd !important;}
	.table-customresponsive .tcr-open .tcr-hidden {display:block;border-bottom: solid 1px #ddd !important;}
	.table-customresponsive .tcr-displayinline {display: inline;}
	.table-customresponsive .tcr-opener {display: block;}

}

@media (max-width: 991px) {
	.table-customresponsive-big {display: block; border: none;}
	.table-customresponsive-big thead {display: none;}
	.table-customresponsive-big tbody {display: block;}
	.table-customresponsive-big tr {display:block;margin-bottom: 20px;border: solid 1px #ddd;}
	.table-customresponsive-big td {display:block;border:none !important;}

	/* tablecustomresponsive-floatleft */
	.table-customresponsive-big .tcr-fl {float: left; margin-right: 10px;}
	/* tablecustomresponsive-header */
	.table-customresponsive-big .tcr-h {border-bottom: solid 1px #ddd !important;}
	/* tablecustomresponsive-hiddenlabel */
	.table-customresponsive-big .tcr-hl {display: inline;}

	.table-customresponsive-big .tcr-hidden {display:none;}
	/* If there is an error hidden, do show the hidden element */
	.table-customresponsive-big .has-error.tcr-hidden {display:block;border-bottom: solid 1px #ddd !important;}
	.table-customresponsive-big .tcr-open .tcr-hidden {display:block;border-bottom: solid 1px #ddd !important;}
	.table-customresponsive-big .tcr-displayinline {display: inline;}
	.table-customresponsive-big .tcr-opener {display: block;}
}
