
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #17181b;
    color: whitesmoke;
    font-size: 14px;
    font-family: sans-serif;
}

#main-container {
    display: flex;
    justify-content: space-between;
}

#main-container > div {
    width: 33%;
    padding: 10px;
}

#main-container > div > div {
    padding: 10px;
    background-color: #323336;
    border-radius: 10px;
    min-height: 320px;
}

#main-container > div > div:not(:first-child) {
    margin-top: 20px;
}

.naslov {
    text-align: center;
    font-size: 1.5rem;
    overflow-x: auto;
}

.all-topics-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[placeholder]:hover::-webkit-input-placeholder { color: rgba(255,255,255,.4); }
[placeholder]:focus::-webkit-input-placeholder { color: transparent; }

[placeholder]:hover::-moz-placeholder { color: rgba(255,255,255,.4); }
[placeholder]:focus::-moz-placeholder { color: transparent; }

[placeholder]:hover:-ms-input-placeholder { color: rgba(255,255,255,.4); }
[placeholder]:focus:-ms-input-placeholder { color: transparent; }

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    color: #fff;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input[type="text"] {
    display: block;
    width: 200px;
    padding: 6px 10px 6px 10px;
    border: 1px solid black;
    background-color: #252628;
}

textarea {
    display: block;
    width: 400px;
    height: 150px;
    padding: 8px 12px 10px 12px;
    border: 1px solid black;
    background-color: #252628;
}

.flex-container {
    display: flex;
}

.podatki-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.podatki-container p {
    font-size: 1.2rem;
    width: 190px;
}

.podatki-container > div {
    margin-left: 14px;
    width: 100%;
}

.podatki-container input,
.podatki-container select {
    width: 100%;
}

.podatki-container input[type="checkbox"] {
    margin: 5px 0;
}

.flex-center {
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-end {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

#gumb-povezi {
    width: 100%;
}

.gumb-dodatne-topic-nastavitve {
    width: 200px;
}

button {
    display: block;
    width: 150px;
    padding: 6px 0 6px 0;
    text-align: center;
    border: 1px solid black;
    background-color: #252628;
}

button:hover {
    background: #131414;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: black
}

select {
    width: 200px;
    padding: 5px 10px 5px 10px;
    border: 1px solid black;
    background-color: #252628;
    outline:none;
}

.radio {
    display: flex;
    padding-right: 10px;
    align-items: center;
    user-select: none;
}

.radio:hover label {
    text-decoration: underline;
}

.radio label {
    padding-left: 10px;
}

.radio:focus-within {
  color: whitesmoke;
}

input[type="radio"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: #252628;
    /* Not removed via appearance */
    margin: 0;

    font: inherit;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid black;
    border-radius: 50%;
    transform: translateY(-0.075em);

    display: grid;
    place-content: center;
}

input[type="radio"]::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em whitesmoke;
    /* Windows High Contrast Mode */
    background-color: CanvasText;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

.text-container {
    color-scheme: dark;
    margin-top: 10px;
    width: 100%;
    resize: vertical;
    background-color: #252628;
    border: 1px solid black;
    height: 180px;
    padding: 8px 12px 10px 12px;
    overflow: hidden;
    overflow-y: auto;
}

#message-container,
#error-container {
    height: 230px;
}

.message-button-container {
    margin-top: 10px;
}

.message-button-container > textarea {
    width: 100%;
    height: 30px;
    overflow: hidden;
    min-height: 30px;
    resize: vertical;
    padding: 8px 12px;
    border-bottom: none;
}

.message-button-container > div {
    display: flex;
    justify-content: flex-end;
}

.message-button-container > div > select {
    width: fit-content;
}

.message-button-container > div > select,
.message-button-container > div > button {
    width: 100%;
}

input[id^="radio-incoming"] ~ label{
    color: #d9d962;
}

input[id^="radio-outgoing"] ~ label{
    color: orange;
}

.text-container div:hover {
    background-color: #303030;
}

.hide {
    display: none;
}


@media only screen and (max-width: 1024px) {
    #main-container {
        display: block;
    }

    #main-container > div {
        width: 100%;
    }
}

.topic-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    box-shadow: rgb(0 0 0 / 42%) 0px 0px 10px 0px inset;
    background-color: #2d2d2f;
}

.topic-container > i {
    font-size: 18px;
}

#topic-container-button {
    margin-top: 10px;
}

.hidden {
    display: none;
}

.gumb-close-topic {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #484848;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: whitesmoke;
}

.gumb-close-topic:hover {
    background-color: #131414;
}

#glavni-podatki-container > div {
    width: 340px;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid whitesmoke;
}

.separator:not(:empty)::before {
  margin-right: .25em;
}

.separator:not(:empty)::after {
  margin-left: .25em;
}

.msg-dodatni-podatki {
    color: #606060;
}

.gumb-subscribe-to-topic,
.gumb-start-interval {
    width: 200px;
    --circle-red: #b54f4f;
    --circle-green: #80e780;
}

.gumb-subscribe-to-topic > i,
.gumb-start-interval > i {
    margin-left: 10px;
    color: var(--circle-red);
}

.message-checkbox-container {
    margin-right: 10px;
    user-select: none;
}

.message-checkbox-container:hover label {
    text-decoration: underline;
}

.message-checkbox-container label {
    padding-left: 10px;
}

@media only screen and (max-width: 1590px) {
    .message-checkbox-clear-container {
        width: 100%;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 1024px) {
    .message-checkbox-clear-container {
        width: initial;
    }
}

@media only screen and (max-width: 525px) {
    .message-checkbox-clear-container {
        width: 100%;
        justify-content: space-between;
    }
}


/* scrollbar */
/* width */
::-webkit-scrollbar {
    width: 14px;
    height: 14px
}

/* Track */
::-webkit-scrollbar-track {
    background: #484848;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1; 
}

.text-container > div > p:first-of-type {
    width: calc(100% - 82px);
    overflow-wrap: break-word;
}