.bck-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5000px;
  background: rgba(0, 0, 0, 0.9); }

#o-simply-gallery-core-1 {
  border: 5px solid white;
  border-radius: 10px;
  bottom: 20px;
  left: 20px;
  position: absolute;
  right: 20px;
  top: 20px;
  overflow: hidden;
  background: black; }

#o-simply-gallery-core {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px; }

#o-simply-gallery-core .thumbnail-belt-1 {
  position: absolute;
  bottom: 0;
  padding: 50px 30px;
  background: rgba(222,205,160, 0.7);
  left: 0;
  right: 0;
  text-align: center; }

#o-simply-gallery-core .button-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #CCCCCC;
  cursor: pointer;
  color: black;
  padding: 10px;
  font-size: 1.5em; }

#o-simply-gallery-core .button-close:hover {
  background: white; }

#o-simply-gallery-core .button-left, #o-simply-gallery-core .button-right {
  background: rgba(204, 204, 204, 0.7);
  cursor: pointer;
  height: 100%;
  position: absolute;
  top: 0;
  width: 80px;
  left: 0; }

#o-simply-gallery-core .button-left > div, #o-simply-gallery-core .button-right > div {
  border-bottom: 30px solid transparent;
  border-right: 30px solid #cccccc;
  border-top: 30px solid transparent;
  bottom: 0;
  height: 0;
  left: 20px;
  margin: auto;
  position: absolute;
  top: 0;
  width: 0; }

#o-simply-gallery-core .button-left:hover > div, #o-simply-gallery-core .button-right:hover > div {
  border-right-color: white; }

#o-simply-gallery-core .button-right {
  left: auto;
  right: 0; }

#o-simply-gallery-core .button-right > div {
  border-left: 30px solid #cccccc;
  border-right: medium none;
  left: auto;
  right: 20px; }

#o-simply-gallery-core .button-right:hover > div {
  border-left-color: white; }

#o-simply-gallery-core .simply-gallery-main,
#o-simply-gallery-core .simply-gallery-main-1,
#o-simply-gallery-core .simply-gallery-main-2,
#o-simply-gallery-core .main-img {
  height: 100%; }

#o-simply-gallery-core .main-img {
  text-align: center;
  background: url('/_css/_allSites/preloader/Ellipsis-2.5s-200px.gif') center center no-repeat;
  background-size: 50px 50px; }

#o-simply-gallery-core .main-img .img-box.calc-ratio .img-box-2 img {
  width: auto;
  height: auto;
  max-width: none;
  min-width: 0;
  position: initial;
  top: auto;
  right: auto;
  opacity: 0; }

#o-simply-gallery-core .main-img .img-box .img-box-2 {
  height: 100%;
  padding: 0; }

#o-simply-gallery-core .main-img .img-box .img-box-2 img {
  margin: 0;
  bottom: 0;
  display: inline-block;
  height: 100%;
  position: relative;
  top: 0; }

@media screen and (min-width: 640px) {
  #o-simply-gallery-core .main-img .img-box .img-box-2 {
    padding: 0; }

  #o-simply-gallery-core .main-img .img-box .img-box-2 img {
    bottom: 0;
    height: 100%;
    top: 0; } }
#o-simply-gallery-core .main-img .img-box.wider {
  display: table; }

#o-simply-gallery-core .main-img .img-box.wider .img-box-2 {
  display: table-cell;
  vertical-align: middle; }

#o-simply-gallery-core .main-img .img-box.wider .img-box-2 img {
  height: auto;
  width: 100%;
  top: auto;
  bottom: auto; }

#o-simply-gallery-core .thumbnail-belt {
  position: absolute;
  bottom: 0;
  left: 80px;
  right: 80px;
  background: rgba(204, 204, 204, 0.7); }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 {
  position: relative;
  max-width: 800px;
  margin: 0 auto; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .thumbnail-belt-outer {
  position: relative;
  height: 80px;
  overflow: hidden;
  display: inline-block;
  width: 100px; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .thumbnail-belt-outer .thumbnail-belt-middle {
  overflow-x: scroll;
  width: auto; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .thumbnail-belt-outer .thumbnail-belt-middle .thumbnail-belt-inner {
  white-space: nowrap;
  width: auto;
  height: 90px; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .thumbnail-belt-outer .thumbnail-belt-middle .thumbnail-belt-inner .thumbnail-img {
  display: inline-block;
  border: 3px solid white;
  margin: 0 5px;
  cursor: pointer;
  cursor: hand; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .thumbnail-belt-outer .thumbnail-belt-middle .thumbnail-belt-inner .thumbnail-img.selected {
  border-color: green; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .thumbnail-belt-outer .thumbnail-belt-middle .thumbnail-belt-inner .thumbnail-img img {
  height: 60px; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-left, #o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right {
  position: absolute;
  top: 0;
  height: 100%;
  left: 0;
  width: 40px;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  cursor: hand; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-left span, #o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right span {
  display: none; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-left:after, #o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right:after {
  content: '';
  display: block;
  position: absolute;
  height: 0;
  width: 0;
  border-right: 20px solid #CCCCCC;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 10px;
  right: 10px; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-left:hover:after, #o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right:hover:after {
  border-right-color: white; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right {
  left: auto;
  right: 0; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right:after {
  border-right: none;
  border-left: 20px solid #CCCCCC; }

#o-simply-gallery-core .thumbnail-belt .thumbnail-belt-1 .button-belt-right:hover:after {
  border-left-color: white; }

#o-simply-gallery-core .button-tools {
  background: white;
  display: block;
  padding: 10px;
  position: absolute;
  right: 100px;
  text-align: center;
  top: 0;
  cursor: pointer;
  cursor: hand;
  font-size: 1.27em;
  font-weight: bold; }

#o-simply-gallery-core .info-text {
  display: block;
  color: #222;
  background: white;
  font-size: 1.27em;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 10px;
  padding: 10px; }

#o-simply-gallery-core .info-text.depend-control {
  display: none; }

#o-simply-gallery-core .info-text .page {
  display: inline;
  margin-right: 10px; }

#o-simply-gallery-core .info-text .title {
  display: inline; }

.pointing-method-mouse #o-simply-gallery-core .info-text.static {
  display: none;
  background: none;
  color: #777; }

.pointing-method-mouse #o-simply-gallery-core .info-text.depend-control {
  display: none; }
