
/* COMMON --------------------------*/

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

li{
	display: inline-block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.hide{
	display: none;
}

/* MAIN LAYOUT --------------------------*/

body{
	font-family: arial;
	margin: 0;
	color: #38454F;
	font-family: 'Open Sans', sans-serif;
	font-size: 22px;
	background: #F5F6FA;
}


.screen{
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	/* background: rgb(195,217,231); */
	/* background: linear-gradient(176deg, rgba(195,217,231,1) 0%, rgba(237,244,249,1) 28%); */
	background: white;
}

.screen > .close{
	position: fixed;
	top: 0.65em;
	right: 0.7em;
	font-size: 30px;
	color: #bdbdbd;
	background: white;
	border-radius: 50%;
	height: 30px;
	line-height: 0;
}

/* EMOTIONS --------------------------*/

/* Header */
#emotions .header{
	width: 100%;
	height: 70px;
	position: relative;
	background: white;
}
#emotions .header:after{
	content: "";
	background: white;
	width: 100%;
	height: 40px;
	display: block;
	-webkit-filter: blur(8px);
	-moz-filter: blur(8px);
	-o-filter: blur(8px);
	-ms-filter: blur(8px);
	filter: blur(5px);
	opacity: 1;
	position: absolute;
	bottom: -18px;
}

#emotions .header h1{
	text-align: center;
	font-family: 'Satisfy', cursive;
	font-size: 1.5em;
	color: #38454F;
	text-shadow: 0px 8px 6px rgba(0,0,0,0.2);
	width: 100%;
	margin: .8em 0 0;
	z-index: 2;
	position: relative;
}

#settings-btn{
	position: absolute;
	top: .1em;
	right: 1%;
	display: flex;
	justify-content: center;
	align-items: center;
	/* background: red; */
	width: 40px;
	height: 40px;
	z-index: 3;
	color: #bdbdbd;
}

/* List of emotions */

#emotions ul{
	text-align: center;
	max-height: calc(100vh - 70px);
	overflow: auto;
	/* background: red; */
	padding-top: 30px;
	padding-bottom: 3px;
}

	#emotions ul li{
		display: inline-block;
		width: calc(31% - 4px);
		text-align: center;
		margin-bottom: 0.3em;
		padding: 0 0 0;
		border-radius: 0.5em;
		background: #f5f5f5;
		vertical-align: top;
	}

		#emotions ul li img{
			width: 3.5em;
			margin-bottom: -0.8em;
		}

		#emotions ul li img.small{
			width: 2.5em;
			padding-top: .8em;
			padding-bottom: .2em;
		}

		#emotions ul li span{
			display: flex;
			font-size: 0.6em;
			color: #53677b;
			line-height: 1em;
			height: 2.2em;
			margin-top: .1em;
			margin-bottom: .2em;
			justify-content: center;
			align-items: center;
			/* width: 100%; 
			white-space: nowrap; 
			overflow: hidden; 
			text-overflow: ellipsis; 
			-o-text-overflow: ellipsis; 
			-ms-text-overflow: ellipsis; */
		}

		#emotions ul li.disabled{
			opacity: 0.5;
			pointer-events: none;
		}


/* QUOTES --------------------------*/

#quotes .frame{
	background: #f7f7f7;
	border-radius: 19px;
	width: calc(100% - 1.3em);
	height: calc(100% - 30px);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

#quotes .holder{
	max-height: calc(100% - 30px);
	overflow: auto;
}

#quotes .text{
	font-size: 1em;
	line-height: 1.6em;
	margin-bottom: 0.8em;
	text-align: center;
	padding: 0 7.5%;
}

#quotes .quote{
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
	color: #FF3A3D;
	line-height: 1.4em;
	font-family: 'Satisfy', cursive;
	border-radius: 5px;
}

/* SETTINGS --------------------------*/



/* LOADER --------------------------*/

.loader{
	background: no-repeat;
    color: #c3c3c3;
}

/* MEDIA QUERIES --------------------------*/

@media (min-height: 600px){
	body{font-size: 24px;}

	#emotions .header h1{
		margin: .7em 0 0;
	}
}