
@font-face {
  font-family: "Amiga4ever";
  src: url("./vendor/font/amiga4ever pro.ttf") format("truetype");
}

body {
  background-color: #1a1b22;/* #2a2a2a;*/
  color: #eee;
  font-family: "Consolas", "Courier New";
  font-size: 14px;
}

h1 {
  font-family: "Amiga4ever",  "Consolas", "Courier New";
  text-shadow: 2px 2px 15px #000;
}
.separator_year {
  font-family: "Amiga4ever",  "Consolas", "Courier New";
}


.container {
  max-width: 1500px;
}

pre {
  color: #eee;
}

pre.text {
  white-space: break-spaces;
}

.bg-dark {
  background-color: rgba(10, 10, 10,0.2) !important;
}

.navbar {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 800px rgba(34, 151, 255, 0.8);
  transition: box-shadow 0.5s;
}
.navbar:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 800px rgba(255, 150, 50, 0.8);
}

h1 {
    font-size: 1.6rem;
}
h2 {
    font-size: 1.25rem;
}
a {
  color: #66D9EF;
  transition: color 0.25s !important;
}

#menu_console > ul > li  > ul a.active {
  color: rgba(213, 111, 11);
  border-color: rgba(213, 111, 11);
}
a:hover, a.selected {
  color: rgb(253, 151, 31);
  border-color: rgb(253, 151, 31);
}

img {
  max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Table */

table {
  background-color: rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: 4px;
  border: solid 7px transparent;
  max-width: 1200px;
}

table th,
table td {
  padding: 5px;
  border: solid 2px #666;
}

table thead tr {
  background-color: rgba(0,0,0,0.4);
}

.limit_size {
  display: block;
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.col_prg > span {
  display: inline-block;
  width: 80px;;
}
.progress_positive > span {
  color: #8ABB4E;
}
.progress_negative > span {
  color: #EF6680;;
}

/* -------------------------------------------------------------------------- */
/* Background */

.background-deco {
  background-image: url('./../data/1_project/2_web/ed3d/ED3D_1.0.1.webp');
  height: 400px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  filter: blur(100px);
  background-size: cover;
  background-position: center;
}

/* -------------------------------------------------------------------------- */
/* Date */

.date_update {
  text-align: right;
  color: #555;
}

/* -------------------------------------------------------------------------- */
/* Breadcrumb */

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 20px;
}

.col_content {
  padding: 15px;
}

.col_menu {
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------- */
/* Error */

.error {
  background-color: #000;
  padding: 20px;
  margin: 0 0 20px;
  color: #e91e63;
  border-radius: 4px;;
}

/* -------------------------------------------------------------------------- */
/* Menu */

#menu_console ul,
#menu_console li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#menu_console > ul {
  padding: 15px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 0 0 7px 7px;
}

#menu_console li > a:before {
  margin-right: 7px;
  display: inline-block;
}

#menu_console > ul > li > a:before {
  content: '+';
}

#menu_console > ul > li > ul > li > a:before {
  content: '| -';
}
#menu_console > ul > li > ul > li.active > a:before {
  content: '| >';
}

#menu_console > ul > li > ul > li > ul > li > a:before {
  content: '| - - ';
  opacity: 0.3;
}
#menu_console > ul > li > ul > li > ul > li > a:hover:before,
#menu_console > ul > li > ul > li > ul > li.active > a:before {
  content: '| > - ';
}

#menu_console > ul > li > ul > li > ul > li > ul > li > a:before {
  content: '---------';
}

/* Hide lvl 2 */

#menu_console > ul > li > ul {
  display: none;
}

#menu_console > ul > li.active > ul {
  display: block;
}

/* Hide lvl 3 */

#menu_console > ul > li > ul > li > ul {
  display: none;
}

#menu_console > ul > li > ul > li.active > ul {
  display: block;
}

/* menu link style */

#menu_console a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
  line-height: 1;
}

/* -------------------------------------------------------------------------- */
/* Page previous / next */

.page_nav {
  margin: -10px 0 20px;
}

.page_nav > z {
  font-size: 0.9rem;
  display: block;
}

.page_nav a.next {
  float: right;
}

/* -------------------------------------------------------------------------- */
/* Rate progress */

.rate_progress, .rate_progress > span {
  display: block;
  height: 7px;
  border-radius: 4px;
}

.rate_progress {
  background-color: rgba(0,0,0,0.4);
  width: 80%;;
  margin: 5px 0;
  overflow: hidden;
  box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}
.initial .rate_progress > span {
  width: 0% !important;
}
.rate_progress > span {
  background-color: #66D9EF;
  opacity: 0.7;
  transition: width 2s;
  box-shadow: 5px 0 3px #222, 5px 0 15px #66D9EF, 5px 0 5px #66D9EF, 5px 0 20px #66D9EF;
}

/* -------------------------------------------------------------------------- */
/* Rate props */

.rate_prop {
  margin: 0 0 10px;
  padding: 0;
  display: block;
  line-height: 1.2;
}

.rate_prop ul, .rate_prop li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.rate_prop li {
  color: #666;
}
.rate_prop li.selected {
  color: #ccc;
}

.rate_prop li.non_selected {
  display: none;
}
form .rate_prop li.non_selected {
  display: block;
}


.rate_prop .title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.rate_prop label {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: initial;
}

/* -------------------------------------------------------------------------- */
/* Props list */

.page_props:before,
.page_props:after {
  display: block;
}
.page_props:before {
  content: "{";
}
.page_props:after {
  content: "}";
}
.page_props > div {
  padding-left: 20px;
}
.page_props .prop_title {
  display: inline-block;
  color: #999;
  font-weight: bold;
}
.page_props .prop_title:after {
  content: ":";
}

.page_links {
  margin: 10px 0 0;
}

.page_links ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.page_links li {
  display: inline-block;
  margin: 0 0 7px 7px;
  padding: 0;
  vertical-align: text-top;
}
.page_links a {
  display: inline-block;
  margin: 0;
  padding: 7px 30px 7px 15px;
  background-color: rgba(0,0,0,0.6);
  box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  text-transform: uppercase;
}
.page_links a:before {
  content: ">>";
  margin-right: 10px;
  display: inline-block;
}

/* -------------------------------------------------------------------------- */
/* Console list */

.console_list {
  padding: 0;
  margin: 20px 0;
  list-style-type: none;
  line-height: 1.5;
}
.console_list > li {
  clear: both;
}
.console_list li h2 {
  margin:  25px 0 0;
  padding: 0;
}
.console_list li:first-child h2 {
  border-top-style: none;
  margin:  0 0 0;
  padding: 0 0 0;
}
.console_list li {
  margin: 0
  padding: 0;
  list-style-type: none;
}
.console_list li a {
  text-decoration: underline;
}
.console_list li p {
  margin: 0;
  padding: 0;
}
.console_list li p:before {
  content: '> _ _ _ _ _ _ _ _ _';
  display: inline-block;
  margin-right: 15px;
  font-size: 0.7rem;
}

.console_list .thumb_list {
  width: 180px;
  height: 80px;
  background-size: cover;
  float: right;
  box-shadow: 2px 2px 7px rgba(0,0,0,0.2);
  margin: 0 0 0 25px;
}


/* -------------------------------------------------------------------------- */
/* Filters */

.filter_list {
  list-style-type: none;
  margin:  0;
  padding: 0;
}
.filter_list > li {
  display: inline-block;
  margin:  2px;
  padding: 0;
}
.filter_list > li a {
  display: inline-block;
  padding: 2px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
.filter_list > li a.selected,
.filter_list > li a:hover {
  background-color: rgba(0,0,0,0.25);
}

.filter_list > li.f_date a {
  font-size: 1.25rem;
  padding: 5px 10px;
}

.separator_year {
  clear: both;
  font-size: 1.1rem;
  line-height: 1;
  color:  #666;
  padding: 25px 0 0;
  margin:  15px 0 15px;
  text-align: center;
}


/* -------------------------------------------------------------------------- */
/* Archive view */

#preview_container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  box-shadow: 0 0 7px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.8), 0 0 150px rgba(70,161,178,0.8);
}

#preview_archive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-style: none;
}

/* -------------------------------------------------------------------------- */
/* Grid box */

.gridbox_header {
  margin: 15px 0 0;
}

.gridbox_list {
  display: grid;
  grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10%;
  grid-gap: 1em 1em;
  grid-auto-flow: row dense;
}

/*xs
<576px 	sm
?576px 	md
?768px 	lg
?992px 	xl
?1200px 	xxl
?1400px*/

.separator_year {
  grid-column: auto / span 1;
}

@media (max-width: 1200px) {
  .gridbox_list {
    grid-template-columns: 17% 17% 17% 17% 17% 17%;
  }
  .separator_year {
    grid-column: auto / span 6;
  }
}

@media (max-width: 992px) {
  .gridbox_list {
    grid-template-columns: 12% 12% 12% 12% 12% 12% 12%;
  }
  .separator_year {
    grid-column: auto / span 7;
  }
}

@media (max-width: 768px) {
  .gridbox_list {
    grid-template-columns: 14% 14% 14% 14% 14% 14%;
  }
  .separator_year {
    grid-column: auto / span 6;
  }
}

@media (max-width: 576px) {
  .gridbox_list {
    grid-template-columns: 30% 30% 30% ;
  }
  .separator_year {
    grid-column: auto / span 3;
  }
}

@media (max-width: 376px) {
  .gridbox_list {
    grid-template-columns: 45% 45% ;
  }
  .separator_year {
    grid-column: auto / span 2;
  }
}



.gridbox_list a {
  display: block;
  /*float: left;
  width: 95px;*/
  position: relative;
  height: 110px;
  background-size: cover;
  background-position: center center;
  /*margin: 10px 10px 10px 12px;*/
  position: relative;
  background-color: rgba(0,0,0,0.5);
  background-repeat: no-repeat;
  box-shadow: 2px 2px 7px rgba(0,0,0,0.4);
  border-radius: 4px;
  opacity:1;
  transition: margin 0.3s, opacity 0.3s !important;
  overflow: hidden;
  z-index: 10;
}

.gridbox_list a.xl {
  /*width: 212px;*/
  height: 235px;
  background-position: top center;

  grid-column: auto / span 2;
  grid-row: auto / span 2;
}


.gridbox_list a:hover {
  opacity: 0.8;
}


.gridbox_list a:before,
.gridbox_list a:after {
  content: ' ';
  position: absolute;
  background: inherit;
  width: 100%;
  height: 100%;
  transition: transform 0.3s;
  box-shadow: 2px 2px 20px rgba(0,0,0,0.9);
}
.gridbox_list a:before {
  transition: transform 0.8s;
}
.gridbox_list a:after {
  transition: transform 0.6s;
}

.gridbox_list a:before {
  transform: scale(1) rotate(0deg) translateY(0px);
  z-index: 1;
}

.gridbox_list a:hover:before {
  transform: scale(0.8) rotate(5deg) translateY(0px);
}

.gridbox_list a:after {
  content: ' ';
  position: absolute;
  background: inherit;
  width: 100%;
  height: 100%;
  transform: scale(1) rotate(0deg) translateY(0px);
  z-index: 2;
  transition: transform 0.3s;
}

.gridbox_list a:hover:after {
  transform: scale(0.6) rotate(10deg) translateY(0px);
}

.gridbox_list > a h2 {
  position: absolute;
  width: 100%;
  font-size: 0.8rem;
  color: #444;
  transform: translateY(-80px);
  top: 0;
  left: 0;
  transition: all 0.4s;
  z-index: 10;
}
.gridbox_list > a:hover h2 {
  color: #eee;
  top: 20px;
  transform: rotate(0deg) translateY(0px);
  background-color: rgba(0,0,0,0.7);
  padding: 3px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  font-weight: bold;
}
.gridbox_list .year {
  position: absolute;
  display: block;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.5);
  color: #ddd;
  padding: 3px 10px;
  border-radius: 4px 0 4px 0;
  font-size: 0.7rem;
}


/* -------------------------------------------------------------------------- */
/* Grid box variant 2 */

.gridbox_list_2 {
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
  grid-gap: 15px 15px;
  grid-auto-flow: row dense;
}

.gridbox_list_2 .item {
  display: block;
  height: 80px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #eee;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 2px 2px 7px rgba(0,0,0,0.4);
}

.gridbox_list_2 .item.xl {
  height: 175px;
  grid-column: auto / span 2;
  grid-row: auto / span 2;
}

.gridbox_list_2 .item.xxl {
  height: 175px;
  grid-column: auto / span 3;
  grid-row: auto / span 2;
}
.gridbox_list_2 .item.noprice {
  opacity: 0.25;
}
/*
.gridbox_list_2 .item.early_access:after {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 142, 181, 0.4);
  border: solid 5px rgba(75, 142, 181, 0.8);
  border-radius: 7px;
}*/
.gridbox_list_2 .item.early_access:before {
  content: 'Early Access';
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  padding: 3px;
  background: rgba(75, 142, 181, 0.8);
  text-align: center;
  transform: rotate(-28deg);
  transform-origin: 86px 78px;
  font-size: 0.75rem;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  z-index: 1;
}

.gridbox_list_2 > a .title {
  display: inline-block;
  padding: 2px 7px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.8);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 5;
}
.gridbox_list_2 > a:hover .title {
  opacity: 1;
}

.gridbox_list_2 > a .price {
  background-color: rgba(0,0,0,0.8);
  position: absolute;
  bottom: 0;
  display: inline-block;
  padding: 5px 15px;
  text-align: center;
  line-height: 1;
  font-family: "Consolas";
}

.gridbox_list_2 > a .price {
  right: 0;
  border-radius: 7px 0 0 0;
}

.gridbox_list_2 > a .discount_percent {
  display: inline-block;
  font-size: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* Background adjustments */

/*
.xl#box-zelda-breath-of-the-wild {
  background-position-y: -158px;
}

.xl#box-elite-dangerous {
  background-position-y: -24px;
}

.xl#box-detroit-become-human {
  background-size: 80%;
  background-color: #141C39;
}

.xl#box-max-payne-3 {
  background-position-y: -62px;
}

.xl#box-dark-soul-iii {
  background-position-y: -141px;
}

.xl#box-the-witcher-3-wild-hunt {
  background-position-y: -128px;
}

.xl#box-wolfenstein-the-new-order {
  background-position-y: -55px;
}

.xl#box-kingdom-come-deliverance {
  background-position-y: -157px;
}

.xl#box-simcity-4 {
  background-position-y: -95px;
  background-size: 170px;
  background-color: #6A9CC6;
}*/

/* -------------------------------------------------------------------------- */
/* Grid list */

.grid_list {
  columns: 240px;
}

.grid_list > div {
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0 0 15px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: rgba(0,0,0,0.25);
  box-shadow: 1px 1px 7px rgba(0,0,0,0.2);
  position: relative;
  line-height: 1;
}
.grid_list h2 a {
  display: block;
  padding: 40px 15px 15px;
}
.grid_list a span {
  display: inline-block;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  margin-left: -15px;
  padding: 7px 15px;
  font-size: 1rem;
}
.grid_list .year {
  display: inline-block;
  color: rgba(0,0,0,0.35);
  font-size: 1.25rem;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(90deg)  translate(0,-30px);
  transform-origin: 0 ;
}


/* -------------------------------------------------------------------------- */
/* Image list */

.gridlarge_list {
  columns: 250px;
}

.gridlarge_list > div {
  position: relative;
  padding: 0;
  margin: 0 0 15px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0,0,0,0.25);
  box-shadow: 1px 1px 7px rgba(0,0,0,0.2);
  position: relative;
  line-height: 1;
}
/*
.timeline.gridlarge_list > div {
  width: 50%;
  float: left;
  border-right: solid 19px transparent;
}
.timeline.gridlarge_list > div:nth-child(2n) {
  margin-top: 25px;
  float: right;
  border-right: unset;
  border-left: solid 19px transparent;
}
.timeline.gridlarge_list > div:after {
  content: ' ';
  position: absolute;
  top: 0;
  right: -20px;
  background-color: red;
  width: 3px;
  height: 100%;
}
.timeline.gridlarge_list > div:nth-child(2n):after {
  left: -20px;
  right: unset;
}
.timeline.gridlarge_list > div:before {
  content: ' ';
  position: absolute;
  top: 50%;
  right: -20px;
  background-color: red;
  width:  20px;
  height: 3px;
}
.timeline.gridlarge_list > div:nth-child(2n):before {
  left: -20px;
  right: unset;
}*/

.gridlarge_list h2 a {
  display: block;
  padding: 100px 15px 15px;
}
.gridlarge_list a span {
  display: inline-block;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  margin-left: -15px;
  padding: 7px 15px;
}
.gridlarge_list .year {
  display: inline-block;
  color: rgba(0,0,0,0.35);
  font-size: 1.25rem;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(90deg)  translate(0,-30px);
  transform-origin: 0 ;
}

/* -------------------------------------------------------------------------- */
/* Menu */

.item_list {
  margin: 0;
  padding: 0;
}

.item_list li {
  list-style-type: none;
  background-color: rgba(0,0,0,0.25);
  margin-bottom:      7px;
  border-right: solid 7px #2a2a2a;
}

.item_list li > div {
  padding: 10px 0;
}
.item_list li h2 {

}

/* -------------------------------------------------------------------------- */
/* Game list */

.game_list > a {
  display: inline-block;
  width: 90px;
  height: 120px;
  background-size: cover;
  text-decoration: none !important;
  box-shadow: 2px 2px 7px rgba(0,0,0,0.5);
  border-radius: 4px;
  margin: 5px;
}
.game_list > a img {
 max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Images */

.thumb_list {
  margin-top: 15px;

  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-gap: 1em 1em;
  grid-auto-flow: row dense;
}
/*
.thumb_list > div:first-child {
  grid-column: auto / span 2;
}*/

.thumb_list > div:nth-child(7n+1) {
  grid-column: auto / span 2;
  grid-row: auto / span 2;
}

/*
.thumb_list > div {
  margin: 0 0 15px;
}*/

.thumb_list img {
  box-shadow: 1px 1px 7px rgba(0,0,0,0.5);
  /*height: 100%;*/
}

/* -------------------------------------------------------------------------- */
/* Button */

.button {
  display: inline-block;
  border: solid 2px #66D9EF;
  color: #66D9EF;
  padding: 10px 18px;
  margin: 7px 0;
  border-radius: 3px;
  background-color: rgba(0,0,0,0.2);
  box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}
.button:hover {
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* Serie list */

.serie_list {
  list-style-type: none;
  margin: 20px 0 0;
  padding: 0;
  float: right;
}
.serie_list > li {
  display: block;
  float: left;
}
.serie_list > li > .box_item {
  position: relative;
  display: block;
  margin: 0 20px 20px 0;
  padding: 10px;
  text-align: center;
  height: 100px;
  width: 80px;
  background-color: #111;
  background-size: cover;
  background-position: center center;
  font-size: 1.1rem;
  border-radius: 3px;
  box-shadow:
    inset 20px 20px 80px rgba(0,0,0,0.6),
    1px 1px 7px rgba(0,0,0,0.5),
    1px 1px 25px rgba(0,0,0,0.2);

}

.box_item .year {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 2px 8px;
  background-color: rgba(0,0,0,0.5);
  color: #ccc;
  font-size: 0.9rem;
  font-weight: bold;
}

/* -------------------------------------------------------------------------- */
/* Page cover */

.page_cover {
  margin: 0 0 20px;
}

.page_cover img {
  width: 100%;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  border-radius: 3px;
}

/* -------------------------------------------------------------------------- */
/* Tech data */

.technical_data{
  margin: 7px 0;
  padding: 0;
}
.technical_data dt,
.technical_data dd {
  display: inline-block;
  padding: 4px 7px;
  margin: 0 15px 0 0;
  line-height: 1;
  vertical-align: text-bottom;
}

.technical_data dt {
  font-weight: bold;
  text-transform: uppercase;
}

.technical_data dd {
  background-color: rgba(0,0,0,0.2);
}

/* -------------------------------------------------------------------------- */
/* Rate */

.star {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  box-sizing: border-box;
  transform: rotate(15deg);
  margin-left: -3px;
  vertical-align: middle;
}
.star.on {
  color: #66D9EF;
  text-shadow: 1px 1px 5px #222;
}
.star.off {
  color: #555;
}
.star.half {
  color: #555;
}
.star.half:before {
  content: "\2605";
  position: absolute;
  display: block;
  box-sizing: border-box;
  color: #66D9EF;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/* Download button */

.download .floppy {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  fill: #66D9EF;
}
.download:hover .floppy {
  fill: rgb(253, 151, 31);
}


/* -------------------------------------------------------------------------- */
/* App convert */


input {
  background-color: #1a1a1a;
  border: solid 1px #444;
  border-radius: 4px;
  width: 80%;
  color: #ccc;
  margin: 0;
  padding: 10px;
}

input[type="checkbox"], input[type="radio"] {
  display: inline-block;
  width: auto;
}

input:focus {
  outline: none !important;
  box-shadow: inset 2px 2px 10px rgba(0,0,0,0.2);
}

.convertor textarea,
.convertor .result {
  background-color: #1a1a1a;
  border: solid 1px #444;
  border-radius: 4px;
  min-height: 200px;
  width: 100%;
  color: #ccc;
  margin: 0 0 20px;
  padding: 15px;
}
.convertor textarea:focus {
  outline: none !important;
  border: solid 1px #666;
  box-shadow: inset 2px 2px 10px rgba(0,0,0,0.2);
}

/* -------------------------------------------------------------------------- */
/* QRCode list */

.qrcode_item {
  display: inline-block;
  padding: 15px;
  transition: opacity 0.3s;
  vertical-align: text-top;
}

.qrcode_item svg {
  display: block;
  border: solid 10px #fff;
  margin: 0 0 7px;
  width: 200px;
  transition: border 0.2s;
}
.qrcode_item a {
  display: inline-block;
  font-size: 0.8rem;
  max-width: 250px;
  overflow: hidden;
}

#convert:hover .qrcode_item {
  opacity: 0.2;
}

#convert .qrcode_item:hover {
  opacity: 1;
}

#convert:hover .qrcode_item svg {
  border-color: #000;
}

#convert .qrcode_item:hover svg {
  border-color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Page infos */

.page_infos > div {
  margin-bottom: 25px;
}

/* -------------------------------------------------------------------------- */
/* Home list */

ol.home_list li a {
  display: block;
  background: rgba(0,0,0,0.2);
  padding: 5px 10px;
  margin: 5px 0;
  border-radius: 4px;
  transition: background cubic-bezier(0.215, 0.610, 0.355, 1) 0.5s, color cubic-bezier(0.215, 0.610, 0.355, 1) 0.5s !important;
}

ol.home_list li a:hover {
  background: rgba(0,0,0,0.4);
}


/* -------------------------------------------------------------------------- */
/* Amiga folder */

.folder_list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  max-width: 1000px;
}
.folder_list a,
.folder_list a:hover {
  text-decoration: none;
}

.folder_list li {
  margin: 25px 5px;
  padding: 0;
  width: 150px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}

.exe-amiga + span,
.thumb-amiga + span,
.folder-amiga + span {
  display: block;
  color: #eee;
  font-size: 0.9rem;
  transition: color 0.5s;
  padding: 4px 0;
  max-width: 100%;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exe-amiga,
.thumb-amiga,
.folder-amiga,
.folder-amiga > span,
.folder-amiga > span > span {
  border: solid 2px rgba(180,180,180,0.9);
  background-color: rgba(0,0,0,0.1);
  transition: padding 0.5s, width 0.5s, border 0.5s
}

a:hover .exe-amiga + span,
a:hover .thumb-amiga + span,
a:hover .folder-amiga + span {
  color: #66D9EF;
}

a:hover .folder-amiga,
a:hover .folder-amiga > span,
a:hover .folder-amiga > span > span {
  border-color: #66D9EF;
}

a .exe-amiga > span {
  transition: padding 0.5s, width 0.5s, border 0.5s
}
a:hover .exe-amiga,
a:hover .thumb-amiga,
a:hover .exe-amiga > span {
  border-color: #66D9EF;
}


.exe-amiga,
.folder-amiga {
  display: inline-block;
  padding: 5px 8px;
  width: 140px;
  border-radius: 2px;
  margin: 0 auto;
}

.folder-amiga > span {
  display: block;
  padding: 2px 5px;
  text-align: center;
  border-radius: 2px;
}
.folder-amiga > span > span {
  display: inline-block;
  border-top-style: none;
  padding: 2px;
  width: 25%;
}


a:hover .folder-amiga {
  padding: 0px;
}
a:hover .folder-amiga > span {
  padding: 7px 10px;
}
a:hover .folder-amiga > span > span {
  padding: 3px;
  width: 35%;
}

.exe-amiga {
  border-width: 2px;
  font-size: 0.8rem;
  width: 100px;
  padding: 0;
  position: relative;
}
.exe-amiga > span {
  display: block;
}

.exe-amiga > span:nth-child(1) {
  border-bottom: solid 2px rgba(180,180,180,0.9);
  width: 100%;
  height: 8px;
}

.exe-amiga > span:nth-child(2) {
  text-align: left;
  padding: 5px 25px 35px 5px;
  background-color: rgba(0,0,0,0.4);
}
.exe-amiga > span:nth-child(2) > span {
  display: inline-block;
  width: 0;
  overflow: hidden;
  vertical-align: text-bottom;
  /*transition: width 0.5s;*/
}
a:hover .exe-amiga > span:nth-child(2) > span {
  animation: typekey 0.5s forwards steps(6, end);
}

.exe-amiga > span:nth-child(3) {
  position: absolute;
  background: rgba(200,200,200,0.1);
  width:  10px;
  height: 10px;
  bottom: -2px;
  right:  -2px;
  border: solid 2px rgba(200,200,200,0.9);
}


.thumb-amiga {
  width: 90px;
  height: 70px;
  position: relative;
  margin: 0 auto;
  /*border-color: transparent;*/
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border-color: transparent;
}

.thumb-amiga > span {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
}


@keyframes typekey {
  0% {
    width: 0px;
  }
  100% {
    width: 42px
  }
}

/* -------------------------------------------------------------------------- */
/* CSS custom range slider */

.range_count {
  display: block;
  position: absolute;
  top: -4px;
  right: 20px;
  font-size: 1.4rem;
}

input[type=range] {
  margin: 0 0 10px !important;
}

/* Generated from: */
/* http://danielstern.ca/range.css/#/ */

input[type=range] {
  width: 100%;
  margin: 6.3px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background: #3071a9;
  border: 1px solid rgba(1, 1, 1, 0.5);
  border-radius: 20px;
  width: 100%;
  height: 5.4px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  margin-top: -7.3px;
  width: 17px;
  height: 18px;
  background: #ffffff;
  border: 0.2px solid #000000;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
}
input[type=range]::-moz-range-track {
  background: #3071a9;
  border: 1px solid rgba(1, 1, 1, 0.5);
  border-radius: 20px;
  width: 100%;
  height: 5.4px;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 17px;
  height: 18px;
  background: #ffffff;
  border: 0.2px solid #000000;
  border-radius: 5px;
  cursor: pointer;
}
input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 7.3px 0;
  color: transparent;
  width: 100%;
  height: 5.4px;
  cursor: pointer;
}
input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 1px solid rgba(1, 1, 1, 0.5);
  border-radius: 40px;
}
input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 1px solid rgba(1, 1, 1, 0.5);
  border-radius: 40px;
}
input[type=range]::-ms-thumb {
  width: 17px;
  height: 18px;
  background: #ffffff;
  border: 0.2px solid #000000;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}
input[type=range]:focus::-ms-fill-upper {
  background: #367ebd;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}

