﻿/* 
    ######################### Sidebar Menu ##################### 

    file path : View/Components/SidebarMenu/Default.cshtml  
*/
.navigation {
    position: fixed;
    inset: 0;
    width: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

.menuToggle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    padding: 0 23px;
    border-bottom: 1px solid rgba(0,0,0,.25);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    visibility: hidden;
}

.menuToggle::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    transform: translateY(-8px);
    transition: .5s;
}

.menuToggle::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    transform: translateY(8px);
    transition: .5s;
    box-shadow: 0 -8px 0 #333;
}

.navigation.active {
    width: 300px;
}

.navigation.active .menuToggle::before {
    transform: translateY(0) rotate(45deg);
}

.navigation.active .menuToggle::after {
    transform: translateY(0) rotate(-45deg);
    box-shadow: 0 0 0 #333;
}

.navigation ul {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.navigation ul li {
    position: relative;
    list-style-type: none;
    width: 100%;
    height: 76px;
    border-radius: 12px;
    border: 8px solid transparent;
    transition: .5s;
}

.navigation ul li.active {
    transform: translateX(30px);
}

.navigation ul li::before {
    content: '';
    position: absolute;
    top: -28px;
    right: -20px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-bottom-right-radius: 20px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: .5s;
}

.navigation ul li.active::before {
    right: 22px;
    transform: scale(1);
}

.navigation ul li::after {
    content: '';
    position: absolute;
    bottom: -28px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-top-right-radius: 20px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: .5s;
}

.navigation ul li.active::after {
    right: 22px;
    transform: scale(1);
}

.navigation ul li a {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #333;
    z-index: 1000;
}

.navigation ul li a .icon {
    position: relative;
    display: block;
    min-width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,.5);
    background-color: rgba(255,255,255,.4);
    font-size: 1.5em;
    line-height: 50px;
    border: 6px solid transparent;
    transition: .5s;
}

.navigation ul li.active a .icon {
    background-color: var(--clr);
    color: #fff;
}

.navigation ul li a .icon::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr);
    filter: blur(8px);
    opacity: 0;
    transition: .5s;
}

.navigation ul li.active a .icon::before {
    opacity: 0.5;
}

.navigation ul li.active a .text {
    display: block;
}

.navigation ul li a .icon::after {
    content: '';
    position: absolute;
    top: 10px;
    left: -82px;
    width: 15px;
    height: 15px;
    border: 8px solid var(--clr);
    border-radius: 50%;
}

.navigation ul li a .text {
    position: relative;
    padding: 0 15px;
    background-color: red;
    color: #333;
    height: 60px;
    opacity: 0;
    transition: .5s;
    display: none;
}
/*,

    $ Sidebar - Menu End
*/


/*
    :::::::::::::::: Sidebar Menu Right Menu CSS ::::::::::::::::::::::
*/

.right_menu {
    float: right;
    z-index: 1000;
    height: 100%;
    width: 100px;
    margin-top: 100px;
    margin-right: 30px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.left_menu {
    float: left;
    z-index: 1000;
    height: 100%;
    width: 100px;
    margin-top: 100px;
    margin-left: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}


.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    user-select: none;
    & > *

{
    margin: .5rem 0.5rem;
}

}



.checkbox-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9c9c9c;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
}

.checkbox-input {
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    &:checked + .checkbox-tile

{
    border-color: #2260ff;
    box-shadow: 0 5px 10px rgba(#000, 0.1);
    color: #2260ff;
    &:before

{
    transform: scale(1);
    opacity: 1;
    background-color: #2260ff;
    border-color: #2260ff;
}

.checkbox-icon, .checkbox-label {
    color: #2260ff;
}

}

&:focus + .checkbox-tile {
    border-color: #2260ff;
    box-shadow: 0 5px 10px rgba(#000, 0.1), 0 0 0 4px #b5c9fc;
    &:before

{
    transform: scale(1);
    opacity: 1;
}

}
}

.checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    min-height: 4.5rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: rgba(255,255,255,.7);
    color: #fff;
    box-shadow: 0 5px 10px rgba(#000, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
    &:before

{
    content: "";
    position: absolute;
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

&:hover {
    border-color: #2260ff;
    &:before

{
    transform: scale(1);
    opacity: 1;
}

}
}

.checkbox-icon {
    transition: .375s ease;
    color: #494949;
    svg

{
    width: 3rem;
    height: 3rem;
}

}

.checkbox-label {
    color: #707070;
    transition: .375s ease;
    text-align: center;
}

.circle {
    border-radius: 50%;
}

.margin-100 {
    margin-top: 100px;
}

.margin-200 {
    margin-top: 200px;
}

.margin-300 {
    margin-top: 300px;
}