/* CSS German Rebels 2023 - version 666 */
/* Copyright by German Rebels & Xirus */

/**************************************************************************************************************/
/**************************************************************************************************************/
/***                                                                                                        ***/
/***                                                   EVERYWHERE                                           ***/
/***                                                                                                        ***/
/**************************************************************************************************************/
/**************************************************************************************************************/

/***********************/
/*        SITE         */
/***********************/

/* html {
  scroll-padding-top: 6rem;
} */

img {
  border: none;
}

.header {
  margin: 0 0 14px 0;
  padding: 14px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.gap {
  gap: 14px;
  margin: 0 0 14px 0;
}

.gap-column {
  column-gap: 14px;
}

.gap-row {
  row-gap: 14px;
}

.logged {
  width: 100%;
  text-align: right;
  border-left: 1px dashed #222;
  align-items: stretch;
}

.main {
  min-width: 360px;
  max-width: 1200px;
  margin: 0 auto;
}

a:hover {
  cursor: pointer;
  text-decoration: none;
}

.community_banner {
  height: 150px;
  object-fit: cover;
  background-size: cover;
  margin: 0 0 14px 0;
  background-image: url(../images/page/header_20th.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05) inset;
  border-radius: 10px;
}

.navigation {
  width: 100%;
  margin: 8px 0 0 0;
}

.navigation>a {
  font-size: 0.8em;
  margin: 8px 20px 0 0;
  font-weight: bold;
  letter-spacing: 0em;
  text-transform: uppercase;
}

.navigation_mobile {
  display: none;
}

.login_link {
  cursor: pointer;
  font-size: 0.8em;
  margin: 0 0 0 14px;
  font-weight: bold;
  letter-spacing: 0em;
  color: #ffcccc;
  text-transform: uppercase;
}

.community_name_ {
  font-size: 2em;
  background: linear-gradient(20deg, rgba(158, 9, 54, 1) 0%, rgba(173, 255, 47, 1) 100%);
  padding: 0 8px;
  border-radius: 2px;
  font-weight: bold;
}

.community_name>a {
  line-height: 1;
  font-size: 2.5em;
  background: linear-gradient(20deg, rgba(158, 9, 54, 1) 0%, rgba(209, 31, 31, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.community_title {
  font-size: 1em;
}

.community_logo {
  width: 100%;
}

.news_box:hover {
  transform: scale(1.02);
}

.stopScale:hover {
  transform: none;
}

.community_title>div {
  margin: 0 0 0 12px;
}

.login {
  visibility: visible;
}

/***********************/
/*        NEWS         */
/***********************/

.news_filter {
  border-radius: 10px;
  margin: 0 0 14px 0;
  border-bottom: 1px solid #333;
}

.news_filter_title {
  flex-grow: 1;
  padding: 14px;
  background: #181818;
  color: #f2f2f2;
}

.news_filter_title:first-child>span {
  display: block;
}

.news_box {
  flex-grow: 1;
  border-radius: 10px;
  background: #181818;
  border-radius: 10px;
  transition: transform .2s;
  overflow: hidden;
}

.news_box > .news_box_image,
.news_box > a > .news_box_image {
  height: 160px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.news_box>.news_box_date {
  padding: 8px;
  background: #222;
  color: #f2f2f2;
  font-size: 0.7em;
}

.news_box>.news_box_date>.news_box_source {
  padding: 1px 4px;
  border-radius: 2px;
  background: #f9f9f9;
  color: #222;
  margin: 0 8px 0 0;
}

.news_box>.news_box_title {
  min-height: 58px;
  padding: 0 0 14px 0;
  margin: 14px;
  color: #f2f2f2;
  font-size: 0.9em;
  border-bottom: 1px solid #222;
}

.news_box>.news_box_content {
  margin: 14px;
  color: #f2f2f2;
  font-size: 0.9em;
  line-height: 1.5;
}

.news_box>.news_box_more {
  display: flex;
  padding: 0 14px 14px 14px;
  text-align: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: baseline;
}

.box_button {
  display: inline-block;
  border: 0;
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9em;
  color: #f2f2f2;
  text-transform: uppercase;
  background: linear-gradient(20deg, rgba(158, 9, 54, 1) 0%, rgba(209, 31, 31, 1) 100%);
}

.btn_save {
  border: 0;
  margin: 0 1em 0 0 !important;
  background: linear-gradient(20deg, rgb(158, 9, 98) 0%, rgb(209, 31, 102) 100%) !important;
}

.youtube_videos {
  flex: 1 1 calc(33.33% - 14px);
}

.youtube_container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.youtube_video {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  top: 0;
  left: 0;
}

.flickity-button {
  width: 50px;
  height: 50px;
  padding: 14px;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  border: 0;
  border-radius: 50%;
  top: calc(50% - 42px);
  margin: 14px;
  transition: transform .3s;
}

.flickity-button:last-child {
  right: 0;
}

.flickity-button:disabled {
  visibility: hidden;
}

.game_rating_na {
  background: #222;
  color: #ccc;
}

.game_rating_80 {
  background: #F1C40F;
  color: #000;
}

.game_rating_90 {
  background: DarkCyan;
  color: #f2f2f2;
}

.game_rating_95 {
  background: DarkGreen;
  color: #f2f2f2;
}

.game_box {
  padding: 50px 50px 14px 50px;
  border-radius: 10px;
  background-size: 100% auto;
  margin: 0 0 14px 0;
}

.game_box .game_box_name {
  line-height: 1;
  color: #f2f2f2;
  font-size: 1.8em;
}

.game_box_title {
  width: 100%;
  background: #111;
  border-radius: 10px;
  padding: 14px;
}

.game_box .game_box_title>div:nth-child(1) {
  line-height: 1;
  color: #f2f2f2;
  font-size: 0.9em;
  padding: 0 0 14px 0;
  margin: 0 0 14px 0;
  border-bottom: 1px solid #333;
}

/***********************/
/*        Scroll       */
/***********************/

#pageToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  background: #A70E31;
  cursor: pointer;
  border-radius: 100%;
  transition: transform .2s;
}

#pageToTop i {
  width: 40px;
  line-height: 40px;
  margin: 0;
  padding: 0;
  text-align: center;
  background: none;
  font-size: 1.4em;
}

#pageToTop:hover {
  background: #333;
  transition: background-color .2s linear;
}

/**************************************************************************************************************/
/**************************************************************************************************************/
/***                                                                                                        ***/
/***                                                   MOBILE                                               ***/
/***                                                                                                        ***/
/**************************************************************************************************************/
/**************************************************************************************************************/

/** Viewport: Mobile **/
@media (max-width: 560px) {

  /***********************/
  /*        SITE         */
  /***********************/

  body {
    background-image: none;

  }

  .navigation_mobile>a {
    display: inline-block;
    width: calc(20% - 14px);
    vertical-align: bottom;
    padding: 0 0 14px 0;
  }

  .navigation_mobile>a:nth-child(3) {
    margin: 0 14px;
  }

  .navigation_mobile>a>i {
    background: none;
    font-size: 1.4rem;
    color: #f6f6f6;
    line-height: 0;
    margin: 0;
  }

  .navigation_mobile>a:nth-child(3)>i {
    background: none;
    padding: 0;
  }

  .navigation_mobile>a>i>img {
    margin-top: -30%;
    font-size: 1.8rem;
    background: linear-gradient(20deg, rgba(158, 9, 54, 1) 0%, rgba(209, 31, 31, 1) 100%);
    color: #f2f2f2;
    box-shadow: 0 0 8px 1px rgba(158, 9, 54, 0.9);
    border-radius: 50%;
    padding: 6px;
  }

  .navigation_mobile {
    width: 100%;
    min-width: 360px;
    text-align: center;
    display: inline-block;
    position: fixed;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 1) 100%);
    backdrop-filter: blur(3px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 999;
  }

  .main {
    padding: 0 0 74px 0;
  }

  .community_name {
    width: 100%;
  }

  .community_title {
    width: 100%;
  }

  .community_title>div:first-child {
    margin: 0;
  }

  .community_title>div:last-child {
    margin: 0 0 0 12px;
    text-align: right;
  }

  .navigation>a {
    width: calc(50% - 4px);
    margin: 8px 8px 0 0;
    text-align: center;
    background: #222;
    border-radius: 2px;
    padding: 8px;
  }

  .navigation>a:nth-child(2n) {
    margin: 8px 0 0 0;
  }

  /***********************/
  /*        NEWS         */
  /***********************/

  .news_filter_title {
    width: 100%;
    border-radius: 10px;
  }

  .news_filter_title:first-child>span {
    display: inline-block;
    width: 50%;
  }

  .news_filter_title:first-child>span:last-child {
    text-align: right;
  }

  .news_box {
    flex: 0 1 100%
  }

  .news_box:hover {
    transform: none;
  }
}

/**************************************************************************************************************/
/**************************************************************************************************************/
/***                                                                                                        ***/
/***                                                   TABLET                                               ***/
/***                                                                                                        ***/
/**************************************************************************************************************/
/**************************************************************************************************************/

/** Viewport: Tablet **/
@media (min-width: 560px) and (max-width: 920px) {

  /***********************/
  /*        SITE         */
  /***********************/

  body {
    background-image: none;
  }

  .community_title {
    flex-grow: 1;
  }

  .community_title>div {
    width: 100%;
  }

  .community_title>div {
    font-size: 1em;
    text-align: right;
  }

  .navigation>a {
    width: calc(33.33% - 6px);
    margin: 8px 8px 0 0;
    text-align: center;
    background: #222;
    border-radius: 6px;
    padding: 8px;
  }

  .navigation>a:nth-child(3n) {
    margin: 8px 0 0 0;
  }

  /***********************/
  /*        NEWS         */
  /***********************/

  .news_filter_title {
    width: 50%;
  }

  .news_filter_title:nth-child(1) {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .news_filter_title:nth-child(2) {
    border-bottom-left-radius: 10px;
  }

  .news_filter_title:nth-child(3) {
    border-bottom-right-radius: 10px;
  }

  .news_filter_title:first-child>span {
    display: inline-block;
    width: 50%;
  }

  .news_filter_title:first-child>span:last-child {
    text-align: right;
  }

  .news_filter_title:first-child {
    width: 100%;
    padding: 14px 14px 0 14px;
  }

  .news_box {
    flex: 0 1 calc((100% / 2) - (14px - (14px / 2)))
  }
}

/**************************************************************************************************************/
/**************************************************************************************************************/
/***                                                                                                        ***/
/***                                                   BROWSER                                              ***/
/***                                                                                                        ***/
/**************************************************************************************************************/
/**************************************************************************************************************/

/** Viewport: Browser **/
@media (min-width: 920px) {

  /***********************/
  /*        NEWS         */
  /***********************/

  .news_filter_title {
    width: 33%;
  }

  .news_filter_title:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .news_filter_title:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .news_filter_title:first-child>span:last-child {
    font-size: 0.75em;
  }

  .news_box {
    flex: 0 1 calc((100% / 3) - (14px - (14px / 3)))
  }
}

/* videofix */
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 0px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 0.4em;
  height: 0.4em;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: #A70E31;
  outline: 1px solid #A70E31;
}

/* Main Layout */
body,
html {
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #5d5d5d;
  margin: 0px;
  padding: 0px;
  outline: none;
}

hr {
  color: #666666;
  background-color: #666666;
  border: 0px;
  border-top: transparent;
  border-bottom: transparent;
  margin: 0 0 14px 0;
  height: 1px;
}

p {
  margin: 0px;
}

/* Links */
a:link,
a:visited,
a:active {
  color: #ccc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #ccc;
}

/* Font types */
h1 {
  padding: 0 0 14px 0;
  border-bottom: 1px solid #333;
  margin: 0 0 14px 0;
}

h2 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #000000;
  text-transform: uppercase;
  font-weight: bold;
}

h3 {
  margin-top: 14px;
  color: #5d5d5d;
  text-decoration: underline;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
}

small {
  color: #383838;
  font: normal 10px Verdana, Arial, Helvetica, sans-serif;
}

/* Infomessages - Miscellaneous */
.tooltip {
  position: absolute;
  display: none;
  background-color: #eee;
  color: #333;
  border: 1px solid #ccc;
  border-left: 3px solid #ff4d4d;
  padding: 12px;
  border-radius: 1px;
  text-transform: none;
  z-index: 100;
}

.errorbox {
  background-color: #FFCCCC;
  border: 1px solid #ff7676;
  color: #333;
  font-size: 12px;
  margin-bottom: 8px;
  text-align: left;
}

.noerrorbox {
  background-color: #ccffd9;
  border: 1px solid #76ff93;
  color: #333;
  font-size: 12px;
  margin-bottom: 8px;
  text-align: left;
}

/* BBCode Tags */
.quote {
  padding: 14px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #ccc;
  color: #222;
  font-size: 0.8em;
  border: 0px;
  border-radius: 1px;
}

.pcinfo {
  padding: 14px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #ccc;
  color: #222;
  border: 0px;
  border-radius: 1px;
  font-size: 0.8em;
  background-image: url(../images/bbcode/pcinfo_bg.png);
  background-position: 95% 10%;
  background-repeat: no-repeat;
}

.list {
  list-style-type: disc;
  list-style-position: outside;
}

.list_num {
  list-style-type: decimal;
  list-style-position: outside;
}

.list_alpha {
  list-style-type: lower-latin;
  list-style-position: outside;
}

.code {
  color: #000000;
  text-align: left;
  margin: 0 auto;
  padding: 3px;
  font: normal 10px Verdana, Arial, Helvetica, sans-serif;
}

.codeinner {
  color: #000000;
  font: 11px 'Courier New', Courier, monospace;
}

.codeline0 {
  background-color: #F3F3F3;
  height: 15px;
  padding-left: 3px;
  white-space: nowrap;
}

.codeline1 {
  background-color: #FFFFFF;
  height: 15px;
  padding-left: 3px;
  white-space: nowrap;
}

.border-bottom {
  border-bottom: 1px dashed #333;
}