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

/* ie page: https://www.coe.int/en/web/sport/calendar-of-activities-2021 */
/* added to branch hotfix-cleaning */
.asset-entries-group-label.h3 {
	font-family: 'Open Sans',sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: #161616;
	text-transform: none;
	line-height: 28px;
}

/* Portlet Class [To add] */
/* added to branch hotfix-cleaning */
.signed-in #wrapper .portlet-boundary.hidden-logged-in {
display: none;
}

.signed-out #wrapper .portlet-boundary.hidden-public {
display: none;
}

.signed-in.controls-visible #wrapper .portlet-boundary.hidden-logged-in {
display: block;
opacity: 0.6;
}

@media (min-width: 992px) {
	.signed-in.controls-visible #wrapper .portlet-boundary.hidden-logged-in,
	.signed-in.controls-visible #wrapper .portlet-boundary.hidden-desktop,
	.signed-in.controls-visible #wrapper .portlet-boundary.visible-phone,
	.signed-in.controls-visible #wrapper .portlet-boundary.visible-tablet {
	display: block !important;
		opacity: 0.6;
	}
}


.signed-in.controls-visible #wrapper .portlet-boundary.hidden-logged-in,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-public,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-phone,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-tablet,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-desktop,
.signed-in.controls-visible #wrapper .portlet-boundary.visible-phone,
.signed-in.controls-visible #wrapper .portlet-boundary.visible-tablet,
.signed-in.controls-visible #wrapper .portlet-boundary.visible-desktop
{
position: relative;
}


.signed-in.controls-visible #wrapper .portlet-boundary.hidden-logged-in:after,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-public:after,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-phone:after,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-tablet:after,
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-desktop:after,
.signed-in.controls-visible #wrapper .portlet-boundary.visible-phone:after,
.signed-in.controls-visible #wrapper .portlet-boundary.visible-tablet:after,
.signed-in.controls-visible #wrapper .portlet-boundary.visible-desktop:after
{
font-family: Fontawesome, 'fontawesome-alloy', 'Open Sans',sans-serif;
display: block;
font-size: 14px;
position: absolute;
bottom: -18px;
right: 5px;
}

.signed-in.controls-visible #wrapper .portlet-boundary.hidden-logged-in:after {
content: "hidden-logged-in \f13e";
}
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-public:after {
content: "hidden-public \f023";
}
.signed-in.controls-visible #wrapper .portlet-boundary.visible-phone:after {
content: "\f10b";
}
.signed-in.controls-visible #wrapper .portlet-boundary.visible-tablet:after {
content: "\f10a";
}
.signed-in.controls-visible #wrapper .portlet-boundary.visible-desktop:after {
content: "\f108";
}
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-phone:after {
content: "\f10a  \f108";
}
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-tablet:after {
content: "\f10b  \f108";
}
.signed-in.controls-visible #wrapper .portlet-boundary.hidden-desktop:after {
content: "\f10b  \f10a";
}

/** 31 march 2023 - #4415 - language switch **/
/* added to branch hotfix-cleaning */
.locale-actions-links {
	margin-bottom: 10px;
}

.locale-actions-links a {
	color: #999;
	border: 1px solid #999;
	font-size: 13px;
	font-weight: 600;
	line-height: 22px;
	border-radius: 2px;
	padding: 5px 15px;
	display: inline-block;
	margin: 2px 0;
	text-decoration: none;
	margin: 0 2px 2px 0;
	text-transform: capitalize;
}

.locale-actions-links a:hover{
	color: white !important;
	background-color: #999;
}


/** 21 december 2022 - OBS logo updated **/
/* added to branch hotfix-cleaning */
.aui .type-obs header #obs-banner #header__logo {
    background-image:url('https://static.coe.int/pics/logos/desktop/european-audiovisual-observatory-logo.png') !important;
    background-size: contain;
}

/* ticket to liferay to be created */
/** 13 february 2023 - Fix asterix color on forms **/
label .reference-mark {
	color: #b95000;
	font-size: 6px;
}

/** 6 april 2023 - #4986 ADT News Title List **/
/* added to branch hotfix-cleaning */
.asset-entry-metadata .date {
	margin-top: 5px
}

/** 14 june 2023  - fixing "questions" portlet #4626 **/
.questions-root .questions-breadcrumb {
margin : 10px 0 !important;
}

.questions-root .navigation-bar-light{
background: transparent;
}

.questions-root .questions-breadcrumb > ol > li:first-child a:after{
content:"";
background-image: url(https://static.coe.int/pics/icons/2014/concrete-grey/home.svg);
height: 15px;
width: 15px;
background-size: contain;
background-repeat: no-repeat;
display: inline-block;
}

.questions-root .navbar-nav > li:nth-child(2) {
display: none;
}

.questions-root .questions-breadcrumb > ol > li:first-child a > svg{
display: none;
}


.questions-root .breadcrumb-button {
margin-left: 5px;
}
.questions-root .breadcrumb-button > svg {
margin-right: 5px;
}

.questions-root .c-empty-state-aspect-ratio img {
display: none;
}

.questions-root .questions-container .card {
margin: 10px 0;
}

.questions-root .c-empty-state-footer span{
margin-left: 5px;
}

.questions-root ul.stretched-link-layer li {
margin: 0 5px;
}

.questions-root ul.stretched-link-layer li svg {
margin-right: 3px;
}
.questions-root .sticker {
margin-right: 10px;
}
.questions-root .questions-user:hover,
.questions-root .questions-user {
background: white;
border: 1px solid #e7e7ed !important;
}

/** 02/10/2023 - fix dropzone without staging **/
.signed-in.controls-visible .portlet-dropzone.empty {
min-height: 50px;
}

/** 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 */
.lfr-configurator-visibility .portlet-content-editable:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	opacity: 0;
	transform: translateY(-100%);  
	transition: transform 300ms ease, opacity 800ms ease;
}

.lfr-configurator-visibility: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;
}

