@charset "UTF-8";
.ReactModalPortal {}
.ReactModalPortal .toolbar {
  pointer-events: none;
}

.ReactModalPortal button {
  pointer-events: auto;
}
.ReactModal__Content{
margin-top: 50px;
}
.ReactModalPortal .ReactModal__Content img {
  background: #fff;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width:100%;
  max-height:100%;
}
.ReactModalPortal .toolbar{
  background-color: rgba(0,0,0,.2) !important;
}
.ModalContent .swipe_open{
  float: right;
}
.btn_open, .swipe_open{
  display: inline-block;
  width: 80px;
  padding:3px 10px;
  font-size: 0.7rem;
  line-height: 1.4;
  margin-top: 5px;
  text-decoration: none;
  text-align: center;
  color: #5c5c5c;
  text-shadow: 0px 1px 0px #fafafa;
  background: #fbfaf4;
  background: -webkit-gradient(linear, left top, left bottom, from(#fbfaf4), to(#ece8e6));
  background: -moz-linear-gradient(top,  #fbfaf4,  #ece8e6);
  background: linear-gradient(top,  #fbfaf4,  #ece8e6);
  border: 1px solid #dcd9d8;
  border-bottom: 1px solid #c1c1bd;
  -webkit-box-shadow:  0 0 1px #c7c5c1;
  -moz-box-shadow:  0 0 1px #c7c5c1;
  box-shadow:  0 0 1px #c7c5c1;
  border-radius: 5px;}


.btn_open:hover, .swipe_open:hover {
  background: #fbfbf9;
  color: #5c5c5c;
  text-decoration: none;
}
@media only screen and (max-width: 1018px) {
.ReactModalPortal .prev-button, .ReactModalPortal .next-button{
  padding:20px 15px;
}
}
@media only screen and (min-width: 1018px) {
  .ReactModalPortal .ReactModal__Content img {
    width: auto !important;
    height: 100% !important;
  }
  .ReactModal__Content{
  margin-top: 0;
  }
}
