.gallery-index > .addcase-button {
  border: 1px solid #808080;
  background-color: #ffdd55;
  padding: 5px;
  margin-left: auto;
  margin-right: auto;
  max-width: 250px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.gallery-index > .addcase-button > .button {
  display: block;
  font-size: 12px;
  padding: 10px 22px;
  font-weight: bold;
}
.gallery-index > .addcase-button > div {
  text-align: center;
  margin-top: 3px;
  font-size: 11px;
}
@media screen and (min-width: 500px) {
  .gallery-index > .addcase-button {
    float: right;
    margin-right: 10px;
    margin-left: 10px;
  }
}
.gallery-index > .owncases {
  margin-top: 10px;
  clear: both;
}
.gallery-index > .owncases > span {
  display: block;
  font-weight: bold;
  margin-right: 6px;
}
@media screen and (min-width: 768px) {
  .gallery-index > .owncases > span {
    display: inline;
  }
}
.gallery-index > .owncases > a {
  background-image: url("//tpucdn.com/images/grey_dot-v2.gif");
  background-position: 3px center;
  background-repeat: no-repeat;
  margin-right: 5px;
  padding-left: 17px;
  white-space: nowrap;
  line-height: 1.5;
}
.gallery-index > .gallery_grid {
  text-align: center;
}
.gallery-index .gallery-box {
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  display: inline-block;
  overflow: hidden;
  font-size: 13px;
  width: 500px;
  max-width: 100%;
}
@media screen and (min-width: 1400px) {
  .gallery-index .gallery-box {
    margin-right: 1%;
    margin-bottom: 1%;
  }
}
.gallery-index .gallery-box:hover {
  background-color: #eee;
  outline: 1px solid #ddd;
}
.gallery-index .gallery-box:hover h2,
.gallery-index .gallery-box:hover .rating {
  background-color: rgba(0,0,0,0.9);
}
.gallery-index .gallery-box > a {
  display: block;
  min-height: 51px;
  position: relative;
  line-height: 0;
  margin-bottom: 3px;
  background-color: #808080;
}
.gallery-index .gallery-box img {
  max-width: 100%;
}
.gallery-index .gallery-box h2 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 10px;
  overflow: hidden;
  text-align: center;
  font-family: TPU-Title, serif;
  line-height: 1.2;
  font-size: 20px;
  max-height: 48px;
  font-weight: normal;
  color: #ffffff;
  text-shadow: 0 -1px 0px #000000;
  background-color: rgba(0,0,0,0.6);
}
@media screen and (min-width: 500px) {
  .gallery-index .gallery-box h2 {
    font-size: 24px;
    max-height: 58px;
  }
}
@media screen and (min-width: 768px) {
  .gallery-index .gallery-box h2 {
    font-size: 26px;
    max-height: 62px;
  }
}
.gallery-index .gallery-box .rating {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 8px;
  font-family: TPU-Title, sans-serif;
  font-size: 32px;
  color: white;
  line-height: 1.0;
  background-color: rgba(50,50,50,0.5);
}
.gallery-index .gallery-box .gallery_box_icons {
  min-height: 50px;
}
.gallery-index .gallery-box .gallery_box_icons > img {
  margin: 7px;
}
.gallery-index .gallery-box .gallery_box_icons > .highrated {
  position: absolute;
  left: 15px;
  top: 15px;
}
.gallery-index .gallery-box .gallery_box_info {
  font-size: 13px;
  color: #777;
  margin-left: 5px;
  margin-right: 5px;
  text-align: left;
}
.gallery-index .gallery-box .gallery_box_info > .owner > b {
  font-weight: normal;
  color: #bbb;
}
.gallery-index .gallery-box .gallery_box_info > .date {
  float: right;
  text-align: right;
}
.gallery-index .gallery-box .gallery_box_text {
  text-align: left;
  padding: 5px;
  height: 49px;
  overflow: hidden;
  color: #444;
  font-size: 13px;
}
.gallery-index .filter-options {
  font-size: 13px;
  margin-bottom: 10px;
  text-align: center;
}
.gallery-index .filter-options > div {
  display: inline-block;
  margin: 5px;
}
.gallery-index .filter-options > div > label {
  display: inline-block;
  margin-right: 5px;
  width: 30px;
}
.gallery-index .filter-options > div > select {
  width: 205px;
  font-size: 12px;
}
@media screen and (min-width: 500px) {
  .gallery-index .filter-options > div > label {
    width: auto;
  }
  .gallery-index .filter-options > div > select {
    width: auto;
  }
}
@media screen and (min-width: 1100px) {
  .gallery-index .filter-options >div {
    display: block;
    margin-right: 0;
  }
  .gallery-index .filter-options {
    text-align: right;
  }
}
.gallery-details > .casenav {
  text-align: center;
}
.gallery-details > .casenav .button {
  display: inline-block;
  float: none;
  font-size: 14px;
  margin-bottom: 8px;
}
.gallery-details > .gallery-small {
  display: none;
  position: relative;
  padding-left: 25px;
  padding-right: 25px;
  margin-bottom: 15px;
  height: 100px;
  overflow: hidden;
}
@media screen and (min-width: 500px) {
  .gallery-details > .gallery-small {
    display: block;
  }
}
.gallery-details > .gallery-small .carousel-cell {
  background-color: #000;
  margin-left: 2px;
  margin-right: 2px;
  height: 100px;
}
.gallery-details > .gallery-small .carousel-cell > img {
  height: 100px;
  cursor: pointer;
  opacity: 0.8 !important;
}
.gallery-details > .gallery-small .carousel-cell:hover > img,
.gallery-details > .gallery-small .carousel-cell.is-nav-selected > img {
  opacity: 1.0 !important;
}
.gallery-details > .gallery-small .carousel-cell.is-nav-selected:after {
  position: absolute;
  content: '';
  left: 0px;
  bottom: 0px;
  right: 0px;
  height: 4px;
  background-color: red;
  opacity: 0.85;
}
.gallery-details > .gallery-small .prev,
.gallery-details > .gallery-small .next {
  cursor: pointer;
  z-index: 1;
  height: 100%;
  position: absolute;
  top: 0;
  width: 20px;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  opacity: 0.4;
}
.gallery-details > .gallery-small .prev:hover,
.gallery-details > .gallery-small .next:hover {
  opacity: 1.0;
}
.gallery-details > .gallery-small .prev.disabled,
.gallery-details > .gallery-small .next.disabled {
  display: none;
}
.gallery-details > .gallery-small .prev {
  background-position: left center;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI1NiIgaGVpZ2h0PSIyNTYiPg0KICA8cGF0aCBkPSJNMTYwLjUgMGwyMCAyOS43TDExNSAxMjhsNjUuMiA5OC4zLTIwIDI5LjctODQuOC0xMjgiLz4NCjwvc3ZnPg==");
  left: 0;
}
.gallery-details > .gallery-small .next {
  background-position: right center;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI1NiIgaGVpZ2h0PSIyNTYiPg0KICA8cGF0aCBkPSJNOTUuNSAwbC0yMCAyOS43TDE0MSAxMjhsLTY1LjIgOTguMyAyMCAyOS43IDg0LjgtMTI4Ii8+DQo8L3N2Zz4=");
  right: 0;
}
.gallery-details > .gallery-big {
  position: relative;
  margin-bottom: 15px;
}
.gallery-details > .gallery-big .carousel-cell {
  width: 100%;
  text-align: center;
}
.gallery-details > .gallery-big img {
  margin: auto;
  width: auto !important;
  max-width: 100%;
  max-height: 150px;
}
@media screen and (min-width: 400px) {
  .gallery-details > .gallery-big img {
    max-height: 200px;
  }
}
@media screen and (min-width: 450px) {
  .gallery-details > .gallery-big img {
    max-height: 250px;
  }
}
@media screen and (min-width: 600px) {
  .gallery-details > .gallery-big img {
    max-height: 300px;
  }
}
@media screen and (min-width: 700px) {
  .gallery-details > .gallery-big img {
    max-height: 350px;
  }
}
@media screen and (min-width: 800px) {
  .gallery-details > .gallery-big img {
    max-height: 400px;
  }
}
@media screen and (min-width: 890px) {
  .gallery-details > .gallery-big img {
    max-height: 300px;
  }
}
@media screen and (min-width: 1000px) {
  .gallery-details > .gallery-big img {
    max-height: 350px;
  }
}
@media screen and (min-width: 1080px) {
  .gallery-details > .gallery-big img {
    max-height: 400px;
  }
}
@media screen and (min-width: 1150px) {
  .gallery-details > .gallery-big img {
    max-height: 450px;
  }
}
@media screen and (min-width: 1200px) {
  .gallery-details > .gallery-big img {
    max-height: 500px;
  }
}
@media screen and (min-width: 1250px) {
  .gallery-details > .gallery-big img {
    max-height: 550px;
  }
}
.gallery-details > .gallery-big .prev,
.gallery-details > .gallery-big .next {
  cursor: pointer;
  z-index: 1;
  height: 100%;
  position: absolute;
  top: 0;
  width: 15%;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-size: 40% auto;
  opacity: 0.4;
}
.gallery-details > .gallery-big .prev:hover,
.gallery-details > .gallery-big .next:hover {
  opacity: 1.0;
}
.gallery-details > .gallery-big .prev.disabled,
.gallery-details > .gallery-big .next.disabled {
  display: none;
}
.gallery-details > .gallery-big .prev {
  background-position: 10% center;
  background-image: url("data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiI+DQogIDxwYXRoIGZpbGw9IiM2MDYwNjAiIGQ9Ik0xNjAuNSAwbDIwIDI5LjdMMTE1IDEyOGw2NS4yIDk4LjMtMjAgMjkuNy04NC44LTEyOCIvPg0KPC9zdmc+");
  left: 0;
}
.gallery-details > .gallery-big .next {
  background-position: 90% center;
  background-image: url("data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiI+DQogIDxwYXRoIGZpbGw9IiM2MDYwNjAiIGQ9Ik05NS41IDBsLTIwIDI5LjdMMTQxIDEyOGwtNjUuMiA5OC4zIDIwIDI5LjcgODQuOC0xMjgiLz4NCjwvc3ZnPg==");
  right: 0;
}
.gallery-details .noscript-image {
  display: inline-block;
  margin: 5px;
}
.gallery-details .noscript-image > img {
  max-width: 100%;
}
.gallery-details .specs ul {
  font-size: 12px;
  color: #444;
  margin: 5px 0 0;
}
@media screen and (min-width: 400px) {
  .gallery-details .specs ul {
    margin-top: 0;
  }
}
.gallery-details .specs ul > li {
  background: #f6f6f6 none repeat scroll 0 0;
  border: 1px solid #e0e0e0;
  display: block;
  float: left;
  padding: 2px 5px;
  margin: 1px;
}
.gallery-details .case-info {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  overflow: hidden;
}
.gallery-details .case-info > div {
  padding: 5px;
  display: block;
  overflow: hidden;
}
.gallery-details .case-info > div > span {
  display: block;
  vertical-align: top;
  font-weight: bold;
}
.gallery-details .case-info > div > div {
  display: block;
  overflow: hidden;
}
.gallery-details .case-info-left {
  background-color: #f8f8f8;
  font-size: 12px;
  padding: 5px;
  border: 1px solid #ddd;
  max-width: 380px;
}
@media screen and (min-width: 768px) {
  .gallery-details .case-info-left {
    margin-left: 0;
    margin-right: 15px;
    float: left;
    width: 270px;
  }
}
.gallery-details .case-info-left > div > span {
  float: left;
  width: 60px;
  text-align: right;
  margin-right: 8px;
}
@media screen and (min-width: 400px) {
  .gallery-details .case-info-left > div > span {
    width: 90px;
    margin-right: 15px;
  }
}
@media screen and (min-width: 768px) {
  .gallery-details .case-info-left > div > span {
    width: 70px;
  }
}
.gallery-details .case-info-left .owner > div > a {
  white-space: nowrap;
}
.gallery-details .case-info-left .owner .userlink {
  white-space: normal;
  word-wrap: break-word;
  font-weight: bold;
  margin-right: 10px;
}
.gallery-details .case-info-left .rating {
  display: block;
}
.gallery-details .case-info-left .rating > span {
  float: left;
}
.gallery-details .case-info-left .rating img {
  margin-top: 5px;
  margin-bottom: 2px;
  display: block;
}
.gallery-details .case-info-left .vote form {
  font-size: 11px;
}
.gallery-details .case-info-left .vote form > select {
  margin-bottom: 5px;
}
.gallery-details .case-info-left .vote form > label {
  display: block;
}
.gallery-details .case-info-left .vote form .cantvote {
  margin-top: 5px;
  color: #882222;
}
.gallery-details .case-info-right {
  font-size: 13px;
}
@media screen and (min-width: 768px) {
  .gallery-details .case-info-right {
    min-width: 330px;
  }
}
.gallery-details .case-info-right > div > span {
  margin-bottom: 2px;
}
@media screen and (min-width: 400px) {
  .gallery-details .case-info-right > div > span {
    float: left;
    width: 90px;
    margin-right: 15px;
  }
}
@media screen and (min-width: 768px) {
  .gallery-details .case-info-right > div > span {
    width: 100px;
  }
}
.gallery-details .case-info-right > div > div > a {
  word-wrap: break-word;
}
.gallery-details .case-info-right .social {
  margin-bottom: 15px;
}
.gallery-details .case-info-right .social .social-share {
  text-align: center;
}
@media screen and (min-width: 1000px) {
  .gallery-details .case-info-right .social .social-share {
    text-align: left;
  }
}
.gallery-details .case-info-right > .keywords img {
  width: 40px;
  height: auto;
  margin-right: 1px;
  margin-bottom: 1px;
}
@media screen and (min-width: 400px) {
  .gallery-details .case-info-right > .keywords img {
    margin-right: 2px;
    margin-bottom: 2px;
    width: 52px;
  }
}
@media screen and (min-width: 600px) {
  .gallery-details .case-info-right > .keywords img {
    margin-right: 5px;
    margin-bottom: 5px;
    width: 60px;
  }
}
@media screen and (min-width: 768px) {
  .gallery-details .case-info-right > .keywords img {
    margin-right: 10px;
    margin-bottom: 10px;
    width: 64px;
  }
}
.gallery-details .case-info-right .youtube-play-button {
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjM2MC4xMDgiPg0KICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNMjAzLjExOSAyNDYuNDY1bDEzOC4zNDUtNzEuNjc4LTEzOC4zNDUtNzIuMTh2MTQzLjg1OHoiLz4NCiAgPHBhdGggb3BhY2l0eT0iLjEyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzQyMDAwMCIgZD0iTTIwMy4xMTkgMTAyLjYwN2wxMjEuMzIzIDgxLjAxNCAxNy4wMjEtOC44MzQtMTM4LjM0NC03Mi4xOHoiLz4NCiAgPGxpbmVhckdyYWRpZW50IGlkPSJhIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjI1NiIgeDI9IjI1NiIgeTI9IjM2MC4xMDc5Ij4NCiAgICA8c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNFNTJEMjciLz4NCiAgICA8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNCRjE3MUQiLz4NCiAgPC9saW5lYXJHcmFkaWVudD4NCiAgPHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTUwNi44ODcgNzcuNjg2cy01LjAwMy0zNS4yODItMjAuMzU0LTUwLjgxOUM0NjcuMDY0IDYuNDc0IDQ0NS4yNCA2LjM3MyA0MzUuMjMyIDUuMTc5IDM2My41ODUgMCAyNTYuMTExIDAgMjU2LjExMSAwaC0uMjIzUzE0OC40MTYgMCA3Ni43NjcgNS4xNzljLTEwLjAwOCAxLjE5NC0zMS44MjQgMS4yOTUtNTEuMyAyMS42ODhDMTAuMTE2IDQyLjQwNCA1LjEyMSA3Ny42ODYgNS4xMjEgNzcuNjg2UzAgMTE5LjExOSAwIDE2MC41NTJ2MzguODQzYzAgNDEuNDMzIDUuMTIxIDgyLjg2NSA1LjEyMSA4Mi44NjVzNC45OTYgMzUuMjgzIDIwLjM0NiA1MC44MmMxOS40NzcgMjAuMzkzIDQ1LjA2MSAxOS43NDkgNTYuNDU1IDIxLjg4NkMxMjIuODgzIDM1OC44OTMgMjU2IDM2MC4xMDggMjU2IDM2MC4xMDhzMTA3LjU4NS0uMTYyIDE3OS4yMzItNS4zNGMxMC4wMDgtMS4xOTQgMzEuODMyLTEuMjk1IDUxLjMwMS0yMS42ODggMTUuMzUxLTE1LjUzNyAyMC4zNTQtNTAuODIgMjAuMzU0LTUwLjgyUzUxMiAyNDAuODI4IDUxMiAxOTkuMzk1di0zOC44NDNjMC00MS40MzMtNS4xMTMtODIuODY2LTUuMTEzLTgyLjg2NnpNMjAzLjE0MiAyNDYuNDY1bC0uMDIzLTE0My44NTggMTM4LjM0NSA3Mi4xOC0xMzguMzIyIDcxLjY3OHoiLz4NCjwvc3ZnPg==");
  background-size: 20px auto;
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 20px;
  margin-left: 10px;
  opacity: 0.8;
}
.gallery-details .case-info-right .youtube-play-button:hover {
  opacity: 1.0;
}
.gallery-details .case-info-right .video-container {
  max-width: 700px;
}
.gallery-details .case-info-right > .other-mods > ul {
  overflow: hidden;
  list-style-position: inside;
  margin: 0;
  line-height: 1.7;
}
.gallery-details .case-info-right > .descr {
  font-size: 15px;
  line-height: 1.4;
}
.gallery-votedetails > form {
  margin: auto;
  max-width: 600px;
  position: relative;
}
.gallery-votedetails > form > p {
  margin-top: 10px;
  margin-bottom: 10px;
}
.gallery-votedetails > form > .preview {
  font-size: 13px;
  background: #f5f5f5 none repeat scroll 0 0;
  border: 1px solid #ddd;
  padding: 8px 15px;
}
.gallery-votedetails > form > .preview > .preview-row {
  margin-bottom: 5px;
}
.gallery-votedetails > form > .preview > .preview-row > strong {
  display: inline-block;
  width: 75px;
  margin-right: 5px;
}
.gallery-votedetails > form > .preview > .preview-row > textarea {
  margin-top: 4px;
  margin-bottom: 4px;
  width: 500px;
  height: 130px;
  max-width: 100%;
}
.gallery-votedetails input[type=submit] {
  margin-right: 15px;
}
.gallery-votedetails a {
  font-size: 12px;
}
.comments {
  margin-bottom: 30px;
  font-size: 15px;
}
.comments > .no-comments {
  padding-bottom: 50px;
}
.comments > h2 {
  font-family: TPU-Title, serif;
  font-size: 25px;
  line-height: 30px;
  font-weight: normal;
  color: #bbbbbb;
  margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comments > h2 > span {
  display: none;
}
@media screen and (min-width: 500px) {
  .comments > h2 > span {
    display: inline;
  }
}
.comments > h2 > span > i {
  color: #445588;
  font-style: normal;
}
.comments > h2 > b {
  font-weight: normal;
  color: #000000;
  font-size: 35px;
}
.comments > .addcomment {
  display: block;
  max-width: 300px;
  font-size: 18px;
  font-weight: bold;
  margin: auto auto 20px;
}
@media screen and (min-width: 500px) {
  .comments > .addcomment {
    display: inline;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
  }
}
.comments > .forumpost {
  margin-bottom: 15px;
  background-color: #f0f0f0;
  position: relative;
  border: 2px solid #e6e6e6;
  border-radius: 2px;
}
.comments > .forumpost:hover > footer span {
  visibility: visible;
}
.comments > .forumpost > .count {
  position: absolute;
  right: 7px;
  top: 7px;
  font-size: 12px;
  color: #aaaaaa;
  text-align: right;
}
.comments > .forumpost > .userinfo {
  font-size: 16px;
  padding: 6px 0 6px 9px;
  word-wrap: break-word;
}
.comments > .forumpost > .userinfo > a {
  font-weight: bold;
}
.comments > .forumpost > .userinfo > .usertitle {
  margin-top: 1px;
  margin-bottom: 2px;
  color: #666666;
  font-size: 12px;
  letter-spacing: 0px;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.comments > .forumpost > .userinfo > .usertitle > img {
  display: none;
}
.comments > .forumpost > div {
  background-color: #fdfdfd;
  padding: 15px 15px 10px 15px;
  min-height: 40px;
}
@media screen and (min-width: 500px) {
  .comments > .forumpost > div {
    padding: 15px 30px 10px 15px;
  }
}
.comments > .forumpost > footer {
  font-size: 12px;
  color: #bbbbbb;
  padding: 10px 5px 7px 10px;
  background-color: #fdfdfd;
}
.comments > .forumpost > footer > time {
  padding-right: 20px;
  color: #777777;
  white-space: nowrap;
}
.comments > .forumpost > footer > span {
  float: right;
  position: relative;
  bottom: 1px;
  padding-right: 4px;
  white-space: nowrap;
  visibility: hidden;
}
.comments > .forumpost > footer > span > a {
  font-size: 13px;
  font-weight: bold;
}
@media screen and (min-width: 700px) {
  .comments > .forumpost > .userinfo {
    float: left;
    width: 165px;
    padding-top: 13px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
  }
  .comments > .forumpost > .userinfo > .usertitle {
    margin-top: 5px;
  }
  .comments > .forumpost > .userinfo > .usertitle > img {
    opacity: 0.8;
  }
  .comments > .forumpost > div {
    margin-left: 180px;
    border-left: 1px solid #e4e4e4;
  }
  .comments > .forumpost > footer {
    margin-left: 180px;
    padding-left: 20px;
    border-left: 1px solid #e4e4e4;
  }
}
.comments .posttext {
  word-wrap: break-word;
}
.comments .posttext blockquote {
  padding: 10px;
  margin: 10px 10px 15px 10px;
  border-left: 4px solid #445588;
  background-color: #f2f2f2;
  color: #666666;
}
@media screen and (min-width: 500px) {
  .comments .posttext blockquote {
    margin-right: 40px;
  }
}
.comments .posttext blockquote hr {
  display: none;
}
.comments .posttext blockquote small {
  color: #999999;
  display: block;
  margin-bottom: 5px;
}
.comments .posttext a {
  word-wrap: break-word;
}
.comments .posttext img {
  max-width: 100%;
}
.gallery-edit .return {
  text-align: center;
}
.gallery-edit .returnbutton {
  font-size: 13px;
  display: block;
  margin: 15px auto;
  max-width: 300px;
}
@media screen and (min-width: 400px) {
  .gallery-edit .returnbutton {
    font-size: 15px;
  }
}
@media screen and (min-width: 550px) {
  .gallery-edit .returnbutton {
    display: inline-block;
    max-width: none;
    margin: 20px 20px 20px 105px;
    font-size: 20px;
  }
}
.gallery-edit .form {
  width: 350px;
  max-width: 100%;
  margin: auto;
}
@media screen and (min-width: 550px) {
  .gallery-edit .form {
    width: 500px;
  }
}
.gallery-edit .form > .formsection {
  margin-bottom: 10px;
}
.gallery-edit .form > .formsection > .flags {
  display: inline-block;
  width: 350px;
  max-width: 100%;
  overflow: hidden;
  padding-left: 5px;
}
.gallery-edit .form > .formsection > .flags > div {
  display: inline-block;
  width: 150px;
}
.gallery-edit .form > .formsection > .flags > div > label {
  text-align: left;
  width: auto;
}
.gallery-edit .form > .formsection > .flags > div > label > input {
  margin-right: 6px;
}
.gallery-edit .form label {
  display: block;
  vertical-align: top;
  margin-top: 3px;
  margin-bottom: 3px;
  font-weight: bold;
  color: #458;
  font-size: 12px;
}
@media screen and (min-width: 550px) {
  .gallery-edit .form label {
    display: inline-block;
    width: 105px;
    margin-right: 15px;
    text-align: right;
  }
}
.gallery-edit .form label div {
  display: inline-block;
  margin-left: 15px;
  font-weight: normal;
  font-size: 11px;
  color: #bbb;
}
@media screen and (min-width: 550px) {
  .gallery-edit .form label div {
    display: block;
    margin-left: 0;
  }
}
.gallery-edit .form .delete {
  width: 130px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}
@media screen and (min-width: 550px) {
  .gallery-edit .form .delete {
    margin-left: 110px;
    margin-bottom: 10px;
  }
}
.gallery-edit .form .delete > input[type=checkbox] {
  width: auto;
  margin-right: 5px;
  position: relative;
  top: 1px;
}
.gallery-edit .form input[type=text],
.gallery-edit .form textarea,
.gallery-edit .form select {
  border: 1px solid #ddd;
  box-sizing: border-box;
  width: 350px;
  max-width: 100%;
}
.gallery-edit .form input[type=text]:focus,
.gallery-edit .form textarea:focus,
.gallery-edit .form select:focus {
  border: 1px solid #999;
}
.gallery-edit .form input[type=text] {
  padding: 5px;
}
.gallery-edit .form textarea {
  font-size: 13px;
  padding: 5px 7px;
  height: 200px;
}
.gallery-edit .form select {
  font-size: 12px;
  padding: 4px;
  height: 200px;
}
.gallery-edit .form .fileupload {
  font-size: 15px;
}
.gallery-edit .form .fileupload > input {
  width: auto;
}
.gallery-edit .form .image-warning {
  background-color: #f0ad4e;
  border: 1px solid #c88c34;
  color: white;
  font-weight: bold;
  margin-left: 130px;
  margin-right: 30px;
  padding: 10px;
  text-align: center;
}
.gallery-edit .imagecontainer {
  text-align: center;
  margin: 0;
}
@media screen and (min-width: 500px) {
  .gallery-edit .imagecontainer {
    margin: 10px;
  }
}
@media screen and (min-width: 768px) {
  .gallery-edit .imagecontainer {
    margin: 20px;
  }
}
.gallery-edit .imagecontainer > span {
  margin-right: 7px;
  margin-bottom: 7px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.gallery-edit .imagecontainer > span > .hint {
  display: none;
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  text-align: center;
  background: #000000;
  background: rgba(0,0,0,0.7);
  color: #eee;
  pointer-events: none;
  font-size: 12px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.gallery-edit .imagecontainer > span:hover > .hint {
  display: block;
}
.gallery-edit .imagecontainer > span > img {
  width: auto;
  height: 80px;
}
@media screen and (min-width: 500px) {
  .gallery-edit .imagecontainer > span > img {
    height: 100px;
  }
}
@media screen and (min-width: 768px) {
  .gallery-edit .imagecontainer > span > img {
    height: 120px;
  }
}
.gallery-edit .fileupload_drop {
  display: inline-block;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+DQogIDxwYXRoIGQ9Ik01MTIgNTc2bDI1Ni0yNTZINTc2VjY0SDQ0OHYyNTZIMjU2em0yMzIuNy0xMDQuN0w2NzMgNTQzbDI2MCA5Ny00MjEgMTU3TDkxIDY0MGwyNjAtOTctNzEuNy03MS43TDAgNTc2djI1Nmw1MTIgMTkyIDUxMi0xOTJWNTc2eiIvPg0KPC9zdmc+");
  background-size: 40px auto;
  background-position: center 23px;
  background-repeat: no-repeat;
  border: 1px dashed #888;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 0 15px;
  position: relative;
  transition: all 0.2s ease 0s;
  width: 350px;
  max-width: 100%;
}
.gallery-edit .fileupload_drop:hover {
  background-color: #f8f8f8;
  background-position: center 28px;
}
.gallery-edit .fileupload_drop > p {
  color: #333;
  font-size: 14px;
  margin-bottom: 30px;
  padding-top: 75px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}
.gallery-edit .fileupload_drop > input {
  cursor: pointer;
}
.gallery-edit .fileupload_drop > .fileupload_indicator {
  font-size: 13px;
  padding-bottom: 5px;
  text-align: center;
}
.gallery-edit .fileupload_errors {
  font-weight: bold;
  color: red;
  text-align: center;
}
@media screen and (min-width: 550px) {
  .gallery-edit .fileupload_errors {
    margin-left: 120px;
    width: 350px;
  }
}
