/* ----------------------------------
 * Fonts
 * ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


/* ----------------------------------
 * Body
 * ---------------------------------- */
html * {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #dbeeff url('/img/body_background.png');
}

.container {
  margin: 0 auto;
  max-width: 970px;
}

input[type=submit], button {
  background: #2e73b8;
  color: #fff;
  border: solid 1px #1958b7;
  box-shadow: none;
  border-radius: 4px;
  padding: 4px 10px;
}

input[type=submit]:hover, button:hover {
  background: #3383d4;
  border: solid 1px #2b61cd;
  cursor: pointer;
}


/* ----------------------------------
 * Forms
 * ---------------------------------- */
button, input, textarea {
  margin: 5px 0 0 0;
  padding: 2px 3px;
}

input[type=text], input[type=email], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  border: 1px solid #ccc;
}

input[type=text]:focus, input[type=email]:focus, textarea:focus {
  box-shadow: 0 0 5px rgba(61, 128, 208, 1);
  border: 1px solid rgba(61, 128, 208, 1);
}

input[type=submit], button {
  background: #2e73b8;
  color: #fff;
  border: solid 1px #1958b7;
  box-shadow: none;
  border-radius: 4px;
  padding: 4px 10px;
}

input[type=submit]:hover, button:hover {
  background: #3383d4;
  border: solid 1px #2b61cd;
  cursor: pointer;
}


/* ----------------------------------
 * Header
 * ---------------------------------- */
header {
  border: solid #1958b7;
  border-width: 2px 10px;
  margin: 5px 0;
}

header {
  background: #2175bc url('/img/header_background.jpg');
  border-radius: 7px 7px 0 0;
  display: flex;
  height: 104px;
}

header > div {
  flex-direction: column;
  height: 100%;
}

header > div > span {
  background: url('/img/header_background_stripe.png') repeat-x left bottom;
  border: solid #fff;
  border-width: 0 1px;
  display: block;
  height: 100%;
  width: 100%;
}

.header-logo {
  border: solid #1958b7;
  border-width: 0 2px 0 0;
  width: 207px;
}

.header-logo img {
  height: 100px;
  width: 166px;
}


.header-slogan {
  width: 100%;
}

.header-slogan span {
  color: #fff;
  font: 400 200% Roboto, sans-serif;
  letter-spacing: -0.05em;
  padding: 37px 10px 0 0;
  text-align: right;
  text-shadow: 0 0 5px #222, 0 0 10px #222;
}


/* ----------------------------------
 * Main
 * ---------------------------------- */
main {
  display: flex;
}

main > div {
  display: flex;
  flex-direction: column;
}

main > div div:last-child {
  flex: 1 0 auto;
  margin: 0 0 0 0;
}

.left-column, .right-column {
  flex: 0 0 180px;
}

.center-column {
  flex: 1;
  margin: 0 5px;
}

.content-block {
  display: flex;
  border: solid #1958b7;
  border-radius: 7px 0 0 0;
  border-width: 0 2px 4px 0;
  flex-direction: column;
  margin: 0 0 5px 0;
}

.block-header {
  display: block;
  background: #1958b7;
  border: solid 2px #1958b7;
  border-radius: 7px 0 0 0;
  border-width: 2px 0 0 2px;
  padding: 0 0 0 8px;
}

.block-header > span {
  background: #2175bc;
  color: #fff;
  display: block;
  font: 700 100% Roboto, sans-serif;
  padding: 5px 0 5px 5px;
}

.block-contents {
  background: #adcfed;
  border: solid #1958b7;
  border-width: 0 0 0 2px;
  display: flex;
  padding: 0 0 0 8px;
}

.block-contents > span {
  background: #dbedfe;
  display: flex;
  flex-direction: column;
  flex: 1 0;
  padding: 5px;
}

.center-column .block-contents > span {
  background: #fff;
  padding: 13px 13px 10px 5px;
}

.center-column img {
  content-visibility: auto;
}

/* ----------------------------------
 * Main menu
 * ---------------------------------- */
.main-menu .block-contents {
  padding: 0 0 0 0;
}

.main-menu .block-contents > span {
  background: #91b8dc;
  padding: 0 0 0 0;
}

.mm-categories {
  list-style: none;
  margin: 1px 0 0 0;
  padding: 0 0 0 0;
}

.mm-categories > li > a {
  background: #2e73b8;
  border-left: solid 8px #2756b3;
  border-right: solid 8px #548dc1;
  color: #fff;
  display: block;
  font: 700 100% Roboto, sans-serif;
  margin: 0 0 1px 0;
  padding: 4px;
  text-decoration: none;
  text-transform: uppercase;
}

.mm-categories > li > a:hover, .mm-subcategories > li > a:hover {
  background: #3383d4;
  border-left: solid 8px #2b61cd;
  border-right: solid 8px #5fa1dd;
}

.mm-categories > .selected-item > a {
  background: #2756b3;
  border-left: solid 8px #1c47a3;
  border-right: solid 8px #467db1;
}

.mm-subcategories {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.mm-subcategories > li > a {
  background: #1c47a3;
  border-right: solid 8px #467db1;
  color: #fff;
  display: block;
  font: 700 80% Roboto, sans-serif;
  margin: 0 0 1px 0;
  padding: 4px 0px 4px 35px;
  text-decoration: none;
}

.mm-subcategories svg {
  margin: 0 3px 0 -10px;
}

.mm-subcategories > li > a:hover {
  border-left: none;
}



/* ----------------------------------
 * Newsletter
 * ---------------------------------- */
.newsletter .block-contents {
  font: 400 80% Roboto, sans-serif;
}

.newsletter form {
  text-align: center;
  margin: 0 0 3px 0;
}

.newsletter-address {
  width: 100%;
}

/* ----------------------------------
 * Site search
 * ---------------------------------- */
.site-search .block-contents {
  font: 400 80% Roboto, sans-serif;
}

.site-search form {
  text-align: center;
  margin: 0 0 3px 0;
}

.search-string {
  width: 100%;
}


/* ----------------------------------
 * News list
 * ---------------------------------- */
.news-list p {
  border-bottom: dotted 1px #588bbe;
  font: 400 80% Roboto, sans-serif;
  margin: 0 0 6px 0;
  padding: 0 0 6px 0;
}

.news-list p:last-child {
  border-bottom: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.news-list time {
  color: #3771b4;
  display: block;
  font-weight: 700;
}

.news-list a {
  color: #000;
  text-decoration: none;
}



/* ----------------------------------
 * New games
 * ---------------------------------- */
.new-games p, .new-online-games p {
  border-bottom: dotted 1px #588bbe;
  font: 400 80% Roboto, sans-serif;
  margin: 0 0 6px 0;
  padding: 0 0 6px 0;
}

.new-games p:last-child, .new-online-games p:last-child {
  border-bottom: none;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.new-games p span, .new-online-games p span {
  color: #333;
  font-weight: 700;
}

.new-games time, .new-online-games time {
  color: #3771b4;
  display: block;
  font-weight: 700;
}

.new-games a, .new-online-games a {
  color: #000;
  text-decoration: none;
}



/* ----------------------------------
 * Footer
 * ---------------------------------- */
footer {
  background: #add1ef;
  border: solid #1958b7;
  border-radius: 0 0 8px 8px;
  border-width: 2px 10px;
  font: 400 80% Roboto, sans-serif;
  margin: 5px 0;
  padding: 10px 0;
  text-align: center;
}



/* ----------------------------------
 * Advertisements
 * ---------------------------------- */
.right-column_advertisement {
  min-height: 491px;
}

.main-page-advertisement {
  background: #dbedfe;
  border: solid 2px #1958b7;
  margin: 0 0 5px 0;
  padding-top: 4px ;
  text-align: center;
}
