.picture { 
  min-width: 100px;
  position: relative;
}

#picture-1 { 
  border-right: 1px solid black;
}

#picture-2 { 
  border-left: 1px solid black;
}

.difference { 
  position: absolute;
}

.difference svg { 
  position: relative;
  left: -5px;
  top: -5px;
}
.difference.found { 
}

.hidden { 
  display: none;
}

#wrongclick { 
  position: absolute;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

#wrongclick svg { 
  position: relative;
  left: -50%;
  top: -50%;
  pointer-events: none;
}

.redline { 
  stroke: red;
  pointer-events: none;
}

#score { 
  display: inline-block;
  position: relative;
  top: -5px;
  margin-right: 10px;
}

#reward {
	display: none;
	position: absolute;
	text-align: center;
	padding: 10px 30px 10px 30px;
	cursor: pointer;
	z-index: 200;
}


.popup {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-box-align: start;
    -moz-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;

  position: absolute;
  padding: 10px;
  background-size: auto;
  min-width: 40px;
  min-height: 40px;
  max-width: 80%;
}

.popup.hidden:not(.almostvisible) { 
  display: none;
}

.popup.hidden.almostvisible { 
  opacity: 0.01;
}

.popupcontent {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;

  padding: 0px;
  margin: 0px;
}

.triangle { 
  width: 50px;
  height: 50px;
  position: absolute;
  overflow: hidden;
  border: none;
}

.triangle:after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);)
  box-shadow: -1px -1px 10px -2px rgba(0,0,0,0.5);
  border: 1px solid #888888;
}

.lefttriangle:after { 
  top: 13px;
  left: 38px;
}
.righttriangle:after { 
  top: 13px;
  left: -14px;
}
.toptriangle:after { 
  top: 38px;
  left: 13px;
}
.bottomtriangle:after { 
  top: -14px;
  left: 13px;
}

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

  html:not(.ibw-platform-osx-ibooks) div#reward { 
    font-size: 40px;
  }
}

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

  html:not(.ibw-platform-osx-ibooks) div#reward { 
    font-size: 30px;
  }
}
