@charset "utf-8";

/* == CLASSI GENERALI == */

h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6 { 
	font-family: 'Lato', sans-serif;
	font-weight: 900;colonna-menu
}

b, strong {
	font-weight: bold;
}

.btn.leggi-tutto{
	padding-right: 26px;
}

.btn.leggi-tutto::after{
	opacity: .8;
	filter: alpha(opacity=80);
	content: "\f30b";
}

.btn:hover.leggi-tutto::after{
	padding: 0 8px 0 0;
}

.btn-link {
	cursor: pointer !important;
}

.form-control{
	border-radius: 5rem;
	padding: .5rem 1rem;
}

.sticky-top{
	top: 112px;
}

#content {
	width: 100% !important;
	margin: 0 !important; 
}

.custom-file-input:focus~.custom-file-label {
    border-color: rgba(76, 35, 111, 0.25);
    box-shadow: 0 0 0 .2rem rgba(76, 35, 111, 0.25);
}

.form-label-group > input, .form-label-group > label, .form-label-group > textarea, .form-group > select {
    padding: .5rem;
}

/* == LOGIN == */

#login-hero a:not(.btn){
	font-weight: bold;
}

#login-hero {
	min-height: calc(100vh - 96px);
}

#login-hero .background-image{
	background: url("../immagini/altro/login_hero.jpg") center center no-repeat;
	background-size: cover;
}

#login-hero img {
	max-width: 280px;
}

#login-hero form{
	max-width: 360px;
}

.btn.leggi-tutto{
	padding-right: 26px;
}

.btn.leggi-tutto::after{
	opacity: .8;
	filter: alpha(opacity=80);
	content: "\f30b";
}

.btn:hover.leggi-tutto::after{
	padding: 0 8px 0 0;
}

#login-hero .form-control{
	border-radius: 5rem;
	padding: .75rem 1rem;
}

#login-hero .p-5{
	padding: 2em 1.5em !important;
}

/* == BARRA SUPERIORE == */

.header{
	border-bottom: 1px solid #dadada;
	padding: 1rem 0;
	z-index: 2;
}

.header .dropdown > a{
	background-color: transparent;
}

img.logo-mobile{
	width: 32px;
	margin-right: auto !important;
	margin-left: auto !important;
}

img.logo {
	width: 160px;
}

.header .profile-picture {
	width: 42px;
	height: 42px;
	position: relative;
	margin-left: 2.5px;
	z-index: 1;
	background-color: #FFFFFF !important;
	box-shadow: none;
}

.profile-picture {
	width: 44px;
	height: 44px;
	position: relative;
	z-index: 1;
	background-color: #FFFFFF !important;
	box-shadow: 0 0 0 2px #FFF;
	border: none;
}

.nuovo-post .profile-picture:after,
.header .profile-picture:after {
    content: '';
    position: absolute;
    background: transparent;
    width: 54px;
    height: 54px;
    border-radius: 5rem;
    border: 2px solid var(--primary);
    top: -6px;
    left: -6px;
    z-index: 0;
}

.profile-name {
	line-height: 16px;
}

.header button{
	background: none;
	border: none;
}

.header button:hover{
	color: var(--primary-over);
}

.header .ricerca-inline button{
	position: absolute;
	right: 22px;
	top: 15px;
}


/* == CONTENUTO PRINCIPALE == */

main{
	margin-bottom: 60px;
}

.social-wrapper {
	position: relative;
	margin-top: 80px;
	padding-top: .5em;
	z-index: 0;
}

.profile-name .time{
	position: relative;
	margin-left: 1em;
	font-size: 12px;
}

.profile-name .time:before {
    content: '\f105';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 0;
    font-size: 10px;
    left: -9px;
    top: -2px;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: relative;
}
.sub-info {
	font-size: 16px;
	font-weight: 600;
}

.sub-info .dropdown-toggle {
	margin-right: 4px;
}

.sub-info .dropdown-toggle:after {
	display:none;
}

.info-like a{
	font-weight: bold;
}


/* Copertina */

.copertina-utente {
	margin-bottom: 1em;
}

.copertina {
	position: relative;
}

.copertina .profile-picture {
	width: 80px;
	height: 80px;
	top: calc(50% - 40px) !important;
	left: calc(50% - 40px) !important;
	box-shadow: inset 0 0 0 4px #FFF;
	margin-right: 0;
	border: none;
}

#datiPubbliciUtente{
	position: relative;
    top: 5px;
    width: 50%;
	display: inline-block;
}

#datiPubbliciUtente p{
	line-height: 14px;
}

#datiPubbliciUtente p:not(:last-child){
	margin-bottom: 8px;
}

#datiPubbliciUtente p:last-child{
	margin-bottom: 0px;
}

/* Nuovo post */

.main-feed .nuovo-post .profile-picture {
	top: -9px;
}

.nuovo-post textarea {
	border-radius: 0.25rem!important;
}

.nuovo-post .custom-file{
	position: relative;
	cursor: pointer;
}

.nuovo-post .custom-file input[type="file"]{
	text-indent: -999px;
	cursor: pointer;
}

.nuovo-post .custom-file:not(.dropdown):after{
	position: absolute;
	z-index: 0;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	content: '';
	cursor: pointer;
}

.nuovo-post .custom-file label::after {
	display: none;
}

.nuovo-post .custom-file label,
.nuovo-post .custom-file {
	width: auto;
	border: none;
	background: #f1f1f1;
	border-radius: 5rem;
	display: flex;
    align-items: center;
}

.nuovo-post .custom-file.dropdown{
	color: #212529;
}

.nuovo-post .custom-file:hover label,
.nuovo-post .custom-file.dropdown:hover{
	background: #ddd;
}

.nuovo-post .custom-file i,
.nuovo-post .custom-file i::before{
	width:0;
}

.nuovo-post .custom-file-input {
	width: 38px;
	height: 38px;
}

.nuovo-post .pulsanti .btn {
	padding: 0.375rem 0.75rem;
	width: 38px;
	height: 38px;
}

.nuovo-post .pulsanti .dropzone {
	width: 38px;
    height: 38px;
    min-height: 0;
    line-height: 38px;
    border-radius: 100%;
	padding: 0;
}

.nuovo-post .pulsanti .dropzone.dz-clickable .dz-message, 
.nuovo-post .pulsanti .dropzone.dz-clickable .dz-message * {
    margin-top: 4px;
}

.nuovo-post .pulsanti .dz-message {
	margin: 0;
}

.nuovo-post .dropdown-toggle::after{
	display: none;
}

.nuovo-post .pulsanti .dropdown-toggle .fa-smile:before {
    content: "\f118";
    padding: 0;
    left: -7px;
    position: relative;
}

.nuovo-post #audioNuovoPost{
	width: calc(100% - 36px) !important;
}

.emoji-wrapper {
	padding: 8px;
}

.emoji-wrapper img{
	height: 24px;
	width: 24px;
}

.emoji-wrapper button {
	border: none;
	background: transparent;
	padding: 0px;
	border-radius: 5rem;
	font-size: 20px;
	width: 25px;
}

.emoji-wrapper button:hover{
	background: #f1f1f1;
}

.nuovo-post > div.d-flex.justify-content-between > button {
	height: 38px;
}

.nuovo-post .img-container .azioni {
    position: absolute;
    top: .25rem;
    right: .25rem;
    z-index: 1;
}

/* == COLONNA MENU == */

.menu-verticale {
	text-align: center;
}

.menu-verticale li{
	position: relative;
	font-size: 18px;
}

.menu-verticale li a{
	font-weight: 500;
}

.menu-verticale li a.active{
	font-weight: bolder;
}

.menu-verticale li a .badge{
	position: absolute;
	left:12px;
	top:-12px;
	border: 2px solid #FFFFFF;
	padding: 0;
	width: 24px;
	height: 24px;
	line-height: 20px;
	font-size: 12px;
}

.menu-verticale li:not(:last-child){
	margin-bottom: 1em;
}

.colonna-menu .btn{
	padding: 0;
	width: 26px;
	height: 26px;
	box-shadow: 0 0 0 8px var(--primary);
}


.colonna-menu i{
	width: 20px;
	text-align: center;
}

/* == FEED PRINCIPALE == */ 

.main-feed p{
	line-height: 22px;
}

.main-feed .item{
	padding-left: 54px;
	position: relative;
}

.main-feed .item:not(:last-of-type){
	margin-bottom: 1.5em;
}

.main-feed .item.singoloPost:not(:last-of-type){
	margin-bottom: 3em;
}

.main-feed .item.singoloPost:after {
    content: '';
    position: absolute;
    height: 6px;
    width: calc(100% + 32px);
    left: -16px;
    bottom: -1.5em;
    background: var(--light);
}

.main-feed .item.singoloPost p a{
    font-weight: bold;
	color: #000;
}

.main-feed .profile-picture {
	position: absolute;
	left: 0px;
	top: -14px;
}

.main-feed .profile-name{
	padding-right: 52px;
}

.main-feed .item.commento {
	margin-bottom: 0.5em;
}

.main-feed .item.commento:hover {
    margin-bottom: 0.5em;
    background: #f1f1f1;
    border-radius: 11px;
    box-shadow: 2px -3px 0 10px #f1f1f1;
}

.item .azioni {
	position: absolute;
	top: -8px;
	right: 0;
	opacity:1;
}

.main-feed .item.commento .azioni {
	top: inherit;
	bottom: -16px;
}
	
.main-feed .item.nuovo-post {
	padding-left: 0;
	margin-bottom: 36px;
}

/* Commenti */ 

.divInputNuovoCommento {
	border-radius: 16px;
    padding: 0.5rem 40px 0.5rem 0.75rem;
    display: block;
    width: 100%;
    /*height: calc(1.5em + .75rem + 2px);*/
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.1;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.pubblicaCommento {
	position: absolute;
    right: 4px;
    top: 3px;
    border-radius: 100%;
    width: 28px;
    height: 28px;
    padding: 0;
}

.commentiPost .item {
    padding-left: 40px;
}

.commentiPost .profile-picture{
    width: 30px;
    height: 30px;
	top: -6px;
}

.nuovoCommento {
	position: relative;
	margin-bottom: 1.5em;
}

.nuovoCommento .profile-picture{
	position: relative;
    top: 0 !important;
    bottom: inherit;
    left: inherit;
    right: inherit;
	width: 34px;
	height: 30px;
}

.commento {
	position: relative;
}

/* Esplora */

.main-feed .esplora .item {
	margin-bottom: 1.5em;
}

.main-feed .esplora .profile-picture {
	top: 0;
}

.main-feed .esplora .tags a{ 
	margin: 0 1.25em .75em 0;
	display:inline-block;
}

/* == COLONNA WIDGET == */

.side-widget:not(:last-of-type){
	margin-bottom: 2em;
}

.side-widget .img-container {
	width: 80px;
	height: 45px;
}

.side-widget .card .item:not(:last-child){
	margin-bottom: 1em;
}

.side-widget .profile-picture {
	position: absolute;
}

.side-widget .card > a > div:nth-child(2) {
	margin-left: 54px;
}

/* == Ricerca Full Screen == */

#ricercaFullScreen {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
	z-index:1200;
    
    -webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	-ms-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;

    -webkit-transform: translate(0px, -100%) scale(0, 0);
	-moz-transform: translate(0px, -100%) scale(0, 0);
	-o-transform: translate(0px, -100%) scale(0, 0);
	-ms-transform: translate(0px, -100%) scale(0, 0);
	transform: translate(0px, -100%) scale(0, 0);
    
    opacity: 0;
}

#ricercaFullScreen.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
	-o-transform: translate(0px, 0px) scale(1, 1);
	-ms-transform: translate(0px, 0px) scale(1, 1);
	transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
}
#ricercaFullScreen h3 {
    position: absolute;
    top: 25%;
    width: 100%;
    text-align: center;
}
#ricercaFullScreen input[type="search"] {
    position: absolute;
    top: 50%;
    width: 100%;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0);
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}
#ricercaFullScreen .btn {
    position: absolute;
    top: 50%;
    left: calc(50% - 50px);
    width: 100px;
    margin-top: 60px;
}
#ricercaFullScreen .close {
    position: fixed;
    top: -20px;
    right: 20px;
	width: 46px;
	height: 90px;
    color: #fff;
	background-color: transparent;
	border: none;
	opacity: 1;
	border-radius: 0;
}

#ricercaFullScreen span.line {
	width: 46px;
	height: 2px;
	transform: rotate(45deg);
    position: absolute;
	top:16px;
	right: 0;
	background-color: rgba(0,0,0,0.80);
}

#ricercaFullScreen span.line:last-child {
	width: 46px;
	height: 2px;
	transform: rotate(-45deg);
    position: absolute;
	top:16px;
	right: 0;
	background-color: rgba(0,0,0,0.80);
}

#ricercaFullScreen .close:hover span.line {
	background-color: rgba(0,0,0,1);
}

@media screen and (min-width:768px){
	#ricercaFullScreen input[type="search"] {
    font-size: 3em;
	}
}

@media screen and (min-width:992px){
	a.btn-cerca {
		padding-left: .6rem;
		padding-right: .6rem;
	}
}

/* == RISULTATI RICERCA == */

.tabRisultatiRicercaCanali .profile-picture {
	border-radius: .25rem !important;
	top: -7px;
}

/* == NOTIFICHE == */

.notificaSocial .profile-picture{
	position: relative;
	display: inline-block;
	margin: 0.75em 0.75em 0 0;
}

/* == MODAL == */

.modal-body.main-feed .profile-picture {
    top: -5px;
}

.modal-body.main-feed .profile-picture:after {
	display: none;
}

.modal-body.main-feed .item:before {
	display: none;
}

.modal-body.main-feed .item span.text-muted {
	display: block;
}

.wrapperUtente {
	position: relative;
}

.wrapperUtente .item {
	margin-bottom: 26px !important;
	passing-left: 55px;
}


/*
.modal-body.main-feed .wrapperUtente button,
.modal-body.main-feed .wrapperUtente .btn {
	position: absolute;
	right: 0;
	top: 0;
}
*/
.esitoOperazioniElenco {
	position: absolute;
	right: 0;
	top: 0;
	max-width: 40%;
	line-height: 16px;
}


#menuInferioreMobile {
	border-top: 1px solid #dadada;
	padding: .5em;
	font-size: 22px;
}

#menuInferioreMobile .nav-link {
    padding: .5rem .65rem;
}

/* == MEDIA QUERIES == */

@media (min-width: 768px) {
	
	main{
		margin-bottom: inherit;
	}

	#login-hero {
		min-height: calc(100vh - 72px);
	}
	
	#login-hero .p-5{
		padding: 3em !important;
	}
	
	.menu-verticale {
		text-align: left;
	}
	
	.colonna-menu .btn{
		padding: inherit;
		height: inherit;
		width: inherit;
		box-shadow: none;
		padding:.4em;
	}
	
	.social-wrapper {
		padding-top: 1.5em;
	}
		
	.copertina {
		margin-bottom: -60px;
	}
	
	.copertina .profile-picture {
		position: relative;		
		width: 120px;
		height: 120px;
		bottom: 60px;
		left: calc(50% - 60px) !important;
	}
	
	.copertina-utente button {
		position: relative;
		top: -60px;
	}
	
	.copertina-utente .d-flex.justify-content-between.mb-3 button {
		position: relative;
		top: 0px;
	}
	
	#datiPubbliciUtente{
		position: relative;
		max-width: calc(50% - 70px);
		top: -55px;
		margin-bottom: -60px;
	}
	
	.item:not(.nuovo-post) .azioni {
		opacity: 0;
	}

	.item:hover > .azioni {
		opacity: 1;
	}
	
	.main-feed .item.singoloPost:after {
		display:none;
	}
	
	.main-feed .item:before{
		content: '';
		position: absolute;
		height: calc(100% + 74px);
		width: 1px;
		left: 22px;
		top:0;
		background: #dadada;
	}

	.main-feed .item .item:before{
		display:none;
	}
	
	.main-feed .item.nuovo-post {
		padding-left: 54px;
	}
	
}

@media (min-width:992px){
	.header .ricerca-inline button{
		top: 15px;
	}
	
	.nuovoCommento .profile-picture{
		width: 32px;
		height: 30px;
	}
}

@media (min-width: 1600px) {
	.container {
		max-width: 1440px;
	}
}


.nuovoCommento .custom-file.dropdown{
	position: absolute !important;
    right: 38px !important;
    bottom: -6px !important;
    width: 0 !important;	
}

.nuovoCommento .custom-file.dropdown button::after{
	display: none !important;
}

.nuovoCommento .custom-file.dropdown button{
	box-shadow: none !important;
}
