@font-face {
    font-family: 'Arial';
    src: url('fonts/ARIAL.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Arial';
    src: url('fonts/ARIALBD.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Arial';
    src: url('fonts/ARIALI.TTF') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Arial';
    src: url('fonts/ARIALBI.TTF') format('truetype');
    font-weight: bold;
    font-style: italic;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    font-size: .875rem;
    line-height: 1.25rem;
}

h1, h2 {
    font-size: 28px;
    color: #222;
    font-weight: normal;
    margin-bottom: 22px;
}
.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}

#wrapper {
    display: flex;
    align-items: stretch;
}
main {
    width: 100%;
    padding: 0 15px;
    min-height: 100vh;
}

/* Tabel */
#table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
#table th {
    color: #595959;
    text-align: left;
}
#table th, #table td {
    padding: 5px;
    font-size: 12px;
}
#table thead {
    border-bottom: 2px solid #ddd;
}
#table tr {
    border-bottom: 1px solid #ddd;
}
#table tfoot {
    background-color: #f0f0f0;
    font-weight: 600;
}
#table tr:hover {
    background-color: #f6f6f6;
}

/* Checkbox */
#table input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #b0b0b0;
    border-radius: 3px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    margin: 0;
    background-color: #fff;
}
#table input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #b0b0b0;
}
#table input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 3px;
    height: 8px;
    border: solid #2196f3;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#status {
    color: #888;
    margin-bottom: 1rem;
}

.error {
    color: red;
}

/* Sidebar */
#sidebar {
    width: 230px !important;
    min-width: 230px;
    padding: .5rem .75rem;
    background-color: #fafafa;
    border-right: 2px solid #1c1c1c14;
}
#sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul#sidebar-menu > li > span {
    font-weight: 700;
    padding: 0 .75rem;
    display: flex;
    align-items: center;
    line-height: 2rem;
    font-size: 14px;
}
ul#sidebar-menu > li > span svg {
    width: 1.25rem;
}
ul#sidebar-menu > li > ul > li > span {
    padding: 0 0.75rem 0 1.25rem;
}
ul#sidebar-menu li span {
    border-radius: 6px;
    display: flex;
    line-height: 2rem;
    cursor: pointer;
}
ul#sidebar-menu li span:hover {
    background-color: #ededed;
}
ul#sidebar-menu li.opened svg {
    transform: rotate(90deg);
}
ul#sidebar-menu li.has-children > span {
    padding-left: 5px;
}


/* Knapper */
.btn {
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 12px 8px;
    display: inline-block;
    border-radius: 4px;
    border: none;
    line-height: normal;
}
.btn-primary {
    color: white;
    text-shadow: 0 -1px #0086b3;
    background-color: #4573D2 !important;
    border-color: transparent;
    box-shadow: none !important;
    transition: all 0.2s ease-in;
}
.btn-primary:hover {
    background-color: #75A0F5 !important;
}
.btn-secondary {
    background: #ebebeb !important;
    box-shadow: none !important;
    transition: all 0.2s ease-in;
    color: #1c1c1c;
    text-shadow: rgba(255,255,255,0.4) 1px 1px 1px;
}
.btn-secondary:hover {
    background-color: #F6F6F6 !important;
}