/* #################################################
# Projekt 	: CSS - Care
# Stand     : 04.07.19
# Autor		: 300design.com
#################################################### */

body {
	background:#fff;
	color:#111;
	min-height: 100vh;
}

a,
.btn-link,
.page-link {
	color:#346cb0; /*346cb0*/
}
.btn-primary,
.page-item.active .page-link {
	background-color: #346cb0;
	border-color: #346cb0;
}

b,
.font-weight-bold {
    font-weight: 600 !important;
}

.text-normal {
    color: #111;
}
.text-muted {
    color: #999 !important;
}

.text-monospace.small {
    font-size: 70%;
}

.hyphenate {
	overflow-wrap: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

.col-checker,
.col-actions {
    vertical-align:middle !important;
}

.custom-control-sm > .custom-control-label:after,
.custom-control-sm > .custom-control-label:before {
	width:.85rem;
	height:.85rem;
}

.custom-control-lg > .custom-control-label:after,
.custom-control-lg > .custom-control-label:before {
	width: 1.15rem;
	height: 1.15rem;
}

.custom-control-nolabel {
	padding-left: 1.1rem;
	width:1rem;
	overflow:hidden;
}
.custom-control-nolabel .custom-control-input {
	left:0; /*hack:chrome*/
}
.custom-control-lg.custom-control-nolabel {
	padding-left: 1.2rem;
}
.custom-control-nolabel > .custom-control-label:after,
.custom-control-nolabel > .custom-control-label:before {
	left:-1rem;
}
.custom-control-lg.custom-control-nolabel > .custom-control-label:after,
.custom-control-lg.custom-control-nolabel > .custom-control-label:before {
	left:-1.2rem;
	top:.2rem;
}

.custom-control-lg.custom-radio .custom-control-label::before, 
.custom-control-lg.custom-radio .custom-control-label::after {
	top:.15rem;
}

.custom-control-label::before {
	border: 1px solid #ccc;
	background-color: #f9f9f9;
}
.custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
	border-color:#346cb0;
	background-color: #346cb0;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #346cb0;
}

.form-control-lg.custom-control-nolabel {
	padding-right: .125rem;
}
.form-control-lg .custom-control-label::before, 
.form-control-lg .custom-control-label::after {
	top: 0rem;
	width: 1.25rem;
	height: 1.25rem;
}

.markdown.is-invalid + div,
.markdown.is-invalid + div + div {
	border-color: #dc3545;
}

.btn-xs {
    padding:.25rem .375rem;
    font-size: .75rem;
    line-height: 1.2;
    border-radius: .2rem;
}

.btn-default {
	border-color: #ced4da;
	background-color: #fff;
}
.btn-default:hover {
	color:#fff;
	background-color:#6c757d;
	border-color:#6c757d
}

.btn-file {
	position: relative;
  	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}

.btn-actions .btn-default {
	padding: .25rem .25rem;
}
.btn-actions .btn-edit .ico {
	font-size:.875em;
}
@media (max-width: 1140px){

	.btn-actions .btn-edit {
		display:none;
	}
	.btn-actions > .btn-group > .btn-default {
		border-radius: .2rem !important;
	}
}

.input-group-merge .input-group-text {
	color:#b6b6b6;
	background-color: #f8f8f8;
	border-color:#cfcfcf;	
}
.input-group-merge .input-group-icon {
	width: 2.5rem;
	padding-left: 0;
	padding-right: 0;
}
.input-group-merge .input-group-icon .ico {
	margin: auto;
}
.input-group-merge .input-group-icon .txt {
	margin: auto;
	font-weight: 500;
}
.input-group-merge .input-group-prepend .btn,
.input-group-merge .input-group-append .btn {
	color: #346cb0;
}

input.has-icon {
	padding-right:40px;
}
#search input.has-icon {
	padding-left:40px;
	padding-right:0;
}
.btn-input {
	position:absolute;
	z-index: 4;
	right: 0;
	margin:0 15px 0 0;
	color:#bbb;
	line-height: 1.7;
    text-decoration:none !important;
    border:0;
}
.input-group .btn-input {
	margin:0 0 0 -40px;
}
#search .btn-input {
	margin: 0;
	left: 55px;
	right: auto;
}
.btn-input[data-action='clear'] {
	line-height: 1.2;
	font-size:1.3rem;
    font-weight:500;
}

.badge-special {
	width: 65px;
	padding: .15rem;
	font-size: 65%;
	overflow: hidden;
	text-overflow: '';
}
.badge-special.has-ico {
	width: 70px;
}

h1 {
	font-size:25px;
	margin:20px 0;
	color:#000;
}

.lh-normal {
	display:inline-block;
	line-height:normal;
}

.list-switches {
	margin-bottom:0;
}
.list-switches .list-inline-item {
	margin-bottom:.75rem;
}
.list-switches .list-inline-item:not(:last-child) {
	margin-right:1.5rem;
}

.form-control::placeholder {
    color: #bbb;
}
.form-group label:not(.custom-control-label) {
    font-weight: 600;
    font-size:.9rem;
}

/* -------------------- */

#progress {
	display:none;
	position:fixed;
	z-index:9999;
	top:70px;
	left:50%;
	margin-top:0px;
	margin-left:-75px;
	padding:8px 10px;
	background:rgba(0,0,0,0.8);
	color:#fff;
	font-weight:600;
}

/* -------------------- */

header {
	position:fixed;
	z-index: 10;
	top:0;
	left:0;
	right:0;
}
@media (max-height: 440px){
	header {
		position:absolute;
	}
}
header .top-bar {
	height:3.25rem;
	padding:0 1rem;
}
header .top-bar,
.search-wrapper {
	background:#24292e;
}
header .logo img {
	height:2.5rem;
}
header .logo .text {
	display: inline-block;
	line-height: 1.1;
	font-size: 90%;
	color:#fff;
	vertical-align: middle;
}


header .btn-account {
	color:#fff;
	text-decoration:none;
}
header .btn-account > .user-avatar {
    height: 2.25rem;
    width: 2.25rem;
    line-height: 2.25rem;
    background: rgba(255,255,255,.3);
}
header .btn-account .small {
	color:rgba(255,255,255,.5);
}

.search-wrapper {
	margin: -1.5rem 0 1.0rem;
	padding: .25rem 1rem .5rem;
}

/* -------------------- */

.vcenter {
	position: relative;
	display:block;
	overflow:hidden;
	padding-bottom:55%; /* 56.25% = 16:9 */
}
.vcenter img {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width:100%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	-moz-transform: translateY(-50%) translateX(-50%);
	-ms-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
}

.img-data {
	position:relative;
	display:inline-block;
	border-radius:.25rem;
    overflow:hidden;
	vertical-align: middle;
    text-decoration:none;
    transition: all 0.18s ease-out;
}
.img-data.img-user {
	border-radius: 50%;
}

.img-data .text {
	position: absolute;
	top:0;left:0;right:0;
	display:block;
	font-weight:700;
	font-size:.875rem;
	background:#aaa;
	color:#fff;
	white-space:nowrap;
	text-align:center;
	text-transform: uppercase;
	line-height:32px;
}
a:hover .img-data {
	background:#555;
	color:#fff;
	text-decoration:none;
	transform: scale(1.3);
}

.img-data.size-xs,
.img-data.size-1 {
	width:1.8rem;
	height:1.8rem;
}
.img-data.size-sm,
.img-data.size-2 {
	width:2.4rem;
	height:2.4rem;
}
.img-data.size-md,
.img-data.size-3 {
	width:6.25rem;
	height:6.25rem;
}
.img-data.size-lg,
.img-data.size-4 {
	width:9.5rem;
	height:9.5rem;
}

.img-data.size-xs .text,
.img-data.size-1 .text {
	line-height:1.8rem;
	font-size:.78rem;
}
.img-data.size-sm .text,
.img-data.size-2 .text {
	line-height:2.4rem;
}
.img-data.size-md .text,
.img-data.size-3 .text {
	line-height:6.25rem;
	font-size: 1.5rem;
}
.img-data.size-lg .text,
.img-data.size-4 .text {
	line-height:9.5rem;
	font-size: 1.75rem;
}

@media (max-width: 575.98px){

	.img-data.size-xs-1 {
		width:1.8rem;
		height:1.8rem;
	}
	.img-data.size-xs-1 .text {
		line-height:1.8rem;
		font-size:.78rem;
	}
	.img-data.size-xs-2 {
		width:2.4rem;
		height:2.4rem;
	}
	.img-data.size-xs-2 .text {
		line-height:2.4rem;
	}
}

/* @media (max-width: 575.98px), (min-width: 1024px){ */ /* xs + xl */
	
	.data-list .img-data.size-txt {
		width:.9rem;
		height:.9rem;
		vertical-align: sub;
	}
	.data-list .img-data.size-txt .text {
		line-height:.9rem;
		font-size:.5rem;
	}
	
	.data-list .img-data.size-xs {
		width:2.8rem;
		height:2.8rem;
	}
	.data-list .img-data.size-xs .text {
		line-height:2.8rem;
		font-size: 1rem;
	}
/* } */

@media (min-width: 1024px){

	.data-list .img-data.size-xs:not(.no-grow) {
		width:3.8rem;
		height:3.8rem;
	}
	.data-list .img-data.size-xs:not(.no-grow) .text {
		line-height:3.8rem;
		font-size: 1.2rem;
	}
}
@media (min-width: 1368px){

	.data-list .img-data.size-xs:not(.no-grow) {
		width:4.5rem;
		height:4.5rem;
	}
	.data-list .img-data.size-xs:not(.no-grow) .text {
		line-height:4.5rem;
		font-size: 1.3rem;
	}
}

.img-data .img-wrapper {
	z-index: 1;
	padding-bottom:100%;
	background: #fff;
}
.img-data img.vert {
    width: 100%;
}
.img-data.size-sm img.vert {
	width: 102%; /* hack for cutted rounding */
}
.img-data img:not(.vert) {
    height: 100%;
}
.img-data.size-sm img:not(.vert) {
	height: 102%; /* hack for cutted rounding */
}


/* -------------------- */

#menu, main {
    top:3.25rem;
    transition: all 0.3s ease-out;
}
#menu {
	position:fixed;
	z-index: 2;
	left:0;
	bottom:0;
	width:5rem;
	overflow:hidden;
	border-right:1px solid rgba(0,0,0,.125);
	transition: all 0.3s ease-out;
}
body.menu-toggled #menu {
	left:-5rem;
}
#menu .logo img {
	width:100%;
}
#menu .menu-inner {
	padding-top:1.5rem;
	padding-bottom:1.5rem;
}

#menu .nav-item {
	position: relative;
	width: 100%;
	overflow: hidden;
	text-align: center;
}
#menuXXX .nav-item.active:before {
	position:absolute;
	content:' ';
	right:0; top:.5rem; bottom:.5rem;
	width:3px;
	background:#ffc107;
}
#menu .nav-link {
	padding: .5rem 0 !important;
	color:rgba(0,0,0,.4);
}
#menu .nav-link:hover {
	color:#000;
}
#menu .nav-item.active .nav-link {
	color: #000; /*ffc107*/
}
#menu .nav-link .ico {
	font-size: 115%;
}
#menu .nav-link .ico.company {
	font-size: 90%;
}
#menu .nav-link .txt {
	font-size: .65rem;
}

/* -------------------- */

body:not(.page-home):not(.menu-toggled) main,
body:not(.page-home):not(.menu-toggled) footer {
    padding-left: 5rem;
}

body:not(.page-home) main {
	position: relative;
	padding-top:1.5rem;
	padding-bottom:1.5rem;
}

.cnt-wrap.data-edit-wrap .container-fluid {
	max-width:960px;
}
.cnt-wrap.data-list-wrap .container-fluid {
	max-width:1600px;
}
.cnt-wrap.data-stats-wrap .container-fluid {
	max-width:1200px;
}

footer .copy {
	color:#aaa;
}
footer .copy a {
	color:#808080;
}
footer .designer .ico {
	color:#c00;
}

/* -------------------- */

.ico.company {
	font-size:80%;
}

.card-table .table:not(.table-sm) tr:not(.table-sm) td, 
.card-table .table:not(.table-sm) tr:not(.table-sm) th {
    padding:.75rem .5rem;
}

.table-hover tbody tr:hover {
	background-color:rgba(0,0,0,.04)
}
.table thead th {
	color: #888;
	font-size:.75rem;
	font-weight: 600;
	border:0;
}
.table td {
	vertical-align: middle !important;
}


table.sortable th[data-sort] {
	cursor: pointer;
}
table th a {
	color:inherit;
}
table.sortable th[data-sort]:hover,
table th a:hover {
	color:#111;
	text-decoration:none;
}

table th.sorting-asc,
table th.sorting-desc {
	position:relative;
	vertical-align: bottom;
	color:#111;
}
table th.sorting-asc a,
table th.sorting-desc a {
	color:#111;
}
table th.sorting-asc:not(.sort-ico-inline):after,
table th.sorting-desc:not(.sort-ico-inline):after {
	position:absolute;
	right:-2px;
	bottom: .85rem;
}
table th.sorting-asc:after,
table th.sorting-desc:after {
	/* font-family: FontAwesome; */
    content: "\2191"; /*f0d8*/
    font-size:10px;
    color:#000;
}
table th.sorting-desc:after {
	content: "\2193"; /*f0d7*/
}

.form-search .btn {
	border-color:#ced4da;
}

.nav-wrapper {
	margin-bottom:30px;
	text-align:center;
}
.navX {
	display:inline-block;
}
.navX a {
	font-weight:bold;
	padding: 6px 15px !important;
}

.form-wrapper {
	margin:-10px 0 30px;
	text-align:center;
}

.dropdown-menu {
    max-width: 100vw;
    box-shadow: 0 .4rem .8rem rgba(0,0,0,.15);
}
.dropdown-menu { /*.max-height*/
	max-height: calc(100vh - 1rem);
	overflow-y: auto;
}
.btn-actions .dropdown-toggle::after {
	display:none;
}

/* -------------------- */

.XXXpage-home footer .copy,
.XXXpage-home footer .copy a {
	color:#fff;
}

.box-home .bg,
.box-home .bg .inner {
	display:none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.box-home .bg {
	position: fixed;
	z-index:-1;
	background: url('../i/bg-login.jpg') 50% fixed no-repeat;
	background-size:cover;
}
.box-home .bg .inner {
	z-index:1;
	background:rgba(0,0,0,.2);
}

.box-home .logo {
	width:340px;
	max-width:100%;
}

.box-home #stats-all > .card {
	padding:0;
	border:0;
	background:none;
}
.box-home #stats-all > .card .card-header {
	margin-bottom:1.5rem;
	padding:0;
	border:0;
	text-align:center;
	background:none;
	font-size:1.5rem;
}
.box-home #stats-all > .card .card-header .ico {
	display:none;
}
.box-home #stats-all > .card > .card-body {
	padding:0;
}
.XXXbox-home #stats-all .card {
	border:0;
}

/* -------------------- */

.box-login {
	margin:auto;
	width:340px;
	max-width:100%;
}
.box-login form {
	background:#fff;
}

.Xbox-login input,
.Xbox-login .btn {
	border-color:transparent;
}

/* -------------------- */

.data-edit .img-main img {
	min-width: 0;
	max-width: 100%;
	max-height: 100%;
}

.data-edit.is-new .if-upd,
.data-edit:not(.is-new) .if-new {
	display:none;
}
.data-edit.is-new span.if-new,
.data-edit:not(.is-new) span.if-upd {
	display:inline;
}
.data-edit.is-new div.if-new,
.data-edit:not(.is-new) div.if-upd  {
	display:block;
}

.data-edit.has-changes .card-mask {
	box-shadow:0 0 0 1px rgba(204,153,51,.3), 0 1px 3px 0 rgba(204,153,51,.8);
}
.data-edit:not(.has-changes) .info-change {
	display:none;
}
.data-edit .info-change .alert {
	position: fixed;
	right: 15px;
	bottom: 15px;
	padding: .1rem .25rem !important;
	font-size: .7rem;
	font-weight: 600;
}
@media (min-width:1140px) and (min-height:800px){
	.data-edit .info-change .alert {
		padding: .5rem 1rem !important;
		font-size:inherit;
		font-weight: 500;
	}
}

.data-edit .input-pickup-quantity {
	width: 7.1rem;
}

.data-footer #btn-save.no-new .btn-submit {
	border-radius:.25rem;
}
.data-footer #btn-save.no-new .btn-new {
	display:none;
}

/* -------------------- */

.row-stats {
	margin-top:-1.5rem;
}
.row-stats .col {
	margin-top:1.5rem;
}

.card-stats .ico {
	font-size:2.25rem;
}
.card-stats .ico.company {
	font-size:1.9rem;
}
.card-stats.art-food .ico {
	color:#87cb16;
}
.card-stats.art-pickup .ico {
	color:#ff4a55;
}
.card-stats.art-member .ico {
	color:#ff9500;
}
.card-stats.art-sharepoint .ico {
	color:#1dc7ea;
}
.card-stats.art-company .ico {
	color:#9816f4;
}
.card-stats.art-city .ico {
	color:#fd397a;
}

.card-stats .title {
	font-size:110%;
}
.card-stats .number {
	font-size:170%;
	font-weight:500;
}
.card-stats .info {
	
}

.data-list-status .breadcrumb-item + .breadcrumb-item::before {
	color:#ccc;
}

.data-list[data-max="10"] tbody tr:nth-child(n+11){
	display:none;
}
.data-list[data-max="20"] tbody tr:nth-child(n+21){
	display:none;
}
.data-list[data-max="25"] tbody tr:nth-child(n+26){
	display:none;
}
.data-list[data-max="50"] tbody tr:nth-child(n+51){
	display:none;
}
.data-list[data-max="100"] tbody tr:nth-child(n+101){
	display:none;
}

.dl-details {
	display:none;
}
.dl-details-show .dl-details {
	display:inline;
}
.dl-details-show th.dl-details,
.dl-details-show td.dl-details {
	display:table-cell;
}
.dl-details-show div.dl-details {
	display:block;
}

/* -------------------- */

.box-posts .box-user {
	background:#f3f3f3; 
	overflow:hidden;
}
@media (min-width: 576px){
	.box-posts .box-user {
		flex:11rem 0 0;
		padding-right: 0 !important;
		background:none; 
	}
}

.box-posts blockquote,
.box-reply blockquote {
    padding:10px 20px;
    color: rgba(0,0,0,.5);
    border-left:5px solid #eee;
}

.box-posts .message p:last-child,
.box-posts blockquote p:last-child,
.box-posts .box-disclaimer p:last-child,
.box-reply blockquote p:last-child {
	margin-bottom:0;
}

.box-posts .message img,
.box-posts .editor-preview img {
	max-width:100%;
}

/* -------------------- */

@media (min-width: 992px){ /* lg + xl */

	.cnt-wrap,
	.data-list-wrap {
		padding:0 1rem;
	}
}

@media (max-width: 991.98px){ /* xs - md */

	#menu:not(.menu-toggled) {
		left:-5rem !important;
	}
	body.menu-toggled #menu {
		left:0 !important;
	}
	main:not(.menu-toggled),
	footer:not(.menu-toggled) {
    	padding-left: 0 !important;
	}
	body.menu-toggled main, 
	body.menu-toggled footer {
    	padding-left:5rem !important;
	}
}

@media (max-width: 575.98px){ /* xs */
	
	.row-xs {
		margin-top: -15px !important;
		margin-left:-10px;
    	margin-right:-10px;
	}
	.row-xs .col {
		margin-top: 15px;
		padding-left:5px;
    	padding-right:5px;
	}
	
	header .top-bar {
		height: 2.5rem;
	}
	header .logo img {
    	height: 2.0rem;
	}
	#menu, main {
    	top:2.5rem;
	}
	#menu:not(.menu-toggled) {
		z-index: 999;
		width:100%;
		left:-100% !important;
		bottom:auto;
		background: #fff;
		border:0;
		transition: all 0.2s ease-out;
	}
	body.menu-toggled #menu {
		left:0 !important;
		box-shadow: 0 0 20px rgba(0,0,0,.2);
	}
	main:not(.menu-toggled),
	footer:not(.menu-toggled) {
    	padding-left: 0 !important;
	}
	body.menu-toggled main, 
	body.menu-toggled footer {
    	padding-left:0rem !important;
	}
	#menu .nav-item {
		text-align: left;
	}
	#menu .nav-link {
		padding: .65rem 1rem !important;
	}
	#menu .nav-link .ico {
		display:inline-block !important;
		width: 1.25rem;
		margin-right:.5rem;
		text-align: center;
	}
	#menu .nav-link .txt {
		margin-right: .4rem;
		font-size: inherit;
	}
	
	.badge-special.has-ico {
		width: 20px;
	}
	.badge-special.has-ico .text {
		display:none;
	}
	
	.box-login .box-form {
		padding: 15px;
		width: 300px;
	}
	
	.cnt-wrap .card:not(.inner-card) {
		margin: 0 -15px;
		border-width: 1px 0;
		border-radius: 0;
	}
	.cnt-wrapXXX .card.inner-card {
		margin: 0 -7.5px;
	}
	.cnt-wrap .card.card-table {
		margin:0;	
	}
	.cnt-wrap .card.card-table.p-0 .card-body,
	.cnt-wrap .card.card-table .card-body.p-0 {
		margin: 0 -7.5px;	
	}
	
	.cnt-wrap.data-stats-wrap .card.card-table {
		margin-left: -15px;
		margin-right: -15px;
	}
	.cnt-wrap.data-stats-wrap .card.card-table .card-body {
		padding-left:.5rem;
		padding-right:.5rem;
	}
	
	.card-stats .number {
		font-size:150%;
	}
	
	.data-edit .info-change .alert {
		right: 10px;
		bottom: 10px;
		font-size: .5rem;
	}
}

@media print {
	
	body:not(.page-home) main {
		padding-left:0 !important;
		padding-bottom:5rem;
	}
	
	footer .copy {
		position: fixed;
		left:0;right:0;
		bottom: 15px;
		width: 100%;
	}
}