/* module-repository/src/main/webapp/assets/styles/public.css 

Updated for: ECL 4.6.0 

Index:
- VARIABLES
- WORLD IMAGE
- BUTTONS
- DROPDOWN LISTS
- TEXT SEARCH
- AUTOCOMPLETE
- FILE DOWNLOAD
- SELECT OPTIONS
- COPYRIGHT
- PORTFOLIOS-LINK#portfolio-link {
	color: var(--commission-color);

}

*/

/* --------------------------------- VARIABLES ---------------------------- */
:root {
	--public-color:  #5577f0;
	--public-color-light: #D8E0FB;
}

/* -------------------------------- WORLD IMAGE ------------------------------ */
.worldImageClass {
	filter: invert(8%) sepia(100%) saturate(7491%) hue-rotate(248deg) brightness(101%) contrast(143%);	
}

/* ---------------------------------- BUTTONS -------------------------------- */

/* secondary button */

.btn-secondary:focus {
    /* outline: 0 !important; (remove outline) */
	outline: 2px solid var(--public-color);
    outline-offset: -2px;
}

.btn-secondary {
	color: var(--public-color);
	border: solid 2px var(--public-color);
	background-color: white;
	border-radius: 2px;
}

.btn-secondary:hover { 
	color: white;
	background-color: var(--public-color);
	border: solid 2px var(--public-color);
	border-radius: 2px;
}


/* ---------------------------------- DROPDOWN LISTS -------------------------------- */

/* search.jsp search panel */

select:focus {
    /* outline: 0 !important; (remove outline) */
	outline: 2px solid var(--public-color);
    outline-offset: -2px;
}

select.facet-select {
    max-width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--public-color); /* #404040; */
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: black;
    display: block;
    font: normal normal 400 1rem/1.25rem Arial,sans-serif;
    margin: 0;
    padding: calc(.75rem - 1px) calc(3.5rem - 1px) calc(.75rem - 1px) calc(.75rem - 1px) !important;
    width: 100%;
    z-index: 1;
    cursor: pointer;
}

.facet-panel-select:after {
	content: '\e823';
    position: absolute;
    padding: 0.75rem;
    font-size: 1.25rem;
    transform: rotate(0deg);
 	background-color: white;
    color: black;
    bottom: 0.33rem;
    line-height: 1;
    height: 2.2rem; 
    right: 0.6rem;
    font-family: EuropaIcons;
    pointer-events: none;
}

/* --------------------------------- TEXT SEARCH ---------------------------- */

.search-input.f-1:focus {
	outline: 2px solid var(--public-color);
    outline-offset: -2px;
}

.site-search-clone {
	display: flex;
	align-self: center;
	flex: 1 1 0 !important;
	border: solid 1px var(--public-color);  /*  gray; */
	/* background-color: #e0e5f5; */
}

.btn.search-button {
	color: #26324b;
	background-color: white; 
	font-weight: normal;
	position: relative;
	left: -1px;
}

.btn.search-button:hover {
	color: #26324b;
	background-color: #e0e5f5;
	font-weight: normal;
}

.vertical-bar {
	background-color: var(--public-color);
    display: inline-block;
    height: 1.50rem;
    left: -1px;
    position: relative;
    top: 0px;
    width: 1px;
    border: 0;  /* -left: 1px solid var(--public-color); */
    margin-top: 8px;
    content: "";
    z-index: 10;
}

/* --------------------------------- AUTOCOMPLETE ----------------------- */
.facet-input {
	outline: 1px solid var(--public-color);
    outline-offset: -1px;
}

.facet-input:focus {
	outline: 2px solid var(--public-color);
    outline-offset: -2px;
}

.facet-panel-input:after {
	content: '';
	display: inline-block;
	position: absolute;
	border-left: 1px solid var(--public-color);
	right: 0.5rem;
	width: 2.77rem;
	height: 45px;
	padding: 2px;
	background-image: url(/https/publications.jrc.ec.europa.eu/repository/assets/images/search.svg);
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	cursor: pointer;
}

.facet-panel-input:focus:after {
	content: '';
	display: inline-block;
	position: absolute;
	border-left: 1px solid var(--public-color);
	right: 0.5rem;
	width: 2.77rem;
	height: 2.77rem;
	padding: 2px;
	background-image: url(/https/publications.jrc.ec.europa.eu/repository/assets/images/search.svg);
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	cursor: pointer;
}

/* ----------------------------------- FILE DOWNLOAD -------------------------- */

.icon-copy:before { 
	content: url('../images/file.svg');
}

.btn.icon-download:after { 
	content: '\e807'; 
}

.file-panel {
    background-color: white;
	border: solid 1px var(--public-color);
	border-collapse: collapse;	
    padding:1.5rem;
    margin:1rem 0;
}

.file-panel .ec-title {
    width: 100%;
    word-break: break-all;
    font-weight: normal !important;
}

.download-link {
    color: var(--public-color) !important;
    font: normal normal 400 1rem/1.25rem arial,sans-serif;
}

.download-link.dl2:hover {
	text-decoration: underline !important;
}

/* ---------------------------------------- SELECT OPTIONS -------------------------------------- */
/* 
DOESN'T WORK
select option:hover {
	color: white;
	background-color: var(--public-color);

} 
*/

/* ------------------------------------ COPYRIGHT -------------------------------------------- */
.copyright {
    background-color: var(--public-color-light);
	border: solid 1px var(--public-color);
}

#portfolios-link {
	color: var(--public-color);

}
