/* null margins and padding to give good cross-browser baseline */
html,body,address,blockquote,div,form,fieldset,caption,
h1,h2,h3,h4,h5,h6,
hr,ul,li,ol,ul,
table,tr,td,th,p,img,figure {
margin:0;
padding:0;
}

/* dark theme */
/* [data-theme="light"] {
    --font-color: #c1bfbd;
    --link-color:#0a86da;
    --link-white-color:#c1bfbd;
    --bg-color: #333;
} */

/* automatic/manual light mode */
:root {
    --color-bg: #111;
    --color-text: beige;
    --color-textarea-bg: #111222;
    --color-textarea-text: #E5E2DA;
    --color-h1: lightgreen;
    --color-h2: deeppink;
    --color-h3: gold;
    --color-textarea-border: lime;
    --color-input-background: #232327;
    --color-buttons-background: #28292a;
    --color-text-dark: #A6A6A6;
  }
  
  /* automatic dark mode */
  /* ❗️ keep the rules in sync with the manual dark mode below! */
  /* @media (prefers-color-scheme: dark) {
    body {
      --color-bg: #111;
      --color-text: beige;
    }
  }
  
  /* manual dark mode 
  /* ❗️ keep the rules in sync with the automatic dark mode above! */
:root.dark {
    --color-text: beige;
    --color-bg: #28292a;
    --color-textarea-bg: #111222;
    --color-textarea-text: #E5E2DA;
    --color-h1: lightgreen;
    --color-h2: deeppink;
    --color-h3: gold;
    --color-textarea-border: lime;
    --color-input-background: #232327;
    --color-buttons-background: #28292a;
    --color-text: #A6A6A6;
}
  /* manual light mode 
  /* ❗️ keep the rules in sync with the automatic dark mode above! */
:root.light {
    --color-text: black;
    --color-bg: white;
    --color-textarea-bg: #E5E2DA;
    --color-textarea-text: #111222;
    --color-h1: black;
    --color-h2: black;
    --color-h3: black;
    --color-textarea-border: black;
    --color-input-background: white;
    --color-buttons-background: white;
    --color-text: black;
}
  /* use the variables */
body {
    /* background-color: #292929; */
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: sans-serif;
}


/* -------------------------------------------- General START -------------------------------------------- */
textarea {
    /* background-color: #E5E2DA; */
    color: var(--color-text);
    background-color: var(--color-textarea-bg);
    white-space: pre-wrap;
    border: solid 1px var(--color-textarea-border);
    border-radius: 20px;
    max-width: 976px;
    /* color: #f8f8f2; */
    padding: 10px;
    box-sizing: border-box;
}
h1 {
    margin-top: 20px;
    text-align: center;
    color: var(--color-h1);
    margin-bottom: 20px;
    font-size: 40px;
}
header h1 {
    font-size: 40px;
}
h1 img {
  width: 40px;
  height: 40px;
}

h1 a {
    text-decoration: none;
    color: inherit;
}
h2 {
    margin-bottom: 8px;
    color: var(--color-h2);
    font-size: 2rem;
}
h3 {
    color: var(--color-h3);
    font-size: 1.2rem;
}
.wrapper {
    max-width: 920px;
}
.naslov {
    text-align: center;
    color: silver;
    font-family: Impact, Charcoal, sans-serif;
    text-transform: capitalize;
    float: inherit;
}
.wrapper {
    margin: auto;
}
.nodecor a {
    color: beige;
}
.nodecor {
    text-decoration: none;
    color: aliceblue;
}
.nodecor a:visited {
    color: beige;
    text-decoration: none;
}
/* -------------------------------------------- General END -------------------------------------------- */



/* -------------------------------------------- User Container START-------------------------------------------- */
.welcome-user{
    position: absolute;
    top: 0;
    right: 0;
    color: #a4a4a4;
}
.user-container {
	max-width: 650px;
	padding: 10px;
	/* background-color: #282B33; */
    background-color: #00000050;
    box-shadow: 3px 3px 2px 0px rgba(255,255,255,0.2);
    margin: 10px;
	overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #999;
    position: relative;
    padding-left: 150px;
    min-height: 153px;
}

.user-container img {
	/* float: left; */
	width: 130px;
    height: 130px;
    position: absolute;
    top: 10px;
    left: 10px;
    object-fit: cover;
}

.user-container a {
    color: white;
    /* text-decoration: none; */
}

.user-container div {
	float: left;
}
/*font-family: ‘Lucida Console’, Monaco, monospace;*/
.box2 {
  display: inline-block;
  width: 200px;
  height: 100px;
  margin: 1em;
}
.krneki {
    display: flex;
    flex-direction: column;
  }
.login-form {
    display: flex;
    gap: 0.5rem;
    margin: 0 2vw 3rem auto;
}

.login-form input {
    background-color: #535353;
    border: none;
}
.login-button {
    float: left;
    border: 1px;
    border-style: solid;
    border-color: #fff3fa;
    margin-right: 20px;
    background-color: #000;
    color: #fff3fa;
    font-size: 14px;
    cursor: pointer;
    margin: 0 10px;
}
.login-button:hover {
    background-color: #fff3fa;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}
.profile-thumb {
    /* position: absolute;
    top: 110px;
    right: 15px; */
    width: 30px;
    height: 30px;
    vertical-align: middle;
}
.signup-button {
    color: var(--color-textarea-text);
    font-size: 14px;
    text-decoration: none;
    align-self: center;
}
.signup-button:hover {
    text-decoration: underline;
}
/* -------------------------------------------- User Container END -------------------------------------------- */


/*  -------------------------------------------- Habit master START -------------------------------------------- */
.habitbox {
    /* 672px je velikost a4 formata pri 72 ppi */
    /* max-width: 672px; */   
    padding: 20px;
    background-color: #151515;
    color: beige;
    border: 2px;
    border-style: ridge;
    border-color: silver;
    /* white-space: pre-wrap; */
    list-style-type: disclosure-closed;
    list-style-position: outside;
    margin: 15px auto;
}

.habitbox button {
    background-color: lightskyblue;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    overflow: auto;
    margin-top: 8px;
}

.notebook-paper {
    /* width:960px; */
    /* height:1109px; */
    background: linear-gradient(to bottom,#F4F0E8 29px,#d3d3d3 1px);
    /* background-origin: content-box; */
    /* margin:50px auto; */
    background-size: 100% 30px;
    position:relative;
    padding-top:30px;
    border-radius:5px;
    -webkit-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
    -moz-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
    -ms-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
    -o-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
    box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
    font-family: monospace;
    /* font-family: Roboto Slab; */
    font-size: 1rem;
    color: black;
    line-height: 30px;
}
.notebook-paper h2{
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 5px;
    color: var(--color-h2);
    /* font-family: Roboto Slab; */
}

.items .item.done {
    text-decoration: line-through;
}

.items a {
    text-decoration: none;
    color: #fff;
}

.items .done-button {
    display: inline-block;
    font-size: .8em;
    background-color: #d9dfe1;
    color: #363639;
    padding: 3px 6px;
    border: 0;
    opacity: 1;
}
/* -------------------------------------------- Habit master END --------------------------------------------*/

/* -------------------------------------------- Comment board START -------------------------------------------- */
.boardlist {
    margin-bottom: 30px;
    text-align: center;
    color: #ababab;
   /*  display:flex; */
    justify-content: center;
}

.boardlist a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.boardlist a:hover {
    text-decoration: underline;
}
#pisalnik {
    order: 2;
  }
#strong {
    font-weight: bold;
    color: #4d4d4d;
}

.comment-box {
    padding: 2px 0px 10px 5px;
    margin: 4px;
    background-color: beige;
    position: relative;
    color: black;
    max-width: 800px;
}

.postNum a {
    text-decoration: none;
    color: #000;
}
:target {
    background: #C2CFCF !important;
}

.tekst {
    /* padding-top: 5px; */
    /* padding-left: 10px; */
    margin: 5px 40px 5px 10px;
}

.thumb img {
    float: left;
    padding: 2px;
    /* margin: 5px; */
    box-shadow: 0px 0px 15px 0px rgb(99, 99, 99);
    /* width: 100px;
    height: 100px;
    object-fit: cover; */
}
.comment-box p {
    color: black;
}

.edit-form {
    position: absolute;
    top: 20px;
    right: 0;
}

.edit-form button {
    /* width: 45px; */
    /* height: 22px; */
    border: none;
    color: #000;
    background: none!important;
    opacity: 0.7;
}

.edit-form button:hover {
    opacity: 1;
    cursor: pointer;
    text-decoration: underline;
}

.delete-form {
    position: absolute;
    top: 0px;
    right: 0;
}

.delete-form button {
    height: 25px;
    border: none;
    color: #000;
    background: none!important;
    opacity: 0.7;
}

.delete-form button:hover {
    opacity: 1;
    cursor: pointer;
    text-decoration: underline;
}

.reply-form {
    display: inline;
}

.reply-form button {
    border: none;
    color: #000;
    background: none!important;
    opacity: 0.7;
}

.reply-form button:hover {
    opacity: 1;
    cursor: pointer;
    text-decoration: underline;
}

.reply-form-public {
    position: absolute;
    top: 0px;
    right: 55px;
}

.reply-form-public button {
    width: 50px;
    height: 25px;
    border: none;
    color: #000;
    background: none!important;
    opacity: 0.7;
}

.reply-form-public button:hover {
    opacity: 1;
    cursor: pointer;
    text-decoration: underline;
}

.btn {
    width: 100px;
    height: 30px;
    background-color: #282828;
    border: none;
    color: #fff;
    font-family: fantasy;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 5px;
}
/* .bottom {
    position:absolute;
    bottom:0;
    width: 100%;
    margin:36px auto;
} */
/* -------------------------------------------- Comment board END -------------------------------------------- */


/*  --------------------------------------------  Position of elements START -------------------------------------------- */
.gordesno {
    position: absolute;
    float: right;
    top: 0;
    right: 0;
}

.center {
    margin: auto;
    margin-top: -100px;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
}

.center img {
    padding-top: 50px;
}

.dol {
    position: absolute;
    bottom: 0px;
}

.levikot {
    float: left;
    position: absolute;
    bottom: 0;
    left: 0;
}
/*  --------------------------------------------  Position of elements END -------------------------------------------- */


/*  ----------------------------------------- Gumbi  START ----------------------------------------- */

/* ----------------------------------------- START CUSTOM SLIDER ------------------------------------------------- */
.switch {
    position: absolute;
    display: inline-block;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 1.5rem;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #656565;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 1rem;
    width: 1rem;
    left: 4px;
    bottom: 0.25rem;
    background-color: #999999;
    -webkit-transition: .4s;
    transition: .4s;
    top: 0.25rem;
  }
  
  input:checked + .slider {
    /* background-color: #2196F3;  MODRA */
    background-color: #F0F0F0;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .darkmode-icon {
    position:absolute; 
    top: 36px; 
    right:88px; 
    height: 14px
  }
  .lightmode-icon {
    position:absolute; 
    top: 36px; 
    right:10px; 
    height: 14px
  }
/* ------------------------------------ END CUSTOM SLIDER ------------------------------------------- */

.gumbi {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 18px;
    color: aqua;
}

.gumbi a {
    text-decoration: none;
    color: dimgrey;
}

.gumbi p {
    font-family: 'Open Sans, sans-serif';
    text-align: center;
    text-transform: uppercase;
}
/* ------------------------------------ Gumbi END  ------------------------------------------- */


#tekst {
    color: beige;
}

#demo {
    color: beige;
}

.naslovnica {
    text-align: center;
    padding-top: 60px;
    display: block;
/*    overflow: hidden; zty instead of padding*/
}

/* ------------------------------------ Random START ------------------------------------ */
.container {
    padding-top: 30px;
    padding-bottom: 30px;
    border: 2px solid black;
}
.hidden {
  display: none;
}
/* table {
    margin-left:auto;
    margin-right:auto;
} */
/* img,fieldset {
    border:none;
} */
/* .article-image {
    display:block;
    margin:auto;
} */
figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: lightgray;
}
.msgpost {
    text-align: center;
    display: block;
    width: 200px;
    margin: 50px auto;
    border: 3px solid red;
    padding: 5px;
}

.objava {
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

.postinfo {
    display: inline-block;
    word-spacing: 5px;
}

.postcontent {
    padding-left: 50px;
}
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

.inner {
  padding: 30px;
}

.material-icons.md-18 { font-size: 18px; }
/* Random END */

#db-show {
    /* ta zadeva bi lahk bla uporabljena v habit masterju nevem */
    padding: 20px 5px 0px 5px;
}
/* ------------------------------------ Random END ------------------------------------ */

/*  ------------------------------------------------- MEDIA QUERIES START ------------------------------------------------- */
@media (max-width: 520px){
    #db-show {
        clear: both;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
  textarea {
      width: 90vw;
      resize: none;
  }
  h1 {
    text-align: left;
  }
}

@media (min-width: 481px) {
  .comment-box {
    min-width: 415px;
  }
}

@media (width>500px){
    .notebook-paper{
        padding-left:60px;
    }
    .notebook-paper:before {
        content:'';
        display:block;
        position:absolute;
        z-index:1;
        top:0;
        left:56px;
        height:100%;
        width:1px;
        /* background:#db4034; */
        background: #ccc;
    }
    /* .habitbox li {
        margin-left: 1rem;
    } */
}

/* @media (prefers-color-scheme: light) {
    body {
    background-color: #fff;
    }
} */
@media (width < 450px) {
    .login-form {
        flex-direction: column;
        margin: 3rem auto 3rem;
        align-items: center;
    }
    .darkmode-icon {
        display:none;
    }
    .lightmode-icon {
        display:none;
    }
    .switch{
        right: 1rem !important;
    }
}

@media print {
    .no-print, .no-print * {
        display:none !important;
    }
}
/*  ------------------------------------------------- MEDIA QUERIES END ------------------------------------------------- */