/*
* header.php
*/

  .sitename img {
    vertical-align: top;
  }
  
  .sitename {
      text-decoration: none;
      font-weight: bold;
      float: left;
      height: 40px;
  }

  .sitename > span {
    height: 100%;
    display: inline-block;
  }
  
  .sitemap {
      float: right;
      height: 40px;
      margin: 0;
      line-height: 100%;
      position: relative;
      font-weight: bold;
  }
  
  .sitemap ul {
      margin:0;
      padding:0;
      list-style-type:none;
      top:0;
      right: 10px;
      height: 100%;
  }
  
  .sitemap ul li {
		display: inline-block;
		height: 100%;
  }
  
 .sitemap ul li a {
      color:#ffffff;
      text-decoration:none;
      padding: 0px 6px;
      height: 100%;
      display: block;
  }
   
  .sitemap a:hover{
      color: white;
      background-color: #0099CC;
  }
  
  .sitemap a:link, a:visited{
      color: white;
  }
  
  .header {
      font-size: 200%;
      font-weight: bold;
      color: white;
      height: 40px;
      width: 100%;
      margin: 0px;
      background-color: #00CCCC;
      z-index: 10;
      position: relative;
  }
  
  
  /*
  * index.php
  */
  
  
  
  #welcome-page{
      padding:20px;
      text-align: center;
  }
  
  
  #contact {
      position: fixed;
      bottom: 0;
      width: 100%;
      text-align:center;
  }
  
  #content {
      position: absolute;
      width: 600px;
      left: 50%;
      margin-left: -280px; 
      margin-bottom: 20px;
  }
  
  
  /*
  * libary.php
  */
  
  
  #psm-gamelist {
      position: inherit;
      text-align:center;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
  }
  
  #search-form{
      position:relative;
	  left: 50%;
	  transform: translate(-50%,0%);
	  
      text-align: center;
      width:88%;
      height:70px;
      background-color: #4289f4;
      padding: 15px;
      border-radius: 5px;	
      margin-top: 10px;
      
      color: white;
      font-weight: bold;
  }
  
  #search-form [type=text], select{
      width: 80%;
      padding: 10px;
      display: inline-block;
      border: 1px solid #2b58a0;
      border-radius: 10px;
      margin-right: 10px;
      box-sizing: border-box;
  }
  
  #search-form [type=submit]{
      padding: 10px;
      display: inline-block;
      background-color: #46dbfc;
      border: 1px solid #2b58a0;
      border-radius: 10px;
      box-sizing: border-box;
  }
  
  #search-form [type=submit]:hover{
      background-color: #2b8ba0;
	  cursor: pointer;
  }
  
  .version-select{
      height: 50px;
      margin: 1%;
      width:90px;
  
  }
  
  .psm-game > img{
      float: left;
      margin-right:0.5rem;
  }
  
  .psm-game a:link, a:visited{
      color: white;
      font-weight: bold;
      text-decoration: none;
  }
  
  .psm-game a:hover{
      color: white;
      font-weight: bold;
      text-decoration: underline;
  }
  
  
  .psm-game{
    display: flex;

      padding: 5px;
      width: 20%;
      min-width: 400px;
      height: 150px;
      margin: 10px;
      background-color: #0094ff;
      color: white;
      border-radius: 5px;
      text-align: left;
      
      overflow: hidden;
      white-space: nowrap;
      vertical-align: middle;
      text-decoration: none;
  }
  
  .psm-game:hover{
      background-color: #005796;
      cursor:pointer;
  }

  .psm-game-info {
    display: flex;
    flex-direction: column;
  }
  
  .psm-meta {
    backdrop-filter: blur(10px);
  }

  .psm-meta > #psm-title{
      font-size: 200%;
      text-align: center;
      color:white;
      font-weight: bold;
      align-self: center;
  }
  
  .psm-meta > #psm-top-part > #psm-icon > img{
      float: left;
      border-radius: 10px;
  }
  
  
  .psm-meta > #psm-infos{
      position: relative;
      color: white;
      left: 6%;
  }
  
  .psm-meta > #psm-downloads{
      color: white;
      display: flex;
      justify-content: center;
      flex-direction: row;
      flex-wrap: wrap;
      width: 100%;
  }
  
  .psm-meta > #psm-description{
      margin: 2%;
      font-weight: bold;
	  width: 96%;
  }
  
  .psm-meta > #psm-screenshots{
      width: 100%;
      height:450px;
      margin-top: 1%;
      overflow-y: hidden;
      overflow-x: scroll;
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
  }
  .psm-meta > #psm-top-part{
      display:flex;
  }
  .psm-meta{
      position: relative;
      background-color: rgba(38, 118, 142,0.5);
      width: 85%;
      top: 10px;
      overflow-x: hidden;
      overflow-y: auto;
      border-radius: 5px;
      padding: 1%;
      margin: auto;
      margin-top: 5%;
      margin-bottom: 5%;
      display: flex;
      flex-direction: column;
      align-content: space-around;
      align-items: flex-start;
      max-width: 100%;
  }
  
  .psm-screenshot{
      height:100%;
      border-radius: 10px;
  }
  .psm-screenshot:not(:last-child){
      margin-right:1%;	
  }
  
  .bg-content{
      width:100%; 
      height:100%; 
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      left:0px;
      top:0px;
      position: fixed;
  }
  
  /*
  *	devtools.php
  */
  
  .devtoollist{
      position: inherit;
      margin-left: 15%; 
      margin-right: 15%;
      text-align:center;
  }
  
  .devtool{
  
      padding:10px;
      margin: 10px;
      width: 325px;
      border-radius: 1000px;
      background-color: #00ffa9;
      white-space: nowrap;
      overflow: hidden;
      display: inline-block;
      vertical-align: middle;
  }
  .devtool:link, .devtool:visited, .devtool a{
      text-decoration: none !important;
      color: black;
      /*font-size: 150%;*/
      font-size: 25px;
      font-weight: bold;
      height:128px;
      line-height: 120px;
  }
  
  .devtool:hover{
      background-color: #005796;
      cursor: pointer;
  }
  
  .devtool #textContent{
  
      text-align: center;
  }
  
  .bubble{
      float: left;
      border-radius: 100%;		
  }
  
  /*
  * Common
  */
  
  html,body,head {
	  font-family: "Comic Sans MS", "Comic Sans", cursive;
      position: absolute;
      width: 100%;
      margin: 0;
      padding: 0;
      background-color: black;
      background-image: url("/img/psm_bg.gif");
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-size: cover;
      color:white;
  }
  
  a.image{
      text-decoration: none;
  }
  
  .mid{
      vertical-align: middle;
  }
  
  .left{
      float: left;	
  }
  
  .black:link, .black:visited, .black{
      color: black;
      font-weight: bold;
      text-decoration: none;
  }
  .black:hover{
      color: black;
      font-weight: bold;
      text-decoration: underline;
  }
  
  .white:link, .white:visited, .white{
      color: white;
      font-weight: bold;
      text-decoration: none;
      cursor: pointer;
  }
  
  .white:hover{
      color: white;
      font-weight: bold;
      text-decoration: underline;
      cursor: pointer;
  }
  
  .nostyle:link, .nostyle:visited, .nostyle:hover, .nostyle, .nostyle a{
      color: white;
      font-weight: bold;
      text-decoration: none !important;
      cursor: pointer;
  }
  
  .button-enabled{
      width: 300px;
      height: 50px;
      
      margin-top: 1%;
      margin-right: 1%;
      background-color: #00d0ff;
      text-align: center;
      font-weight: bold;
      line-height: 50px;
      color: white;
      border-radius: 20px;
  }
  
  .button-enabled:hover{
      background-color: #005796;
      cursor: arrow;
  }
  
  .button-disabled{
      
      width: 300px;
      height: 50px;
      
      margin-top: 1%;
      margin-right: 1%;
      background-color: #8f9db7;
      text-align: center;
      line-height: 50px;
      
      font-weight: bold;
      color: #cfd2d3;
      cursor: arrow;
      border-radius: 20px;
  }