html {
  overflow: hidden;
}

body {
  /* position: relative; */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* touch-action: none; */
  overflow: hidden;
  height: 100%;
  /* background:  #E7E7E8; */
  background: white;
  pointer-events: none;
}

.draggable,
#chc_win,
#chc_restart_button_for_phone,
#chc_overlay_block_ph,
#chc_menu_blk,
.chc_menu_item_lnk {
  pointer-events: all;
}

.chc_authors {
  display: block;
  position: relative;
  padding: 0;
  width: 90%;
  height: 22px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.5em;
  line-height: 1.8em;
  letter-spacing: 0.05em;
  z-index: 3000;
}

#chc_link_menu {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  height: 57px;
  /* width:50px; */
}

#chc_header_ph {
  position: relative;
  padding: 8px;
  /* height: 62px; */
  background-color: #3e67be;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 0.9em;
  text-indent: 5px;
  letter-spacing: 0.05em;
  z-index: 3;
}

.chc_img_menu_icon {
  position: absolute;
  top: 0;
  right: 0;
  height: 100.2%;
  cursor: pointer;
}

#chc_win_ph {
  position: absolute;
  display: none;
  background-color: white;
  font-size: 60px;
  color: red;
  font-weight: bold;
  padding: 6px 6px 10px 6px;
  margin: 0;
  border-radius: 10px;
  text-align: center;
  transform: translate(-50%, 0);
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  /* cursor: pointer; */
}

#chc_overlay_block_ph {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.3;
  z-index: 110;
  cursor: pointer;
}

/* #chc_header_ph{
  width:100%;

  background: #3E67BE;
  color:white;
  font-size: 25px;
  padding:7px;
  margin-bottom:20px;
} */

#chc_playfield_wrp_ph {
  width: 100%;
  /* background:  #E7E7E8; */
  background: white;
}

#chc_playfield_ph {
  margin: 10px auto;
  /* width:305px; */
  /* height:230px; */
  /* font-size: 26px; */
  border: 0px solid grey;
  /* color: grey; */
  /* text-align: center; */
  /* padding:15px; */
  background: white;
  /* border-radius: 15px; */
  cursor: pointer;
}

#chc_task_blk_ph {
  position: absolute;
  width: 88%;
  background: white;
  border: 0px solid #e7e7e8;
  font-size: 16px;
  bottom: 0px;
}

#chc_task_in_blk_ph {
  position: relative;
  top: 0px;
}

#chc_restart_button_for_phone {
  position: absolute;
  top: 58px;
  right: 0;
  width: 64px;
  height: 60px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #c5c6c6;
  z-index: 4;
  cursor: pointer;
}

#chc_restart_button_for_phone > #chc_restart_img {
  width: 60px;
}

.chc_capital_letter {
}

/* ! ************************************************************************************************** */

#chc_outline_0,
#chc_outline_1,
#chc_outline_2,
#chc_outline_3,
#chc_outline_4,
#chc_outline_5,
#chc_outline_6,
#chc_outline_7 {
  display: none;
}

#chc_games_menu {
  position: relative;
  top: 1px;
  z-index: 1000;
  display: none;
  background: #3b6cbf;
  /* pointer-events: none; */
  /* touch-action: none; */
}

.chc_menu_items {
  float: none;
  /* height:63px; */
  /* height:33.33%; */
  background: #3b6cbf;
  width: 100%;
  border-bottom: 1px solid white;
  height: 180px;
  /* -webkit-transform: skew(0deg);
  -moz-transform: skew(0deg);
  -o-transform: skew(0deg); */
  border-left: 1px solid transparent;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
}

#chc_menu_item {
  /*  height: 60px; */ /* ! высота каждого пункта меню - скошенной части - уменьшил - выступало */
  height: 180px;
}

#chc_menu_item_lnk {
  /* height:60px; */
  height: 180px;
}

.chc_menu_items_title {
  position: absolute;
  float: left;
  /*width: 100%;*/

  /*
  padding-left: 30px;
  padding-top: 30px;
  */
  /* margin-bottom: 0.4vh; */
  outline: 0px yellow solid;
  font-family: "Archivo Black", sans-serif;
  margin-top: 40px;
  font-size: 26px;
  /* font-weight: bold; */
  text-transform: uppercase;
  text-align: center;
  color: white;
  /*
  width: 50%;
  */
  /* padding-left:15px; */

  width: calc(100% - 200px);
}

.chc_menu_icon_DELETE {
  position: relative;
  float: right;
  width: 160px;
  height: 160px;
  margin-right: 10px;
  margin-top: 10px;

  /*
      border-radius:10px 10px 10px 10px;
     -webkit-border-radius:10px 10px 10px 10px;
     -moz-border-radius:10px 10px 10px 10px;
 */

  -webkit-box-shadow: 0 0 15px #dbdbdb;
}

.chc_menu_icon {
  position: relative;
  float: right;
  padding: 0px;
  margin: 10px;
  background: transparent no-repeat center;
  /* background-size: cover; */

  /*  border: 1px solid silver;*/
  border-radius: 5px 5px 5px 1px;
  -webkit-border-radius: 5px 5px 5px 1px;
  -moz-border-radius: 5px 5px 5px 1px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;

  width: 160px;
  height: 160px;

  outline: 0px red solid;

  background: transparent no-repeat center;
  background-size: cover;
  box-shadow: 0 6px 4px -4px rgba(0, 0, 0, 0.2);
}
/*
.chc_menu_icon_div {
    position: relative;
    float:right; 
    padding:0px;
    margin:10px; 
    background: transparent no-repeat center; 
   
    border-radius: 5px 5px 5px 1px;
    -webkit-border-radius: 5px 5px 5px 1px;
    -moz-border-radius: 5px 5px 5px 1px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px; 
   
    width:160px;
    height:160px;
                           
     outline:0px red solid;
                          
     background: transparent no-repeat center;
     background-size: contain;                       
     box-shadow: 0 6px 4px -4px rgba(0, 0, 0, .2);
}
*/

.menu_header_puzzles_div {
  position: relative;
  float: right;
  padding: 0px;
  margin: 10px;
  background: transparent no-repeat center;

  /*
    border-radius: 5px 5px 5px 1px;
    -webkit-border-radius: 5px 5px 5px 1px;
    -moz-border-radius: 5px 5px 5px 1px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    */

  width: 160px;
  height: 160px;
}

.chc_menu_icon_div {
  position: absolute;
  float: right;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent no-repeat center;
  background-size: auto;
  background-size: contain;
}

.chc_menu_item_lnk {
  position: relative;
  float: left;
  width: 100%;
}

/* Active or Hover */
.hp_menu_checked_active_page {
  background-color: #234071;
  cursor: pointer;
}

.chc_menu_items:hover {
  background-color: #234071;
  cursor: pointer;
  border: 1px solid #234071;
}

@media only screen and (max-width: 360px) {
}

@media only screen and (max-width: 375px) {
}

/* @media not all and (min-resolution:.001dpcm) { 
  @supports (-webkit-appearance:none) {
    @media only screen and (max-width: 640px){
      #chc_task_in_blk_ph{
        position:relative;
        top:-25px;
      }

      #chc_task_in_blk_ph{
        padding-left: 15px;
        padding-right: 15px;
      }
    }
  }
} */

@media only screen and (max-width: 320px) {
  #chc_header_ph {
    position: relative;
    padding: 8px;
    /* height: 62px; */
    background-color: #3e67be;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1em;
    text-indent: 0px;
    letter-spacing: 0.05em;
    z-index: 3;
  }

  #chc_task_blk_ph {
    font-size: 13px;
  }

  #chc_task_in_blk_ph {
    position: relative;
    top: -10px;
  }
}

@media only screen and (min-width: 460px) {
  #chc_win_dt {
    position: absolute;
    display: none;
    background-color: white;
    font-size: 60px;
    color: red;
    font-weight: bold;
    padding: 6px 6px 10px 6px;
    margin: 0;
    border-radius: 10px;
    text-align: center;
    transform: translate(-50%, 0);
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    /* cursor: pointer; */
  }

  #chc_playfield_dt {
    pointer-events: none;
  }

  .draggable,
  #chc_win,
  #chc_restart_button_for_dt,
  #chc_overlay_block_dt,
  .chc_menu_item_lnk {
    pointer-events: all;
  }

  .chc_center_block {
    background: white;
  }

  .chc_header_dt {
    position: relative;
    text-align: left;
    padding: 10px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5em;

    padding-bottom: 17px;
    color: white;
    background-color: #3e67be;
    font-family: Arial, Helvetica, sans-serif;
  }

  .chc_header_title_dt {
    position: relative;
    top: -8px;
    margin-left: 10px;
  }

  .chc_img_menu_icon {
    position: absolute;
    top: 0;
    right: 0;
    /* width:47.5px; */
    height: 100.2%;
    cursor: pointer;
  }

  .chc_desktop_authors {
    position: relative;
    top: -3px;
    margin-left: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 0.1em;
  }

  .chc_dt_description {
    background-color: #e0ebff;
    padding: 0 10px 0 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2em;
    /* text-indent: 5px; */
    font-family: Arial, Helvetica, sans-serif;
  }

  .chc_description_p {
    padding-top: 10px;
    text-indent: 0em;
    margin-left: 10px;
    margin-right: 10px;
  }

  .chc_img_letter {
    float: left;
    width: 60px;
    height: 60px;
    margin-right: 10px;
  }

  .chc_up_icon_blk {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 5px;
    /* border:1px solid red; */
    /* z-index: 2; */
    cursor: pointer;
    /* background:#3B6CBF; */
  }

  .chc_up_icon {
    width: 70%;
    height: 70%;
    margin: 12% 15%;

    /* object-fit: cover; */
  }

  .chc_name_another_game_under_description {
    margin-left: 10px;
  }

  #chc_restart_button_for_dt {
    position: absolute;
    top: 0px;
    left: 0;
    width: 70px;
    height: 70px;
    border-radius: 5px;
    background-color: #c5c6c6;
    z-index: 49;
    cursor: pointer;
  }

  #chc_restart_button_for_dt > #chc_restart_img {
    width: 65px;
  }

  #chc_overlay_block_dt {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.3;
    z-index: 110;
    cursor: pointer;
  }

  #chc_playfield_wrp_dt {
    width: 100%;
    height: 100vh;
    background: white;
  }

  #chc_center_right_dt {
    height: 100vh;
    background: white;
  }

  #chc_center_dt {
    float: left;
    /* width:50%; */
    height: 100vh;
    background: rgb(214, 208, 201);
  }

  #chc_right_dt {
    float: left;
    /* width:50%; */
    height: 100vh;
    background: rgb(255, 255, 255);
  }

  #chc_playfield_dt {
    /* margin:10px auto; */
    /* width:305px; */
    /* height:230px; */
    /* font-size: 26px; */
    border: 0px solid grey;
    /* color: grey; */
    /* text-align: center; */
    /* padding:15px; */
    background: white;
    /* border-radius: 15px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #chc_task_blk_dt {
    width: 100%;
    height: 100vh;
    background: #a0b6c5;
  }
}

/* ========================================== */
#chc_playfield_ph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-wrap {
  padding: 7px;
  background-position: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  background-color: #5f568f;
  width: max-content;
  height: max-content;
  pointer-events: all;
  border-radius: 6px;
  z-index: 50;
  position: relative;
}
.field-wrap {
  width: 94vw;
  height: 94vw;
  display: flex;
  flex-wrap: wrap;
  padding: 1px;
  border-radius: var(--border-radius);
  position: relative;
  background-color: var(--white-color);
  opacity: 1;
  transition: all 800ms ease 300ms;
}
.field-wrap.hide {
  pointer-events: none;
  opacity: 0;
}
.dice {
  width: 25%;
  height: 25%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius);
  background-color: var(--white-color);
  position: absolute;
  cursor: pointer;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: all 200ms ease;
  z-index: 3;
}
.dice img {
  width: 100%;
  height: 100%;
}
.empty-dice {
  background-color: var(--white-color);
  outline: none;
  z-index: 1;
  cursor: default;
}
.dice.dice-filter {
  filter: blur(15px);
  transition: all 500ms ease;
}
@media screen and (min-width: 430px) {
  .content-wrap {
    border-radius: 6px;
    padding: 1.5rem;
  }
  .field-wrap {
    width: 480px;
    height: 480px;
  }
}

.goal-img {
  width: 23%;
  height: auto;
  margin: 0 auto;
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translate(-50%, 0);
}
@media screen and (min-width: 430px) {
  .goal-img {
    width: 66%;
    height: auto;
    padding-top: 20px;
    margin: 0 auto;
    position: relative;
    top: 0;
    left: unset;
    transform: translate(0, 0);
  }
}

.goal-img img {
  width: 100%;
  height: auto;
}
#chc_restart_button_for_phone {
  position: absolute;
  top: 58px;
  right: 0;
  width: 50px;
  height: 50px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #c5c6c6;
  z-index: 4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#chc_restart_button_for_phone > #chc_restart_img {
  width: 40px;
}
#chc_task_blk_ph {
  position: absolute;
  width: 100%;
  background: white;
  border: 0px solid #e7e7e8;
  font-size: 20px;
  bottom: 0px;
  display: flex;
  align-items: center;
  height: 200px;
  background-image: url(/up_images/icons/christmas_circle_footer_v1_2.svg);
  width: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#chc_task_in_blk_ph .chc_capital_letter {
  margin-right: 5px;
  position: relative;
  float: left;
  width: 50px;
  margin-top: 8px;
}
#chc_task_in_blk_ph {
  position: relative;
  top: 0px;
  width: 90%;
  margin-left: 6%;
  margin-top: auto;
  margin-bottom: 25px;
  color: white;
  font-weight: 600;
}
@media only screen and (min-width: 460px) {
  .chc_description_p {
    padding-top: 10px;
    text-indent: 0em;
    margin-left: 10px;
    margin-right: 10px;
    width: 66%;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 400;
  }
}
@media only screen and (min-width: 460px) {
  .chc_img_letter {
    float: left;
    width: 58px;
    height: 57px;
    margin-right: 10px;
    margin-top: 7px;
  }
}
.dice_1 {
  top: 12.5%;
  left: 12.5%;
}
.dice_2 {
  top: 12.5%;
  left: 37.5%;
}
.dice_3 {
  top: 12.5%;
  left: 62.5%;
}
.dice_4 {
  top: 12.5%;
  left: 87.5%;
}
.dice_5 {
  top: 37.5%;
  left: 12.5%;
}
.dice_6 {
  top: 37.5%;
  left: 37.5%;
}
.dice_7 {
  top: 37.5%;
  left: 62.5%;
}
.dice_8 {
  top: 37.5%;
  left: 87.5%;
}
.dice_9 {
  top: 62.5%;
  left: 12.5%;
}
.dice_10 {
  top: 62.5%;
  left: 37.5%;
}
.dice_11 {
  top: 62.5%;
  left: 62.5%;
}
.dice_12 {
  top: 62.5%;
  left: 87.5%;
}
.dice_13 {
  top: 87.5%;
  left: 12.5%;
}
.dice_14 {
  top: 87.5%;
  left: 37.5%;
}
.dice_15 {
  top: 87.5%;
  left: 62.5%;
}
.empty-dice {
  top: 87.5%;
  left: 87.5%;
}

#chc_playfield_dt {
  position: relative;
}

.you-win {
  font-size: 26px;
  font-weight: bold;
  color: white;
  width: max-content;
  height: 55px;
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1px;
  border: none;
  border-radius: 7px;
  background-color: red;
  z-index: 55;
  transition: all 450ms;
  pointer-events: none;
  padding: 14px 15px 16px 15px;
}
.you-win.you-win-show {
  top: 12%;
}
@media only screen and (min-width: 460px) {
  .you-win.you-win-show {
    top: 2%;
  }
}
