/*!
 * Copyright 2022 youngmonkeys.org
 *
 * Licensed under the ezyplatform, Version 1.0.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://youngmonkeys.org/licenses/ezyplatform-1.0.0.txt
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

a {
    text-decoration: none;
}

a:hover {
    color: auto;
}

code, pre {
    cursor: pointer;
}

label {
    font-weight: 700;
}

.btn-link {
    text-decoration: none;
}

.common-spacing {
    height: 30px;
}

.cursor-pointer { cursor: pointer; }

.small-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.dropdown-menu-lg {
    max-width: 500px;
    min-width: 320px;
    padding: 0px;
}

.dropdown-menu-md {
    max-width: 250px;
    min-width: 200px;
    padding: 0px;
}

.nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: #fff;
}

.nav-sidebar>.nav-item .nav-icon {
    margin-left: 0.05rem;
    font-size: 1.2rem;
    margin-right: 0.2rem;
    text-align: center;
    width: 1.6rem;
}
.navbar-badge {
    font-size: 0.6rem;
    font-weight: 300;
    position: absolute;
    right: 5px;
    top: 9px;
    padding: 2px 4px;
}

.wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    border-radius: 10px;
}

.main-nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav li > a {
    color: #fff;
}

.main-nav ul {
    list-style: none;
    margin: 0px;
    justify-content: center;
    align-items: center;
}

.main-mobile-menu {
    position: fixed;
    height: 100%;
    width: 310px;
    transform: translate3d(-100%,0,0);
    z-index: 100;
    transition: all 0.6s ease-in-out;
    background: linear-gradient(180deg, #5b2ca0 0%, #7c3aed 100%);
}

.main-mobile-menu li > a {
    color: #fff;
}

.main-mobile-menu ul {
    list-style: none;
    margin: 0px;
}

.main-mobile-common-menu {
    padding-left: 1rem;
}

.main-logo {
    max-height: 64px;
}

.account-sidebar a {
    color: gray;
}

.account-sidebar a:hover {
    background-color:#f95eff;
    color: #fff;
}

/******** pagination *********/
.pagination .page-link {
    font-size: 1rem;
}
.pagination-arrows {
    display:flex;
    align-items: center;
    justify-content: center;
}
.pagination-arrows a,
.pagination-arrows span {
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
}
.pagination-arrows a,
.pagination-arrows span {
    color: var(--color-maroon-600);
}
.pagination-arrows a:hover,
.pagination-arrows span:hover {
    text-decoration: none;
}
.pagination-arrows a:nth-child(1),
.pagination-arrows a:nth-child(5),
.pagination-arrows #prevPageButton,
.pagination-arrows #nextPageButton {
    color: var(--primary-color);
}
.pagination-arrows span:nth-child(1),
.pagination-arrows span:nth-child(5) {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-width: 1px;
    border-color: var(--primary-color);
    color: var(--color-white);
}
.pagination-sm .page-link { font-size: 1rem; }

.pagination .page-item .page-link {
    color: var(--color-brown-700);
}
