/*  
Template name: Emplode
Template URI: http://arcsin.se
Release date: 2008-12-19
Description: A clean and simple two-column template.
Author: Viktor Persson
Author URI: http://arcsin.se
*/

/* --- 1. RESET baseline --- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, 
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, 
img, ins, kbd, q, s, samp, small, strike, strong, sub, tt, var, b, u, i, 
center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, 
tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; 
font-size: 100%; vertical-align: baseline; background: transparent; } body { 
line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } 
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: 
none; } :focus { outline: 0; } ins { text-decoration: none; } del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }

/* --- 2. GENERAL & TYPOGRAPHY --- */
html {
	font-size: 62.5%;
	height: 100%;
}
body {
	background: #353530;
	color: #5A5A50;
	font: normal 1.3em Georgia,sans-serif;
	height: 100%;
	padding-bottom: 1px;
}
p {
	line-height: 1.4em;
	padding: 0.2em 0 1.2em;
}
h1 {font: normal 3em Georgia,sans-serif;}
h2 {font: normal 2.2em Georgia,sans-serif;}
h3 {font: normal 2em Georgia,sans-serif;}
h4 {font: normal 1.8em Georgia,sans-serif;}
h5 {font: normal 1.6em Georgia,sans-serif;}
h6 {font: bold 1.2em Georgia,sans-serif;}
h1,h2,h3,h4,h5,h6 {margin-bottom: 0.2em;}

blockquote {
	background: #F6F6F2 url('/2026/public/img/backgrounds.gif') no-repeat 0 -414px;
	border-bottom: 1px solid #E0E0D4;
	border-top: 1px solid #E0E0D4;
	color: #332;
	display: block;
	margin: 0.6em 0 1.6em;
	padding: 0.8em 1em 0.2em 46px;
}
code {
	background: #F6F6F2;
	border: 1px solid #E0E0D4;
	border-left: 6px solid #999;
	color: #333;
	display: block;
	font: normal 1.1em Tahoma,sans-serif;
	line-height: 1.2em;
	margin-bottom: 12px;
	padding: 8px 10px;
	white-space: pre;
}
code > span { color: #528B8B; }
hr { border: 1px solid #E0E0D4; }

/* --- 3. TABLES & DATA --- */
table.data_table { border: 1px solid #CCB; margin-bottom: 2em; width: 100%; }
table.data_table th { background: url('/2026/public/img/grain_dark.gif'); border: 1px solid #CCB; color: #555; text-align: left; padding: 10px; }
table.data_table tr { border-bottom: 1px solid #DDD; }
table.data_table td { background: url('/2026/public/img/grain_light.gif'); border: 1px solid #DDC; padding: 10px; }

dl { margin-bottom: 2em; }
dt, dd { padding: 8px 10px; }
dt { background: url('/2026/public/img/img/grain_dark.gif'); border-bottom: 1px solid #CCB; color: #555; font-weight: bold; }
dd { background: url('/2026/public/img/grain_light.gif'); border-bottom: 1px solid #DDC; padding-left: 16px; }

/* --- 4. LINKS & BASE FORMS --- */
a { color: #543; }
a:hover { color: #C40; text-decoration: underline; }
fieldset { border-left: 1px solid #CCB; border-right: 1px solid #CCB; margin: 1em 0 1.2em; }
input, textarea, select {
	background-color: #FFF; border-color: #777 #CCC #CCC #777;
	border-style: solid; border-width: 1px; font: normal 1em Verdana,sans-serif; padding: 4px;
}
input.button {
	background: #E9E8E8 url('/2026/public/img/backgrounds.gif') repeat-x 0 -366px;
	border: 1px solid #888; border-color: #BBB #888 #888 #CCC; color: #444;
	cursor: pointer; font: normal 1em Verdana,sans-serif; margin-top: 5px; padding: 6px; width: auto;
}
input:focus, input:active, textarea:focus, textarea:active { background: #FFFFF5; }
textarea { overflow: auto; }

/* --- 5. IMAGES MAP DEFS --- */
img.bordered { background-color: #FFF; border: 1px solid #DDD; padding: 3px; }
img.left { margin: 0 15px 12px 0; float: left; }
img.right { margin: 0 0 15px 12px; float: right; }
.wishimage, .msgimage { max-width: 100%; height: auto; }


/* ==========================================================================
   CHOCOFANT 2026 - Master Unified Stylesheet (Del 2: Layout & Struktur)
   ========================================================================== */

/* --- 6. LAYOUT & CONTAINERE (COMPUTER-VISNING) --- */
.center_wrapper {
	margin: 0 auto;
	width: 855px;
}

#header {
	background: #35322B url('/2026/public/img/backgrounds.gif') repeat-x 0 0;
	padding-top: 8px;
}

/* Toplinks */
#toplinks {
	background: #353530 url('/2026/public/img/toplinks.gif') no-repeat left top;
	color: #554;
	float: right;
	font-size: 0.9em;
	height: 27px;
	width: 230px;
}
#toplinks_inner {
	padding-top: 3px;
	text-align: center;
}
#toplinks a {color: #887;}
#toplinks a:hover {color: #DDC;}

/* Site title */
#site_title {
	color: #998;
	padding: 0 0 16px;
}
#site_title a {
	color: #FFF;
	text-decoration: none;
}
#site_title a:hover {color: #FFB;}
#site_title h1 span {color: #CCB;}

/* Navigation */
#navigation ul, #navigation li {display: inline;}
#navigation, #navigation a {background: #958573 url('/2026/public/img/backgrounds.gif') repeat-x 0 -222px;}
#navigation a {
	border-right: 1px solid #AFA69C;
	color: #654;
	float: left;
	font: bold 1em Georgia,Tahoma,sans-serif;
	margin-right: 1px;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
}
#navigation li:first-child a {border-left: 1px solid #AFA69C;}
#navigation a:hover, #navigation li.current_page_item a {
	background-position: 0 -294px;
	color: #543;
}

/* Main Content & Sidebar Wrapper */
#main_wrapper_outer {background: url('/2026/public/img/grain.gif');}
#main_wrapper_inner {
	background: url('/2026/public/img/main_wrapper_inner.gif') repeat-x left top;
	line-height: 1.4em;
	padding: 24px 0;
}
#main {
	float: left;
	font: normal 0.9em Verdana,sans-serif;
	width: 540px;
}
#main ol, #main ul {margin: 0 0 1.2em 1.6em;}
#main ul li {list-style: disc;}
#main ol li {list-style: decimal;}
#main li {padding: 2px 0;}

#sidebar {
	float: right;
	color: #665;
	width: 286px;
	border-left: 1px solid #CCB;
}
#sidebar_content {padding-left: 25px;}
#sidebar a {color: #665;}
#sidebar a:hover {color: #C40;}

/* --- 7. DASHBOARD (BUNDSEKTION) --- */
#dashboard {
	background: #DDD url('/2026/public/img/grain_dark.gif');
	border-top: 1px dashed #C0C0B0;
	clear: both;
}
#dashboard_content {
	padding: 16px 0 22px;
	display: flex;
}
#dashboard .col3 {width: 255px;}
#dashboard .col3mid {width: 337px;}
#dashboard .col3mid .col3_content {
	border-left: 1px solid #CCB;
	border-right: 1px solid #CCB;
	padding: 0 20px;
	margin: 0 20px;
}
#dashboard li {
	color: #887;
	padding: 5px 0;
	border-top: 1px dashed #C6C6B6;
}
#dashboard li a {
	color: #606050;
	text-decoration: none;
}
#dashboard li a:hover {
	color: #332;
	text-decoration: underline;
}

/* Footer links */
#footer {
	color: #AA9;
	padding: 12px 0;
	clear: both;
}
#footer a {color: #BBA;}
#footer .right, #footer .right a {
	color: #777;
	text-decoration: none;
}
#footer a:hover {color: #CCB;}

/* --- 8. ARTIKLER & INDHOLDSELEMENTER --- */
.post {margin-bottom: 24px;}
.post_title h2 {font-size: 2.2em; color: #332;}
.post_title a, .post_date a {text-decoration: none;}
.post_date a:hover, .post_meta a:hover {text-decoration: underline;}
.post_date {
	color: #777;
	margin-bottom: 14px;
}
.post_date a {color: #444;}

.post_meta {
	background: url('/2026/public/img/grain_light.gif');
	border: 1px solid #E5E5D5;
	color: #776;
	font-size: 0.9em;
	padding: 8px 10px;
}
.post_meta a {color: #665;}
.post_meta a:hover {color: #001;}

/* Separatører */
.content_separator, .archive_separator {
	background: #D6D6C6;
	clear: both;
	color: #FFE;
	display: block;
	font-size: 0;
	height: 1px;
	line-height: 0;
	margin: 12px 0 24px;
}
.archive_separator {margin: 0 0 12px;}

/* Arkiv & Thumbnails */
.archive_pagination {margin-bottom: 1.6em;}
.archive_post {margin-bottom: 1em;}
.archive_post_date {
	background: url('/2026/public/img/grain_light.gif');
	border-bottom: 1px solid #C5C5B5;
	border-right: 1px solid #CFCFBF;
	float: left;
	margin-right: 12px;
	padding: 3px 0 5px;
	text-align: center;
	width: 44px;
}
.archive_post_day {font: normal 1.8em Georgia,serif;}

.thumbnails {margin: 0 -0 2em -8px;}
.thumbnails a.thumb {	
	background: url('/2026/public/img/grain_dark.gif');
	display: block;
	float: left;
	margin: 0 0 8px 8px;
	padding: 3px;
}
.thumbnails a.thumb:hover {background: #C6C6BA;}
.thumbnails .thumb img {display: block;}

/* Bokse & Kommentarer */
.box {margin-bottom: 1.5em;}
.box_title {
	background: url('/2026/public/img/grain_dark.gif');
	color: #665;
	font-weight: bold;
	padding: 5px 8px;
}
.box_content {padding: 8px 0 8px;}
.box li {
	border-top: 1px solid #DDC;
	padding: 4px 6px;
}
.box li:first-child {border-top: none;}

div.comment_list {
	border-top: 1px solid #D6D6C6; 
	margin: 1em 0 2em;
}
.comment {
	border-bottom: 1px solid #D6D6C6;
	padding-top: 10px;
}
.comment_date {
	font-size: 0.9em;
	padding-top: 4px;
}
.comment_date a {
	color: #665;
	text-decoration: none;
}
.comment_date a:hover {
	color: #001;
	text-decoration: underline;
}
.comment_body {padding-top: 4px;}
.comment_gravatar {width: 48px;}
.comment_gravatar img {
	background: #FFF;
	border: 1px solid #DDD;
	padding: 2px;
}
.comment_author {padding-top: 3px;}

/* Element-hjælpere */
.left {float: left;}
.right {float: right;}
.clear, .clearer {clear: both;}
.clearer {
	display: block;
	font-size: 0;
	line-height: 0;	
}
.legend, blockquote, #sidebar {min-height: 0.01%;}

/* ==========================================================================
   CHOCOFANT 2026 - Master Unified Stylesheet (Del 3: Login, Wishes & Mobil)
   ========================================================================== */

/* --- 9. RETTET LOGIN-DESIGN (INTEGRERET MED RETRO-FARVER) --- */
.login {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  -webkit-transform: none !important;
  transform: none !important;
  width: 100% !important;
  max-width: 450px;
  background: #F6F6F2; /* Varm creme/sandfarve der matcher dine ønske-kort */
  border: 1px solid #E0E0D4;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 40px auto;
  overflow: hidden;
  display: flex;
}

.login-box {
  width: 100%;
  padding: 25px 35px;
  font-family: Georgia, sans-serif; /* Matcher din sidetypografi */
}

.login-box h2 {
  font-size: 2.2em;
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 25px;
  text-align: center;
  color: #332; /* Mørkebrun i stedet for kulsort */
}

/* Inputfelter med dæmpet baggrund */
.login-box fieldset input {
  width: 100%;
  height: 44px;
  color: #332;
  padding: 10px 40px 10px 12px;
  border-radius: 4px;
  font-size: 16px;
  background-color: #FFF; /* Rent hvidt indeni for læsbarhed */
  border: 1px solid #CCB;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
  box-sizing: border-box;
}

/* Fokus-farve der matcher din stil */
.login-box fieldset input:focus {
  border-color: #958573; /* Svarer til din menu-farve */
  background-color: #FFFFF5; /* Svag gul glød som dine andre input-fokusser */
}

/* Den grønne Log ind-knap dæmpes til den flotte menu-grønne/salvie tone */
.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  background: #607d64; /* Den nye, moderne afdæmpede grønne nuance */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: 10px;
  box-sizing: border-box;
}

.btn-login:hover {
  background: #506a53;
}

/* Annuller-knappen tones ind med dit web-tema */
.btn-login-cancel {
  flex: 1;
  display: block;
  padding: 12px;
  border: 1px solid #CCB;
  border-radius: 4px;
  color: #665 !important;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  background: #E9E8E2; /* Matcher dine standardknapper */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  box-sizing: border-box;
  cursor: pointer;
}

.btn-login-cancel:hover {
  background: #DDC;
  color: #332 !important;
}

/* Sørger for at knapperne stables på mobilen, så de er nemme at ramme */
@media only screen and (max-width: 480px) {
  .login-form-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- 10. ØNSKESEDDEL FEED & ENKELTE ØNSKER (2026 Klasser) --- */
.wish-card {
  background: #F6F6F2;
  border: 1px solid #E0E0D4;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 25px;
}
.wish-owner-tag {
  margin: -5px 0 10px 0;
  color: #888;
  font-style: italic;
  font-size: 1.1em;
}
.wish-content-wrapper {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

/* Gør at billed-containeren fylder knap halvdelen af ønskekortet uden afstand til teksten */
.wish-img-container {
  flex-shrink: 0 !important;
  width: 45% !important;     /* Fylder 45% af den samlede bredde */
  max-width: none !important; /* Fjerner begrænsningen */
  margin-right: 0 !important; /* RETTELSE: Fjerner alt margin/luft til højre */
}

/* Sørger for at selve billedet strækker sig fuldt ud i containeren */
.wish-img-container img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* Sørger for at tekstområdet tager resten af pladsen */
.post_body {
  flex-grow: 1;
}


.wish-price {
  margin-top: 8px;
  color: #C40;
  font-weight: bold;
  font-size: 1.2em;
}
.wish-actions, .form-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn-action {
  display: inline-block;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 4px;
  color: white !important;
  font-family: Verdana, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}
.btn-action.reserve { background-color: #79b52c; }
.btn-action.cancel { background-color: #6c757d; }
.btn-action.edit { background-color: #ffc107; color: #212529 !important; }
.btn-action.delete { background-color: #dc3545; }
.btn-action.activate { background-color: #17a2b8; }

/* Oprettelsesformular */
.wish-form-box {
  background: #F6F6F2;
  border: 1px solid #E0E0D4;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  width: 100%;
}
.vertical-form .form-group {
  margin-bottom: 15px;
}
.vertical-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-family: Verdana, sans-serif;
}
.vertical-form input[type="text"], 
.vertical-form input[type="url"], 
.vertical-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #CCB;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

/* ==========================================================================
   11. RESPONSIVT MOBILDESIGN (AKTIVERES VED SKÆRMBREDDE UNDER 768PX)
   ========================================================================== */
@media only screen and (max-width: 768px) {

  /* --- RETTELSE AF TOPMENU FORKERT SPLIT --- */
  
  /* 1. Nulstil computerens baggrundsbillede på selve menulinjen og giv den en flot, ensartet mørk farve */
  #navigation {
    background: #35322B !important; /* Den varme, mørkebrune nuance fra din header */
    display: block !important;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
  }

  /* 2. Fjern billedsplittet fra menulinkene og giv dem en rolig farvetone, der passer til temaet */
  #navigation a {
    float: none !important;
    display: block !important;
    background: #4a453b !important; /* Dæmpet retro-brun tone for de enkelte knapper */
    color: #E9E8E2 !important;       /* Lys creme farve til teksten for høj kontrast */
    border-right: none !important;
    border-bottom: 1px solid #35322B !important; /* Mørk adskillelseslinje mellem knapperne */
    text-align: center !important;
    padding: 14px 12px !important;
    font-family: Georgia, serif !important;
  }

  /* 3. Fjern kanten på det første link */
  #navigation li:first-child a {
    border-left: none !important;
  }

  /* 4. Skab en flot og markant farveeffekt, når man trykker på et link eller står på den aktive side */
  #navigation a:hover, 
  #navigation li.current_page_item a {
    background: #607d64 !important; /* Din smukke støvede salviegrønne signaturfarve */
    color: #FFF !important;
  }

  /* Håndtering af login-skærm på mobil */
  .login {
    width: 92% !important;
    max-width: 400px;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    -webkit-transform: none !important;
    transform: none !important;
    margin: 40px auto;
  }
  .login-box {
    padding: 20px 25px;
  }

  /* Gør hele hovedstrukturen flydende */
  .center_wrapper {
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }
  #main, #sidebar {
    width: 100% !important;
    float: none !important;
    border-left: none !important;
  }
  #sidebar_content {
    padding-left: 0 !important;
  }

  /* Omdiriger menulinks til brede mobilknapper */
  #navigation a {
    float: none !important;
    display: block !important;
    border-right: none !important;
    border-bottom: 1px solid #AFA69C;
    text-align: center;
    padding: 14px 12px;
  }
  #navigation li:first-child a {
    border-left: none !important;
  }

  /* Flyt ønske-billeder op over teksten */
  .wish-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  img.left, img.right {
    float: none !important;
    margin: 0 0 15px 0 !important;
  }

  /* Knapper forstørres til store trykflader på mobilen og får moderne farver */
  .wish-actions, .form-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-action {
    display: block !important;
    text-align: center;
    padding: 14px !important;
    font-size: 13px !important;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px !important;
    text-shadow: none !important;
    font-family: inherit;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
  }
  
  /* MODERNE FARVEPALET TIL KNAPPER */
  .btn-action.reserve { background-color: #607d64 !important; } /* Smuk, afdæmpet nordisk grøn */
  .btn-action.cancel { background-color: #7e7e74 !important; }  /* Varm, neutral gråbrun */
  .btn-action.edit { background-color: #d1a153 !important; color: #FFF !important; } /* Elegant dæmpet guld/okker */
  .btn-action.delete { background-color: #b85c4c !important; } /* Blød, moderne terracotta rød */
  .btn-action.activate { background-color: #4a7a8c !important; } /* Støvet petroleumsblå */

  /* TEKSTKONTRAST & MODERNE PRIS-TENT PÅ MOBIL */
  .post_title h2 {
    font-size: 1.8em !important;
    color: #2b2b25 !important;
  }
  .wish-price {
    font-size: 1.3em !important;
    color: #b85c4c !important; /* Matcher den nye bløde røde tone */
    margin-top: 10px !important;
  }
  .status-reserved {
    color: #b85c4c !important;
    font-weight: bold;
  }
  .status-free {
    color: #607d64 !important;
    font-weight: bold;
  }
  
  /* Knæk dashboardet i bunden til én spalte */
  #dashboard_content {
    flex-direction: column;
    gap: 20px;
  }
  #dashboard .col3, #dashboard .col3mid {
    width: 100% !important;
  }
  #dashboard .col3mid .col3_content {
    border-left: none !important;
    border-right: none !important;
    margin: 0;
    padding: 0;
  }

  /* --- 2026 BILLEDFIKSER OG SKALERING --- */
  .wish-img-container {
      display: block;
      margin-bottom: 15px;
      max-width: 100%;
  }

  /* Tvinger alle billeder i ønsker og artikler til at tilpasse sig containeren */
  .wish-img-container img, .wishimage, .msgimage {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      display: block;
      border: 1px solid #DDD;
      background-color: #FFF;
      padding: 3px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  /* --- OPDATERET FIX: RETTER BREDDE PÅ INPUT-BOKSE --- */
  .wish-form-box {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 20px !important; /* Giver mere luft i siderne af selve kassen */
  }

  /* Retter almindelige tekstfelter, knapper og tekstområder til en smallere bredde */
  .wish-form-box input[type="text"],
  .wish-form-box textarea,
  .wish-form-box select {
    width: 90% !important; /* Ændret fra 100% for at gøre dem smallere */
    max-width: 450px !important; /* Sikrer de ikke bliver for brede på store skærme */
    margin: 0 auto 15px auto !important; /* Centrerer boksene og giver afstand i bunden */
    display: block !important; /* Nødvendigt for at centreringen virker */
    box-sizing: border-box !important;
    padding: 10px !important;
    font-size: 16px !important; /* Forhindrer irriterende iOS-autozoom */
  }

  /* Tvinger selve fil-vælger-feltet til samme bredde */
  .wish-form-box input[type="file"] {
    width: 90% !important; /* Ændret fra 100% */
    max-width: 450px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    padding: 5px 0 !important;
  }

  /* Rammer selve "Vælg fil"-knappen inde i browseren */
  .wish-form-box input[type="file"]::-webkit-file-upload-button,
  .wish-form-box input[type="file"]::file-selector-button {
    width: 100% !important; /* Denne skal forblive 100% af sit overordnede fil-felt */
    box-sizing: border-box !important;
    padding: 12px !important;
    font-size: 14px !important;
    margin-bottom: 8px;
    display: block;
  }

  /* Justering af gem-knappen i bunden, så den matcher bredden på felterne */
  .wish-form-box .btn-login {
    width: 90% !important; /* Ændret fra 100% */
    max-width: 450px !important;
    margin: 15px auto 0 auto !important;
    box-sizing: border-box !important;
    padding: 14px !important;
    font-size: 16px !important;
    display: block !important;
  }


}
