html, body{
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	background-size: cover;
	cursor: auto;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div, table, input, textarea, aside, fieldset, label, select, span, a{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

textarea{
	font-family: inherit;
	font-size: inherit;
	resize: none;
	margin: 0 0 -4px 0;
	border: 1px solid #D8D8D8;
	padding: 4px 4px 3px 4px;
}

input{
	font-size: inherit;
}

input[required].ng-touched.ng-invalid{
	background-color: #FF9999;
}

input[type=text], input[type=password], input[type=date], select, input[type=email], input[type=number] {
  border: 1px solid #D8D8D8;
  width: 10em;
  height: 1.8rem;
  margin: 0px 0 0px 0;
  padding: 0px 4px 0px 4px;
  font-family: inherit;
  font-size: inherit;
}

/** removes spinner */
input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

input[type=checkbox]{
}

input.approved, select.approved {
	background: #99FF99;
}

input.disapproved, select.disapproved, div.disapproved {
	background: #FFFF99 url('../images/warning.png') no-repeat right center;
}

table{
	border-collapse: collapse;
}

span.required{
	color: red;
}

button{
	cursor: pointer;
	font-size: inherit;
	font-weight: bold;
	border-radius: 3px;
	padding: 5px 15px;
	border: 1px solid #D8D8D8;
	background-color: #F0F0F0;
	transition: background-color 0.4s, box-shadow 0.4s;
}

button:hover:enabled:NOT(.btn){
	box-shadow: 0px 2px 2px -2px #888888 inset;
	/*background-color: rgba(150,150,150,0.1);*/
	-webkit-filter: brightness(95%);
	filter: brightness(95%);
}

button:active:enabled:NOT(.btn){
	box-shadow: 0px 2px 2px -2px #888888 inset;
	background-color: #b0d8e2;
}

button:enabled.active:NOT(.btn){
	box-shadow: 0px 2px 2px -2px #888888 inset;
	background-color: #b0d8e2;
}

button:enabled.positive{
	background: #63b04a;
}

button:enabled.negative{
	background: #dc4437;
}

button:enabled.warning{
	background: #f0ad4e;
}

button:disabled{
	cursor: auto;
	color: #999999;
	border: 1px solid #E9E9E9;
	background-color: transparent;
}

a{
	text-decoration: none;
}

h1{
	font-size: 160%;
}

h2{
	font-size: 130%;
}

h3{
	font-size: 120%;
}

h4{
	font-size: 112%;
	margin-bottom: 0px;
	font-weight: bold;
}

h5{
	font-size: 112%;
	margin: 0px;
	font-weight: bold;
}

.inline{
	display: inline-block;
}

.miNoWrap{
	white-space: nowrap;
}

.overlay{
	position: absolute;
	top: 5%;
	left: 5%;
	bottom: 5%;
	right: 5%;
	width: 90%;
	height: 90%;
}

.overlay.small{
	top: 10%;
	left: 10%;
	bottom: 10%;
	right: 10%;
	width: 80%;
	height: 80%;
}

.miNoSelect{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.miInline{
	display: inline-block;
}

/*#dashboard{
	position: relative;
	margin: 0px auto;
	padding: 10px;
	height: 100%;
}*/


/** MiButton class **/
.miButton
{
	position: relative;
	border: 1px solid #dcdcdc;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 0.2em;
	cursor: pointer;
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	/*margin-right: 1.2em;*/
	height: 2.5rem;
	line-height: 2.5em;
	min-width: 5em;
	outline: 0px;
	padding: 0 0.7em;
	display: inline-block;
	vertical-align: middle;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: box-shadow .4s;
}

.miButton.dc{
	color: #333;
	background-color: #FFF;
}

.miButton:not(.disabled):before{
	content: "";
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-image: -webkit-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.1));
	background-image: -moz-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.1));
	background-image: -ms-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.1));
	background-image: -o-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.1));
	background-image: linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.1));
}

.miButton:not(.disabled):hover{
	box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2),
    0px 10px 14px 1px rgba(0, 0, 0, 0.14),
    0px 4px 18px 3px rgba(0, 0, 0, 0.12);
}

.miButton.dc:not(.disabled):hover{
	color: #111;
}

.miButton:not(.disabled):hover:before{
	background-image: -webkit-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.05));
	background-image: -moz-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.05));
	background-image: -ms-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.05));
	background-image: -o-linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.05));
	background-image: linear-gradient(top,rgba(0,0,0,0.01),rgba(100,100,100,0.05));
}

.miButton:not(.disabled):active{
  border: 1px solid #c6c6c6;
  box-shadow: inset 0.1rem 0.1em 0.1em 0.2em rgba(0,0,0,0.1);
}

.miButton.dc:not(.disabled):active{
  color: #111;
 }

.miButton:not(.disabled):active:before{
	background-image: -webkit-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: -moz-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: -ms-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: -o-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
}

.miButton.active{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: 1px solid #c6c6c6;
	/*outline: 0px;*/
 	box-shadow: inset 0.1rem 0.1em 0.1em 0.2em rgba(0,0,0,0.1);
}

.miButton.dc.active{
	color: #111;
}

.miButton.active:before{
	background-image: -webkit-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: -moz-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: -ms-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: -o-linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
	background-image: linear-gradient(top,rgba(0,0,0,0.03),rgba(100,100,100,0.15));
}

.miButton.selected{
  border: 1px solid #c6c6c6;
  box-shadow: inset 0.1rem 0.1em 0.1em 0.2em rgba(0,0,0,0.1);
  outline: 1px solid #12b1da;
}

.miButton.dc.selected{
	color: #111;
}

.miButton.selected:after{
	background-image: -webkit-linear-gradient(bottom,rgba(0,0,0,0.03),rgba(100,100,100,0.20));
	background-image: -moz-linear-gradient(bottom,rgba(0,0,0,0.03),rgba(100,100,100,0.20));
	background-image: -ms-linear-gradient(bottom,rgba(0,0,0,0.03),rgba(100,100,100,0.20));
	background-image: -o-linear-gradient(bottom,rgba(0,0,0,0.03),rgba(100,100,100,0.20));
	background-image: linear-gradient(bottom,rgba(0,0,0,0.03),rgba(100,100,100,0.20));
}

.miButton.collapseLeft{
	border-radius: 0 0.2em 0.2em 0;
	border-left: 0;
	min-width: 1em;
}

.miButton.collapseRight{
	border-radius: 0.2em 0 0 0.2em;
	margin-right: 0;
	min-width: 1em;
}

.miButton.collapseBoth{
	border-radius: 0;
	border-left: 0;
	margin-right: 0;
	margin-left: 0;
	min-width: 1em;
}

.miButton.disabled{
	background-image: none;
	cursor: initial;
	opacity: 0.6;
}

.miButton.round{
	border-radius: 50%;
	min-width: 2.5rem;
	padding: 0;
}

.round{
	border-radius: 50%;
}

.miButton.small, .small{
	margin: 0px;
	width: 1.6em;
	min-width: 1em;
	padding: 0;
	height: 1.6em;
	/*font-size: 0.7em;*/
	line-height: 1.6em;
}

.miButton.positive .fa{
	color: #82C06E;
}

.miButton.negative .fa{
	color: #E3695F;
}

.miButton.information .fa{
	color: #B0D8E2;
}

.miButton.round.positive{
	background-color: #82C06E;
}

.miButton.round.negative{
	background-color: #E3695F;
}

.miButton.round.information{
	background-color: #B0D8E2;
}

.miButton.round.positive .fa,
.miButton.round.negative .fa,
.miButton.round.information .fa{
	color: inherit;
}

.miButton .preimg{
	vertical-align: middle;
	height: calc( 100% - .4rem );
	margin: .2rem .4rem .2rem -.3rem;
	float: left;
}

.miButton .icon{
	vertical-align: middle;
	height: 80%;
	margin: 10% 0;
}

/*miTable Element*/
.miTable{
	width: 100%;
}

.miTable.fixed{
	table-layout: fixed;
}

.miTable th:not(:last-child){
	border-right: 0.1em solid #F0F0F0;
}

.miTable td:not(:last-child){
	border-right: 0.1em solid #F0F0F0;
}

.miTable tbody tr:not(.selected):nth-child(even)
{
	background-color: rgba(0,0,0,0.03);
}

.miTable tbody tr:not(.selected):nth-child(odd)
{
	background-color: rgba(255,255,255,0.03);
}

.miTable tbody tr:not(.selected):not(.inactive):hover{
	outline: 1px solid #12b1da;
	outline-offset: -1px;
}

.miTable tbody tr:not(.selected):not(.inactive) td:hover{
	background-color: #F8F8A0;
	outline: 1px solid #12b1da;
	outline-offset: -1px;
}

.miTable tbody tr.inactive{
	background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(0,0,0,0.05) 15px, rgba(0,0,0,0.05) 35px);
}

.miTable tbody tr.inactive td{
	opacity: 0.8;
}

.miTable td
{
	position: relative;
	padding: 0.4em 0.8em;
}

.miTable.fixed td{
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.miTable th
{
	border-bottom: 0.1em solid #F0F0F0;
	border-top: 0.1em solid #F0F0F0;
	cursor: pointer;
	padding: 0.4em 0.8em;
}

/*Custom Dropdown menu*/
.miDropdown{
    height: 2.4em;
    line-height: 2.4em;
    padding: 0 1.4em 0 0.8em;
    position: relative;
    border: 1px solid #D8D8D8;
}

.miDropdown:after{
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	right: 0.8em;
	top: 50%;
	margin-top: -0.4em;
	border-width: 0.4em 0 0.4em 0.4em;
	border-style: solid;
	border-color: transparent #808080;
}

.miDropdown.selected{
    outline: -webkit-focus-ring-color auto 5px;
    border-bottom: 0px;
}

.miDropdown.selected:after{
    border-color: #12B1DA transparent;
    border-width: 0.4em 0.4em 0 0.4em;
    margin-top: -0.2em;
}

.miDropdown.selected .miOptions{
    visibility: visible;
}

.miDropdown .miOptions .right{
	float: right;
	color: #CCCCCC;
	font-weight: lighter;
}

.miDropdown .miOptions{
    visibility: hidden;
    position: absolute;
    background: white;
    border: 1px solid #F0F0F0;
    border-top: 0px;
    top: 100%;
    width: calc( 100% - 1px );
    left: -1px;
    margin: 0;
    padding: 0;
    list-style: none;
    box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
    z-index: 1;
}

.miDropdown .miOptions li{
   padding: 0.4em;
   padding: 0 0.4em 0 0.8em;
}

.miDropdown .miOptions li:hover{
   background: #F0F0F0;
}


/*Other default classes*/
.card{
	z-index: 3;
	position: relative;
	margin: 6px;
	border-radius: 2px;
	overflow: hidden;
	background-color: #FFF;
	box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.2),
		0px 2px 2px 0px rgba(0, 0, 0, 0.14),
		0px 3px 1px -2px rgba(0, 0, 0, 0.12);
	z-index: 2;
	transition: box-shadow .4s, z-index .4s;
}
.card.picked{
	box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
		0px 8px 10px 1px rgba(0, 0, 0, 0.14),
		0px 3px 14px 2px rgba(0, 0, 0, 0.12);
	z-index: 8;
}

.cardspace > h1{
	margin-left: .8rem;
}

.fill{
	width: 100%;
	height: 100%;
}

.dp{
	padding: 0.8rem;
}

.acc{
	vertical-align: center;
	text-align: center;
}

.cp{
	cursor: pointer;
}

.nopad{
	padding: 0px;
}

.pad{
	padding: 0.8rem;
}

.padX{
	padding-left: 0.8rem;
	padding-right: 0.8rem;
}

.padY{
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

.shade{
	box-shadow: 0 0 .8rem #777;
}

.card.shade{
	box-shadow: 0 0 0.4rem rgba(0,0,0,0.2);
}

.fa-shade{
	text-shadow: 0 0 2px #777;
}

.fa-stack{
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.panel{
	border-radius: 2px;
	/*box-shadow: 0 0 .8rem #777;
	margin: .8rem;*/
	position: relative;
	overflow: hidden;
}
.panel.nocrop{
	overflow: visible;
}

.resizehandle{
	position: absolute;
	right: .4rem;
	bottom: .4rem;
	width: 1.6em;
	height: 1.6em;
	cursor: se-resize;
	z-index: 10;
	background: transparent url('../images/resize.png') no-repeat center center;
	background-size: 100%;
	background-position: right bottom;
}

.note{
	margin: 10px 0px 0;
	font-size: 0.9rem;
	text-align: justify;
	font-style: italic;
	border: 1px solid #F0F080;
	padding: 5px;
	background: #FFFFF0;
}

.caption{
	float: center;
	font-size: 150%;
	text-align: center;
	background: rgba(150,150,150,0.5);
	padding: 10px;
	z-index: 20;
	margin: auto;
	display: block;
	width: 30%;
	box-shadow: 0px 2px 4px -1px #12b1da;
}

.popout{
	position: fixed;
	width: 30em;
	z-index: 100;
	box-shadow: 0px 0px 4px 0px #BBBBBB;
}

.cimg{
	background-size: cover;
	background-position: center center;
}

.figure{
	break-inside: avoid-column;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	padding: 10px;
	background: #F9F9F9;
}

.figure .image{
	margin: auto;
}

.figure .description{
	width: 100%;
	font-style: italic;
	text-align: center;
}

/* flexbox style */
.flexbox{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
}

.flexbox.reverse{
	-webkit-flex-wrap: wrap-reverse;
	-ms-flex-wrap: wrap-reverse;
	flex-wrap: wrap-reverse;
}

.flexbox.nowrap{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row nowrap;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
}

.flexbox > .fillw{
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
}

.flexbox.atop{
	-webkit-align-items: flex-start;
	align-items: flex-start;
	-webkit-align-content: flex-start;
	align-content: flex-start;
}

.flexbox.around{
    justify-content: space-around;
}

.flex_container{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.flex{
	position: relative;
	display: block;
	-ms-flex: 1 1 auto;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}

.flexbox.row {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -webkit-flex-wrap: wrap;
    -webkit-align-content: space-between;
    -webkit-justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-around;
}
.flexbox.row.reverse {
    -webkit-flex-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
}

.flexbox > .sbs2{
	-webkit-flex-basis: 47%;
	flex-basis: 47%;
	flex-grow: 1;
	flex-shrink: 1;
}
.flexbox > .sbs3{
	-webkit-flex-basis: 33.33333%;
	flex-basis: 31.33333%;
	flex-grow: 0;
	flex-shrink: 1;
}
.flexbox > .sbs4{
	-webkit-flex-basis: 22%;
	flex-basis: 22%;
	flex-grow: 0;
	flex-shrink: 1;
}

.flexbox.mid .col{
	min-width: 8.33333%;
}
.flexbox .col {
    position: relative;
    min-width: 240px;
    overflow: hidden;
    -ms-flex-negative: 1;
    -webkit-flex-grow: 0;
    -webkit-flex-shrink: 0;
    flex-grow: 0;
    flex-shrink: 0;
}
.flexbox .col.head{
	padding: 0 24px;
  font-size: 0.9em;
  color: rgba(0,0,0,.54);
  white-space: nowrap;
  overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
}
.flexbox .col.w0 {
    -webkit-flex-basis: 0%;
    flex-basis: 0%}
.flexbox .col.w1 {
    -webkit-flex-basis: 8.33333%;
    flex-basis: 8.33333%}
.flexbox .col.w2 {
    -webkit-flex-basis: 16.66667%;
    flex-basis: 16.66667%}
.flexbox .col.w3 {
    -webkit-flex-basis: 25%;
    flex-basis: 25%}
.flexbox .col.w4 {
    -webkit-flex-basis: 33.33333%;
    flex-basis: 33.33333%}
.flexbox .col.w5 {
    -webkit-flex-basis: 41.66667%;
    flex-basis: 41.66667%}
.flexbox .col.w6 {
    -webkit-flex-basis: 50%;
    flex-basis: 50%}
.flexbox .col.w7 {
    -webkit-flex-basis: 58.33333%;
    flex-basis: 58.33333%}
.flexbox .col.w8 {
    -webkit-flex-basis: 66.66667%;
    flex-basis: 66.66667%}
.flexbox .col.w9 {
    -webkit-flex-basis: 75%;
    flex-basis: 75%}
.flexbox .col.w10 {
    -webkit-flex-basis: 83.33333%;
    flex-basis: 83.33333%}
.flexbox .col.w11 {
    -webkit-flex-basis: 91.66667%;
    flex-basis: 91.66667%}
.flexbox .col.w12 {
    -webkit-flex-basis: 100%;
    flex-basis: 100%}
.flexbox .col.ag {
    -webkit-flex-grow: 1;
    flex-grow: 1;
}
.flexbox .col.as {
    -webkit-flex-shrink: 1;
    flex-shrink: 1;
}

.crop{
	overflow: hidden;
}

/* Responsive tags */
@media(max-width: 2500px){
	.show-xxl-up{
		display: none;
	}
}

@media(max-width: 1900px){
	.show-xl-up{
		display: none;
	}
	.sbs2.fxl, .sbs3.fxl, .sbs4.fxl{
		-webkit-flex-basis: 100%;
    flex-basis: 100%
	}
}

@media(max-width: 1200px){
	.show-lg-up{
		display: none;
	}
	.sbs2.fl, .sbs3.fl, .sbs4.fl{
		-webkit-flex-basis: 100%;
    flex-basis: 100%
	}
}

@media(max-width: 992px){
	.show-md-up{
		display: none;
	}
}

@media(max-width: 768px){
	.show-sm-up{
		display: none;
	}
}

/*Modal style*/
.modal-container {
	position: fixed;
	-webkit-overflow-scrolling: touch;
	z-index: 101;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding-top: 50px;
	text-align: center;
	overflow: auto;
}

.modal-container *{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.modal-container-overlay {
	background: black;
	filter: alpha(opacity=40);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	animation: vex-fadein 0.5s;
	-webkit-animation: vex-fadein 0.5s;
	-moz-animation: vex-fadein 0.5s;
	-ms-animation: vex-fadein 0.5s;
	-o-animation: vex-fadein 0.5s;
	-webkit-backface-visibility: hidden;
	position: fixed;
	background: rgba(0, 0, 0, 0.4);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.modal-container-content {
	position: relative;
	margin: 0 auto;
	max-width: 100%;
	display: inline-block;
}

.modal-container-content > *:not(.unstyled) {
	padding: .8rem;
	border-radius: .4rem;
	background-color: #FFF;
	box-shadow: 0 0 .8rem #777;
}

/*Browser compatibility*/
#browsercompatibility{
	width: 100%;
	text-align: center;
	margin-top: 150px;
	color: #303030;
}

#browsercompatibility h1{
	color: #303030;
}

#browsercompatibility p{
	display: inline-block;
	width: 30em;
	text-align: justify;
	color: #303030;
}

#browsercompatibility ul{
	display: inline-block;
	width: 30em;
	text-align: left;
	color: #303030;
}

.nnr{
	background: #DD2222;
	color: #E5E5E5;
	border-radius: 8px;
	position: absolute;
	font-weight: bold;
	top: 2px;
	right: 2px;
	padding: 2px;
	border: 1px solid #FF0000;
	font-size: 0.85rem;
	line-height: 0.85rem;
	min-width: 1.2rem;
	text-align: center;
}

/* Left list elements */
.left_list_group .anchor{
    width: 1.6em;
    height: 1em;
    transition: transform 0.4s;
    margin-right: .4em;
}

.left_list_group.selected .anchor{
	-webkit-transform: rotate(90deg);     /* Chrome and other webkit browsers */
	-moz-transform: rotate(90deg);        /* FF */
	-o-transform: rotate(90deg);          /* Opera */
	-ms-transform: rotate(90deg);         /* IE9 */
	transform: rotate(90deg);             /* W3C complaint browsers */
}

.left_list_group_items{
    border-left: 0.4rem solid #FFF;
    border-radius: 0 0 0 3px;
    padding-left: .8rem;
    padding-top: 0.2rem;
    height: auto;
    margin-top: -.6rem;
    max-height: 0px;
    transition: max-height 0.6s;
    overflow: hidden;
}

.left_list_group_items.selected, .left_list_group_items.open{
	max-height: 500px;
}

.left_list_item{
	display: block;
}

.left_list_item.tab{
	padding-left: calc( 10px + 2em );
}

.left_list_item .cimg{
	width: 4rem;
	height: 4rem;
	margin: 0 10px 0 0;
	background-size: cover;
	background-position: center center;
	float: left;
}

.left_list_item .subinfo{
	position: absolute;
	bottom: 2px;
	right: 10px;
	font-size: 90%;
	color: #666666;
	display: block;
}

.left_list_item img{
	display: inline-block;
	vertical-align: middle;
	height: 2em;
	margin: 0 5px 0 5px;
	max-height: 2em;
}

.left_list_item img.close{
    display: inline-block;
    vertical-align: middle;
    height: 1.2em;
    margin: 0;
    max-height: 2em;
    float: right;
}

.paginationBar{
}

.paginationBar ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.paginationBar ul li{
	display: inline-block;
	height: 100%;
}

.paginationBar ul li.active{
	background-color: #12b1da;
	color: white;
}

.paginationBar ul li a{
    padding: .8rem;
    display: block;
    color: inherit;
}

/** other id elements **/
#undocked_widgets
{
	position: fixed;
	width: 0px;
	height: 0px;
	bottom: 0px;
	left: 0px;
	overflow: visible;
	z-index: 5;
}

#undocked_widgets .widget{
	z-index: 50;
}

#undocked_widgets .widget.outlined{
	box-shadow: 3px 4px 2px 0px #BBBBBB;
	border: 1px solid #D8D8D8;
}

#footer{
    position: absolute;
    color: #999999;
    text-align: center;
    bottom: 0px;
    min-width: 100%;
    background: #E5E5E5;
    box-shadow: 0px 0px 3px 0px #E5E5E5;
    z-index: 20;
}

.text-center {
	text-align: center;
}.text-left {
	text-align: left;
}.text-right {
	text-align: right;
}

.cancel{
    text-decoration: underline;
    color: #FF860E;
    font-size: 1.2rem;
}

.widget{
	position: relative;
	max-width: 100%;
	margin: 0;
}

.widget.fillh{
	height: 100%;
}

.widget.a4{
	width: 60rem;
	margin: .8rem auto;
	box-shadow: 0 0 5px 0 #777;
}

#widgets{
	margin: 0 auto;
}

.widget .outlined:first-child{
	border-radius: 3px 3px 0 0;
}

.widget .outlined:last-child{
	border-radius: 0 0 3px 3px;
}

.widget > .head{
	position: relative;
}

.widget > .head .options{
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
}

/*.panel > .head{
	position: relative;
}*/

.panel > .head .options{
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
}

.widget .body{
	z-index: 1;
	position: relative;
}

.widget > .footer{
	display: block;
	font-size: 0.85rem;
	padding: 10px;
	margin: 0px;
	background: #E0E0E0;
	clear: both;
}

.usercard{

}

.usercard .cimg{
	width: 7rem;
	height: 7rem;
	margin: 10px;
	background-size: cover;
	background-position: center center;
}

.usercard td img{
	max-width: 2.6rem;
	max-height: 2.6rem;
}

.usercard hr{
	height: 4px;
	border: 0;
	border-bottom: 1px solid #D8D8D8;
}

.clearfix:after{
	clear: both;
	content: ".";
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
	visibility: hidden;
}

.article p{
	margin-top: 0px;
	margin-bottom: 1.25em;
}

.article.onem{
	-webkit-column-width: 30em;
	-moz-column-width: 30em;
	column-width: 30em;
	max-width: 30em;
	margin: 0 auto;
}

.article.twoem{
	-webkit-column-width: 60em;
	-moz-column-width: 60em;
	column-width: 60em;
	max-width: 60em;
	margin: 0 auto;
}

.bar{
	content: "";
	width: 100%;
	height: 4px;
}

.stinfo{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	width: 100%;
	line-height: 180%;
}

.stinfo h1,
.stinfo h2,
.stinfo h3 {
	width: 100%;
}

.stinfo .infoblock{
	-webkit-flex: 4 2 2em;
	flex: 4 2 2em;
	min-width: 26em;
	margin: 10px;
}

.stinfo .infoblock.half{
	-webkit-flex: 2 1 1em;
	flex: 2 1 1em;
	min-width: 13em;
}

.stinfo h4{
	padding-left: 10px;
}

.stinfo .infoblock .line{
	padding: 10px;
}

.stinfo .infoblock .line span, .stinfo .infoblock .line label{
	vertical-align: top;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	display: inline-block;
	width: calc( 50% - 5px );
}

.stinfo .infoblock .control{
	padding: 10px;
	text-align: right;
}

.stinfo .infoblock .control button{
	width: 8em;
}

.mask, #mask{
	position: absolute;
	top: 0px;
	left: 0px;
	width:100%;
	height:100%;
	background: rgba(255,255,255,0.7);
}

#center{
	position: absolute;
	top: 50%;
	left: 50%;
}

#popupWindow{
	text-align: justify;
	position: relative;
	background: #FFFFFF;
	box-shadow: 0px 0px 2px 0px #003142;
	top: -20em;
	left: -50%;
	padding: 50px;
}

.center {
	margin: 0 auto;
}

.label .dot{
	float: right;
}

.dot{
	display: inline-block;
	border-radius: 50%;
	height: 1em;
	width: 1em;
	margin: 0 0.1em;
	vertical-align: middle;
}

[contentEditable=true]:empty:not(:focus):before{
    content:attr(data-ph);
    color: rgba(64,64,64,0.7);
}

.split-pane-divider{
	width: 5px;
	background-color: #9d9d9d;
}

/*input[type="text"][readonly] {
   border: none;
}*/

input.narrow {
	width: 5em;
}

.pull-bottom {
	position: absolute;
	bottom: 0;
}

.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.block{
	display: block;
}

img.center {
	display: block;
    margin-left: auto;
    margin-right: auto;
}

.buttongroup {
	margin-top: 1em;
	text-align: center;
}

label.required:after {
	content:" *";
	color: red;
}

.loader-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=80);
}

.loader-overlay .loader{
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -25px;
}

#i18nPopup{
	position: fixed;
	z-index: 1000;
	display: block;
	width: 50px;
	height: 50px;
/*	opacity: .2;*/
	background-color: rgba(255,255,255,.8);
	box-shadow:  0 0 5px rgba(0,0,0,.3);
	padding: 8px;
	border-radius: 8px;
	border-bottom: 0;
	white-space: nowrap;
	transition: width .4s ease, height .4s ease,
		     top .4s ease, left .4s ease,
		     opacity .4s ease;
}

#i18nPopup:before{
	position: absolute;
	width: 100%;
	height: 100%;
	text-align: center;
	top: -20px;
	left: 0;
	color: rgba(0,0,0,.7);
	content: "\f1ab";
	display: inline-block;
	font-family: "Font Awesome 5 Pro";
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-size: 32px;
}

#i18nPopup .miButton{
	width: 32px;
	min-width: 32px;
	max-width: 100%;
	height: 32px;
	max-height: 100%;
	line-height: 32px;
	padding: 0;
	margin: 0 8px 8px 0;
}

.flash {
  -webkit-animation: blink 1s step-end infinite;
  -moz-animation: blink 1s step-end infinite;
  -o-animation: blink 1s step-end infinite;
  animation: blink 1s step-end infinite;
}

@-webkit-keyframes blink {
  67% { opacity: 0 }
}

@-moz-keyframes blink {
  67% { opacity: 0 }
}

@-o-keyframes blink {
  67% { opacity: 0 }
}

@keyframes blink {
  67% { opacity: 0 }
}

/* loader */
.loader {
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em #12B1DA, 2em -2em 0 0em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0 0 -1em #12B1DA, -2em -2em 0 0 #12B1DA;
  }
  12.5% {
    box-shadow: 0 -3em 0 0 #12B1DA, 2em -2em 0 0.2em #12B1DA, 3em 0 0 0 #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em #12B1DA, 2em -2em 0 0 #12B1DA, 3em 0 0 0.2em #12B1DA, 2em 2em 0 0 #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0em 0 0 #12B1DA, 2em 2em 0 0.2em #12B1DA, 0 3em 0 0em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0em 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  50% {
    box-shadow: 0 -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 0em #12B1DA, 0 3em 0 0.2em #12B1DA, -2em 2em 0 0 #12B1DA, -3em 0em 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 0 #12B1DA, -2em 2em 0 0.2em #12B1DA, -3em 0 0 0 #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  75% {
    box-shadow: 0em -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0em 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 0 #12B1DA, -3em 0em 0 0.2em #12B1DA, -2em -2em 0 0 #12B1DA;
  }
  87.5% {
    box-shadow: 0em -3em 0 0 #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 0 #12B1DA, -3em 0em 0 0 #12B1DA, -2em -2em 0 0.2em #12B1DA;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em #12B1DA, 2em -2em 0 0em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0 0 -1em #12B1DA, -2em -2em 0 0 #12B1DA;
  }
  12.5% {
    box-shadow: 0 -3em 0 0 #12B1DA, 2em -2em 0 0.2em #12B1DA, 3em 0 0 0 #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em #12B1DA, 2em -2em 0 0 #12B1DA, 3em 0 0 0.2em #12B1DA, 2em 2em 0 0 #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0em 0 0 #12B1DA, 2em 2em 0 0.2em #12B1DA, 0 3em 0 0em #12B1DA, -2em 2em 0 -1em #12B1DA, -3em 0em 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  50% {
    box-shadow: 0 -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 0em #12B1DA, 0 3em 0 0.2em #12B1DA, -2em 2em 0 0 #12B1DA, -3em 0em 0 -1em #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 0 #12B1DA, -2em 2em 0 0.2em #12B1DA, -3em 0 0 0 #12B1DA, -2em -2em 0 -1em #12B1DA;
  }
  75% {
    box-shadow: 0em -3em 0 -1em #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0em 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 0 #12B1DA, -3em 0em 0 0.2em #12B1DA, -2em -2em 0 0 #12B1DA;
  }
  87.5% {
    box-shadow: 0em -3em 0 0 #12B1DA, 2em -2em 0 -1em #12B1DA, 3em 0 0 -1em #12B1DA, 2em 2em 0 -1em #12B1DA, 0 3em 0 -1em #12B1DA, -2em 2em 0 0 #12B1DA, -3em 0em 0 0 #12B1DA, -2em -2em 0 0.2em #12B1DA;
  }
}

.loader.center {
	position: absolute;
	left: 50%;
	top: 40%;
}

.print .hide-on-print{
	display: none;
}

@media print{
	.hide-on-print{
		display: none !important;
	}
}


/**** Infogroup/block style *****/
.infobody{
	/*color: #A5A5A5;*/
}
.infobody h1,.infobody h2,.infobody h3,.infobody h4,.infobody h5,.infobody h6{
	color: #A5A5A5;
}

.infogroup .append{
	display: none;
	float: right;
	position: relative;
	color: #12b1da;
}
.infogroup:hover .append{
	display: initial;
}
.infogroup .infoblock.empty{
	display: none;
}
.infogroup.showAll .infoblock.empty{
	display: block;
}
.infoblock{
	position: relative;
	display: block;
	white-space: nowrap;
}
.infoblock .infoline{
	padding: 0.4rem 0;
	position: relative;
}
.infoblock .infoline .linecontent{
	margin: 0 0 .8rem 8rem;
	vertical-align: top;
	color: #404040;
	position: relative;
}
.infoblock .infoline .linecontent .cimg{
	width: 3.2rem;
    height: 3.2rem;
    margin: 0 1.6rem 0 0;
    background-size: cover;
    background-position: center center;
    float: left;
}
.infoblock .infoline .linehead{
	margin: 0;
	padding: 0;
	font-size: 1rem;
	width: 8rem;
	text-align: left;
	float: left;
	color: #A5A5A5;
}
.infoblock .options{
	position: absolute;
	top: .4rem;
	right: .8rem;
	color: #12b1da;
}
.infoblock:NOT(:last-child){
	border-bottom: 1px solid #d5d5d5;
}
.infoblock .identifier{
	vertical-align: top;
	display: inline-block;
	width: 35%;
	color: #606060;
	font-size: 1.2rem;
	padding: .4rem .8rem;
}
.infoblock .content{
	vertical-align: middle;
	display: inline-block;
	width: 65%;
	line-height: 1.8rem;
	padding: .4rem .8rem;
}
.infoblock .content .data{
	display: inline-block;
	vertical-align: top;
	white-space: pre-wrap;
}
.infoblock .left{
	float: left;
}
.infoblock.editmode{
	background-color: #E5E5E5;
}
.infoblock .editctrl{
	display: none;
}
.infoblock.editmode .editctrl{
	display: inline-block;
}
.infoblock .editctrl .save{
	color: #009933;
}
.infoblock .editctrl .cancel{
	color: #993300;
}
.infoblock.empty .editctrl .cancel{
	display: none;
}
.infoblock .list .item{
	display: block;
	margin-bottom: .4rem;
}
.infoblock .viewctrl{
	display: none;
}
.infoblock:NOT(.editmode):hover .viewctrl{
	display: initial;
}
.infoblock:hover{
	background-color: #E5E5E5;
}
.infobody form .editLabel{
	display: inline-block;
	vertical-align: top;
	margin: .4rem 0;
	padding-right: 0.8rem;
	font-size: 1rem;
	color: #A5A5A5;
	width: 14rem;
	text-align: right;
}
.infobody input.long,
.infobody select.long,
.infobody textarea.long{
	width: 20rem;
}

.infoline .remove{
	position: absolute;
	top: .4rem;
	right: .4rem;
	color: red;
}

modal{
	position: fixed;
    -webkit-overflow-scrolling: touch;
    z-index: 101;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 50px;
    text-align: center;
    overflow: auto;
}

modal > .modaloverlay{
	background: #000;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
	height: 100%;
}

modal .modalcontent{
	width: 60%;
	height: 75%;
	overflow: visible;
	margin: auto;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	/*padding: 0;*/
	padding: .8rem;
    	text-align: left;
}

modal .modalcontent > div:NOT(.unstyled){
    padding: .8rem;
    border-radius: .4rem;
    background-color: #FFF;
    box-shadow: 0 0 .8rem #777;
}

mi-foreground-container {
	position: fixed;
	top: 0px;
	left: 0px;
	width; 0px;
	height: 0px;
	z-index: 20;
	overflow: visible;
}

mi-foreground-container .layer{
	position: fixed;
	z-index: 100;
	width: 100%;
	height: 100%;
	background-color: rgba(128,128,128,.4);
}

mi-foreground-container .modalLayer{
	display: flex;
	justify-content: center;
	overflow: auto;
}

mi-modal {
	position: relative;
	align-self: center;
	background-color: #FFF;
	padding: .8rem;
	border-radius: 3px;
	max-width: 100%;
	min-width: 15rem;
	min-height: 3.2rem;
	box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2),
		0px 16px 24px 2px rgba(0, 0, 0, 0.14),
		0px 6px 30px 5px rgba(0, 0, 0, 0.12);
}

mi-foreground-container .dialogLayer{
	display: flex;
	justify-content: center;
	padding: 5% 10%;
	overflow: auto;
}


md-dialog{
	position: relative;
	align-self: center;
	background-color: #FFF;
	border-radius: 2px;
	/*max-height: 90%;
	overflow: auto;*/
	box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2),
		0px 24px 38px 3px rgba(0, 0, 0, 0.14),
		0px 9px 46px 8px rgba(0, 0, 0, 0.12);
	z-index: 24;
}

md-dialog .content{
	padding: 24px 16px 68px 16px;
	min-width: 22rem;
  min-width: min(100vw, 22rem);
  overflow-y: auto;
  max-height: calc(100vh - 120px);
}

md-dialog .mat .actions{
	padding: 8px;
	height: 52px;
	line-height: 36px;
	text-align: right;
	/*position: sticky !important;
    bottom: 0;*/
    background-color: white;
    /*z-index: 5;*/
    border-top: 1px solid rgba(0,0,0,.12);
}

md-dialog .mat .content + .actions{
	position: absolute;
	bottom: 0px;
	width: 100%;
	z-index: 1;
}

@media(max-width: 768px){
	md-dialog{
		position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
		max-height: initial;
    align-self: center;
    background-color: #FFF;
    border-radius: 2px;
    box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
    z-index: 24;
	}

	md-dialog > *{
		max-width: 100% !important;
		width: 100% !important;
		max-height: 100% !important;
		height: 100% !important;
	}

	md-dialog .head{
		max-width: 100% !important;
		width: 100% !important;
	}

	md-dialog .content{
		max-width: 100% !important;
		width: 100% !important;
		height: 100% !important;
		padding-bottom: 64px !important;
	}
}

.tal{
	text-align: left;
}

.tar{
	text-align: right;
}

.tac{
	text-align: center;
}

.taj{
	text-align: justify;
}

.actions .btn_flat{
	display: inline-block;
	position: relative;
	text-align: center;
	min-width: 88px;
	padding: 0 8px 0 8px;
	border-radius: 2px;
	text-transform: uppercase;
	color: #12b1da;
	font-weight: 500;
	font-size: 16px;
	line-height: 36px;
	border: none;
	outline: none;
	background-color: transparent;
	cursor: pointer;
}

.actions .btn_flat.small{
	min-width: 4rem;
}

.actions .btn_flat.disabled{
	color: #000;
	opacity: .4;
	cursor: initial;
}

.closetl{
	display: inline-block;
	position: absolute;
	top: .2rem;
	right: .2rem;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	cursor: pointer;
}

.closetl:before{
	content: '\f057';
}

/** Remove arrows from number input **/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/** 2d graphics components **/
.g2d.strengthMeter{
	line-height: .8rem;
	width: 100%;
}

.g2d.strengthMeter canvas{
	width: 100%;
	height: 1.2rem;
	transition: opacity .4s;
	opacity: 0;
}
