#page{
	margin-top: 50px;
}

#page > .alert.mt-3 {
	margin-top: 4rem !important;
}

#page #ajax-content #loading{
	margin-top: 50vh;
	transform: translateY(-50%);
}

/* Shared (common) */

#page .white-bloc{
	padding: 1px 0px;
	background-color: #ffffff;
	border-top: 1px solid #cccccc;
}

#page .white-bloc.small{
	border-radius: 5px;
	border: 1px solid #cccccc;
	margin: 20px auto;
	width: 50%;
	min-width: 325px;

	-webkit-transition: .3s ease-in-out, border-color ease-in-out .15s, background-color ease-in-out .15s;
	transition: .3s ease-in-out, border-color ease-in-out .15s, background-color ease-in-out .15s;
}

#page .white-bloc > .row{
	margin: 0px;
}

#custom-popup .search-input,
#page .white-bloc .search-input{
	position: absolute;
    left: auto;
	top: 4px;
    right: 65px;
}

#custom-popup .search,
#page .white-bloc .search{
	position: absolute;
	background-color: #3498db;
	border: 3px solid #ffffff;
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.5);
	padding: 4px;
	border-radius: 24px;
	cursor: pointer;
    left: auto;
	top: 4px;
    right: 15px;
}

#custom-popup .content-element,
#page .white-bloc .content-element{
	display: inline-block;
	position: relative;
	width: 256px;
	margin: 30px;
}

#page .white-bloc .content-element .element{
	position: relative;
	width: 250px;
	height: 175px;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid #ffffff;
	box-shadow: 0px 0px 0px 3px #dbdbdb;
	cursor: pointer;
    z-index: 1;

	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

#page .white-bloc .content-element .element img{
	object-fit: cover;
	background-color: #3498db;
	width: 250px;
	height: 175px;
    z-index: 0;

	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

#page .white-bloc .content-element .element div{
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	top: 0px;
	left: 0px;
	right: 0px;
	padding: 10px;
	color: #ffffff;
	font-weight: bold;
	text-align: left;
}

#custom-popup .title,
#page .white-bloc .title{
	position: relative;
	background: #e9e9e9;
	color: #333333;
	font-weight: bold;
	margin-bottom: 15px;
	padding: 15px 15px 15px 45px;
	border-bottom: 1px solid #cccccc;
}

#custom-popup .title{
	border-radius: 5px 5px 0px 0px;
}

#page .group-bloc{
	margin: 0px 15px 15px 15px;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 3px;

	-webkit-transition: .3s ease-in-out, border-color ease-in-out .15s, background-color ease-in-out .15s;
	transition: .3s ease-in-out, border-color ease-in-out .15s, background-color ease-in-out .15s;
}

#page .white-bloc.small:hover,
#page .group-bloc:hover{
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
	background-color: #fbfbfb;
}

#page .group-bloc > .title{
	position: relative;
	background: #e9e9e9;
	color: #333333;
	font-weight: bold;
	margin-bottom: 0px;
	padding-left: 15px;
	border-bottom: 1px solid #cccccc;
}

#custom-popup .title > .fas,
#page .white-bloc .title > .fas,
#page .group-bloc > .title > .fas{
	position: absolute;
	font-size: 20px;
	top: 15px;
	left: 12px;
}

#custom-popup .title > .float-right > .fas,
#page .white-bloc .title > .float-right > .fas,
#page .group-bloc > .title > .float-right > .fas{
	font-size: 22px;
	margin-left: 10px;
	cursor: pointer;
	color: #555;
}

#custom-popup .title > .float-right > .fas:hover,
#page .white-bloc .title > .float-right > .fas:hover,
#page .group-bloc > .title > .float-right > .fas:hover{
	color: inherit;
}

#custom-popup .title > .button,
#page .white-bloc .title > .button,
#page .group-bloc > .title > .button{
	float: right;
	margin-top: -7px;
}