/* MOVE TO Global settings */
@import "colors.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

aside.sidebar {
    background-color: var(--second);
}
.title-element{
    background-color: var(--second);
    color: #fff;
    padding: 5px;
}
.card-header {
    background-color: var(--main) !important;
    color: var(--text);
}


#playlist-content {
    display: flex;
    flex-wrap: wrap;

    div.btn {
        width: 100%;
    }
}

.go-to-client {
    position: sticky;
    top: 5vh;
    left: 0;
    width: 50%;

    order: 1;
    background-color: var(--second);
    display: block;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 30px;
    margin: 10px auto;
    height: 60px;
    border: 2px solid var(--main);


}
.new-entry{
    display: flex;
    flex-direction: column;
    aspect-ratio: 1/1;
    background: var(--second);
    color: #fff;
    border-radius: 50%;
    justify-content: center;
    padding: 10px;
    position: sticky;
    top: 5vh;
    z-index: 2;
    border: 2px solid var(--main);
}

.sidebar.toggled .nav-item .nav-link, .single-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    gap: 10px;

    i {
        color: #fff;
    }

    span, a {
        font-size: 14px;
        text-align: left;
        word-break: keep-all;
        color: #fff;


    }
}


.media-body {
    width: 90%;
}

a {
    text-decoration: none !important;
}


.scroll-to-top {
    z-index: 9999;
    background-color: var(--second-color);
}


.sidebar .nav-item.active .nav-link {
    font-weight: 400;
    font-size: 14px;
}

.menu-control {
    text-align: center;
    font-size: 25px;
    padding: 20px;
    color: #fff;

}


img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.sidebar {
    width: 14rem !important;
}

.sidebar-dark .nav-item.active .nav-link {

    word-break: break-word;
    width: 14rem !important;


}

.base-form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 25vh;
    width: 50vw;
    margin: auto;

    input {
        border: 1px solid var(--second);

    }

    button {
        background-color: var(--second);
    }
}

#add-btn-restaurant {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--second);
    color: #fff;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right: 2vw;
    top: 5vh;
    z-index: 2;

}

.grid-form  {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 77vw;
    margin: 0 0  10px 0;
    align-items: baseline;
    border: 2px solid var(--second);
    padding: 10px;
    border-radius: 20px;

    label {
        width: 100%;
    }


    button {
        background-color: var(--second);
    }
}

.client-holder {

    details {
        background-color: var(--main) !important;

        order: 2;

        summary {
            background-color: var(--second);
            color: #fff;
            max-width: 75vw;
            margin: 20px 10px;
            padding: 20px;
            border-radius: 20px;
        }
    }
}

dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    position: relative;
    background-color: var(--main);

    .close-dialog {
        position: absolute;
        top: 5vh;
        right: 5vw;
        border-radius: 50%;
        aspect-ratio: 1 /1;
        background-color: var(--second);
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        justify-content: space-evenly;
    }
}

.gallery {
    width: 18%;
    flex-basis: 18%;
    display: flex;
    justify-content: center;
    border: 2px solid var(--second-color);

    &.picked {
        border: 5px solid var(--second-color);
    }
}

.fileSelection {
    display: flex;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
}

.entry.input-group {
    width: auto;
    margin-left: 15px;
}


.navigation a:hover {
    background: #454545;
    color: #fff;
}

#description .tox-tinymce {
    width: 100% !important;
}

.container {
    /*border: 1px solid #454545;*/
    border-radius: 3px;
    padding: 20px;
    margin: 33px;
}

.container a {
    color: #454545;
}

.container table {
    font-size: 11px;
    margin-top: 20px;
}

.container table thead td {
    background-color: #f5f5f5;
    padding: 4px 10px;
}

.container table tbody td {
    padding: 4px 10px;
}

.container .box {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 30px;
}


.footer a {
    color: #454545;
}


.navbar-nav {
    word-break: break-all;
    height: 1vh;
    margin-left: 0 !important;
    background: var(--second-color);
    position: relative;
    z-index: 1000;
}

.sidebar .nav-item .collapse {
    z-index: 4000;
}

a.collapse-item,
.long-text {
    word-break: break-word !important;
}

.dataTables_wrapper {
    width: 100%;
}



.forbiden + label{
    pointer-events: none;
}
