body, html {
	margin: 0px;
	font-family: "Open Sans",Varela;
	line-height: 1.6;
	color: #585858;
	font-size: 14px;
}

#loginbox {
	display: none;
	position: fixed;
	width: 500px;
	height: 250px;
	background: #FFFFFF;
	z-index: 999;
	overflow: hidden;
	top: 50%;
	left: 50%;
	margin-top: -125px; /* Negative half of height. */
	margin-left: -250px; /* Negative half of width. */
	border-radius: 10px;
	border: #000000 1px solid;
	filter: drop-shadow(0px 0px 10px #222222);
}

#logincontainer {
	perspective: 500px;
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
}

#loginclient {
	position: fixed;
	left: 0%;
	-webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
	transition-duration: 0.3s;
	/*
	transform: rotateX(-90deg) translateZ(125px) translateY(125px);	
	transition-duration: 0.3s;
	*/
	background: linear-gradient(360deg, #DDDDDD, #FFFFFF);
	width: 100%;
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
}

#loginclient.pinned {
	/*
	transform: rotateX(0deg) translateZ(0px);
	transition-duration: 0.3s;
	*/
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
	transition-duration: 0.3s;
}

#loginclient > div {
	display: table;
}

/*#loginclient > div > div {*/
/*	display: table-row;*/
/*}*/

#loginclient > div > div > div {
	display: table-cell;
	padding: 5px;
}

#loginmessageclient {
	display: block !important;
	color: #FF0000;
	padding: 5px;
}

#loginadmin {
	position: fixed;
	left: 0%;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
	transition-duration: 0.3s;
	/*
	transform: rotateX(90deg) translateZ(125px) translateY(-125px);	
	transition-duration: 0.3s;
	*/
	background: linear-gradient(360deg, #FFFFFF, #DDDDDD);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loginmessageadmin {
	display: block !important;
	color: #FF0000;
	padding: 5px;
}

#loginadmin.pinned {
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
	transition-duration: 0.3s;
	/*
	transform: rotateX(0deg) translateZ(0px);
	transition-duration: 0.3s;
	*/
}

#loginadmin > div {
	display: table;
}

#loginadmin > div > div {
	display: table-row;
}

#loginadmin > div > div > div {
	display: table-cell;
	padding: 5px;
}


#lnkadmin {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 999;
}

#imgclose {
	position: fixed;
	top: 10px;
	right: 10px;
	width: 20px;
	z-index: 999;
	cursor: pointer;
}

#imgclose:hover {
	filter: invert(21%) sepia(63%) saturate(6948%) hue-rotate(356deg) brightness(94%) contrast(127%);
}

#lnkadmin > img {
	width: 20px;
	cursor: pointer;
}

#header {
	position: fixed;
	top: 0px;
	width: 100vw;
	z-index: 1;
	height: 400px;
}

#headerimg {
	display: none;
	position: absolute;
	top: -100px;
	left: 0px;
	width: 100vw;
	height: 600px;
	object-fit: cover;
	opacity: 1;
	z-index: -999;
}

#headercontent {
	display: flex;
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0));
	height: 400px;
	color: #FFFFFF;
}

#headercontent ul {
	margin: auto;
	width: 100%;
	padding: 0px;
	display: flex;
    justify-content: space-around;
    align-items: center;
}

#headercontent ul li {
	display: inline;
	vertical-align: middle;
}

#headercontent ul li a {
	position: relative;
	text-decoration: none;
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 16pt;
	font-weight: 800;
}

#headercontent ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #FFFFFF;
    bottom: -5px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }

#headercontent ul li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

#headercontent ul li img {
	width: 150px;
}

#videobg {
    position: absolute;
	width: 100vw;
	min-height: 400px;
    /*height: 56.25vw;*/
	/*
    min-height: 100vh;
    min-width: 177.77vh;
	top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
	*/
	z-index: -999;
}

#videobg[poster] {
	object-fit: cover;
}

#main {
	margin-top: 400px;
	position: relative;
	z-index: 2;
	background-color: #FFFFFF;
}

#footer {
	position: relative;
	display: flex;
	min-height: 200px;
	z-index: 2;
	/*background-color: #000000;*/
	background: linear-gradient(181deg, #0f3170 0%, #1991cb 100%);
	color: #FFFFFF;
	padding: 20px;
}

#footer > div {
	margin: auto;
}


#midad {
	background-image: url('../images/big/tile (0029).jpeg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding-top: 50px;
	padding-left: 15%;
	padding-right: 20%;
	padding-bottom: 50px;
}

#midad .adtext {
	color: #000000;
	background-color: #FFFFFFFF;
	padding: 20px;
	border-radius: 10px;
	text-align: justify;
	filter: drop-shadow(0px 0px 10px #222222);
}

a {
	cursor: pointer;
}

input[type=button], input[type=submit] {
	text-transform: uppercase;
	font-family: 'Bebas Neue';
	font-size: 20px;
}

.capitalize:first-letter {
	text-transform: capitalize;
}

.prevent-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
	height: 100px;
	background: linear-gradient(180deg, #0f3170 0%, #1991cb 100%);
	/*background-color: #000000;*/
	color: #FFFFFF;
	font-family: 'Bebas Neue';
	letter-spacing: 2px;
	font-size: 18pt;
	font-weight: 800;
	text-transform: uppercase;
}

.middletitle {
	font-family: 'Bebas Neue';
	letter-spacing: 2px;
	font-size: 18pt;
	font-weight: 800;
	text-transform: uppercase;
}


.smalltitle {
	font-family: 'Bebas Neue';
	letter-spacing: 1px;
	font-size: 14pt;
	font-weight: 800;
	text-transform: uppercase;
}

.text {
	padding: 20px;
}

.pictos {
	display: flex;
}

.pictos ul {
	width: 100%;
	display: flex;
	justify-content: space-around;
	margin: auto;
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 0px;
	color: #276fd7;
}

.pictos ul li {
	display: inline-block;
}

.pictos ul li img {
	width: 40px;
	filter: invert(33%) sepia(49%) saturate(3741%) hue-rotate(206deg) brightness(92%) contrast(82%);
}

.anchor {
	display: none;
}

.right {
	text-align: right;
}

.hidden {
	display: none !important;
}

.divtable {
	display: table;
}

.divrow {
	display: table-row;
}

.divcell {
	display: table-cell;
	padding: 5px;
}

.supplement {
	background-color: #dcdcdc;
}

.centered {
	text-align: center;
}

.righted {
	text-align: right;
}

.fullwidth {
	width: 100%;
}

.odd {
	background-color: #f0f8ff;
}

.even {
	background-color: #ffffff;
}

.padding5 {
	padding: 5px;
}

.mandatory:after {
    content:" *";
    color: red;	
}

.global:after {
    content:" *";
    color: green;	
}

.perpers:after {
    content:" *";
    color: blue;	
}

.red {
	color: red;
}

/* For Mobile */
@media screen and (max-width: 480px) {
	#midad {
		background-image: url(../images/ad1.jpeg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		padding-top: 50px;
		padding-bottom: 50px;
		padding-left: 10px;
		padding-right: 10px;
		margin-bottom: 10px;
		margin-top: 10px;
	}

	#midad .adtext {
		background-color: #FFFFFF;
		padding: 20px;
		border-radius: 10px;
	}

	#headercontent ul li.nomobile {
		display: none;
	}

	#listofactivite {
		flex-direction: column;
	}

	#listofactivite > div {
		max-width: 100% !important;
	}

	#listoftransport {
		flex-direction: column;
	}

	#listoftransport > div {
		max-width: 100% !important;
	}

	.pictos ul {
		flex-direction: column;
	}

	.pictos ul li:not(:first-child) {
		margin-top: 10px;;
	}

	.mapdisabled {
		display: none !important;
	}

	#loginbox {
		width: 90%;
		margin-top: -45%; /* Negative half of height. */
		margin-left: -45%; /* Negative half of width. */
	}

	#loginclient > div {
		width: 80%;
	}

	#resid {
	    box-sizing: border-box;
		width: 100%;
	}

	#loginclient > div > div > div {
		display: block;
	}
}

/* For Tablet */
@media screen and (min-width: 481px) and (max-width: 768px) {
	#midad {
		background-image: url(../images/ad1.jpeg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		padding-top: 50px;
		padding-left: 15%;
		padding-right: 40%;
		padding-bottom: 50px;
		margin-bottom: 10px;
		margin-top: 10px;
	}

	#midad .adtext {
		background-color: #FFFFFF;
		padding: 20px;
		border-radius: 10px;
	}

	.mapdisabled {
		display: none !important;
	}

/*
	#header img {
		display: block;
	}

	#videobg {
		display: none;
	}
*/
}

/* For HD Tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	#midad {
		background-image: url(../images/ad1.jpeg);
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		padding-top: 50px;
		padding-left: 15%;
		padding-right: 40%;
		padding-bottom: 50px;
		margin-bottom: 10px;
		margin-top: 10px;
	}

	#midad .adtext {
		background-color: #FFFFFF;
		padding: 20px;
		border-radius: 10px;
	}

	.mapdisabled {
		display: none !important;
	}

/*
	#header img {
		display: block;
	}

	#videobg {
		display: none;
	}
*/
}