﻿
@font-face {
    font-family: century_gothic;
    src: url(../fonts/century_gothic.woff);
}

* {
    font-family: century_gothic;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ul, li {
    list-style: none;
}

body {
    font-size: 14px;
}
@media (max-width: 576px) {
    body {
        font-size: 10px;
    }
    .form-control {
        font-size: 10px;
        padding: 3px;
        height: unset;
    }
    .container, .container-fluid {
        padding: 5px;
    }
}

[theme=light] body {
    color: #252323;
    background-color: #f5f4f2;
}

[theme=dark] body {
    color: #e0deda;
    background-color: #252323;
}

h1 {
    line-height: 64px;
    font-size: 20px;
}

input {
    color: #252323;
    background-color: #f5f4f2;
    border: 1px solid #d1d5da;
}
    input [readonly] {
        background-color: #f5f4f2;
    }
    input[type=checkbox], input[type=radio] {
        margin: 5px 5px 0 0;
    }

[theme=light] input {
    color: #252323;
    background-color: #f5f4f2;
    border: 1px solid #d1d5da;
}
    [theme=light] input[readonly] {
        background-color: #f5f4f2;
    }

[theme=dark] input {
    color: #e0deda;
    background-color: #252323;
    border: 1px solid #42413d;
}
    [theme=dark] input[readonly] {
        background-color: #252323;
    }

select {
    color: #252323;
    background-color: #f5f4f2;
    border: 1px solid #d1d5da;
}
[theme=light] select {
    color: #252323;
    background-color: #f5f4f2;
    border: 1px solid #d1d5da;
}
[theme=dark] select {
    color: #e0deda;
    background-color: #252323;
    border: 1px solid #42413d;
}

/* Layout */

header {
    position: fixed;
    display: block;
    width: 100%;
    min-width: 300px;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
[theme=light] header {
    color: #252323;
    background-color: #f5f4f2;
}

[theme=dark] header {
    color: #e0deda;
    background-color: #252323;
}

main {
    position: absolute;
    width: 100%;
    padding: 60px 0 0 0;
    min-height: 100vh;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: -100;
    font-size: 12px;
}






/* Login */

#login__back {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -100;
}

.limiter {
    width: 100%;
    margin: 0 auto;
}
.login__container {
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.login__card {
    border-radius: 10px;
    overflow: hidden;
    padding: 50px 50px 33px 50px;
    width: 450px;
    text-align: center;
    background-color: transparent;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: box-shadow .3s, padding .3s;
}
    .login__card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.4);
    }

@media (max-width: 576px){
    .login__card {
        padding: 50px 15px 33px 15px;
    }
}

.login__brend {
    width: 128px;
    height: 128px;
    stroke-width: 0.4;
    stroke: black;
}
.login__description {
    margin-bottom: 10px;
}

.login__textbox {
    text-align: left;
    display: grid;
    grid-template-columns: 7% 93%;
    position: relative;
    background-color: transparent;
    margin-bottom: 10px;
    height: 40px;
}
    .login__textbox svg {
        width: 16px;
        height: 16px;
        margin: 12px 10px;
        z-index: 100;
        stroke-width: 1;
        stroke: black;
        transition: margin .3s;
    }

    .login__textbox input {
        position: absolute;
        outline: none;
        background: none;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid black;
        width: 100%;
        height: 100%;
        color: black;
        padding: 0 10px 0 40px;
        transition: border-bottom .3s;
    }
        .login__textbox input:focus ~ svg {
            margin: 12px 18px 12px 4px;
        }
        .login__textbox input:-webkit-autofill {
            transition: background-color 1s ease-in 2000s, color 1s ease-in 2000s;
        }

.login__message {

}

.login__btn {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: transparent;
    background-image: linear-gradient(to right, transparent, black, transparent);
    background-size: 200%;
    color: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 3px;
    width: 100%;
    height: 32px;
    margin: 20px 0 50px 0;
    cursor: pointer;
    transition: background-position .5s;
}
    .login__btn:hover {
        background-position: right;
    }






/* Header */


header a {
    text-decoration: none;
}
header a:hover {
    text-decoration: none;
}

.header_logo {
    display: inline-block;
}

.header_logo .logo {
    display: inline-block;
    position: relative;
    top: 7px;
    height: 28px;
    width: 28px;
    padding: 0;
    background-image: url(../images/app.png);
    background-size: 100%;
}
    .header_logo .logo:hover {
        transform: rotate(7200deg);
    }
    .header_logo .logo:focus {
        outline: none;
    }


.header_logo .title {
    display: inline-block;
    position: relative;
    left: 5px;
    margin-right: 10px;
    color: #252323;
    line-height: 50px;
    font-family: intro_caps_regular, sans-serif;
    font-size: 16px;
}
[theme=light] .header_logo .title {
    color: #252323;
}

[theme=dark] .header_logo .title {
    color: #e0deda;
}
    .header_logo .title:hover {
        color: #252323;
    }
    [theme=light] .header_logo .title:hover {
        color: #252323;
    }

    [theme=dark] .header_logo .title:hover {
        color: #e0deda;
    }

.header_account {
    float: right;
    /*font-family: pf_square_sans_pro_regular, sans-serif;*/
    text-transform: uppercase;
    line-height: 50px;
    /*border-bottom: 4px solid transparent;*/
}

    .header_account .thumbnail {
        cursor: pointer;
    }
        .header_account .thumbnail img {
            position: relative;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            transition: box-shadow .2s;
        }
            .header_account.thumbnail img:hover {
                box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
            }


.header_account .menu {
    margin: 24px 5px 0 0;
    text-align: center;
    text-transform: none;
    border: 1px solid #ccc;
    min-width: 300px;
    padding: 20px 0 0 0;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    border-radius: .25rem;
}

    .header_account .menu .last-divider {
        margin-bottom: 0;
    }

    .header_account .menu img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        transition: box-shadow .2s;
    }
        .header_account .menu img:hover {
            box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
        }

    .header_account .menu p {
        margin: 0;
        font-family: open_sans_regular;
        font-weight: bold;
        font-size: 13px;
        color: #6C757D;
    }

    .header_account .menu a {
        font-family: open_sans_regular;
        font-size: 13px;
        line-height: 32px;
        color: #6C757D;
        transition: background-color .1s;
    }
        .header_account .menu a:hover {
            background-color: #F0F0F0;
        }

    .header_account .menu .exitbtn {
        font-family: open_sans_regular;
        font-size: 13px;
        line-height: 32px;
        color: #6C757D;
        border-radius: 0 0 .25rem .25rem;
        background-color: #F0F0F0;
    }
        .header_account .menu .exitbtn:hover {
            background-color: #D8D8D8;
        }


.header_menu {
    text-align: center;
    font-family: pf_square_sans_pro_regular, sans-serif;
    text-transform: uppercase;
}
    .header_menu li {
        display: block;
        text-align: left;
    }
        .header_menu li a {
            display: block;
            padding: 5px;
            color: rgba(255,255,255,.5);
            stroke: rgba(255,255,255,.5);
            /*border-bottom: 4px solid transparent;*/
            transition: background-color .1s;
        }
            .header_menu li a.selected {
                color: #fff;
                stroke: #fff;
            }

            .header_menu li a:hover {
                color: #fff;
                /*background-color: #F0F0F0;*/
            }

            .header_menu li a svg {
                display: none;
                flex: auto;
                width: 28px;
                height: 28px;
                stroke-width: 1;
                /*stroke: rgba(255,255,255,.5);*/
            }

            .header_menu li a:hover svg {
                stroke: #fff;
            }

            .header_menu li a span {
            }


@media (min-width: 680px) {
    .header_logo {
        float: left;
    }

    .collapse:not(.show) {
        display: block;
    }

    .header_menu ul {
        margin-bottom: 0;
    }

    .header_menu li {
        display: inline-block;
    }

        .header_menu li a {
            padding: 0 10px 0 10px;
            line-height: 50px;
        }

            .header_menu li a svg {
                display: inline-block;
            }

            .header_menu li a span {
                display: none;
            }
}

@media (min-width: 900px) {
    .header_menu li a svg {
        display: none;
    }

    .header_menu li a span {
        display: inline-block;
    }
}


/* Main page*/

.container-jstree {
    padding: 5px;
    margin-right: 15px;
    display: none;
    border: 1px solid #d1d5da;
    overflow: scroll;
    max-width: 350px;
}

[theme=light] .container-jstree {
    border: 1px solid #d1d5da;
}

[theme=dark] .container-jstree {
    border: 1px solid #42413d;
}

@media (min-width: 1080px) {
    .container-jstree {
        display: inline-flex;
    }
}

.container-datatables {
    padding: 5px;
    display: inline-flex;
    width: 100%;
    border: 1px solid #d1d5da;
}

[theme=light] .container-datatables {
    border: 1px solid #d1d5da;
}

[theme=dark] .container-datatables {
    border: 1px solid #42413d;
}

/*JsTree*/

#jstree-objects ul li div.jstree-wholerow-hovered {
    background: #eee;
}

#jstree-objects ul li div.jstree-wholerow-clicked {
    background: #ddd;
}

[theme=light] #jstree-objects ul li div.jstree-wholerow-hovered {
    background: #eee;
}

[theme=light] #jstree-objects ul li div.jstree-wholerow-clicked {
    background: #ddd;
}

[theme=dark] #jstree-objects ul li div.jstree-wholerow-hovered {
    background: #42413d;
}

[theme=dark] #jstree-objects ul li div.jstree-wholerow-clicked {
    background: #32312d;
}


/* Datatables */

table.dataTable tbody tr {
    cursor: pointer;
    color: #252323;
    background-color: #f5f4f2;
}
    table.dataTable tbody tr:hover {
        background: #eee;
    }

[theme=light] table.dataTable tbody tr {
    color: #252323;
    background-color: #f5f4f2;
}
    [theme=light] table.dataTable tbody tr:hover {
        background: #eee;
    }

[theme=dark] table.dataTable tbody tr {
    color: #e0deda;
    background-color: #252323;
}
    [theme=dark] table.dataTable tbody tr:hover {
        background: #42413d;
    }

.dataTables_info {
    color: #252323;
}
[theme=light] .dataTables_info {
    color: #252323;
}
[theme=dark] .dataTables_info {
    color: #e0deda;
}

.dataTables_length {
    color: #252323;
}

[theme=light] .dataTables_length {
    color: #252323;
}

[theme=dark] .dataTables_length {
    color: #e0deda;
}

.dataTables_paginate .paginate_button {
    color: #252323 !important;
    background-color: #f5f4f2;
}

[theme=light] .dataTables_paginate .paginate_button {
    color: #252323 !important;
    background-color: #f5f4f2;
}

[theme=dark] .dataTables_paginate .paginate_button {
    color: #e0deda !important;
    background-color: #252323;
}


.dataTables_filter {
    float: none !important;
    text-align: left !important;
    color: #252323;
    background-color: #f5f4f2;
}
    .dataTables_filter label {
        display: inline-flex;
        width: 100%;
        vertical-align:central;
    }
    .dataTables_filter input {
        display: block;
        width: 100%;
        font-size: 1rem;
        font-weight: 400;
        background-clip: padding-box;
        border-radius: .25rem;
    }
@media (max-width: 576px) {
    .dataTables_filter input {
        font-size: 10px;
    }
}

[theme=light] .dataTables_filter {
    color: #252323;
    background-color: #f5f4f2;
}

[theme=dark] .dataTables_filter {
    color: #e0deda;
    background-color: #252323;
}


#datatables-objects_wrapper {
    width: 100%;
}

#datatables-objects tbody tr img {
    position: relative;
    width: 16px;
    height: 16px;
    transition: box-shadow .2s;
}

@media (min-width: 576px) {
    #datatables-objects tbody tr img {
        width: 32px;
        height: 32px;
    }
}

/* Object */

.failure {
    animation: background-anim-red 1s;
}

@keyframes background-anim-red {
    0% {
        background-color: lightcoral;
    }
    100% {
        background-color: transparent;
    }
}

.success {
    animation: background-anim-green 1s;
}

@keyframes background-anim-green {
    0% {
        background-color: lightgreen;
    }
    100% {
        background-color: transparent;
    }
}

/* Object panels */

.object_container {
    margin: 20px 0;
    padding: 10px;
    transition: margin .3s;
    border: 1px solid #d1d5da;
}
[theme=light] .object_container {
    border: 1px solid #d1d5da;
}
[theme=dark] .object_container {
    border: 1px solid #42413d;
}

.object_sidebar {
    position: relative;
    padding: 10px 0;
    height: 2.75rem;
    overflow-y: hidden;
    transition: padding .3s;
    border: 1px solid #d1d5da;
}
[theme=light] .object_sidebar {
    border: 1px solid #d1d5da;
}
[theme=dark] .object_sidebar {
    border: 1px solid #42413d;
}

.object_sidebar_menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border: 0;
}

.object_sidebar img {
    display: none;
}

.object_sidebar a {
    padding: .75rem;
    color: #252323;
    transition: color .1s;
}
[theme=light] .object_sidebar a {
    color: #252323;
}

[theme=dark] .object_sidebar a {
    color: #e0deda;
}

    .object_sidebar a:hover {
        text-decoration: none;
        color: #007bff;
    }

    .object_sidebar a.active {
        text-decoration: none;
        color: #007bff;
    }

    .object_sidebar a svg {
        display: none;
    }


@media (min-width: 768px) {
    .object_container {
        display: block;
        margin: 15px 0px 20px 265px;
        padding: 15px;
        transition: none;
        border: 1px solid #d1d5da;
    }

    .object_sidebar {
        position: fixed;
        margin: 0;
        padding: 0;
        display: block;
        width: 250px;
        height: 100%;
        text-align: left;
        overflow-y: auto;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
        border-right: 1px solid #d1d5da;
        transition: width .3s;
    }

    .object_sidebar_menu {
        display: block;
    }

    .object_sidebar img {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .object_sidebar a {
        display: block;
        padding: 15px;
        text-align: left;
        font-size: 14px;
        color: #24292E;
        stroke: #24292E;
        text-decoration: none;
        transition: color .1s, padding-left .2s;
    }

        .object_sidebar a:hover {
            text-decoration: none;
            padding-left: 20px;
            color: #007bff;
            stroke: #007bff;
        }

        .object_sidebar a.active {
            color: #007bff;
            stroke: #007bff;
        }
        /*.object_sidebar a:last-child {
            border-bottom: 1px solid #d1d5da;
        }*/

        .object_sidebar a svg {
            display: inline-block;
            flex: auto;
            margin-right: 5px;
            width: 16px;
            height: 16px;
            stroke-width: 2;
        }
}

.container-memberof {
    display: block;
}
@media (min-width: 576px) {
    .container-memberof {
        display: flex;
    }
}

#datatables-memberof tbody tr img {
    position: relative;
    width: 16px;
    height: 16px;
    transition: box-shadow .2s;
}

@media (min-width: 576px) {
    #datatables-memberof tbody tr img {
        width: 32px;
        height: 32px;
    }
}

#datatables-groups tbody tr img {
    position: relative;
    width: 16px;
    height: 16px;
    transition: box-shadow .2s;
}

@media (min-width: 576px) {
    #datatables-groups tbody tr img {
        width: 32px;
        height: 32px;
    }
}