@font-face { font-family: "OpenSans-Light"; src: url('../fonts/OpenSans-Light.ttf'); }
@font-face { font-family: "OpenSans-Regular"; src: url('../fonts/OpenSans-Regular.ttf'); }
@font-face { font-family: "Oswald-Regular"; src: url('../fonts/Oswald-Regular.ttf'); }

body {
	font-family:Arial,Helvetica,sans-serif;
    font-weight: 300;
    background-color:#2f3236;
    color:#FFF;
}
a {
	color: #D94542;
}
a:hover, a:active, a:focus {
	color: #AD3735;
	text-decoration: none;
}
hr {
    border-color: #282B2D;
}
.crown {
    width: 8.5%;
    padding-right: 4px;
    position: relative;
    bottom: -1px;
}
.nav-wrapper {
    margin-top:50px;
}
.notice {
    margin-top:20px;
}
.wrapper {
    background-color:#292c2f;
    overflow:hidden;
    padding-bottom:10px;
    padding-top:20px;
}
.no-margin {
	margin: 0;
}

.container {
    margin-bottom:0;
    width: 1170px;
}
.userbar {
    background-color: #1C1E21;
    padding: 6px 15px; /* iets meer ruimte */
    text-align: center; /* optioneel: tekst mooi in het midden */
}

.left-userbar li, .right-userbar li {
    display: inline-block;
    font-size: 13px;          /* iets groter */
    color: #f2f2f2;           /* lichter/grijzig wit */
    font-weight: 600;         /* wat vetter */
    letter-spacing: 0.5px;    /* optisch netter */
    text-transform: none;     /* of weg als je lowercase wilt */
}

.left-userbar li strong {
    color: #ff5555;   /* "Notice" valt extra op */
    font-weight: 700;
}

.rank-label {
    font-weight: bold;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000;
}

/* Container */
.ranks-box {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 2px solid #ff3333;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* Header */
.ranks-header {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Rank list */
.ranks-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ranks-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #262626;
    margin: 6px 0;
    padding: 8px 12px;
    border-radius: 8px;
    transition: transform 0.2s, background 0.2s;
}

.ranks-list li:hover {
    background: #333;
    transform: scale(1.02);
}

/* Text shadow for readability */
.rank-label, .rank-name {
    font-weight: bold;
    text-shadow: 1px 1px 3px #000;
}

/* Icon styling */
.rank-icon {
    width: 18px;
    height: 18px;
    margin: 0 8px;
}

/* Specific rank colors */
.rank-label.red { color: red; }
.rank-label.blue { color: #3399ff; }
.rank-label.green { color: #33cc33; }
.rank-label.purple { color: #aa33ff; }
.rank-label.gold { color: gold; }
.rank-label.grey { color: #ccc; }
.rank-label.magenta { color: magenta; }
.rank-label.orange { color: orange; }

/* Rank name always white */
.rank-name {
    color: #fff;
}
/*________________________________________________________________________________*/

/* Container */
.categories-box {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 2px solid #3399ff;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* Header */
.categories-header {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category list */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin: 6px 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, background 0.2s;
}

.categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    background: #262626;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-shadow: 1px 1px 3px #000;
}

.categories-list li a:hover {
    background: #333;
    transform: scale(1.02);
}

/* Counter bubble */
.cat-count {
    background: #3399ff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
}
/*__________________________________________________________________*/

/* Container */
.username-box {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

/* Header */
.username-header {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form */
.username-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.username-form input {
    padding: 10px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: #333;
    color: #fff;
    text-align: center;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.username-form input::placeholder {
    color: #aaa;
}

.username-form button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(90deg, #4CAF50, #3a9d3a);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.username-form button:hover {
    background: linear-gradient(90deg, #3a9d3a, #2e7d32);
    transform: scale(1.03);
}
/*______________________________________________________________________________*/

/* Product card */
/* Product card */
/* Product card */
.product-card {
    background: #262626;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    transition: transform 0.2s, box-shadow 0.2s;

    height: 260px;          /* vaste hoogte voor ALLE kaarten */
    display: flex;
    flex-direction: column;
}



/* afbeeldingblok met vaste hoogte */
.product-image {
    flex: 0 0 100px;        /* altijd 100px hoog */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.product-image img {
    max-height: 100%;
    max-width: 100%;
}

/* Titel altijd netjes */
.product-title {
    flex: 0 0 auto;
    min-height: 40px;       /* voorkomt dat lange namen cards duwen */
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px #000;
}

/* Prijs onder de titel */
.product-price {
    flex: 0 0 auto;
    margin-bottom: 10px;
}

/* Knop altijd onderaan */
.product-card form,
.product-card .input-group {
    margin-top: auto;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* Image */
.product-image img {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 10px;
}

/* Title */
.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px #000;
}

/* Price styling */
.product-price {
    margin-bottom: 10px;
}

.product-price .new-price {
    font-size: 16px;
    font-weight: bold;
    color: #4CAF50;
    margin-right: 5px;
}

.product-price .old-price {
    font-size: 14px;
    color: #ff4444;
    text-decoration: line-through;
}

/* Button styling (from item_form.php) */
.product-card .input-group,
.product-card form {
    margin-top: auto; /* duwt naar onderen */
}

.product-card button {
    background: linear-gradient(90deg, #4CAF50, #3a9d3a);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.product-card button:hover {
    background: linear-gradient(90deg, #3a9d3a, #2e7d32);
    transform: scale(1.05);
}
/*_____________________________________________________________________________________*/

/* Basis voor alle sidebar-boxen */
.sidebar-box {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    width: 100%;
    box-sizing: border-box;
}

/* Sidebar header */
.sidebar-header {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
    border-bottom: 1px solid #444;
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Accentkleuren */
.username-box { border: 2px solid #4CAF50; }
.categories-box { border: 2px solid #3399ff; }
.ranks-box { border: 2px solid #ff3333; }


.left-userbar {
    margin-left: 30px;
}
.right-userbar {
    margin-right:30px;
}
.left-userbar li {
	padding: 10px;
}
.left-userbar li a, .right-userbar li a {
    display:inline-block;
    padding-left:10px;
    padding-right:10px;
    height: 40px;
    line-height: 40px;
    color: white;
    text-align:center;
    font-size:10px;
    text-transform: uppercase;
}
.left-userbar li i, .right-userbar li i {
   color:#FFF;
    font-size:13px;
}
.left-userbar li:before {
    content: " / ";
    color:#888;
}
.left-userbar li:first-child:before {
    content: " ";
}
.navigation {
    list-style:none;
    margin-right:10px;
}
.item img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.navigation li {
    display:inline-block;
}
.navigation li a {
    display:inline-block;
    height: 120px;
    line-height: 120px;
    padding-left:10px;
    padding-right:10px;
    min-width:65px;
    color:#FFF;
    font-family: "Oswald-Regular";
    text-transform: uppercase;
    font-size:20px;
    border-top: solid 5px transparent;
    transition: all .1s ease-in-out;
}
.navigation li a:hover {
    text-decoration: none;
    height:120px;
    line-height: 120px;
    background-color: rgba(255,255,255,0.05);
}
.header {
    background-color: #292c2f;
    height: 120px;
        text-align: center;
}
.nav-center {
    display: flex;
    justify-content: space-around; /* spreiding over breedte */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
}

.nav-center li {
    flex: 1; /* maakt alle knoppen even breed */
    margin: 0;
}

.nav-center li a {
    display: block; /* maakt hele <li> klikbaar */
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nav-center li a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* lichte hoverkleur */
}


.banner-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 12px;
    line-height: 120px;
    font-size: 30px;
    text-transform: uppercase;
    font-family: "Oswald-Regular";
    color: #FFF;
    border-radius: 5px; /* optioneel als de rest ook afgerond is */
        margin: 0 auto;
    padding: 0 15px; /* zelfde als container meestal */
    max-width: 1170px; /* of dezelfde breedte als je .container */
}

.server-list {
    vertical-align: middle;
}
.server-item h3, .server-item h4 {
    margin:0;
    font-family: "Oswald-Regular";
    color:#000;
}
.server-item h3 a {
    color:#000;
}
.server-item p {
    margin-bottom:0;
    text-align: justify;
}
.server-star {
    width:60px;
    height:60px;
    line-height: 60px;
    font-size:20px;
    font-family: "Oswald-Regular";
    text-align:center;
}
.list-group-item:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.btn {
    border-radius:3px;
}
@media(max-width:1200px) {
    .top-banner img {
        width:100%;
    }
}
.panel-small {
    max-width:400px;
    margin:auto;
}
.modal-title {
     font-family: "Oswald-Regular";
}
.modal-content {
    border-radius: 10px;
}
.badge {
    background-color:#222;
    border-radius:2px;
    padding: 5px;
}
.well {
     background-color: rgba(255,255,255,0.05);
     border: none;
     color: #EFEFEF;
}
.well h3, .well h4 {
    font-family: Muli;
    margin-top: 0;
}
.well h4 small {
    margin-top:5px;
}
.well h2 {
    font-family: "Oswald-Regular";
    margin-top: 0;
    margin-bottom:20px;
}
.footer, .copyright {
    padding-top:20px;
    padding-bottom:20px;
    margin-top:0;
    border-radius:0;
    color:#FFF;
}
.footer {
    background-color: #232628;
    border-top: solid 4px #D94542;
}
.copyright {
    border-top: solid 4px #D94542;
    background-color:#1F2123;
    margin-bottom:50px;
    border-radius: 0 0 5px 5px;
    font-size:12px;
}
.footer-header {
    font-family: "Oswald-Regular";
    font-size:20px;
    color:#DDD;
    text-transform: uppercase;
}
.footer-list .list-group-item {
    background-color:transparent;
    border: none;
    border-bottom: dotted 1px #555;
    padding-top:20px;
    padding-bottom:20px;
    vertical-align: middle;
}
.footer-list .list-group-item img {
    border: solid 3px #555;
    margin-right:15px;
}
.footer-list .list-group-item h4 {
    margin:0;
    margin-top: 7px;
    font-size: 12px;
    color:#D94542;
}
.footer-list .list-group-item a {
    color:#FFF;
    font-size: 12px;
}

.logo {
    font-family: "Oswald-Regular";
    color:#FFF;
    height: 30px;
    font-size:50px;
    margin-left: 20px;
    text-transform: uppercase;
    display: table;
    vertical-align: middle;
}
.logo-container {
    line-height: 1.0em;
    display: table-cell;
    vertical-align: middle;
}
.logo .sub-logo {
    font-size:20px;
    margin-top:-13px;
    text-align:right;
}
.logo, .logo img {
    vertical-align: middle;
}
.logo img {
    margin-top:25px;
    margin-left:20px;
}
.alert-success {
    background-color: #D94542;
    border-color: #AD3735;
}
.color2 {
    color: #D94542;
}
.color {
    color: #D94542;
}
.color:hover {
    color: #AD3735;
    text-decoration: none;
}
.btn-success {
    color: #ffffff;
    background-color: #D94542;
    border-color: #D94542;
}
.btn-success:hover, .btn-success:active, .btn-success:focus {
    background-color: #AD3735;
    border-color: #AD3735;
}
.btn-success:active:hover, .btn-success.active:hover, .open > .dropdown-toggle.btn-success:hover, .btn-success:active:focus, .btn-success.active:focus, .open > .dropdown-toggle.btn-success:focus, .btn-success:active.focus, .btn-success.active.focus, .open > .dropdown-toggle.btn-success.focus {
    color: #ffffff;
    background-color: #AD3735;
    border-color: #AD3735;
}
.panel-default {
	background-color: #333639;
	border: none;
}
.panel-default .panel-heading {
	background-color: #333639;
	border-bottom: solid 1px #D94542;
	color: #FFF;
}
.panel-default .panel-footer {
	background-color: #333639;
	border-top: solid 1px #1F2123;
	color: #FFF;
}
.list-group .list-group-item {
	background-color: transparent;
	border-color:#111;
}
.list-group .list-group-item:hover {
	background-color: transparent;
}
.username {
	font-family: "Oswald-Regular";
}
.username small {
	font-family: Muli;
	font-size:12px;
}
.user-avatar {
	height:37px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.4;
    vertical-align: top;
    border-top: 1px solid #444;
}
.posted {
	color:#777;
}
.banned {
	text-decoration: line-through;
	color:#777;
}

.item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    min-height: 165px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.08); /* iets lichter bij hover */
}
.item-red {
	box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}
.item-blue {
	box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}
.item-green {
	box-shadow: 0 0 15px rgba(40, 167, 69, 0.5);
}
.item-purple {
	box-shadow: 0 0 15px rgba(138, 43, 226, 0.5); /* paars */
}


.input-sm {
    height: 28px;
    padding: 2px 12px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 0;
}
.input-custom {
    margin-top: 20px;
}
#products {
    margin-top: 20px;
}
.cart-item {
    border: none;
    border-bottom: solid 1px #222;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}
/* Moderne top navigation */
.navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 10px auto 0 auto;  /* bovenruimte toegevoegd */
    width: fit-content;
}


.navigation li {
    margin: 0;
}
.navigation li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;           /* vaste hoogte */
    line-height: 50px;      /* vaste lijnhoogte */
    width: 150px;           /* vaste breedte */
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    background: #1e1e1e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #444; /* donkergrijze outline */
    box-shadow: 0 0 6px rgba(0,0,0,0.5); /* subtiele diepte */
}

.navigation li a:hover {
    background: #D94542;    /* alleen kleur veranderen */
    color: #fff;
    box-shadow: 0 0 15px rgba(217, 69, 66, 0.6);
    height: 50px;           /* belangrijk: hoogte niet veranderen */
    line-height: 50px;      /* idem */
    width: 150px;           /* idem */
}


.navigation li a.active {
    background: linear-gradient(90deg, #4CAF50, #3a9d3a);
    border-color: #4CAF50;
    box-shadow: 0 0 12px rgba(76,175,80,0.8);
}


.navigation li a i {
    font-size: 16px;
     margin-right: 6px; 
}


.portal-btn {
    width: 125px;
    height: 125px;
}