//
// Custom Nav Pills
//

.nav.nav-pills.nav-pills-custom {
	// States
	.show > .nav-link,
	.nav-link{		
		border: 1px dashed var(--#{$prefix}border-dashed-color);
		@include border-radius($border-radius-lg);
		
		&.nav-link-border-solid {
			border: 3px solid var(--#{$prefix}border-dashed-color);

			&.active {					 		
				border: 3px solid var(--#{$prefix}primary);	 
			}
		}
		
        .nav-icon {
            img {
                width: 30px;
                transition: $transition-link;

                &.default {
                    display: inline-block;
                }

                &.active {
                    display: none;
                }
            }
        }

        &.active {	
			background-color: transparent;		
			border: 1px solid var(--#{$prefix}border-dashed-color);
			transition-duration: 1ms;			
			position: relative;

			.nav-text {
				color: var(--#{$prefix}gray-800) !important;
				transition: $transition-link;
			}
			
			.bullet-custom {
				display: block;			  	
			}
		}

		.bullet-custom {
			display: none;			  	
		}
	}

	&.nav-pills-active-custom {
		.nav-item {				 
			.nav-link {
				&:not(:active) {				 
					span:nth-child(1) {
						color: #B5B5C3;
					}
	
					span:nth-child(2) {
						color: #3F4254;
					}						 	 
				}		

				&:hover {				 
					span:nth-child(1) {
						color: $white !important;
					}
	
					span:nth-child(2) {
						color: $white !important;
					}						 	 
				}
				
				&.active {				 
					span:nth-child(1) {
						color: $white !important;
					}
	
					span:nth-child(2) {
						color: $white !important;
					}						 	 
				}	
			}				 		 
		}		 
	}
}
