/* 
	Override existing and specify new specific rules
 */
.withTax .showWithoutTax {
	display:none;
}
.withTax .showWithTax {
}

.withoutTax .showWithoutTax {
}
.withoutTax .showWithTax {
	display:none;
}

.subTax {
	display: none;
}
.withSub .subTax {
	display: table-cell;	
}

time.small {
	  font-size: 50%;
}

time
{
  font-family: "Helvetica Neue Bold", arial, helvetica, sans-serif;
}


time.icon
{
  font-size: .85em; /* change icon size */
  display: block;
  position: relative;
  width: 7em;
  height: 7em;
  background-color: #fff;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: rotate(0deg) skewY(0deg);
  -webkit-transform-origin: 50% 10%;
  transform-origin: 50% 10%;
}

time.icon *
{
  display: block;
  width: 100%;
  font-size: .85em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}

time.icon strong
{
  position: absolute;
  top: 0;
  padding: 0.4em 0.3em 0;
  color: #fff;
  background-color: #fd9f1b;
  border-bottom: 1px dashed #f37302;
  box-shadow: 0 2px 0 #fd9f1b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.2em;
}


time.icon strong span {
	overflow: hidden;
	text-overflow: ellipsis
}

time.icon em
{
  position: absolute;
  bottom: 0.3em;
  color: #fd9f1b;
}

time.icon p
{
  width: 100%;
  font-size: 2.8em;
  letter-spacing: -0.05em;
  padding-top: 0.8em;
  color: #2f2f2f;
}

time.icon.treatment strong{
	background-color: #23ae89;
	border-bottom: 1px dashed #177259;
	box-shadow: 0 2px 0 #23ae89;
}


time.icon.appointment strong{
    background-color: #2ec1cc;
    border-bottom: 1px dashed #000000;
    box-shadow: 0 2px 0 #2ec1cc;
}

.closed time.icon.treatment strong{
	background-color: #92aea6;
	border-bottom: 1px dashed #4a7267;
	box-shadow: 0 2px 0 #92aea6;
}

.closed time.icon.appointment strong{
    background-color: #92aea6;
    border-bottom: 1px dashed #4a7267;
    box-shadow: 0 2px 0 #92aea6;
}

time.icon.treatment em {
	color: #23ae89;
}


time.icon.appointment em {
    color: #2ec1cc;
}

time.icon.action:hover, time.icon.action:focus
{
  -webkit-animation: swing 0.6s ease-out;
  animation: swing 0.6s ease-out;
}

@-webkit-keyframes swing {
  0%   { -webkit-transform: rotate(0deg)  skewY(0deg); }
  20%  { -webkit-transform: rotate(12deg) skewY(4deg); }
  60%  { -webkit-transform: rotate(-9deg) skewY(-3deg); }
  80%  { -webkit-transform: rotate(6deg)  skewY(-2deg); }
  100% { -webkit-transform: rotate(0deg)  skewY(0deg); }
}

@keyframes swing {
  0%   { transform: rotate(0deg)  skewY(0deg); }
  20%  { transform: rotate(12deg) skewY(4deg); }
  60%  { transform: rotate(-9deg) skewY(-3deg); }
  80%  { transform: rotate(6deg)  skewY(-2deg); }
  100% { transform: rotate(0deg)  skewY(0deg); }
}


ul.treatmentList {
	list-style-type: none;
	margin:auto;
}
ul.treatmentList li {
	float:left;
	margin-left: 5px;
	margin-bottom: 5px;
}

ul.appointmentList {
    list-style-type: none;
    margin:auto;
}
ul.appointmentList li {
    float:left;
    margin-left: 5px;
    margin-bottom: 5px;
}

/** The selection of the marker base image
 */
#baseImageSelect img {
	cursor: pointer;
	margin:3px;
}

#baseImageSelect img.active {
	margin:2px;
	border:1px solid black;
}

/* Select of a position in treatment detail */
.POJO.selected {
  background-color: #FFEF8F;
}
#treatmentPosition .POJO {
	border: 1px solid transparent;
	border-bottom: 1px solid #dee2e6;
}

/* Maybe replace this with a real checkbox */
#invoiceSelectDlg .ui-icon.action {
	cursor:pointer;
	border:1px solid #D8DCDF;
	border-radius:4px;
	margin-right:1px;
	display:inline-block;
	height: 18px;
	width: 18px;
	margin-bottom: -5px;
}

/* Adapted styles from bootstrap-overlay.css */
.ui-dialog-titlebar-close {
	right: 15px;
	border: none;
	color: #555;
	background: none;
	cursor: pointer;
	text-shadow: 0 1px 0 #fff;
	line-height: 1;
	font-size: 1rem;
	margin-top: -10px;
	font-family: "Font Awesome 7 Pro";
}
.ui-dialog-titlebar-close:after {
	content: "\f00d";
}
.ui-dialog a.ui-dialog-titlebar-close.ui-state-hover {
	border: none;
	background: transparent;
}
.ui-dialog a.ui-dialog-titlebar-close:focus
	{
	padding: 1px;
	color: #454545;
}

.chapter-container {
	overflow: auto;
	height: calc(100vh - 60px)
}

.chapter h3 {
	padding: 0.7rem 16px;
	margin-left: -15px;
	margin-top: 7px;
	margin-bottom: 5px;
	background-color: #eee;
	font-size: 17px;
}
