/*************************************
 * SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
 * SPDX-License-Identifier: AGPL-3.0-only
 ************************************/

/* Home Page */

/* crmv@20052 crmv@25551 crmv@61937 */

.ModuleHomeMatrix {
	// overflow: auto;
}

.MatrixLayer,
.MatrixLayerURL,
.modblock {
	@include vtecard();
	width: 31%;
	visibility: visible;
	margin: 0.5%;
	overflow: hidden;
	float: left;
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	
	.block-content {
		width:100%;
		height:100%;
		
		overflow-y: auto;
		overflow-x: hidden;
	}
}

.stuffHeader {
	background-color: $widget-header-bg;
	width: 100%;
}

.stuffTitle {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: 0;

	& span {
		font-weight: bold;
		font-size: 14px;
	}
}

.MatrixBorder {
	height: 300px;
	background: $widget-bg;
	overflow: auto;
}

.MatrixBorderURL {
	height: 500px;
	background-color: $widget-bg;
}

.homePageMatrixHdr {
	padding: 0px 10px 0px 10px;
}

.homePageButtons {
	padding-top: 5px;
}

#addWidgetDropDown {
	background-color: $vte-submenu;
	position: fixed;
	display: none;
	border: 1px solid $grey-300;
	left: 0px;
	top: 0px;
	overflow: visible;
	z-index: 5000;
}

.widgetDropDownList {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 0;
}

.twoColumnWidget {
	padding-left: 1px;
	padding-right: 1px;
}

.scrollLink {
	padding-top: 10px;
	padding-bottom: 10px;
}

.topMarginHomepage {
	margin-left: 10px;
	margin-top: 10px;
}

.hide_tab {
	display:none;
}

.show_tab {
	display:block;
}
