@media (min-width: 900px) {
	.main-layout {
		margin: 1em;
		display: flex;
	}
	.main-layout > :first-child {
		flex: 1 1 300px;
		margin-right: 1em;
	}
	.main-layout > :nth-child(2) {
		flex: 1 1 300px;
		max-height: 90vmin;
	}
}

.main-layout > :nth-child(2) {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.main-layout .chat-window {
	height: 600px;
}
.main-layout .webcam-app {
	margin-top: 1em;
	flex: 0 0 auto;
}

.chat-window {
	flex-direction: column-reverse;
}
.chat-window > :nth-child(2) {
	display: none;
}

.close-button {
  float: right;
  padding: 0 3px 1px 3px;
  border: thin outset black;
  cursor: pointer;
}

.popup .popup-content {
  display: none;
  position: absolute;
	z-index: 100;
}

.search-tab {
	display: inline-block;
	padding: 7px 15px 7px 15px;
	margin-left: 5px;
	font-weight: bold;
	text-align: center;
	text-shadow: 1px 1px white;
	border: 1px solid rgb(216, 223, 234);
	border-radius: 5px 5px 0 0;
	background-color: rgb(216, 223, 234);
	color: gray;
	cursor: pointer;
}
.search-tab.active {
	border-bottom: 1px solid rgb(237, 239, 244);
	background-color: rgb(237, 239, 244);
	color: rgb(59, 89, 152);
	position: relative;
	top: 1px;
}
.search-tab .material-icons {
	font-size: 1.5em;
}

div#search-box {
	background-image: url(/images/musical_notes2.gif);
	background-position: top left;
	background-repeat: no-repeat;
	background-color: rgb(237, 239, 244);
	border: 1px solid rgb(216, 223, 234);
	font-family: Arial, Helvetica, sans-serif;
	padding: 10px;
	border-radius: 5px;
	min-height: 550px;
}

div#playerDiv, div#chat-agent-div {
	position: relative;
}

img.next-button, img.prev-button {
	width: 36px;
	height: 36px;
	cursor: pointer;
}
div.close-button {
	background: black;
	color: white;
	border-radius: 5px;
}
img.recent-searches-button {
	width: 26px;
	height: 26px;
	cursor: pointer;
	vertical-align: middle;
}

.recent-searches-popup {
	display: none;
	position: absolute;
	max-width: 500px;
	background: #feeebd;
	border: 1px solid rgb(200,207,218);
	border-radius: 5px;
	box-shadow: 1px 1px 0 gray;
	padding: 10px;
	z-index: 100;
}
.recent-searches-popup .search-tag {
	cursor: pointer;
	text-decoration: underline;
	margin-right: 10px;
}
.recent-searches-popup .search-tag:hover {
	color: green;
}

.song-info-popup {
	display: none;
	position: absolute;
	background: #feeebd;
	border: 1px solid rgb(200,207,218);
	border-radius: 5px;
	box-shadow: 1px 1px 0 gray;
	padding: 10px;
}
