/**
 * Cards
 * =========================================== */
.utp-cards {
	padding: 15px;
	background-color: #fff;
	counter-reset: card-counter;
}
.form-group > .utp-cards {
	padding: 0;
}
.utp-tabs-content > .tab-pane > .utp-cards {
	padding: 5px 0;
}
.utp-tabs-content > .tab-pane > .utp-search + .utp-cards {
	padding-top: 15px;
}
.utp-cards > .item {
	display: flex;
	width: 100%;
	border-radius: 2px;
	position: relative;
}
.utp-cards > .item:not(.item-placeholder) {
	counter-increment: card-counter;
}
.utp-cards > .item + .item {
	margin-top: 10px;
}
.utp-cards .item .item {
	margin-top: 10px;
	margin-bottom: 10px;
}
.utp-cards .item-inner {
	flex: 1;
	border-radius: 2px;
	border: 1px solid var(--light-gray-500);
	background-color: #fff;
	transition: all .3s;
}
.utp-cards .item-adding {
	transition: all .5s;
}
.utp-cards .item-removing .item-inner {
	border-color: rgba( 220, 50, 50, 1);
}
.utp-cards .item-default {
	display: none;
}
.utp-cards .item-figure {
	margin-right: 12px;
}
.utp-cards .item-thumb {
	display: block;
	width: 50px;
	border-radius: 2px;
	overflow: hidden;
	border: 1px solid var(--light-gray-500);
	transition: all .3s;
}
.utp-cards .item:not(.item-removing):hover .item-inner,
.utp-cards .item:hover .item-thumb {
	border-color: var(--light-gray-700);
}
.utp-cards .item-header,
.utp-cards .item-footer {
	position: relative;
	padding: 5px 14px;
	border-radius: 2px;
	background-color: #f3f4f5;
	display: flex;
	align-items: center;
	width: 100%;
}
.utp-cards .item-header {
	padding: 5px 38px 5px 14px;
}
.utp-cards .item-body {
	padding: 5px 14px;
	color: #6d7175;
	line-height: 1.2;
}
.utp-cards .body-row {
	display: flex;
	width: 100%;
	justify-content: space-between;
}
.utp-cards .item-body > * + * {
	margin-top: 4px;
}
.utp-cards .item-header .line-separator,
.utp-cards .item-body .line-separator,
.utp-cards .item-footer .line-separator {
	padding-left: 5px;
	padding-right: 5px;
}
.utp-cards .item-header .line-separator:before,
.utp-cards .item-body .line-separator:before,
.utp-cards .item-footer .line-separator:before {
	content: '';
	display: inline-block;
	margin-bottom: 1px;
	width: 1px;
	height: 12px;
	vertical-align: middle;
	background-color: #e3e4e8;
}
.utp-cards .item-header .line-separator:before,
.utp-cards .item-footer .line-separator:before {
	background-color: #ccc;
}
.utp-cards .item-footer {
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-end;
}
.utp-cards .item-footer .footer-line {
	width: 100%;
}
.utp-cards .item-footer .footer-line + .footer-line {
	margin-top: 2px;
}
.utp-cards .item-name {
	flex: 1;
	font-weight: bold;
	/*line-height: 1.2;*/
}
.utp-cards .item-name[contenteditable] {
	border-radius: 2px;
	padding: 0 2px;
}
.utp-cards .item-name[contenteditable]:focus {
	box-shadow: 0 0 0 1px #00b9eb;
	background-color: #fff;
	outline: none;
}
.utp-cards .item-name[contenteditable]:before {
	content: "\e817";
	font-family: "UTP Fonts";
	padding-right: 4px;
	padding-left: 2px;
	color: #82878c;
}
.utp-cards .item-name[contenteditable]:hover:before,
.utp-cards .item-name[contenteditable]:focus:before {
	color: #00b9eb;
}
.utp-cards .item-name[contenteditable]:first-child {
	margin-left: -8px;
}
.utp-cards .item .item .item-name a {
	color: #666;
}
.utp-cards .item-name-normal {
	font-weight: normal;
}
.utp-cards .item-name .item-code {
	padding: 1px 5px;
	border: 1px solid #e3e4e8;
	color: #0073aa;
	border-radius: 2px;
	transition: all .3s;
}
.utp-cards .item-name .item-code:hover {
	border-color: #0073aa;
	cursor: pointer;
}
.utp-cards .item-name > a:hover {
	text-decoration: none;
	color: #00b9eb;
}
.utp-cards .item-name > a:focus {
	text-decoration: none;
}
.utp-cards .item-header .item-tag {
	color: #82878c;
	padding-left: 8px;
	align-self: flex-start;
}
.utp-cards .item-header .item-tag:last-child {
	margin-right: -25px;
}
.utp-cards .item-header .item-tag > a {
	display: inline-block;
	color: #82878c;
	padding: 2px 5px;
	margin-top: -2px;
	margin-bottom: -2px;
	border-radius: 2px;
	transition: all .3s;
}
.utp-cards .item-header .item-tag > a:hover {
	text-decoration: none;
	color: #82878c;
	background-color: #e3e4e8;
}
.utp-cards .item-header .item-tag > a:focus {
	text-decoration: none;
}
.utp-cards .item-header .item-tag > span {
	padding-right: 2px;
}
.utp-cards .item-header .item-tag-badge {
	color: #f56e28;
	font-weight: bold;
}
.utp-cards .item-before {
	margin-right: 10px;
	margin-left: -8px;
}
.utp-cards .item-count {
	display: block;
	min-width: 18px;
	height: 18px;
	line-height: 16px;
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 10px;
	text-align: center;
	padding: 0 5px;
	margin-left: -8px;
	margin-right: 5px;
	font-size: 10px;
}
.utp-cards .item-count .count-increment:before {
	content: counter(card-counter);
}
.utp-cards .item-before .item-account-number {
	margin-left: 8px;
}
.utp-cards .item-before .item-price:first-child {
	margin-left: 8px;
}
.utp-cards .item-price > i {
	font-size: 85%;
}
.utp-cards .item-before .item-toggle {
	margin: -2px 0 -1px -2px;
}
.utp-cards .item-body .item-title {
	font-weight: 500;
	line-height: 1.2;
}
.utp-cards .item-body .item-title + .item-title {
	border-top: 1px solid #f1f1f1;
	margin-top: 2px;
	padding-top: 2px;
}
.utp-cards .item-body .item-badge {
	display: inline-block;
	min-width: 15px;
	border-radius: 50%;
	line-height: 15px;
	text-align: center;
	color: #fff;
	background-color: #0073aa;
}
.utp-cards .item-body .item-badge:hover {
	text-decoration: none;
	background-color: #00b9ed;
}
.utp-cards .item-footer .fas {
	font-size: 85%;
}
.utp-cards .item-footer .footer-group {
	display: inline-block;
	vertical-align: middle;
	margin-right: -4px;
	max-width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.utp-cards .footer-dates {
	display: inline-block;
	vertical-align: middle;
	margin-right: -4px;
	max-width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.utp-cards .dates-label {
	display: block;
	color: #32373c;
}
.utp-cards .dates-label + .dates-item {
	margin-top: 3px;
}
.utp-cards .dates-item {
	display: block;
	color: #6d7175;
}
.utp-cards .dates-item > span {
	font-size: 11px;
	margin-left: 5px;
	color: #a3a8ad;
}
.utp-cards .item-contacts {
	display: flex;
	align-items: center;
}
.utp-cards .item-contact {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	border: 1px solid transparent;
	padding: 5px 5px 5px 10px;
	margin-top: -5px;
	margin-bottom: -5px;
	border-radius: 2px 2px 0 0;
}
.utp-cards .item-contact:first-child {
	margin-left: -10px;
}
.utp-cards .item-contact + .item-contact {
	margin-left: -4px;
}
.utp-cards .item-contact.open {
	border-color: #e3e4e8;
	border-bottom-color: #fff;
}
.utp-cards .item-contact.open:after {
	content: '';
	display: block;
	height: 1px;
	left: 0;
	right: 0;
	bottom: 4px;
	background-color: #fff;
	position: absolute;
	z-index: 1001;
}
.utp-cards .item-contact .contact-toggle {
	display: inline-block;
	font-size: 8px;
	width: 12px;
	text-align: center;
	cursor: pointer;
}
.utp-cards .item-contact .contact-toggle:before {
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
.utp-cards .item-contact .contact-toggle:hover {
	color: #00a0d2;
}
.utp-cards .item-contact > a:hover {
	color: #00a0d2;
	text-decoration: none;
}
.utp-cards .item-contact .dropdown-menu {
	top: 100%;
	left: -1px;
	min-width: 100%;
	margin-top: -5px;
	padding: 0;
	font-size: inherit;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.utp-cards .item-contact .dropdown-menu > li {
	border-left: 1px solid #e3e4e8;
	border-right: 1px solid #e3e4e8;
	background-color: #fff;
	padding: 5px 10px;
	margin-right: -2px;
}
.utp-cards .item-contact .dropdown-menu > li:first-child {
	border-top: 1px solid #e3e4e8;
	border-radius: 0 2px 0 0;
}
.utp-cards .item-contact .dropdown-menu > li:last-child {
	border-bottom: 1px solid #e3e4e8;
	border-radius: 0 0 2px 2px;
}
.utp-cards .item-contact .dropdown-menu > li + li {
	padding-top: 0;
}
.utp-cards .item-contact .dropdown-menu > li > a {
	padding: 0;
	color: #0073aa;
}
.utp-cards .item-contact .dropdown-menu > li > a:hover {
	padding: 0;
	color: #00a0d2;
	background-color: transparent;
}
.utp-cards .socials {
	float: right;
	list-style: none;
	padding: 0;
	margin: 0 0 0 auto;
	font-size: 15px;
	display: flex;
}
.utp-cards .social-link {
	display: block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 2px;
	background-color: transparent;
	color: #0073aa;
}
.utp-cards .social-link + .social-link {
	margin-left: 5px;
}
.utp-cards .social-link:hover {
	text-decoration: none;
	color: #00a0d2;
}
.utp-cards .social-link:focus {
	text-decoration: none;
	color: #0073aa;
}
.utp-cards .social-link.disabled {
	color: #e3e4e8;
	pointer-events: none;
}
.utp-cards .list-item {
	display: block;
	padding: 2px 0;
	color: #6d7175;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.utp-cards .list-item:first-child {
	padding-top: 0;
}
.utp-cards .list-item:last-child {
	padding-bottom: 0;
}
.utp-cards .body-list + .item-desc {
	border-top: 1px solid #f1f1f1;
	padding-top: 4px;
}

/* Icons */
.utp-cards .item-icon {
	display: block;
	text-align: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 16px;
	color: #fff;
	position: relative;
}
.utp-cards .item-icon:not([class*="bg-"]) {
	color: var(--blue);
	background-color: var(--light-gray-400);
}
.utp-cards .item-icon > i,
.utp-cards .item-icon > .item-number {
	line-height: 50px;
}
.utp-cards .item-icon > .item-number {
	font-style: normal;
	font-weight: bold;
}
.utp-cards .item-icon > .fa-clock {
	font-size: 20px;
	position: relative;
	right: -1px;
}
.utp-cards .item-icon:hover {
	text-decoration: none;
}
.utp-cards .item-icon > .item-badge {
	position: absolute;
	top: 0;
	right: -8px;
	width: 24px;
	height: 24px;
	border-radius: 50rem;
	text-align: center;
	line-height: 24px;
	font-size: 12px;
	box-shadow: -1px 1px 1px 0 rgba(0, 0, 0, 0.15);
	transition: all .3s;
}
.utp-cards .item-icon:hover > .item-badge {
	top: -5px;
}

/* Player */
.utp-cards .item-player {
	width: 15px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	font-size: 12px;
}
.utp-cards .item-before .item-player {
	margin-left: 8px;
}
.utp-cards .item-player > span:before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
.utp-cards .item-player .control-play:before,
.utp-cards .item-player .control-pause:hover:before {
	content: "\f04b";
}
.utp-cards .item-player .control-pause:before,
.utp-cards .item-player .control-play:hover:before {
	content: "\f04c";
}
.utp-cards .item-player .control-sent:before {
	content: "\f00c";
}
.utp-cards .item-player .control-flash {
	animation: fa-flash 2s infinite ease;
}
.utp-cards .item-player .control-play:hover,
.utp-cards .item-player .control-pause:hover {
	cursor: pointer;
}
.utp-cards .item-gravatar,
.utp-cards .item-payment {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	display: block;
	transition: all .3s;
}
.utp-cards .item-gravatar:hover {
	filter: brightness(.9);
}
.utp-cards .item-payment:hover {
	filter: grayscale(1);
}
.utp-cards .item-status {
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}
@keyframes fa-flash {
	0%,100%,50% {
		opacity: 1;
	}
	25%,75%{
		opacity: 0;
	}
}
/* Actions */
.utp-cards .item-actions {
	position: absolute;
	top: 0;
	right: 5px;
}
.utp-cards .item .item .item-actions > .item-btn {
	color: #666;
}
.utp-cards .item-actions > .btn-action {
	margin-top: 2px;
}
.utp-cards .item-banner {
	text-align: center;
	display: block;
}
.utp-cards .item-banner img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

/* Mover */
.utp-cards .item-mover {
	position: absolute;
	top: 50%;
	left: 100%;
	width: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	max-height: 60px;
    min-height: 46px;
	opacity: 0;
	transform: translateY(-50%);
}
.utp-cards .item:hover .item-mover,
.utp-cards .item-sortable-helper .item-mover {
	opacity: 1;
}
.utp-cards .item-move-up,
.utp-cards .item-move-down,
.utp-cards .item-move-drag {
	display: block;
	text-align: center;
	width: 100%;
	color: var(--dark-gray-200);
	font-size: 10px;
}
.utp-cards .item-move-drag {
	font-size: 12px;
}
.utp-cards .item-move-up:hover,
.utp-cards .item-move-down:hover,
.utp-cards .item-move-drag:hover {
	color: var(--dark-gray-700);
}
.utp-cards .item-move-drag:hover {
	cursor: move;
}
.utp-cards .item-move-up.disabled,
.utp-cards .item-move-down.disabled,
.utp-cards .item:first-child .item-move-up,
.utp-cards .item:last-child .item-move-down {
	opacity: 0;
	visibility: hidden;
}
.utp-cards .item:last-child:first-child .item-mover {
	display: none;
}

/* Custom */
.utp-cards + .nav-pagination {
	margin-top: 0;
}

/**
 * Items Actions
 * =========================================== */
.utp-item__actions {
	position: absolute;
	right: 20px;
	top: 50%;
	margin-top: -15px;
	text-align: left;
}
.utp-item__action-button {
	display: block;
	width: 30px;
	height: 30px;
	font-size: 20px;
	text-align: center;
	line-height: 30px;
	color: #0073aa;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.2s;
}
.utp-item__action-button:hover {
	background-color: #e3e4e8;
}
.open > .utp-item__action-button {
	transform: rotate(90deg);
	background-color: #e3e4e8;
}
.utp-item__actions-dropdown > li > a:hover {
	background-color: #e3e4e8;
	color: #262626;
	text-decoration: none;
}
.utp-item__actions-dropdown > li > a {
	padding: 5px 15px;
	display: block;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;
	user-select: none;
}
.utp-item__actions-dropdown {
	font-size: 13px;
	display: none;
	position: absolute;
	top: 100%;
	right: -27px;
	z-index: 1000;
	min-width: 160px;
	padding: 5px 0;
	margin: 5px 0 0;
	list-style: none;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
}
.open .utp-item__actions-dropdown {
	display: block;
}
.utp-item__actions-dropdown:before {
	margin: 0 -6px;
	position: absolute;
	pointer-events: none;
	border: solid transparent;
	content: '';
	height: 0;
	width: 0;
	bottom: 100%;
	right: 41px;
	border-width: 6px;
	border-bottom-color: #ccc;
}
.utp-item__actions-dropdown:after {
	position: absolute;
	pointer-events: none;
	border: solid transparent;
	content: '';
	height: 0;
	width: 0;
	bottom: 100%;
	right: 41px;
	border-width: 5px;
	margin: 0 -5px;
	border-bottom-color: #fff;
}
.utp-item__actions-dropdown > li > a {
	padding: 5px 15px;
	display: block;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;
}
.utp-item__actions-dropdown > li > a:hover {
	background-color: #e3e4e8;
	color: #262626;
	text-decoration: none;
}

/* Separators */
.form-separator {
	margin: 15px 0;
	height: 1px;
	background-color: #e3e4e8;
}

/* Actions */
.item-removing {
	background-color: rgba( 220, 50, 50, .3) !important;
}
.item-hidden {
	opacity: 0;
	visibility: hidden;
}
.item-adding {
	background-color: rgba( 0, 160, 210, .1) !important;
}
.utp-cards-sortable {
	position: relative;
}
.utp-cards-sortable > .item {
	transition: opacity .15s linear;
}
.utp-cards .item-placeholder {
	background-color: var(--light-gray-500);
	border-radius: 2px;
}
.utp-cards .item-sortable-helper .item-inner {
	border-color: var(--dark-gray-100);
}
.utp-cards .item-sortable-helper:first-child + .item {
	margin-top: 0;
}
.utp-cards .seconds-blinker {
	animation: blinker 0.5s linear infinite;
	color: var(--red);
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* Placeholder */
.empty-placeholder {
	display: block;
	text-align: center;
	cursor: default;
	width: 100%;
	border: 1px dashed var(--light-gray-600);
	padding: 12px 15px;
	line-height: 1;
	height: 40px;
	color: var(--dark-gray-200);
}

.clear-left {
	clear: left;
}