/* ТОЧКИ ВОПРОСОВ ------------------------------ */
.quest_point{pointer-events:auto;display:flex;justify-content: center;align-items: center;align-content: center;border-radius: 22px;background-color: #7c545e;border: 2px solid #ffffff;box-shadow: 1px 1px 4px 0px #00000021;overflow: hidden;/* cursor:pointer; */width: 30px;height: 30px;z-index: 1;box-sizing: content-box;}
.quest_point:hover {box-shadow: 0 0 0 2px #fff;}
.quest_point span {display:block;color: #ffffff;font-size: 16px;line-height:1em;font-family: 'e-Ukraine-Bold';}
.grey {background-color:#90a4ae;}

/* ОБШИЙ СЧЕТЧИК ------------------------------ */
.count_main_wrap {visibility: visible;opacity:1;transition: opacity 0.7s ease-out;-webkit-transition: opacity 0.7s ease-out;-moz-transition: opacity 0.7s ease-out;-o-transition: opacity 0.7s ease-out;background: #17273fb8;position:absolute;bottom: 28px;left: 286px;z-index: 0;cursor:pointer;width: 112px;height: 92px;border-radius: 10px;display: flex;flex-direction: column;align-items: center;justify-content: space-between;padding: 12px 0 12px;}
.count_main_wrap .text {color:#fff;font-family: 'e-Ukraine-Light';display: block;text-align: center;font-size: 13px;}
.count_main {color:#fff;font-family: 'e-Ukraine-Bold';display: block;text-align: center;font-size: 24px;}
.count_main_wrap:hover {background:#17273f;}
.count_main_wrap.show {opacity:0;visibility: hidden;}

/* ШТОРА-ЗАТЕМНИТЕЛЬ ДЛЯ ВСЕХ КРАНОВ В КВЕСТЕ */
#black-screen {width: 100%;height: 100%;position: absolute;top: 0;left:0;right:0;bottom:0;z-index: 100;display: none;background-color: #0a0a0a91;backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);}

/* ЭКРАН С ВОПРОСАМИ */
.quest-in-scene-boss {position:absolute;top:0;right: -740px;bottom:0;z-index: 100;background: #ffffff;overflow: hidden;padding-right: 8px;transition: right 0.5s ease-out;-webkit-transition: right 0.5s ease-out;-moz-transition: right 0.5s ease-out;-o-transition: right 0.5s ease-out;box-shadow: #00000073 -2px 2px 10px 0px;}
#scene1-q1.open, #scene1-q2.open, #scene1-q3.open, #scene1-q4.open, #scene1-q5.open, #scene1-q6.open  {right:0;}
#scene2-q1.open, #scene2-q2.open, #scene2-q3.open, #scene2-q4.open, #scene2-q5.open  {right:0;}
#scene3-q1.open, #scene3-q2.open, #scene3-q3.open, #scene3-q4.open, #scene3-q5.open, #scene3-q6.open, #scene3-q7.open {right:0;}
.quest-in-scene {width: 620px;height: 100%;overflow-y: scroll;position: relative;/* background: #fbf7f2; */margin-top: 22px;}
.quest-in-scene::-webkit-scrollbar {width: 4px;box-shadow: inset 0 0 6px #ffffff;}
.quest-in-scene::-webkit-scrollbar-thumb {box-shadow: inset 1px 1px 10px #7c545e6b;background-color: #7c545e69;}
.quest-in-scene .wrap{/* background: #fbf7f2; */padding: 16px 10px 62px 22px;font-family: 'e-Ukraine-regular';text-align: center;position: relative;color: #000;}
.quest-in-scene h2 {font-size: 17px;font-family: 'e-Ukraine-Bold';width: 530px;margin: 0 auto 12px;line-height: 1.5;}
.quest-in-scene .picture {margin-top: 22px;margin-bottom: 22px;}

.description-wrap {display: flex;flex-direction: column;flex-wrap: nowrap;justify-content: flex-start;align-items: center;}
.description-wrap p {font-size: 16px;margin: 22px 0 0 0;width: 460px;padding: 14px 12px 14px 18px;border: 1px solid #dcdcdc;line-height: 1.4;cursor: pointer;display: flex;flex-wrap: nowrap;align-content: center;justify-content: center;align-items: center;position: relative;background-color: #ffffff;border-radius: 8px;}
.description-wrap p:hover {border-color: #eef5fc;background: #1976d212;}
.description-wrap span {display: block;width: 382px;}

.description-wrap .to-item {position: absolute;width: 40px;height: 40px;top: 5px;right: -21px;background: #4caf50;border-radius: 20px;border: 3px solid #fff;background-image: url(resources/icon/arrow-down-white.svg);background-size: 12px;background-position: 50% 50%;background-repeat: no-repeat;}

.move {animation: moves  1.4s infinite;}
@keyframes moves {
from {top: 5px;animation-timing-function: ease-in;}
45% {top: 20px;}
90% {top: 5px;}
to {top: 5px;}
}

.move-mini {animation: movesmini  1.2s infinite;}
@keyframes movesmini {
from {top: -1px;animation-timing-function: ease-in;}
45% {top: 8px;}
90% {top: -1px;}
to {top: -1px;}
}

.description-wrap .active {border: 1px solid #eef5fc;background: #1976d212;cursor: default;}
.description-wrap .correct {border: 1px solid #f1f8e9;background: #f1f8e9;cursor: pointer;}
.description-wrap .correct:hover {border: 1px solid #f1f8e9;background: #f1f8e9;}
.description-wrap .bad {border: 1px solid #ffece5;background: #ffccbc61;}
.description-wrap .bad:hover {border: 1px solid #ffccbc61;background: #ffccbc61;}
.description-wrap .destroy:hover {border-color: #dcdcdc;background: #fff;cursor: default;}

.verify {margin: 36px auto 0;font-size: 15px;border-radius: 4px;padding: 19px;background: #f5f5f5;color: #b5b5b5;width: 460px;border-radius: 44px;line-height: 1;}
.verify.active {background: #2589d9;color: #ffffff;}
.verify.active:hover {cursor: pointer;box-shadow: 0 1px 3px 0 rgb(60 64 67 / 30%), 0 4px 8px 3px rgb(60 64 67 / 15%);background: #2589d9;background: #1976d2;}

.answer-yes, .answer-no {margin: 46px auto 0;font-size: 14px;display:none;width: 460px;font-family: 'e-Ukraine-Bold';line-height: 1;}
.answer-yes .correct{background: #eaf5ddd1;padding: 19px 0;color: #3f9b42;display: flex;flex-direction: row;flex-wrap: nowrap;align-content: center;justify-content: center;align-items: center;border-radius: 44px;}
.answer-no .bad{background: #ffccbc61;padding: 19px 0;color: #d32f2f;display: flex;flex-direction: row;flex-wrap: nowrap;align-content: center;justify-content: center;align-items: center;border-radius: 44px;}
.answer-yes .correct span, .answer-no .bad span {display: block;text-transform: uppercase;}

.close-button-mobile {display:none;}
.close-button {position: fixed;top: 28px;z-index: 9;margin-left: -26px;}
.close-button span{display: block;margin: 0;padding: 0;width: 52px;height: 52px;background: url(resources/icon/close-440px.svg);background-size: 26px;background-position: 50% 50%;background-color: #ffffff;background-repeat: no-repeat;box-shadow: 1px 2px 4px 0px #00000059;border-radius: 40px;}
.close-button span:hover{cursor:pointer;background-size: 32px;}

/* информация о предмете */
.item {width: 460px;margin: 50px auto 22px;border-radius: 10px;padding: 38px 32px 22px;display: none;border: 1px solid #dcdcdc;color: #000;}
.item .decor {width: 60px;margin: 0 auto 32px;border-top: 6px dotted #494949;display: none;}
.item h3{font-family: 'e-UkraineHead-Medium';font-size: 26px;font-weight: 800;margin-bottom: 30px;display: inline-block;text-transform: uppercase;}
.item p{font-family: 'e-Ukraine-Light';font-size: 16px;margin-bottom: 22px;line-height: 1.6;}
.item img {display: block;margin: 32px auto;border-radius: 12px;}
.item .photo {margin-bottom: 32px;}
.item .photo img {margin: 32px auto 12px;}
.item .photo span {display: block;font-size: 15px;padding-bottom: 12px;}


/* ОКНО ИНФОРМАЦИИ О КВЕСТЕ И ЕГО СОСТОЯНИИ */
.result-wrap {opacity:0;transition: opacity 0.3s ease-out;-webkit-transition: opacity 0.3s ease-out;-moz-transition: opacity 0.3s ease-out;-o-transition: opacity 0.3s ease-out;position:absolute;top:0;left:0;right:0;bottom:0;display: flex;align-content: center;justify-content: center;align-items: center;background: #000000c9;z-index: 999;}
.result-wrap.show {opacity:1;transition: opacity 0.3s ease-out;-webkit-transition: opacity 0.3s ease-out;-moz-transition: opacity 0.3s ease-out;-o-transition: opacity 0.3s ease-out;}
.result {background: #fff;padding: 42px 42px 42px 42px;border-radius: 6px;font-family: 'e-Ukraine-Light';text-align: center;display: flex;flex-direction: column;flex-wrap: nowrap;align-items: center;justify-content: center;position: relative;max-width: 630px;}
.result .title {font-size: 22px;line-height: 1.3;margin-top: 26px;font-family: 'e-UkraineHead-Medium';}
.result p {font-size: 18px;line-height: 1.4;margin-top: 12px;color: #000;}
.result .button {margin-top: 72px;border-radius: 40px;box-shadow: 0px 1px 7px 1px #00000040;width: 50px;height: 50px;background-image: url(resources/img/svg/stop-black.svg);background-repeat: no-repeat;background-size: 20px;background-position: 50% 50%;}
.result .button:hover{background: #7c545e;cursor:pointer;background-image: url(resources/img/svg/stop-white.svg);background-repeat: no-repeat;background-size: 20px;background-position: 50% 50%;}


@media (hover: none) {
  .count_main_wrap:hover {background-color:#17273fb8;}
  .count_main_wrap:active {-webkit-tap-highlight-color: transparent;tap-highlight-color: transparent;}

  .in_persona_span {display:none;}
  .in_persona_span span{display:none;}
  
  .result .button:hover {background: #fff;background-image: url(resources/img/svg/stop-black.svg);background-repeat: no-repeat;background-size: 20px;background-position: 50% 50%;}
  .result .button:active {-webkit-tap-highlight-color: transparent;tap-highlight-color: transparent;}
}

/* 1800px */
@media screen and (min-width: 1800px) {
.quest_point{width: 36px;height: 36px;}
.quest_point span {font-size:18px;font-family: 'e-Ukraine-regular'; margin-bottom:2px;}
}

/* 1100px */
@media screen and (max-width: 1100px) {
.description-wrap p:hover {border-color: #dcdcdc;background: none;}
.description-wrap .active:hover{border: 1px solid #eef5fc;background: #1976d212;}
.description-wrap .correct:hover {border: 1px solid #f1f8e9;background: #f1f8e9;}
.description-wrap .bad:hover {border: 1px solid #ffccbc61;background: #ffccbc61;}
}

/* 1010px */
@media screen and (max-width: 1010px) {
.close-button span:hover {background: url(skin/ico/close-440px.svg);background-size: 32px;background-position: 50% 50%;background-color: #ffffff;background-repeat: no-repeat;cursor: default;}
.count_main_wrap {left: 28px;bottom: 24px;}
.in_persona_span {display:none;}
.in_persona span {display:none;}
.result .button:hover {background: #fff;background-image: url(resources/img/svg/stop-black.svg);background-repeat: no-repeat;background-size: 20px;background-position: 50% 50%;}
}

/* 840px */
@media screen and (max-width: 840px) {
.result {max-width: 80%;}
}

/* 660px */
@media screen and (max-width: 660px) {
.quest-in-scene-boss {width: 100%;border-top: 50px solid #ffffff;box-shadow: none;}
.quest-in-scene {width: 100%;margin-top: 16px;}
.quest-in-scene .wrap {padding: 0px 10px 42px 22px;}
.quest-in-scene h2 {width: auto;margin-top: 12px;margin: 12px 42px 12px;}
.close-button {display:none;}
.close-button span {width: 50px;height: 50px;background-size: 34px;border-radius: 30px;border: 3px solid #494949;box-shadow: none;}
.close-button-mobile {display:block;position: fixed;top: 0px;width: 100%;z-index: 9;border-top: 4px solid #7c545e;}
.close-button-mobile span{display: block;text-align: center;width: 136px;margin: 0 auto;font-size: 16px;font-family: 'e-Ukraine-Light';padding: 8px 0 12px;background: #42a5f5;background: #2589d9;background: #7c545e;border-radius: 0 0 14px 14px;color: #fff;line-height: 1;}
}

/* 640px */
@media screen and (max-width: 640px) {
.result {max-width: none;width: calc(100% - 32px);height: calc(100% - 32px);padding: 60px 42px 0px 42px;justify-content: flex-start;}
.result .title {margin-top: 32px;line-height: 1.2;}
.result .button {margin-top: 0;position: absolute;bottom: 42px;}
}

/* 570px */
@media screen and (max-width: 570px) {
.quest-in-scene .wrap {padding: 0 10px 42px 10px;}
}

/* 520px */
@media screen and (max-width: 520px) {
.quest-in-scene .wrap {padding: 0 23px 62px 30px;}
.quest-in-scene h2 {margin: 12px 0px 12px;}
.description-wrap p {width: 100%;}
.verify {width: 98%;margin: 40px auto 0;}
.answer-yes, .answer-no {width: 98%;margin: 40px auto 0;}
.item {width: 98%;margin: 46px auto 0;}
}

/* 500px */
@media screen and (max-width: 500px) {
.description-wrap p {padding: 14px 18px 14px 18px;}
.description-wrap span {width: 100%;}
.description-wrap .to-item {width: 34px;height: 34px;background-size: 12px;right: -18px;}
.move-mini {animation: movesmini  1.3s infinite;}
@keyframes movesmini {
  from {top: 0px;animation-timing-function: ease-in;}
  45% {top: 14px;}
  90% {top: 0px;}
  to {top: 0px;}
  }
.count_main_wrap {bottom: 80px;left: calc(100% - 50% - 35px);width: 70px;height: auto;padding: 10px 0 12px;border-radius: 6px;}
.count_main_wrap .text {display: none;}
.count_main {font-size: 19px;line-height: 1;}
}

/* 440px */
@media screen and (max-width: 440px) {
.quest-in-scene-boss {padding-right: 4px;}
.quest-in-scene::-webkit-scrollbar {width: 3px;box-shadow: inset 0 0 6px #ffffff;}
.quest-in-scene h2 {font-size: 16px;line-height: 1.5;}
.item {padding: 34px 24px 22px;}
.item h3 {font-size: 20px;margin-bottom: 26px;}
.count_main_wrap {bottom: 76px;}
.in_persona {width: 76px;height: 76px;display: flex;align-content: center;justify-content: center;align-items: center;}
.in_persona_img {width: 68px;height: 68px;position: absolute;}
}

/* 425px */
@media screen and (max-width: 425px) {
.result {padding: 52px 32px 0px 32px;}
}

/* 410px */
@media screen and (max-width: 410px) {
.result .title {font-size: 22px;margin-top: 26px;line-height: 1.2;}
.result p {line-height: 1.4;font-size: 18px;}
}

/* 375px */
@media screen and (max-width: 375px) {
.item p {font-size: 15px;}
.result p {margin-top: 16px;}
.count_main_wrap {padding: 8px 0 10px;}
}

/* 360px */
@media screen and (max-width: 360px) {
.verify {font-size: 13px;padding: 19px 16px;margin: 36px auto 0;}
.item {width:100%;padding: 32px 18px 16px;margin: 40px auto 0;}
.description-wrap p {font-size: 15px;}
.quest-in-scene h2 {font-size: 15px;}
.item h3 {font-size: 18px;margin-bottom: 20px;}
.answer-yes, .answer-no {margin: 36px auto 0;}
.result {padding: 52px 22px 0px 22px;}
}

/* 350px */
@media screen and (max-width: 350px) {
.result .title {font-size: 21px;}
.result .button {margin-top: 32px;}
}

/* 330px */
@media screen and (max-width: 330px) {
.answer-yes, .answer-no {width: 100%;font-size: 13px;}
.item p {font-size: 14px;}
.result .title {font-size: 20px;}
}

/* 320px */
@media screen and (max-width: 320px) {
.description-wrap p {font-size: 14px;}
.verify {padding: 19px 12px;width: 100%;}
.result .title {margin-top: 22px;}
}

@media screen and (max-width: 330px) and (max-height: 570px) and (orientation: portrait) {
.result .title {font-size: 19px;margin-top: 20px;}
.result p {font-size: 16px;margin-top: 12px;}
}

@media screen and (max-width: 330px) and (max-height: 550px) and (orientation: portrait) {
.result .title {font-size: 18px;margin-top: 20px;}
}