.onlyMobile {
    display: none !important;
}

.onlySmartphone {
    display: none !important;
}

.menuMobile {
	display: flex !important;
}

.layout-content {
	overflow: auto;
	overflow-x: hidden;
}

/* body.osmac.darkMode::-webkit-scrollbar,
body.osmac .darkMode::-webkit-scrollbar {
	width: 11px;
}

body.osmac.darkMode,
body.osmac .darkMode {
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,0.6) #323232;
}

body.osmac.darkMode::-webkit-scrollbar-track,
body.osmac .darkMode::-webkit-scrollbar-track {
	background: #323232;
}

body.osmac.darkMode::-webkit-scrollbar-thumb,
body.osmac .darkMode::-webkit-scrollbar-thumb {
	background-color: rgba(0,0,0,0.4) ;
	border-radius: 6px;
	border: 2px solid #323232;
} */

/* Displays' page */
#grid .grid-sizer, #grid .card-display {
	width: calc(50% - 2rem)
}

#grid .card-display.grid-item-full-width {
	width: calc(100% - 2rem);
}

@media (min-width: 1560px) {
	#grid .grid-sizer, #grid .card-display {
		width: calc(33.33% - 2rem)
	}
}

.card-display .card-block {
	padding: 0;
}

#grid .card-display {
	border-radius: 8px;
}

.card .overlayLink {
	position: absolute; top: 0; left:0; bottom:0; right:0;
}

.card .overlayLink::after {
	position: absolute; top: 0; left:0; bottom:0; right:0;
	content: "";
	opacity: 0;
	border-radius: 50%;
	background-color:rgba(225,225,225,.2);
	transform: scale(.8);
	transition: all .3s cubic-bezier(0.5, 0, 0.5, 1);
}

.card .overlayLink:hover::after {
	position: absolute; top: 0; left:0; bottom:0; right:0;
	content: "";
	opacity: 1;
	border-radius: 0;
	transform: scale(1);
	transition: all .3s cubic-bezier(0, 0, 0.5, 1);
}

.card-block .displayContentWrapper {
	display: flex;
    flex-direction: row;
    /* justify-content: space-around; */
    align-items: flex-start;
	padding: 0 32px 32px;
	flex-wrap: wrap;
}

.displayCheckbox {
	flex-shrink: 0;
	cursor: pointer;
	z-index: 1000;
}

.addPlaylistCheckbox {
	width: 100%;
	margin: 16px 0 40px;
}

.addPlaylistCheckbox.marginBottom {
	margin: 0px 0 20px !important;
}

.displayContentWrapper .displaySidebar {
	margin-right: 24px;
	flex-basis: auto;
	flex-shrink: 0;
	pointer-events: none;
	max-width: 120px;
}

.displaySidebar .whisper {
	margin-bottom: 0;
	max-width: 100%;
}

.displaySidebar .displayIconContainer, .sectionSidebar .displayIconContainer {
	position: relative;
	margin-bottom: 8px;
	display: block;
	height: auto;
	background-color: #F8F8F8;
	border-radius: 4px;
	color: #5a90DC;
}

.displaySidebar .displayIconContainer {
	width: 120px;
	padding: 0;
}

.sectionSidebar .displayIconContainer {
	width: auto;
	padding: 0 16px 16px;
}

.displayIconContainer .displayIcon {
	position: relative;
	height: 120px;
}

.displayIconContainer .displayIcon.double {
	position: relative;
	height: 240px;
	min-width: 200px;
}

.displayIconContainer .center-block {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgb(72,72,72);
	background: linear-gradient(170deg, rgba(72,72,72,1) 0%, rgba(35,35,35,1) 100%);
	border-radius: 2px;
	border: 2px solid #222222;
	width: 90px;
	height: 50px;
}

.center-block.portrait {
	transform: translate(-50%, -50%) rotate(90deg);
}

.center-block.rotation_degree_90 {
	transform: translate(-50%, -50%) rotate(-90deg);
}

.center-block.rotation_degree_180 {
	transform: translate(-50%, -50%) rotate(180deg);
}

.center-block.double {
	width: 180px;
	height: 102.8px;
}

.center-block.double.portrait.android,.center-block.double.portrait.philips, .center-block.double.portrait.chromeos  {
	transform: translate(-50%,-50%) rotate(0deg) !important;
	width: 100px !important;
	height: 180px !important;
}

.displayCheckbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: relative;
	float: left;
	height: 24px;
	width: 24px;
	background-color: #ffffff;
	border: 1px solid #c1c1c1;
	border-radius: 4px;
	margin-right: 16px;
}

/* .displayIconContainer:hover {
	background-color: #e9f4ff;
	cursor: pointer;
} */

.displayCheckbox input:not(:checked):hover ~ .checkmark {
	background-color: rgb(233, 242, 255);
	border-color: #5a90DC;
}

.displayCheckbox:hover input:not(:checked) ~ .checkmark {
	background-color: rgb(233, 242, 255);
	border-color: #5a90DC;
}

.displayCheckbox input:checked ~ .checkmark {
	background-color: #5a90DC;
}

.inputTextWrapper textarea {
    min-height: 60px;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
	left: 8px;
	top: 2px;
	width: 8px;
	height: 16px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.checkmarkAll {
	position: relative;
	float: left;
	height: 24px;
	width: 24px;
	background-color: #ffffff;
	border: 1px solid #c1c1c1;
	border-radius: 4px;
	margin-right: 16px;
}

.checkmarkAll:after {
	content: "";
	position: absolute;
	left: 7px;
	top: 1px;
	width: 8px;
	height: 16px;
	border: solid #e7007e;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.displayCheckbox input:checked ~ .checkmark:after {
	display: block;
}

.displayCheckbox input:checked ~ .checkmark {
	border: 0;
}

.displayContentWrapper .displayContent {
	flex-grow: 2;
	margin-bottom: 24px;
	flex-basis: calc(100% - 144px);
}

.displayContent .displayTimer {
	line-height: 32px;
	margin-bottom: 12px;
	display: block;
	padding: 0;
	border-bottom: 1px solid #ececec;
}

.displayContent .subtitle-wrapper {
	margin: 8px 0 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #ececec;
}

.displayContent .playlistName {
	margin: 0 0 -8px;
}

.displayContent .playlistName > a {
	color: black;
}

.displayContent .playlistTime {
	margin: 8px 0 12px;
    line-height: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid #ececec;
}

.displayContent .timerName {
	width: 100%;
	font-size: 14px;
	margin: 0 0 4px;
    line-height: 24px;
}

.timerName i.material-icons, .playlistName i.material-icons {
	font-size: 16px;
	position: relative;
	top: -1px;
}

.displayContent .cardCTA {
	flex-basis: auto;
	flex-shrink: 0;
	display: inline-block;
	font-size: 14px;
}


/* Single display's page */

.displaySection, .grid-sizer-section {
	width: calc(100% - 2rem);
}

@media (min-width: 1620px) {
	.displaySection, .grid-sizer-section {
		width: calc(50% - 2rem);
	}
}

.sectionHeader {
	border: 0;
}

.sectionContentWrapper {
	display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 32px 24px;
}

.sectionContentWrapper.dblock {
	display: block;
}

.sectionContentWrapper .sectionSidebar {
	margin-right: 32px;
	flex-basis: auto;
	flex-shrink: 0;
}

.displayQR {
	margin: 16px 0;
}

.displayQR > div {
	height: 80px;
	margin-right: 12px;
	float:left;
}

.displayQR .qrcode-container {
	width: 80px;
	height: 80px;
}

.sectionContentWrapper .sectionContent {
	flex-grow: 1;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.sectionContent.information {
	flex-wrap: wrap;
}

.sectionContent.information > * {
	flex-basis: 50%;
	min-width: 240px;
	padding: 16px 0;
	border-bottom: 1px solid #dddddd;
	flex-grow: 0;
}

.sectionContent .subContent {
	margin-bottom: 32px;
	padding: 0 16px;
	flex-grow: 1;
	flex-basis: 50%;
}

.subContent.status {
	flex-basis: 100%;
}

.subContent.url {
	flex-basis: 100%;
}

.subContent.software {
	flex-basis: 100%;
}

.subContent.system {
	flex-basis: 100%;
}

.containerTags {
	padding: 16px;
}

#tags,
#tagsLevel {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
} 

.displayTags {
	display: flex;
	align-items: center;
	max-width: 200px;
	padding: 10px 20px;
	border: 1px solid #dddddd;
	border-radius: 24px;
	margin-right: 8px;
	margin-bottom: 8px;
	white-space: normal;
}

.displayTags .displayTag {
	max-width: 100%;
}

.displayTags i {
	position: relative;
	top: 1px;
	font-size: 16px;
	right: -2px;
}

.button_tags {
	flex-wrap: nowrap !important;
	align-items: center;
}

.button_tags .listActions {
	display: flex;
	flex-wrap: nowrap !important;
}

.button_tags .tag-name-wrapper {
	display: flex;
	align-items: center;
}

.button_tags .name-tag {
	display: inline-block;
	max-width: 150px;
	white-space: normal;
}
 
@media (min-width: 2000px) {
	.button_tags .name-tag {
		max-width: 250px;
	}
}

@media (min-width: 1560px) and (max-width: 1700px)  {
	.button_tags .name-tag {
		max-width: 120px;
	}
}

@media (max-width: 1240px)  {
	.button_tags .name-tag {
		max-width: 120px;
	}
}

.button_tags .subtitle {
	margin-bottom: 0px;
}

.button_tags .displayCheckbox {
	display: flex;
	align-items: center;
}

.card.programmazione .sectionContentWrapper {
	flex-wrap: wrap;
}

.sectionContent.timers {
	flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
}

.sectionContent.timersMiniPc span:last-child {
	flex-basis: 100%;
	margin-bottom: 32px;
}

.sectionContent .timerWrapper {
	flex-basis: 100%;
    padding: 8px 0 32px;
    display: flex;
    flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-start;
}

.timerWrapper li {
	flex-basis: auto;
	display: flex;
	flex-direction: column;
	padding: 16px;
	background: #f0f0f0;
	justify-content: space-between;
	border-radius: 4px;
	margin: 0 16px 16px 0;
}

.timerWrapper li div:first-child {
	margin-bottom: 8px;
	border-bottom: 1px solid #dddddd;
	padding: 0 0 8px;
}

.timerWrapper li span {
	margin: 0 16px 0 0;
}

.timerWrapper li span a {
	display: none;
}

.timerWrapper li.empty div:first-child {
	margin-bottom: 0;
	border-bottom: 0 solid #dddddd;
	padding: 0;
}

.timerWrapper li.empty span a {
	display: inline-block;
}

.timerWrapper li.empty {
	border: 1px solid #dddddd;
	background-color: transparent;
}

.timerWrapper li.empty a {
	display: none;
}

.timerWrapper li.empty div.timerInfo {
	display: none;
}



/* .timerWrapper .timer i {
	position: relative;
	top: -1px;
	font-size: 20px;
}

.timerWrapper .timer i:first-child {
	left: -4px;
}

.timerWrapper .timer i:last-child {
	display: none;
	right: -4px;
}

.timerWrapper .timer.full {
	background: #f0f0f0;
	border: 0;
}

.timerWrapper .timer.full i:last-child {
	display: inline-block;
}

.timerWrapper .timer.full i:first-child {
	display: none;
}

.timerWrapper a {
	color: rgba(35,35,35,1);
} */

.sectionContent.playlist {
	flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
}

.sectionContent.playlist .playlistList {
	flex-basis: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0;
	margin-top: 0px;
	margin-bottom: 0px;
}

.sectionContent.playlist .playlistList li {
	flex-basis: auto;
	display: flex;
	flex-direction: column;
	padding: 16px;
	background: #f0f0f0;
	justify-content: space-between;
	border-radius: 4px;
	margin: 8px 16px 8px 0;
}

.sectionContent.playlist .playlistList:not(.playlistListOneElement) li:last-child {
	flex-basis: auto;
	display: flex;
	flex-direction: column;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #dddddd;
	justify-content: space-between;
	border-radius: 4px;
	margin: 8px 16px 8px 0;
}

.sectionContent.playlist .playlistList li div {
	flex-basis: 24%;
	padding: 0;
	margin-bottom: 4px;
}

.sectionContent.playlist .playlistList li div:first-child {
	display: flex;
	flex-direction: row;
	margin-bottom: 8px;
	margin-left: -5px;
    border-bottom: 1px solid #dddddd;
	padding: 0 0 8px;
	flex: 0 0 auto;
}
.sectionContent.playlist.playlistOffline .playlistList li div:first-child {
	padding: 0;
	border-bottom: none;
	margin-bottom: 0;
}


.sectionContent.playlist .playlistList li div:first-child a:first-child {
	margin: 0 16px 0 0;
}

.sectionContent.widget .playlistList li.empty_state {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.sectionContent.widget .playlistList li.empty_state p {
	margin: 10px;
}

.sectionContent.widget .playlistList li.empty_state .info {
	max-width: 200px;
}


.form-control {
	height: auto;
}
.form-group {
	margin-bottom: 0;
}

/* select#screenSelect {
	padding: 16px;
    line-height: 22px;
    color: #e2007e;
    border: 1px solid #dddddd;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3…c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E), linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

select#screenSelect option {
	text-align: center;
	width: 100%;
} */

.lsSelect select {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 400;
	color: #e2007e;
	line-height: 18px;
	padding: 16px 40px 16px 16px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-overflow: ellipsis;
	margin: 0;
	border: 1px solid #dddddd;
	border-radius: 8px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgb(226,0,126)" width="36px" height="36px"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'),
	  linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: 1.5em auto, 100%;
	cursor: pointer;
}

.lsSelect select.error {
	border-color: #D0021b !important;
}
.subtitle.error {
	color: #D0021b !important;
}

.lsSelect.dark select {
	/* color: white;
	background-color: rgba(255,255,255,0.2);
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgb(255,255,255)" width="36px" height="36px"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'),
	linear-gradient(to bottom,rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.2) 100%);
	border: 1px solid transparent; */
	border: 0;
}

.lsSelect.dark option {
	/* color: #444; */
	color: #FFF;
}

.lsSelect.dark option:focus,
.lsSelect.dark option:active,
.lsSelect.dark option:checked {
	color: #e2007e;
}

.lsSelect.dark select:focus,
.lsSelect.dark select:active,
.lsSelect.dark select:checked {
	color: #e2007e;
}

.lsSelect.lsDarkSelect select {
	color: white;
	border: 1px solid black;
	background-color: #666666;
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgb(255,255,255)" width="36px" height="36px"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'),
	  	linear-gradient(to bottom, #666666 0%,#555555 100%);
}

.lsSelect.lsDarkSelect select:focus {
	border-color: black !important;
	box-shadow: none !important;
	color: white !important;
}

.createMode ~ .lsModal .lsSelect select {
	color: white;
	border: 1px solid black;
	background-color: #666666;
	background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgb(255,255,255)" width="36px" height="36px"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'),
	  linear-gradient(to bottom, #666666 0%,#555555 100%);
}

.lsSelect select::-ms-expand {
	display: none;
}

.lsSelect select:hover {
	border-color: #dddddd;
}

.lsSelect select:focus {
	border-color: #e2007e;
	box-shadow: 0 0 1px 2px rgba(226, 0, 126, .5);
	box-shadow: 0 0 0 2px -moz-mac-focusring;
	color: #e2007e;
	outline: none;
}

.lsSelect select option {
	font-weight:normal;
}

/* Playlists' page */
.layout-black {
	background-color: rgba(0,0,0,0.8);
}

/* .createMode::-webkit-scrollbar {
	background-color: transparent;
	width: 8px;
	height: 8px;
}

/* background of the scrollbar except button or resizer */
.createMode::-webkit-scrollbar-track {
	background-color: rgba(0,0,0,0.75);
}

/* scrollbar itself */
.createMode::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.25);
    border: none;
}

/* set button(top and bottom of the scrollbar) */
.createMode::-webkit-scrollbar-button {display:none}

#grid .grid-sizer, #grid .card-screen {
	width: calc(50% - 2rem);
}

@media (min-width: 1560px) {
	#grid .grid-sizer, #grid .card-screen {
		width: calc(33.33% - 2rem);
	}
}

.card-screen .card-block {
	padding: 0;
}

#grid .card-screen {
	border-radius: 8px;
	border: 0;
}

/* .card-screen::after
.cardMini::after
{
	position: absolute; top: 0; left:0; bottom:0; right:0;
	content: "";
	opacity: 0;
	border-radius: 50%;
	background-color:rgba(225,225,225,.2);
	transform: scale(.8);
	transition: all .3s cubic-bezier(0.5, 0, 0.5, 1);
	pointer-events: none;
} */

.card-screen:hover
/* .cardMini:hover */
{
	cursor: pointer;
}

.card-screen .cardCTA {
	margin-left: auto;
	opacity: 0;
	transition: all .3s cubic-bezier(0.5, 0, 0.5, 1);
}

.card-screen:hover .cardCTA {
	opacity: 1;
	transition: all .3s cubic-bezier(0.5, 0, 0.5, 1);
}

.card-block .playlistContentWrapper {
	overflow-x: hidden;
	position: relative;
    padding: 0;
}

.cardMini .playlistContentWrapper {
	/* padding: 16px; */
	/* float: right; */
	padding: 16px 0 0 0;
}

.playlistContentWrapper .scrollContainer {
	padding: 0;
    display: flex;
    align-content: center;
    justify-content: flex-start;
    position: relative;
	overflow-x: hidden;
	cursor: default;
}

.playlistContainerWrapper .scrollContainer {
	padding: 0;
    display: flex;
    align-content: center;
    justify-content: flex-start;
    position: relative;
	overflow-x: hidden;
	cursor: default;
	margin: 0 16px;
	width: 100%;
}

.cardMini .scrollContainer {
	margin: 0;
}

/* .cardMini .playlistContentWrapper .scrollContainer, .cardMini .playlistContentWrapper .playlistHDMI, .cardMini .playlistContentWrapper .playlistURL {
	display: none;
} */

/* .playlistContentWrapper .playlistContent {
	display: inline-block;
} */

.card-block .playlistContainerWrapper {
	display: flex;
	align-items: stretch;
	padding: 0;
	flex-wrap: nowrap;
	position: relative;
	overflow-x: hidden;
	padding: 0;
}

.card-block .playlistContainerWrapper:hover::after {
	opacity: 1;
}

.playlistContainerWrapper .cardMini {
	flex-grow: 1;
    flex-shrink: 0;
    flex-basis: calc(50% - 32px);
    /* overflow-x: hidden; */
    width: auto;
    padding: 16px;
    margin-right: 16px;
    border: 0;
    overflow: hidden;
    border: 1px solid #DDD;
	margin-right: 16px;
	cursor: default;
    /* background: rgba(0,0,0,0.025); */
}

.playlistContainerWrapper .cardMini:first-child {
	margin-left: 16px;
}

.playlistContainerWrapper .cardMini .card-block {
	display: inline-block;
}

.playlistContentWrapper .playlistHDMI {
	overflow: auto;
    height: auto;
    white-space: normal;
    padding: 0 32px 32px;
    color: #999;
    background: transparent;
	width: 100%;
	text-align: left;
}

.playlistContentWrapper .playlistURL {
	overflow: auto;
    height: auto;
    white-space: normal;
    padding: 0 32px 32px;
    color: #999;
    background: transparent;
	width: 100%;
	text-align: left;
}

.righty, .lefty {
    padding: 16px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    color: white;
	transform: translateY(-50%);
	z-index: 1;
	opacity: 0;
}

.card-screen:hover .righty, .card-screen:hover .lefty {
	opacity: 1;
}

.righty {
	right: 16px;
}

.lefty {
	left: 16px;
}

.lefty i {
	position: relative;
	left: 4px;
}

.cardMini .card-block .playlistContentWrapper::after {
	display: none;
}

.card-block .playlistContentWrapper:hover::after {
	opacity: 1;
}

.cardMini .playlistContentWrapper .playlistHDMI {
	overflow: auto;
    height: auto;
    width: auto;
    padding: 0;
}

.cardMini .playlistContentWrapper .playlistURL {
	overflow: auto;
    height: auto;
    width: auto;
    padding: 0;
}

.playlistContentWrapper .imgWrapper {
	overflow: visible;
	/* transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1); */
	/* box-shadow: -16px 0 24px -16px; */
	/* cursor: zoom-in; */
	border-right: 4px solid transparent;
}

/* .playlistContentWrapper .imgWrapper:first-child {
	box-shadow: none;
} */

.playlistContentWrapper ~ .cardFooterWrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
	opacity: 1;
	transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
	display: none;
}

.playlistContentWrapper:hover ~ .cardFooterWrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
	opacity: 0;
	transition: all 0.25s cubic-bezier(0.5, 0, 0.5, 1);
	display: none;
}

.cardMini .playlistContentWrapper .imgWrapper img {
	height: 80px;
    /* border: 2px solid white; */
	/* transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1); */

	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	/* border-radius: 4px; */
}

.playlistContentWrapper .imgWrapper img {
	height: 220px;
    /* border: 2px solid white; */
	/* transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1); */

	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	/* border-radius: 4px; */
}

/* .playlistContentWrapper .imgWrapper a {
	cursor: zoom-in;
} */

.playlistContentWrapper .imgWrapper:hover {
	overflow: visible;
	/* transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1); */
}

.playlistContentWrapper .imgWrapper:last-of-type:hover + .playlistContentMoreSlides {
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1);
}

.playlistContentWrapper .playlistContentMoreSlides {
	/* height: 40px;
	padding: 0 16px;
    position: absolute;
    transform: translateY(-100%);
	right: 32px;
	top: 50%;
    border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
    box-shadow: 0 4px 24px -6px;
    line-height: 40px;
	background: white;
	color: black;
	opacity: 1;
	transition: all 0.5s cubic-bezier(0.5, 0, 0.5, 1); */

	height: 220px;
    width: 120px;
    background-color: #f1f2f3;
    font-size: 16px;
    padding: 40px 16px;
	color: #999;
    border: 0;
    text-align: center;
	font-weight: bold;
	border: 0;
}

.playlistContentWrapper a.imgWrapper:hover {
	text-decoration: none;
}

.card-black {
	background-color: #232323;
	border-radius: 8px;
	overflow: hidden;
}

.card-black .cardHeaderWrapper {
	border: 0;
	border-radius: 8px 8px 0 0;
}

.card-black .cardHeaderWrapper a {
	color: white;
}

.card-display.hide-checkbox .cardHeaderWrapper .checkmark {
	width: 0;
	margin: 0;
	border: 0;
}

.card-screen.hide-checkbox .cardHeaderWrapper .checkmark {
	width: 0;
	margin: 0;
	border: 0;
}

.card-black .playlistContentWrapper {
    background: #232323;
    overflow: hidden;
    /* margin-bottom: -16px; */
    padding-top: 40px;
	justify-content: center;
}

.card-black .imgWrapper {
	overflow: hidden;
    box-shadow: -16px 0 24px -16px #323232;
    /* cursor: zoom-in; */
    transform: skew(0deg, 5deg);
    margin-bottom: -8px;
}

/* Pagina screen */

.layout-content.createMode {
	margin-left: 0;
	margin-right: 0;
	width: 400px;
	display: inline-block;
	overflow-x: hidden!important;
	background-color: #444444;
    color: #f1f2f3;
}

/* .layout-content.createMode:before {
	content: "";
    height: calc(150%);
    width: 2px;
    position: absolute;
    top: 0;
    left: 18px;
    background-color: #e2007e;
	border-radius: 2px;
	z-index: 1000;
} */

.sidebar-right.createMode {
	display: inline-block;
	width: calc(100% - 400px);
	margin: 0;
	top: 0!important;
	
	border-left: 0 solid #000000;
	background-color: #121212;
	color: #f1f2f3;
}

.playlistPreviewContainer {
	overflow-x: hidden;
	overflow-y: hidden;
}

.createMode .lsActionBar {
	background-color: rgb(19,19,19);
	z-index: 999;
	position: sticky;
	top: -80px;
}

.lsActionBar.absolute {
	position: absolute;
    top: 0;
    z-index: 9999;
	width: 100%;
	background: rgba(0,0,0,0.25);
	padding: 0 44px;
}

.sidebar-right .title {
	margin: 0 40px;
}

.sidebar-right .title > div {
	line-height: 40px;
}

.sidebar-right .lsActionBar {
	padding: 0 40px;
    margin: 0;
}

.sidebar-right .lsActionBar ul li {
	margin-right: 4px;
}

.createMode .lsActionBar ul {
	border-bottom: 0 solid #666666;
}

.createMode .lsActionBar ul li {
	border: 0 solid #666666;
	flex-shrink: 0;
	/* border-radius: 2px; */
}

.layout-content.createMode .lsActionBar {
	background-color: #444444;
	color: #f1f2f3;
}

.lsActionBar #searchSlide {
	color: white;
}

.lsActionBar #searchSlide:focus {
	outline: none;
}

.playlistTimeline {
	padding: 0 !important;
	position: relative;
	display: none;
}

/* .playlistTimeline::before {
	content: "";
	width: 2px;
	height: 100%;
	background-color: #E91E63;
	position: absolute;
	top: 0;
	left: 16px;
} */

.playlistTimeline .playlistIntro {
	border: 0 dotted gray;
    margin-bottom: 32px;
	border-radius: 4px;
	height: auto;
}

.playlistTimeline .playlistIntro p {
	padding: 16px;
    margin: 0;
    color: gray;
}

.containerSlideInScreen .nestable-item {
	height: auto;
    margin-bottom: 0;
    position: relative;
	border-left: 0;
	border-bottom: 1px solid black;
	padding: 24px 0 16px 24px;
	display: list-item;
	list-style-type: decimal;
	list-style-position: inside;
	margin: 0;
}

.containerSlideInScreen .nestable-item.shifted:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255,255,255,0.25);
	pointer-events: none;
	animation-name: disappear;
	animation-duration: 3s;
	animation-fill-mode: forwards;
}

@keyframes disappear {
	from {opacity: 1;}
	to {opacity: 0;}
}

.dragIndicator {
	width: 40px;
    height: calc(100% + 2px);
    position: absolute;
    top: -1px;
    bottom: 0;
    left: 0;
    /* background: black; */
    /* line-height: 140%; */
	border-bottom: 0 solid black;
	opacity: .6;
    /* border-right: 0;
	border-radius: 4px 0 0 4px; */
}

.dragIndicator > div {
	position: absolute;
	color: #999;
	left: 12px;
	top: 54px;
}

.containerSlideInScreen .slideAdded img {
	border: 1px solid #e2007e!important;
    box-shadow: 0 8px 24px -8px #e2007e;
}

.containerSlideInScreen .list-group-item {
	padding: 0!important;
}

.containerSlideList .list-group-item {
	padding: 0!important;
}

.containerSlideInScreen .slideTitle {
	display: flex;
}

/* .containerSlideInScreen .slideTitle:before {
	content: "";
    height: 16px;
    width: 16px;
    position: absolute;
    top: 18px;
    left: -22px;
    background-color: #e2007e;
	border-radius: 16px;
	border: 4px solid white;
	z-index: 1001;
} */

.containerSlideInScreen .nestable-handle .slideTitle {
	padding: 0;
	display: flex;
	margin-left: 16px;
	border: 0;
	flex-basis: 100%;
	word-wrap: break-word;
	text-overflow: ellipsis;
	overflow: hidden;
	background-color: transparent;
	font-weight: 500;
	max-width: 50%;
}

.playlistComposta .nestable-handle {
	cursor: default;
}

/* .containerSlideInScreen .slideTitle .nestable-handle::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 8px;
	background: #E91E63;
	position: absolute;
	left: -16px;
	top: 4px;
} */

.containerSlideInScreen .nestable-handle .slideTitle i {
	left: -8px;
}

.containerSlideInScreen .slideTitle .expandButton {
	margin-left: auto;
	padding: 12px 8px;
    border-left: 1px solid #DDDDDD;
}

.slideTitle > .expandButton i {
	transition: all .3s;
	transform: rotateX(180deg);
}

.slideTitle.closed > .expandButton i {
	transform: rotateX(0deg);
	transition: all .3s;
}

.containerSlideInScreen .slideWrapper {
    position: relative;
    top: -24px;
    left: 16px;
    width: calc(100% - 16px);
}

.safari .containerSlideInScreen .slideWrapper {
	top: 0;
}

.containerSlideInScreen .slideContent {
	display: flex;
}

.containerPlaylistInScreenChained .slideContent {
	min-height: 116px;
}

.containerSlideInScreen .slideContent .media {
	padding: 16px 16px 0;
    flex-grow: 1;
    display: flex;
	flex-wrap: wrap;
	font-weight: 500;
}

.slideTitle.closed + .slideContent {
	display: none
}

.containerSlideInScreen .slideContent .extraSlideInScreen {
    width: auto;
	display: flex;
	flex-direction: column;
    align-items: center;
    height: auto;
    position: static;
    right: 0;
    padding: 0 8px;
	border-bottom: 0 solid #e5e5e5;
	border-left: 1px solid #DDDDDD;
    margin-bottom: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.containerSlideInScreen .slideContent .extraSlideInScreen a {
    margin: 4px 0;
}

.playlistComposta .slideContent .media {
	color: #999;
	flex-wrap: nowrap;
	padding-right: 0;
	margin-right: 32px;
}

.playlistComposta .slideContent .media .imgContainer {
	flex: 0 1 auto;
	overflow-x: hidden;
	box-shadow: -4px 0 16px -8px black;
}

.playlistComposta .slideContent .media .imgContainer img {
	border-radius: 2px;
	height: 100px;
}

.playlistComposta .slideContent .media .chainedContents {
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.containerSlideInScreen .slideContent .slideImg {
	margin: 0 16px 16px 0;
	width: 20%;
}

.containerSlideInScreen .slideContent .slideImg img {
	width: 100%;
}

.containerSlideInScreen .slideContent ul {
	margin: 0;
    padding: 0;
    flex-basis: 30%;
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
}

.containerSlideInScreen .slideContent ul li {
	display: flex;
    height: auto;
    padding: 0 12px 0 0;
}

.containerSlideInScreen .nestable-item.noteditable {
	pointer-events: none !important;
}

.containerSlideInScreen .nestable-item.noteditable a {
	pointer-events: all !important;
}

.containerSlideList {
	padding: 0 28px 32px 60px;
}

.containerSlideList .nestable-item {
	height: auto;
	margin-bottom: 32px;

	/* background-color: rgb(50,50,50); */
	border-radius: 8px;
	/* border: 1px solid #000000; */
	transition: all .3s cubic-bezier(0.5, 0.0, 0.5, 1);
}

.grid .grid-sizer, .grid .slide-item {
	width: calc(55% - 32px);
}

.grid .slide-item.landscape {
	width: calc(100% - 32px);
}

.grid .slide-item.squared {
	width: calc(50% - 32px);
}

.grid .slide-item.portrait {
	width: calc(50% - 32px);
}

@media (min-width: 1280px) {
	.grid .grid-sizer, .grid .slide-item {
		width: calc(25% - 32px);
	}

	.grid .slide-item.landscape {
		width: calc(50% - 32px);
	}

	.grid .slide-item.squared {
		width: calc(33% - 32px);
	}

	.grid .slide-item.portrait {
		width: calc(25% - 32px);
	}
}

@media (min-width: 1560px) {
	.grid .grid-sizer, .grid .slide-item {
		width: calc(16.67% - 32px);
	}

	.grid .slide-item.landscape {
		width: calc(33.33% - 32px);
	}

	.grid .slide-item.squared {
		width: calc(20% - 32px);
	}

	.grid .slide-item.portrait {
		width: calc(16.67% - 32px);
	}
}

.grid .gutter-sizer {
	width: 32px;
}

.containerSlideList .slideTitle {
	display: flex;
}

.containerSlideList .slideTitle .title {
	padding: 8px;
	display: flex;
	margin: 8px;
	border: 0;
	flex-basis: 100%;
	word-wrap: break-word;
	text-overflow: ellipsis;
	overflow: hidden;
}

.containerSlideList .nestable-handle .slideTitle i {
	left: -8px;
}

.actionsButton {
	margin-left: auto;
	padding: 24px 32px 12px 8px;
	cursor: pointer;
	display: flex;
	flex-shrink: 0;
	position: absolute;
    right: 0;
	top: 0;
	z-index: 1;
}

.containerSlideList .slideContent {
	display: flex;
	position: relative;
}

.containerSlideList .slideContent .media {
	flex-grow: 1;
	display: flex;
	padding: 0;
	flex-wrap: wrap;
	
}

.containerSlideList .slideContent .extraSlideInScreen {
    width: auto;
	display: flex;
	visibility: hidden;
	flex-direction: column;
	position: absolute;
	align-items: flex-start;
    right: 0;
	padding: 8px;
	border-radius: 4px;
    border-bottom: 0 solid #e5e5e5;
    margin-bottom: 0;
	width: 100%;
    height: 100%;
}

.containerSlideList .slideContent .extraSlideInScreen a {
	background-color: rgba(0,0,0,0.9);
    border-radius: 24px;
    color: white;
    padding: 8px 12px;
}

/* .containerSlideList .slideTitle.open .actionsButton {
	border-left: 1px solid #DDDDDD;
} */

.containerSlideList .slideTitle.open + .slideContent > .extraSlideInScreen {
	visibility: visible;
}

.slideContent .extraSlideInScreen:hover i {
	opacity: 1;

	transition: all .3s;
}

.containerSlideList .slideContent .extraSlideInScreen a {
    margin: 4px 0;
}

.containerSlideList .slideContent .slideImg {
	margin: 0;
	width: 100%;
	position: relative;
}

.containerSlideList .slideContent .slideImg i {
	position: absolute;
	top: 12px;
	left: 8px;
	text-shadow: rgba(0,0,0,0.8);
	background: rgba(0,0,0,0.8);
	border-radius: 24px;
	padding: 8px 12px;
	color: #f3f3f3;
}

.slideContent .slideInfo {
	color: #999999;
	margin-bottom: 16px;
}

.containerSlideList .media.landscape {
	flex-wrap: wrap;
}

.containerSlideList .media.landscape .slideImg {
	margin: 0;
	width: 100%;
}

.slideContent .slideImg img {
	width: 100%;
	height: auto;
	border: 0 solid #DDDDDD;
    border-radius: 4px;
}

.containerSlideList .slideContent ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.containerSlideList .slideContent ul li:first-child {
	flex-basis: 100%;
	color: #EEEEEE;
	padding-top: 12px;
}

.containerSlideList .slideContent ul li {
	display: flex;
	height: auto;
	padding: 4px 0 0;
	margin-right: 8px;
}

#modalLivePreview .modal-body img {
	width: 160px;
	margin: 0 16px 16px 0;
	/* display: inline-block; */
	/* float: left; */
}

#modalLivePreview .modal-body .qrcode-container {
	width: 160px;
	margin: 0 16px 0px 0;
	padding: 10px 10px 0px 10px;
	background: #FFFFFF;
	/* display: inline-block; */
	/* float: left; */
}

#modalLivePreview .modal-body .qrcode-and-text {
	display: flex;
	align-items: center;
}

#modalLivePreview .modal-body span {
	display: flex;
	align-items: center;
	font-size: 1.6rem;
	line-height: 2.2rem;
}

#modalLivePreview .modal-body p {
	clear: both;
	display: block;
	font-size: 1rem;
}

#modalSave .lsList > li {
	border-bottom: 1px solid black;
	margin-bottom: 16px;
}

#modalViewPrograms .programList {
	flex-basis: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0;
	margin: 8px 0 32px;
}

#modalViewPrograms .programList li {
	flex-basis: 100%;
    display: flex;
    flex-direction: row;
    padding: 16px;
    flex-wrap: wrap;
    background: #f0f0f0;
    /* justify-content: space-between; */
    border-radius: 4px;
    margin: 0 0 16px;
}

.createMode ~ #modalViewPrograms .programList li {
	background: #555555;
	color: white;
}

.createMode ~ #modalViewPrograms .programList li.newProgramDisplay {
	border: 1px solid #e2007e!important;
	box-shadow: 0 8px 24px -8px #e2007e;
}

.createMode ~ #modalViewPrograms .programList .lsBtn.link.black {
	color: white;
}

/* #modalViewPrograms .programList li:last-child {
	flex-basis: 100%;
	display: flex;
	flex-direction: column;
	padding: 16px;
	background: transparent;
	border: 0 solid #dddddd;
	justify-content: space-between;
	border-radius: 4px;
	margin: 0 0 16px;
	background: #F06292;
} */

#modalViewPrograms .programList li div {
	flex-basis: auto;
    padding: 0;
	margin-bottom: 4px;
	margin-right: 8px;
}

#modalViewPrograms .programList li div:first-child {
	display: flex;
    flex-direction: row;
    flex-basis: 100%;
    flex-shrink: 0;
    margin-bottom: 8px;
    margin-left: -5px;
    border-bottom: 1px solid #dddddd;
    padding: 0 0 8px;
}

.createMode ~ #modalViewPrograms .programList li div:first-child {
    border-bottom: 1px solid #333333;
}

#modalViewPrograms .programList li div:first-child a:first-child {
	margin: 0 16px 0 0;
}

.createMode ~ #rightModal {
	/* background-color: transparent; */
	/* width: calc(100% - 400px); */
	left: auto;
	right: 0;
}

.createMode ~ #rightModal .modal-dialog {
	width: calc(100% - 400px);
}

.createMode ~ .modal-backdrop {
	pointer-events: none;
}

.rightDark .modal-content {
	background: #262626;
}

.createMode .playlistMenu {
	width: 100%;
	padding: 16px 32px 16px 20px;
	background: #e2007e;
	cursor: pointer;
	position: relative;
	display: flex;
	z-index: 99;
}

.createMode .playlistMenu[for="anteprimaPlaylist"] {
	background: #444;
}

.createMode .playlistMenu.toggle {
	/* position: sticky;
	top: 64px; */
	background-color: #444444;
	border-bottom: 0;
}

.createMode .playlistMenu.toggle > i:last-child {
	transform: rotateX(180deg);
}

.createMode #slideInPlaylist[type="checkbox"]:checked + .playlistMenu {
	font-weight: 700;
	opacity: 1;
}

.createMode #slideInPlaylist[type="checkbox"]:checked + .playlistMenu i:last-child {
	transform: rotateX(0deg);
}

.createMode #slideInPlaylist[type="checkbox"]:checked ~ .playlistTimeline {
	/* font-weight: 700; */
	display: block;
}

.createMode .playlistMenu > i:first-child {
	margin-right: 16px;
}

.createMode .playlistMenu .menuAction {
	margin-left: auto;
}

.createMode .playlistMenu:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	opacity: .08;
	display: none;
}

.createMode .playlistMenu:hover:after {
	display: block;
}

.createMode input.playlistMenuInput[type="radio"]:checked + .playlistMenu {
	background-color: #121212;
	cursor: default;
	-moz-box-shadow:    inset 32px 0px 16px #000000;
    -webkit-box-shadow: inset 32px 0px 16px #000000;
	box-shadow:         inset 32px 0px 16px #000000;
	font-weight: 700;
	opacity: 1;
}

input#anteprimaPlaylist + .playlistMenu {
	height: 0;
    opacity: 0;
	padding: 0;
	transition: all .3s;
}

input#aggiungiSlide:checked ~ input#anteprimaPlaylist + .playlistMenu {
	height: 56px;
	padding: 16px 32px 16px 18px;
	opacity: 1;
	transition: all .3s;
}

.createMode input.playlistMenuInput:checked + .playlistMenu .menuAction {
	opacity: .4;
}

.createMode input.playlistMenuInput:checked + .playlistMenu:hover:after {
	display: none;
}

.createMode input[name="playlistMenuInput"] {
	position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.createMode input[name="widgetMenuInput"] {
	position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Right sidebar */

#rightModal {
	background-color:rgba(0,0,0,0.9);
}

#rightModalContent {
	background-color: #121212;
}

.layout-content.rightDark {
	overflow: auto;
    background: #262626;
	padding: 0!important;
	color: #f6f6f6!important;
}

.layout-content.rightDark .card {
	position: relative;
    display: block;
    margin-bottom: 2rem;
    background-color: #444;
    /* border: 1px solid #e5e5e5; */
    color: white;
    border-radius: 4px;
	border: 0;
	padding: 1rem;
}
/* 
.layout-content.rightDark .card.gridItem:hover::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	border-radius: 8px;
	background-color: rgba(255,255,255,0.1);
	pointer-events: none;
} */

.layout-content.rightDark .card .card-subtitle {
	color: #cccccc
}

.layout-content.rightDark .container-fluid {
	padding: 0 24px 56px 56px;
}

.layout-content.rightDark ul.filters {
	position: sticky;
    padding: 16px 56px;
    margin: 16px 0;
    top: 0;
    z-index: 100;
    background: #262626;
}

#slidePreviewDimension {
	display: none;
}

.layout-content.rightDark .lsActionBar {
    background-color: #262626;
	color: #f1f2f3;
	margin: 24px;
	position: sticky;
	top: 0;
	z-index:100;
}

.layout-content.rightDark .form-group {
    padding: 12px 0;
}

.layout-content.rightDark .form-group.has-error {
    color: #cf6679 !important;
}

.layout-content.rightDark .form-group label {
    padding-bottom: 4px;
}

.layout-content.rightDark .form-group .form-control {
    color: #f6f6f6;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #777;
}

.layout-content.rightDark .form-group .form-control::placeholder {
    color: #ccc;
}

.layout-content.rightDark .form-group .form-control:focus {
    color: #f6f6f6;
    background-color: #777777;
    border-color: white;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,.25);
}

.layout-content.rightDark .form-group select {
    height: 40px;
}

.overlay-black {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: #121212;
	z-index: 1000;
}

.playlistPreviewContainer{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: #121212;
	z-index: 1000;
}

.playlistPreview{
	width: 100%;
	height: 100%;	
}

.playlistContentContainer{
	display: none;
}

.mainarea {
	
    border: 0 solid #666;
    margin: 0 32px 32px;
    display: flex;
    background: #555;
	position: relative;
	padding: 16px 0 0 16px;
}

.mainarea.landscape {
	width: calc(100% - 64px);
	height: 180px;
}

.mainarea.portrait {
	width: calc(70% - 64px);
	height: 360px;
	flex-direction: column;
}

.mainarea .selectabled {
    display: flex;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    margin: 0 16px 16px 0;
    background: rgba(255,255,255,0.2);
	border-radius: 8px;
	display:flex; vertical-align:middle; text-align:center;
	position: relative;
}

.mainarea .selectabled:hover::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	border-radius: 8px;
	background-color: rgba(255,255,255,0.1);
	cursor: pointer;
}

.mainarea .selectabled div {
	margin: auto;
}

.mainarea .selectabled.c0, .mainarea .selectabled.c1, .mainarea .selectabled.c2 {
	color: #f1f2f3;
}

.mainarea .selectabled.w33 {height: calc(100% - 16px);width: calc(33.33% - 16px);}
.mainarea .selectabled.w50 {height: calc(100% - 16px);width: calc(50% - 16px);}
.mainarea .selectabled.w66 {height: calc(100% - 16px);width: calc(66.66% - 16px);}
.mainarea .selectabled.h33 {height: calc(33.33% - 16px);width: calc(100% - 16px);}
.mainarea .selectabled.h50 {height: calc(50% - 16px);width: calc(100% - 16px);}
.mainarea .selectabled.h66 {height: calc(66.66% - 16px);width: calc(100% - 16px);}

.mainarea .selectabled div:empty {
	background: none;
	position: relative;
}

.mainarea .selectabled div:empty::after {
	position: absolute;
	left: 0;
	right: 0;
	top: 20%;
	bottom: 0;
	color: white;
	font-size: 12px;
}

/* Media library */

.darkSearch {
	margin-bottom: 16px;
}

.darkSearch span {
	border: 0;
	color: white;
	border-bottom: 1px solid white;
    border-radius: 0;
	padding: .375em 0;
	background: transparent;
}

.darkSearch i {
	font-size: 32px;
}

.darkSearch input {
	background: transparent;
    border: 0;
    border-bottom: 1px solid white;
	font-size: 32px;
	margin-right: 32px;
	color: white;
}

.darkSearch input:focus {
	color: white;
    background-color: transparent;
    border-color: white;
    outline: 0;
    box-shadow: none;
}

#unsplash-container {
	padding-left: 16px;
}

/* Templates */
.previewIcon {
	color: white;
    position: absolute;
    top: 50%!important;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: all .3s;
    cursor: pointer;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
	padding: 16px;
	font-size: 32px;
}

#openDD1:checked ~ label ul.lsDropdownOnClick {
	display: flex!important;
}

.paddingLeftZero {
	padding-left:0 !important;
}

@media (max-height: 897px) {
	/* .lsModal .modal-dialog {
		top: 0%;
		left: 50%;
		transform: translate(-50%, 5%) !important;
	} */
	#modal_anteprima_squared .modal-content,
	#modal_anteprima_landscape .modal-content,
	#modal_anteprima_portrait .modal-content {
		max-height: 98vh !important;
	}
	.lsModal .modal-content {
		max-height: 60vh;
	}

	.lsModal.plus .modal-content {
		max-height: 65vh;
	}
	
}
.lazyLine {
	height: 10px;
	background-color: #f0f0f0;
	width: 50%;
}

.lazyLine.min {
	height: 10px;
	background-color: #f0f0f0;
	width: 40%;
}

.displayContent .lazyLine {
	display: inline-block;
}

.displayContent .playlistName i {
	margin-right: 5px !important;
}

#container-admin-panel {
	margin-top: 20px;
}

#container-admin-panel .col-md-12{
	height: 100%;
}

#admin-panle-card-block {
	height: 85vh;
}

#admin-panle-row,
#admin-panel-playlist-list {
	height: 100%;
	overflow: hidden;
}

#screenList {
	height: calc(100% - 150px);
	overflow: auto;
}

#card_display_information .sectionContent {
	max-width: 100%;
}

.tags_playlist {
	padding: 10px 32px 0px 32px;
}

.tags_widget {
	/* padding: 0px 32px; */
}

#loadImageButton {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* FILE MANAGER */

.filemanager-image-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

.filemanager-image-gallery > li {
	flex: unset;
	height: 200px;
	cursor: pointer;
	position: relative;
}

.filemanager-image-gallery li img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	border-radius: 5px;
}

.filemanager-image-gallery::after {
	content: "";
	flex-grow: 999;
}

.filemanager-image-gallery > li .overlayLink {
	position: absolute; top: 0; left:0; bottom:0; right:0;
	pointer-events: none;
}

.filemanager-image-gallery > li .overlayLink::after {
	position: absolute; top: 0; left:0; bottom:0; right:0;
	content: "";
	opacity: 0;
	border-radius: 50%;
	background-color:rgba(225,225,225,.2);
	transform: scale(.8);
	transition: all .3s cubic-bezier(0.5, 0, 0.5, 1);
}

.filemanager-image-gallery > li .overlayLink:hover::after {
	position: absolute; top: 0; left:0; bottom:0; right:0;
	content: "";
	opacity: 1;
	border-radius: 0;
	transform: scale(1);
	transition: all .3s cubic-bezier(0, 0, 0.5, 1);
}

.filemanager-image-gallery > li:hover .preview-item-filemanager{
	opacity: 1;
	transition: all .3s cubic-bezier(0.5, 0, 0.5, 1);
}

.preview-item-filemanager {
	position: absolute;
	top: 14px;
	right: 10px;
	width: 93px;
	height: 33px;
	background: #FFFFFF;
	border: 1px solid #D5D5D5;
	border-radius: 3px;
	color: #F50093;
	text-align: center;
	line-height: 33px;
	font-weight: 400;
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
}

.filemanager-preview .modal-dialog{
	max-width: 100% !important;
	width: auto !important;
}

.filemanager-preview .modal-content{
	max-height: 100% !important;
	height: auto !important;
}

.filemanager-preview .modal-body{
	padding-bottom: 0px !important;
}

.filemanager-preview img, .filemanager-preview video{
	display: block;
	margin: 0 auto;
	max-height: 608px;
	max-width: 608px;
}

.filemanager-image-gallery li {
	position: relative; /* serve per ancorare il box in fondo */
}

.filemanager-filename-box {
	opacity: 0;
  	transition: opacity 0.3s ease;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	min-height: 50%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.8) 0%,
		rgba(0, 0, 0, 0.6) 40%,
		rgba(0, 0, 0, 0.2) 70%,
		rgba(0, 0, 0, 0) 100%
	);
	display: flex;               
	justify-content: center;     
	align-items: flex-end;       
	padding: 0 6px 4px;   
	box-sizing: border-box;
	color: #fff;
	font-size: 12px;
	line-height: 1.5em;
	pointer-events: none;
	white-space: normal;
	word-break: break-all;
	overflow: hidden;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
	padding-bottom: 10px;
	font-family: Muli, "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 0.8rem;
	line-height: 1.5;
}

.filemanager-image-gallery li:hover .filemanager-filename-box {
  opacity: 1;
}

/* END FILE MANAGER */

.card-screen.card-img-bg {
	border-radius: 8px; 
	background: #FFFFFF;
	min-height: 248px; 
	margin-bottom: 2rem; 
	background-position: right bottom !important; 
	background-size: cover !important; 
	background-repeat: no-repeat !important;
}

.card-screen .card-icon {
	position: absolute;
	bottom: 20px;
	right: 20px;
	border-radius: 8px; 
	background: #FFFFFF;
	max-width: 48px;
	max-height: 48px; 
}

.card-screen.card-img-bg.mini {
	min-height: 202px; 
}

.card-screen.card-img-bg .cardSubtitle{
	max-width: 279px;
}

.card-screen.card-img-bg .cardCTA { 
	position: absolute; 
	top: 13px; 
	right: 14px; 
	padding: 0px 16px; 
	font-size: 13px; 
	line-height: 33px; 
	background-color: #FFFFFF !important;
}

.card-screen.card-img-bg .active { 
	position: absolute;
	bottom: 16px; 
	left: 30px; 
	font-weight: 400; 
	font-size: 12px; 
	line-height: 18px; 
	color: #939393;
}

.card-screen.card-img-bg .activeBtn {
	position: absolute;
	bottom: 16px; 
	left: 30px; 
}

@media (min-width: 768px) {
	.card-screen.card-img-bg {
		max-height: 202px; 
	}
}

.cover-actions.plus{
	padding: 12px 0px;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.cover-actions.plus span { 
	padding-right: 10px; 
} 

.dynamic_content {
	display: none;
}

.dynamic_content .lsSwitch {
	margin-bottom: 20px;
}

.dynamic_input {
	display: none;
}

.truncate {
	width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.google-login-btn {
	max-width: 200px;
}

.google-login-btn img{
	width: 100%;
}

.illustration_footer_page {
	position: absolute;
	bottom: 50px;
	right: 0px;
}

.selected-feed-item {
	background-color: #dddddd;
}

.lsListFeed li {
	padding: 12px !important;
}

.lsCheckbox-subtitle {
	margin-top: 20px;
	margin-bottom: 20px;
	color: #9B9B9B;
	font-weight: 300;
	font-size: 13px;
}

.font-example {
	margin-top: auto;
	margin-bottom: auto;
	padding-top: 30px;
}

.user-settings .font-example {
	padding-top: 10px !important;
}

.preset_color_container, .preset_logo_container {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
}

.preset_color {
	width: 38px;
	height: 38px;
	margin-right: 10px;
	margin-bottom: 10px;
	border: 1px solid #777;
	border-radius: .25rem;
	cursor: pointer;
}

.preset_logo {
	max-width: 100px;
	margin-right: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	border: 1px solid #777;
	border-radius: .25rem;
	padding: 10px;
}

.preset_logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.sidebar-menu-edit {
	position: absolute;
	right: 0px;
	font-size: 21px;
	margin-top: 3px;
}

.sidebar-menu-edit.sidebar-menu-edit-agency {
	margin-top: 18px !important;
	right: 0px;
	color: #fff;
}

.color-switch-container {
	padding-left: 0px !important;
	padding-top: 45px;
}

.user-settings .lsForm.row {
	margin: 0px !important;
}

.user-settings .col.col-left {
	padding-left: 0px !important;
}

.user-settings .col.col-right {
	padding-right: 0px !important;
}

.color-example {
	width: 100%;
	height: 200px;
	font-size: 35px;
	color: #fff;
	background-color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Montserrat';
	margin-bottom: 24px;
	padding: 10px;
	text-align: center;
}

.color-example.portrait {
	width: 200px;
	height: 355px;
}

.color-example.space-top{
	margin-top: 24px;
}

.choseCustomer {
	width: 80% !important;
}

.ellipsis {
	width: 3px;
	height: 3px;
	background-color: #D9D9D9;
	border-radius: 3px;
}

.instagram-login-btn{
	margin-bottom: 12px;
	margin-right: 25px;
}

.pageTitle.v2 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.pageTitle.v2 .right_component {
	display: flex;
	flex-direction: row;
	padding-right: 26px;
}


.pageTitle.v2 .right_component .lsBtn.primary.outline.brand.notactive {
    color: #232323 !important;
    border-color: #232323 !important;
}