/* DERNIERE VERSION MARLENE */

/**************************************************************************************************************/
/*

			MONASTIC - Page d'accueil

*/
/**************************************************************************************************************/

.template-two-columns.userrole-authenticated #portletPageColumns{
	position: fixed;
	top: 0;
}
#visual-portal-wrapper::before {
	display: none;
}
#visual-portal-wrapper.small-home{
	flex-direction: column;
}
#visual-portal-wrapper.small-home{}

/*--------------------------------------------------------------------------------------------------------------
	== HEADER
--------------------------------------------------------------------------------------------------------------*/
#portal-top{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: auto;
	width: calc(100% - 100vh);
	min-width: auto;
	min-height: 100vh;
	background: none;
	text-align: center;
}
#portal-logo{
	width: 30%;
	min-width: 150px;
}
.small-home #portal-top {
	display: block;
	padding: 40px;
	width: 100%;
	min-height: auto;
}
.small-home #portal-logo{
	max-width: 150px;
}
#portlets-in-header{
	flex: 1;
}

@media only screen and (max-width: 800px) {
	.small-header #portal-logo {
		width: 100%;
		min-width: 0;
	}
}
@media only screen and (max-width: 680px) {
	#portal-top{
		width: 100%;
	}
	.small-header #portal-logo {
		width: 150px;
	}
}

/*
	NAVIGATION
*/
@media only screen and (min-width: 680px) {

	dl.portlet.navigation dd > ul {
		display: flex;
		justify-content: center;
		margin: 70px 0 0;
	}

	.small-header dl.portlet.navigation dd > ul {
		margin: 40px 0 0;
	}

	dl.portlet ul.navTreeLevel0 > .navTreeItem {
		margin: 0;
	}

	dl.portlet.navigation ul li a {
		margin: 0 2px;
		padding: 5px 10px !important;
		background: #311d17;
	}

	dl.portlet.navigation ul li a:hover,
	dl.portlet.navigation ul li a:focus {
		margin: 0 2px;

	}

	dl.portlet.navigation ul li ul {
		position: absolute;
		top: 110%;
		left: 0;
		display: block;
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
	}

	dl.portlet.navigation ul li:hover ul {
		top: 100%;
		opacity: 1;
		visibility: visible;
	}

	dl.portlet.navigation ul li ul li.navTreeItem {
		margin: 0;
		border-top: 1px solid #fff;
		text-align: center;
	}

	dl.portlet.navigation ul li ul li.navTreeItem a:hover,
	dl.portlet.navigation ul li ul li.navTreeItem a:focus {
		background: #000;
	}

	.small-header dl.portlet.navigation ul li a {
		font-size: 1.3vw;
	}
	.small-home dl.portlet.navigation dd > ul{
		margin:0;
	}
	.small-home dl.portlet.navigation ul li a{
		font-size: 2.2em;
	}
}


/*--------------------------------------------------------------------------------------------------------------
	== MAIN
--------------------------------------------------------------------------------------------------------------*/

#portal-columns{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	flex: inherit;
	padding: 0;
	width: 100vh;
	height: 100vh;
	background: #311d17;
}
.small-home #portal-columns{
	position: relative;
	width: 100vw;
	height: 100vw;
}
#portal-column-content h1{
	position:absolute;
	top:-5000px;
}
#portal-column-content .documentDescription{
	position:absolute;
	top:-5000px;
}

@media only screen and (max-width: 680px) {
	#portal-columns {
		position: relative;
		height: 100vw;
	}
}

/*--------------------------------------------------------------------------------------------------------------
	== FOOTER
--------------------------------------------------------------------------------------------------------------*/
#portal-top.small-header + #portal-columns #portal-footer {
	padding: 20px;
}
#portal-footer{
	display: none;
}
.small-home #portal-footer{
	display: block;
	margin: 0;
}
#portal-siteactions{
	margin: 50px 0 0;
	text-align: center;
}
.small-home #portal-siteactions {
	margin: 0;
}

/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/

