/* variabili */
/*	// PALLETTE WHITE-RED
	 $chiaro_1: #f0f0f0; 	// SFONDO PANNELLI 
	 $chiaro_2: #f8f8f8;		// SFONDO GENERALE
	 $medio_1: #BBB; 		// TESTI DISATTIVATI
	 $medio_2: #DDD; 		// TRACCE E SFONDI
	 $scuro_1: #444;		// TESTI
	 $scuro_2: #888;		// SFONDI SCURI
	 $accent_1: #cc394a;
	 $accent_2: #BC7880;
	 $accent_shadow: #fffeed;*/
/*// PALLETTE GIALLINO
	 $chiaro_1: #F7F3ED;
	 $chiaro_2: #FFFBF4;
	 $medio_1: #DBD7D0;
	 $medio_2: #EFEBE3;
	 $scuro_1: #637B84;
	 $scuro_2: #B1C4CC;
	 $accent_1: #cc394a;
	 $accent_2: #BC7880;
	 $accent_shadow: #fffeed;*/
/*// //PALLETTE GREEN NIGHT
	 $chiaro_1: #17343D;
	$chiaro_2: #142E35;
	 $medio_1: #193842;
	 $medio_2: #1E434F;
	 $scuro_1: #E8EFF2;
	 $scuro_2: #CBD1D3;
	 $accent_1: #cc394a;
	 $accent_2: #BC7880;
	 $accent_shadow: #fffeed;*/
/* navigation */
/*mobile nav */
nav#mobile_nav {
  background-color: #2e313c;
  height: 40px;
  padding: 0;
  margin: 0;
}

.nav_container {
  position: relative;
}

#hamb {
  color: #a2a2a2;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  display: inline-block;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#hamb:hover {
  color: white;
}

.open #hamb {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

#mobile_nav #gs_logo {
  position: relative;
  z-index: 99999;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#mobile_nav #gs_logo img {
  height: 30px !important;
  width: auto;
  margin-top: 5px;
}

#mobile_dropdown {
  display: inline-block;
  position: absolute;
  margin: 0;
  top: 0;
  padding: 0;
  right: 0;
  z-index: 99998;
  text-align: right;
  width: 100%;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#mobile_dropdown li {
  height: 40px;
  padding: 0 10px;
  margin: 0;
  line-height: 40px;
  color: white;
  display: block;
  width: 100%;
}

#mobile_dropdown li a {
  color: #a2a2a2;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  display: inline-block;
  width: 100%;
  padding: 0 10px;
}

#mobile_dropdown li a:hover {
  text-decoration: none;
  color: white;
  background-color: #3e414c;
}

#mobile_dropdown #dropper {
  display: none;
  background-color: #2e313c;
  padding-bottom: 10px;
}

/*desktop nav  */
#gs_logo {
  display: inline-block;
}

#gs_logo:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

#wide_nav {
  background-color: #2e313c;
  height: 40px;
}

#wide_nav a {
  color: #a2a2a2;
  font-weight: 400;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  text-decoration: none;
  height: 100%;
  display: inline-block;
}

#wide_nav a:hover {
  color: white;
  cursor: pointer;
  text-decoration: none;
}

#wide_nav #nav_links {
  display: inline-block;
  margin: 0px;
  padding: 0;
  padding-left: 10px;
  line-height: 40px;
  height: 40px;
}

#wide_nav #nav_links li {
  display: inline-block;
  color: white;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(15%, #b5363a), color-stop(15%, transparent));
  background: linear-gradient(0deg, #b5363a 15%, transparent 15%);
  -webkit-transition: 0.2s;
  transition: 0.2s;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: 50% -30px;
  margin: 0px 10px;
  font-size: 14px;
  line-height: 40px;
}

#wide_nav #nav_links li:hover {
  background-size: 100% 100%;
  background-position: 50% 0px;
}

#wide_nav .nav_container {
  position: relative;
}

#wide_nav #user_links {
  display: inline-block;
  position: absolute;
  right: 0;
  line-height: 40px;
  padding: 0 10px;
  width: 220px;
  z-index: 99999;
  background-color: #2e313c;
  color: white;
  border-radius: 0 0 80% 10px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-right: 0px solid #b5363a;
}

#wide_nav #user_links:hover {
  border-right: 20px solid #b5363a;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

/*  #user_links li{
    color: white;
  }*/
#wide_nav #dropper {
  overflow: hidden;
  max-height: 0;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
  opacity: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#wide_nav #dropper .divide {
  -border-top: 1px solid #555;
}

#wide_nav #user_links:hover #dropper {
  opacity: 1;
  max-height: 300px;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

.picks-cont {
  position: relative;
  display: block;
  padding-top: 50px;
  margin-top: 10px;
}

.picks-cont .donate-picks,
.picks-cont #picks-amount {
  cursor: pointer !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: 150px;
  max-width: 150px;
  padding: 0 5px;
  border: 0;
  position: absolute;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 35px;
  top: 0;
  left: 0;
}

.picks-cont .donate-picks {
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  border-right: 0;
  background-color: #068C9B;
  color: white;
}

.picks-cont .donate-picks:hover {
  background-color: #48AAAF;
}

.picks-cont #picks-amount {
  border: 1px solid #ccc;
  background-color: #068C9B;
  color: white;
  border-radius: 0 5px 5px 0;
  border-left: 0;
  left: 150px;
  width: 70px;
  max-width: 70px;
}

#picks-donated {
  font-size: 12px;
  color: #555;
}

/*#social_bar{
    position: fixed;
    top: 3px;
    right: 20px;
    width: 420px;
    z-index: 3000;
    text-align: left;
    background-color: #f8fbff;
    border: 1px solid #598c92;
    border-radius: 5px;
    padding-top: 3px;  
 }

#like_karma {
	height: 27px;
	padding-bottom: 3px;
	
	>div{
		vertical-align: top;
		display: inline-block;
		margin: 0;
		padding: 0;
		height: 27px;
	} 

	.picks-cont{
		width: 140px;
		position: relative;

			.donate-picks,
			#picks-amount{
				cursor: pointer !important;
				transition: 0.3s;
				width: 70px;
				max-width: 70px;
				padding: 0 5px;
				border: 0;
				position: absolute;
				box-sizing: border-box;
				height: 100%;
				top: 0;
				left: 0;
			}
			.donate-picks{
				border: 1px solid #ccc;
				border-radius: 5px 0 0 5px;
				border-right: 0;
				&:hover{background-color: #ddd}
			}
			#picks-amount{
				border: 1px solid #ccc;
				border-radius: 0 5px 5px 0;
				border-left: 0;
				left: 70px;
			}
	}
	.likes-cont{
		width: 60px;
	}
	.views-cont{
		width: 75px;
		padding-left: 5px;
		font-size: 12px;
		line-height: 14.5px;
		color: #555;
	}
	.comms-cont{
		width: 140px;
		text-align: center;
		a{
			color: $accent_1;
			text-decoration: none;
			line-height: 27px;
			text-align: center;
			font-size: 13px;
			&:hover{
				color: $accent_2;
			}

		}
	}

}*/
/*.updated_count{
				color: indianred !important;
			}*/
.max_w_cont {
  max-width: 1200px;
  margin: auto;
}

.comment {
  margin-bottom: 20px;
  width: 380px;
  word-break: break-word;
  color: #555;
  background-color: #f8f9fa;
  padding: 10px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.comment.newcomment {
  background-color: yellow;
  padding: 15px;
  margin: 0px;
}

.comment .user a {
  color: #068C9B;
  font-weight: 500;
  text-decoration: none !important;
}

.comment .user a:hover {
  color: #48AAAF;
}

.comment .author a::before {
  content: '\25B6   ';
}

.comment .comment-time, .comment .comment-controls {
  font-size: 12px;
  line-height: 12px;
  color: #aaa;
  display: inline-block;
}

.comment .comment-time a, .comment .comment-controls a {
  color: #aaa;
  text-decoration: none !important;
}

.comment .comment-time a:hover, .comment .comment-controls a:hover {
  color: #48AAAF;
}

.comment .comment-body {
  margin-top: 5px;
  margin-bottom: 5px;
}

#comments_list {
  height: 100%;
  padding: 20px 0;
}

#new_comment {
  border: 1px solid #ccc;
}

#new_comment textarea {
  height: 100px;
  width: 100%;
  background-color: transparent;
  border: 0;
  outline: none;
  resize: none;
  overflow: auto;
  font-size: 15px;
  padding: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#new_comment button {
  width: 100%;
  border: 0;
  border-radius: 0;
  height: 30px;
  background-color: #48AAAF;
  color: #fff;
  cursor: pointer;
}

#new_comment button:hover {
  background-color: #068C9B;
}

@media only screen and (max-width: 768px) {
  /*#mobile_nav{display: }*/
}

/*end max 768*/
/*
{{-- 

<nav id="wide_nav" >
<div class="container nav_container">
		<a id="gs_logo" href="{{url('/')}}">
				<img style="max-height: 22px" src="{{url('public/img')}}/guitar-scientist-logo.png">
		</a>

		<ul id="nav_links">
			<li> <a id="expl_d" href="{{ url('diagrams') }}">FIND DIAGRAMS</a> </li>
			<li> <a id="crt_d" href="{{ route('lab') }}">LAUNCH EDITOR</a> </li>
			<li> <a id="ltra" href="{{ route('gs_trainer') }}">LAUNCH TRAINER <span class="new_elem">NEW</span></a> </li>
		</ul>
		<style type="text/css">
			.new_elem{ 
				background-color: #c54448;
				color: #fff;
				font-size: 0.8em;
				border-radius: 3px;
				padding: 0.3em; 
			}
			#ltra{
				color: yellow !important;
			}
		</style>

		<ul id="user_links">
			@auth
			<?php $notif = \App\Notification::markedUnread()->count(); ?>


			    <a id="username" href="{{ url('users') }}/{{ Auth::user()->id }} "><span class="notif_number badge {{ 
			    	$notif == 0 ? 'badge-secondary' : 'badge-danger' 
			    }}">{{$notif}}</span> {{ Auth::user()->name }}</a>
			    
			   <div id="dropper">
			   		
			   	@if(Auth::user() && Auth::user()->isAdmin())
			   	<li> <a href="{{ url('gs-admin') }}">Admin Panel</a> </li>
			   	@endif
			      <li><a href="{{ route('notifications') }}">{{ $notif == 0 ? 'No' : 'Read '.$notif }} new notification{{$notif==1?'':'s'}}</a> </li>
			      <li> <a href="{{ url('users') }}/{{ Auth::user()->id }} ">View your profile</a> </li> 
			      <li> <a href="{{ url('messages') }}">Messages</a> </li>  
			      
			     <li class="divide"> <a href="{{ route('logout') }}" onclick="event.preventDefault();
					document.getElementById('logout-form').submit();"> {{ __('Logout') }} </a> </li>
				 </div>
			    
			  	
			@else

				<a href="{{ route('login') }}">{{ __('LOGIN') }}</a> | 
				
				@if (Route::has('register'))
					<a href="{{ route('register') }}">{{ __('REGISTER') }}</a>
				@endif

			@endauth
			

		</ul>
		</div>
</div>

</nav>
<nav id="mobile_nav" style="display: none">
	<div class="container nav_container">
		<a id="gs_logo" href="{{url('/')}}">
				<img src="{{url('public/img')}}/guitar-scientist-logo.png">
		</a>
		<ul id="mobile_dropdown">
			<li id="menu_icon" href="#"><div id="hamb">|||</div></li>
			<div id="dropper"> 

				@auth
					
					   
				   
				   	<p class="text-white pr-4">{{ Auth::user()->name }}</p>

				   	<li> <a href="{{ url('diagrams') }}">EXPLORE DIAGRAMS</a> </li>
					<li> <a href="{{ route('lab') }}">CREATE A NEW DIAGRAM</a> </li>
					<li> <a id="ltra" href="{{ route('gs_trainer') }}">LAUNCH TRAINER </a> </li>

				      <li><a href="{{ route('notifications') }}">{{ $notif == 0 ? 'No' : 'Read '.$notif }} new notification{{$notif==1?'':'s'}}</a> </li>
				      <li> <a href="{{ url('users') }}/{{ Auth::user()->id }} ">View your profile</a> </li> 
				      <li> <a href="{{ url('messages') }}">Messages</a> </li>  
				      <li> <a href="{{ url('account') }}">Account</a> </li> 
				     <li class="divide"> <a href="{{ route('logout') }}" onclick="event.preventDefault();
						document.getElementById('logout-form').submit();"> {{ __('Logout') }} </a> </li>
				  	
				@else
					<a href="{{ route('login') }}">{{ __('LOGIN') }}</a> | 
					
					@if (Route::has('register'))
						<a href="{{ route('register') }}">{{ __('REGISTER') }}</a>
					@endif

				@endauth

			</div>

		</ul>
		</div>
</div>
</nav>





 --}}

*/

/* NOTIFICATION DROPDOWN ---------------------------------------- */
.notif-bell-link {
	position: relative;
	padding-right: 20px !important;
}
.notif-bell-link .notif_number {
	position: absolute;
	top: 2px;
	right: 0;
	font-size: 0.6rem;
	min-width: 16px;
	line-height: 1.1;
	padding: 2px 4px;
}
.notif-dropdown-panel {
	width: 420px;
	max-height: 500px;
	padding: 0 !important;
	border: none;
	box-shadow: 0 4px 20px rgba(0,0,0,.15);
	border-radius: 10px;
	overflow: hidden;
}
.notif-dropdown-header {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 14px 18px;
}
.notif-dropdown-header strong {
	font-size: 1.05rem;
}
#notif-mark-all-read {
	color: #1E75B3;
	text-decoration: none;
}
#notif-mark-all-read:hover {
	text-decoration: underline;
}
#notif-dropdown-body {
	max-height: 380px;
	overflow-y: auto;
	padding: 6px;
	background: #f5f5f5;
}
.notif-item {
	background: #fff;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 5px;
	cursor: default;
	border-left: 3px solid transparent;
	transition: background .15s;
}
.notif-item:last-child {
	margin-bottom: 0;
}
.notif-item:hover {
	background: #fafafa;
}
.notif-item.notif-unread {
	background: #e8f2fc;
	border-left-color: #1E75B3;
}
.notif-item.notif-unread:hover {
	background: #ddeaf6;
}
.notif-content {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.notif-icon {
	font-size: 1.1rem;
	color: #b0b0b0;
	flex-shrink: 0;
	margin-top: 2px;
}
.notif-item.notif-unread .notif-icon {
	color: #1E75B3;
}
.notif-text {
	flex: 1;
	min-width: 0;
}
.notif-item .notif-body {
	font-size: 0.87rem;
	line-height: 1.45;
	word-wrap: break-word;
	color: #333;
}
.notif-item.notif-unread .notif-body {
	color: #111;
}
.notif-item .notif-body a {
	color: #1E75B3;
	font-weight: 600;
}
.notif-item .notif-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 6px;
}
.notif-item .notif-time {
	font-size: 0.75rem;
	color: #999;
}
.notif-item.notif-unread .notif-time {
	color: #6a9fd8;
}
.notif-mark-read {
	font-size: 0.72rem;
	color: #aaa;
	background: none;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1px 7px;
	cursor: pointer;
	transition: all .15s;
}
.notif-mark-read:hover {
	color: #fff;
	background: #1E75B3;
	border-color: #1E75B3;
}
.notif-empty {
	text-align: center;
	padding: 35px 15px;
	color: #aaa;
	font-size: 0.9rem;
}
.notif-dropdown-panel > .dropdown-divider:last-of-type {
	margin: 0;
}
.notif-dropdown-panel > a.dropdown-item {
	text-align: center;
	padding: 11px;
	font-weight: 600;
	color: #1E75B3;
	background: #fff;
	border-top: 1px solid #e8e8e8;
	font-size: 0.85rem;
}
.notif-dropdown-panel > a.dropdown-item:hover {
	background: #f0f7ff;
}
@media (max-width: 576px) {
	.notif-dropdown-panel {
		width: 95vw;
		max-width: 95vw;
		right: -10px;
		border-radius: 8px;
	}
}


/* ============================================================
   USER HOVER CARD
   ============================================================ */
.gs-usercard {
	position: absolute;
	z-index: 9999;
	width: 280px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,.15);
	padding: 14px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, visibility .18s, transform .18s;
	pointer-events: none;
}
.gs-usercard.gs-usercard-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.gs-uc-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.gs-uc-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.gs-uc-info {
	min-width: 0;
}
.gs-uc-name {
	font-weight: 600;
	font-size: 14px;
	color: #222;
	text-decoration: none;
	display: inline;
}
.gs-uc-name:hover { text-decoration: underline; }
.gs-uc-online {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: #2ecc71;
	border-radius: 50%;
	margin-left: 4px;
	vertical-align: middle;
}
.gs-uc-since {
	font-size: 11px;
	color: #888;
	margin-top: 1px;
}
.gs-uc-location {
	font-size: 11px;
	color: #888;
}

.gs-uc-bio {
	font-size: 12px;
	color: #555;
	margin-bottom: 8px;
	line-height: 1.4;
	max-height: 38px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gs-uc-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: 12px;
	color: #333;
	padding: 8px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
}
.gs-uc-stat {
	width: 50%;
	padding: 2px 0;
	font-weight: 600;
}
.gs-uc-stat span {
	font-weight: 400;
	color: #777;
}
.gs-uc-stat i {
	font-size: 11px;
	width: 14px;
	display: inline-block;
	text-align: center;
}

.gs-uc-actions {
	display: flex;
	gap: 8px;
}
.gs-uc-actions .btn {
	flex: 1;
	font-size: 12px;
	padding: 4px 0;
}
.gs-uc-actions .follow_unfollow {
	width: auto;
	border-radius: 4px;
}
.gs-uc-actions .follow_unfollow:before {
	content: 'UNFOLLOW';
}
.gs-uc-actions .follow_unfollow.follow:before {
	content: 'FOLLOW';
}

.gs-uc-loading {
	text-align: center;
	padding: 20px 0;
	color: #999;
	font-size: 16px;
}
