@charset "UTF-8";
/*IMIO SHARE : Affichage du message de connexion au portail agent*/
$a_portal_agent_background: None !default;
$a_portal_agent_color: black !default;
$a_portal_agent_top: 30px !default;
$a_portal_agent_right: 6% !default;
$a_portal_agent_border: None !default;
$hidden-description: true !default;
$hidden-automatically-pre-filled-field-text: true !default;
$global-errors-background-color: #f9dede !default;
$global-errors-color: #333 !default;
$form-current-navpage-color: #444444 !default;
$form-current-navpage-background-color: white !default;
$category-forms-hover-background-color: None !default; // $primary-color when overide is a good idea.
$content-cell-border: 1px solid #ccc !default; //cells are the keyword for the different block in the content

a#publik-portal-agent {
	background: $a_portal_agent_background;
	color: $a_portal_agent_color;
	top: $a_portal_agent_top;
	right: $a_portal_agent_right;
	border: $a_portal_agent_border;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url("../imio/images/dropdown.png") right / 20px no-repeat #fff;
	padding-right: 20px;
}

select option:disabled {
	color: #b3b3b3;
}

div#columns {
	width: 100%;
}

/*Print eID mini picture next to "demarche" name
#columns .wcsformsofcategorycell ul li.required-fedict-authentication a::after {
    background-color: Transparent;
    content: url("../imio/images/beid_image_mini.png");
    display: inline-block;
    height: 22px;
    @if global-variable-exists("eid_margin_left") {
        margin-left: 80%;
    } @else {
        margin-left: 105%;
    }

    margin-top: 0.7em;
    text-align: right;
    width: 34px;
}
End Print eID...*/
/* Remove description out of all forms presentation page */
div.wcsformsofcategorycell ul li div.description {
	@if $hidden-description {
		display: none;
	} @else {
		display: block;
		border-bottom: none;
		padding-left: 2rem;
		& p::before {
			content: "\002937";
			position: relative;
			font-weight: 600;
		}
	}
}

/* Use custom alert icon */
div.error {
	background: transparent url(../includes/svg/alert-triangle.svg) top left
		no-repeat;
}

/* Set background-color in forms' errors reporting*/
div.global-errors {
	background-color: $global-errors-background-color;
}
/* Set text color in forms' errors reporting*/
div.global-errors > p {
	color: $global-errors-color;
}
/*Hide "Ce champs a automatiquement été préremplis*/
form.quixote div.content > div.message {
	@if $hidden-automatically-pre-filled-field-text {
		display: none;
	} @else {
		display: block;
	}
}

div#header-nav {
	display: none;
}
div#rub_service div.category ul > li > a::after,
div#services > ul > li > ul > li > a::after,
div#account-management ul > li > a::after,
div.links-list ul > li > a::after,
div.menucell ul > li > a::after,
div.wcsformcell > li > a::after,
div.notificationscell ul > li > a::after,
div.categoriescell ul > li > a::after,
div.wcsformsofcategorycell ul > li > a::after,
div.wcscurrentdraftscell ul > li > a::after,
div.wcscurrentformscell ul > li > a::after {
	@if $category-forms-hover-background-color != "None" {
		background-color: $category-forms-hover-background-color;
	}
	opacity: 0.1;
	content: "";
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	-ms-transition: all 0.2s ease-in-out 0s;
	-o-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease 0s;
	width: 0;
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
}
/* Checkbox multi select : LI List on 4 columns (extra css = splitlist)*/
.splitlist ul {
	float: left;
	margin-left: 1em;
}
.splitlist li {
	padding-right: 2em;
	line-height: 1.5em;
	font-size: 12px;
}
/* END Checkbox multi select : LI List on 4 columns (extra css = splitlist)*/
span#baseline {
	display: none;
}
// To adjust table's cells size to their column's space
td input {
	width: 100%;
}

input:focus:not([readonly]),
input[type="search"]:focus:not([readonly]),
textarea:focus:not([readonly]),
select:focus:not([readonly]) {
	box-shadow: 0 0 4px 0 $primary-color;
}

/* Text links */
/* unvisited link */
.comment-field a:not(.pk-button),
.textcell a:not(.pk-button) {
	color: $link-color;
	border-bottom: 1px solid;
}
/* visited link */
.comment-field a:not(.pk-button):visited,
.textcell a:not(.pk-button):visited {
	color: desaturate($link-color, 40%);
}
/* mouse over link */
.comment-field a:not(.pk-button):hover,
.textcell a:not(.pk-button):hover {
	color: darken($link-color, 5%);
	border-bottom: 0;
	text-decoration: none;
}
/* selected link */
.comment-field a:not(.pk-button):active,
.textcell a:not(.pk-button):active {
	color: desaturate(lighten($link-color, 5%), 5%);
}
