/* FontAwesome utils */

i.input-align {
	font-size: 18px;
	vertical-align: top;
	line-height: 28px;
	margin-left: 20px;
}
i.input-align.right-space {
	margin-left: 0;
	margin-right: 20px;
}

i.medium-big {
	font-size: 16px;
	vertical-align: middle;
}
i.big {
	font-size: 18px;
	vertical-align: middle;
}
i.big-2x {
	font-size: 20px;
	vertical-align: middle;
}

i.ok {
	color: #080;
}
i.no {
	color: #900;
}
i.warn {
	color: #FF7000;
}

i.hndl {
	cursor: pointer;
}

i.review-star,
td.review-star i {
	color: #eaca44;
}
td.review-star i {
	font-size: 18px;
	vertical-align: middle;
}

/* link utils */

a.no-underline,
a.no-underline:hover {
	text-decoration: none;
}
a.danger {
	color: #900 !important;
}

/* table utils */

table .td-primary {
	font-weight: 500;
}
table .td-secondary {
	font-size: smaller;
}
table .td-pull-left {
	float: left;
}
table .td-pull-right {
	float: right;
}
table td .badge-table:not(:last-child) {
	margin-bottom: 2px;
}
table th label {
	display: inline-block;
	font-weight: bold;
}

/* popover */

table.table-striped i.vap-quest-popover,
table.table-striped i.vap-info-tooltip {
	/* ignore margin when popover is inside a list table */
	margin-left: 0;
	transform: none !important;
	vertical-align: middle;
}
i.vap-quest-popover,
i.vap-info-tooltip {
	font-size: 14px;
	vertical-align: top;
	transform: translateY(50%);
	margin-left: 10px;
	color: #999;
	cursor: pointer;
}
i.vap-quest-popover:hover,
i.vap-info-tooltip:hover {
	color: #444;
}

.control-label i.vap-quest-popover,
.inspector-selection-table i.vap-quest-popover,
.card-text-primary i.vap-quest-popover,
h3 i.vap-quest-popover {
	vertical-align: initial;
	transform: none;
	margin-left: 5px;
}
.control-label i.vap-quest-popover,
.inspector-selection-table i.vap-quest-popover,
.card-text-primary i.vap-quest-popover {
	font-size: inherit;
}

/* update page */

.vap-box-error {
	padding: 10px;
	border: 2px dashed #900;
	color: #900;
	font-weight: bolder;
}
.vap-box-error hr {
	border-top-color: #900;
}

.vap-update-changelog {
	padding: 10px;
	border: 2px dashed #999;
}
.vap-update-changelog h2 {
	margin-bottom: 25px;
}
.vap-update-changelog ul li strong {
	display: inline-block;
	width: 220px;
}
.vap-update-changelog div.box-separator {
	border-top: 1px solid #bbb;
	margin: 20px 0;
}

.vap-update-changelog > *:first-child,
.vap-box-error > *:first-child {
	margin-top: 0;
}
.vap-update-changelog > *:last-child,
.vap-box-error > *:last-child {
	margin-bottom: 0;
}

/* loading overlay */

.vap-loading-overlay.lock {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(63, 63, 63, 0.80);
	z-index: 10000;
}
.vap-loading-box {
	background: url('./images/loading.gif');
	width: 120px;
	height: 120px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.vap-loading-box-message {
	position: absolute;
	top: 30%;
	left: 50%;
	color: #fff;
	transform: translate(-50%, -50%);
	text-align: center;
	font-weight: bolder;
	border: 1px solid #fff;
	padding: 10px 20px;
}

/* smart overlay (used in findreservation view) */

.smart-overlay {
	position: absolute;
	width: 300px;
	max-height: 200px;
	background: #232323;
	color: #fff;
	opacity: 0.8;
	overflow-y: scroll;
}
.smart-overlay-loading {
	padding: 10px;
	text-align: center;
}
.smart-overlay .overlay-record {
	padding: 10px;
	border-bottom: 1px solid #fff;
}
.smart-overlay .overlay-record:last-child {
	border-bottom: 0;
}
.smart-overlay .overlay-record .record-column {
	display: inline-block;
	vertical-align: top;
}
.smart-overlay .overlay-record .record-column.col-id {
	width: 20%;
}
.smart-overlay .overlay-record .record-column.col-name {
	width: 47%;
}
.smart-overlay .overlay-record .record-column.col-count {
	width: 30%;
}

.vaptimeline-hover-tip {
	display: block;
	margin: 20px 0;
	font-size: smaller;
	font-style: italic;
}

/* custom fields */

.vap-customf-choose {
	margin-bottom: 10px !important;
}

/* sortable */

.vap-sortable {
	background: url(images/sort-dots.png) center center no-repeat;
	width: 3px;
	height: 13px;
	display: inline-block;
	float: left;
	margin: 8px 7px 0;
	cursor: all-scroll;
}
.vap-sortable:hover {
	opacity: 0.70;
}

/* native */

.icon-48-vikappointments {
	background: url('./images/icon-48-vikappointments.png') no-repeat;
}

.icon-vikappointments:before {
	content: "\43";
}

.select2-search .select2-input {
	width: 100% !important;
}

img.flag {
	max-width: 20px;
}

img.vap-opt-flag {
	max-width: 20px;
	padding-right: 10px;
	vertical-align: middle;
	margin-top: -4px;
}

.vapwdclosed {
	background-image: url('./images/disabled.png');
	background-position: left center;
	background-repeat: no-repeat;
	padding: 5px 0 5px 18px;
}

.scrollable-hor {
	overflow-x: auto;
	/* reserve some space on the bottom for the horizontal scrollbar */
	margin-bottom: 20px;
	min-width: initial;
}

#vapfooter {
	font-size: x-small;
	text-align: center;
	clear: both;
	margin: 5px 0 50px 0 !important;  
	padding-top: 10px;
}

.vaprequired {
	border: 1px solid #FF0000 !important;
}

.vapheadcolactive1 {
	background: url('./images/sortasc.png') right center no-repeat;
	padding: 0 14px 0 0;
}

.vapheadcolactive2 {
	background: url('./images/sortdesc.png') right center no-repeat;
	padding: 0 14px 0 0;
}

.vaptdday, .vaptdnoday {
	width: 26px;
	height: 26px;
}

.vapdivday {
	text-align: center;
	vertical-align:middle;
	font-weight: bold;
}

.vaptdgreen {
	background-color: #02AE36;
}

.vaptdyellow {
	background-color: #FFAA00;
}

.vaptdred {
	background-color: #F01B17;
}

.vaptdgrey {
	background-color: #fff;
	color: #666;
}
.vaptdgrey a {
	color: #666 !important;
}
.vaptbodycal td.vaptdred a, .vaptbodycal td.vaptdyellow a, .vaptbodycal td.vaptdgreen a {
	color: #FFFFFF !important;
}
.vapcalendardiv {
	display: inline-block;
	vertical-align: top;
}
.vaptimelinewt a {
	color: #fff !important;
	background: transparent !important;
}
.vaptimelinewt div {
	/*color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 7px 7px 5px;*/
}
.vap-timeline-block {
	padding: 7px 10px 7px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	margin: 2px 0;
	width: auto;
	height: auto;
	text-align: center;
	display: inline-block;
	border: 0;
	border-radius: 5px;
}

.vaptlblock0 {
	background-color: #F01B17;
}
	
.vaptlblock1 {
	background-color: #02AE36;
}

.vaptlblock2 {
	background-color: #FFAA00;
}
.vapreservationslistdiv {
	margin: 10px 0 0 0;
	font-size: 15px;
}
.vaptimeline {
	margin-top: 10px;
}
.vaptimelinewt {
	display: inline-block;
}
.vaptimelinewt:not(:last-of-type) {
	margin-right: 15px;
}

/* new 1.6 timeline layout */

.vaptimeline .ratesgrid {
	padding: 0;
}
.vaptimeline .vaptlblock1:hover {
	background: #2c8647;
}
/*.vaptimeline .vaptlblock1.vaptimeselected:hover {
	background: #069;
}*/
.vaptimeline .ratesgrid.vaptlblock0, .vaptimeline .ratesgrid.vaptlblock1, .vaptimeline .ratesgrid.vaptlblock2 {
	background: transparent;
}
.vaptimeline .ratesgrid.vaptlblock0 .vap-timeline-itemdate {
	background-color: #F01B17;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.vaptimeline .ratesgrid.vaptlblock1 .vap-timeline-itemdate {
	background-color: #02AE36;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.vaptimeline .ratesgrid.vaptlblock2 .vap-timeline-itemdate {
	background-color: #FFAA00;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.vaptimeline .ratesgrid.vaptlblock1:hover .vap-timeline-itemdate {
	background: #2c8647;
}
.vaptimeline .ratesgrid.vaptlblock1.vaptimeselected .vap-timeline-itemdate {
	background-color: #069;
}
.vaptimeline .ratesgrid span {
	display: block;
}
.vaptimeline .ratesgrid .vap-timeline-itemdate {
	padding: 7px 10px;
}
.vaptimeline .ratesgrid .vap-timeline-itemdate i,
.vaptimeline .ratesgrid .vap-timeline-itemseats i {
	font-size: 14px;
	margin-right: 2px;
}
.vaptimeline .ratesgrid .vap-timeline-itemprice,
.vaptimeline .ratesgrid .vap-timeline-itemseats {
	padding: 7px 10px;
	background: #ccc;
	color: #333;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

/***************************/

.vaptdselected {
	background-color: #006699;
}

.vapreservationstatusconfirmed,
.vapreservationstatuspending,
.vapreservationstatusremoved,
.vapreservationstatuscanceled,
.vapreservationstatusclosure {
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none !important;
}

.vapreservationstatusconfirmed {
	color: #008000 !important;
}
.vapreservationstatusremoved {
	color: #990000 !important;
}
.vapreservationstatuspending {
	color: #FF7000 !important;
}
.vapreservationstatuscanceled {
	color: #F01B17 !important;
}
.vapreservationstatusclosure {
	color: #C12F20 !important;
}

.vapreservationstatusconfirmed a, .vapreservationstatuspending a, .vapreservationstatusremoved a, .vapreservationstatuscanceled a {
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none !important;
}
.vapreservationstatusconfirmed a:hover, .vapreservationstatuspending a:hover, .vapreservationstatusremoved a:hover, .vapreservationstatuscanceled a:hover {
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none !important;
}
.vapreservationstatusconfirmed a {
	color:#008000 !important;
}
.vapreservationstatusremoved a {
	color:#990000 !important;
}
.vapreservationstatuspending a {
	color:#FF7000 !important;
}
.vapreservationstatuscanceled a {
	color:#F01B17 !important;
}

.vapreservationfilterdiv {
	float: right;
}

.vapallcalhead {
	font-size: 18px;
	background: #eee;
	border: 1px solid #ddd;
	font-weight: bold;
	padding: 5px 10px;
	margin: 10px 0;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	line-height: 13px;
}
.vapallcalhead .vaptitleyearsp {
	color: #666;
}

/* main menu */
.vapmenubox {
	display: inline-block !important;
	border-radius: 15px;
	padding: 15px;
	/*width: 246px;*/
	width: 200px;
	color: #fff;
	text-transform: uppercase;
	background-position: 95% center !important;
}
#vapmenumanagementdiv {
	margin: 0 0 0 20px;
}
.vapmenubox #vapmenumanagementdivtitle,
.vapmenubox #vapmenuappointmentsdivtitle,
.vapmenubox #vapmenuportaldivtitle,
.vapmenubox #vapmenuglobaldivtitle {
	font-size: 22px;
	font-style: italic;
	margin: 0 0 5px 0;
}
.vapmenubox a {
	display: block;
	width: 70%;
	color: #fff !important;
	font-size: 14px;
}
.vapmenubox .vapmenulinkactive {
	font-weight: bold;
}
.vapmenubox a:hover {
	text-decoration: none !important;
	font-weight: bold;
}
#vapmenumanagementdiv {
	background: #993300;
}
#vapmenuappointmentsdiv {
	background: #996600;
}
#vapmenuportaldiv {
	background: #BB9900;
}
#vapmenuglobaldiv {
	background: #758383;
}
/* end menu */

.vapcaltable {
	font-size: 11px;
}
.vapcaltable .vaptheadcal tr:first-child td {
	background: #ddd;
	padding: 5px 0;
	font-weight: bold;
	font-size: 13px;
	border:1px solid #ccc;
}
.vaptheadcal .vapthtabcal {
	padding: 4px 0;
	text-align: center;
}
.vapcalendardiv {
	border: 1px solid #DDDDDD;
	border-radius: 5px;
	display: inline-block;
	padding: 3px;
	vertical-align: top;
	margin: 0 3px 8px 0;
	background: #fff;
}
.vapcalendardiv:last-child {
	margin-right: 0;
}
.vapstatisticelem {
	margin: 5px;
}
.vapstatisticelem .vaptheadstat th {
	text-align: left;
	padding: 0 7px 0 0;
}
.vaptbodystat td {
	border-bottom:1px dotted #ccc;
}
.vaptbodystat tr:last-child td {
	border: 0;
}
.vaptbodystat td {
	padding: 0 7px 3px 0;
	width: 43px;
}
.vapcaltable {
	border-collapse: collapse;
}
.vapcaltable .vaptbodycal {
	padding: 2px;
}
.vaptbodycal td {
	border: 1px solid #ddd;
}
.vapfiltersdiv {
	display: inline-block;
	width: 98.8%;
	border:1px solid #ccc;
	border-radius: 4px;
	padding:10px;
	margin: 10px 0 15px 0;
}
.vapfiltersdiv .vapempfilterdiv, .vapfiltersdiv .vepserfilterdiv {
	float: left;
}
.vapstatfilterdiv {
	float: right;
}
.vapempfilterdiv {
	margin: 0 10px 0 0;
}
#vapcalstatbutton {
	background: #999;
	border-radius: 4px;
	color: #fff;
	border:1px solid #ccc;
	padding:5px;
	font-size: 12px;
	cursor: pointer;
	font-weight: bold;
}

.vapreservationfilterdiv {
	float: right;
}
#navigation {
	display: inline-block;
	width: 100%;
}
#navigation ul {
	margin: 10px 0 0 13px;
	padding: 0;
}
#navigation ul li {
	list-style-type: none;
	float: left;
	display: inline-block;
	margin: 0 0 0 -13px;
	position: relative;
}
#navigation ul li a {
	background: #006699;
	border:1px solid #003366;
	border-bottom:1px solid #006699;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding: 8px;
	min-width: 155px;
	color: #fff;
	font-weight: bold;
	display: inline-block;
	font-style: italic;
	font-size: 14px;
}
#navigation ul li a:hover {
	text-decoration: none;
	background: #0099CC;
}
#navigation ul li.vapconfigtabactive a {
	background: #0099CC;
}
.veppeoplefilterdiv {
	margin: 0 0 0 10px;
	display: inline-block;
	float: left;
}

.vaporderingsavelink {
	display: block;
	overflow: hidden;
	float: right;
	margin-right: 8px;
}

.vapchainsp {
	width: 16px !important;
	margin-top: 3px;
}
.vapchainicon {
	width: 16px !important;
	height: 16px;
	display:inline-block !important;
	overflow: hidden;
	background: url(./images/chain.png) no-repeat;
	float: right !important;
	margin-right: 4px;
	margin-top: 3px;
}
.vapresidlistsp {
	float: left !important;
	display:inline-block !important;
	width: auto !important;
}
.vappackagesp {
	width: 16px !important;
	height: 16px;
	display:inline-block !important;
	overflow: hidden;
	background: url(./images/package.png) no-repeat;
	float: right !important;
	margin-right: 4px;
	margin-top: 3px;
}

.vaporderparentbox {
	cursor: pointer;
	background: none repeat scroll 0 0 #009922;
	border: 0 none;
	border-radius: 5px;
	color: #FFFFFF;
	display: inline-block;
	font-weight: bold;
	margin: 0 3px 0 0;
	min-width: 67px;
	padding: 4px;
	padding-right: 16px;
	padding-left: 16px;
	position: relative;
	text-transform: uppercase;
}

.vaptcostcoltext {
	cursor: pointer;
}

.vapresfiltertoolbar, .vapcust-keyfilter-block, .vapemp-keyfilter-block, .vapser-keyfilter-block, .vapgroup-keyfilter-block, .vapmedia-keyfilter-block {
	margin: 10px 0 10px 0;
	display: inline-block;
	width: 100%;
}

.vap-file-toolbar {
	border: 1px solid #ccc;
	padding: 5px;
}

.profile-image-wrapper {
	position: relative !important;
}
.profile-image-wrapper .vap-customer-image {
	position: absolute;
	top: 0;
	right: 0;
}
.vap-customer-image {
	float: right;
	border: 2px solid #999;
	border-radius: 50%;
	padding: 2px;
	width: 48px;
	height: 48px;
}

/* search bar */
.vap-config-searchbar {
	position: fixed;
	bottom:0;
	right: 0;
	width:100%;
	height:80px;
	background:#eee;
	z-index: 100;
}
.vap-config-searchbar-results {
	display: inline-block;
	float: left;
	padding: 15px;
}
.vap-config-searchbar-gotop {
	display: inline-block;
	float: right;
	padding: 15px;
}
.vap-config-searchbar-gotop a {
	padding: 7px 15px;
	opacity: 0.8;
	text-decoration: none;
	background: #05b;
	color: #fff;
}
.vap-config-searchbar-gotop a:hover {
	text-decoration: none;
	color: #fff;
}
.vap-config-searchbar-stat {
	margin-right: 10px;
}
.vap-config-searchbar-control {
	margin-right: 5px;
}
.vap-config-searchbar-control a {
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
}
.vap-left-arrow {
	background-image: url('./images/lx-arrow.png');
}
.vap-right-arrow {
	background-image: url('./images/rx-arrow.png');
}
.vap-orange-badge {
	background-color: #ee8844 !important;
}

.badge.tab-badge-count {
	margin-left: 5px;
}
.badge.tab-badge-count::before {
	content: attr(data-count);
}
.badge.tab-badge-count[data-count="0"] {
	display: none;
}

/* medias */
.vap-mediaimg-filespool {
	text-align: center;
	margin: 40px auto;
	position: relative;
	display: inline-block;
	width: 100%;
}
.vap-mediaimg-block {
	width: 33%;
	text-align: center;
	float: left;
}
.vap-mediaimg-wrapper, .vap-mediaimg-wrapper-back {
	width: 50%;
	display: inline-block;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 20px;
}
.vap-mediaimg-thumb, .vap-mediaimg-details {
	border: 1px solid #eee;
	height: 160px;
	position: relative;
}
.vhd-mediaimg-thumb img {
	height: 160px;
}
.vap-mediaimg-thumbchild {
	max-height: 88%;
	line-height: 160px;
	overflow: hidden;
}
.vap-mediaimg-details {
	text-align: left;
	padding-left: 5px;
}
.vap-mediaimg-details input {
	width: calc(100% - 50px) !important;
}
.vap-mediaimg-control label {
	display: inline-block;
	word-break: break-all;
}
.vap-mediaimg-infos {
	display: none;
	position: absolute;
	width: 100%;
	font-size: 11px;
	bottom:0;
}
.vap-mediaimg-info.pull-left {
	margin-left: 5px;
}
.vap-mediaimg-info.pull-right {
	margin-right: 5px;
}
.vap-media-selected {
	border-color: #82BBF5;
}
.vap-media-footer {
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
	display: inline-block;
}
.vap-mediaimg-stats {
	padding: 5px;
	margin-right: 5px;
	height: 35%;
}
.vap-mediaimg-stats.bad {
	border: 1px solid #cc412b;
}
.vap-mediaimg-stats.ok {
	border: 1px solid #10a833;
}

/* all employees timeline */
.vaptimeline-empblock {
	padding: 5px;
	border: 1px solid #ccc;
	margin: 10px 10px 10px 0;
	border-radius: 5px;
	display: inline-block;
}
.vaptimeline-empblock h3 {
	margin: 2px 0 6px 0;
}

/* new medias */
.vap-media-droptarget {
	padding: 5% 20px;
	text-align:center;
	border: 2px dashed  #bbb;
	border-radius: 4px;
	color: #999;
}
.vap-media-droptarget.drag-enter {
	border-color: #2B4;
}
.vap-media-droptarget .lead {
	font-size: 16px;
	font-weight: bold;
}
.vap-media-droptarget a:hover {
	text-decoration: none;
}
/* new medias progress bar */
.vap-progressbar {
	width: 200px;
	height: 22px;
	border: 1px solid #ddd;
	border-radius: 5px; 
	overflow: hidden;
	display:inline-block;
	margin:0px 10px 5px 5px;
	vertical-align:top;
}
.vap-progressbar div {
	height: 100%;
	color: #fff;
	text-align: center;
	line-height: 22px;
	width: 0;
	background-color: #05b4ef;
	border-radius: 3px; 
}
.vap-progressbar div.completed {
	background-color: #0fdc84;
}
.vap-progressbar div.aborted {
	background-color: #dc2f42;
}
.vap-progressbar-status:first-child {
	border-top:1px solid #A9CCD1;
}
.vap-progressbar-status {
	border-bottom:1px solid #A9CCD1;
	min-height:25px;
	width:700px;
	padding:10px 10px 0px 10px;
	vertical-align:top;
}
.vap-progressbar-status:nth-child(odd) {
	background: #EBEFF0;
}
.vap-progressbar-status:nth-child(even) {
	background: #EFFFF8;
}
.vap-progressbar-filename {
	display: inline-block;
	vertical-align: top;
	width: 250px;
	word-wrap: break-word;
}
.vap-progressbar-filesize {
	display:inline-block;
	vertical-align:top;
	color:#30693D;
	width:100px;
	margin-left:10px;
	margin-right:5px;
}
.vap-progressbar-abort {
	background-color:#A8352F;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;display:inline-block;
	color:#fff;
	font-family:arial;font-size:13px;font-weight:normal;
	padding:4px 15px;
	cursor:pointer;
	vertical-align:top;
}
.vap-progressbar-info {
	display:inline-block;
	vertical-align:top;
}

/* entire container, keeps perspective */
.vap-mediaimg-block {
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-ms-perspective: 1000;
	perspective: 1000;
	-ms-transform: perspective(1000px);
	-moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
}
/* flip the pane when hovered */
.vap-mediaimg-block.hover .vap-mediaimg-wrapper-back {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
}
.vap-mediaimg-block.hover .vap-mediaimg-wrapper {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
/* flip speed goes here */
.vap-mediaimg-innerblock {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-ms-transition: 0.6s;
	-moz-transition: 0.6s;
	-moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
	display: block;
	height: 250px;
	margin: 0 auto;
	width: 250px;
}
/* hide back of pane during swap */
.vap-mediaimg-wrapper, .vap-mediaimg-wrapper-back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotateY(0deg);
	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
	-moz-transform: rotateY(0deg);
	-o-transition: 0.6s;
	-o-transform-style: preserve-3d;
	-o-transform: rotateY(0deg);
	-ms-transition: 0.6s;
	-ms-transform-style: preserve-3d;
	-ms-transform: rotateY(0deg);
	transition: 0.6s;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
}
/* front pane, placed above back */
.vap-mediaimg-wrapper {
	z-index: 2;
	/* for firefox 31 but may be not needed
	transform: rotateY(0deg);
	*/
	-webkit-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
}
/* back, initially hidden pane */
.vap-mediaimg-wrapper-back {
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}
.vap-mediaimg-controls {
	margin: 10px 0 0;
}
.vap-mediaimg-controls .pull-left label {
	margin: 0 0 0 5px;
	font-size: 11px;
}

/* invoices archive */
.vap-archive-fileblock {
	display: inline-block;
	width: calc(100% / 5 - 65px);
	padding: 20px;
	text-align: center;
	margin: 10px;
	vertical-align: top;
}
.vap-archive-filename {
	margin: 5px 0 0;
}
.vap-archive-fileblock.selected {
	background-color: rgba(84, 147, 204, 0.23);	
	border-radius: 5px;
}
.vap-archive-year {
	padding: 10px;
	width: 95%;
	border: 1px solid #aaa;
	border-radius: 5px;
	background-color: #ddd;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
}
.vap-archive-month {
	font-size: 18px;
	padding: 15px 25px;
	border-bottom: 1px solid;
	margin-top: 20px;
	margin-bottom: 20px;
	cursor: pointer;
}
.vap-archive-month:hover {
	background-color: rgba(84, 147, 204, 0.23);	
}

.vap-archive-main {
	width: 100%;
	display: inline-block;
}
.vap-archive-main > div {
	float: left;
	display: inline-block;
}
.vap-archive-main .vap-archive-filestree {
	width: 20%;
}
.vap-archive-main .vap-archive-filestree .root {
	margin: 0 10px 0 0;
	padding: 0;
	list-style-type: none;
}
.vap-archive-main .vap-archive-filestree .root > .year {
	border-bottom: 1px solid #eee;
	font-size: 14px;
	font-weight: bold;
}
.vap-archive-main .vap-archive-filestree .root > .year .year-node {
	cursor: pointer;
}
.vap-archive-main .vap-archive-filestree .root > .year > div {
	position: relative;
	padding: 4px 0;
}
.vap-archive-main .vap-archive-filestree .root > .year > div > i {
	width: 18px;
}
.vap-archive-main .vap-archive-filestree .root .monthslist {
	font-weight: normal;
	font-size: 12px;
	color: #666;
	margin: 2px 0 6px 20px;
	padding:0;
	list-style-type: none;
}
.vap-archive-main .vap-archive-filestree .root .monthslist .month {
	padding: 2px 2px 2px 7px;
}
.vap-archive-main .vap-archive-filestree .root .monthslist a {
	display: block;
	color: #666;
}
.vap-archive-main .vap-archive-filestree .root .monthslist .picked {
	background: #eee;
}
.vap-archive-main .vap-archive-filespool {
	width: 80%;
}
.vap-archive-footer {
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
	display: inline-block;
}

@media screen and (max-width: 1280px) {
	.vap-archive-fileblock {
		width: calc(100% / 4 - 65px);
	}
}
@media screen and (max-width: 970px) {
	.vap-archive-fileblock {
		width: calc(100% / 3 - 65px);
	}
}
@media screen and (max-width: 860px) {
	.vap-archive-fileblock {
		width: calc(100% / 2 - 65px);
	}
}
@media screen and (max-width: 520px) {
	.vap-archive-fileblock {
		width: 100%;
	}
}

/* employees reports */
.vap-empchart-box {
	width: 100%;
	margin-bottom: 40px;
}
.vap-linechart-container {
	width: 70%;
	display: inline-block;
}
.vap-piechart-container {
	width: 28%;
	display: inline-block;
	vertical-align: top;
}
#vap-linechart-legend {
	margin: 10px 0 0;
}
.vap-linechart-wrapper .line-legend {
	margin: 10px 0 0;
	padding: 0;
	width: 100%;
	display: inline-block;
}
.vap-linechart-wrapper .line-legend li {
	float: left;
	display: inline-block;
	margin: 3px 7px;
}
.vap-linechart-wrapper .line-legend li > span {
	display: inline-block;
	float: left;
	height: 15px;
	margin: 0 5px 0 0;
	width: 15px;
}
.vap-charts-filter-employees {
	display: inline-block;
	width: 100%;
}
.vap-charts-filter-employees > div {
	float: left;
	display: inline-block;
	margin: 5px 7px;
}
.vap-charts-employee-control label {
	display: inline-block;
}

/* appointment order info basket */
.vap-orderbasket-badge {
	display: inline-block;
	width: 40%;
	padding: 15px 10px;
	background-color: #3a93ff;
	border-radius: 5px;
	margin-bottom: 5px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
}
.vap-orderbasket-badge:hover {
	opacity: 0.70;
}
.vap-orderbasket-badge.large {
	width: 83.6%;	
}
.vap-orderbasket-badge.canceled {
	background-color: #f01b17;
	text-transform: uppercase;
}
.vap-orderbasket-badge.confirmed {
	background-color: #008000;
	text-transform: uppercase;
}
.vap-orderbasket-badge.removed {
	background-color: #990000;
	text-transform: uppercase;
}
.vap-orderbasket-badge.pending {
	background-color: #FF7000;
	text-transform: uppercase;
}
.vap-orderbasket-genericnotes {
	border: 2px dashed #ccc;
	padding: 10px;
	margin-top: 20px;
	border-radius: 4px;
}
.vap-orderbasket-option {
	margin: 20px 0 0;
}
.vap-orderbasket-option::first-child {
	margin: 0;
}
.vap-orderbasket-option-details {
	width: 100%;
	display: inline-block;
}
.vap-orderbasket-option-details > div {
	display: inline-block;
}
.vap-orderbasket-option-details-left {
	float: left;
}
.vap-orderbasket-option-details-right {
	float: right;
}
.vap-orderbasket-option-details {
	font-size: 18px;
}
.vap-orderbasket-option-details-numapp {
	margin: 0 50px 0 0;
}
.vap-orderbasket-option-details-quantity {
	margin: 0 10px 0 0; 
}
.vap-orderbasket-option-details-price {
	min-width: 100px;
	text-align: right;
	display: inline-block;
}

/* options variations */
.vap-option-var {
	margin-bottom: 10px;
}
.vap-sort-box {
	background: url(images/sort-dots.png) center center no-repeat;
	width: 3px;
	height: 13px;
	display: inline-block;
	float: left;
	margin: 8px 7px 0;
	cursor: all-scroll;
}
.vap-sort-box:hover {
	opacity: 0.70;
}

/* import modal */
.vap-importmodal-body {
	margin: 30px 0;
}
.vap-importmodal-body .import-file {
	background: none repeat scroll 0 0 #eee;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #ddd;
	display: inline-block;
	width: 70%;
}
.vap-importmodal-body .import-submit {
	display: inline-block;
}
.vap-importmodal-body .import-file input {
	line-height: 13px;
}

/* cron job log modal */
.vap-cron-loginfo-head {
	width: 100%;
	display: inline-block;
}
.vap-cron-loginfo-head-left {
	float: left;
	padding: 10px 20px;
}
.vap-cron-loginfo-head-right {
	float: right;
	padding: 10px 20px;
}
.vap-cron-loginfo-middle {
	height: 95%;
}
.vap-cron-loginfo-middle pre {
	min-height: 90%;
	margin: 0 20px;
}

/* 1.5 admin menu */
#vap-main-menu {
	display: block;
	width: 13%;
	min-width: 180px;
	vertical-align: top;
	background-color: #1a3867; /*7897c8*/
	margin-right: 15px;
	float: left;
}
@media screen and (max-width : 767px) {
	.vap-task-wrapper {
		width: 100% !important;
	}
	#vap-main-menu.vap-leftboard-menu {
		width: 100%;
	}
	#vap-main-menu.vap-leftboard-menu {
		display: none;
	}
	#vap-main-menu.vap-leftboard-menu .split-box.custom {
		display: none;
	}
}
.vap-task-wrapper {
	display: block;
	float: left;
	width: 85%;
}
.vap-task-wrapper.extended {
	width: 95%;
}
.vap-task-wrapper p {
	padding: 10px;
}
#vap-main-menu .parent .title {
	cursor: pointer;
	padding: 10px;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 14px;
	color: #fff;
	background-color: #1a3867; /*7897c8*/
}
#vap-main-menu .parent .title i:first-child {
	font-size: 16px;
}
#vap-main-menu .parent .title.selected {
	background-color: #2c6996; /*b1c7ea*/
}
#vap-main-menu .parent .title:not(.selected):hover, #vap-main-menu .parent .title:not(.selected).focus {
	background-color: #275d84; /*91acd7*/
}
#vap-main-menu .parent .title span {
	width: 73%;
	display: inline-block;
	word-wrap: break-word;
}
#vap-main-menu .parent i {
	margin-right: 8px;
	width: 16px;
	text-align: center;
}
#vap-main-menu .parent i.vap-angle-dir {
	margin: 0 !important;
	float: right;
}
#vap-main-menu .wrapper {
	padding: 6px 0;
	background-color: #142c51; /*5d7bab*/
	display: none;
}
#vap-main-menu .wrapper.collapsed {
	display: block;
}
#vap-main-menu .wrapper .item {
	padding: 5px 0 5px 20px;
	font-size: 14px;
}
#vap-main-menu .wrapper .item a {
	color: #d6e3f9;
}
#vap-main-menu .wrapper .item a:hover {
	color: #fff;
}
#vap-main-menu .wrapper .item.selected a {
	color: #fff !important;
	font-weight: 500;
}
#vap-main-menu a {
	color: #fff;
	width: 100%;
	display: block;
}
#vap-main-menu a:hover {
	color: #fff;
	text-decoration: none;
}
/* custom admin menu section */

#vap-main-menu .separator-line {
	border-top: 1px dotted #eee;
}
#vap-main-menu .split-box {
	text-align: right;
	padding: 6px 10px;
	font-size: 16px;
}
#vap-main-menu .version-box {
	background-color: #4a9468;
	padding: 6px 10px;
	font-size: 14px;
}
#vap-main-menu .version-box.upd-avail {
	background-color: #0d620f;
}
#vap-main-menu .version-box i.upd-avail {
	float: right;
	margin-top: 2px;
	color: orange;
}

/* 1.5 compressed admin menu */
@media screen and (min-width: 768px) {
	#vap-main-menu.vap-leftboard-menu.compressed {
		min-width: 40px;
		width: 40px;
	}
	#vap-main-menu.vap-leftboard-menu.compressed .parent .title span, #vap-main-menu.vap-leftboard-menu.compressed .parent .title .vap-angle-dir {
		display: none;
	}
	#vap-main-menu.vap-leftboard-menu.compressed .parent .wrapper {
		position: absolute;
		margin-left: 40px;
		padding-right: 20px;
		width: 180px;
		z-index: 1000;
	}
	#vap-main-menu.vap-leftboard-menu.compressed .parent .title.collapsed {
		position: relative;
		background-color: #275d84; /*91acd7*/
		width: 220px;
		z-index: 1000;
	}
	#vap-main-menu.vap-leftboard-menu.compressed .parent .title.selected.collapsed {
		background-color: #2c6996; /*b1c7ea*/
	}
	#vap-main-menu.vap-leftboard-menu.compressed .parent .title.collapsed span {
		display: inline-block;
		margin-left: 16px;
	}
	#vap-main-menu.vap-leftboard-menu.compressed .split-box {
		text-align: left;
	}
	#vap-main-menu.vap-leftboard-menu.compressed .version-box span {
		display: none;
	}
}

/* 1.6.3 horizontal menu */
#vap-main-menu.vap-horizontal-menu {
	width: 100%;
    margin-bottom: 10px;
    display: inline-block;
    float: none;
    margin-right: 0;
    padding: 6px 6px 6px 4px;
    border-radius: 8px;
    box-sizing: border-box;
}
#vap-main-menu.vap-horizontal-menu .parent {
	float: left;
	width: 200px;
	margin: 0 2px;
}
#vap-main-menu.vap-horizontal-menu .parent .title span {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	vertical-align: top;
}
#vap-main-menu.vap-horizontal-menu a {
	/*display: inline-block;*/
}
#vap-main-menu.vap-horizontal-menu .title {
	padding: 0;
	border-radius: 4px;
}
#vap-main-menu.vap-horizontal-menu .title > a {
	box-sizing: content-box;
	padding: 10px 8px;
	width: calc(100% - 16px);
}
#vap-main-menu.vap-horizontal-menu .wrapper {
	display: block;
    position: absolute;
    width: 220px;
    z-index: 999;
    text-transform: none;
    font-weight: normal;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    visibility: hidden;
    opacity: 0;
    transform: scale(0.99) translateY(-0.7em);
    transform-origin: top;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-duration: 500ms;
    transition-property: opacity,transform;
}
#vap-main-menu.vap-horizontal-menu .wrapper.collapsed {
	visibility: visible;
    opacity: 1;
    transform: scale(1) translateY(8px);
}
#vap-main-menu.vap-horizontal-menu .version-box {
	float: right;
	/*margin-left: auto;*/
	padding: 0px;
	border-radius: 4px;
}
#vap-main-menu.vap-horizontal-menu .version-box a {
	padding: 10px;
}
#vap-main-menu.vap-horizontal-menu .parent i.vap-angle-dir {
	line-height: 18px;
}

@media screen and (max-width: 1860px) {
	#vap-main-menu.vap-horizontal-menu .parent {
		width: 180px;
	}
}
@media screen and (max-width: 1690px) {
	#vap-main-menu.vap-horizontal-menu .parent {
		width: 170px;
	}
}
@media screen and (max-width: 1620px) {
	#vap-main-menu.vap-horizontal-menu .parent {
		width: auto !important;
	}
	#vap-main-menu.vap-horizontal-menu .title > a {
		padding: 14px 15px;
	}
	#vap-main-menu.vap-horizontal-menu .parent .title > a i:first-child {
		font-size: 20px;
		width: 18px;
	}
	#vap-main-menu.vap-horizontal-menu .parent .title > a > span {
		width: auto !important;
	}
	#vap-main-menu.vap-horizontal-menu .parent .title:not(.selected) > a > span {
		display: none;
	}
	#vap-main-menu.vap-horizontal-menu .version-box a {
		padding: 15px 10px;
	}
}
@media screen and (max-width: 960px) {
	#vap-main-menu.vap-horizontal-menu .version-box a {
		font-size: 18px;
		padding: 12px 15px;
	}
	#vap-main-menu.vap-horizontal-menu .version-box #vap-version-content {
		display: none;
	}
}
@media screen and (max-width: 640px) {
	#vap-main-menu.vap-horizontal-menu .parent .title > a > span {
		display: none;
	}
}

/* dashboard */
.vap-dashboard-box {	
	border: 1px solid #ccc;
	margin: 15px 5px 15px 0;
	display: inline-block;
}
.vap-dashboard-box.full {
	width: 100%;
}
.vap-dashboard-box.big {
	width: 64%;
}
.vap-dashboard-box.medium {
	width: 49%;
}
.vap-dashboard-box.small {
	width: 34%;
}

.vapdash-title {
	padding: 10px;
	border-bottom: 1px solid #ccc;
	background: #f6f6f6 none repeat scroll 0 0;
	text-transform: uppercase;
	font-size: 16px;
}
.vapdash-container {
	width: 100%;
}
.vapdash-tab-head  {
	display: inline-block;
	margin-bottom: 8px;
	border: 1px solid #ccc;
	border-right: 0;
}
.vapdash-tab-button {
	float: left;
	display: inline-block;
	font-size: 13px;
}
.vapdash-tab-button a {
	padding: 10px 20px;
	background: #fff;
	color: #333;
	border-right: 1px solid #ccc;
	cursor: pointer;
	display: inline-block;
	float: left;
}
.vapdash-tab-button a:hover {
	text-decoration: none !important;
}
.vapdash-tab-button a.active {
	background: #dceef7 none repeat scroll 0 0;
	cursor: default;
}

.vap-incoming-table {
	width: 100%;
	border-collapse: collapse;
}
.vap-incoming-table th{
	font-size: 14px;
	font-weight: normal;
	color: #039;
	padding: 12px 15px;
}
.vap-incoming-table td{
	font-size: 13px;
	color: #669;
	border-top:1px solid #e8edff;
	padding: 6px 2px;
}
.vap-incoming-table tr:hover td{
	color: #339;
	background: #eff2ff;
}
.vap-incoming-table th.vapdashtabtitle {
	font-size: 13px;
	font-weight: bold;
	padding: 0 0 5px;
}
.vapdashrowhighlight {
	background: #ffeea1 !important;
}

.vap-icon-tooltip {
	margin: 0 5px;
}

/* manage packages order */
.vap-packorder-row {
	width: 100%;
	padding: 10px 0;
}
.vap-packorder-row span {
	display: inline-block;
}

/* make recurrence */
.vap-makerec-box {
	padding: 15px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
}
.vap-recurrence-form {
	display: inline-block;
	vertical-align: top;
}
.vap-recurrence-form > span {
	float: left;
	display: inline-block;
	margin: 0 5px;
}
.vap-recurrence-form > .lbl {
	margin-top: 6px;
}
.vap-recurrence-button {
	display: inline-block;
	margin-left: 30px;
}

.vap-recpreview-box {
	padding: 15px;
	border: 1px solid #ccc;
	margin-bottom: 15px;
}
.vap-recpreview-box .recurrence-date {
	padding: 5px 0;
	font-size: 14px;
}
.vap-recpreview-box .recurrence-date .format {
	width: 200px;
	display: inline-block;
}
.vap-recpreview-box .recurrence-date .msg.available {
	color: #090;
	font-weight: bold;
}
.vap-recpreview-box .recurrence-date .msg.occupied {
	color: #900;
	font-weight: bold;
}
.vap-recpreview-box .recurrence-date .msg i {
	margin-left: 4px;
}
.vap-recpreview-box .recurrence-date .hint-box {
	border-bottom: 1px solid #ddd;
	padding: 10px 0;
}
.vap-recpreview-box .recurrence-date .hint-box span.hint-text {
	margin-left: 10px;
	font-size: 13px;
}

.vap-recpreview-button {
	margin-top: 15px;
}

.vap-confirmrec-box {
	padding: 15px;
	border: 1px solid green;
	background-color: rgba(0, 163, 0, 0.10);
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 15px;
	color: green;
}

.vap-recerror-box {
	padding: 15px;
	border: 1px solid #a30000;
	background-color: rgba(204, 0, 0, 0.10);
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 15px;
	color: #a30000;
}

/* Joomla 3.x */
fieldset.adminform {
	border: 1px solid #aaa;
	background-color: #fff;
	padding: 10px;
	margin-bottom: 30px;
}

legend.adminlegend {
	border-bottom: 0;
	width: auto;
	padding: 5px;
	margin-bottom: 10px;
	line-height: inherit;
}

table.admintable td {
	border-bottom: 1px solid #ddd;
}
table.admintable td.adminparamcol {
	vertical-align: middle;
	text-align: right;
	border-right: 1px solid #ddd;
	background-color: #f7f7f7;
}
.control-label {
	max-width: 160px;
}

table.admintable input {
	margin-bottom: 0;
}
table.admintable td.adminparamcol .vap-quest-popover {
	vertical-align: initial;
	transform: none;
}

/* iOS checkbox */

.switch-ios {
	display: inline-block;
}
.switch-ios .ios-toggle {
	position: absolute;
	margin-left: -9999px;
	visibility: hidden;
}
.switch-ios .ios-toggle + label {
	display: block;
	position: relative;
	cursor: pointer;
	outline: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.switch-ios input.ios-toggle-round + label {
	/*width: 56px;*/
	width: 48px;
	/*height: 30px;*/
	height: 28px;
	/*background-color: #dddddd;*/
	background-color: #e9e9eb;
	-webkit-border-radius: 60px;
	-moz-border-radius: 60px;
	-ms-border-radius: 60px;
	-o-border-radius: 60px;
	border-radius: 60px;
	margin-bottom: 0;
}
.switch-ios input.ios-toggle-round + label:before, 
.switch-ios input.ios-toggle-round + label:after {
	display: block;
	position: absolute;
	top: 1px;
	left: 1px;
	bottom: 1px;
	content: "";
}
.switch-ios input.ios-toggle-round + label:before {
	right: 1px;
	/*background-color: #f1f1f1;*/
	background-color: #e3e3e3;
	-webkit-border-radius: 60px;
	-moz-border-radius: 60px;
	-ms-border-radius: 60px;
	-o-border-radius: 60px;
	border-radius: 60px;
	/*-webkit-transition: background 0.4s;*/
	-webkit-transition: background 0.3s;
	/*-moz-transition: background 0.4s;*/
	-moz-transition: background 0.3s;
	/*-o-transition: background 0.4s;*/
	-o-transition: background 0.3s;
	/*transition: background 0.4s;*/
	transition: background 0.3s;
}
.switch-ios input.ios-toggle-round + label:after {
	/*width: 28px;*/
	width: 22px;
	height: 22px;
	margin-top: 2px;
	margin-left: 2px;
	/* end changes */
	background-color: #fff;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-o-border-radius: 100%;
	border-radius: 100%;
	/*-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);*/
	/*-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);*/
	/*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);*/
	/*-webkit-transition: margin 0.4s;*/
	-webkit-transition: margin 0.3s;
	/*-moz-transition: margin 0.4s;*/
	-moz-transition: margin 0.3s;
	/*-o-transition: margin 0.4s;*/
	-o-transition: margin 0.3s;
	/*transition: margin 0.4s;*/
	transition: margin 0.3s;
}
.switch-ios input.ios-toggle-round:checked + label:before {
	/*background-color: #38d873;*/
	background-color: #29c962;
}
.switch-ios input.ios-toggle-round:checked + label:after {
	/*margin-left: 26px;*/
	margin-left: 22px;
}
.switch-ios input.ios-toggle-round[disabled] + label:before {
    opacity: 0.1;
}
.switch-ios input.ios-toggle-round[disabled] + label:after {
    opacity: 0.8;
}

/* popover */

i.vap-quest-popover {
	font-size: 14px;
	vertical-align: top;
	transform: translateY(50%);
	margin-left: 10px;
	color: #999;
	cursor: pointer;
}
i.vap-quest-popover:hover {
	color: #444;
}

/* employee working days */

#wd-edit-fieldset {
	/* animate margin while scrolling */
	transition: margin 700ms;
}

table.vap-workday-calendar {
	width: 100%;
}

table.vap-workday-calendar th {
	text-align: center;
}

table.vap-workday-calendar td {
	border: 1px solid #ddd;
	min-width: 60px;
	height: 60px;
	background-color: #fff;
	padding: 0;
	/*overflow: hidden;*/
	/* firefox hack to force td borders */
	background-clip: padding-box;
}

table.vap-workday-calendar tr td:first-child {
	padding-right: 5px;
	vertical-align: top;
	border: 0;
}
table.vap-workday-calendar tbody td.cell-time:hover {
	background-color: rgba(27, 210, 149, 0.50);
	cursor: pointer;
}

table.vap-workday-calendar td.time-starts,
table.vap-workday-calendar td.time-ends,
table.vap-workday-calendar td.time-contains {
	vertical-align: top;
}
table.vap-workday-calendar td.time-starts:not(.time-ends) {
	border-bottom: 0;
}
table.vap-workday-calendar td.time-ends:not(.time-starts) {
	border-top: 0;
}
table.vap-workday-calendar td.time-contains {
	border-bottom: 0;
	border-top: 0;
}

table.vap-workday-calendar td div.time-starts,
table.vap-workday-calendar td div.time-ends,
table.vap-workday-calendar td div.time-contains {
	background-color: #1bd295;
	height: 100%;
	cursor: pointer;
}
table.vap-workday-calendar td div.time-starts:not(.trim-start) {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;

	text-align: center;
	/*line-height: 25px;*/
	padding-top: 5px;
	font-size: smaller;
	font-weight: bold;
	box-sizing: border-box;
}
table.vap-workday-calendar td div.time-ends:not(.trim-end) {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

table.vap-workday-calendar td div.day-closed {
	background-color: #ff1e31;
	height: 100%;
	cursor: pointer;
}

table.vap-workday-calendar td div.custom-day {
	background-color: #2eb0d2;
}
table.vap-workday-calendar td div.box-selected {
	border-left: 4px solid #ffb21e;
	/* remove 4px of left border from total width */
	width: calc(100% - 4px) !important;
}

/* fix used to display only time-starts with full height */
table.vap-workday-calendar td div.time-contains:not(div.time-starts),
table.vap-workday-calendar td div.time-ends:not(div.time-starts) {
	display: none;
}
table.vap-workday-calendar td div.time-starts {
	z-index: 1;
}

/* weekly calendar */

.cal-service {
	margin: 5px 0;
}
.cal-service .check input[type="checkbox"] {
	margin: 0;
}
.cal-service .name {
	display: inline-block;
	width: 200px;
}
.cal-service .color-thumb {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	cursor: pointer;
}

.cal-events-list {
	margin-top: 15px;
}
.cal-events-list .event-row {
	min-height: 36px;
	border-top: 1px solid #ddd;
	padding: 5px 0;
}
.cal-events-list .event-row > div {
	display: inline-block;
	vertical-align: middle;
}
.cal-events-list .event-row > div > span {
	display: block;
}

.cal-events-list .event-row .event-id {
	width: 10%;
}
.cal-events-list .event-row .event-checkin {
	width: 25%;
}
.cal-events-list .event-row .event-details {
	width: 30%;
}
.cal-events-list .event-row .event-customer {
	width: 20%;
}
.cal-events-list .event-row .event-guests {
	width: 10%;
	text-align: right;
}

.cal-events-list .event-row .event-id > span {
	padding-left: 5px;
}
.cal-events-list .event-row .event-checkin .duration {
	margin-left: 5px;
}
.cal-events-list .event-row .event-details .service-name {
	filter: brightness(90%);
}
.cal-events-list .event-row .event-guests > span {
	padding-right: 5px;
}

.cal-events-list .no-event {
	border-top: 1px solid #ddd;
	padding-left: 0;
}
.cal-events-list .show-all-events {
	margin-top: 10px;
}

.slot-pointer {
	width: 80px;
	height: 40px;
	position: absolute;
	background: #0766d6;
	border-bottom-right-radius: 5px;
	border-top-right-radius: 5px;
	z-index: 10;
}
.slot-pointer:after {
	content: "";
	position: absolute;
	left: -20px;
	bottom: 0;
	width: 0;
	height: 0;
	border-right: 20px solid #0766d6;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
}

.service-preferences {
	width: 120px;
	height: 80px;
	background: #ddd;
	position: absolute;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

th.head-date {
	cursor: pointer;
}

/* test rates modal */

table.rates-table .rate-child td {
	border-top: 1px solid #777;
}
table.rates-table .rate-child ~ .rate-child td {
	border-top: 1px solid #ddd;
}
table.rates-table .rate-child:last-child td {
	border-bottom: 1px solid #777;
}

table.rates-table .rate-id {
	vertical-align: middle;
}
table.rates-table .rate-price {
	text-align: center;
	vertical-align: middle;
}

table.rates-table .final-cost .rate-price {
	font-weight: bold;
	font-size: larger;
}

#debug-wrap {
	margin: 0 10px;
	width: calc(100% - 20px);
}
table.rates-table .debug-error {
	color: #b00;
}
#debug-wrap table tfoot td {
	text-align: center;
	font-style: italic;
}

.use-margin-for-alignment {
	margin-top: 5px;
}

/* order status */

.order-status-table {
	width: 100%;
}
.order-status-table thead tr {
	background: #f2f2f2;
	border-bottom: 2px solid #ddd;
}
.order-status-table thead th {
	padding: 10px;
	text-transform: uppercase;
	font-size: .9em;
	border-top: 0;
}
.order-status-table td {
	padding: 10px !important;
}
.order-status-table .track-comment {
	background: #eee;
	font-weight: bold;
}
.order-status-table .track-comment td {
	border-bottom: 2px solid #ddd;
}
.order-status-table .track-warning {
	font-weight: bold;
}

/* order status table : items list */

.track-comment .items-list {
	margin: 0 0 0 8px;
}
.track-comment .items-list .item-row {
	padding: 8px 0;
	list-style: none;
}
.track-comment .items-list .item-row:not(:last-child) {
	border-bottom: 1px dotted #fefefe;
}
.track-comment .items-list .item-row-details {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.track-comment .items-list .item-row-details .item-name {
	width: 50%;
	font-weight: bold;
}
.track-comment .items-list .item-row-details .item-quantity {
	width: 10%;
	text-align: right;
	font-size: smaller;
}
.track-comment .items-list .item-row-details .item-price {
	width: 15%;
	text-align: right;
	font-weight: 500;
	color: #002243;
}

/* reports packages */

span.report-pack-group {
	display: inline-block;
	width: 40%;
}
span.report-pack-total, span.report-pack-count {
	display: inline-block;
	width: 30%;
	text-align: right;
}

/**
 * PURCHASER INFO MODAL
 */

/* layout */

.order-container {
	display: flex;
	height: 100%;
}
.order-container .order-left-box {
	width: 65%;
	border-right: 1px solid #eee;
}
.order-container .order-right-box {
	width: 35%;
}
.order-container.appointment .order-left-box,
.order-container.appointment .order-right-box {
	overflow-y: scroll;
}

.order-container .order-left-box .order-left-top-box {
	display: flex;
	border-bottom: 1px solid #eee;
}
.order-container .order-left-box .order-left-top-box .order-global-details,
.order-container .order-left-box .order-left-top-box .order-customer-details {
	width: 50%;
	padding: 0 10px;
}

.order-container .order-left-box .order-left-bottom-box {
	display: flex;
	margin-bottom: 12px;
}

.order-container .order-left-box .order-left-bottom-box .order-options-list,
.order-container .order-left-box .order-left-bottom-box .order-custom-fields {
	padding: 0 10px;
}
.order-container .order-left-box .order-left-bottom-box .order-options-list {
	width: 100%;
}
.order-container .order-left-box .order-left-bottom-box .order-custom-fields:not(:only-of-type) {
	width: 60%;
	border-left: 1px solid #eee;
}

.order-container .order-right-box .order-payment-details {
	padding: 0 10px;
	margin-bottom: 10px;
}

/* fieldset */

.order-fields .order-field {
	margin-bottom: 8px;
}
.order-fields .order-field label {
	display: inline-block;
	width: 120px;
	word-break: break-word;
}
.order-fields.extended .order-field label {
	width: 200px;
}
.order-fields .order-field .order-field-value {
	display: inline-block;
	vertical-align: top;
}

/* payment box */

.order-payment-details .order-fields {
	background-color: #f2f3f5;
	padding: 20px 10px;
	border-top: 2px solid #bec8d4;
	border-bottom: 2px solid #bec8d4;
	margin-bottom: 15px;
}
.order-payment-details .order-fields {
	color: #002243;
}
.order-payment-details .order-fields label {
	color: #909daf;
	width: calc(50% - 5px);
	text-align: right;
}
.order-payment-details .order-fields .order-field {
	margin-bottom: 0;
}
.order-payment-details .order-fields .order-field .order-field-value {
	width: calc(50% - 5px);
	text-align: right;
}
.order-payment-details .order-fields .order-field.total-cost,
.order-payment-details .order-fields .order-field.total-cost label {
	color: #002243;
	font-size: 18px;
	margin-bottom: 0;
}

.order-payment-details .coupon-box {
	border: 2px dashed #bec8d4;
	padding: 10px;
	background-color: #f2f3f5;
	color: #002243;
	display: flex;
	justify-content: space-between; 
}
.order-payment-details .coupon-box .coupon-code {
	font-size: 16px;
}
.order-payment-details .coupon-box .coupon-code i {
	margin-right: 2px;
}

.order-payment-details .logs-box {
	margin-top: 15px;

}

/* invoice */

.invoice-record {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
}
.invoice-record .invoice-id {
	width: 20%;
	text-align: left;
}
.invoice-record:last-child .invoice-id {
	font-weight: bold;
	font-size: 15px;
	color: #002243;
}
.invoice-record .invoice-date {
	width: 50%;
	text-align: left;
}
.invoice-record .invoice-download {
	width: 20%;
	text-align: right;
}
.invoice-record .invoice-download i {
	opacity: 0.4;
	font-size: 24px;
}
.invoice-record .invoice-download a i {
	opacity: 1;
}

/* cart items */

.order-items-cart {
	background-color: #fbfbfb;
}
.order-items-cart .cart-item-record {
	padding: 15px 10px;
	border-top: 1px solid #bec8d4;
	position: relative;
}
.order-items-cart .cart-item-record:last-child {
	border-bottom: 1px solid #bec8d4;
}
.cart-item-record .cart-item-details {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.cart-item-record .cart-item-details .cart-item-name {
	width: 60%;
}
.cart-item-record .cart-item-details .cart-item-name .item-prod-name {
	font-weight: bold;
	font-size: 14px;
}
.cart-item-record .cart-item-details .cart-item-quantity {
	width: 10%;
	text-align: right;
	font-size: smaller;
}
.cart-item-record .cart-item-details .cart-item-price {
	width: 15%;
	text-align: right;
	font-weight: 500;
	color: #002243;
}
.cart-item-record .cart-item-details .pack-validthru {
	font-style: italic;
	position: absolute;
	bottom: 15px;
	right: 10px;
}

/* form vertical layout */

.form-vertical .control-group .control-label {
	max-width: 100%;
	width: 100%;
}
.form-vertical .control-label b {
	margin-bottom: 5px;
	display: block;
}

/* sortable list */

.sortable-handler:not(.inactive) {
	cursor: pointer;
}
.vik-sortable-placeholder td {
	background: rgba(84, 168, 40, 0.55) !important;
	height: 48px;
}

/* textarea */

textarea.full-width {
	width: calc(100% - 14px);
}

/* custom fields */

@media screen and (max-width: 1280px) {
	.order-custom-fields:not(:only-of-type) .order-fields .order-field label {
		display: block;
		width: 100%;
	}
}

/* intl tel support */

.controls > .iti {
	max-width: 100%;
}
.iti input[type="text"],
.iti input[type="tel"] {
	box-sizing: initial;
	width: 226px !important;
	max-width: calc(100% - 45px);
}
.iti .iti__country-list {
	border-radius: 4px;
	border-color: #e4e7ed;
}
.iti .iti__country-list.iti__country-list--dropup {
	margin-bottom: 6px;
}
.iti .iti__country-list:not(.iti__country-list--dropup) {
	margin-top: 6px;
}
.iti .iti__selected-flag:focus {
	outline: none;
}
.iti .iti__country {
	padding: 8px 10px;
}
.iti .iti__country .iti__dial-code {
	color: #7f8fa4;
	float: right;
	margin-right: 5px;
}
.iti .iti__divider {
	padding: 0;
	margin: 0;
}

/* vertical form */

div[class*="span"].full-width input, 
div[class*="span"].full-width .control-group textarea {
	width: calc(90% - 14px) !important;
}
div[class*="span"].full-width .iti {
	width: 90%;
}
div[class*="span"].full-width .iti input {
	width: calc(100% - 60px) !important;
}
div[class*="span"].full-width .input-append,
div[class*="span"].full-width .input-prepend,
div[class*="span"].full-width .btn-group {
	display: flex;
	width: 90%;
}
div[class*="span"].full-width .input-append > input,
div[class*="span"].full-width .input-prepend > input,
div[class*="span"].full-width .btn-group > input {
	flex: 1;
}

div[class*="span"] .inline-fields {
	display: flex;
}
div[class*="span"].full-width .inline-fields {
	justify-content: space-between;
	max-width: 90%;
}
div[class*="span"].full-width .inline-fields > * {
	flex: 1;
}
div[class*="span"] .inline-fields > *:not(:first-child) {
	margin-left: 10px;
}
div[class*="span"] .select2-container-multi input.select2-input.select2-default {
	width: 100% !important;
	max-width: 100% !important;
}

div.full-width .form-vertical .control-group input, 
div.full-width .form-vertical .control-group textarea,
div.full-width .form-vertical .control-group .select2-container {
	width: 100% !important;
}

.flex-auto {
	flex: 0 !important;
}
.flex-basis-30 {
	flex-basis: 30% !important;
}
.flex-basis-40 {
	flex-basis: 40% !important;
}
.flex-basis-50 {
	flex-basis: 50% !important;
}
.flex-basis-60 {
	flex-basis: 60% !important;
}
.flex-basis-70 {
	flex-basis: 70% !important;
}

/* mobile */

@media screen and (max-width: 767px) {
	.contentpane.component {
		overflow: auto !important;
	}
	.order-container,
	.order-left-top-box,
	.order-left-bottom-box {
		display: block !important;
	}
	.order-left-box,
	.order-global-details,
	.order-customer-details,
	.order-options-list,
	.order-custom-fields {
		width: calc(100% - 10px) !important;
	}
	.order-right-box {
		width: 100% !important;
	}

	.order-options-list,
	.order-custom-fields,
	.order-status-history {
		height: auto !important;
	}

	.order-left-box {
		border-right: 0 !important;
	}
	.order-global-details {
		padding-bottom: 10px;
		border-bottom: 1px solid #eee;
	}
	.order-customer-details {
		padding-bottom: 10px !important;
	}
	.order-custom-fields {
		border-left: 0 !important;
		border-bottom: 1px solid #eee !important;
	}
	.order-options-list {
		border-bottom: 1px solid #eee !important;
		padding-bottom: 20px !important;
	}
	.order-right-box {
		padding-bottom: 10px !important;
	}
}

.tooltip p:last-child {
	margin-bottom: 0;
}

/* media queries */

@media screen and (max-width : 1380px) {
	#vap-main-menu.vap-horizontal-menu .parent {
		width: 150px;	
	}
	#vap-main-menu.vap-horizontal-menu .parent .title span {
		max-width: 90px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		display: inline-block;
	}
}
@media screen and (max-width : 600px) {
	.vapdash-container {
		overflow-x:auto;
		width: 100%;
		padding:0;
	}
	.vap-dashboard-box.big, .vap-dashboard-box.small, .vap-dashboard-box.medium {
		width: 100% !important;
	}
	.vap-incoming-table {
		margin-left: 10px;
	}
	.vapdash-tab-head {
		margin-left: 10px;
	}
	#vap-main-menu a:link, #vap-main-menu a:focus, #vap-main-menu a:active, #vap-main-menu a:visited {
		color: #fff;
	}
}

/* phone utils */

@media screen and (max-width: 767px) {
	.hidden-phone-toggle {
		display: none;
	}
	.phone-center {
		text-align: center !important;
	}
}
@media screen and (min-width: 768px) {
	.mobile-only {
		display: none !important;
	}
}

/* TinyMCE */

.mce-container {
	z-index: 99;
}

/* media gallery */

body.contentpane {
	margin: 0;
	padding: 0;
}

#jmodal-mediamanager .modal-body {
	/* prevent modal scroll */
	overflow: hidden !important;
}

.vap-media-modal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	height: 100vh;
}
.vap-media-modal .vap-media-grid-box {
	width: 80%;
}
.vap-media-modal .vap-media-grid-box .btn-toolbar {
	padding-left: 10px;
}
.vap-media-modal .vap-media-grid-box .alert {
	margin: 0 10px;
}
.vap-media-modal .vap-media-sidebar {
	width: calc(20% - 21px);
	border-left: 1px solid #ddd;
	padding: 10px;
	position: relative;
	overflow: hidden;
}

.vap-media-modal .vap-media-sidebar .vap-media-droptarget {
	padding-top: 20%;
	padding-bottom: 20%;
}

.vap-media-modal .vap-media-sidebar .vap-media-inspector {
	position: absolute;
	padding: 10px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	transform: translateX(100%); /* off screen */
	background: #f8f8f8;

	/*transition: 0.4s ease-out all;
	-moz-transition: 0.4s ease-out all;
	-webkit-transition: 0.4s ease-out all;*/
}
.vap-media-modal .vap-media-sidebar .vap-media-inspector.slide-in {
	transform: translateX(0%);
}

.vap-media-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	overflow-y: scroll;
	max-height: 90vh;
}
.vap-media-gallery * {
	box-sizing: content-box;
}
.vap-media-gallery .vap-media-block {
	width: calc(100% / 10 - 20px);
	padding: 10px;
}
.vap-media-gallery.vap-usernote-docs .vap-media-block {
	width: calc(100% / 5 - 20px);
}
.vap-media-gallery .vap-media-block[data-selected="1"] {
	box-shadow: inset 0 0 0 3px #fff,inset 0 0 0 7px #0073aa;
}
.vap-media-gallery .vap-media-block .media-preview {
	position: relative;
	box-shadow: inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);
	background: #eee;
	cursor: pointer;
}
.vap-media-gallery .vap-media-block .media-preview:before {
	content: "";
	display: block;
	padding-top: 100%;
}
.vap-media-gallery .vap-media-block .media-preview .media-thumbnail {
	overflow: hidden;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 1;
	transition: opacity .1s;
}
.vap-media-gallery .vap-media-block .media-preview .media-thumbnail .media-centered {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: translate(50%,50%);
}

.vap-media-gallery .vap-media-block .media-preview .media-thumbnail i {
	font-size: 64px;
	color: #1676c7;
}

.vap-media-gallery .vap-media-block .media-preview img {
	max-height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}
.vap-media-gallery .vap-media-block .media-preview .media-centered > * {
	transform: translate(-50%,-50%);
	max-width: initial !important;
}
.vap-media-gallery .vap-media-block .media-preview .media-centered > *.inspector-only {
	display: none;
}

.vap-media-inspector .inspector-title {
	font-size: 18px;
	font-weight: 500;
	margin: 5px 0;
}
.vap-media-inspector .inspector-title a {
	float: right;
}
.vap-media-inspector .selected-media-pool {
	overflow-y: scroll;
	height: calc(100vh - 60px);
}
.vap-media-inspector .media-info-box {
	display: inline-block;
	width: 100%;
	padding: 10px 0 15px 0;
}
.vap-media-inspector .media-info-box:not(:last-child) {
	border-bottom: 1px solid #ddd;
}
.vap-media-inspector .media-info-box .media-thumbnail-image {
	float: left;
	width: 40%;
}
.vap-media-inspector .media-info-box .media-thumbnail-image a > * {
	max-width: 100%;
}
.vap-media-inspector .media-info-box .media-thumbnail-image i {
	font-size: 128px;
	color: #1676c7;
}
.vap-media-inspector .media-info-box .media-details {
	float: right;
	width: calc(60% - 20px);
	padding: 0 10px;
}
.vap-media-inspector .media-info-box .media-details > * {
	color: #666;
	word-break: break-all;
}
.vap-media-inspector .media-info-box .media-details .filename {
	font-weight: bold;
	color: #444;
}
.vap-media-inspector .media-info-box .media-details a.delete-media-image {
	color: #bc0b0b;
}
.vap-media-inspector .media-info-box .media-details a.delete-media-image:hover {
	color: #dc3232;
	text-decoration: none;
}

@media screen and (max-width: 1600px) {
	.vap-media-modal .vap-media-grid-box {
		width: 75%;
	}
	.vap-media-modal .vap-media-sidebar {
		width: calc(25% - 21px);
	}
	.vap-media-gallery .vap-media-block {
		width: calc(100% / 9 - 20px);
	}
	.vap-media-gallery.vap-usernote-docs .vap-media-block {
		width: calc(100% / 4 - 20px);
	}
}
@media screen and (max-width: 1440px) {
	.vap-media-modal .vap-media-grid-box {
		width: 70%;
	}
	.vap-media-modal .vap-media-sidebar {
		width: calc(30% - 21px);
	}
	.vap-media-gallery .vap-media-block {
		width: calc(100% / 8 - 20px);
	}
	.vap-media-gallery.vap-usernote-docs .vap-media-block {
		width: calc(100% / 3 - 20px);
	}
}
@media screen and (max-width: 1280px) {
	.vap-media-modal .vap-media-grid-box {
		width: 65%;
	}
	.vap-media-modal .vap-media-sidebar {
		width: calc(35% - 21px);
	}
	.vap-media-gallery .vap-media-block {
		width: calc(100% / 7 - 20px);
	}
	.vap-media-gallery.vap-usernote-docs .vap-media-block {
		width: calc(100% / 2 - 20px);
	}
}
@media screen and (max-width: 960px) {
	.vap-media-modal .vap-media-grid-box {
		width: 60%;
	}
	.vap-media-modal .vap-media-sidebar {
		width: calc(40% - 21px);
	}
	.vap-media-gallery .vap-media-block {
		width: calc(100% / 6 - 20px);
	}
	.vap-media-gallery.vap-usernote-docs .vap-media-block {
		width: calc(100% - 20px);
	}
}
@media screen and (max-width: 700px) {
	.vap-media-modal .vap-media-grid-box {
		width: 100%;
		height: 75vh;
	}
	.vap-media-modal .vap-media-sidebar {
		width: calc(100% - 20px);
		border-left: 0;
		border-top: 1px solid #ddd;
		position: absolute;
		bottom: 0;
		background: #fff;
		height: calc(25vh - 20px);
	}
	.vap-media-gallery {
		max-height: calc(75vh - 48px);
	}
	.vap-media-gallery .vap-media-block {
		width: calc(100% / 5 - 20px);
	}
	.vap-media-gallery.vap-usernote-docs .vap-media-block {
		width: calc(100% / 2 - 20px);
	}
	.vap-media-modal .vap-media-sidebar .vap-media-droptarget,
	.vap-media-modal .vap-media-sidebar .vap-media-inspector {
		padding-top: 0;
		padding-bottom: 0;
		height: 100%;
	}
	.vap-media-modal .vap-media-sidebar .vap-media-inspector {
		transform: translate(0%, 100%);
	}
	.vap-media-modal .vap-media-sidebar .vap-media-inspector.slide-in {
		transform: translate(0%, 0%);
	}
	.vap-media-modal .vap-media-sidebar .vap-media-inspector .selected-media-pool {
		height: calc(100% - 28px);
	}
	.vap-media-modal .vap-media-sidebar .vap-media-droptarget .fa-upload {
		font-size: 32px;
		margin-top: 8px;
	}
}

.vap-media-manager-field button.media-preview {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

/* cards */

.vap-cards-container {
	display: flex;
	flex-wrap: wrap;
}
.vap-cards-container .vap-card-fieldset {
	width: calc(100% / 3);
}
.vap-cards-container .vap-card-fieldset.up-to-2 {
	width: calc(100% / 2);
}
.vap-cards-container .vap-card-fieldset.up-to-1 {
	width: 100%;
}
.vap-card {
	margin: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	height: calc(100% - 22px);

	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
}
.vap-card.compress {
	margin: 5px;
	height: calc(100% - 12px);
}
.vap-card .vap-card-image {
	position: relative;
	overflow: hidden;
	max-height: 300px;
	width: 100%;
}
.vap-card .vap-card-image:before {
	content: " ";
	position: absolute;
	top: 0;
	bottom: -2px;
	left: 0;
	right: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.8));
}
.vap-card .vap-card-image img {
	width: 100%;
}
.vap-card .vap-card-summary {
	padding: 20px;
	display: flex;
	align-items: center;
	background-color: #fff;
	width: 100%;
}
.vap-card.compress .vap-card-summary {
	padding: 10px;
}
.vap-card .vap-card-summary .card-badge-icon {
	width: 64px;
	min-width: 64px;
	max-width: 64px;
	height: 64px;
	min-height: 64px;
	max-height: 64px;
	background: #d92f4c;
	border-radius: 50%;
	position: relative;
	margin-right: 20px;
}
.vap-card.published .vap-card-summary .card-badge-icon {
	background: #58b06b;
}
.vap-card .vap-card-summary .card-badge-icon > * {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 32px;
	color: #fff;
}
.vap-card.compress .vap-card-summary .card-badge-icon {
	width: 32px;
	min-width: 32px;
	max-width: 32px;
	height: 32px;
	min-height: 32px;
	max-height: 32px;
}
.vap-card.compress .vap-card-summary .card-badge-icon > * {
	font-size: 20px;
}
.vap-card .vap-card-summary .card-text:only-child {
	width: 100%;
}
.vap-card .vap-card-summary .card-badge-icon + .card-text {
	width: calc(100% - 100px);
}
.vap-card .vap-card-summary .card-text .badge {
	margin-right: 5px;
}
.vap-card .vap-card-summary .card-text .card-text-primary {
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 5px;
}
.vap-card .vap-card-summary .card-text > * {
	color: #7f8fa4;
}
.vap-card .vap-card-summary .card-text .card-text-secondary {
	line-height: 22px;
}
.vap-card .vap-card-summary button.card-edit {
	margin-left: auto;
}

@media screen and (max-width: 1280px) {
	.vap-cards-container .vap-card-fieldset {
		width: calc(100% / 2);
	}
	.vap-cards-container .vap-card-fieldset.up-to-2 {
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
	.vap-cards-container .vap-card-fieldset {
		width: 100%;
	}
	.vap-cards-container .vap-card-fieldset .vap-card {
		/*margin: 10px 0;*/
	}	
}

/* new card placeholder */

.vap-card-fieldset.add > * {
	opacity: 0.7;
	cursor: pointer;
	height: calc(100% - 22px);
}
.vap-card-fieldset.add > *:hover {
	opacity: 1;
}
.vap-card-fieldset.add > * i {
	color: #ccc;
	font-size: 48px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.vap-card-fieldset.add .vap-card.compress {
	min-height: 65px;
}

/* inspector */

.record-inspector .inspector-body .inspector-form .time-control {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: start; 
}
.record-inspector .inspector-body .inspector-form .time-control > * {
	width: calc(50% - 2px) !important;
}

/* review card */

.vap-review-card {
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.vap-review-card .product-slide-left {
	padding: 10px;
	width: calc(30% - 20px);
	background: #f5f5f5;
	position: relative;
}
.vap-review-card .review-slide-right {
	width: calc(70%);
	position: relative;
	background: #e0e0e0;
}
.vap-review-card .product-slide-left .product-group {
	font-weight: 500;
}
.vap-review-card .review-slide-right .review-card-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: #efefef;
	padding: 10px; 
}
.vap-review-card .review-slide-right .review-card-top .review-details {
	width: calc(60% - 40px);
}
.vap-review-card .review-slide-right .review-card-top .review-details .user-name {
	font-weight: 500;
}
.vap-review-card .review-slide-right .review-card-top .review-details .user-email {
	font-size: smaller;
}
.vap-review-card .review-slide-right .review-card-top .review-vote {
	width: calc(40% - 40px);
	text-align: right;
	position: relative;
}
.vap-review-card .review-slide-right .review-card-top .review-vote .review-rating i {
	font-size: 28px;
	color: #eaca44;
}
.vap-review-card .review-slide-right .review-card-top .review-vote .review-date {
	position: absolute;
	bottom: 0;
	right: 0;
}
.vap-review-card .review-slide-right .review-card-content {
	background-color: #e0e0e0;
	padding: 20px 10px;
	margin-bottom: 40px;
}
.vap-review-card .review-slide-right .review-card-empty-content {
	padding: 20px 10px;
	border-top: 1px solid #e0e0e0;
	background-color: #eee;
}
.vap-review-card .review-slide-right .review-card-bottom {
	position: absolute;
	width: 100%;
	bottom: 0;
	background: #eee;
}
.vap-review-card .review-slide-right .review-card-bottom .inner {
	padding: 10px;
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 767px) {
	.vap-review-card .product-slide-left {
		display: none;
	}
	.vap-review-card .review-slide-right {
		width: 100%;
	}
}

/* admin custom fields */

.separator.custom-field {
	position: relative;
}
.separator.custom-field strong {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px;
	background: #fff;
}
.separator.custom-field hr {
	margin: 5px 0;
}

/* order items table */

.order-items-table .order-totals [data-column] > b,
.order-items-table .order-discount td > b {
	width: 140px;
	display: inline-block;
	padding: 2px 0;
}

.order-items-table .order-actions .pull-left {
	margin-right: 4px;
}
.order-items-table .order-actions .pull-right {
	margin-left: 4px;
}

/* configuration */

.configuration-panel {
	margin-top: 15px;
	background: #f1f2f8;
	border: 1px solid #ddd;
}

.configuration-panel #configuration-navbar {
	padding: 15px;
	border-bottom: 2px solid #ddd;
}
.configuration-panel #configuration-navbar ul,
.configuration-panel #configuration-body .vaptabview .config-panel-subnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.configuration-panel #configuration-body .vaptabview .config-panel-subnav ul {
	margin-bottom: 20px;
}
.configuration-panel #configuration-navbar ul li {
	display: inline-block;
	margin: 0;
}
.configuration-panel #configuration-navbar ul li a {
	display: inline-block;
	padding: 4px 12px;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
}
.configuration-panel #configuration-navbar ul li.vapconfigtabactive a {
	border-radius: 6px;
	background: #3071a9;
	color: #fff;
}
.configuration-panel #configuration-navbar ul li a:hover {
	text-decoration: none;
}

.configuration-panel #configuration-body form {
	margin: 0;
}
.configuration-panel #configuration-body .vaptabview {
	display: flex;
}

.configuration-panel #configuration-body .vaptabview .config-panel-subnav {
	border-right: 1px solid #ddd;
	min-width: 200px;
	background: #fafafa;
}
.configuration-panel #configuration-body .vaptabview .config-panel-subnav ul li {
	display: block;
	font-weight: bold;
	margin: 0;
	padding: 10px 15px;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
}
.configuration-panel #configuration-body .vaptabview .config-panel-subnav ul li.active {
	color: #002243;
	cursor: default;
	background: #eee;
}
.configuration-panel #configuration-body .vaptabview .config-panel-subnav ul li:not(.active) {
	color: #5f6770;
}
.configuration-panel #configuration-body .vaptabview .config-panel-subnav ul li i {
	width: 20px;
	text-align: center;
}
.configuration-panel #configuration-body .vaptabview .config-panel-tabview {
	flex: 1;
	padding: 15px;
	background: #f6f6f9;
}

.config-panel-tabview .config-fieldset {
	border: 1px solid #ddd;
}
.config-panel-tabview .config-fieldset:not(:last-of-type) {
	margin-bottom: 15px;
}
.config-panel-tabview .config-fieldset .config-fieldset-head {
	padding: 15px;
	background: #fbfbfb;
	border-bottom: 2px solid #ddd;
}
.config-panel-tabview .config-fieldset .config-fieldset-body {
	padding: 8px 15px;
	background: #fff;
}
.config-panel-tabview .config-fieldset:last-child {
	margin-bottom: 0;
}
.config-panel-tabview .config-fieldset .config-fieldset-head h3 {
	margin: 0;
	padding: 0;
}
.config-panel-tabview .config-fieldset .control-group {
	margin: 8px 0;
	display: inline-block;
	width: 100%;
}
.config-panel-tabview .config-fieldset .control-group .control-label {
	width: 160px;
	max-width: 160px;
	display: inline-block;
	vertical-align: top;
	margin-top: 5px;
}
.config-panel-tabview .config-fieldset .control-group .controls {
	display: inline-block;
	/*vertical-align: top;*/
	width: calc(100% - 164px);
}
.config-panel-tabview .config-fieldset .control-group .controls input,
.config-panel-tabview .config-fieldset .control-group .controls .input-append,
.config-panel-tabview .config-fieldset .control-group .controls .input-prepend {
	margin-bottom: 0px;
}
.config-panel-tabview .config-fieldset .controls * + .btn-group {
	margin-left: 10px;
}
.config-panel-tabview .config-fieldset .controls .btn-group .btn {
	min-width: 0;
}
.config-panel-tabview .config-fieldset .controls .badge {
	margin-top: 5px;
}

@media screen and (max-width: 767px) {
	.configuration-panel #configuration-body .vaptabview .config-panel-subnav {
		min-width: 50px;
	}
	.config-panel-tabview .config-fieldset .control-group .control-label {
		width: 100% !important;
		max-width: 100% !important;
		display: block;
		vertical-align: initial;
	}
	.config-panel-tabview .config-fieldset .control-group .controls {
		display: block;
		width: 100% !important;
	}
}

/* bootstrap */

@media screen and (max-width: 1280px) {
	.span4 .control-group .control-label {
		float: none;
		width: 100%;
		display: block;
		padding: 0;
		margin: 0;
	}
	.span4 .control-group .controls {
		display: block;
		width: 100%;
		margin: 4px 0 0 0;
		padding: 0;
	}
	.span4 legend + .control-group {
		margin-top: 0;
	}
}

/* print orders */

.vap-printer-layout {
	font-size: 14px !important;
	font-family: courier !important;
	margin: 10px;
}
.vap-print-order-wrapper:not(:last-child) {
	border-bottom: 2px dashed #aaa;
	margin-bottom: 20px;
	padding-bottom: 15px;
}

.vap-print-box {
	padding: 15px 10px;
	border: 1px solid #ddd;
	margin-bottom: 5px;
}
.vap-print-box .vap-print-field .vap-print-label {
	display: inline-block;
	width: 140px;
	font-weight: bold;
}

.vap-print-item {
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}
.vap-print-item:first-child {
	padding-top: 0;
}
.vap-print-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.vap-print-item .print-item-details:not(:only-of-type) {
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
}
.vap-print-item .print-item-optionslist .print-item-option {
	border-bottom: 1px solid #ddd;
	padding: 10px 0;
	display: flex;
}
.vap-print-item .print-item-optionslist .print-item-option .opt-quantity {
	width: 60px;
	text-align: right;
	margin-right: 6px;
}
.vap-print-item .print-item-optionslist .print-item-option .opt-name {
	flex: 1;
	font-weight: bold;
}
.vap-print-item .print-item-optionslist .print-item-option .opt-total {
	text-align: right,
}
.vap-print-item .print-item-totals {
	margin-top: 10px;
}

.vap-print-box .vap-total-row {
	text-align: right;
}
.vap-print-box .vap-total-row .vap-print-label {
	font-weight: bold;
}
.vap-print-box .vap-total-row .vap-print-label.red {
	color: #900;
}
.vap-print-box .vap-total-row .vap-print-amount {
	display: inline-block;
	width: 120px;
}

/* user notes modal */

.vap-unotes {
	padding: 10px 10px 20px 10px;
}
.vap-unotes > h1 {
	margin-top: 0;
}
.vap-unotes > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.vap-unotes > ul > li {
	border: 1px solid #ddd;
	margin: 0 0 10px 0;
	padding: 0;
}
.vap-unotes > ul > li .usernote-title {
	border-bottom: 1px solid #ddd;
	padding: 10px;
	background-color: #f1f2f8; 
}
.vap-unotes > ul > li .usernote-title:last-child {
	border-bottom: 0;
}
.vap-unotes > ul > li .usernote-title h4 {
	margin: 0 0 5px 0;
}
.vap-unotes > ul > li .usernote-content {
	padding: 10px;
}
.vap-unotes > ul > li .usernote-files {
	padding: 6px 10px;
}
.vap-unotes > ul > li .usernote-files .usernote-attachment {
	padding: 5px;
	border: 1px solid #ddd;
	margin: 4px 4px 4px 0;
	background: #f8f8f8;
	border-radius: 2px;
	color: #002243;
	text-decoration: none;
	display: inline-block;

	-webkit-transition: background 0.3s;
	-moz-transition: background 0.3s;
	-o-transition: background 0.3s;
	transition: background 0.3s;
}
.vap-unotes > ul > li .usernote-files .usernote-attachment:hover {
	text-decoration: none;
	background-color: #002243;
	color: #fff;
}
.vap-unotes > ul > li .usernote-content + .usernote-files {
	border-top: 1px solid #ddd;
}
.vap-unotes *:last-child {
	margin-bottom: 0;
}

/* customer info : notes */

.user-notes-container {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.user-note-box {
	background: #e6edf8;
	padding: 10px 20px;
	width: calc(50% - 55px);
	margin-bottom: 30px;
}
.user-note-box legend {
	border-bottom-color: #aaa;
}
.user-note-box legend i {
	font-size: 16px;
	float: right;
	line-height: 36px;
}
.user-note-box .user-note-body {
	margin-bottom: 30px;
	height: 100%;
	clear: none;
}
.user-note-box .user-note-footer {
	display: inline-block;
	width: 100%;
}
.user-note-box .user-note-footer .user-note-tags {
	float: left;
}
.user-note-box .user-note-footer .user-note-date {
	float: right;
}
.user-note-box fieldset {
	height: calc(100% - 50px);
}
.user-note-box.note-draft {
	padding: 0px;
	position: relative;
	width: 100%;
}
.user-note-box.note-draft .textarea-box {
	display: flex;
}
.user-note-box.note-draft .textarea-box textarea {
	width: 100%;
	height: 200px;
	resize: vertical;
	padding: 10px 30px 10px 10px;
}
.user-note-box.note-draft .tip-box {
	position: absolute;
	top: 5px;
	right: 10px;
}
.user-note-box.note-draft .tags-box {
	position: absolute;
	bottom: 10px;
	left: 12px;
	max-width: calc(100% - 250px);
}
.user-note-box.note-draft .status-box {
	position: absolute;
	bottom: 10px;
	right: 12px;
}
.user-note-box.note-draft .tags-box a {
	margin-right: 6px;
	font-size: 16px;
	opacity: 0.4;
	text-decoration: none;
}
@media screen and (max-width: 768px) {
	.user-note-box {
		width: 100%;
	}
}

/* clipboard utils */

textarea.keep-active-but-hidden {
	width: 0 !important;
	height: 0 !important;
	opacity: 0 !important;
	float: right;
	cursor: default;
}

/* analytics widgets builder */

.widgets-builder h3 {
	margin-top: 0;
}
.widgets-builder .widgets-position-row {
	background-color: #e8e6f0;
	padding: 10px 20px 30px 20px;
	border-radius: 4px;
	min-height: 100px;
	margin-bottom: 20px;
	cursor: pointer;
	position: relative;
}
.widgets-builder .widgets-position-row .widgets-position-container {
	display: flex;
	justify-content: space-between;
	min-height: 80px;
}
.widgets-builder .widgets-position-row.add-new-position {
	border: 4px solid #e8e6f0;

	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.widgets-builder .widgets-position-row.add-new-position:hover {
	background-color: #fff;
}
.widgets-builder .widgets-position-row .widget-thumb {
	background-color: #fff;
	padding: 10px 10px 5px 10px;
	width: 100%;
	height: auto !important;
	margin: 0 10px;
	cursor: pointer;
	border-radius: 4px;
	position: relative;
}
.widgets-builder .widgets-position-row .widget-thumb.add-new-widget {
	background-color: #fff;

	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.widgets-builder .widgets-position-row .widget-thumb.add-new-widget:hover {
	background-color: #bedce7;
}
.widgets-builder .widgets-position-row.add-new-position i.fa-plus,
.widgets-builder .widgets-position-row .widget-thumb.add-new-widget i.fa-plus {
	font-size: 48px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	-webkit-transition: color 0.5;
	-moz-transition: color 0.5;
	-o-transition: color 0.5;
	transition: color 0.5;
}
.widgets-builder .widgets-position-row.add-new-position i.fa-plus {
	color: #fff;
}
.widgets-builder .widgets-position-row.add-new-position:hover i.fa-plus {
	color: #e8e6f0;
}

.widgets-builder .widgets-position-row .widget-thumb.add-new-widget i.fa-plus {
	color: #bedce7;
}
.widgets-builder .widgets-position-row .widget-thumb.add-new-widget:hover i.fa-plus {
	color: #fff;
}
.widgets-builder .widgets-position-row i.position-sort-handle, 
.widgets-builder .widgets-position-row .widget-thumb i.widget-sort-handle {
	position: absolute;
	top: 10px;
	right: 4px;
	width: 20px;
	text-align: center;
}

/* analytics widgets */

.dashboard-widgets-container {
	display: flex;
	justify-content: space-between;
}
.dashboard-widgets-container .dashboard-widget {
	border: 1px solid #ddd;
	min-height: 200px;
	padding: 10px;
	position: relative;

	/* 22px = 10px padding * 2 + 1px border * 2 */
	max-width: calc(100% - 22px);
}
.dashboard-widget .widget-wrapper {
	height: 100%;
}
.dashboard-widget .widget-head {
	position: relative;
	margin-bottom: 10px;
}
.dashboard-widgets-container .dashboard-widget .widget-head h3 {
	margin: 0;
	color: #476799;
	font-size: 18px;
}
.dashboard-widgets-container .dashboard-widget .widget-head .widget-actions {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 16px;
}
.dashboard-widgets-container .dashboard-widget .widget-head .widget-actions > *:not(:last-child) {
	margin-right: 10px;
}
.dashboard-widgets-container .dashboard-widget:not(:last-child) {
	border-right: 0;
}
.dashboard-widgets-container:not(:last-child) .dashboard-widget {
	border-bottom: 0;
}
.dashboard-widgets-container:last-child {
	margin-bottom: 20px;
}
.dashboard-widget .widget-body {
	/*
	Extend body height to cover all the space.
	100% - (HEAD_HEIGHT + HEAD_MARGINS)
	*/
	height: calc(100% - 30px);
}
.dashboard-widget .widget-body canvas {
	z-index: 1;
}
.dashboard-widget .widget-body .canvas-align-top,
.dashboard-widget .widget-body .canvas-align-center,
.dashboard-widget .widget-body .canvas-align-bottom {
	height: 100%;
	display: flex;
	justify-content: center;
}
.dashboard-widget .widget-body .canvas-align-top {
	align-items: flex-start;
}
.dashboard-widget .widget-body .canvas-align-center {
	align-items: center;
}
.dashboard-widget .widget-body .canvas-align-bottom {
	align-items: flex-end;
}
.dashboard-widget .widget-body .widget-floating-box {
	display: inline-block;
	width: calc(100% - 20px);
	position: absolute;
	bottom: 10px;
}
.dashboard-widget .widget-body .widget-floating-box.top-right {
	display: inline-block;
	width: auto;
	position: absolute;
	bottom: inherit;
	right: 10px;
}
.dashboard-widgets-container.dashboard .dashboard-widget {
	min-height: 0;
}

@media screen and (max-width: 899px) {
	.dashboard-widgets-container {
		display: block !important;
		margin-bottom: 0 !important;
	}
	.dashboard-widgets-container .dashboard-widget {
		width: 100% !important;
		min-height: 0 !important;
	}
	.dashboard-widget .widget-body {
		position: relative;
	}
	.dashboard-widget .widget-body .widget-floating-box {
		position: inherit;
		bottom: 0;
	}
	.dashboard-widget.floating .widget-body .widget-floating-box {
		bottom: 10px;
	}

	.dashboard-widgets-container .dashboard-widget {
		border-right: 1px solid #ddd !important;
	}
	.dashboard-widgets-container .dashboard-widget:not(:last-child) {
		border-bottom: 0;
	}
	.dashboard-widgets-container.floating .dashboard-widget {
		border: 0 !important;
	}
}

.widget-revenue-table {
	border: 1px solid #e2e4e7;
	border-bottom: 0;
}
.widget-revenue-table table {
	width: 100%;
	border-collapse: collapse;

}
.widget-revenue-table table thead th,
.widget-revenue-table table tfoot td {
	padding: 16px 24px;
	background-color: #f8f9fa;
	border-bottom: 1px solid #e2e4e7;
	font-weight: bold;
	white-space: nowrap;
}
.widget-revenue-table table tr td {
	border-bottom: 1px solid #e2e4e7;
	padding: 16px 24px;
}
.widget-revenue-table.narrow table thead th,
.widget-revenue-table.narrow table tfoot td {
	padding: 8px 12px;
}
.widget-revenue-table.narrow table tr td {	
	padding: 8px 12px;
}
.widget-revenue-table table thead th.sorted,
.widget-revenue-table table tr td.sorted {
	background: #f0f0f0;
}
.widget-revenue-table table .actions-group {
	margin-left: 5px;
}
.widget-revenue-table table .actions-group a {
	margin: 0 1px;
}
.widget-revenue-table table .actions-group a:hover {
	text-decoration: none;
}
.widget-revenue-table table .actions-group i {
	font-size: 14px;
}
@media print {
	.widget-revenue-table table a[data-order-col] i[class*="fa-"],
	.widget-revenue-table table a[data-order-col] span[class*="icon-"] {
		display: none;
	}
}

/* payment parameters */
.vikpayparamdiv > .payment-logo {
	text-align: center;
	margin-bottom: 15px;
}

.vap-worktime-import-wrapper .import-editor {
	margin-top: 10px;
}
.worktime-import-preview .wd-date > label {
	display: inline-block;
	font-weight: bold;
	margin: 0 5px;
	width: auto;
}
.worktime-import-preview .wd-time > label {
	display: inline-block;
	margin-left: 5px;
	width: auto;
}

/* hack used to disable the browser selection */
.vap-disable-selection {
	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
		 -moz-user-select: none; /* Old versions of Firefox */
		  -ms-user-select: none; /* Internet Explorer/Edge */
			  user-select: none; /* Non-prefixed version, currently
								  supported by Chrome, Edge, Opera and Firefox */
}

.vap-list-pagination {
	display: flex;
	justify-content: space-between;
	align-items: start;
}

.vap-list-pagination .pagination {
	margin: 0;
}