html {
	width: 100%;
	height: 100%;
	font-size: 1em!important;
	margin:0;
		padding:0;
	-webkit-text-size-adjust: none;
}

body{
	font-size: 1em!important;
width:100%;
height:100%;
overflow-y:auto;
overflow-x:hidden;
	background-color:white; /* DRIVE the whole player!*/
	color: black;
	/* font-family: 'Courier New', Courier, monospace; */
	font-family: 'Roboto', sans-serif!important;
}

.showMode h2,.showMode h3 {
	color:white;
}
/* * { font-family: 'Thasadith', sans-serif} */
h1 {
	font-size: 2em;
	color:white;
}
.page-editor h1 {
	font-size: 2.5em;
	color: black;
}

#root > div {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
	padding-top: 0px;
	display:flex;
}

.navbar-header .navbar-brand {
  font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 200;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  /* height: inherit!important; */
}
.navbar-header .navbar-brand:hover,
.navbar-header .navbar-brand:focus {
    color: white;
}

.smooth-font {
	/* Adjust font size */
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    /* Font varient */
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    /* Smoothing */
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    /* font-smoothing: antialiased; */
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

.smooth-font-white {
	/* Adjust font size */
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    /* Font varient */
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    /* Smoothing */
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    /* font-smoothing: antialiased; */
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(255, 255, 255, .01) 0 0 1px;
}

.custom-modal {
   width: 95%;
    max-width: 800px;
    position: relative;
    padding: 1.2rem;
    background: #ffffff;
    background-clip: padding-box;
    box-shadow: 0 12px 15px 0 rgba(0,0,0,0.25);
	border-radius: 20px;
	margin:auto;
	z-index:4;
}

@media (min-width:756px) {
	.custom-modal {
		 width: 75%;
	}
}

#confirmButton {
    display:none;
}

.myBackground {
    width: 100%;
    min-height: 100%;
}

div:focus {outline:0;}

table, th, td {
	/* border: 1px solid black; */
	padding: 5px !important;
}

td {
	width: 30%;
}

select {
    margin-bottom: 25px !important;
}

.truncate260 {
  width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card, .cardNew {
	position: relative;
 	overflow: visible;
  	cursor: pointer;
   	width: 256px;
    height: 256px;
	margin: 5px;
	border-radius: 5px;
	border-style: solid;
	border-color: #dddddd;
	border-width: 2px;
}

.cardCompact, .cardNewCompact {
	position: relative;
 	overflow: visible;
  	cursor: pointer;
   	width: 256px;
    height: 75px;
	margin: 5px;
	border-radius: 5px;
	border-style: solid;
	border-color: #dddddd;
	border-width: 2px;
}
/*
.card:hover, .cardNew:hover {
	border-color: steelblue;
}
*/
.cardNew, .cardNewCompact {
	background-color: #eeeeee;
	border-style: dashed;
}

.ais-ClearAll__root {
	min-height: 30px;
	margin-bottom: 3px;
}

/* Start Tags */
/* Example Styles for React Tags*/
div.ReactTags__tags {
    position: relative;
}

/* Styles for the input */
div.ReactTags__tagInput {
    width: 200px;
    border-radius: 2px;
    display: inline-block;
}
div.ReactTags__tagInput input.ReactTags__tagInputField,
div.ReactTags__tagInput input.ReactTags__tagInputField:focus {
    height: 31px;
    margin: 0;
    font-size: 12px;
    width: 100%;
    border: 1px solid #eee;
}

/* Styles for selected tags */
div.ReactTags__selected span.ReactTags__tag {
    border: 1px solid #ddd;
    background: #eee;
    font-size: 12px;
    display: inline-block;
    padding: 5px;
    margin: 0 5px;
    cursor: move;
    border-radius: 2px;
}
div.ReactTags__selected a.ReactTags__remove {
    color: #aaa;
    margin-left: 5px;
    cursor: pointer;
}

/* Styles for suggestions */
div.ReactTags__suggestions {
    position: absolute;
}
div.ReactTags__suggestions ul {
    list-style-type: none;
    box-shadow: .05em .01em .5em rgba(0,0,0,.2);
    background: white;
    width: 200px;
}
div.ReactTags__suggestions li {
    border-bottom: 1px solid #ddd;
    padding: 5px 10px;
    margin: 0;
}
div.ReactTags__suggestions li mark {
    text-decoration: underline;
    background: none;
    font-weight: 600;
}
div.ReactTags__suggestions ul li.active {
    background: #b7cfe0;
    cursor: pointer;
}

/* End Tags */

div {
	-webkit-overflow-scrolling: touch;
}

.Loader__content {
	width: 100%;
}

.form-group {
	width: 100%;
}

.page-header {
	margin-top:20px;
}

.profile-dropdown-item > a {
	padding:0!important
}

.profile-dropdown-item .btn-group .dropdown-toggle {
	box-shadow:none;
}
.profile-dropdown-item .btn-group.open .dropdown-toggle {
	background-color:#d7d7d7!important;
}
.navbar-default {
	background-color:white;
	border-radius: 0;
	box-shadow: 0 3px 3px rgba(0,0,0,.2);
}
.navbar-toggle {
	margin-top:15px;
}

.navbar-nav {
	margin-top:0
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
 
input[type="number"] {
    -moz-appearance: textfield;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  padding-left: 0;
  padding-right: 0;
  margin-right: -15px;
  margin-left: -15px;
}

.vcenter {
display: flex;
    align-items: center;
}

.navbar-header .btn-default {
	border-color: transparent!important; 
}

.profile-dropdown-item {
	list-style-type: none;
}

.modal-footer-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	width: 100%;
	padding: 10px;
}

/* Component styles */
/*** custom checkboxes ***/
.player-item-checkbox {
	margin: 0px 7px 4px 7px; 
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: 400;
}

.player-item-checkbox input[type=checkbox] {
	display:none;
}

.player-item-checkbox input[type=checkbox] + span {
	width: 28px;
}

.player-item-checkbox input[type=checkbox] + span:before {
	font-family: FontAwesome;	
	font-size: 24px;
	font-weight: 400;
	content: "\f096";	
}

.player-item-checkbox input[type=checkbox]:checked + span:before {
	font-family: FontAwesome;	
	font-weight: 400;
	font-size: 24px;
	content: "\f046";
}

.player-item-checkbox-large {
	margin: 10px;
	margin-right: 20px;
	margin-left: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: 400;
}

.player-item-checkbox-large input[type=checkbox] {
	display:none;
}

.player-item-checkbox-large input[type=checkbox] + span {
	width: 32px;	
}

/*** custom radio ***/
.player-item-radio {
	margin: 0px 7px 4px 7px;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: 400;
}

.player-item-radio input[type=radio] {
	display:none;
}

.player-item-radio input[type=radio] + span {
	width: 28px;
}

.player-item-radio input[type=radio] + span:before {
	font-family: FontAwesome;	
	font-weight: 400;
	font-size: 24px;
	content: "\f10c";	
}

.player-item-radio input[type=radio]:checked + span:before {
	font-family: FontAwesome;	
	font-weight: 400;
	font-size: 24px;
	content: "\f192";
}

.player-item.disabled {
	opacity: .3;
}

.player-item.not-selected {
	opacity: .8;
}

.player-item-background-image {
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
	width: 270px;
	height: 400px;
	align-items: flex-start;
	justify-content: flex-start;
	display: flex;
	flex-direction: column;
	margin: 5px;
	position: relative;
}

.player-container {
	/* background-color: rgb(255,255,255); */
}

.player-activity-container {	
	flex: 1;
	overflow-y: hidden;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.player-buttons-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 16px 24px;
}

.player-buttons-container-hidden {
	display: none;
}
.panel-heading {
	font-size: 16px;
}
.player-panel-heading {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0px 15px 0px 15px;
	width: 100%;
	min-height: 42px;
	align-items: center;
}

.player-panel-title {
    margin-top: 0;
    margin-bottom: 0;
	color: inherit;
	cursor: pointer;
}

.player-panel-title:hover {
    text-decoration: underline;
}

.player-panel-heading-completion-status {
	width: 8px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

.player-go-back-control {
	background-color: rgba(58,58,58,.9);
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	align-content: flex-start;	
	padding: 6px;	
}

.player-go-back-control-close {
	cursor: pointer;
	font-size: 16px;
	color: rgb(136, 136, 136)
}

.player-show-mode-swiper {
	width: 100%;
	height: 100%;
	flex:1;
	color:white;
}

.player-show-mode-swiper h1,
.player-show-mode-swiper h2,
.player-show-mode-swiper h3,
.player-show-mode-swiper h4,
.player-show-mode-swiper h5,
.player-show-mode-swiper h6 {
	color:white;
}

.player-show-mode-item-container {
	width: 100%;
	height: 100%;
}

.player-show-mode-image {
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	object-fit: contain;
}

.player-show-mode-label-item-container.center {
	align-items: center;
}
/* .player-show-mode-label-item-container.center > * {
	text-align: center;
} */
.player-show-mode-label-item-container.right {
	align-items: right;
}
/* .player-show-mode-label-item-container.right > * {
	text-align: right;
} */

.player-show-mode-label-item-container.middle {
	justify-content: center;
}

.player-show-mode-label-item-container.bottom {
	justify-content: flex-end;
}

.player-show-mode-toolbar-container {
	display: flex;
	flex-direction: row;
	padding-left: 24px;
	padding-right: 24px;
	justify-content: space-between;
	align-items: center;
}

.player-show-mode-toolbar-button {
	color: lightgreen;
	opacity: .85; 
	margin-right: 10px;
	cursor: pointer;
	font-size: 36px;
}

.player-show-mode-toolbar-close-button {
	color: white;
	opacity: .8; 
	cursor: pointer;
	font-size: 36px;
}

@media(orientation: portrait) {
	.player-show-mode-media-item-container {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.player-show-mode-view {
		flex-direction: column;
	}

	.player-show-mode-image {
		background-position: center;	
	}

	.player-show-mode-media-item-container > div {
		flex: 1;
		width: 100%;
		max-height: 100%;
		justify-content: center;
		align-items: center;
		display:flex;
	}
}
@media(orientation: landscape) {
	.player-show-mode-media-item-container {
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
	.player-show-mode-view {
		flex-direction: row;
	}

	.player-show-mode-image {
		background-position: right;	
	}

	.player-show-mode-media-item-container > div {
		flex: 1;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}

.player-modal-slide-up-enter {
  	transform: translateY(100%);
}
.player-modal-slide-up-enter-active {
  	transform: translateY(0);
  	transition: transform 400ms ease;
}
.player-modal-slide-up-exit {
	transform: translateY(0);
}
.player-modal-slide-up-exit-active {
  	transform: translateY(100%);
  	transition: transform 400ms ease;
}

.player-comments-modal {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	max-width: unset;
	height: 100%;
	padding: 0px;
	overflow: hidden;
    background: #F9A200;
    background-clip: padding-box;
	border-radius: 0px;
	margin: 0px;
	z-index:4;
}

.player-comments-modal-title {
	font-size: 24px;
	color: white;	
}

.player-comments-modal-close-button {
	font-size: 20px;
	color: white;
	padding-bottom: 10px;
	cursor: pointer;
}

.player-comments-button {
	font-size: 16px;
	color: gray;
	padding: 10px;
	cursor: pointer;
}


.player-procedure h1,
.player-procedure h2,
.player-procedure h3,
.player-procedure h4,
.player-procedure h5,
.player-procedure h6 {
	/* color: initial; */
}

.player-procedure h1 {
	font-size: 36px;
}

.sessions-modal-header-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top: 20px; 
	align-items: flex-end;
}

.sessions-modal-sort-button {
	display: flex; 
	flex-direction: row; 
	cursor: pointer;
	align-items: center; 
	padding-bottom: 10px;
}

.sessions-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: flex-start;
	padding: 10px;
	overflow-y: auto; 
	height: 70vh;
}

.session-container {
	 display: flex; 
	 flex-direction: row; 
	 padding: 5px; 
	 padding-top: 10px; 
	 border-bottom-color: rgba(255,255,255,.3); 
	 border-bottom-width: 0px;
}

.session-name {
	color: rgb(0,0,0);
	font-size: 18px; 
	margin-right: 10px;
}

.session-date {
	color: rgba(0,0,0,.5); 
	font-size: 13px;
}

.session-type-header {
	font-size: 20px; 
	color: rgba(0,0,0,.7); 
	margin-top: 10px; 
	margin-bottom: 5px;
}

.session-type-sub-header {
	font-size: 18px; 
	color: rgba(0,0,0,.7); 
	margin-top: 10px; 
	margin-bottom: 5px;
}


/*** Google maps ***/
.map-container * {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}

.pac-container {
  z-index: 1051 !important;
}

.player-location-map {
	height: 500px;
}

.rdtPicker td {
    width: unset;
}

.media-preview-modal {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	max-width: unset;
	height: 100%;
	padding: 0px;
	overflow: hidden;
    background: black;
    background-clip: padding-box;
	border-radius: 0px;
	margin: 0px;
	z-index:10000;
}

.swiper-pagination .swiper-pagination-bullet {    
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: white;
    opacity: 0.3;
}

.swiper-pagination .swiper-pagination-bullet-active {    
    opacity: 1;
    background-color: #007aff;
}

.Select-menu-outer {
    z-index: 1000;
  }


@media (max-width: 1200px) {
	.orgLogo {
		display:none
	}
}
/* @media (min-width: 768px) and (max-width: 1000px) {
   .collapse {
       display: none !important;
   }
} */

@media (max-width:600px) {
	.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
		margin-left:1px!important;
		margin-right: 1px!important;
	}
.swiper-pagination .swiper-pagination-bullet {
	width:6px!important;
	height:6px!important;
}

}

@media (min-width: 768px) {
.ambifiTable {
	table-layout: fixed;
}
}

.ambifiTable td,
.ambifiTable th {
	padding: 10px!important;
}

.ambifiTable.selectableRows tr > td:first-child {
	text-align: center;
}
.ambifiTable .action {
	position:relative;
}
.ambifiTable .action .info {
	cursor:pointer;
	border:2px dashed rgba(76, 157, 229,.4);
	min-height: 30px;
	line-height: 30px;
	padding:10px;
	margin:-5px;
}

.ambifiTable .action .info:hover {
	border:2px solid rgb(76, 157, 229);
	background-color: #B2DBFF;
}
/* .ambifiTable .action .edit {
	display:none;
	font-size:40px;
	position:absolute;
	right:15px;
	top:0;
	color:rgba(255,255,255,.5)
} */
/* .ambifiTable .action:hover .edit {
	display:block;
} */

/*#B2DBFF,#4C9DE5*/

.inline-panel.leftBorder > div {
	border-left:2px solid rgba(76, 157, 229,.3);
}
.inline-panel.topBorder > div {
	border-top:2px solid rgba(76, 157, 229,.3);
}

.inline-panel > h4 .fa {
	color: rgb(76, 157, 229);
	font-weight: 800;
}

Select-menu-outer {
	z-index: 1001!important;
}



.panelLoader, .modalLoader, .fullPageLoader {
	position: absolute!important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	width: 100%;
	height:100%;
}

.fullPageLoader {
	margin: 0!important;
}

.fullPageLoader  .Loader__background {
	height:100%!important;
}

.modalLoader .Loader__background {
	border-radius:20px!important;
	height:100%!important;
}
.panelLoader .Loader__background {
	border-radius:4px!important;
	height:100%!important;
}

/* For later to improve code input to have larger fields for larger screens
.rect {
  
  position: relative;
  width: 100%;
  max-width: 800px;
  display:flex!important;
  flex-direction: row;
  justify-content: center;
}

.rect:after {
	content:"";
padding-top: 15%;
}

.square {
	flex:1 auto;
	flex-grow: 1;
	font-size:100%;
} */

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
}

.space-between { 
  justify-content: space-between; 
}  

.ambifi-card {
	width: 100%;
	height: 100%;
	margin-right: 15px;
	margin-bottom: 15px;
	box-shadow: 2px 2px 10px rgba(0,0,0,.3);
	position: relative;
	border-radius: 10px;
	/* background-color: white; */
	/* background-color: #e0e0e0; */
	display: inline-flex;
	flex-direction: column;	background-position: center;
    background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	flex:1 1;
	/* background-image: url("/assets/test/5-with-frame.png"); */
}

.check-overlay {
	display: none;
}

.check-overlay.selected {
	display: block;
}

/* .ambifi-card:hover {
	box-shadow: 2px 2px 10px rgba(0,0,0,1);
} */
.ais-Hits {
	width: 100%;
}

.ais-MenuSelect-select {
	width: 240px !important;
}

.ais-Hits-list,
.cards {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	padding: 10px;
	background-color: #ffffff;
	justify-content: flex-start;
	flex:1;
	position: relative;
	min-height: 0;
	height: calc(100% - 62px);
	overflow-y:auto;
	overflow-x:hidden;
}

.ais-Hits-item,
.card-slot {
	width:33.3%;
	padding:8px;
	height:calc(33.3vw * .5625);
}
@media (min-width: 1920px) {
	.ais-Hits-item,
.card-slot {
	width:25%;
	padding:8px;
	height:calc(25vw * .5625);
}
}
@media (max-width: 1000px) {
.ais-Hits-item,
.card-slot {
	width:50%;
	padding:8px;
	height:calc(50vw * .5625);
}
}
@media (max-width: 650px) {
.ais-Hits-item,
.card-slot {
	width:100%;
	padding:8px;
	height:calc(100vw * .5625);
}
}
.history-card {
	height:100%;
}
.search-history-page .ais-Hits-item,
.search-history-page .card-slot {
	width:50%;
	max-width: 320px;
}

@media (max-width: 550px) {
	.search-history-page .ais-Hits-item,
.search-history-page .card-slot {
	width:100%;
	max-width: 100%;
}
	.search-history-page .page-scroll-view {
		padding-left:0;
		padding-right:0;
	}
}
@media (min-width: 1000px) {
.search-history-page .ais-Hits-item,
.search-history-page .card-slot {
	height:auto;
}
.history-card {
	height: auto;
}
}

.ais-NumericMenu-labelText {
	margin-left: 5px;
}

.history-card .user-avatar .ais-Highlight {
	margin-left: 5px;
}

.search-history-page .ais-Hits-item,
.search-history-page .card-slot {
	min-height:250px;
	min-width:280px;
}
.ambifi-card .header {
	/* background-color: rgba(178,219,255,.9); */
		background-color: rgba(230,230,230,.9);
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	position: relative;
	display:flex;
	flex-direction: row;
	align-items: center;
	padding-top: .3em;
	padding-bottom: .3em;
	min-height: 2.8em;
}

.ambifi-card .title {
	font-size: 1.3em;
	flex:1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	padding-left: .5em;
}

.ambifi-card .actionMenu {
	flex:0;
	white-space: nowrap;
	padding-right: .5em;
}

.ambifi-card .heroImage {
	color: gray;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	font-size:10em;
	flex: 1;
	position:relative;
	overflow: hidden;
}

.ambifi-card .heroImage .description {
	background-color: rgba(0,0,0,.5);
	color:white;
	font-weight: bold;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	overflow-y: auto;
	font-size: .11em;
	padding:10px;
	z-index: 2;
}

.ambifi-card .body {
	background-color: rgba(0,0,0,.5);
}

.ambifi-card .body-player {
	background-color: rgba(0,0,0,.5);
	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ambifi-card .header-player {
	background-color: rgba(0,0,0,.5);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	position: relative;
	display:flex;
	flex-direction: row;
	align-items: center;
	padding-top: .3em;
	padding-bottom: .3em;
	min-height: 2.8em;
}

.ambifi-card .title-player {
	font-size: 1.3em;
	flex:1;
	padding-left: .5em;
	color: rgb(255,255,255);
}

.ambifi-card-launch-buttons-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.ambifi-card-launch-button {
	border-radius: 5px;
	margin: 10px;
	padding: 10px;
	border: 0px;	 
	background-color: rgba(255,255,255,.3);
	width: 45%;
	color: white;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
}

.ambifi-card-resume-button-container {
	display: flex;
	flex-direction: row;
	width: 45%;
}

.ambifi-card-resume-button-left {
	flex: 1;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	margin: 10px 0px 10px 10px;
	padding: 10px;
	border: 0px;	 
	background-color: rgba(255,255,255,.3);
	color: white;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
}
.ambifi-card-resume-button-right {
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	margin: 10px 10px 10px 0px;
	padding: 10px;
	border: 0px;	 
	background-color: rgba(255,255,255,.5);
	color: white;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
}

.simplert-button-transparent {
	background-color: transparent !important;
	color: #068ac9 !important;
}

.simplert-button-blue {
	background-color: #068ac9 !important;
	color: #ffffff !important;
}

.simplert-button-orange {
	background-color: rgb(231,175,95) !important;
	color: #ffffff !important;
}

.simplert {
	z-index:1001!important;
}

@media (max-width: 400px) {
.sweet-alert {
	max-width:375px;
	margin-left:0!important;
	margin-right:0!important;
}


.player-location-map {
	height: 350px;
}
}

@media (max-width: 768px) {
.ambifi-card .title {
	font-size: 1.2em;
	padding:.7em .5em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ambifi-card .heroImage .description {
	background-color: rgba(0,0,0,.5);
	color:white;
	font-weight: bold;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	overflow-y: auto;
	font-size: .1em;
	padding:10px;
	z-index: 2;
}
}

.ambifi-card .heroImage span {
	position: absolute;
	left: 50%;
	top:50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.ambifi-card .addArea {
	cursor:pointer;
	font-size: 1.5em;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	display: flex;
	flex:1;
	border-radius: 10px;
	border: 5px dashed rgba(0, 0, 0, .4);
}
/* .ambifi-card .addArea:hover {
border: none;
} */

.ambifi-card .status-button {
	border:none;
	background: none;
	padding: 0;
	padding-right: 3px;
	font-size: 1.2em!important;
}

.ambifi-card .status {
	padding: .4em 1em;
	display: flex;
	flex-direction: row;
	flex-flow: wrap;
	justify-content: flex-start;
	font-size: 1em;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	/* background-color: rgba(178,219,255,.9); */
		background-color: rgba(230,230,230,.9);
}

.ambifi-card .status > * {
	margin-right: 5px;
}

/** Instance search overrides **/
[class^=ais-] {
	font-size: 1em;
}

.ais-SearchBox-input {
	padding: .5em 1.7em;
}
.ais-Hits {
	border: none;
	padding:0;
}
.ais-Hits-list {
	border: none;
	padding:0;
	margin:0;
	flex:0;
	align-content: flex-start;
}
.ais-Hits-item { 
	border:none;
	box-shadow: none;
	margin:0;
}

.navbar-fixed-bottom, .navbar-fixed-top {
	z-index: 998;
}

.ais-RefinementList-labelText {
	margin-left:5px;
	margin-right:5px;
}
.ais-RefinementList-label {
	display: flex;
	flex-direction: row;
	align-items:center;
	justify-content: flex-start;
}

.ais-RefinementList-checkbox {
	margin:0!important;
}

.ais-SearchBox{
	padding: 5px;
}

.search-history-page .ais-SearchBox{
	padding-left: 0;
}

.ais-SearchBox-form {
	margin:0;
}

.ais-EmptyResults {
	display:none;
}
.ais-Hits-list:empty {
	text-align: center;
	width: 100%;
	position:relative;
	justify-content: center;
}

.ais-Hits-list:empty:after {
	content: "No activities found";
	align-self: flex-start;
	padding-top:20px;
}

/* Top: 62px because of page header */
.headroom--pinned {
	top: 62px!important;
	z-index: 998!important;
}
.pageWrapper {
	min-height: 0;
	margin-top:62px;
	height:calc(100% - 62px);
}
.pageNav {
	margin-bottom: -20px;
}
  .editor-toolbar.fullscreen {
	  top:62px!important;
  }

  .CodeMirror-fullscreen {
	top:112px!important;
  }

  .CodeMirror-fullscreen + div {
	top:112px!important;
  }

.corner-menu {
	display:none;
}

.corner-menu > * {
	/* margin-top:10px; */
	position: absolute;
	top:75%;
	transform: translate(0,-60%);
}

@media (max-height: 450px) {

	.corner-menu {
		position: fixed;
		top:0;
		left:50%;
		transform: translate(-50%, -50%);
		width:50px;
		height: 50px;
		border-bottom-right-radius: 25px;
		border-bottom-left-radius: 25px;
		display:flex;
		background-color: #4C9DE5;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		color: white;
		border:1px solid white;
		font-size: 1.2em;
		z-index: 1000;
	}

	.toolbarsHeader {
		display:none!important;
	}
	.navbar {
		display:none;
	}
	.toolbarsHeader.forceShow {
		margin-top:62px;
		display:block!important;
	}
	.navbar.forceShow {
		display:block;
	}
	  .editor-toolbar.fullscreen {
	  top:0!important;
  }

  .CodeMirror-fullscreen {
	top:50px!important;
  }

    .CodeMirror-fullscreen + div {
	top:50px!important;
  }

	.pageWrapper {
	min-height: 0;
	margin-top:0;
	height:100%;
}
.pageNav {
	margin-bottom: 0;
}
#root > div {
	padding-top: 0;
}

}

.navbar-brand {
	padding:5px;
	height: inherit;
		position:absolute;
	left:15px;
	top:0;
}

.ais-Hits {
	position: relative;
}

.page-scroll-view {
	position: relative;
}
.page-documents .cards {
	padding:0;
	padding-bottom:20px;
}
.page-documents .page-scroll-view:after {
		content:'';
	width:100%;
	height:20px;
	position:absolute;
	bottom:10px;
	left:0;
	right:0;
	z-index: 4;
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); 
}
.ais-Hits:after {
	content:'';
	width:100%;
	height:20px;
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	z-index: 4;
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); 
}

.ais-Hits-list {
	padding-bottom:20px;
}

.search-history-page .ais-Hits-list {
	height:100%!important;
}

.search-history-page .ais-Pagination-list {
	margin:10px!important;
}

.search-page .tab-content {
	flex:1;
	display:flex;
}

/* .search-history-page .page-scroll-view {
	height: 100%;
	overflow-y: hidden!important;
	display:flex;
} */

.search-page .ais-Hits,
.search-page .tab-pane.active,
.search-page .tab-pane.active .ais-InstantSearch__root,
.search-page .ais-Hits-list,
.search-history-page .ais-Hits,
.search-history-page .ais-InstantSearch__root,
.search-history-page .ais-Hits-list
{
	flex:1;
	display:flex;
	overflow-x:hidden;
}

.search-history-page .ais-MenuSelect-select {
	margin-bottom: 5px!important;
}

.search-history-page .ais-Hits-list,
.search-page .ais-Hits-list {
	height:100%!important;
}
/* 
body > .cke {
	 display:none!important;
 } */

 .editor-toolbar fullscreen, CodeMirror-fullscreen {
	 z-index: 1000!important;
 }
/*
 .CodeMirror {
	 height: 85px !important;
	 min-height: 85px !important;
 }
*/
.CodeMirror {
	font-size: 12pt !important;
}
 .portalPanel {
	 margin: 0;
 }

 .history-card-buttons > button {
	 margin-top: 10px;
 }

  .fixed-panel .date-range-picker input {
	 max-width: 120px;
 }

  .fixed-panel .date-range-picker .to .DayPickerInput-Overlay {
	  right:0!important;
	  left:auto!important;
	  transform: translate(0, calc(-100% - 30px));
  }

.fixed-panel .date-range-picker .from .DayPickerInput-Overlay {
	  transform: translate(0, calc(-100% - 30px));
  }

.side-panel .date-range-picker {
	flex-direction: column!important;
}
.side-panel .DayPickerInput-Overlay {
	right:auto!important;
	left:0!important;
	transform: none;
}

.side-panel .date-range-picker .to {
	margin-top: 5px;
}

.fixed-panel h4,
.side-panel h4 {
	width:100%;
	min-height:30px;
	line-height: 30px;
	border-bottom: 1px solid lightgray;
}

.Selectable .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
    background-color: #f0f8ff !important;
    color: #4a90e2;
  }
  .Selectable .DayPicker-Day {
    border-radius: 0 !important;
  }
  .Selectable .DayPicker-Day--start {
    border-top-left-radius: 50% !important;
    border-bottom-left-radius: 50% !important;
  }
  .Selectable .DayPicker-Day--end {
    border-top-right-radius: 50% !important;
    border-bottom-right-radius: 50% !important;
  }

  .history-card {
	 border: 2px solid #dddddd;
	 border-radius: 5px;
	 padding: 10px;
	 width: 100%;
	 position: relative;
  }

  .history-card.deleted {
	  border: 2px solid #880000;
  }

  .history-card.deleted .history-card-buttons {
	  display:none;
  }

  .history-card.deleted .delete-button {
	  display:none;
  }

  .cross-out {
	  position: absolute;
	  left:0;
	  right:0;
	  top:0;
	  bottom:0;
	  width:100%;
	  height:100%;
	  display:flex;
	  align-items: center;
	  justify-content: center;
	  color: rgba(255,0,0,.5);
	  font-size: 9em;
  }

  .history-card .cross-out {
	  display:none;
  }

  .history-card.deleted .cross-out {
	  display:flex;
  }

  .logical-operator-panel,
  .arithmetic-operator-panel,
  .comparison-operator-panel {
	  border:1px solid rgb(158, 158, 158);
	  border-left-width: 4px;
	  border-radius: 10px;
	  display:flex;
	  flex-direction: column;
	  flex:1;
  }
	

  .logical-operator-panel > div:first-child,
  .arithmetic-operator-panel > div:first-child {
	  background-color: rgb(158, 158, 158);
	  padding:5px;
	  margin-left:0px;
	   border-top-left-radius: 7px;

	   border-top-right-radius: 7px;
	   display:flex;
	   flex-direction: row;
  }


  .arithmetic-operator-panel > div:first-child {
	background-color: rgb(212, 212, 242);
  }
  .logical-operator-panel select,
    .arithmetic-operator-panel select,
  .comparison-operator-panel select {
	  margin: 0!important;
	  min-height: 30px;
  }

.logical-operator-panel > div:first-child + div,
.arithmetic-operator-panel > div:first-child + div,
.comparison-operator-panel > div:first-child + div {
	  padding: 5px;
	  flex:1;
  }

.comparison-operator-panel {
	border:1px solid rgb(212, 242, 212);
	border-left-width: 4px;
	border-radius: 10px;
	display:flex;
	flex-direction: column;
}
.arithmetic-operator-panel {
	border:1px solid rgb(212, 212, 242);
	border-left-width: 4px;
	border-radius: 10px;
	display:flex;
	flex-direction: column;
}
.comparison-operator-panel input,
.comparison-operator-panel select {
	width:100%;
	min-width:100px;
}
/* .comparison-operator-panel > div {
	display:flex;
	flex:1;
	flex-direction: column;
} */

.comparison-operator-panel > button {
	border-radius: 0;
	border-top-right-radius: 9px;
	border-bottom-right-radius: 9px;
	border:none;
	background-color:rgb(212, 242, 212);
}

	  /* .logical-operator-panel .logical-operator-panel {
		  border-top-right-radius: 0;
		  border-bottom-right-radius: 0;
	 margin-right:-11px;
  } */

  	  /* .arithmetic-operator-panel .arithmetic-operator-panel {
		  border-top-right-radius: 0;
		  border-bottom-right-radius: 0;
	 margin-right:-11px;
  } */

   /* .logical-operator-panel .logical-operator-panel > div:first-child {
	   border-top-right-radius: 0;
   }

      .arithmetic-operator-panel .arithmetic-operator-panel > div:first-child {
	   border-top-right-radius: 0;
   } */

   .arithmetic-operator-panel .factors {
	   margin-bottom: 5px;
   }
.arithmetic-operator-panel .factors > *:not(:first-child):before {
	display:block;
	height:24px;
	flex:0;
	max-width:50%;
	justify-content: center;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	border-right: 4px solid rgb(212, 212, 242);
	border-left: 10px solid rgb(212, 212, 242);
	background-color: rgba(212, 212, 242,.5);
	padding-left: 10px;
	padding-right: 10px;
	margin-left: -5px;
	font-size: 1em;
	font-weight: bold;
	line-height: 24px;
}

   .arithmetic-operator-panel.add .factors > *:not(:first-child):before {
	content:'+';
   }

   .arithmetic-operator-panel.subtract .factors > *:not(:first-child):before {
	content:'-';
   }

    .arithmetic-operator-panel.divide .factors > *:not(:first-child):before {
	content:'/';
   }

    .arithmetic-operator-panel.multiply .factors > *:not(:first-child):before {
	content:'x';
   }
/* .comparison-operator-panel .comparators > *:before {
	display:block;
	height:24px;
	flex:0;
	max-width:50%;
	justify-content: center;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	border-right: 4px solid rgb(212, 242, 212);
	border-left: 10px solid rgb(212, 242, 212);
	background-color: rgba(212, 242, 212,.5);
	/* margin-top: 5px;
	margin-bottom: 5px; */
	/*padding-left: 10px;
	padding-right: 10px;
	margin-left: -5px;
	font-size: 1em;
	font-weight: bold;
	line-height: 24px;
}
.comparison-operator-panel .comparators > *:not(:first-child):before {
	content: "???"
}
.comparison-operator-panel.equals .comparators > *:not(:first-child):before {
	content: "==="
}
.comparison-operator-panel.notEquals .comparators > *:not(:first-child):before {
	content: "!=="
}
.comparison-operator-panel.startsWith .comparators > *:not(:first-child):before {
	content: "starts with"
}
.comparison-operator-panel.endsWith .comparators > *:not(:first-child):before {
	content: "ends with"
}
.comparison-operator-panel.contains .comparators > *:not(:first-child):before {
	content: "contains all"
} */
.logical-operator-panel .comparables {
	padding-bottom:5px;
}
.logical-operator-panel .comparables > *:before {
	display:block;
	height:24px;
	flex:0;
	max-width:50%;
	justify-content: center;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	border-right: 4px solid rgb(158, 158, 158);
	border-left: 10px solid rgb(158, 158, 158);
	background-color: rgba(158, 158, 158,.5);
	/* margin-top: 5px;
	margin-bottom: 5px; */
	padding-left: 10px;
	padding-right: 10px;
	margin-left: -5px;
	font-size: 1em;
	font-weight: bold;
	line-height: 24px;
}
.logical-operator-panel.and .comparables > *:not(:first-child):before {
	content: "&&"
}
.variable-container,
.value-container {
	display:flex;
	flex-direction: row;
	border:1px solid rgb(212, 242, 212);
		border-left-width: 3px;
	border-radius: 10px;

}

.variable-container > button,
.value-container > button {
	border-radius: 0;
	border-top-right-radius: 9px;
	border-bottom-right-radius: 9px;
	border:none;
	background-color:rgb(212, 242, 212);
	/* height:35px; */
}

.variable-container > div:first-child,
.value-container > div:first-child {
	flex:1;
	padding:5px;
}

.variable-select,
.value-input {
	width:100%;
	display:flex;
	flex-direction: row;
	/* align-items: center; */
}
.variable-select > *:not(:first-child),
.value-input > *:not(:first-child) {
	flex:1;
}
.variable-select > div:first-child,
.value-input > div:first-child {
	margin-right: 5px;
	flex:0;
}

.comparators {
	display:flex;
	flex-direction: column;
	padding:5px;
}

.comparators > *:nth-child(2) {
	padding-top:5px;
	padding-bottom:5px;
	display:flex;
	flex-direction: row;
	background-color: rgba(212, 242, 212,.5);
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	border-right: 4px solid rgb(212, 242, 212);
	border-left: 8px solid rgb(212, 242, 212);
	margin-left: -8px;
}

.additional-info {
	display:flex;
	flex-direction: row;
	flex-flow: wrap;
	justify-content: flex-start;
}
.additional-info > div {
	display:flex;
	align-items: center;
	font-size: .7em;
	background-color: rgba(0,0,0,.1);
	padding: 2px;
			height:18px;
	line-height: 18px;
	border-radius: 9px;
	min-width: 18px;
	margin-right: 3px;
}

.additional-info .cond-visible-info {
	text-align: center;
	justify-content: center;
}
.additional-info .id-info,
.additional-info .group-info {
	padding-left: 5px;
	padding-right: 5px;
}
.item-tree-node {
	border-bottom: 1px solid rgba(0,0,0,.2)
}

.pageSection {
	position:relative;
	display:flex;
	flex-direction: column;
}
.pageSection .header {
	display:flex;
	flex-direction: row;
	align-items: flex-end;
	border-bottom: 1px solid #4C9DE5;
}
.pageSection .title {
	font-size: 1.4em;
	background-color: #4C9DE5;
	color:white;
	padding:5px;
	padding-left: 15px;
	padding-right: 15px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	flex:1 0 1;
	/* min-width: 130px; */
}
.pageSection .subTitle {
	width:100%;
	font-size: 1em;
	font-weight: normal;
	color:gray;
	padding:5px;
	flex:1;
}
.pageSection .content {
	display:flex;
	flex-direction: column;
	flex:1;
	/* border-left: 3px solid rgb(120, 177, 226); */
}
/* Level 2 */
.ambifi-panel .pageSection .header,
.pageSection .pageSection .header {
	display:flex;
	flex-direction: row;
	align-items: flex-end;
	border-bottom: 1px solid rgb(120, 177, 226);
}

.ambifi-panel .pageSection .title,
.pageSection .pageSection .title {
	font-size: 1.2em;
	background-color: rgb(120, 177, 226);
	color:white;
	padding:5px;
	padding-left: 15px;
	padding-right: 15px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

.ambifi-panel .pageSection .subTitle,
.pageSection .pageSection .subTitle {
	font-size: .9em;
	font-weight: normal;
	color:gray;
	padding:5px;
}

/* .ambifi-panel.basic input {
	margin-bottom: 0!important;
} */
.ambifi-panel.basic {
	border:0;
	overflow:visible;
}
.ambifi-panel.basic label {
	color:gray;
}
.ambifi-panel.basic .checkbox label,
.ambifi-panel.basic .radio label  {
	color:inherit;
}
.ambifi-panel.basic > .header {
	background-image: linear-gradient(to bottom, white , #F8F8F8);
	padding:8px 10px 8px 10px
}

.ambifi-panel.basic .body.expanded,
.ambifi-panel.basic .body-collapse.expanded,
.ambifi-panel.basic .body-collapse.expanded > div {
	overflow:visible!important;
}

.ambifi-panel.basic.advanced > .header {
	background-image: linear-gradient(to bottom, white , rgb(216,237,206));
	color: rgb(48,102,46);
}

.ambifi-panel.basic .header button {
	width:30px;
	height:30px;
	border-radius: 15px;
	padding:0;
	display:flex;
	justify-content: center;
	align-items: center;
	margin-top:-3px;
	margin-bottom: -3px;
}

.ambifi-panel.basic .header button > span {
	display:flex;
	justify-content: center;
	align-items: center;
}
.reporting-page .react-codemirror2 {
	height: auto;
}
.reporting-page .CodeMirror-scroll {
  max-height: 400px;
}

.reporting-page .htmlPreview {
	overflow:auto;
	max-height: 400px;
}

.content-model-manager {
	display:flex;
	flex:1;
	flex-direction: row;
	overflow-y: auto;
}
@media (max-width: 1000px) {
	.content-model-manager {
	flex-direction: column;
}
}

.content-model-manager .existing-models {
	width:100%;
	height:100%;
	overflow-y:auto;
	max-height:400px;
	display: flex;
	flex-direction: column;
}

.existing-models > * {
	text-align: left;
}

.ambifi-panel {
	width:100%;
/* -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5); */
}

.json-structure {
	padding-left: 10px;
}

.json-array:before {
	content: "[";
	font-size: 1.2em;
	font-weight: bold;
	margin-left: -10px;
}
.json-array:after {
	content: "]";
	font-size: 1.2em;
	font-weight: bold;
	margin-left: -10px;
}

.json-object:before {
	content: "{";
	font-size: 1.2em;
	font-weight: bold;
	margin-left: -10px;
}
.json-object:after {
	content: "}";
	font-size: 1.2em;
	font-weight: bold;
	margin-left: -10px;
}

.json-object > div > div:first-child {
	font-weight: bold;
}

.json-object > div > div:first-child:before {
	content: "-";
}

.editor-header,
.editor-footer {
	display:flex;
	flex-direction: row;
}

.editor-header > *:first-child {
	flex:1;
}

.reporting-panel-subtitle {
	display:flex;
	flex-direction: row;
	align-items: center;
}
.collapsed-widgets Button,
.reporting-panel-subtitle Button {
	padding: 2px;
	padding-left:5px;
	padding-right: 5px;
}

.reporting-panel-subtitle > div:first-child {
	flex:1
}

.reporting-panel-subtitle > div:last-child {
	flex:0
}

.collapsed-widgets {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	min-height: 0;
	flex-shrink: 0;
}

.collapsed-widgets > div {
	flex: "1 0 25%";
	min-width: 100px;
	flex-direction: row;
	display: flex;
	border-radius: 10px;
	background-color: rgb(120, 177, 226);
	align-items:center;
	color:white;
	font-size:1.1em;
	padding:5px;
	margin-bottom:5px;
}

.collapsed-widgets > div:not(:first-child) {
	margin-left: 5px;
}
.collapsed-widgets > div > div:last-child {
	padding-left: 5px;
}

/*Content search*/
.cms-content-hit {
	border-bottom: 1px solid lightgray;
}
.cms-content-hit > div:last-child {
	color:gray;
	font-size:.8em;
}

.cms-content-model-search {
	width:100%;
	display:flex;
	flex-direction: row;
}

.smart-input {
	flex:1;
	border-right:0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.smart-input input {
	/* border-right:0; */
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.smart-input-switch {
	flex:0;
	border-left:0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	height: 100%;
}

.samrt-input-reference .smart-input-switch {
	border-right:0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.samrt-input-reference > ul {
	flex:1;
}

.cms-content-hit span.highlight {
	background-color: #B2DBFF;
}
/* .tree-search-panel {
	border:3px solid lightgray;
} */
/* .tree-search-panel input { */
	/* background-color:#696969;
	color: 	#FFFAF0; */
/* } */

.ref-viewer {
	border: 1px solid lightgray;
	border-radius: 5px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	display: flex;
	flex-direction: column;
}
.ref-viewer .path {
white-space:nowrap;
   flex: 0 1 auto; /*important*/
    text-overflow: ellipsis;
    overflow:hidden;
    min-width:0; /* new algorithm overrides the width calculation */
}

.ref-viewer .contentPreview {
	padding:5px;
	flex:1 0 auto; /*important*/
	overflow:auto;
}

.ref-viewer .structurePreview {
	overflow:auto;
	max-height: 100px;
}

.ambifi-history-view-option-button.selected {
	background-color: #d6d6d6;
	color:black;
	border-radius:5px;
}

.non-margin {
	margin:0!important;
}

.ambifi-drive {

	position: relative;
}

.ambifi-drive.inline .drive-tree {
	min-height: 200px;
	 max-height: 400px;
	 	overflow-y: auto;
}

.ambifi-drive.full {
	flex:1;
	width:100%;
	height:100%;
	display:flex;
	flex-direction: column;
}

.ambifi-drive.full .search-input {
	flex:1 0 1;
}

.ambifi-drive.full .drive-tree {
	flex:1;
}
.ambifi-drive .button-bar {
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px solid lightgrey;
}

.ambifi-drive.full .button-bar {
	flex:1 0 1;
}

.drive-tree {
	position:relative;
	flex:1;
	overflow-y:auto;
}

.drive-tree-wrapper {
	flex:1;
}

/**
This might not always be perfect but better than nothing
*/

/* .embed-responsive-210by297 {
  padding-bottom: 141.42%;
}

.embed-responsive-210by297-player {
	width:400px;
  height:566px;
} */

.mobile-media-toolbar > div {
	display:flex;
	margin-bottom: 10px;
}
.mobile-media-toolbar > button {
	margin-bottom: 10px;
}

.mobile-media-toolbar > div > button:first-child {
	flex:1
}

.mobile-media-toolbar > div > button:first-child {
	padding:10px;
}

.mobile-media-toolbar > div > button + button{
	padding:10px 20px 10px 20px!important;
}
.mobile-media-toolbar > button{
	padding:10px 20px 10px 20px!important;
}
.underline-subheader {
	border-bottom:1px solid lightgray;
	padding-bottom:5px;
}

/*Second round of AmbiFi Page*/

.page-header {
	display:flex;
	/* flex: 1 1 0; */
	flex-direction: row;
	align-items: center;
	width: 100%;
	margin-bottom: 1em;
	padding-bottom: 1em;
	min-height: 0;
	 flex-shrink: 0; /* new */
	/* min-height: 100px; */
}
.page-header > div:first-child {
	flex: 1;
	min-height: 0;
	width:100%;
}
.page-header > div + div {
	justify-content: flex-end;
	text-align: right;
}
.ambifi-tree .node .header {
	display: flex;
	cursor:pointer;
	align-items:center;

}
.ambifi-tree .node .header.selected {
	background-color:lightgray;
	border-radius: 5px;
}
.ambifi-tree .info {
	color:black;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.ambifi-tree .node .toggle {
	padding:5px;
}
.ambifi-tree .node .toggle.disabled {
	color: rgba(0,0,0,.5);
	padding:5px;
}

.ambifi-tree .child-container {
	padding-left:20px;
}

.ambifi-tree.list > div {
	display:flex;
	flex-wrap: wrap;
}

.ambifi-tree .tile-node {
	width:25%;
	padding:15px;
	display: flex;
	flex-direction: column;
	display:pointer;
}

@media (max-width: 1200px) {
	.ambifi-tree .tile-node {
		width:33%;
	}
}
@media (max-width: 500px) {
	.ambifi-tree .tile-node {
		width:50%;
	}
}

/* @media (max-width: 500px) {
	.ambifi-tree .tile-node {
		width:100%;
	}
} */

.ambifi-tree .tile-node .thumb {
	flex:1;
	display:flex;
	justify-content: center;
	align-items: center;
}

.ambifi-tree .tile-node .thumb:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.ambifi-tree .tile-node.selected {
	background-color:lightgray;
	border-radius:10px;
}

.ambifi-tree {
	flex:1;
}

/**
Make some room
*/

@media (max-width: 400px) {
	.panel-body {
		padding:5px;
	}
	
}

.sticky-preview {
  position: absolute;
  bottom:5px;
  right:15px;
  width:120px;
  height:120px;
  display:flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, .4);
  border-radius: 10px;
  overflow: hidden;
	box-shadow: 1px 1px 4px 1px rgba(0,0,0,.5);
  /* border:2px solid black; */
}
.sticky-preview > * {
	max-width: 100%;
	max-height: 100%;
}

.sticky-preview > .pdf {
	width: 100%;
	height: 100%;
}

.sticky-preview > .open-large {
	position: absolute;
	top:0;
	right:0;
	width:30px;
	height:30px;
	display:flex;
	justify-content: center;
	align-items: center;
	font-size: 1.2em;
	color:white;
	cursor: pointer;
	background-color: rgba(0, 0, 0, .6);
	border-bottom-left-radius: 10px;
}
.sticky-preview > .open-large:hover {
	background-color: rgba(0, 0, 0, .9)
}
.drive-tree-wrapper {
	position: relative;
}

.ambifi-drive.full .drive-tree-wrapper {
	height:calc(100% - 100px);
}

@media (min-width:1200px) {
	.ambifi-drive.full .sticky-preview {
 width:240px;
  height:240px;
		
	}
}

.player-done-button {
	visibility:hidden;
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	font-weight: bold;
}

.player-item {
	border-width: 3px;
}

.player-item.selected .player-done-button {
	visibility:visible;
}

.showMode.player-item {
	color:white;
}

.player-pdf {
	width:100%;
	height:100%;
}

.player-show-mode {
	background: url("../assets/showMode/defaultShowModeBackground2.jpg") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.camera-container {
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.camera-mode-button {
	font-size: 16px;
	color: #a3a3a3;
	cursor: pointer;
	margin: 6px;
}

.camera-mode-button-selected {
	color: #0074d9;
}

.swiper-button-next {

}

.panel {
	background-color: transparent;
}

.overlay-play {
	position:absolute;left:0;top:0;bottom:0;right:0;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.65);z-index:1000;
	cursor: pointer;
	flex-direction: column;
}
.overlay-play + div .player-procedure {
	overflow-y: hidden!important;
}

.overlay-play + div .player-show-mode-label-item-container {
	overflow-y: hidden!important;
}

.overlay-play.hidden + div .player-procedure {
	overflow-y: auto!important;
}

.overlay-play.hidden + div .player-show-mode-label-item-container {
	overflow-y: auto!important;
}
.overlay-play .play-button, .overlay-play .launch-new-window-button {
	width:240px;
	height:60px;
	border-radius: 40px;
	background-color: rgba(255,255,255,.8);
	font-size: 20px;
	color:black;
	display:flex;
	justify-content: center;
	align-items: center;
}

.overlay-play:hover .play-button,  .overlay-play:hover .launch-new-window-button {
	background-color: rgba(255,255,255,.9);
	box-shadow: 0 0 10px 1px rgba(255,255,255,.5);
}

.launch-new-window-button:hover, .play-button:hover {
	background-color:white
}

.overlay-play .play-button .fa {
	transform: translate(5px, 2px);
}
  .overlay-play .launch-new-window-button .fa {
	  transform: translate(2px, 2px);
  }
.overlay-play .ambifi-logo {
	position:absolute;left:50%;top:50%;
	transform: translate(-50%, 50px);
	text-align: center;
}


@keyframes fadeOut {
0% {opacity: 1;display:initial}
100% {opacity: 0;display:none}
}

.fadeOut {
-webkit-animation-name: fadeOut;
animation-name: fadeOut;
	animation-duration: 1s;
  animation-fill-mode:forwards;
}


.pdf-actions {
	display:flex;
	flex-direction: column;
	align-items: flex-start;
	background-color: rgba(0, 0, 0, .7);
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:30;
}

.pdf-actions > div {
	width:100%;
	padding:10px;
	display:flex;
	justify-content: center;
}

.pdf-actions button {
	background-color: black;
	color:white;
}
.pdf-actions button:first-child {
	margin-right: 5px;
}
.pdf-actions button:last-child {
	margin-left: 5px;
}
.pdf-actions .fa {
	font-size:3em;
}

.top-list-view > div:nth-child(2) {
	/* margin-bottom: 50vh; */
}

.top-list-view .panel {
	border:none!important;
	padding-right: 5px!important;
	padding-left: 5px!important;
}

.facebook-responsive {
	overflow:hidden;
	padding-bottom:56.25%;
	position:relative;
	height:0;
}

.facebook-responsive iframe {
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}