* {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  outline: none;
}

body {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

/*
 * Header
 */
header {
  display: flex;
}

header button {
  flex: 0 0 10%;
  background-color: #AF504C;
  width: 100%;
  height: 50px;
}

header button:nth-child(2) {
  flex: 1 1 auto;
}

/*
 * Content
 */
#content_wrapper {
  text-align: left;
  display: inline-block;
}

#category_container {
  line-height: 25px;
  text-align: center;
  margin: 2px 0;
}

@media (min-width: 120px) { #content_wrapper { width: 100px; } }
@media (min-width: 220px) { #content_wrapper { width: 200px; } }
@media (min-width: 320px) { #content_wrapper { width: 300px; } }
@media (min-width: 420px) { #content_wrapper { width: 400px; } }
@media (min-width: 520px) { #content_wrapper { width: 500px; } }
@media (min-width: 620px) { #content_wrapper { width: 600px; } }
@media (min-width: 720px) { #content_wrapper { width: 700px; } }
@media (min-width: 820px) { #content_wrapper { width: 800px; } }
/*@media (min-width: 920px) { #content_wrapper { width: 900px; } }*/

/*
 * Buttons
 */
button {
  border: 1px solid #ffffff;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;

  cursor: pointer;

  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;

  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

button:active {
  opacity: 0.5;
}

button.fav {
  border-top-right-radius: 10px;
}

button.hidden {
  display: none;
}

button > span {
  position: absolute;
  top: 2px;
  left: 5px;
  font-size: 10px;
  color: black;
  opacity: 0.5;
}

button.category {
	height: 50px;
}

button.category.primary {
	background-color: #999387;
}
button.category.primary.active {
	background-color: #AF504C;
}

button.category.secondary {
	background-color: #c0baae;
}
button.category.secondary.active {
	background-color: #9462c8;
}

/*
 * Copyright Footer
 */
div#cr_wrapper {
  text-align: right;
  line-height: 10px;
}

a.cr {
  color: black !important;
  text-decoration: none;
  font-size: 10px;
}
