@font-face {
font-family: Frank;
src: url('images/framd.ttf');
}
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
font-family: Frank;
font-size: 18px;
margin: 0;
padding: 0;
background: url('images/fon.jpg') no-repeat #eab25b;
color: #333;
//overflow-x: hidden;
}
p {
margin: 0;
}
img {
border: 0;
display: block;
}
a {
color: #FE6D02;
text-decoration: none;
}
a:hover {
text-decoration: none;
filter: brightness(130%);
}
div {
margin: 0;
padding: 0;
}
input, textarea, select {
font-family: Frank;
color: #fff;
font-size: 14px;
padding-left: 2px;
border: 0;
}
form {
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
font-family: Frank;
font-size: 22px;
color: #fff;
margin: 5px 10px;
text-align: left;
padding: 0;
text-transform: uppercase;
font-weight: normal;
white-space: nowrap;
}
#bottom {
height: 140px;
width: 100%;
background: url('images/bottom.jpg') repeat-x;
}
#line1{
    height: 80px;
    background-color: #5EA93E;
    border-bottom: 7px solid #4C8931;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin: 0 0 20px 0;
}
center {
  padding: 0 5px;
}


#logo {
position: relative;
background: url('images/logo_star1.png') no-repeat;
display: block;
width: 294px;
height: 80px;
margin-bottom: -10px;
}


#top_menu{
display: flex;
flex-flow: row nowrap;
justify-content: space-around;
align-items: center;
width: 400px;
}
#top_menu a {
    height: 70px;
    width: 56px;
    display: block;
    text-align: center;
}
#top_menu a p {
  color: #fff;
  font-size: 18px;
  margin-top: 52px;
}
#top_menu a:nth-child(1){
    background: url('images/menu1.png') no-repeat;
}
#top_menu a:nth-child(2){
    background: url('images/menu2.png') no-repeat;
}
#top_menu a:nth-child(3){
    background: url('images/menu3.png') no-repeat;
}
#top_menu a:nth-child(4){
    background: url('images/menu4.png') no-repeat;
}
#top_menu a:nth-child(5){
    background: url('images/menu5.png') no-repeat;
}





#searchtop {
height: 45px;
}
#search_input {
width: 240px;
height: 45px;
}

.sinp{
border: 0px none;
font-size: 18px;
height: 45px;
color: #333;
width: 170px;
border-radius: 5px;
background-color: #ABD29A;
padding: 0 0 0 10px;
}


.imgs {
width: 45px; height: 45px;
margin: 0 0 0 5px;
background: url('images/search_button.png') no-repeat;
float: right;

}

.ratingbar {
    margin: 3px 0;
width:186px; height: 27px;
background: url('images/bow_off.png') no-repeat;
}
.ratingbar_full {
height: 27px;
background: url('images/bow_on.png') no-repeat;
}

.ratp {
position: relative; top: -23px; left: 160px;
}
#description{
    text-align: justify;
}
.imggp {
width: 98px; height: 74px;
margin: 0 0 0 10px;
float: left;
}
.cgpd {
width: 125px;
margin: 7px 0 0 30px;
text-align: center;
float: left;
}
.cgpd2 {
width: 125px;
margin: 7px 0 10px 0;
text-align: center;
float: left;
}

#main_text{
	margin: 5px 10%;
  font-size: 17px;
  text-align: center;
}
#games {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
}
#games a {
  margin: 5px;
}
.game_preview, .game_preview_small  {
	overflow: hidden;
}

.game_preview:hover > .game_preview_title, .game_preview_small:hover > .game_preview_title, .game_preview_big:hover> .game_preview_title{
	display: flex;
}
.game_preview:hover, .game_preview_small:hover, .game_preview_big:hover{
   background-color: #5EA93E;
}
.game_preview, .game_preview_big{
    background-color: #fff;
    border-radius: 3px;
    display: block;
    border-radius: 15px;
}

.game_preview > img {
	width: 120px;
	height: 120px;
    margin: 3px;
    border-radius: 15px;
}
.game_preview_big > img{
    width: 386px;
	height: 270px;
    margin: 3px;
    border-radius: 15px;
}

.game_preview_small {
	margin-bottom: 7px;
    background-color: #fff;
    border-radius: 3px;
    display: block;
}
.game_preview_small > img {
	width: 115px;
	height: 90px;
    margin: 3px;
}
.game_preview_title {
	color: #fff;
	text-align: center;
	font-size: 16px;
    background-color: #4c8931;
    display: none;
    height: 50px;
    width: 125px;
    position: absolute;
    margin: -52px 0 0 3px;
    opacity: 0.9;
    padding: 0 5px;
    overflow: hidden;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.game_preview_small .game_preview_title{
    color: #fff;
	text-align: center;
	font-size: 11px;
    background-color: #5EA93E;
    display: none;
    height: 30px;
    width: 105px;
    position: absolute;
    margin: -33px 0 0 3px;
    opacity: 0.9;
}
.game_preview_big .game_preview_title, .game_preview_big2 .game_preview_title {
	color: #fff;
	text-align: center;
	font-size: 12px;
    background-color: #473B51;
    display: none;
    height: 50px;
    width: 376px;
    position: absolute;
    margin: -52px 0 0 3px;
    opacity: 0.9;
    padding: 0 5px;
    overflow: hidden;
}

.game_preview_small_without_title{
    height: 98px;
    width: 130px;
    padding: 0 11px 6px 11px;
}
.game_preview_small_without_title img{
    height: 98px;
    width: 130px;
}

.new, .top{
   position: absolute;
   width: 100px;
   height: 98px;
   z-index: 2;
   margin: -5px 0 0 31px;
}
.new{
       background: url('images/new.png') no-repeat;
}
.top{
       background: url('images/top.png') no-repeat;
}

.block1 {
  max-width: 850px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}
.hg, .ho {
  background: #5ea93e;
  border-radius: 5px;
  width: 100%;
  margin: 10px 0;
  height: 35px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}
.ho {
  background: #f17f05;
}
.whiteinfo {
  background: #fff;
  border-radius: 5px;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}
.ad {
  min-width: 336px;
  min-height: 300px;
}
.ad2 {
  max-width: 1000px;
  min-height: 300px;
  margin: 10px 0;
}
.ad3 {
  width: 300px;
  min-height: 630px;
  margin: 10px 0;
}
.ad4 {
  width: 300px;
  min-height: 300px;
  margin: 10px 0;
}
.ad p {
  text-transform: uppercase;
  color: #999;
  font-size: 14px;
  text-align: center;
}
.ad2 p,.ad3 p,.ad4 p {
  text-transform: uppercase;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.green {
  color: #5ea93e;
}
.orange {
  color: #f17f05;
}
.black {
  color: #333;
}
.info {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}
.info1 {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.infoimg {
  width: 140px; height: auto;
  border: 3px solid #5ea93e;
  border-radius: 15px;
  margin: 0 10px 0 0;
}
.info1 p {
  text-transform: uppercase;
}
.info2 {
  text-align: left;
  line-height: 200%;
}
.info2 p {
  color: #999;
}
.ptitle {
  color: #333;
  font-size: 24px;
  text-transform: uppercase;
}
.info3 {
  width: 95%;
  margin: 15px 0 0 0;
  border: 1px solid #e6e7e8;
  color: #999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  text-transform: uppercase;
  padding: 10px;
  line-height: 140%;
}
.info3 div:nth-child(1) {
  text-align: left;
}
.info3 div:nth-child(2) {
  text-align: right;
}
.info3 div:nth-child(2) img {
  display: inline-block;
}
.tag {
  display: block;
  border-radius: 0 10px 0 10px;
  color: #5ea93e;
  border: 2px solid #5ea93e;
  font-size: 15px;
  padding: 0 5px;
  margin: 0 2px 3px 2px;
}
.tags {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.block3 {
  width: 130px;
  height: 593px;
  display: flex;
  flex-flow: column nowrap;
  justify-content:  space-between;
  align-items: center;
  margin: 0 10px;
}
.lay1 {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
}
.block2 {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
.block4 {
  max-width: 990px;
}
.white {
  background: #fff;
  border-radius: 5px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
.white p {
  text-align: justify;
}
.screenshots {
  height: 290px;
  width: 985px;
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
.screenshots img {
  height: 270px; width: auto;
  border-radius: 10px;
  margin: 0 5px;
}
.screenshots::-webkit-scrollbar {
  background: #f17f05;
}
.screenshots::-webkit-scrollbar-thumb {
	background: #5ea93e;
}
.arrow_l {
  width: 44px; height: 44px;
  background: url('images/arrow_l.png') no-repeat;
  position: absolute;
  margin: 120px 0 0 -480px;
}
.arrow_r {
  width: 44px; height: 44px;
  background: url('images/arrow_r.png') no-repeat;
  position: absolute;
  margin: 120px 0 0 440px;
}
.device_pc, .device_android, .device_ios, .device_online {
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  margin: 5px 2px;
}
.device_pc {
  width: 175px; height: 55px;
  background: url('images/icon_pc.png') no-repeat #11bbf5 10px 50%;
}
.device_android {
  width: 235px; height: 55px;
  background: url('images/icon_android.png') no-repeat #64cf0e 10px 50%;
}
.device_ios {
  width: 183px; height: 55px;
  background: url('images/icon_ios.png') no-repeat #333 10px 50%;
}
.device_online {
  width: 185px; height: 55px;
  background: url('images/icon_html5.png') no-repeat #fd5106 10px 50%;
}
.device_pc p, .device_android p, .device_ios p, .device_online p {
  position: relative;
  top: 14px; left: 57px;
  white-space: nowrap;
}
.infoline {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.infoline div:nth-child(1) p:nth-child(2) {
  color: #777;
}
.infoline div:nth-child(2) {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
#gameplay {
  width: 840px;
  height: 538px;
  background: #000;
  padding: 5px;
  border-radius: 10px;
}
.block5 {
  max-width: 850px;
}
.lay {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
}
.blockside {
  width: 300px;
  margin: 0 0 0 5px;
}
.blocksidel {
  width: 280px;
  margin: 0 5px 0 0;
}
#stick, #stickl {
  top: 0;
}
.ild {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 790px;
}
#allcats {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}
#allcats a {
  display: block;
  min-width: 120px;
  white-space: nowrap;
  height: 40px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 0 15px 0 15px;
  border: 3px solid #5ea93e;
  margin: 5px;
}
#allcats a p {
  margin: 5px;
  text-transform: uppercase;
}
#allcats a p:nth-child(2) {
color: #333;
}
.moreside {
  width: 280px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: flex-start;
}
.moreside a {
  margin: 5px;
}



@media (max-width:1600px){
  .blocksidel {
    display: none;
  }
}
@media (max-width:1300px){
  .blockside {
    display: none;
  }
}
@media (max-width:956px){
  #line1 {
    justify-content: center;
    height: 140px;
  }
  .whiteinfo {
    flex-flow: row wrap;
  }
  .info {
    width: 100%;
  }
  .ad {
    width: 100%;
  }
  .block3 {
    display: none;
  }
  .arrow_l {
    margin: 120px 0 0 0;
    left: 20px;
  }
  .arrow_r {
    margin: 120px 0 0 0;
    right: 20px;
  }
  .screenshots {
    width: 95vw;
  }
  .ild {
    width: 100%;
  }
  #gameplay {
    width: 95vw;
  }
}
@media (max-width:660px){
  #searchtop {
    display: none;
  }
}
