@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@100&display=swap');

:root {
	--khk-black: #000000;
	--khk-white: #FFFFFF;
	--khk-orage: #FBB040;
	--khk-sil-a: #414042;
	--khk-sil-b: #565759;
	--khk-sil-c: #808285;
}

* {
	margin: 0;
	padding: 0;
	font-family: 'Libre Franklin', sans-serif;
	box-sizing: border-box;
}

body {
    background: var(--khk-black);
    color: var(--khk-white);
}

.clearfix {
    width: 100%;
}

/*
    LOGIN-FORM:
*/

#loginform {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#loginform .app_logo_bar {
    background-color: var(--khk-white);
    width: 100%;
    height: 200px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loginform img.logo {
    width: auto;
    padding: 20px;
}

#loginform .app_title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

#loginform form {
    background: var(--khk-sil-a);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    width: 250px;
    align-items: center;
}

#loginform form .line {
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}

#loginform form .line_title {
    color: var(--khk-orage);
    text-align: center;
}

#loginform form input {
    width: 100%;
    height: auto;
    padding: 5px;
    outline: 0;
    border: 0;
    border-radius: 5px;
    background: var(--khk-sil-b);
    color: var(--khk-white);
    text-align: center;
}

#loginform form input[type="submit"],
.context input[type="submit"],
.context .toolbar .menu_item_btn,
.context .toolbar2 .menu_item_btn,
.archlist td a,
.karta-event td table td a.edit {
    background: var(--khk-orage);
    color: var(--khk-black);
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

/*
    APP:
*/

.mainbox {
    display: flex;
    flex-direction: row;
}

.left_sidebar, .context {
    padding: 20px;
    width: 100%;
}

.left_sidebar {
    min-width: 100px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
}

.left_sidebar .logo {
    background: var(--khk-white);
    border-radius: 5px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left_sidebar .logo img {
    width: 100%;
    height: auto;
    padding: 20px;
}

.left_sidebar .kalendar {
    padding-top: 20px;
}

a, a:active, a:hover {
    text-decoration: none;
    color: var(--khk-white);
}

/*
    APP-> KALENDAR:
*/

.kalendar table {
    width: 100%;
    height: auto;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    background: var(--khk-sil-a);
    border: 1px solid var(--khk-black);
}

.kalendar table tr.year,
.kalendar table tr.year a {
    background: var(--khk-orage);
    color: var(--khk-black);
}

.kalendar table td.full,
.kalendar table td.none {
    color: var(--khk-black);
    display: flex;
    justify-content: center;
    align-items: center;
}

.kalendar table td.full a,
.kalendar table td.none span {
    color: var(--khk-black);
    background: var(--khk-sil-c);
    padding: 2px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kalendar table td.full a {
    font-weight: bold;
    background: var(--khk-white);
}


/*
    APP-> USER:
*/

.user {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    background: var(--khk-sil-a);
    text-align: center;
}


/*
    APP-> MENU:
*/

.menu {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    background: var(--khk-sil-a);
}

.menu .menu_item {
    font-size: 20px;
    background: var(--khk-orage);
    color: var(--khk-black);
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

/*
    CONTEXT:
*/

.context h2 {
    width: 100%;
    height: 100px;
    border-radius: 5px;
    line-height: 100px;
    vertical-align: middle;
    padding-left: 20px;
    margin-bottom: 20px;
    background: var(--khk-sil-a);
}

.context form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.context input,
.context select,
.context textarea {
    background: var(--khk-white);
    color: var(--khk-black);
    font-weight: bold;
    font-size: 12px;
    border-radius: 5px;
    padding: 10px;
}

.context input[type="color"] {
    height: 60px;
}

.context .filtr form {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.context .toolbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
}

.context .toolbar2 {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

.context form .cols {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.context form .projects {
    display: flex;
}

.context form .projects label {
    width: 100%;
    padding: 5px;
    color: var(--khk-black);
    font-weight: bold;
}

.context form .projects input[type="checkbox"] {
    width: 10% !important;
}

.context form .cols .spacer {
    width: 40px;
    text-align: center;
}

/*
    CONTEXT -> month:
*/

.karta-event,
.archlist,
.fm {
    background: var(--khk-sil-a);
    color: var(--khk-white);
    border-radius: 5px;
    width: 100%;
}

.karta-event td,
.archlist td,
.fm td {
    border: 1px solid var(--khk-sil-c);
    text-align: center;
    color: var(--khk-black);
}

.karta-event td:first-child {
    cursor: pointer;
    padding: 10px;
    color: var(--khk-white);
}

.karta-event td.week {
    color: var(--khk-black);
    background: var(--khk-orage);
    font-weight: bold;
}

.karta-event td table td {
    border-radius: 20px;
    padding: 5px;
    margin: 10px;
    color: var(--khk-black) !important;
    text-align: left;
}

.karta-event td table td p.text {
    text-align: justify;
    padding: 10px;
}

.karta-event td table td p.autor {
    text-align: right;
}

.karta-event td table td a.edit {
    padding: 0;
}


/*
    fm
*/

.fm tr th {
    background: var(--khk-orage);
    color: var(--khk-black);
}

.fm tr.hidden {
    background: var(--khk-sil-c);
}

.fm tr.hidden td:nth-child(2) a {
    color: var(--khk-white);
    border-bottom: 2px solid red;
}

.fm tr td {
    color: var(--khk-white);
}

.fm tr td img {
    width: 42px;
    height: 42px;
    padding: 10px;
    filter: invert(1);
}

.umisteni img {
    width: 22px;
    height: 22px;
    padding: 2px;
    filter: invert(1);
}

.umisteni {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 0;
    height: 70px;

}

.umisteni span {
    color: var(--khk-orage);
    padding: 0 2px 0 2px;
    font-size: 40px;
}

.dialog {
    padding: 10px 20px 10px 20px;
    margin:  0 20px 0 20px;
    border-radius: 10px;
    background: var(--khk-sil-b);
    display: none;
}