/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

header {
	
}
header .navbar-top {
	padding: 0;
	margin: 0;
	background-image: linear-gradient(90deg,#2b87da 0%,#29c4a9 100%) !important;
}
header .buttons {
	margin-left: auto;
	margin-right: 20px;
}
header .buttons a {
	margin-left: 10px;
}
header .buttons .connexion {
	color: #ffffff !important;
	border-width: 0px !important;
	border-radius: 10px;
	font-weight: 700 !important;
	padding-right: 0.7em;
	padding-left: 1em;
	background-color: #662583;
	display: inline-block;
	line-height: 1.7em !important;
	font-size: 20px;
	transition: background-color 300ms ease 0ms;
}
header .buttons .connexion:hover {
  background-color: #aa3a4c;
}
header .navbar-brand {
	margin-left: 77px;
	margin-right: 100px;
	padding: 0;
}
header .menu-top .menu-item {
	margin-right: 30px;
}
header .menu-top .menu-item.active img {
	margin-top: 5px;
}
header .navbar-principal {
	background: #FFFFFF;
	text-align: center;
	-webkit-box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.5); 
	box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.5);
	padding: 0;
}
header .navbar-principal .menu-nav {
	margin: auto;
}
header .navbar-principal .menu-nav .menu {
	
}
header .navbar-principal .menu-nav .menu .menu-item.active a {
	color: #000;
}
header .navbar-principal .menu-nav .menu .menu-item a {
	color: #e02b20;
	text-decoration: none;
	font-family: "IBM Plex Sans Condensed", sans-serif;
	text-transform: uppercase;
	padding: 18px 15px 15px;
	transition: all 300ms ease 0ms;
	font-weight: bold;
	font-size: 17px;
	line-height: 1.5em;
	display: block;
}
header .navbar-principal .menu-nav .menu .menu-item a:hover {
	opacity: 0.7;
}
.footer .pre-footer {
	background: #FFF;
	color: #212529;
	padding: 10px 10% 15px;
}
.footer .pre-footer ul {
	list-style-type: disc;
	
	margin: 0 0 0 18px;
	padding: 0;
}
.footer .pre-footer ul li {
	color: #212529;
	display: list-item;
	float: left;
	width: 25%;
	line-height: 1.1em;
}
.footer .pre-footer ul li::marker {
	color: #76ad40;
	font-size: 22px;
}
.footer footer {
	background: url(../images/img-footer.jpg) no-repeat center center;
	background-size: cover;
}
.footer footer .container {
	max-width: 80%;
	padding: 47px 0 27px 0;
}
.footer-contact {
	color: #FFFFFF;
	font-size: 0.85em;
}
.footer-contact strong {
	font-size: 1.2em;
	line-height: 1em;
}
.footer-contact a {
	color: #ffd600 !important;
	font-weight: 700;
	text-decoration: none;
	font-size: 1.2em;
}
.footer .btn-list {
	display: flex;
	flex-direction: row;
	justify-content: right;
	align-items: center;
	margin-bottom: 15px;
}
.footer .btn-list a {
	display: block;
	margin-left: 15px;
}
.footer .btn-list .btn-contact {
	background-color: #ffffff;
	padding: 10px;
	color: #000000;
	font-weight: bold;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.footer .logo-esi4u {
	width: 200px;
	max-width: 100%;
	height: auto;
}
.footer .btn-bottom {
	color: #666;
	margin-top: 40px;
}
.footer .btn-bottom a {
	color: #FFFFFF;
	font-style: italic;
	text-decoration: none;
	font-size: 0.8em;
}

.bold {
	font-weight: bold;
}
.violet {
	color: #893567;
}

.btn-brochures a {
	color: #ffffff !important;
	border-width: 0px !important;
	border-radius: 10px;
	letter-spacing: 0px;
	font-size: 19px;
	font-weight: 700 !important;
	background-image: linear-gradient(89deg,#5EB955 0%,#9bc41f 100%);
	background-color: #dca383;
	padding-top: 14px !important;
	padding-right: 30px !important;
	padding-bottom: 14px !important;
	padding-left: 30px !important;
	text-decoration: none;
	box-shadow: 0px 22px 42px -25px #000000;
	display: inline-block;
	position: relative;
}
.btn-brochures a:last-child {
	background-image: linear-gradient(89deg,#00aba4 0%,#5EB955 100%);
	background-color: #dca383;
	margin-left: 30px;
}
.btn-brochures a::after {
	font-size: 32px;
	line-height: 1em;
	font-family: "Font Awesome 5 Free"; /* This is the correct font-family*/
	font-style: normal;
	font-weight: normal;
	content: "\f054";
	opacity: 0;
	position: absolute;
	margin-left: -1em;
	-webkit-transition: all .2s;
	transition: all .2s;
	text-transform: none;
	-webkit-font-feature-settings: "kern" off;
	font-feature-settings: "kern" off;
	font-variant: none;
	font-style: normal;
	font-weight: 400;
	text-shadow: none;
}
.btn-brochures a:hover::after {
	opacity: 1;
	margin-left: 0;
}


.hero {
	background: url(../images/5fond.jpg) no-repeat top center;
}
.hero .slide-container {
	min-height: 90vh;
	display: flex;
	flex-direction: row;
	margin: 0 15%;
}
.hero .slide-container .slide-desc {
	padding-left: 150px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.hero .slide-container .slide-image  {
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.hero .slide-container .slide-image img {
	height: auto;
	width: 500px;
}
.hero .slide-container .slide-image figcaption {
	text-shadow: 0px 0px 5px rgba(0,0,0,0.70);
	color: #FFFFFF;
	font-weight: bold;
	padding: 15px 0;
	text-align: center;
	font-size: 1.2em;
}
.hero .slide-container .slide-desc img {
	max-width: 100%;
	height: auto;
}
.hero .slide-container .slide-desc h1 {
	font-weight: 600;
	color: #000;
	margin-bottom: 30px;
}
.hero .slide-container .slide-desc p {
	font-size: 1.2em;
}
.hero .slide-container .slide-desc .buttons {
	margin-top: 50px;
}

.sub-hero .img-background {
	background: url(../images/Visuel-PCSecu.jpg) no-repeat center;
	background-size: cover;
}
.sub-hero .ctn-text {
	padding: 30px;
	padding-right: 20%;
}
.sub-hero .icon-logiciel {
	background-image: linear-gradient(90deg,#2b87da 0%,#29c4a9 100%) !important;
}
.sub-hero .icon-logiciel h2 {
	color: #FFF;
	margin: 20px 0;
}
.sub-hero .icon-logiciel .card {
	text-align: center;
	border: 0;
	background: transparent;
}
.sub-hero .icon-logiciel .card .card-icon img {
	max-height: 80px;
	max-width: 80px;
}
.sub-hero .icon-logiciel .card .card-text {
	color: #FFFFFF;
	max-width: 250px;
	margin: 30px auto;
}

.c100vh {
	min-height: 100vh;
}
.c100vh .container {
	min-height: 100vh;
	height: 100%;
}
.c100vh .container .row { 	min-height: 100vh;	height: 100%; padding-top: 100px; padding-bottom: 100px; }
.c100vh .container .row > div {  }

.recensement {
	background: url(../images/Fond-recensement.jpg) no-repeat center;
	background-size: cover;
}
.recensement h2 {
	color: #000;
	margin-bottom: 30px;
}
.recensement .buttons {
	text-align: center;
	margin-top: 50px;
}
.recensement .buttons a {
	margin: 0;
}
.alerter h2 {
	color: #000;
	margin-bottom: 30px;
}
.alerter.c100vh .container .row > div:first-child { padding-bottom: 100px; } 
.alerter .visuels {
	text-align: center;
}
.alerter .visuels img {
	max-width: 100%;
	height: auto;
}
.alerter .buttons {
	text-align: center;
	margin-top: 50px;
}
.alerter .buttons a {
	margin: 0;
}
.maincourante {
	background: url(../images/Fond-maincourante.jpg) no-repeat center;
	background-size: cover;
}
.maincourante h2 {
	color: #000;
	margin-bottom: 30px;
}
.maincourante .buttons {
	text-align: center;
	margin-top: 50px;
}
.maincourante .buttons a {
	margin: 0;
}
.connect h2 {
	color: #000;
	margin-bottom: 30px;
}
.connect.c100vh .container .row > div:first-child { padding-bottom: 100px; } 
.connect .visuels {
	text-align: center;
}
.connect .visuels img {
	max-width: 100%;
	height: auto;
}
.connect .buttons {
	text-align: center;
	margin-top: 50px;
}
.connect .buttons a {
	margin: 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}



.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}
@media only screen and (max-width: 1400px) {
	
	.hero .slide-container .slide-image img {
		width: 400px;
	}
	.hero .slide-container {
		margin: 0 50px;
	}
}

@media only screen and (max-width: 940px) {
	.hero .slide-container {
		flex-direction: column;
		margin: 0 50px;
	}
	.hero .slide-container .slide-image {
		padding-top: 100px;
		text-align: center;
	}
	.hero .slide-container .slide-image img {
		max-width: 100%;
		height: auto;
	}
	.hero .slide-container .slide-desc {
		padding-left: 0px;
		text-align: center;
		display: block;
		padding-bottom: 100px;
	}
	.c100vh {
		min-height: auto;
	}
	.c100vh .container {
		min-height: auto;
		height: auto;
	}
	.c100vh .container .row {
		min-height: auto;
		height: auto;
	}
	
}
@media only screen and (max-width: 540px) {
	.hero .slide-container {
		flex-direction: column;
		margin: 0 50px;
	}
	.hero .slide-container .slide-image {
		padding-top: 100px;
		text-align: center;
	}
	.hero .slide-container .slide-desc {
		padding-left: 0px;
		text-align: center;
		display: block;
		padding-bottom: 100px;
	}
	.btn-brochures a:last-child {
		margin-left: 0;
		margin-top: 20px;
	}
	.c100vh {
		min-height: auto;
	}
	.c100vh .container .row > div {
		padding: 100px 20px;
		background: rgba(255,255,255,0.5);
		
	}
	.c100vh .container .row > div:nth-child(2n) {
		padding-top: 0;
	}
	.c100vh .container .row {
		padding: 0;
	}
	.navbar > .container, .navbar > .container-fluid, .navbar > .container-lg, .navbar > .container-md, .navbar > .container-sm, .navbar > .container-xl, .navbar > .container-xxl {
		display: block;
	}
	header .navbar-brand {
		margin-left: auto;
		margin-right: auto;
		padding: 0;
		display: block;
		text-align: center;
	}
	header .menu-top-desktop {
		display: none;
	}
	.sub-hero .ctn-text {
		padding-right: 30px;
	}
	.pre-footer {
		display: none;
	}
	.footer .btn-list {
		justify-content: center;
	}
	header .buttons { 
		text-align: center;
	}
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

