.matreshka__wrapper {
  background-image: url(../images/bg1-100.webp);
  /*background-size: cover;*/
  background-position: center center;
  padding-bottom: 10px;
}

.matreshka__item img {
  margin: 0px !important;
}

h2.matreshka__title {
  text-align: center;
}

h2.matreshka__title::after {
  display: none;
}

.matreshka__wrapper {
  max-height: 460px;
}

@media (max-width:1023px) {
  .matreshka__wrapper {
    max-height: 440px;
    background-image: url(../images/bg3-100.webp);
  }
}

@media screen and (max-width:768px) {
  .matreshka__wrapper {
    max-height: 430px;
  }
}

@media screen and (max-width:480px) {
  .matreshka__wrapper {
    max-height: 322px;
  }
}

@media screen and (max-width:415px) {
  .matreshka__wrapper {
    max-height: 291px;
  }
}

@media screen and (max-width:400px) {
  .matreshka__wrapper {
    max-height: 284px;
  }
}

@media screen and (max-width:390px) {
  .matreshka__wrapper {
    max-height: 290px;
  }
}

@media screen and (max-width:350px) {
  .matreshka__wrapper {
    max-height: 250px;
  }
}

@media screen and (max-width:321px) {
  .matreshka__wrapper {
    max-height: 260px;
  }
}

.dialogify {
  display: none;
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: auto;
  max-width: 1100px;
  min-width: 360px;
  max-height: 100vh;
  background-color: #fff;
  font-size: 14px;
  color: #464646;
  border: none;
  border-radius: 4px;
  overflow: auto;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05), 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  padding: 0;
  line-height: 100%;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, "Lucida Grande", "PingFang TC", "蘋果儷中黑", "微軟正黑體", Microsoft JhengHei, "黑體-繁", sans-serif;
}

.dialogify[open] {
  display: block;
}

.dialogify.fixed {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.dialogify p {
  line-height: 1.5;
}

.dialogify>div {
  background-repeat: no-repeat;
  background-position: right bottom;
}

.dialogify>div:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 21px;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-size: 20px;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.dialogify>div hr {
  border: none;
  height: 1px;
  background: #E0E6E8;
}

.dialogify .dialogify__body {
  min-height: 40px;
  zoom: 1;
}

.dialogify .dialogify__body:after {
  clear: both;
  content: '.';
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

.dialogify .dialogify__body a {
  color: #117e96;
}

.dialogify .dialogify__body a:hover {
  color: #126e7d;
}

.dialogify .dialogify__content {
  padding: 22px 28px 20px 24px;
  box-sizing: border-box;
}

.dialogify .dialogify__content-box {
  margin: 20px auto;
}

.dialogify .dialogify__close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #00555f;
}

.dialogify .dialogify__close img {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.dialogify .dialogify__close:hover {
  cursor: pointer;
}

.dialogify .dialogify__close:hover img {
  opacity: 1;
}

.dialogify img.dialogify-ajax-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.dialogify a:focus {
  outline: none;
  text-decoration: none;
}

.dialogify .btn-danger {
  box-shadow: 0 16px 26px -10px rgba(244, 67, 54, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(244, 67, 54, 0.2);
}

.dialogify .btn-box {
  margin-top: 20px;
  clear: both;
}

.dialogify .btn-box .check-group {
  float: left;
  margin-top: 8px;
}

.dialogify .btn-box .check-group input[type="checkbox"]+label h6 {
  font-size: 13px;
  color: #A6A6A6;
}

.dialogify .btn-box .check-group input[type="checkbox"]+label a {
  color: #117e96;
}

.dialogify .btn-box .check-group input[type="checkbox"]+label a:hover {
  color: #126e7d;
  text-decoration: none;
  transition: all 0.3s;
}

.dialogify .btn-box .float-left {
  margin-left: 0;
}

.dialogify .btn-box .float-left a {
  margin-left: 0;
}

.dialogify .btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 5px 12px;
  height: auto;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1px;
  cursor: pointer;
  background-color: #e5e5e5;
  color: #A6A6A6;
  outline: none;
  text-decoration: none;
}

.dialogify .btn:hover {
  background: #dcdcdc;
  color: #A6A6A6;
}

.dialogify .btn.is-disabled {
  opacity: 0.5;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2);
  cursor: not-allowed !important;
}

.dialogify .btn.is-disabled:hover {
  -webkit-animation: 300ms shake;
  animation: 300ms shake;
}

@-webkit-keyframes shake {
  0% {
    -webkit-transform: rotate(1.5deg);
    transform: rotate(1.5deg);
  }

  50% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
  }

  70% {
    -webkit-transform: rotate(1.5deg);
    transform: rotate(1.5deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes shake {
  0% {
    -webkit-transform: rotate(1.5deg);
    transform: rotate(1.5deg);
  }

  50% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
  }

  70% {
    -webkit-transform: rotate(1.5deg);
    transform: rotate(1.5deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

.dialogify .btn.btn-primary {
  background-color: #117e96;
  color: #FFF;
}

.dialogify .btn.btn-primary:hover {
  background-color: #126e7d;
}

.dialogify .btn.btn-danger {
  background-color: #f44336;
  color: #FFF;
}

.dialogify .btn.btn-danger:hover {
  background: #DE2427;
}

.dialogify .btn.btn-danger.is-disabled:hover {
  background-color: #f44336;
}

.dialogify h5.dialogify_title {
  font-size: 18px;
  color: #00555f;
  line-height: 1;
  margin: 0 0 18px;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, "Lucida Grande", "PingFang TC", "蘋果儷中黑", "Apple LiGothic Medium", "微軟正黑體", sans-serif;
  font-weight: normal;
}

.dialogify h5.dialogify_title img {
  width: 12px;
  height: 10px;
  position: relative;
  top: -2px;
  margin-right: 3px;
}

.dialogify hr {
  background: #E0E6E8;
  border: none;
  height: 1px;
  width: 100%;
  margin-bottom: 15px;
}

.dialogify .text-right {
  text-align: right;
}

.dialogify .text-center {
  text-align: center;
}

.dialogify .text-left {
  text-align: left;
}