
/* Color BASIC */
@font-face {
    font-family: 'colorbasic';
    src: url('../fonts/colorbasic.woff2') format('woff2'),
         url('../fonts/colorbasic.woff') format('woff'),
         url('../fonts/colorbasic.ttf') format('truetype');
}
        
html, body {
 background: #16181C url('../images/pattern.png') repeat center center;
}

body {
	margin: 0;
	padding: 0;
	font-family: Monda, Verdana, Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #AAA;
}

h2 {
  margin-top: 0px;
  font-size: 18px;
  color: #95DB54;
}

h3 {
    margin-top: 0px;
    font-size: 16px;
    color: #95DB54;
}

h4 {
    margin: 10px 0;
    color: #95DB54;
}


a,
a:visited {
	text-decoration: none;
	color: #7692bc;
}

a:hover {
	text-decoration: underline;
    color: #c35824;
}

img {
	border: none;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.panel {
    background-color: #252B33;
    border-left: solid 1px #2E353F;
    border-right: solid 1px #181C21;
    border-top: solid 1px #2E353F;
    border-bottom: solid 1px #181C21;
    padding: 10px 20px;
    margin: 10px 0;
}

#content .panel:last-child {
  margin-bottom: 5px;
}

#wrapper {
	width: 70%;
    min-width: 900px;
	margin: 0 auto;
    padding: 20px;
}

#readme {
    padding: 0;
}

#readme .header {
    background: #2C415F url("../images/heading.png") repeat-y 100% 0;
    color: #fff;
    font-size: 16px;
    padding: 0 10px !important;
    text-align: left !important;
}

#readme .content {
    padding: 10px;
    border: solid 2px #2C415F;
    border-top: none;
}

#readme td {
  border: none;
}

.note {
    margin: 10px;
    padding: 5px 5px 5px 50px;
    background: #3B4551 url("../icons/warning-32.png") no-repeat 10px 50%;
    border-radius: 4px;
}

input[type="submit"],
input[type="button"] {
    background-color: #2e4c75;
    border-radius: 3px;
    border: solid 1px transparent;
    color: #fff;
    padding: 2px 8px;
}

input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #C35824;
}


input[type="text"],
input[type="file"],
textarea,
select
{
    background: #2E353F;
    border: solid 1px #2E353F;
    padding: 2px;
    color: #ccc;

    scrollbar-face-color: #666;
    scrollbar-track-color: #252B33;
    scrollbar-arrow-color: #666;
    scrollbar-shadow-color: #333;
}

input[type="file"]::-webkit-file-upload-button {
    background-color: #2e4c75;
    border: solid 1px transparent;
    color: #fff;
    border-radius: 3px;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #C35824;

}

#header { 
	max-width: 100%; 
	margin: 0 auto;
}

#header .logo {
	float: right;
}

#title { 
	display: block;
    color: #95DB54;
	margin-top: 12px;
	font-size: 32px;
    font-family: colorbasic;
    float: left;
}

#content {
}

.intro {
    text-align: justify;
}

.updates {
	font-size: 13px;
}

.updates li {
	margin: 4px 0;	
}

.updates li ul li {
	margin: 0;	
}

.updates li ul li:first-child {
	margin-top: 2px;
}

.updates table {
    margin: 0;
}

.updates table td {
    border: none;
}

#location {
    padding: 2px 5px;
    margin: 5px 0;
}

#total {
    padding: 2px 10px; 
    margin: 5px 0; 
    font-size: 11px
}

#popup {
	width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: rgba(22,22,22,0.5);
    overflow: auto;
    overflow-y: hidden;
}

#popup .window {
    position: relative;
    top: 0;
    padding: 10px 20px;
    margin: 0 auto;
    background-color: #3B4551;
  	-webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); 
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    border-radius: 5px;
}

#popup .close {
	color: #7692bc;
    font-size: 16px;
    font-weight: bold;
    cursor: default;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 1em;
    border-radius: 10px;
    float: right;
    position: relative;
    right: -8px;
    top: 2px;
}

#popup .close:hover {
    color: white;
    background-color: #c35824;
}

.legend {
    width: 250px;
}

.legend img {
    vertical-align: middle;
    margin-right: 6px;
}

#footer { 
	font-size: 11px; 
	color: #666;
    margin: 5px;
}

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

#licensing {
    float: left;
}

#copyright {
    float: right;
}

.path {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
    width: 250px;
}

.info {
	color: #ccc;
    background: #2e4c75 url('../icons/success.png') no-repeat 6px 6px;
    border-radius: 5px;
	border: solid 1px #4370A8;
    padding: 2px 2px 2px 28px;
    margin: 5px 0;
}

.error {
    color: #ccc;
    background: #7F0000 url('../icons/error.png') no-repeat 6px 6px;
    border-radius: 5px;
	border: solid 1px #A00000;
	padding: 2px 2px 2px 28px;
    margin: 5px 0;
}

.success {
    background: #252B33 url("../icons/success.png") no-repeat 0 3px;
    padding-left: 24px;
}

.warning {
    background: #252B33 url("../icons/warning.png") no-repeat 0 3px;
    padding-left: 24px;
}

.field {
	margin: 10px 0px;
}

.required {
   color: #95DB54; 
   font-weight: bold;
}

.fileupload {
	width: 100%;
    box-sizing: border-box;
}

.uploaderName {
    width: 300px;
}

.email {
	width: 300px;
}

.comment {
	width: 100%;
    box-sizing: border-box;
	height: 100px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
}

.errorCode {
    margin-top: 40px;
	font-size: 2em;
	color: #f00;
	font-family: Impact, Charcoal, sans-serif;
	display: block;
}

.errorMsg {
	padding-top: 15px;
	font-weight: bold;
    min-height: 80px;
}

.errorMsg p {
	font-weight: normal;
}

.column {
    float: left;
}

.important {
    color: #C35824;
}

.optionGroup {
    font-weight: bold;
    font-style: italic;
}
    
.optionChild {
    padding-left: 15px !important;
}

/* ---------------- Files ---------------- */

#files {
	width: 100%;
	font-size: 13px;
}

#files table {
    table-layout: fixed;
	width: 100%;
	border-collapse: separate;
    border-spacing: 0px;
    background-color: #252B33;
    border-left: solid 1px #2E353F;
    border-right: solid 1px #181C21;
}

#files table tr {
	margin: 0;
}

#files table td,
#files table th {
    padding: 1px 4px;
    text-align: left;
}

#files table th { 
	font-size: 14px; 
	border-bottom: 1px solid #444; 
}

#files table td {
    border-bottom: 1px solid #181C21;
    border-top: 1px solid #2E353F;
}

/* filename */
#files table td:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#files table > tbody > tr > td:first-child {
    text-align: center;
}

#files table td.name {
    text-align: left;
    font-size: 12px;
}

#files table td img {
  position: relative;
  top: 3px;
  left: 3px;
}

#files table th.icon {
	width: 18px;
}

#files table th.tags {
	text-align: right;
    padding-left: 0;
    padding-right: 8px;
    width: 80px;
}

#files table td.tags {
	text-align: right;
    padding-left: 0;
    padding-right: 16px;
}

#files table td.tags img {
    padding-right: 4px;
}

#files table th.date {
	text-align: left;
	width: 140px;
}

#files table th.size {
	text-align: left;
	width: 60px;
}

#files table th.playnow {
	text-align: left;
	width: 80px;
}

#files table td:nth-child(5) {
    display: table-cell;
}

#files table.compact td:nth-child(5), 
#files table.compact th:nth-child(5) {
    display: none;
}

#files a.group,
#files a.group:visited {
    color: white;
    text-decoration: none;
}

#files a.group:hover {
    text-decoration: none;
    background-color: #6593D6;
}
 
#files .group {
    padding: 0 8px;
    margin: 5px 2px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    background-color: #2C415F;
    color: white;
}

#files .groupHeader {
    background: #2C415F url("../images/heading.png") repeat-y 100% 0;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 0 10px !important;
    text-align: left !important;
}

#files .groupHeader a,
#files .groupHeader a:visited,
#files .groupHeader a:hover {
    color: white;
    text-decoration: none;
}
 
#files .index .group {
    background-color: #2C415F;
}

#files .letter {
    padding: 0px !important;
    font-size: 16px !important;
    font-weight: bold;
    width: 26px;
}

#files .index {
    text-align: center;
    margin: 10px 0;
    top: -50px;
    z-index: 90;
    transition: top 0.3s;
}

/* -------------- Page images --------------- */

.panel.home {
    padding-right: 200px;
    background: #252B33 url("../images/coco-home.png") no-repeat 97% 32px;
}

.panel.search {
    padding-right: 250px;
    background: #252B33 url("../images/coco-search.png") no-repeat 97% 16px;
}

.panel.upload {
    padding-right: 200px;
    background: #252B33 url("../images/coco-upload.png") no-repeat 97% 16px;
}

.panel.contact {
    padding-right: 200px;
    background: #252B33 url("../images/coco-contact.png") no-repeat 97% 16px;
}

.panel.updates {
    padding-right: 250px;
    background: #252B33 url("../images/coco-updates.png") no-repeat 97% 16px;

}

/* ---------------- Navbar ------------------ */


#navbar {
    font-family: 'Tahoma', Arial;
    padding: 0;
    margin: 2px 0;
    top: -50px;
    transition: top 0.3s;
    z-index: 100;
}

#navbar .panel {
    border-bottom: solid 1px #7692bc;
    padding: 0;
    margin: 0;
}

#navbar.sticky {
    min-width: 900px;
    margin: 0px;
    padding-bottom: 2px;
    top: 0;
}

#navbar.sticky .panel {
    border-left: none;
}

.title-mini { 
    display: none;
    color: #95DB54;
    font-family: colorbasic;
    float: left;
    padding: 5px 0 5px 30px;
    background:  url('../images/coco-archive-mini.png') no-repeat 4px;
}

#navbar.sticky .title-mini {
    display: block;
}

#navbar a {
    float: right;
    font-size: 11px;
    color: #fff;
    text-align: center;
    text-decoration: none;

	text-transform: uppercase; 
	font-weight: bold; 

	background-position: 8px center;
	background-repeat: no-repeat;
	padding: 8px 8px 8px 30px;
}

#navbar .dropdown {
    float: right;
    overflow: hidden;
}

#navbar .dropdown .dropbtn {
    font-size: 11px;
    border: none;
    outline: none;
    padding: 7px 16px;
    margin: 0;
    background-color: inherit;
    color: #fff;

	text-transform: uppercase; 
	font-weight: bold; 
	font-family: Arial;
    cursor: pointer;

	background-position: 8px center;
	background-repeat: no-repeat;
	padding: 8px 8px 8px 30px;
}

#navbar a:hover, 
#navbar .dropdown:hover .dropbtn {
    color: #fff;
    background-color: #C35824;
}

#navbar .dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    border-top: solid 4px #C35824;
    background-color: #fff;
    box-shadow: 1px 3px 5px rgba(0,0,0,0.5);
}


#navbar .dropdown-content a {
    font-size: 14px;
    float: none;
    color: #333;
    text-decoration: none;
    display: block;
    text-align: left;
	text-transform: none;
    padding-top: 6px;
    padding-bottom: 6px;
}


#navbar .dropdown-content a:hover {
    color: #fff;
    background-color: #C35824;
}

#navbar .dropdown-content-submenu {
}

#navbar .dropdown-content-submenu a {
    font-size: 12px;    
    padding: 4px 16px;
    text-indent: 10px;
    color: #666;
    border: none;
    background-image: url('../icons/bullet-bleu.png');
    background-position: 12px 7px;
}

#navbar .dropdown-content-submenu a:hover {
    color: #fff;
}

#navbar .dropdown:hover .dropdown-content {
    display: block;
}

#navbar .home {
	background-image: url('../icons/home.png');
}

#navbar .updates {
	background-image: url('../icons/calendar.png');
}

#navbar .archive {
	background-image: url('../icons/folder.png');
}

#navbar .search {
	background-image: url('../icons/search.png');
}

#navbar .upload {
	background-image: url('../icons/upload.png');
}

#navbar .contact {
	background-image: url('../icons/contact.png');
}

#navbar .cassette {
	background-image: url('../icons/cassette.png');
}

#navbar .camera {
	background-image: url('../icons/camera.png');
}

#navbar .cartridge {
	background-image: url('../icons/cart.png');
}

#navbar .disk {
	background-image: url('../icons/disk.png');
}

#navbar .document {
	background-image: url('../icons/pdf.png');
}

#navbar .emulator {
	background-image: url('../icons/emulator.png');
}

#navbar .hardware {
	background-image: url('../icons/hardware.png');
}

#navbar .newsgroups {
	background-image: url('../icons/newsgroups.png');
}

#navbar .mc10 {
	background-image: url('../icons/mc10.png');
}

#navbar .media {
	background-image: url('../icons/media.png');
}

#navbar .music {
	background-image: url('../icons/music.png');
}

#navbar .prog {
	background-image: url('../icons/prog.png');
}

#navbar .rom {
	background-image: url('../icons/rom.png');
}

#navbar .screenshot {
	background-image: url('../icons/screenshot.png');
}

#navbar .utils {
	background-image: url('../icons/utils.png');
}

#navbar .xroar-online {
	background-image: url('../icons/xroar.png');
}

#navbar .vhd {
	background-image: url('../icons/vhd.png');
}

#navbar hr {
    margin: 0 8px;
    position:relative;
    top: -3px;
    border: none;
    height: 1px;
    background-color: #7692bc;
    background-image: linear-gradient(to right, #7692bc, #7692bc, #fff);
}

.sticky {
    position: fixed;
    width: inherit;
    background: #16181C url('../images/pattern.png') repeat center center;
}


.index.sticky {
    margin: 5px 0;
    padding: 5px 0;
    top: 20;
    left: 0;
}

.btn-playnow {
    color: white;
    text-decoration: none;
    background-color: #2C415F;
    border: none;
}

.btn-playnow:hover {
    text-decoration: none;
    background-color: #6593D6;
}

/*
.tags {
    padding-right: 16px;
    float: right;
    display: inline-block;
}

.tags img {
    padding: 0 2px;
}
*/

/* loader */

.loader {
    font-size: 24px;
    text-align: center;
    position: absolute;
    width: 260px;
    height: 45px;
    top: 30%;
    left: 50%;
    margin-left: -130px; /* margin is -0.5 * dimension */
    margin-top: -25px; 
}

@keyframes ldio-l3dmech6fhe {
   0% { transform: translate(12px,80px) scale(0); }
  25% { transform: translate(12px,80px) scale(0); }
  50% { transform: translate(12px,80px) scale(1); }
  75% { transform: translate(80px,80px) scale(1); }
 100% { transform: translate(148px,80px) scale(1); }
}
@keyframes ldio-l3dmech6fhe-r {
   0% { transform: translate(148px,80px) scale(1): }
 100% { transform: translate(148px,80px) scale(0); }
}
@keyframes ldio-l3dmech6fhe-c {
   0% { background: #93dbe9 }
  25% { background: #3b4368 }
  50% { background: #5e6fa3 }
  75% { background: #689cc5 }
 100% { background: #93dbe9 }
}
.ldio-l3dmech6fhe div {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(80px,80px) scale(1);
  background: #93dbe9;
  animation: ldio-l3dmech6fhe 1s infinite cubic-bezier(0,0.5,0.5,1);
}
.ldio-l3dmech6fhe div:nth-child(1) {
  background: #689cc5;
  transform: translate(148px,80px) scale(1);
  animation: ldio-l3dmech6fhe-r 0.25s infinite cubic-bezier(0,0.5,0.5,1), ldio-l3dmech6fhe-c 1s infinite step-start;
}.ldio-l3dmech6fhe div:nth-child(2) {
  animation-delay: -0.25s;
  background: #93dbe9;
}.ldio-l3dmech6fhe div:nth-child(3) {
  animation-delay: -0.5s;
  background: #689cc5;
}.ldio-l3dmech6fhe div:nth-child(4) {
  animation-delay: -0.75s;
  background: #5e6fa3;
}.ldio-l3dmech6fhe div:nth-child(5) {
  animation-delay: -1s;
  background: #3b4368;
}
.loadingio-spinner-ellipsis-lv5uwh28ev {
  width: 200px;
  height: 200px;
  display: inline-block;
  overflow: hidden;
  background: none;
}
.ldio-l3dmech6fhe {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-l3dmech6fhe div { box-sizing: content-box; }
/* generated by https://loading.io/ */

.select2-results li {
    padding: 0;
}

.select2-item {
    padding: 3px 6px;
    font-weight: bold;
}

.select2-item img {
    position: relative;
    top: 3px;
    padding-right: 5px;
}

.select2-subitem {
    padding-left: 28px;
    font-weight: normal;
}

.select2-selection {
    background-color: #3B4551 !important;
/*    border-color: #7692bc !important;*/
    border-color: #252B33 !important;
    outline: none;
}

.select2-selection img {
    position: relative;
    top: 3px;
    padding-right: 5px;
}

.select2-selection__rendered {
    color: white !important;
}

::placeholder {
    color: #757575;
}

.select2-selection__placeholder {
    color: #757575 !important;
}

.select2-dropdown {
    background-color: #3B4551 !important;
    border-color: #252B33 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #2e4c75 !important;
    color: white !important;
}

.select2-results {
}

/* arrow for multiple selection */
.select2-selection--multiple:before {
    content: "";
    position: absolute;
    right: 7px;
    top: 42%;
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

/*#5897FB*/

.textbox {
    font-size: 14px;
    font-family: Monda, Verdana;
    background-color: #3B4551 !important;
    border-color: #252B33 !important;
    border-radius: 4px;
    padding: 2px 8px !important;
}

button.clear {
    border-radius: 3px;
    border: solid 1px transparent;
    color: #fff;
    padding: 2px 8px;
    height: 20px;
    width: 20px;
    vertical-align: middle;
    background: #2e4c75 url("../icons/delete.png") no-repeat 1px;
    /*background: #3B4551 url("../icons/delete.png") no-repeat 3px;*/
}

button.clear:hover {
    background-color: #C35824;
}

.criteria label {
    width: 100px;
    display: inline-block;
    padding: 4px 2px;
}

.option {
    margin-bottom: 5px;
}

.option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    position: relative;
    top: 3px;
}

/*
.search table td {
    vertical-align: top;
}*/


/*
.select2-results__options::-webkit-scrollbar {
  width: 1em;
}
 
.select2-results__options::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 
.select2-results__options::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
*/

/* Diaporama */

.diapo-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #252B33;
    border-left: solid 1px #2E353F;
    border-right: solid 1px #181C21;
    border-top: solid 1px #2E353F;
    border-bottom: solid 1px #181C21;
    padding: 0 10px;
}

.diapo {
    width: 200px;
    margin: 5px;
}

.diapo span {
    display: block;
    text-align: center;
}

.diapo-img {
    width: 200px;
    margin-top: 8px;
    vertical-align: middle;
}

/* Return to top button */

#top-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    height: 32px;
    width: 32px;
    z-index: 99;
    background: url("../icons/back-to-top.png") no-repeat;
}

#top-button:hover {
    background: url("../icons/back-to-top-hover.png") no-repeat;

}
