.first {
  background-color: #121223;
}

.first main {
  color: white;
  background-color: #2c2c54;
}

.first .headerNav {
  background: #121223;
}

.first .headerNavWrap {
  background-color: #121223;
}


.first .toggleIconLine {
  background-color: #fff;
}

.first .headerNavItem.active, .first .headerNavItem:hover {
  color: #fff;
}

.first .headerNavItem {
  color: #9898e8;
}

.first .button {
  color: #fff;
  border: none;
  font-size: 12px;
  line-height: 1.42857;
  letter-spacing: normal;
  white-space: normal;
  font-weight: 900;

  box-shadow: 0 0 13px 0 rgba(255,4,66,.6);
  background: #855ef9 linear-gradient(90deg,#855ef9,#b059f5);
}

.first .button:hover {
  background: #7040fd linear-gradient(90deg,#9f36f3,#7040fd);
}

.first .lineHeader {
  text-align: left;
  border-bottom: 5px solid #fff;
}

.first .recentItems li {
  border-bottom: 1px dotted #fff;
}

.first .contentTableCaption {
  color: white;
  background: #9898e8;
}

.first div.contentTable .contentTableRow:nth-child(odd),
.first table tr.contentTableRow:nth-child(even){
  background: #7deafb36;
}

.first .feedbackItem {
  border: 1px solid #9898e8;
}

.first .formSection textarea, .first .formSection input {
  border: 1px solid #00badc;
  background-color: #2c2c54;
  color: white;
}

.first .ftr-mobile-btn-wrap {
  background-image: linear-gradient(0deg,#272828 0%,rgba(39, 40, 40, 0.8) 78.32%,rgba(255,255,255,0) 100%);
}

.first h1, .first h2, .first h3, .first h4, .first h5, .first h6 {
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 5px #00badc, 0 0 2px #00badc;
}
div.scrollmenu {
  background-color: #333;
  overflow: auto;
  white-space: nowrap;
}
div.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  font-weight: 700;
}

div.scrollmenu a:hover {
  background-color: #777;
}


/* полоса прокрутки (скроллбар) */
#scrollcss::-webkit-scrollbar {
  height: 4px; /* высота для горизонтального скролла */
  background-color: #143861;
}

/* ползунок скроллбара */
#scrollcss::-webkit-scrollbar-thumb {
  background-color: #483373;
  border-radius: 9em;
  box-shadow: inset 1px 1px 10px #9898e8;
}

#scrollcss::-webkit-scrollbar-thumb:hover {
  background-color: #253861;
}

/* Стрелки */

#scrollcss::-webkit-scrollbar-button:horizontal:start:decrement {
  width: 0;
}

#scrollcss::-webkit-scrollbar-button:horizontal:end:increment {
  width: 0;
}

:root{
  scrollbar-color: #9898e8 #143861;     /* «цвет ползунка» «цвет полосы скроллбара» */
  scrollbar-width: 5px;  /* толщина */}

.games-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
}

.game-box {
  width: calc(100%/2);
  padding: 0 7px;
}

.game-box a {
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
/*  -webkit-transition: color .25s ease-in;
  -o-transition: color .25s ease-in;
  transition: color .25s ease-in;*/
}

.game-box a:hover {
  color: #9f9fff;
}

.game-sqr {
  position: relative;
  width: 100%;
  height: 18vh;
  border: 1px solid #9f9fff;
  border-radius: 7px;
  min-height: 115px;
}

.game-sqr:hover .game-btn-wrap {
  opacity: 1;
}

.game-sqr img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 7px;
}

.game-btn-wrap {
  opacity: 0;
  background: rgba(0,0,0,.4);
 /* -webkit-transition: opacity .25s ease-in;
  -o-transition: opacity .25s ease-in;
  transition: opacity .25s ease-in;*/
  height: 100%;
  border: 3px solid #fff;
  border-radius: 7px;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.game-btn-wrap button {
  font-size: 16px;
  font-family: 'Poppins',Arial,sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  text-transform: uppercase;
  margin-top: 5px;
  line-height: 0.8!important;
}
.game-btn-wrap button:first-child {
  margin-bottom: 10px;
}
.game-btn-wrap button:nth-child(2) {
  font-size: 10px!important;
}

.first-banner{
  margin-bottom: 55px!important;
}
.first-banner:hover{
  cursor: pointer;
  box-shadow: 0 0 10px #8e5ef6;
}
/* Modal BEGIN */
.modal {
  visibility: hidden; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


.modal-content {
  background-color: rgba(0,0,0,0.4);
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 864px;
  height: auto;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
#load{
  color:lawngreen;
}
#btnModal{
  visibility: hidden;
}

/* Modal END */
iframe{width:100%;height:200px;margin:0 auto 15px;border:1px solid black;}
iframe_block{display: block} /*прописать к фрейму в модалке, если где-то наебнется*/
.more{
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 40px;
  height: 40px;
  width:150px;
  display: block;
  line-height: 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 24px;
  border:0;
  cursor: pointer;
  background: linear-gradient( 180deg ,#eb55ee,#2d68ff);
  background-image: linear-gradient( 180deg ,#eb55ee -82%,#2d68ff 191%);
  border-radius: 45px;
}
.more:hover{
  box-shadow: 0 0 10px #8e5ef6;
}

hr{
  border: none;
  background-color: #8e5ef6;
  color: #8e5ef6;
  height: 1px;
}

.top-games{
  font-size: 18px;
  display: inline-block;
  text-transform: uppercase;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  margin-left: 7px;
  text-shadow: 0 0 5px #2c2c54, 0 0 2px #2c2c54;
  line-height: 1.3;
  min-height: 28px;
}

.btn-up{
  position: absolute;
  left: 280px;
}


div .warning{
  margin-top: 25px!important;
  margin-bottom: 25px!important;
  box-shadow: 0 0 10px #9898e8;
  padding: 15px;
}
div.warning span{
  display: inline-block;
  font-style: italic;
}
div.warning span:nth-child(2){
  margin-top: 15px;
}

footer a{
  color:#9898e8;
}

footer a:hover{
  color: #ffffff;
}

table a{
  color:#9898e8;
}

table a:hover{
  color: #ffffff;
}

.flex_social {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap:wrap;
}

.flex_social img {
  width: inherit;
  margin-right:25px;
  margin-bottom:15px;
  border-radius:5px;
}

.link{color:#9898e8;}
.link:hover{color:#fff;}
.img_text{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%!important;
}

.demo_game{
  position: relative;
  width: 100%;
  height: 200px;
}
.demo_game iframe{
  position: relative;
  top:0;
  left:0;
  opacity: 0;
  border:2px solid #9898e8;
  border-radius: 7px;
}
.demo_game img{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 200px;
  opacity: 1;
  border:2px solid #9898e8;
  border-radius: 7px;
}
.demo_game img.demo_close{
  position: absolute;
  top:-10px;
  left:-10px;
  width: 30px;
  height:30px;
  z-index: 6;
  border: none;
  opacity: 0.8;
}
.demo-btn-wrap {
  opacity: 1;
  background: rgba(0,0,0,.4);
  height: 100%;
  border: 2px solid #fff;
  border-radius: 7px;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.demo-btn-wrap button {
  font-size: 16px;
  font-family: 'Poppins',Arial,sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #fff;
  text-transform: uppercase;
  margin-top: 5px;
  line-height: 0.8!important;
}
.demo-btn-wrap button:first-child {
  margin-bottom: 10px;
}
.demo-btn-wrap button:nth-child(2) {
  font-size: 10px!important;
  margin-top: 20px;
}
.loading_demo {
  position: absolute;
  top:80px;
  left:70px;
  z-index: 6;
  font-size: 24px;
  font-weight: 700;
  color: orangered!important;
  text-shadow: 4px 3px 0px #fff, 9px 8px 0px rgba(0,0,0,0.15);
}
.img-main{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  box-shadow: 0 0 10px #9898e8;
}
.content-url li{
  color:#9898e8;
  font-size: 20px;
}
.content-url li:hover{color:#fff;}

.header-wrap{
  display: flex;
  background-color: #2c2c54;
  padding: 10px 20px;
}
.header-logo{
  height: 36px;
  width: 50%;
}
.header-logo img{
  max-height:36px;
}
.header-logo img:hover{cursor: pointer;}
.header-logo a{
  max-height:36px;
  margin: 0 0 0 auto;
}
.header-logo a.more{
  background: rgba(152, 152, 232,0.2);
  box-shadow: 0 0 10px #8e5ef6;
}
.header-logo a.more:hover{
  background:rgba(152, 152, 232,0.5)
}
.login-page{
  padding-top: 5px!important;
  background-color: #fff!important;
  color: #605d5d;
  min-height: 90vh;
}
.login-page img.first-banner{border-radius: 10px; margin-bottom: 0px!important;margin-top: 15px!important;}

.formLogin {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.formLogin label {
  font-size: 14px;
  font-weight: 700;

}

.formLogin input {
  width: 100%;
  line-height: 1.5;
  padding: 5px;
  resize: none;
  border-radius: 6px;
  border-color: #999;
}
.formLogin div{margin-top: 20px;}

.sticky_buttons_container .sticky_buttons_first {
    background: linear-gradient(to bottom, #d00a0a 0%, #f41919 100%)
}

.sticky_buttons_container .sticky_buttons_second {
    background: linear-gradient(to bottom, #009f07 0%, #00d209 100%)
}

.sticky_buttons_container .sticky_buttons_first{
                background: #8e5ef6;
            }
             .sticky_buttons_container .sticky_buttons_first{
                color: #FFFFFF;
            }
             .sticky_buttons_container .sticky_buttons_first:hover{
                background: #C519B6;
            }
             .sticky_buttons_container .sticky_buttons_second {
                background: #20A75D;
            }
             .sticky_buttons_container .sticky_buttons_second {
                color: #FFFFFF;
            }
             .sticky_buttons_container .sticky_buttons_second:hover{
                background: #36D17A;
            }

input[type=submit].formSubmit{
  display: block;
  width: 100%;
  margin: 30px auto 30px auto;
  padding: 12px 50px;
  border-radius: 6px;
  border-color: #8e5ef6;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background:rgba(152, 152, 232,0.2);
}
input[type=submit].formSubmit:hover{
  background:rgba(152, 152, 232,0.5);
}
input[value="Регистрация"].formSubmit{
  background:transparent;
}

.login-page hr{
  background-color: #999;
  margin: 40px -20px 5px -20px;
  height: 2px;
}

.header-logo img.demo_close{
  max-height: 15px;
  display: block;
  margin: 10px 0 0 auto!important;
}

.login-body .first-banner{
  cursor: auto;
  pointer-events: none;
}

.text-bold{
  font-weight:bold;
}
@media (min-width: 359px) {
  .btn-up {
    left: 310px;
  }
  .first .button {
    font-size: 15px;
  }
}

@media (min-width: 399px) {
  .btn-up{
    position: absolute;
    left: 20px;
  }
  .loading_demo{
    left:90px;
  }
}
@media (min-width: 600px) {
  iframe{width:100%;height:350px;margin:0 auto 10px;}
  .game-sqr {
    min-height: 200px;
  }
  .demo_game {height:350px}
  .demo_game img{height:350px}
  .loading_demo{
    top:165px;
    left:150px;
    font-size: 32px;
    font-weight: 700;
  }
  .content-url li{
    font-size: 14px;
  }
}
@media (min-width: 650px) {
  iframe{width:100%;height:350px;margin:0 auto 15px;}
  .demo_game {height:350px}
  .demo_game img{height:350px}
  .loading_demo{
    top:165px;
    left:200px;
  }
  .login-body {
    max-width: 360px!important;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .first {
    background-color: #121223;
  }

  .first .headerNav {
    border-top: none;
  }

  .first .headerNavItem.active, .first .headerNavItem:hover {
    color: #fff;
  }

  .first .headerNavItem {
    color: #9898e8;
  }

  .first .headerNav {
    color: #9898e8;
    background: #121223;
  }
  #scrollcss::-webkit-scrollbar {
    height: 7px; /* высота для горизонтального скролла */
  }
  .game-btn-wrap button {
    margin-top: 10px;
    font-size: 25px;
    line-height: 1.5!important;
  }
  iframe{width:100%;height:350px;margin:0 auto 15px;}
  .img_text{
    width: 60%!important;
  }
  .demo-btn-wrap button {
    margin-top: 30px;
    font-size: 25px;
    line-height: 1.5!important;
  }
  .demo-btn-wrap button:nth-child(2) {
    font-size: 15px!important;
  }
  .demo_game {height:350px}
  .demo_game img{height:350px}
  .demo_game img.demo_close{
    opacity: 1;
  }
  .loading_demo{
    top:155px;
    left:210px;
  }
  body:not(.login-body) .header-logo{height: 56px}
  body:not(.login-body) .header-logo img{max-height: 56px;}
  body:not(.login-body) .header-logo a{max-height: 56px;margin-top: 8px;}


}
