@media print {

	body {
		background: transparent;
		color: black;
	}
	#page-wrapper {
		background: transparent;
		margin: 0;
		min-height: 0;
	}
	#page-wrapper > .border-bottom {
		border: none;
	}
	#wrapper nav.navbar-default,
	#page-wrapper nav.navbar-static-top,
	#page-wrapper .page-heading,
	#page-wrapper .footer,
	#page-wrapper .wrapper-content button,
	#page-wrapper .wrapper-content a.btn,
	#log {
		display: none;
	}

}

/* Font Awesome */

.fa.disabled {
	opacity: 0.2;
}

/* Pair */

#log {
    background-color: rgba(255,255,255,0.05);
	border-radius: 3px;
    box-sizing: border-box;
    clear: both;
    color: #777;
    font-family: monospace;
    font-size: 12px;
    line-height: 17px;
    margin: 12px auto 0;
    width: 100%;
    word-wrap: break-word;
}
#log > .head {
	background-color: #242a30;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #789;
    font-family: Helvetica,sans-serif;
    font-weight: 400;
    overflow: hidden;
}
#log > .head > .item {
    box-sizing: border-box;
    cursor: default;
    float: left;
	height: 40px;
    line-height: 40px;
    overflow: hidden;
    padding: 0 14px;
    text-overflow: ellipsis;
	white-space: nowrap;
	width: 50%;
}
#log > .head > .item.database {
    cursor: pointer;
}
#log > .head > .item.active {
    background-color: #9fbbe0;
    color: black;
}
#log > .head > .item.warning {
	background-color: #EA3;
    color: white;
    cursor: pointer;
}
#log > .head > .item.error {
    background-color: #900;
    color: white;
    cursor: pointer;
}
#log > .head > .item.warning:hover {
    background-color: #FC5;
}
#log > .head > .item.error:hover {
    background-color: #B00;
}
#log > .head > .item.database:hover,
#log #logShowEvents.item:hover {
    background-color: #345;
}
#log > .head > .item.active:hover,
#log #logShowEvents.item.active:hover {
    background-color: #afcbf0;
    color: black;
}
#log > .head > .item .desc {
    overflow: hidden;
    white-space: nowrap;
}
#log > .head > .item .icon {
    float: left;
    font-size: 1.6rem;
    line-height: 40px;
    margin-right: 7px;
}
#log > .head > .item .emph {
    color: white;
    font-weight: 400;
}
#log > .head > .item .sub {
    display: inline;
    font-size: 0.7em;
    margin-left: 0.2rem;
    opacity: 0.7;
    white-space: nowrap;
}
#log #logShowEvents.item {
    border: none;
    cursor: pointer;
	text-align: center;
	width: 100%;
}
#log .events {
    font-size: 0.94em;
    line-height: 1.6em;
    padding: 7px 22px;
}
#log .events div {
    margin: 10px 0;
	text-align: left;
}
#log .events > * > span.time {
    background-color: #ddd;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    color: white;
    cursor: default;
    padding: 1px 5px;
    -webkit-user-select: none;  
    -moz-user-select: none; 
    -ms-user-select: none;    
    user-select: none;
}
#log .events > * > span.time.slow {
    background-color: #EA3;
}
#log .warning {
    color: #EA3;
}
#log .error {
    color: #F00;
}
#log .notice {
    color: #458;
}
#log .api {
    color: #487a45;
}
#log .query span,
#log .api span {
    color: #ccc;
    cursor: default;
    -webkit-user-select: none;  
    -moz-user-select: none; 
    -ms-user-select: none;    
    user-select: none;
}
.list-filter {
    display: inline-flex;
    justify-content: space-around;
    width: 100%;
}

.list-filter a.active {
    text-decoration: underline !important;
}

#pageTranslator table td {
    vertical-align: middle;
}

.hidden {
    display: none;
}
@media(min-width: 576px) {
	#log > .head > .item {
		width: 25%;
	}
	#log #logShowEvents.item {
		width: 50%;
	}
}
@media(min-width: 992px) {
	#log > .head > .item {
		width: 15%;
	}
	#log #logShowEvents.item {
		width: 10%;
	}
	#log #logShowEvents.item {
	    float: right;
		text-align: right;
	}
}

/* Spinner */

.spinner {
	display: inline-block;
	opacity: 0;
	-webkit-transition: opacity 0.25s, width 0.25s;
	-moz-transition: opacity 0.25s, width 0.25s;
	-o-transition: opacity 0.25s, width 0.25s;
	transition: opacity 0.25s, width 0.25s;
	width: 0;
}

.has-spinner.active {
	cursor:progress;
}

.has-spinner.active .spinner {
	opacity: 1;
	width: auto; /* This doesn't work, just fix for unkown width elements */
}

.has-spinner.btn-mini.active .spinner {
	width: 10px;
}

.has-spinner.btn-xs.active .spinner {
	width: 12px;
}

.has-spinner.btn-small.active .spinner {
	width: 13px;
}

.has-spinner.btn.active .spinner {
	width: 16px;
}

.has-spinner.btn-large.active .spinner {
	width: 19px;
}

/* Magnific popup patch */
.mfp-bg {
    z-index: 2099;
}
.mfp-wrap {
    z-index: 2100;
}

/* Chosen */
.chosen-container-single .chosen-single {
    border: 1px solid #e5e6e7;
}

.chosen-container .chosen-drop {
    border-color: -moz-use-text-color #1ab394 #1ab394;
}

.chosen-container-active.chosen-with-drop .chosen-single {
	border-color: #1ab394;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin: 0 1rem;
}

.half-opacity {
	opacity: 0.5;
}

.messageNodata {
    background-color: rgba(100, 100, 100, 0.1);
    font-style: italic;
    margin: 30px 0;
    padding: 14px 23px;
}

.datetime span {
	font-size: 0.9em;
	opacity: 0.65;
}

.actions a {
	margin: 0 2px 2px 0;
	white-space: nowrap;
}

.actions .fa-check {
	padding: 0 5px;
}

.login .login-header .brand .logo {
	top: 5px;
}	

tr.archived-invoice,
tr.archived-invoice td {
	background-color: #efefef !important;
	opacity: 0.75;
}

.datepicker {
	cursor: default;
}

.required-field:AFTER {
    content: "*";
	margin-left: .25em;
	margin-right: .5em;
}

/* magnificPopup size FIX */ 
.mfp-iframe-holder .mfp-content {
    height: 100%;
    width: 100%;
}