content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	/*margin: -2px;*/
	/*width: 100%;*/
	box-sizing: border-box;
}

content.list {
	flex-direction: column;
	padding: 0px;
}

content.border {
	padding: 2px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 1pt;
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	color: #505050;
	background-color: rgba(0, 50, 100, 0.1);
	box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
}

content > loading {
	width: 40px;
	height: 40px;
	background-image: url('/images/loading.svg');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
}

content > item {
	box-sizing: border-box;
	position: relative;
	border: 2px solid transparent;
	margin: 0px;
	min-width: 80px;
	cursor: pointer;
	overflow: hidden;	
}

content > item.unavailable {
	opacity: 0.4;
}

content.list > item {
	width: 100%;
	min-width: 250px;
	max-width: none;
	height: 40px;
}



content.list > item:not(:last-child) {
	margin-bottom: 0px;
}

content > item > title {
	display: block;
	position: absolute;
	box-sizing: border-box;
	left: 0px;
	bottom: 0px;
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	color: black;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);	
	padding: 9px;
	text-overflow: ellipsis;
	background-color: rgba(255, 255, 255, 0.8);
}

content > item > border {
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 1pt;	

	overflow: hidden;
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	margin: auto;	
}

__content > item:hover > title {
	text-decoration: underline;
}

content.list > item > title {
	background-color: transparent;
	color: black;
	top: 0px;
	white-space: nowrap;
	max-width: calc(100% - 35px);
	margin: auto;
}

content > item > available {
	display: block;
	position: absolute;
	left: 50%;

	padding: 10px 0px 0px;
	font-family: 'Open Sans', sans-serif;
	font-size: 8pt;
}


content > item > duration {
	position: absolute;
	right: 0px;
	bottom: 0px;
	
	font-family: 'Open Sans', sans-serif;
	font-size: 8pt;
	font-weight: 100;

	color: black;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);

	line-height: 100%;
	padding: 8px;
}

content.list > item > duration {
	top: 0px;
	line-height: 14pt;
}



content > item > background {
	overflow: hidden;
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	margin: auto;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
}

content > item > background.overlay {
	box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
	background-color: rgba(200, 225, 250, 0.2);
}

content.list > item > background.overlay {
	background-color: rgba(255, 255, 255, 0.8);
}

content > item.selected > background.overlay {
	background-color: rgba(200, 255, 200, 0.9) !important;
}


content > item > logo {
	position: absolute;
	right: 3px;
	top: 3px;
	width: 60px;
	height: 40px;
	border: 5px white solid;
	background-color: white;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
	border-radius: 1pt;
}

content.list > item > logo {
	box-sizing: border-box;
	right: 0px;
	top: 0px;
	bottom: 0px;
	width: 50px;
	height: initial;
	border-radius: 0pt;
	border-width: 5px;
	box-shadow: none;
}


/* Rewrite above here */

.bordered {
	margin: 0px;
	padding: 0px;
	outline: none;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 1pt;
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	color: #505050;
	box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.05);
}

.content { /* default icon view */

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	
	box-sizing: border-box;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	/*overflow: auto;*/

	/*background-color: rgba(0, 0, 0, 0.1);*/
	

	/*border-right: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);*/

	/*padding: 15px;*/


}

.content.border {
	box-sizing: border-box;	
	margin: 0px;
	padding: 3px 5px 3px 5px !important;
	outline: none;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 1pt;
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	color: #505050;
	background-color: rgba(0, 50, 100, 0.1);
	box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.05);
}

.content.list { /* List view */
	flex-direction: column;
	padding: 0px;
}

.content.transparent {
	border: 0px;
	background-color: transparent;
	box-shadow: none;
}

.content > .stretch_item {
	box-sizing: border-box;
	position: relative;
	margin: 5px;
	background-color: white;
	cursor: pointer;
	flex-grow: 1;

	padding: 10px;	
}

.content > .item {
	box-sizing: border-box;
	position: relative;
	height: 168px;
	min-width: 250px;
	max-width: 500px;
	margin: 5px;
	cursor: pointer;
	flex-grow: 1;
}

.content.small > .item {
	width: 100px;
	min-width: 100px;
	max-width: 100px;
	height: 100px;
}

.content.list > .item {
	margin: 2px 0px 2px 0px;
	width: 100%;
	min-width: 250px;
	max-width: none;
	height: 28px;
	border-radius: 0px;
}


.content > .item > .background {
	overflow: hidden;
	background-blend-mode: multiply;
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	margin: auto;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
}

.content.list > .item > .background {
	background-color: rgba(255, 255, 255, 0.87);
	background-blend-mode: color;
	background-position: 50% 50%;
	background-size: cover;
}

.content > .item > .title {
	position: absolute;
	box-sizing: border-box;
	left: 0px;
	bottom: 0px;

	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	font-weight: 100;

	line-height: 14px;

	color: white;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);

	padding: 8px;
	margin: 0px 50px 0px 0px;
	overflow: hidden;
	text-overflow: ellipsis;

	border-top-right-radius: 1pt;

	background-color: rgba(0, 0, 0, 0.3);
	
	
}

.content > .item > .title > .date {
	font-style: italic;
	font-size: 7pt;
	margin-left: 30px;
}

.content > .item.selected {
	/*box-shadow:  inset 0px 0px 0px 4px rgba(50, 200, 50, 0.5);*/
	border: 1px solid rgba(0, 150, 0, 1);
}

.content > .item.selected > .background {
	/*background-color: rgba(50, 200, 50, 0.5);*/
	/*background-blend-mode: multiply;*/
}

.content.list > .item > .title {

	height: 100%;
	max-width: calc(100% - 25px);
	line-height: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: none;
	/*color: black;*/
	background-color: transparent;
	color: black;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
}

.content > .item > .duration {
	position: absolute;
	right: 0px;
	bottom: 0px;
	
	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	font-weight: 200;

	color: black;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);

	line-height: 100%;
	padding: 8px;
}

.content.list > .item > .duration {
	position: absolute;
	right: 0px;
	background-color: transparent;
	border-radius: 0px;
	width: 50px;
	text-align: right;
	box-shadow: none;
}

.content > .item > .brand_logo {
	position: absolute;
	right: 3px;
	top: 3px;
	width: 60px;
	height: 40px;
	border: 5px white solid;
	background-color: white;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
	border-radius: 1pt;
}

.content.list > .item > .brand_logo {
	right: 0px;
	top: 0px;
	width: 40px;
	height: 24px;
	border-radius: 0pt;
	border-width: 2px;
	box-shadow: none;
}

.content.list > .item > .duration {
	right: 0px;
	top: 0px;
	height: 22px;
}

.content.list > .item > .note {
	position: absolute;
	right: 100px;
	
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	line-height: 14px;	
	
	padding: 5px;
	margin: 1px;
	background-color: transparent;
	border-radius: 0px;
	
	text-align: right;	
}

.loading {
	background-image: url('/images/loading.svg');
	background-position: 50% 50%;
	background-repeat: no-repeat;
}



/* Drag and drop */

.dnd_placeholder {
	border-radius: 1pt;
	border: 1px #505050 solid;
	background: #505050;
	width: 100px;
	height: 20px;
	visibility: visible !important;
}

.dnd_helper {
	min-width: 250px;
	max-width: none;
	height: 33px;
	
	border-radius: 1pt;
	border: 1px solid rgba(0, 0, 0, 0.3);
	box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.1);
}

.dnd_helper > .background {
	overflow: hidden;
	background-blend-mode: multiply;
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	margin: auto;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 0.87);
	background-blend-mode: color;
}


.dnd_helper > .title {

	position: absolute;
	box-sizing: border-box;
	left: 0px;
	bottom: 0px;

	font-family: 'Open Sans', sans-serif;
	font-size: 10pt;
	font-weight: 100;

	line-height: 14px;

	color: black;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);

	padding: 8px;
	margin: 0px 50px 0px 0px;
	overflow: hidden;
	text-overflow: ellipsis;

	height: 100%;
	max-width: calc(100% - 25px);

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: none;
	/*color: black;*/
	background-color: transparent;
}

.dnd_helper > .duration {
	position: absolute;
	right: 0px;
	background-color: transparent;
	border-radius: 0px;
	width: 50px;
	text-align: right;
	box-shadow: none;
}

.dnd_helper > .brand_logo {
	position: absolute;
	border: 5px white solid;
	background-color: white;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);

	right: 0px;
	top: 0px;
	width: 40px;
	bottom: 0px;
	border-radius: 0pt;
	border-width: 2px;
}