﻿html, body {
    height: 100%;
}

body {
    font-size: .875rem;
}

h5 {
    border-bottom: 1px solid #dee2e6 !important;
    padding-bottom: 7px;
}

.validation-summary-errors {
}

    .validation-summary-errors > ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

.zoom {
    transition: transform .2s;
    width: 50px;
}

    .zoom:hover {
        transform: scale(15);
    }

/*
 * Login form
 */
.form-login .form-floating:focus-within {
    z-index: 2;
}

.form-login input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-login input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*
 * Sidebar
 */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 #000000;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: #000000;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 #000000;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

/*
 * Tab content
 */
.tab-content > .active {
    padding: 10px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/*
 * jsTree
 */
.jstree {
    border-right: 1px solid #dee2e6 !important;
    height: 66vh;
    overflow-y: auto;
}

.legacy-menu-structure .jstree,
.legacy-menu-structure .jstree {
    height: auto;
}

/*
 * DataTables 
 */
.dataTable {
}

    .dataTable > tbody > tr {
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

/*
 * Texts
 */
#text-elements > tbody > tr {
    cursor: pointer;
}

.text-element-edit {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

    .text-element-edit > textarea.form-control {
        min-height: calc(10em + .75rem + 2px);
    }

/*
 * Highlighted articles
 */
#highlighted-articles > tbody > tr {
    cursor: pointer;
}

/*
 * Marketing tiles
 */
#marketing-tiles > tbody > tr {
    cursor: pointer;
}

/*
 * Custom filter pages
 */
#custom-filter-pages > tbody > tr {
    cursor: pointer;
}

    #custom-filter-pages > tbody > tr > td {
        vertical-align: middle;
    }

/*
 * Page Animations
 */
#page-animations {
    /*table-layout: fixed;*/
}

    #page-animations > thead > tr > th {
        padding: 8px 10px;
    }

    #animated-page-types > tbody > tr,
    #page-animations > tbody > tr {
        cursor: pointer;
    }

        #page-animations > tbody > tr > td {
            vertical-align: middle;
        }

            #page-animations > tbody > tr > td > img {
                max-width: 50px;
            }
