/* CSS Document */
#UIContainer {
  position: relative;
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: #73bfd1;
  font-family: "Arial Black", Gadget, sans-serif;
  vertical-align: middle;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#cateTitle {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 150%;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  color: darkblue;
}
/*main menu*/
#mainMenu_top {
  color: #42210b;
  background-color: #b8e5ef;
  width: 100%;
  display: inline-flex;
}
#mainMenu_top div {
  width: 100%;
  position: relative;
  margin: auto 5px;
}

#mainMenu_top img {
  vertical-align: middle;
  padding-left: 2%;
}

#mainMenu_cloud {
  position: relative;
  margin-top: 1.5%;
  background-repeat: no-repeat;
  background-size: 100%;
  color: #56a9b7;
  padding-top: 4%;
  margin-left: 0%;
}

#mainMenu_box {
  position: relative;
  background-size: 100%;
  color: #fcf9f7;
  padding-top: 3%;
  padding-bottom: 7%;
  margin-left: -3%;
  background-color: #baebf4;
  border-bottom-right-radius: 1em;
  border-bottom-left-radius: 1em;
}
#mainMenu_box div {
  margin-top: 4.2%;
}
.menuButton {
  background-size: 100%;
  background-repeat: no-repeat;
  color: #9bdae8;
  cursor: pointer;
  border-radius: 1.5em;
  background-color: #fcf9f7;
}
.yellow {
  background-color: #f8efbb;
}
.menuButton:hover {
  background-color: #c3e7ed;
  color: #fcf9f7;
}
.menuButton div {
  padding-top: 3.3%;
  cursor: pointer;
}

.flippedImg {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

/*game screen */
#boxesContainer {
  position: absolute;
  width: 100%;
}
.boxSubcateg {
  position: absolute;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  float: left;
  margin-left: 5%;
  cursor: pointer;
}
.boxSubcateg img {
  margin-top: 46.6%;
  cursor: pointer;
}
.boxSubcateg div {
  position: absolute;
  color: #42210b;
  margin-left: 6%;
  margin-top: 36%;
  width: 60%;
  clear: both;
}
.card {
  position: absolute;
  cursor: pointer;
  background-color: #d8c480;
  border-radius: 0.8em;
}
.card img {
  cursor: pointer;
}
.card div {
}

/*game over*/
#fireworksBackground {
  background-size: 100%;
  background-repeat: no-repeat;
  margin-top: -3%;
  color: #42210b;
}
#gameOverButtons {
  margin-top: -1%;
  padding-top: 5%;
}
#congratsDiv {
  padding-top: 8%;
  line-height: 5px;
}

/*scrollbar stuff */
.scrollable {
  position: relative;
}

.scrollable:focus {
  outline: 0;
}

.scrollable .viewport {
  position: relative;
  overflow: hidden;
}

.scrollable .viewport .overview {
  position: absolute;
}

.scrollable .scroll-bar {
  display: none;
}

.scrollable .scroll-bar.vertical {
  position: absolute;
  right: 0;
  height: 100%;
}

.scrollable .scroll-bar.horizontal {
  position: relative;
  width: 100%;
}

.scrollable .scroll-bar .thumb {
  position: absolute;
}

.scrollable .scroll-bar.vertical .thumb {
  width: 100%;
  min-height: 10px;
}

.scrollable .scroll-bar.horizontal .thumb {
  height: 100%;
  min-width: 10px;
  left: 0;
}

.not-selectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*Default skin*/

.scrollable.default-skin {
  padding-right: 10px;
  padding-bottom: 6px;
}

.scrollable.default-skin .scroll-bar.vertical {
  width: 6px;
}

.scrollable.default-skin .scroll-bar.horizontal {
  height: 6px;
}

.scrollable.default-skin .scroll-bar .thumb {
  background-color: black;
  opacity: 0.4;
  border-radius: 3px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.scrollable.default-skin .scroll-bar:hover .thumb {
  opacity: 0.6;
}

/*Gray skin*/

.scrollable.gray-skin {
  padding-right: 17px;
}

.scrollable.gray-skin .scroll-bar {
  border: 1px solid gray;
  background-color: #d3d3d3;
}

.scrollable.gray-skin .scroll-bar .thumb {
  background-color: gray;
}

.scrollable.gray-skin .scroll-bar:hover .thumb {
  background-color: black;
}

.scrollable.gray-skin .scroll-bar.vertical {
  width: 10px;
}

.scrollable.gray-skin .scroll-bar.horizontal {
  height: 10px;
  margin-top: 2px;
}

/*Modern skin*/
.scrollable.modern-skin {
  padding-right: 7%;
}

.scrollable.modern-skin .scroll-bar {
  border: 1px solid gray;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-box-shadow: inset 0 0 5px #888;
  -webkit-box-shadow: inset 0 0 5px #888;
  box-shadow: inset 0 0 5px #888;
}

.scrollable.modern-skin .scroll-bar .thumb {
  background-color: #95aabf;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 1px solid #536984;
}

.scrollable.modern-skin .scroll-bar.vertical .thumb {
  width: 8px;
  background: -moz-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0%, #95aabf),
    color-stop(100%, #547092)
  );
  background: -webkit-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: -o-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: -ms-linear-gradient(left, #95aabf 0%, #547092 100%);
  background: linear-gradient(to right, #95aabf 0%, #547092 100%);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#95aabf', endColorstr='#547092',GradientType=1 )";
}

.scrollable.modern-skin .scroll-bar.horizontal .thumb {
  height: 8px;
  background-image: linear-gradient(#95aabf, #547092);
  background-image: -o-linear-gradient(#95aabf, #547092);
  background-image: -moz-linear-gradient(#95aabf, #547092);
  background-image: -webkit-linear-gradient(#95aabf, #547092);
  background-image: -ms-linear-gradient(#95aabf, #547092);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#95aabf', endColorstr='#547092',GradientType=0 )";
}

.scrollable.modern-skin .scroll-bar.vertical {
  width: 10px;
}

.scrollable.modern-skin .scroll-bar.horizontal {
  height: 10px;
  margin-top: 2px;
}
