/**
 HOTFIX file dedicated to the coe-2014 theme for DXP
 */


/** 11/10/2023 - Hide switch language message popup **/
body > .alert-container #ToastAlertContainer .alert.alert-dismissible.alert-info {
  display: none;
}

/* hidden live */
.hidden-live {
	display: none;
}

.has-control-menu.controls-visible #wrapper .portlet-boundary.hidden-live {
	display: block;
	opacity: 0.5;
	position: relative;
}

.has-control-menu.controls-visible #wrapper .portlet-boundary.hidden-live:after {
	font-family: Fontawesome, 'fontawesome-alloy', 'Open Sans',sans-serif;
	display: block;
	font-size: 14px;
	position: absolute;
	bottom: -18px;
	right: 5px;

	content: "\f070";
   font-family: Fontawesome, 'fontawesome-alloy';
   margin-left: 2px;
}
/* external scope link on asset-publisher */
.has-control-menu.controls-visible .external-scope:after {
   font-family: Fontawesome, 'fontawesome-alloy', 'Open Sans',sans-serif;
   display: block;
   font-size: 14px;
   position: absolute;
   bottom: 10px;
   right: 5px;
   content: "\f08e";
   font-family: Fontawesome, 'fontawesome-alloy';
}


/* message don't delete portlet custom filter */
.portlet-custom-filter.lfr-configurator-visibility .portlet-content-editable:after,
.has-control-menu.controls-visible .portlet-boundary.do-not-delete .portlet-content-editable:after,
.has-control-menu.controls-visible .portlet-boundary.do-not-delete .portlet-content-editable:before,
.has-control-menu.controls-visible .portlet-search-options .portlet-content-editable:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	opacity: 0;
	transform: translateY(-100%);  
	transition: transform 300ms ease, opacity 800ms ease;
}

.portlet-custom-filter.lfr-configurator-visibility:hover .portlet-content-editable:after,
.has-control-menu.controls-visible .portlet-boundary.do-not-delete:hover .portlet-content-editable:after,
.has-control-menu.controls-visible .portlet-boundary.do-not-delete:hover .portlet-content-editable:before,
.has-control-menu.controls-visible .portlet-search-options:hover .portlet-content-editable:after {
	content: "Do not delete this portlet";
	padding: 0 5px;
	transform: translateY(0);  
	margin-top: 1px;
	margin: 0;
	opacity: 1;
	border: 1px solid;
	border-radius: 0.25rem;
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
	left: 0;
	z-index: 1;
}

/* Ajax links opening as overlay */
#container-overlay {

}

#container-overlay .header-back-to{
	display: none;
}

#container-overlay #content-container {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 10;
	transform: translate(-50%, -50%);
	background-color: #fff;
	max-height: 85vh;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 15px;
	z-index: 201;
}

#container-overlay .content-veil {
	position: fixed;
	display: block;
	z-index: 200;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,.8);
	cursor: pointer;
}


#container-overlay .close-overlay{
	font-family: 'fontawesome-alloy';
	font-size: 35px;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1;
	cursor: pointer;
	color: #333;
	transition: color 200ms ease;
}

#container-overlay .close-overlay:after{
	content: "\f00d";
}

#container-overlay .close-overlay:hover{
	color: #ff4900
}

.loading:after {
	content: "";
	position: fixed;
	height: 60px;
	width: 60px;
	z-index: 10;
	background-image: url(https://static.coe.int/pics/loading2.gif);
	background-size: contain;
	background-position: 50% 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/*az-4602 Fixed scrolling up on accrodion when logged in*/
.control-menu-container {
	height: 0;
}
body.has-control-menu > #coe,
body.has-control-menu > #wrapper {
	margin-top: 56px;
}

/*Guestbook - Asset-publisher*/
.guestbook.portlet-asset-publisher .taglib-header h3.header-title {
    margin-bottom: 10px;
    white-space: normal;
}
.guestbook .taglib-page-iterator {
    position: static;
    padding-bottom: 0;
}

.guestbook .lfr-pagination-buttons.pager .first + li:not(.disabled) > a:before,
.guestbook .lfr-pagination-buttons.pager .first + li + li:not(.disabled) > a:before {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
	opacity: 0;
	transition: all 300ms ease;
}

.guestbook .lfr-pagination-buttons.pager .first + li:not(.disabled) > a:before {
    left: 0;
	background: linear-gradient(90deg, rgb(200 200 200) 0%, rgba(255, 255, 255, 0.1) 90%);
}

.guestbook .lfr-pagination-buttons.pager .first + li + li:not(.disabled) > a:before {
    right: 0;
	background: linear-gradient(270deg, rgb(200 200 200) 0%, rgba(255, 255, 255, 0.1) 90%);
}

.guestbook .lfr-pagination-buttons.pager .first + li:not(.disabled) > a:hover:before,
.guestbook .lfr-pagination-buttons.pager .first + li + li:not(.disabled) > a:hover:before {
	opacity: 1;
}

.guestbook .content:after {
    clear: both;
    content: "";
    display: block;
}

.guestbook .lfr-pagination .lfr-pagination-config,
.guestbook .lfr-pagination .pager li.last {
    position: relative;
    z-index: 10;
}