﻿/* ==================== GLOBAL ==================== */
body {
    font-family: Verdana, sans-serif;
    font-size: 0.8em;
    color: #3D3D5C;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ====== WRAPPER — prilagodljiv, širok, a centriran ====== */
.wrapper {
    width: 98%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* ==================== LAYOUT BLOKI ==================== */

div#header, div#footer, div#content, div#post {
    border: 0px solid grey;
    margin: 5px 0;
    padding: 8px;
    background-color: white;
}

div#header, div#footer {
    color: white;
    background-color: #8585AD;
}

div#post {
    margin: 0;
    padding: 0;
    background-color: white;
}

/* ==================== TRAKOVI ==================== */
.trak {
    width: 100%;
    line-height: 2;
    color: white;
    background-color: #8585AD;
    margin-bottom: 5px;
}

.trakv {
    width: 100%;
    line-height: 1;
    color: white;
    background-color: #8585AD;
    margin-bottom: 5px;
    padding: 10px;
	box-sizing: border-box;
}

.centered {
    text-align: center;
}


/* ==================== MENU (NOVI FLEX SISTEM) ==================== */

#menu {
    text-align: right;
}

/* glavni UL → flex: prelomi se med zavihki, nikoli ZNOTRAJ njih */
#menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 15px;
    justify-content: flex-end;   /* <<<<< KLJUČNO! */
    margin: 0;
    padding: 0;
}


/* posamezni <li> je zdaj flex element; inline NI več potreben */
#menu ul li {
    list-style: none;
    margin: 0;
}

/* lep zavihek, ki se NE lomi znotraj (2023/2024 ostane skupaj) */
.tab {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    padding: 0 2px;
    line-height: 1.2;
}

/* ==================== TABELA ==================== */

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
}

/* ---- stil celic v tabeli---- */

.lt {
  background-color: #E0E0EB;
  text-align: right;
  vertical-align: top;
  border: 1px solid white;
  width: 15%;
}

.cs {
  background-color: white;
  text-align: left;
  vertical-align: top;
  border: 1px solid #E0E0EB;
  width: 80%;
}

.dt {
  background-color: #E0E0EB;
  color: white;
  text-align: center;
  vertical-align: middle;
  border: 1px solid white;
  width: 5%;
}

.sct {
  background-color: #E0E0EB;
  text-align: center;
  vertical-align: top;
  border: 1px solid white;
}

.srt {
  background-color: #E0E0EB;
  text-align: right;
  vertical-align: top;
  border: 1px solid white;
}

.slt {
  background-color: #E0E0EB;
  text-align: left;
  vertical-align: top;
  border: 1px solid white;
}

.cds {
  background-color: white;
  text-align: left;
  vertical-align: top;
  border: 1px solid #E0E0EB;
  width: 85%;
}


.lstO {background-color:#E0E0EB; text-align:right; vertical-align:top; border:1px solid white; width:20%;}
.dstO {background-color:white; text-align:left; vertical-align:top; border:1px solid #E0E0EB; width:80%; padding-bottom:0px;}
.dst1 {background-color:#E0E0EB; text-align:left; vertical-align:top; border:1px solid white; width:80%; padding-bottom:0px;}
.lstL {background-color:#E0E0EB; text-align:right; vertical-align:bottom; border:1px solid white; width:30%;}
.dstL {background-color:white; text-align:left; vertical-align:top; border:1px solid #E0E0EB; width:70%; padding-bottom:0px;}
.lstpr {background-color:white; text-align:right; vertical-align:center; border:0px solid white; width:30%;}
.dstpr {background-color:white; text-align:left; vertical-align:center; border:0px solid white; width:70%;}

/* ==================== LINKI ==================== */

a {color: #A3A3C2; text-decoration: none;}
a:hover {color: #3D3D5C;}

/* ==================== CENTER ==================== */

.center {
    margin: 0 auto;
    text-align: center;
}

textarea {
    margin-top: 5px;
    width: 100%;
}

/* ==================== GUMBI (accordion) ==================== */

button.buttonlink,
button.accordion,
button.saccordion {
    background-color: #E0E0EB;
    color: #1f1f2e;
    cursor: pointer;
    padding: 3px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #efedfa;
    margin: 0;
    border-radius: 4px;
    text-align: left;
    font-weight: normal;
    outline: none;
    font-size: 12px;
    font-family: Arial;
    transition: 2s;
    box-sizing: border-box;
}

button.buttonlink:after,
button.accordion:after,
button.saccordion:after {
    content: '\21E9';
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

/* Aktivni / hover accordion */
button.accordion.active,
button.accordion:hover,
button.saccordion.active,
button.saccordion:hover {
    background-color: #d0d0e1;
}

button.accordion.active:after,
button.saccordion.active:after {
    content: "\21E7";
}

/* ==================== PANELI ==================== */

div.panel {
    padding: 0 15px;
    border: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    background-color: #efedfa;
    color: #1f1f2e;
    max-height: 0;
    overflow: hidden;
    transition: 0.8s ease-in-out;
    border-radius: 4px;
    opacity: 0;
    text-align: justify;
    font-family: Verdana;
    font-size: 11px;
    box-sizing: border-box;
}

div.panel.show {
    opacity: 1;
    max-height: 3000px;
}

/* ==================== IZREK (quote rotator) ==================== */

#izrek {
    transition: opacity 2s ease-in-out;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#izrek.fade-out {
    opacity: 0;
}

/* ======== IZ STAREGA stil01.css — ZA POVZETEK/ARHIV ======== */

.arh1 {
    background-color: white;
    text-align: left;
    vertical-align: center;
    border: 1px solid #E0E0EB;
    width: 20%;
    padding-bottom: 0px;
}

.arh2 {
    background-color: white;
    text-align: left;
    vertical-align: center;
    border: 1px solid #E0E0EB;
    width: 65%;
    padding-bottom: 0px;
}

.arh3 {
    background-color: white;
    text-align: left;
    vertical-align: center;
    border: 1px solid #E0E0EB;
    width: 15%;
    padding-bottom: 0px;
}