﻿html {
    font-size: 14px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900;1000&family=Roboto:wght@300;400;500;700&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

nav {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

    nav ul,
    nav ul li {
        outline: 0;
        padding: 0px 12px !important;
    }

        nav ul li a {
            text-decoration: none;
        }

img {
    width: 100%;
}

/*h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}*/

.form-signin {
    width: 100%;
    max-width: 430px;
    padding: 15px;
    margin: auto;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }



body {
    font-family: "Nunito", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('/img/misc/admin-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/* MAIN MENU */

main {
    display: grid;
    grid-template-columns: 15% 85%;
    width: 100%;
    margin: 20px;
    background: rgba(16, 21, 61, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset, 0 1px 0 0 rgba(255, 255, 255, 0.6) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.main-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 15px 0 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 0 20px;
    overflow: hidden;
    font-family: inherit;
}

.ww-info {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

    .ww-info img {
        width: 50% !important;
    }

.nav-item {
    display: block;
}

    .nav-item a:hover {
        color: #EF6C00;
        background: #fff;
    }

    .nav-item a {
        display: flex;
        align-items: start;
        justify-content: center;
        color: #fff;
        font-size: 14px;
        padding: 8px 15px;
        margin: 0 8px;
        border-radius: 5px;
        line-height: 1.25rem;
    }

    .nav-item.active a {
        background: rgba(106, 109, 155, 0.5);
        text-decoration: none;
    }

.nav-icon {
    width: 40px;
    height: 20px;
    font-size: 1.1rem;
}

.nav-text {
    display: block;
    height: 20px;
    letter-spacing: 0;
}


.content {
    padding: 30px 50px;
    color: #e5e5e5;
}




/* MEDIA QUERIES */

@media (min-width: 1501px) {
    .nav-item a {
        justify-content: normal;
    }
}

@media (max-width: 1500px) {
    main {
        grid-template-columns: 6% 94%;
    }

    .nav-icon {
        text-align: center;
        transform: translateY(2px);
    }

    .nav-text {
        display: none;
    }

    .content {
        grid-template-columns: 70% 30%;
    }
    .nav-item a {
        justify-content: center;
    }
}

@media (max-width: 1310px) {
    main {
        grid-template-columns: 8% 92%;
        margin: 30px;
    }
}

@media (max-width: 1250px) {
}

@media (max-width: 1100px) {
}

@media (max-width: 910px) {
    main {
        grid-template-columns: 10% 90%;
        margin: 20px;
    }
}

@media (max-width: 825px) {
    .content {
        grid-template-columns: 52% 48%;
    }
}

@media (max-width: 700px) {
    main {
        grid-template-columns: 15% 85%;
    }
}

@media (max-width: 580px) {
}

@media (max-width: 450px) {
}


.table {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    
}

    .table th, .table td {
        padding: 12px;
        background-color: rgb(255, 255, 255, 0);
        color: #e5e5e5;
        font-size: 14px
    }

    .AuthorPicture {
        border-radius: 50%;
        width: 45px;
    }

.wwlink {
    color: #e5e5e5;
    /*font-weight:bold;*/
}
        .wwlink:hover {
            color: orangered;
        }

.wwbtn {
    background-color: #ef6c00;
    color: #e5e5e5;
    padding: 10px 30px;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
}
.wwbtn:hover {
    background-color: #e5e5e5;
    color: #ef6c00;
    border: 1px solid #ef6c00;
}

.wwbtn-logout {
    background-color: transparent;
    color: #e5e5e5;
    border: none;

}
    .wwbtn-logout:hover {
        color: #ef6c00;
    }

.form-control {
    margin-bottom: 15px;
}

input {
    background-color: transparent;
    border: none;
}





.tab {
    /*float: left;*/
    border: 1px solid #ccc;
    /*background-color: #f1f1f1;*/
    width: 15%;
    /*height: auto;*/
    
}

    /* Style the buttons inside the tab */
    .tab button {
        display: block;
        background-color: inherit;
        color: #e5e5e5;
        padding: 15px;
        width: 100%;
        border: none;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        font-size: 14px;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #e5e5e5;
            color: #ef6c00;
        }

        /* Create an active/current "tab button" class */
        .tab button.active {
            background-color: #EF6C00;
            color: #e5e5e5;
        }

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 30px;
    border: 1px solid #ccc;
    width: 85%;
    height: auto;
}


.pagination-container {
    margin-top: 20px;
    text-align: center;
}

.page-item {
    display: inline-block;
    margin: 0 2px;
}

.page-link {
    color: #007bff;
    text-decoration: none;
    /*padding: 8px 12px;*/
    border: 1px solid #ddd;
    border-radius: 5px;
}

    .page-link:hover {
        background-color: #007bff;
        color: white;
    }