/* Navegation */
.body--nav{
	height: 100%;
	display: flex;
	flex-direction: column;
	font-family: 'Roboto Mono', Roboto, sans-serif;
	background-color: var(--color-lightblue-lighter);
    border-right: 0.1rem solid var(--color-lightblue-light);
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
}

/* Client */
.body--nav .nav--client{
	padding: .3rem .5rem .3rem .85rem;
	min-height: 4.2rem;
    display: flex;
	align-items: center;
	text-align: left;
	font-size: .7rem;
	cursor: pointer;
}
.body--nav .nav--client:hover{background-color: var(--color-lightblue-light); transition: background .15s ease-in;}
.body--nav .nav--client.selected {font-weight: 500; background-color: var(--color-lightblue);}

.body--nav .nav--client .icon{
    height: 2.1rem;
    width: 2.1rem;
    min-width: 2.1rem;
    border-radius: 50%;
    background-color: var(--color-lightblue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 300;
}

.body--nav .nav--client.selected .icon{background-color: var(--color-lightblue-light);}

.body--nav .nav--client .info{
    display: none;
    flex-direction: column;
    justify-content: center;
	margin-left: .5rem;
}

.body--nav .nav--client .type{
    text-transform: uppercase;
    font-size: .55rem;
    letter-spacing: .04rem;
    margin-bottom: .1rem;
	font-weight: 500;
}

.body--nav .nav--client .placeholder{
	display: none;
}

/* Section list */
.body--nav .nav--list{
	flex-grow: 1;
}

.body--nav .nav--list .item{
    height: 3.3rem;
    min-height: 3.3rem;
	padding-left: .8rem;
	display: flex;
	align-items: center;
    font-size: .7rem;
    text-align: left;
	letter-spacing: .001rem;
	transition: background .15s ease-in-out;
	cursor: pointer;
}
.body--nav .nav--list .item:hover{background-color: var(--color-lightblue-light);}

.body--nav .nav--list .item.selected{
	background-color: var(--color-lightblue);
	font-weight: 500;
}

.body--nav .nav--list .icon{
	display: block;
	width: 2.2rem;
	min-width: 2.2rem;
	height: 2.2rem;
	background-size: 2.2rem;
	background-repeat: no-repeat;
	background-position: center;
}

.body--nav .active-surveys .icon{background-image: url(../../images/icon--paper-check--black.svg);}
.body--nav .calculator .icon{background-image: url(../../images/icon--calculator--black.svg);}
.body--nav .care-centers .icon{background-image: url(../../images/icon--hospital--black.svg);}
.body--nav .categories .icon{background-image: url(../../images/icon--magnifier-empty--black.svg);}
.body--nav .focus-groups .icon{background-image: url(../../images/icon--dialog--black.svg);}
.body--nav .languages .icon{background-image: url(../../images/icon--globe--black.svg);}
.body--nav .photo-library .icon{background-image: url(../../images/icon--camera--black.svg);}
.body--nav .projects .icon{background-image: url(../../images/icon--stethoscope--black.svg);}
.body--nav .questions .icon{background-image: url(../../images/icon--circle-question--black.svg);}
.body--nav .results .icon{background-image: url(../../images/icon--graph--black.svg);}
.body--nav .surveys .icon{background-image: url(../../images/icon--paper-form--black.svg);}

.body--nav .nav--list .text{
	display: none;
	margin-left: .5rem;
	margin-top: .05rem;
}

.body--nav .nav--list .arrow{
	display: none;
	width: 1.1rem;
	height: 1.1rem;
	min-height: 1.1rem;
	background: url('../../images/icon--arrow-triangle--left--black.svg') no-repeat center;
	background-size: 1.4rem;
	margin-left: .4rem;
	transition: transform .1s ease-in-out;
}
.body--nav .nav--list .arrow.open{transform: rotate(270deg);}

/* Sub list */
.body--nav .sub-list{
	display: none;
}

.body--nav .sub-list .item{
	height: 2.2rem;
	min-height: 2.2rem;
	font-family: Roboto, 'Roboto Mono', sans-serif;
	font-size: .75rem;
	letter-spacing: .02rem;
	padding-left: 3.5rem;
}

/* Footer */
.body--nav .nav--footer .item{
	height: 3.3rem;
    min-height: 3.3rem;
	padding-left: .8rem;
	display: flex;
	align-items: center;
    font-size: .7rem;
    text-align: left;
	letter-spacing: .001rem;
}
.body--nav .nav--footer .item:hover{background-color: var(--color-lightblue-light); transition: background .15s ease-in; cursor: pointer;}

.body--nav .nav--footer .item.selected{
	background-color: var(--color-lightblue);
	font-weight: 500;
}

.body--nav .nav--footer .icon{
	display: block;
	width: 2.2rem;
	min-width: 2.2rem;
	height: 2.2rem;
	background-size: 2.2rem;
	background-repeat: no-repeat;
	background-position: center;
}

.body--nav .nav--footer .text{
	display: none;
	margin-left: .5rem;
}

/* No client selected */
/* Disabled item */
.no-client-selected .nav--list{
	pointer-events: none;
}

.no-client-selected .nav--client .icon{
	background-image: url(../../images/icon--user--black.svg);
	background-size: 1.8rem;
	background-repeat: no-repeat;
	background-position: center;
}
.no-client-selected .nav--client .icon::before{
	display: none !important;
}

.no-client-selected .nav--client .info{
	display: none !important;
}

.no-client-selected .nav--client .placeholder{
	max-width: 7rem;
	margin-left: .5rem;
}

.no-client-selected .nav--list, .no-client-selected .nav--footer{opacity: .3;}
.no-client-selected .nav--list a, .no-client-selected .nav--footer a{cursor: text;}
.no-client-selected .nav--list .item:hover{background-color: var(--color-lightblue-lighter);}

/* Toggle views */
.body--nav .toggle{
	display: none;
	position: absolute;
	top: .2rem;
	right: .2rem;
	width: 1.5rem;
	height: 1.5rem;
	background: url('../../images/icon--square-half--black.svg') no-repeat center;
	background-size: 2rem;
	opacity: .5;
	transition: opacity .1s ease-in-out;
}
.body--nav .toggle:hover{opacity: 1;}

/* Fixed view */
.fixed-nav.main--body{
	grid-template-columns: 13rem 1fr;
}

.fixed-nav .body--nav{
	width: 13rem;
	min-width: 13rem;
	height: 100%;
}
.fixed-nav .body--nav .toggle{display: block; right: .13rem;}
.fixed-nav .body--nav .nav--client{width: 13rem;}
.fixed-nav .body--nav .nav--client .info{display: flex;}
.fixed-nav .body--nav .no-client-selected .nav--client .placeholder{display: block;}
.fixed-nav .body--nav .item{width: 13rem;}
.fixed-nav .body--nav .text{display: block !important;}
.fixed-nav .body--nav .arrow{display: block !important;}
.fixed-nav .body--nav .sub-list{display: block;}

/* Hover view */
.main--body:not(.fixed-nav) .body--nav:hover{
	height: calc(100% - 3rem);
	width: 13rem;
	filter: drop-shadow(2px 8px 10px rgb(178, 183, 208));
	border-right: none;
	position: absolute;
	left: 0;
	top: 3rem;
	z-index: 20;
}
.main--body .body--nav:hover .sub-list{display: block;}
.main--body .body--nav:hover .toggle{display: block;}
.main--body:not(.fixed-nav) .body--nav:hover .nav--client{width: 13rem;}
.main--body:not(.fixed-nav) .body--nav:hover .nav--client .info{display: flex;}
.main--body:not(.fixed-nav) .body--nav.no-client-selected:hover .nav--client .placeholder{display: block;}
.main--body:not(.fixed-nav) .body--nav:hover .item{width: 13rem;}
.main--body:not(.fixed-nav) .body--nav:hover .text{display: block;}
.main--body:not(.fixed-nav) .body--nav:hover .arrow{display: block;}