@font-face {
  font-family: 'atari8';
  src: url('eightbit_atari-regular-webfont.woff2') format('woff2'), url('eightbit_atari-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: rgb(230, 230, 230);
  color: #000;
  overflow-y: scroll;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  background-image: url(../img/ataribar.png);
  background-repeat: no-repeat;
  background-position: 200px 13px;
}

a {
  color: #1f8dd6;
  text-decoration: none;
}

main {
  margin: 0;
  line-height: 1.7em;
}

main ul {
  list-style: square;
}

main h1, main h3, main h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: normal;
  color: #000;
  text-shadow: #aaa 0 2px 2px;
  line-height: 1.2em;
}

main h2 {
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  color: #145d8d;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  word-spacing: 0.4em;
  text-shadow: #aaa 0 2px 2px;
  font-size: 1.4em;
  margin: 0;
}

main h1 {
  font-size: 2.2em;
  margin-bottom: 1.2em;
}

main h4 {
  font-size: 1.4em;
  margin: 1em 0 0 0;
}

main h3 {
  margin: 0;
  line-height: 1.6em;
  letter-spacing: 0.04em;
  font-weight: normal;
  font-size: 1em;
  color: #d90;
  text-shadow: #aaa 0px 1px 0px;
}

main table {
  margin: 0.5em 0 1em 0;
}

main td, main th {
  padding: 5px;
  vertical-align: top;
  line-height: 1.3em;
}

main th {
  border: 1px solid #ccc;
  background-color: #145d8d;
  color: #fff;
  font-weight: normal;
}

main td {
  border: 1px solid #ccc;
}

main td:first-child {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3em;
  font-weight: bold;
}

main td:last-child img {
  width: 24px;
  height: auto;
}

main td:nth-child(2), main td:nth-child(3) {
  font-size: 0.9em;
  line-height: 1.3em;
}

main td:nth-child(5), main td:nth-child(3) {
  text-align: center !important;
}

main td:nth-child(4) {
  text-align: right !important;
}

main code {
  display: block;
  padding: 5px 10px;
  border: 1px solid #ccc;
  background-color: rgb(255, 249, 198);
}

main img {
  max-width: 100%;
}

.pure-img-responsive {
  max-width: 100%;
  height: auto;
}

/*
Add transition to containers so they can push in and out.
*/

#layout, #menu, .menu-link {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/

#layout {
  position: relative;
  padding-left: 0;
}

#layout.active #menu {
  left: 200px;
  width: 200px;
}

#layout.active .menu-link {
  left: 200px;
}

.header {
  margin: 0;
  color: #333;
  padding: 2.5em 0 !important;
  border-bottom: 1px solid #eee;
  font-family: 'Oswald', sans-serif;
}

.header h1 {
  margin: 0.2em 0;
  font-size: 3em;
  font-weight: 300;
}

.header h2 {
  font-weight: 300;
  color: #ccc;
  padding: 0;
  margin-top: 0;
}

.content-subhead {
  margin: 50px 0 20px 0;
  font-weight: 300;
  color: #888;
}

/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
  margin-left: -200px;
  /* "#menu" width */
  width: 200px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  /* so the menu or its navicon stays above all content */
  background: #333;
  overflow-y: auto;
  text-align: left;
  -webkit-overflow-scrolling: touch;
  box-shadow: #666 2px 0px 2px;
}

/*
All anchors inside the menu should be styled like this.
*/

#menu a {
  color: #999;
  border: none;
  padding: 1em 1em;
  text-shadow: 1px 1px #222;
  font-family: 'Lato', monospace;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.2em;
}

#menu a:hover {
  text-decoration: none;
}

/*
Remove all background/borders, since we are applying them to #menu.
*/

#menu .pure-menu, #menu .pure-menu ul {
  border: none;
  background: transparent;
}

/*
Add that light border to separate items into groups.
*/

#menu .pure-menu ul, #menu .pure-menu .menu-item-divided {
  border-top: 1px solid #333;
}

/*
Change color of the anchor links on hover/focus.
*/

#menu .pure-menu li a:hover, #menu .pure-menu li a:focus {
  background: transparent;
  color: #d90;
}

/*
This styles the selected menu item `<li>`.
*/

#menu .pure-menu-selected, #menu .pure-menu-heading {
  background: #1f8dd6;
}

/*
This styles a link within a selected menu item `<li>`.
*/

#menu .pure-menu-selected a {
  color: #fff;
}

/*
This styles the menu heading.
*/

#menu .pure-menu-heading {
  font-size: 110%;
  color: #fff;
  margin: 0;
}

#menuLink {
  background: #333;
}

#overlay {
  background: rgba( 0, 0, 0, 0.8);
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  text-align: center;
  z-index: 999999;
}

#overlay img {
  max-width: 100%;
  max-height: 100%;
}

main .content {
  border: 1px solid #ccc;
  padding: 1em 2em 2em 2em;
  margin: 40px 0;
  overflow: auto;
  color: #777;
  background-color: #f8f8f8;
  max-width: 900px;
}

.news-content img{
  margin-top: 15px;
  margin-left: 40px;
  margin-bottom: 15px;
  padding: 0;
}

/*.blog .content > div {
  border-bottom: 1px dotted #aaa;
  padding-bottom: 15px;
}*/

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/

.menu-link {
  position: fixed;
  display: block;
  /* show this only on small screens */
  top: 0;
  left: 0;
  /* "#menu width" */
  background: #000;
  background: rgba(0, 0, 0, 0.7);
  font-size: 10px;
  /* change this value to increase/decrease button size */
  z-index: 10;
  width: 2em;
  height: auto;
  padding: 2.1em 1.6em;
}

.menu-link:hover, .menu-link:focus {
  background: #000;
}

.menu-link span {
  position: relative;
  display: block;
}

.menu-link span, .menu-link span:before, .menu-link span:after {
  background-color: #fff;
  width: 100%;
  height: 0.2em;
}

.menu-link span:before, .menu-link span:after {
  position: absolute;
  margin-top: -0.6em;
  content: " ";
}

.menu-link span:after {
  margin-top: 0.6em;
}

/*
 * Blog template
 */

.content-subhead {
  text-transform: uppercase;
  color: #aaa;
  border-bottom: 1px dotted #aaa;
  margin-bottom: 4em;
  padding: 0.4em 0;
  font-size: 80%;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.post {
  background: #f4f4f4;
  border: 1px solid #999;
  padding: 0 1.5em;
  position: relative;
  margin: 0 0 2em 76px;
  box-shadow: rgb(153, 153, 153) 2px 2px 2px;
  overflow: auto;
  color: #777;
}
.posts {
  max-width: 900px;
}

.post-avatar {
  border-radius: 50px;
  float: right;
  margin-left: 1em;
}

.post-category {
  margin: 0 0.1em;
  padding: 0.3em 1em;
  color: #fff;
  background: #999;
  font-size: 80%;
}

.post-date {
  background: #f4f4f4;
  border: 1px solid #999;
  height: 76px;
  position: absolute;
  width: 76px;
}

.post-date .month {
  background: #1f8dd6;
  border-bottom: 1px solid #999;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.post-date .day {
  color: #444;
  font-size: 22px;
  font-weight: bold;
  padding-top: 4px;
  text-align: center;
}

.post-date .year {
  bottom: 0;
  font-size: 12px;
  line-height: 22px;
  position: absolute;
  text-align: center;
  width: 100%;
  font-family: 'Oswald', sans-serif;
}

.post-description {
  color: #666;
  line-height: 1.8em;
  margin-bottom: 20px;
}

.post-description>p {
  z-index: 2;
}

.post-description img {
  width: 160px;
  height: auto;
  float: right;
  margin: 10px 0 20px 20px;
  box-shadow: #444 2px 2px 5px;
}

.post-image {
  width: 160px;
  height: auto;
  float: right;
  margin: 20px 0 20px 20px;
  z-index: 1;
  overflow: auto;
  box-shadow: #444 2px 2px 5px;
}

.post-meta {
  float: right;
  margin: 14px 0 0 0;
  padding: 0;
}

.post-more {
  display: block;
  margin: 0;
  text-decoration: underline;
  font-size: 80%;
}

.post-tag {
  color: #fff;
  background: #bcd;
  padding: 2px 6px;
  line-height: 4px;
  font-size: 8px;
  font-family: 'atari8', monospace;
}

.post-title {
  font-size: 2em;
  font-weight: normal;
  margin-bottom: 0.5em;
}

.post-title a {
  color: #222;
}

/*
 * Blog-item template
 */

.blog-item .meta-image {
  text-align: center;
}

.blog-item .meta-image img {
  margin: 0 auto;
  vertical-align: top;
  width: 50%;
}

.blog-item .meta-time {
  color: #aaa;
  float: right;
  font-size: 12px;
  margin: 0 -15px 0 0;
}

.game-image {
  float: right;
  clear: right;
  margin-top: 15px;
  margin-left: 40px;
  padding: 0;
  box-shadow: #444 2px 2px 5px;
}

img[title=right_thumb] {
  float: right;
  clear: right;
  max-width: 400px;
  height: auto;
  margin-top: 15px;
  margin-left: 40px;
  margin-bottom: 15px;
  padding: 0;
  box-shadow: #444 2px 2px 5px;
}

.tool-image, .news-image{
  float: right;
  clear: right;
  max-width: 300px;
  height: auto;
  margin-top: 15px;
  margin-left: 40px;
  margin-bottom: 15px;
  padding: 0;
}



/*
 * Gallery template
 */

.gallery {
  margin: 0;
}

.gallery .grid {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
  column-gap: 20px;
}

.gallery .grid-item {
  display: inline-block;
  margin-bottom: 18px;
  text-align: center;
  width: 100%;
}

.gallery .grid-item img {
  cursor: pointer;
  vertical-align: top;
  width: 100%;
}

/*
 * More styles
 */

#menu .pure-menu-heading {
  background: transparent;
}

#logo {
  background: #000 !important;
  display: block;
  text-align: center;
}

#logo img {
  width: 60%;
}

#footer {
  bottom: 0;
  font-size: 0.6em;
  margin: 50px 10px 10px 10px;
  text-align: right;
}

#footer a {
  color: #008;
  text-decoration: none;
}

/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/

@media (min-width: 48em) {
  #layout {
    padding-left: 200px;
    /* left col width "#menu" */
    left: 0;
  }
  #menu {
    left: 200px;
  }
  .menu-link {
    position: fixed;
    left: 200px;
    display: none;
  }
  #layout.active .menu-link {
    left: 200px;
  }
}

@media (max-width: 48em) {
  #layout.active {
    position: relative;
    left: 200px;
  }
  body {
    background-position: 0 13px !important;
  }
  main>h1 {
    text-indent: 50px;
  }
}
@media( min-width: 480px) {
  main {
    margin: 0 25px !important;
  }
}

@media( min-width: 768px) {
  main {
    margin: 0 25px;
  }

}

@media( min-width: 992px) {
  main {
    margin: 0 50px;
  }
  .gallery .grid {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }

}

@media( min-width: 1200px) {}

@media( min-width: 1600px) {
  .gallery .grid {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
  }
}

.gallery main {
  margin: 0 15px;
}

#commento {
    clear:both;
    padding-top:2em
}

.donate {
margin:1em 0 0 0.8em;
}

.bmc-btn {
  min-width: 100px!important;
  padding: 3px 10px!important;
  height: auto!important;
  font-size: 13px!important;
  border-radius: 4px!important;
  color:black!important;
  letter-spacing:0!important;
margin:0.5em 0 0 0.9em;
	
}

.prevnext {
display:block;
font-size:20px;
font-weight:bold;
text-align:center;
}