:root {
    --c_red: #c8102e;
    --c_green: #425a55;
    --c_darkgreen: #13322b;
    --c_black: #090909;
    --c_black2: #404040;
    --c_dislike: #595959;
    --c_like: #ff3e5c;
}
  /*background-color:#595959 !Important;
  background-color:#ff3e5c !Important;*/

*, *:before, *:after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html, body {
	font-size: 62.5%;
}
body {
	overflow: hidden;
}

body, p, span, div, h1, h2, h3{
  font-family:'Lab Grotesque';
  font-size:16px;
}

.stjb_form{
  padding-top: 15px;
}
.stjb_form_inn input[type="text"]{
  border: 1px solid #333;
  outline: none !important;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  padding: 10px 10px;
  width: 200px;

  font-family: Lab Grotesque;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 128%; /* 20.48px */
  letter-spacing: 0.128px;
}

.input_warning{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--c_red);
}

.demo {
    position: absolute;
    left: 50%;
    top: 50px;
    width: 400px;
    height: calc(100% - 100px);
    transform: translateX(-50%);
    background: #f6f6f5;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}
.demo__header {
	height: 6rem;
	background: #002942;
}
.demo__content {
	overflow: hidden;
	position: relative;
	height: 100%;
/*	padding-top: 4.5rem;*/
	user-select: none;
}
.demo__card-cont {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

.demo__card-cont.loading:before{
  content:'saving...';
  position:absolute;
  top:0px;
  left:0px;
  z-index:999;
  padding:3px 10px;
  width:100%;
  text-align:center;
  line-height:1;
  background:var(--c_red);
  color:#FFF;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:1px;

  font-family: Lab Grotesque;
  font-size: 13.33px;
  font-style: normal;
  font-weight: 700;
  line-height: 136%; /* 18.129px */
  letter-spacing: 0.107px;
}
.demo__card-cont.loading.success:before{
  content:'saved';
}
.demo__card-cont.loading.failed:before{
  content:'failed';
}

.demo__card {
	z-index: 2;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	transform-origin: 50% 100%;
	height: 100%;
    background: #FFF;
}
.demo__card__notif{
  position:absolute;
  bottom:10px;
  left:0px;
  width:100%;
  padding:20px;
  text-align:center;
  font-weight:600;
}
.demo__card__notif p{
  /*font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 128%; 
  letter-spacing: 0.128px;*/

  font-family: Lab Grotesque;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 128%; /* 20.48px */
letter-spacing: 0.128px;
}
.demo__card.reset {
	transition: transform 0.3s;
	transform: translateX(0) !important;
}
.demo__card.reset .demo__card__choice {
	transition: opacity 0.3s;
	opacity: 0 !important;
}
.demo__card.inactive {
	transition: transform 0.3s;
}
.demo__card.to-left {
	transform: translateX(-30rem) rotate(-30deg) !important;
}
.demo__card.to-right {
	transform: translate(30rem) rotate(30deg) !important;
}
.demo__card.below {
	z-index: -1;
  opacity: 0;
}
.demo__card__top {
	position: relative;
  top:100px;
  border-radius:10px;
  overflow:hidden;
}
.demo__card__top:before{
	content: '';
	padding-bottom:100%;
	display: block;
}

.demo__card__top.purple {
	background: #7132b9;
}
.demo__card__top.blue {
	background: #248cb6;
}
.demo__card__top.indigo {
	background: #303f9f;
}
.demo__card__top.cyan {
	background: #26c6da;
}
.demo__card__top.lime {
	background: #afb42b;
}
.demo__card__top.brown {
	background: #795548;
}
.demo__card__img {
overflow: hidden;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  margin:0px;
}
.demo__card__img img{
	position:  absolute;
	top:0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.demo__card__img:before{
  content:'';
  position:absolute;
  bottom:0px;
  width:100%;
  height:100px;
  background: rgb(0,0,0);
  background: -moz-linear-gradient(0deg, rgba(0,0,0,0.6867997198879552) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.6867997198879552) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(0deg, rgba(0,0,0,0.6867997198879552) 0%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
  z-index:1;
}
.demo__card__counter{
  position:absolute;
  top:auto;
  bottom:12px;
  right:20px;
  color:#FFF;
  border:2px solid #FFF;
  z-index:9;
  width:40px;
  height:40px;
  
  /* background:#FFF; */
  display:flex;
  align-items: center;
  justify-content: center;
  border-radius:50%;

  font-size: 19.2px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; 
  letter-spacing: 0.154px;
}
.demo__card__name {
  font-size: 19.2px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; 
  letter-spacing: 0.154px;
  color: #fff;
  position: absolute;
  z-index: 2;
  top: auto;
  bottom:0px;
  left: 0px;
  padding: 20px;
  padding-right:70px;
  text-align: left;
  width: 100%;
}
.demo__card__btm {
	height: 11.5rem;
	background: #fff;
	padding:15px;
}
.demo__card__we {
	text-align: center;
	font-size: 2.2rem;
	line-height: 1.2;
}
.demo__card__choice {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;

}
.demo__card__choice:before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2rem;
	height: 2rem;
	margin-left: -1rem;
	color: #fff;
	border-radius: 50%;
	box-shadow: -2rem -3rem #fff, 2rem -3rem #fff;
}
.demo__card__choice:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4rem;
	height: 1.5rem;
	margin-left: -2rem;
	border: 0.6rem solid #fff;
	border-bottom: none;
	border-top-left-radius: 1.5rem;
	border-top-right-radius: 1.5rem;
}
.demo__card__choice.m--reject {
	background: #ff945a;
}
.demo__card__choice.m--like {
	background: #b1da96;
}
.demo__card__choice.m--like:after {
	transform: scaleY(-1);
}
.demo__card__drag {
	z-index: 5;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: grab;
}
.demo__tip {
	text-align: center;
	font-size: 2.2rem;
}

.demo__card_cover {
    position: absolute;
    z-index: 3;
    background: #FFF;
    height: 100%;
    padding: 30px;
    text-align: Center;
    display: flex;
    align-items: center;
    transition:all ease 0.5s;
    top:0px;
    left:0px;
    width: 100%;
}
.demo__card_cover_in{
	width: 100%;
}
.demo__card_cover.hide_top{
  top:-100%;
}
.demo__card_cover_img img{
  width:150px;
}
.demo__card_cover_title {
  font-size: 33.18px;
  padding-top: 0px;
  font-weight: 900;
  letter-spacing: 0px;
  color: #333;
  line-height: 1.2;
  margin-bottom: 0px;
}
.demo__card_cover_subtitle {
  font-size: 27.65px;
  font-style: normal;
  font-weight: 900;
  line-height: 120%; /* 33.18px */
  letter-spacing: 0.332px;
  color: #333;
  margin-bottom: 5px;
}
.demo__card_cover_desc{
  font-size:17px;
  padding-top:20px;
  line-height:1.5;
  color:#333;
}
.demo__card_cover_btn{
  margin-top:20px;
}
.stjg_btn {
  background: var(--c_red);
  display: inline-block;
  color: #FFF;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid var(--c_red);
  transition: all ease 0.3s;
  white-space: nowrap;
}
.stjg_btn:hover{
  background:#FFF;
  color:var(--c_red);
}

.demo__card_cover.end{
  z-index:1;
  top:100%;
}
.demo__card_cover.end.show_top{
  top:0px;
}
.demo__content.playing .demo__tip{
  opacity:1;
  visibility:visible;
}
.demo__content .hider{
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background:#eee;
  z-index:1;
}
.demo__tip{
  position:absolute;
  z-index:9;
  bottom:0px;
  width:100%;
  height:60px;
  left: 0px;
}

.demo__card__choice{
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:99;
}
.demo__card__choice:before,
.demo__card__choice:after{
  opacity:0;
}
.demo__card__choice svg {
  width:70px;
  height:70px;
}
.demo__card__choice svg path {
  fill:#FFF; 
}
.demo__card__choice.m--reject{
  background-color:var(--c_dislike) !Important;
}
.demo__card__choice.m--like{
  background-color:var(--c_like) !Important;
}


.score_container{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top:10px;
  padding-bottom:20px;
}
.score_container svg{
  height:50px;
  width:50px;
}
.score_container_title,
.score_container_val{
  display:block;
  font-size:20px;
  font-weight:800;
  line-height: 1;
}
.score_container .score_icon{
  width: 50px;
  height: 70px;
  object-fit: contain;
}
.score_container>div{
  padding-left:20px;
  padding-right:20px;
}
/*.score_container_wrong{
  margin-right:20px;
}
.score_container_right{
  margin-left:20px;
}*/

.score_container_wrong,
.score_container_wrong svg path{
  fill:var(--c_dislike);
  color:var(--c_dislike);
}
.score_container_right,
.score_container_right svg path{
  fill:var(--c_like);
  color:var(--c_like);
}

@media(max-width:768px){
  .demo{
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    transform:none;
  }
}



/*-- NEW STYLE --*/
.demo__card_cover{
  /*background: rgb(21,52,45);
  background: -moz-linear-gradient(0deg, rgba(21,52,45,1) 0%, rgba(61,85,80,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(21,52,45,1) 0%, rgba(61,85,80,1) 100%);
  background: linear-gradient(0deg, rgba(21,52,45,1) 0%, rgba(61,85,80,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#15342d",endColorstr="#3d5550",GradientType=1);*/
  background: #eee;
}
.demo__card_cover_logo_1{
  width:70px;
  height:70px;
  border:3px solid var(--c_red);
  border-radius:50%;
  padding:5px;
  margin-top:-120px;
  margin-bottom:50px;
  margin-left:auto;
  margin-right:auto;
  display: none !important;
}
.demo__tip{
  opacity:0;
  visibility:hidden;
  transition:all ease 0.3s;
}
.demo__card_cover_in{
  background: #FFF;
  border-radius: 10px;
  padding: 20px 15px;
/*  margin-top:100px;*/
}
.demo__card_cover_img{
/*  margin-top:-100px;*/
  position:relative;
  margin-bottom: 20px;
}

.img_wrp{
  display:inline-block;
  position:Relative;
}
.img_wrp.logo_brander{
  width:150px;
  height:105px;
}
.img_wrp img{
  position:absolute;
  left:0px;
  top:0px;
  width:100%;
  height:100%;
  object-fit:contain;
}

/*.demo__card_cover_img:before{
  content:'';
  position:absolute;
  top:-15px;
  left:50%;
  background:#FFF; transform:TranslateX(-50%);
  width:140px;
  height:140px;
  border-radius:50%;
}*/



.demo__card_cover_img img{
  position:Relative;
  z-index:9;
}
.demo__card{
  width: calc(100% - 60px);
  height:calc(100% - 100px);
  left:30px;
  top:30px;
  border-radius:10px;
  overflow:hidden;
/*  background:#FFF;*/
  background:transparent !important;
  
}

/*.demo__content{
  background: rgb(21,52,45);
  background: -moz-linear-gradient(0deg, rgba(21,52,45,1) 0%, rgba(61,85,80,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(21,52,45,1) 0%, rgba(61,85,80,1) 100%);
  background: linear-gradient(0deg, rgba(21,52,45,1) 0%, rgba(61,85,80,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#15342d",endColorstr="#3d5550",GradientType=1);
}*/
.demo__card_btn_left svg,
.demo__card_btn_right svg{
  width:30px;
  height:30px;
}
.demo__card_btn_right svg{
  margin-bottom:-2px;
  fill:#FFF;
}
.demo__card_btn_left svg{
  fill:var(--c_red);
}
.demo__card_btn_left,
.demo__card_btn_right{
  position:absolute;
  bottom:10px;
  left:0px;
  padding:10px;
  line-height:0;
  z-index:999;
  cursor:pointer;
  padding:5px;
  border-radius:50%;
  background:#FFF;
  box-shadow:0px 1px 4px 0px #aaa;
}
.demo__card_btn_left{
  left:10px;
}
.demo__card_btn_right{
  right:10px;
  left:auto;
  background:var(--c_red);
  padding:8px;
}

.demo__card_btn_right {
  right: 10px;
  left: auto;
  background: var(--c_red);
}
.demo__card_btn_right,
.demo__card_btn_left{
  width: 70px;
  height: 70px;
  background: #FFF;
}
.demo__card_btn_right img,
.demo__card_btn_left img{
  width:100%;
  height:100%;
  object-fit:contain;
}


.demo__card__choice.m--like,
.demo__card__choice.m--reject{
  background-color:transparent !important;
}
.demo__card__choice .inner{
  width:100%;
  padding-bottom:100%;
  position:absolute;
  top:100px;
  left:0px;
}
.demo__card__choice.m--like .inner{
  border-radius:10px;
  background:var(--c_like);
}
.demo__card__choice.m--reject .inner{
  border-radius:10px;
  background:var(--c_dislike);
}
.demo__card__choice svg{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}
.demo__tip{
  bottom:50px;
}

.demo__card-cont.show_notif:before{
  content:'';
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  z-index:99;
  background:#000;
  opacity:0;
  display:block;
}
.demo__card-cont.show_notif .pop_info{
  height:100%;
  width:100%;
  justify-content: center;
  position:absolute;
  z-index:999;
  padding-top:20px;
}
.demo__card-cont.ans_correct .pop_info.correct{
  display:flex !Important;
}

.demo__card-cont.ans_incorrect .pop_info.wrong{
  display:flex !Important;
}
.demo__card-cont.show_notif .pop_info_img{
  width:100px;
  height:100px;
}


.score_container.s2{
  position:Relative;
  padding:10px 0px;
  margin-bottom:10px;
}
.score_container.s2>div{
  padding-left:0px;
  padding-right:0px;
  display:inline-block;
}
.score_container.s2>div:first-child>span:after{
  content:'/';
}
.score_container.s2>span{
  color:#333;
  font-size: 23.04px;
  font-style: normal;
  font-weight: 900;
  line-height: 120%; /* 27.648px */
  letter-spacing: 0.276px;
}
.spend_time span{
  font-size: 19.2px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 26.88px */
  letter-spacing: 0.154px;
}
/*-- NEW STYLE END --*/




