@font-face{font-family: light; src: url(../fonts/robotolight.ttf) }
@font-face{font-family: thin; src: url(../fonts/robotothin.ttf) }
@font-face{font-family: regular; src: url(../fonts/robotoregular.ttf) }
@font-face{font-family: medium; src: url(../fonts/robotomedium.ttf) }
*{
    margin: 0;
    padding: 0
}
html{
    height: 100%;
    min-height: 100%
}
body{
    height: 100%;
    min-height: 100%;
    font-family: light, Roboto, Helvetica, Arial;
    font-size: 14px;
    color: #5a5a5a;
    background-color: #e7e7e7;
    overflow: auto;
    min-width: 320px;
}
.noof {
    overflow: hidden;
}
a img{
    border: none
}
header, nav, footer{
    display: block
}
ol, ul{
    list-style: none
}
input, select, textarea{
    outline:none;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box
}
textarea{
    resize: vertical
}
h1{
    font-family: regular, Roboto, Helvetica, Arial;
    font-weight: normal;
    font-size: 32px;
    padding-bottom: 10px;
    color: #ad0000
}
h2{
    font-family: regular, Roboto, Helvetica, Arial;
    font-weight: normal;
    font-size: 28px;
    padding-bottom: 10px
}
h3{
    font-family: regular, Roboto, Helvetica, Arial;
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 10px
}
h4{
    font-family: regular, Roboto, Helvetica, Arial;
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 10px
}
a:link, a:visited{
    color: #393939;
    text-decoration: none
}
a:hover{
    color: #bd0000
}
a:active{
    color: #bd0000
}
.page{
    min-height: 100%
}
.nosel{
    user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}
.wrap{
    margin: 0 auto;
    width: 930px
}
.clear{
    clear: both;
    float: none;
}
.gag{
    height: 50px
}
table{
    width: 100%;
    border-collapse: collapse
}
table.fixed{
    table-layout: fixed
}
.left{
    float: left
}
.right{
    float: right
}
.padleft{
    padding-left: 20px
}
/* ------------------------------------------- */

/* ------------------ HEADER ----------------- */
header{
    position: relative;
    z-index: 200;
    height: 90px;
    line-height: 90px;
    font-size: 19px;
    background-color: #f9f9f9;
    text-align: center;

    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.24);
       -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.24);
            box-shadow: 0 2px 5px rgba(0,0,0,0.24)
}
header nav img{
    vertical-align: middle;
    height: 65px
}
header nav a{
    margin: 0 25px
}
header nav a.active{
    color: #bd0000
}

header .mobile-block {
    display: none;
}

header .wrap{
    position: relative
}
#lang{
    position: absolute;
    top: 0;
    right: 0;
    color: #adadad;
    cursor: pointer
}
#lang img{
    vertical-align: middle
}
#lang span{
    padding: 0 15px 0 5px;
    background-image: url(../img/ldown.png);
    background-repeat: no-repeat;
    background-position: 100% center;
    font-size: 14px
}
#lang.active span{
    background-image: url(../img/lup.png);
    color: #575757
}


.wrapbubble{
    position: relative;
    display: none
}
.speech-bubble {
  padding: 10px;
  position: absolute;
  line-height: 22px;
  font-size: 14px;
  top: -20px;
  left: 50%;
  border: 1px solid #d9d9d9;
  margin-left: -80px;
  background-color: #fff;
  width: 130px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  
  -webkit-box-shadow: 0 4px 4px rgba(0,0,0,0.13);
     -moz-box-shadow: 0 4px 4px rgba(0,0,0,0.13);
          box-shadow: 0 4px 4px rgba(0,0,0,0.13);
}
 
.speech-bubble:after {
  content: '';
  position: absolute
}

.speech-bubble a{
    display: block;
    text-align: left;
    padding-bottom: 5px
}
.speech-bubble a:last-child{
    padding-bottom: 0
}
 
/* Position the Arrow */
 
.speech-bubble-top:after {
  background-image: url(../img/bubble.png);
  background-repeat: no-repeat;
  
  width: 13px;
  height: 8px;
  
  left: 60%;
  bottom: 100%;
  margin-left: -7px
}
.speech-bubble-right:after {
  border-left-color: #292929;
 
  left: 100%;
  top: 50%;
  margin-top: -15px;
}
 
.speech-bubble-bottom:after {
  border-top-color: #292929;
 
  top: 100%;
  left: 50%;
  margin-left: -15px;
}
 
.speech-bubble-left:after {
  border-right-color: #292929;
  top: 50%;
  right: 100%;
  margin-top: -15px;
}

/* ------------------ INDEX ------------------- */
#hatSlider{
    position: relative;
    z-index: 0;
    text-align: center
}
#hatSlider .item {
    display: block;
    height: 100%;
    overflow: hidden;
    min-height: 250px;
}
#hatSlider img{
    height: auto;
    display: block;
    width: 100%;
}
.maincontent{
    position: relative;
    z-index: 1;
    margin-top: -65px
}
#hatSliderNav{
    padding: 10px;
    background-color: rgba(255,255,255,0.8);
    font-family: thin, Roboto, Helvetica, Arial;
    font-size: 22px;
    color: #b3b3b3;
    text-align: center;
    
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
}
#hatSliderNav table{
    border-bottom: 1px solid #dedede
}
#hatSliderNav td{
    padding: 2px;
    vertical-align: top;
    cursor: pointer
}
#hatSliderNav td div{
    width: 100%;
    background-color: #000
}
#hatSliderNav table img{
    width: 100%;
    vertical-align: bottom;
    opacity: 0.65;
    -webkit-transition: opacity 0.4s;
       -moz-transition: opacity 0.4s;
            transition: opacity 0.4s
}
#hatSliderNav td.active, #hatSliderNav td:hover{
    color: #ad0000
}
#hatSliderNav td.active img, #hatSliderNav td:hover img{
    opacity: 1
}

#hatSliderNav p{
    padding: 10px 0
}

#hatLinks{
    padding: 10px 0 0
}
#hatLinks a{
    display: inline-block;
    height: 38px;
    margin: 0 2px
}
#gameLinks a{
    display: inline-block;
    height: 38px;
    display: inline-block;
    margin: 0 10px 10px 0
}
#hatLinks img, #gameLinks img{
    height: 100%;
    vertical-align: bottom;
    opacity: 0.8;
    -webkit-transition: opacity 0.3s;
       -moz-transition: opacity 0.3s;
            transition: opacity 0.3s
}
#hatLinks a:hover img, #gameLinks a:hover img{
    opacity: 1
}

#appSlider .appSlider-item {
    display: none;
}

#appSlider .appSlider-item.active {
    display: block;
}

.appText{
    float: left;
    width: 515px;
    padding: 0 0 15px 0
}
.appScreens{
    float: right;
    width: 410px;
    padding: 15px 0
}

.fullScreen img{
    width: 100%;
    border: 5px solid #fff;

    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box
}
.screenSlider .owl-item{
    opacity: 0.35;
    cursor: pointer;
    
    -webkit-transition: opacity 0.3s;
       -moz-transition: opacity 0.3s;
            transition: opacity 0.3s
}
.screenSlider .owl-item.active, .screenSlider .owl-item:hover{
    opacity: 1;
}
.screenSlider img{
    width: 90%;
    vertical-align: bottom;
    border: 3px solid #fff;

    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px
}
/* ------------------ GAMES ------------------- */
.menuPanel{
    height: 55px;
    line-height: 55px;
    background-color: #fff;
    
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.28);
       -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.28);
            box-shadow: 0 1px 3px rgba(0,0,0,0.28)
}

#aboutNav a{
    display: inline-block;
    margin-right: 40px;
    font-size: 18px;
    color: #777777
}

#aboutNav{
    position: relative;
}
#magicLine{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: #b10000;
}

.allgames{
    width: 945px;
    padding: 10px 0
}
.itm{
    display: inline-block;
    width: 280px;
    height: 140px;
    padding: 10px;
    margin: 6px;
    background-color: #fff;
    overflow: hidden;
    
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
       -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
            box-shadow: 0 1px 1px rgba(0,0,0,0.32)
}
.itm h3{
    font-family: light, Roboto, Helvetica, Arial;
    font-weight: normal;
    font-size: 22px;
    margin: 0;
    padding-bottom: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.itm .icon{
    display: block;
    float: left;
    width: 100px;
    margin-right: 10px
}
.itm img{
    width: 100%;
    vertical-align: bottom;
}
.itm p{
    height: 100px;
    line-height: 20px;
    overflow: hidden;
}

/* ------------------ GAMES ------------------- */
#hat{
    width: 1024px
}
#hat img{
    width: 100%;
    vertical-align: bottom
}
#gameTop{
    position: relative;
    z-index: 1;
    padding: 15px;
    padding-bottom: 10px;
    background-color: #fff;
    
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;

    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
       -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
            box-shadow: 0 1px 1px rgba(0,0,0,0.32)
}
#gameTop .icon{
    float: left;
    width: 140px;
    vertical-align: bottom
}
.gameInfo{
    margin-left: 155px
}
#gameTop h1{
    position: relative;
    padding-right: 185px;
    line-height: 32px
}
#gameTop h1 p{
    position: absolute;
    right: 0;
    top: 0;
    font-family: light, Roboto, Helvetica, Arial;
    font-size: 22px;
    color: #3b3b3b
}
#gameDesc h2{
    font-size: 22px
}
/* ------------------ TEXT ------------------- */
.back{
    margin-top: 15px;
    margin-bottom: 15px;

    background-color: #fff;
    
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
/*
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
       -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
            box-shadow: 0 1px 1px rgba(0,0,0,0.32)
*/
}
.page.long{
    position: relative;
    z-index: 0
}
.page.long:after{
    content: "";
    position: absolute;
    z-index: -1;
    width: 930px;
    left: 50%;
    margin-left: -465px;
    top: 105px;
    bottom: 60px;
    background-color: #fff;

    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;

    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
       -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
            box-shadow: 0 1px 1px rgba(0,0,0,0.32)
}
.page.aboutpage.long:after{
    top: 160px
}
.back>div{
    padding: 15px;
}
.textblock{
    font-size: 17px
}
.textblock p{
    padding: 0;
    margin: 10px 0;
}

.textblock h1, .textblock h2 {
    color: rgb(90, 90, 90);
    display: block;
    font-family: regular, Roboto, Helvetica, Arial;
    font-size: 20px;
    font-weight: normal;
    height: 26px;
    padding: 0;
    margin-bottom: 10px;
}
/* ------------------ ABOUT ------------------- */
#aboutDepsWrap{
    display: none
}
#aboutVacancies{
    padding-top: 10px
}
.aboutitm{
    font-size: 17px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;

    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;

    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
       -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
            box-shadow: 0 1px 1px rgba(0,0,0,0.32)
}
/* ------------------ FORM ------------------- */
#contacts td{
    padding: 10px
}
#contacts input[type=text], #contacts textarea{
    outline: none;
    display: block;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    font-weight: lighter;
    font: 18px light, Roboto, Helvetica, Arial;
    -webkit-appearance: none;
    border: 1px solid #d1d1d1;
    font-size: 18px;
    line-height: 1.2em;
    width: 100%;
    background: #029BE5;
    color: #000;
    background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#444));
    padding: 0 1em 0 0.75em;
    margin: 0 auto;
    background: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
    box-shadow: 0 1px 3px rgba(0,0,0,0.27);
    height: 36px;
}

#contacts textarea {
    height: 6em;
    padding: .5em 1em .5em .75em
}
#name, #email, #game{
    background-repeat: no-repeat;
    background-position: 10px center;
}
#message{
    background-repeat: no-repeat;
    background-position: 10px 10px;
}
#name{
    background-image: url(/assets/img/name.png)
}
#email{
    background-image: url(../img/email.png)
}
#game{
    background-image: url(../img/game.png)
}
#message{
    background-image: url(../img/message.png)
}
#submit{
    float: right;
    background-color: #383838;
    color: #fff;
    border: none;
    text-align: center;
    padding: 15px 70px;
    cursor: pointer;
    border-radius: 5px;
}
#gameRes{
    display: none;
    position: absolute;
    top: 45px;
    right: 10px;
    left: 10px;
    background-color: #fff;
    
    -moz-box-sizing: border-box;
	box-sizing: border-box;
	
	border: 1px solid #CCC;
    
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
	
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.2);
       -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
#gameRes>div{
    padding: 5px;
    cursor: pointer
}
#gameRes>div:hover{
    background-color: #0088CC;
    color: #fff
}
#gameRes>div:first-child{
    -webkit-border-top-left-radius: 4px;
       -moz-border-top-left-radius: 4px;
            border-top-left-radius: 4px;
            
    -webkit-border-top-right-radius: 4px;
       -moz-border-top-right-radius: 4px;
            border-top-right-radius: 4px;
}
#gameRes>div:last-child{
    -webkit-border-bottom-left-radius: 4px;
       -moz-border-bottom-left-radius: 4px;
            border-bottom-left-radius: 4px;
            
    -webkit-border-bottom-right-radius: 4px;
       -moz-border-bottom-right-radius: 4px;
            border-bottom-right-radius: 4px;
}

/* ------------------ SELECT ----------------- */
.menuPanel .jq-selectbox, .textblock .jq-selectbox{
    width: 100%
}
.aboutpage .jq-selectbox{
    width: 250px
}
.menuPanel td{
    padding: 0 10px
}
.menuPanel td:first-child{
    padding-left: 0
}
.menuPanel td:last-child{
    padding-right: 0
}

.textblock .jq-selectbox__select{
	height: 35px;
	padding: 0 45px 0 35px;
	border: 1px solid #cdcdcd;
	background: #fff;

	color: #333;
	text-shadow: 1px 1px #FFF;
	font: 14px/35px light, Roboto, Helvetica, Arial;

    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;

    -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
       -moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
            box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
}

.menuPanel .jq-selectbox__select{
    height: 35px;
    line-height: 35px;
    width: auto;
    background: #fff;
    font: 18px/35px light, Roboto, Helvetica, Arial;

    border: 1px solid #d1d1d1;
    
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
       -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
            box-shadow: 0 1px 3px rgba(0,0,0,0.27)
}

.textblock  #platform + .jq-selectbox__select{
    background-repeat: no-repeat;
    background-position: 10px center;
    background-image: url(/assets/img/platform.png)
}
.jq-selectbox li.selected {
    background-color: #08c;
}
.jq-selectbox__trigger {
	position: absolute;
	top: 0;
	right: 0;
	width: 34px;
	height: 100%;
	border-left: none;
}

.jq-selectbox__trigger-arrow {
	top: 15px
}

.jq-selectbox__select:hover {
	background-color: #fff
}
.jq-selectbox__select:active {
	background: #fff;
	-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
       -moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
            box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
}
.jq-selectbox.focused .jq-selectbox__select {
	border: 1px solid #cdcdcd
}

/* ------------------ FOOTER ----------------- */
footer{
    position: relative;
    z-index: 1;
    margin-top: -50px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    background-color: #3b3b3b;
    color: #fff;

    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
       -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
            box-shadow: inset 0 3px 5px rgba(0,0,0,0.2)
}
footer .right a{
    margin-left: 5px;
    opacity: 0.8
}
footer .right a:hover{
    opacity: 1
}
footer img{
    vertical-align: middle
}
footer .left a:link, footer .left a:visited{
    color: #fff;
    text-decoration: underline
}
footer .left a:hover{
    text-decoration: underline
}
/* ------------------ FOOTER ----------------- */

/* ------------------- NEWS ------------------ */

.wrap.news {
    display: block;
}

.wrap.news .news_header {
    display: block;
    width: 100%;
}

.wrap.news .news_header h2 {
    margin-top: 15px;
    float: left;
}

.wrap.news .news_header a.news_more {
    float: right;
    margin-top: 29px;
    font-family: light,Roboto,Helvetica,Arial;
    font-weight: normal;
    font-size: 18px;
    padding-bottom: 10px;
    vertical-align: bottom;
    color: #BD0000;
}

.wrap.news .news_header a.news_more:hover {
    color: #393939;
}

.wrap.news .news-item-block {
    font-size: 0;
    margin: 0 -20px;
    text-align:center;
}

.wrap.news .news-item-block .news-item {
    width: 300px;
    display: inline-block;
    margin: 0 10px 20px 10px;
    background-color: white;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: left;
}

/*.wrap.news .news-item-block .news-item:nth-last-child(1) {*/
    /*margin-right: 0;*/
/*}*/

.wrap.news .news-item-block .news-item .desc {
    margin: 15px;
}

.wrap.news .news-item-block .news-item .icon-l {
    display: block;
    height: 140px;
    overflow: hidden;
}

.wrap.news .news-item-block .news-item img.icon{
    width: 300px;
    display: block;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.wrap.news .news-item-block .news-item .desc .title {
    font-size: 22px;
    font-family: light,Roboto,Helvetica,Arial;
    color: #AD0000;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrap.news .news-item-block .news-item .desc .info {
    font-size: 14px;
    font-family: light,Roboto,Helvetica,Arial;
}

.wrap.text-intro {
    margin-bottom: 20px;
    padding-top: 20px;
}

.wrap.text-intro h2, .wrap.text-intro h1 {
    color: rgb(90, 90, 90);
    display: block;
    font-family: regular, Roboto, Helvetica, Arial;
    font-size: 28px;
    font-weight: normal;
    /*height: 37px;*/
}

.wrap.text-intro .text {
    font-size: 16px;
}

.wrap.text-intro .text p {
    margin: 10px 0;
    font-size: 16px;
}

.wrap.text-intro .text p a {

}

.wrap.text-intro .text p a:link, .wrap.text-intro .text p a:visited{
    color: #bd0000;
    text-decoration: none
}
.wrap.text-intro .text p a:hover{
    color: #393939
}
.wrap.text-intro .text p a:active{
    color: #393939
}

.wrap.text-intro .text ul {
    list-style: circle inside;
}

.wrap.text-intro br {
    display: block;
    width: 100%;
    margin-bottom: 22px;
}

#appSlider p { /* micro patch */
    font-size: 16px;
}

.hr {
    width: 100%;
    height: 0;
    border-bottom: 1px solid #d4d4d4;
    margin: 15px 0;
}

.more-link {
    margin-left: 1em;
    padding: 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    text-decoration: none;
}

.wrap.news_single {
    margin: 20px auto;
    width: 900px;
    padding: 15px;
    background: white;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
}

.news_single h2 {

}

.news_single .news_single_content {
    margin: 0;
}

.news_single .news_single_content img {
    width: 300px;
    display: block;
    float: left;
    margin: 0 10px 0 0;
}

.line.news_filter_line {
    width: 100%;
    display: block;
    background: #fff;
    -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.news_filter {

}

.news_filter ul {
    display: block;
    font-size: 0;
}

.news_filter ul li.filter-item {
    display: inline-block;
    font-size: 19px;
    height: 50px;
    line-height: 50px;
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

.news_filter ul li.filter-item.active {

}

.news_filter ul li.filter-item.active:after {
    content: '';
    position: absolute;
    right: 0; bottom: 0; left: 0;
    height: 4px;
    background-color: #AD0000;
}

.showDesktop {
    display: block;
}
.showMobile {
    display: none;
}

.mobile-select {
    position: relative;
    bottom: auto;
    right: auto !important;
    width: 300px;
    overflow: auto;
    cursor: pointer;
    margin: 0 auto;
    height: 38px;
    padding: 0 0 0 0;
}
.mobile-select select {
    outline: none;
    display: block;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    font-weight: lighter;
    font: 18px light, Roboto, Helvetica, Arial;
    -webkit-appearance: none;
    border: 1px solid #d1d1d1;
    font-size: 18px;
    line-height: 1.2em;
    width: 100%;
    background: #029BE5;
    color: #000;
    background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#444));
    padding: 0 1em 0 0.75em;
    margin: 0 auto;
    background: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
    box-shadow: 0 1px 3px rgba(0,0,0,0.27);
    height: 36px;
}
.mobile-select .arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 100%;
    border-left: none;
}
.mobile-select .arrow .ar {
    pointer-events: none;
    position: absolute;
    right: 12px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-top: 5px solid #000;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    opacity: 0.3;
    filter: alpha(opacity=30);
    top: 15px;
}
#contacts .mobile-select {
    width: 100%;
}
.menuPanel .wrap .mobile-select {
    float: left;
    margin-right: 15px;
    margin-top: 10px;
}
.menuPanel .wrap .mobile-select:nth-last-child(1) {
    margin-right: 0;
}
@media screen and (max-width: 1000px) {
    /*index page*/
    #hatSlider {
        /*min-height: 250px;*/
        position: relative;
        z-index: 0;
        text-align: center
    }
    #hatSlider .item {
        display: block;
        height: 100%;
        overflow: hidden;
        min-height: 170px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    #hatSlider img{
        height: 100%;
        width: auto;
        display: none;
    }
    .wrap {
        margin: 0 auto;
        width: 94%;
        padding: 0 3%;
    }
    #hatSliderNav p {
        padding: 10px 0;
        display: none;
    }
    #hatSliderNav table {
        border: 0;
    }
    #hatLinks {
        display: none !important;
    }
    .appText, .appScreens {
        float: none;

        width: 100%;
        /*padding: 0;*/
    }
    .wrap.news .news-item-block {
        font-size: 0;
        margin: 0;
        text-align: center;
    }
    .wrap.news {
        display: block;
        width: 100%;
        padding: 0;
    }
    .wrap.news .news_header {
        display: block;
        padding: 3%;
        width: 94%;
    }
    footer {
        position: relative;
        z-index: 1;
        margin-top: -50px;
        height: auto;
        line-height: 20px;
        font-size: 10px;
        padding: 5px 0;
        background-color: #3b3b3b;
        color: #fff;
        -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
        -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
        box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
    }

    footer .left, footer .right {
        /*float: none;*/
    }
    footer .left a:nth-child(1):before {
        display:block;
        content: '';
    }


    /* ------------------ HEADER ----------------- */
    header{
        position: relative;
        z-index: 200;
        height: 60px;
        line-height: 90px;
        font-size: 19px;
        background-color: #f9f9f9;
    }
    header nav img{
        vertical-align: middle;
        height: 65px
    }
    header nav a{
        margin: 0 25px
    }
    header nav a.active{
        color: #bd0000
    }

    header .mobile-block {
        display: block;
        position: relative;
    }

    header .mobile-block div.logo {
        background-color: #F9F9F9;
        position: fixed;
        top: 0; left: 0; right: 0;
        width: 100%;
        height: 60px;
        -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
        -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
        z-index: 20;
        height: 60px;
        width: 100%;
    }

    header .mobile-block div.logo img {
        display: block;
        position: absolute;
        top: 12px;
        left: -20px;
        height: 36px;
        width: 111px;
    }

    header .mobile-block div.logo.active img {
        left: 0;
    }

    #mobile-menu {
        display: none;
    }
    #mobile-menu.active {
        display: block;
        position: fixed;
        top: 60px;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,0.5);
        text-align: left;
    }

    #mobile-menu .mbc {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 75%;
        height: 100%;
        background: #fff;
        padding: 0;
        text-align: center
    }

    #mobile-menu #language {
        width: 100%;
    }

    #mobile-menu a.menu {
        text-align: left;
        display: block;
        width: 92%;
        height: 50px;
        line-height: 50px;
        border-top: 1px solid #F4F4F4;
        padding-left: 4%;
        padding-right: 4%;
        text-transform: uppercase;
    }
    #mobile-menu a.menu:nth-last-child(1) {
        border-bottom: 1px solid #F4F4F4;
    }
    .mbc .mobile-select {
        margin: 20px auto;
    }
    .mobile-select {
        position: relative;
        bottom: auto;
        right: auto !important;
        width: 90%;
        overflow: auto;
        cursor: pointer;
        margin: 0 auto;
        height: 38px;
        padding: 0 0 0 0;
    }
    .mobile-select select {
        outline: none;
        display: block;
        -webkit-border-radius: 5px 5px 5px 5px;
        border-radius: 5px 5px 5px 5px;
        font-weight: lighter;
        font: 18px light, Roboto, Helvetica, Arial;
        -webkit-appearance: none;
        border: 1px solid #d1d1d1;
        font-size: 18px;
        line-height: 1.2em;
        width: 100%;
        background: #029BE5;
        color: #000;
        background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#444));
        padding: 0 1em 0 0.75em;
        margin: 0 auto;
        background: #fff;
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.27);
        box-shadow: 0 1px 3px rgba(0,0,0,0.27);
        height: 36px;
    }
    .mobile-select .arrow {
        position: absolute;
        top: 0;
        right: 0;
        width: 34px;
        height: 100%;
        border-left: none;
    }
    .mobile-select .arrow .ar {
        pointer-events: none;
        position: absolute;
        right: 12px;
        width: 0;
        height: 0;
        overflow: hidden;
        border-top: 5px solid #000;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        opacity: 0.3;
        filter: alpha(opacity=30);
        top: 15px;
    }

    .menuPanel .wrap .mobile-select {
        float: none;
        margin-right: 15px;
        margin-top: 10px;
        margin: 10px auto 0 auto;
    }
    .menuPanel .wrap .mobile-select:nth-last-child(1) {
        margin-right: inherit;
        margin: 10px auto 0 auto;

    }

    header .wrap{
        position: relative;
        display: none;
    }
    #lang{
        position: absolute;
        top: 0;
        right: 0;
        color: #adadad;
        cursor: pointer
    }
    #lang img{
        vertical-align: middle
    }
    #lang span{
        padding: 0 15px 0 5px;
        background-image: url(../img/ldown.png);
        background-repeat: no-repeat;
        background-position: 100% center;
        font-size: 14px
    }
    #lang.active span{
        background-image: url(../img/lup.png);
        color: #575757
    }


    .wrapbubble{
        position: relative;
        display: none
    }
    .speech-bubble {
        padding: 10px;
        position: absolute;
        line-height: 22px;
        font-size: 14px;
        top: -20px;
        left: 50%;
        border: 1px solid #d9d9d9;
        margin-left: -80px;
        background-color: #fff;
        width: 130px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;

        -webkit-box-shadow: 0 4px 4px rgba(0,0,0,0.13);
        -moz-box-shadow: 0 4px 4px rgba(0,0,0,0.13);
        box-shadow: 0 4px 4px rgba(0,0,0,0.13);
    }

    .speech-bubble:after {
        content: '';
        position: absolute
    }

    .speech-bubble a{
        display: block;
        text-align: left;
        padding-bottom: 5px
    }
    .speech-bubble a:last-child{
        padding-bottom: 0
    }

    /* Position the Arrow */

    .speech-bubble-top:after {
        background-image: url(../img/bubble.png);
        background-repeat: no-repeat;

        width: 13px;
        height: 8px;

        left: 60%;
        bottom: 100%;
        margin-left: -7px
    }
    .speech-bubble-right:after {
        border-left-color: #292929;

        left: 100%;
        top: 50%;
        margin-top: -15px;
    }

    .speech-bubble-bottom:after {
        border-top-color: #292929;

        top: 100%;
        left: 50%;
        margin-left: -15px;
    }

    .speech-bubble-left:after {
        border-right-color: #292929;
        top: 50%;
        right: 100%;
        margin-top: -15px;
    }

    .news_filter {
        padding: 20px 0;
    }
    #newsFilter-styler {
        width: 100%;
    }
    .showDesktop {
        display: none;
    }
    .showMobile {
        display: block;
    }
    .textblock h1, .textblock h2 {
        color: rgb(90, 90, 90);
        display: block;
        font-family: regular, Roboto, Helvetica, Arial;
        font-size: 20px;
        font-weight: normal;
        height: initial;
        padding: 0;
        margin-bottom: 10px;
    }
    /* ------------------ FORM ------------------- */
    #contacts td{
        padding: 10px;
        display: block;
    }
    #contacts input[type=text], #contacts textarea{
        width: 100%;
        outline: none;
        border: 1px solid #cdcdcd;
        padding: 10px 10px 10px 40px;

        -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
        -moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.25);
        box-shadow: inset 0 0 4px rgba(0,0,0,0.25)
    }
    #name, #email, #game{
        background-repeat: no-repeat;
        background-position: 10px center;
    }
    #message{
        background-repeat: no-repeat;
        background-position: 10px 10px;
    }
    #name{
        background-image: url(/assets/img/name.png)
    }
    #email{
        background-image: url(../img/email.png)
    }
    #game{
        background-image: url(../img/game.png)
    }
    #message{
        background-image: url(../img/message.png)
    }
    #submit{
        float: right;
        background-color: #383838;
        color: #fff;
        border: none;
        text-align: center;
        padding: 15px 70px;
        cursor: pointer;
        width: 100%;
    }
    #gameRes{
        display: none;
        position: absolute;
        top: 45px;
        right: 10px;
        left: 10px;
        background-color: #fff;

        -moz-box-sizing: border-box;
        box-sizing: border-box;

        border: 1px solid #CCC;

        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;

        -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    #gameRes>div{
        padding: 5px;
        cursor: pointer
    }
    #gameRes>div:hover{
        background-color: #0088CC;
        color: #fff
    }
    #gameRes>div:first-child{
        -webkit-border-top-left-radius: 4px;
        -moz-border-top-left-radius: 4px;
        border-top-left-radius: 4px;

        -webkit-border-top-right-radius: 4px;
        -moz-border-top-right-radius: 4px;
        border-top-right-radius: 4px;
    }
    #gameRes>div:last-child{
        -webkit-border-bottom-left-radius: 4px;
        -moz-border-bottom-left-radius: 4px;
        border-bottom-left-radius: 4px;

        -webkit-border-bottom-right-radius: 4px;
        -moz-border-bottom-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .menuPanel {
        height: initial;
        padding:10px 0;
    }

    .menuPanel .mobile-select {
        margin: 10px auto;
    }


    /* ------------------ GAMES ------------------- */
    #aboutNav a{
        display: inline-block;
        margin-right: 40px;
        font-size: 18px;
        color: #777777
    }

    #aboutNav{
        position: relative;
    }
    #magicLine{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100px;
        height: 4px;
        background: #b10000;
    }

    .wrap.allgames{
        font-size: 0;
        margin: 0;
        text-align: center;
        width: 100%;
        padding: 10px 0 0 0;
    }
    .itm{
        height: 140px;
        padding: 10px;
        overflow: hidden;

        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
        -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
        box-shadow: 0 1px 1px rgba(0,0,0,0.32);

        width: 280px;
        display: inline-block;
        margin: 0 10px 10px 10px;
        background-color: white;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        text-align: left;
    }
    .itm h3{
        font-family: light, Roboto, Helvetica, Arial;
        font-weight: normal;
        font-size: 22px;
        margin: 0;
        padding-bottom: 10px;

        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .itm .icon{
        display: block;
        float: left;
        width: 100px;
        margin-right: 10px
    }
    .itm img{
        width: 100%;
        vertical-align: bottom;
    }
    .itm p{
        height: 100px;
        line-height: 20px;
        overflow: hidden;
        font-size: 15px;
    }

    /* ------------------ GAMES ------------------- */
    #hat{
        width: 100%;
        margin: 0;
        padding:0;
    }
    #hat img{
        width: 100%;
        vertical-align: bottom
    }
    #gameTop{
        position: relative;
        z-index: 1;
        padding: 15px;
        padding-bottom: 10px;
        background-color: #fff;

        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;

        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
        -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.32);
        box-shadow: 0 1px 1px rgba(0,0,0,0.32);
        margin-top: -20px;
    }
    #gameTop .icon{
        float: left;
        width: 80px;
        vertical-align: bottom
    }
    .gameInfo{
        margin-left: 90px
    }
    #gameTop h1{
        position: relative;
        padding-right: initial;
        line-height: 32px
    }
    #gameTop h1 p{
        position: relative;
        right: auto;
        top: auto;
        font-family: light, Roboto, Helvetica, Arial;
        font-size: 22px;
        color: #3b3b3b
    }
    #gameDesc {
        margin-bottom: 20px;
    }
    #gameDesc h2{
        font-size: 22px
    }
    #gameLinks {
        margin-top: 10px;
    }

    .wrap.news_single {

        background: white;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
        box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
        margin: 15px 3%;
        width: 88%;
        padding: 3%;
    }

    .news_single h2 {

    }

    .news_single .news_single_content {
        margin: 0;
    }

    .news_single .news_single_content img {
        width: 100%;
        display: block;
        float: left;
        margin: 0 10px 10px 0;
    }
}
