html,body { 
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	height: 100%;
	min-height: 100%;
	margin: 0; 
  	padding: 0;
  	font-size: 14px;
  	color: #AAAAAA;
  	background: #111111;
}

h2{
	font-size: 1em;
	font-weight: normal;
	margin-block: 0;
}

*:focus {
    outline: none;
}

.body_disable_scroll{

   height: 100%;
   overflow-y: hidden;

}


a {
	color: #AAAAAA;
	text-decoration: none;
}

#gameList{
	margin: auto;
	width: 1200px;	
	padding-bottom: 60px;
}

.header {
	margin: 10px;
	vertical-align: middle;
	position: relative;
}


.header_left {
	position: relative;
}

.header_icon {
	display:inline-block;
	vertical-align: middle;
	padding-right: 10px;
}

.header_text {
	display:inline-block;
	margin-top: 8px;
	vertical-align: middle;
	font-size: 1.7em;
	color: #fff;
	font-weight: 500;
}

.add_app {
	position: absolute;
	right: 0px;
	top: 5px;
}

.add_app a{
	text-decoration: underline;
}

.add_app a:hover{
	color: white;
}


.search_button {
	position: absolute;
	right: 0px;
	top: 66px;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.4s;
	z-index: 99;
}

#search{
	background: none;
	border: none;
	height: 30px;
	border-bottom: 1px solid #aaaaaa;
	color: #aaaaaa;
	width: 250px;
	padding-right: 30px;
}

.search_panel{	
	position: absolute;
	top: 115px;
	right: -4px;
	height: 0px;
	opacity: 0;
	width: 369px;
	max-width: 95%;
	transition: opacity 0.3s, height 0.3s;
	z-index: 99;
	background: #191919;
	display: none;
	opacity: 1;
	height: auto;
	padding: 20px;
	padding-top: 30px;
	padding-bottom: 25px;
	border: 1px solid #666;
	border-radius: 5px;
	box-shadow: -4px 4px 6px rgba(0, 0, 0, 0.5);
}

.search_panel_control{
	position: absolute;
	top: 10px;
	right: 7px;
}

.search_panel_control_item{
	display: inline-block;
	cursor: pointer;
	margin-left: 5px;
	margin-right: 5px;
	text-decoration: underline;
}

.search_panel_control_item:hover{
	display: inline-block;
	cursor: pointer;
	color: #fff;
}


.search_panel.search_panel_show{
	display: block;
	opacity: 1;
	
	/*height: 250px;	*/
}

.search_menu{
	background: #333;
	color: #FFF;
	font-weight: 500;
	padding: 7px 10px 7px 10px;
	border-radius: 5px;
	display: inline-block;
	cursor: pointer;
	margin: 5px;
	transition: background-color 0.3s;	
	border: 1px solid #666;
}

.search_panel_section{
	margin-bottom: 15px;
}

.search_panel_section_title{
	margin-bottom: 2px;
}

.search_menu:hover{
	background-color: #888888;
	
}

.search_menu.search_menu_selected{
	background-color: #c79e18;
}


.search_button:hover, .search_button:focus-within{
	opacity: 1;
}

.games_overlay{
	position: fixed;
	width: 100vw;
	height: calc(100vh - 74px);
	top: 74px;
	z-index: 95;
	background: #000000;
	opacity: 0;
	display: none;
}

.search_button img{
	height: 25px;
	position: absolute;
	right: 0;
	
}

.header_icon img {
	height: 50px;
}

.title_a{
	display:inline;
}

.title_b{
	display:inline;
	font-weight: 100;
}

.title_c{
	display:inline;
	color: #AAA;
}

.app_item{
	display: inline-block;
	width: 287px;
	margin: 5px;
	padding-bottom: 5px; 
}

.app_item_body{
	border-radius: 8px;
	background: #252525;
}

.app_item_name{
	color: #fff;
	font-weight: 500;	
	margin-top: 5px;
	padding: 10px;
	padding-bottom: 2px;
	font-size: 16px;
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.app_item_genre{
	color: #AAA;
	font-weight: 500;	
	font-size: 14px;
	padding-left: 10px;
	padding-right: 10px;
    padding-bottom: 10px;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.app_item_image{
	border-radius: 8px 8px 0 0;
	width: 100%;
	padding-bottom: 60%;
	background-position: center;
	background-size: cover;
	position: relative;
}

.app_item_image_overlay{
	
	opacity: 0;
	background: #ffffff;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: opacity 0.8s;
	z-index: 90;
}

.app_item a:hover .app_item_image_overlay{
	opacity: 0.3;
}

.app_item_stars {
	padding-left: 5px;
	display: inline-block;
	width: 70%;
}

.app_item_stars_img{
	display: inline-block;
	vertical-align: middle;
	padding-left: 5px;
}

.app_item_stars_img img{
	height: 15px;
}

.app_item_stars_text{
	display: inline-block;
	vertical-align: middle;
}

.app_item_ratings{
	display: inline-block;
	font-size: 14px;
	color: #AAA;
}

.app_item_price{
	display: inline-block;
	position: relative;
}

.app_price{
	display: inline-block;
	text-align: right;
	padding-right: 10px;
	padding-bottom: 12px;
	width: 20%;
}

.app_item_price.offer{
	background-color: rgb(76, 107, 34);
	color: rgb(164, 208, 7);
	border-radius: 5px;
	padding: 2px 5px;
	font-weight: bold;
}


.app_item_price_offer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: small;
    text-decoration: line-through;
    color: #AAAAAA;
    font-weight: normal;
}

.button{
	background-color: #005bb7;
	color: #FFF;
	font-weight: 500;
	padding: 10px 15px 10px 15px;
	border-radius: 5px;
	display: inline-block;
	cursor: pointer;
}

.button:hover{
	background-color: #0482ff;
}

.button.button_disabled:parent{
	pointer-events: none;
	cursor: default;
	
}

.add_link_input{
	background: #000;
	border: 1px solid #666;
	border-radius: 5px 0 0 5px;
	width: 500px;
	max-width: 70%;
	height: 23px;
	color: #fff;
	padding: 6px;
}

.add_link{
	
}

.add_link a{
	color: #fff;
}

#footer{
	text-align: center;
	padding-top: 80px;
}

#description{
	max-width: 600px;
	margin: auto;
	margin-top: 20px;
}

#toTop{
	position: fixed;
	bottom: 20px;
	right: 20px;
	cursor: pointer;
	display: none;
	z-index: 98;
}

#toTop img{
	width: 40px;
}



#twitter img{
	width: 50px;
	margin-top: 10px;
}

#footer_text{
	margin-top: 40px;
	color: #777777;
	font-size: 0.9em;
}

#games{
	min-height: 90vh;
}

.nav_menu{
	padding-top: 10px;
	margin-left: 5px;
	padding-bottom: 10px;
	
}

.nav_menu_item{
	height: 30px;
	
	display: inline-block;
	padding-right: 10px;
	padding-left: 10px;
	transition : all 0.4s;
	border-bottom: 4px #c79e1800 solid;
	cursor: pointer;
	position: relative;
	
}

.nav_menu_item .new{
	position: absolute;
	top: -12px;
	right: 11px;
	font-size: 0.7em;
	color: white;
	background: red;
	padding-right: 1px;
	padding-left: 1px;
}

.nav_menu_social{
	position: absolute;
	top: 17px;
	left: 380px;
	
}
.nav_menu_social img{
	width: 30px;
}

.nav_menu_item a{
	transition : all 0.4s;
} 

.nav_menu_item.selected{
	border-bottom: 4px #c79e18 solid !important;
}

.nav_menu_item.selected a{
	color: #fff;
	
}

.nav_menu_item:hover{
	border-bottom: 4px #c0c0c0 solid;
}

.nav_menu_item:hover a{
	color: #fff;
}

.xcom{
	display: inline-block;
	margin-left: 20px;
}

.xcom img{
	height: 17px;
	position: relative;
	top: 2px;
}

.promoted{
	background-color: #005bb7;
	color: #fff;
	border-radius: 5px;
	padding: 2px 5px;
	font-weight: bold;
}




@media all and (max-width:1250px) {
	#gameList{
		width: 1000px;	
	}
	
	.app_item{
		width: 237px;
	}
}

@media all and (max-width:1050px) {
	#gameList{
		width: 900px;	
	}
	
	.app_item{
		width: 287px;
	}
}

@media all and (max-width:950px) {
	#gameList{
		width: 800px;	
	}
	
	.app_item{
		width: 254px;
	}
}

@media all and (max-width:850px) {
	#gameList{
		width: 700px;	
	}
	
	.app_item{
		width: 338px;
	}
	
	.add_app{
		top: 5px;
	}
	
	.nav_menu_social{
		display: none;
	}
	
	.header{
		margin-left: 13px;
		margin-right: 5px;
	}
	
	#search{
		width: 170px;
	}

}

@media all and (max-width:750px) {
	#gameList{
		width: 600px;	
	}
	
	.app_item{
		width: 288px;
	}
	
	#search{
		width: 140px;
	}

	.xcom{
		display: none;
	}

}

@media all and (max-width:650px) {
	#gameList{
		width: 90%;	
	}
	
	.app_item{
		width: calc(100% - 10px);
	}
		
	.header_text{
		font-size: 1.25em;
	}
		
	.title_a {
		display: none;
	}
	
	.nav_menu_social{
		display: none;
	}
	
	.search_button{
		top: 17px;
	}
	
	.add_app{
		display: none;
	}
	
	.search_panel{
		top: 60px;
	}

	#search{
		width: 170px;
	}
}

@media all and (max-width:500px) {
	#search{
		width: 0;
		transition: width 0.3s;
		border-bottom: none;
		
	}
	
	#search.search_force_show{
		width: 110px;
		border-bottom: 1px solid #aaaaaa;
	}
	
	.search_panel{
		width: auto;
		left: -15px;
		/*height: 300px;*/
	}

}

@media all and (max-width:460px) {
	.nav_menu_item{
		padding-right: 7px;
		padding-left: 7px;
	}
}

@media all and (max-width:415px) {
	.header_left {
		width: auto;
	}
	
	.title_c.title_c_small{
		display: none;
	}
	
	.nav_menu_item{
		padding-right: 5px;
		padding-left: 5px;
	}
	
	.nav_menu_item .new{
		right: 6px;
	}
}

@media all and (max-width:382px) {
	.menu_hidden{
		display: none;
	}
}





