@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css");
* {
	touch-action: manipulation;
}

html, body {
	height:100%;
    overflow: auto;
  /* padding: 50px; */
  /*font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;*/
}
#playsibleMain {
	/* height:100%; */
	flex-grow: 1;
}
h2 {
	text-align: center;
}

a {
  color: #00B7FF;
}
.word-template {
	font:1.25rem "Lucida Grande", Helvetica, Arial, sans-serif;
}
#game {
	/*width:100%;
 	display: flex; */
 	margin-top: 2rem;
 	margin-bottom: 1rem;
 	justify-content: center
}
#tinyGrids {
	display:flex;
	flex-direction:row;
	align-items:stretch;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}
#tinyGrids .tiny-grid {
	min-width:50px;
	margin: 0px 10px 0px 10px;
}
.gameGrid {
	display:flex;
	flex-direction:column;
}
.letter-instruction{
	display:flex;
}

.letter,.instruction-letter{
	/*border: 2px solid #c4c4c4;*/
	border: 2px solid rgba(0,0,0,.3);
	border-radius: 0.25rem;
	margin-right: 0.5rem;
	max-width: 3rem;
	display:flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
}
.word.row{
	height:3rem;
	margin-bottom:0.5rem;
  	justify-content: center;
}

.tiny-grid {
	/* border: 2px solid purple; */
	display:flex;
	flex-direction: column;
}

.tiny-row {
	/* border: 2px solid orange; */
	height: 0.5rem;
	margin-bottom: 0.1rem;
	display: flex;
	flex-wrap: wrap;
}

.tiny-letter {
	border: 1px solid rgba(0,0,0,.3);
	border-radius: 0.1rem;
	margin-right: 0.1rem;
	max-width: 0.5rem;
	flex: 1 0 0%;

}
.scoreBox {
	/* border: 2px solid purple; */
	/* float: left */
	text-align: center;
	display:flex;
	justify-content: center;
}
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  /* Styles */
.scoreBox .btn {
	padding:0px;
}

}

#keyboard {
	display:flex;
	justify-content: center;
	width:100%;
}


.alerts{
	display:flex;
	justify-content:center;
}

.alert {
	min-width:20rem;
	max-width: 40rem;
	font:1rem "Lucida Grande", Helvetica, Arial, sans-serif;
	margin-bottom:0;
	line-height:1rem; /* alerts height - 2 for padding */
}
.alert button.btn-close {
	padding:1rem 1rem;
}
.my-close-button {
	box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: .5;
}


.chatBox {
	position: fixed!important;
	bottom: 0!important;
	left: 0!important;
	padding: 0.5rem;
	z-index:1;
	
}
.chatCollapse {
	border-radius: 0.25rem 0.25rem 0px 0px;
}

.chatWindow {
	border-radius: 0 0 0.25rem 0.25rem;
}

.btn-minimize {
	box-sizing: content-box;
	width: 1em;
	/*height: 1em; */
	/*background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3e%3c/svg%3e") center/1em auto no-repeat;*/
	/*background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e") center/1em auto no-repeat; */

	border: 0;
	border-radius: 0.25rem;
	margin-right: -0.375rem;
	margin-left: 0.75rem;
	float:right;
}

#chat {
	overflow:auto;
}

.chat-message {
	border-radius: 0.25rem;
	background-color: #f3f3f3;
	padding: 0.5rem;
	margin: 0.5rem 0.5rem 0.5rem 0;
}

.chat-message-user {
	font-weight:bold;
	font-size: small;
}
.chat-message-time {
	float: right;
	color: #b9b9b9;
	font-style: italic;
	font-size: smaller;
}

.joined-message{
	text-align: center;
	font-style: italic;
}