* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Barlow Semi Condensed', sans-serif;
}

body {
  color:#2f3335;
  font-size:18px;
  padding-top:58px;
}

/* TYPO */

strong, b {
  font-weight: 600;
}

dl, ol, ul {
    padding-left: 1.1em;
    margin-bottom:0;
}

h2, .h2 {
  font-size:25px;
}

ul:not(.nav) {
  list-style: none;
}

li:not(.nav-item)::before {
  content: "•";
  color: #95c23d;
  font-size: 24px;
  line-height: 18px;
  display: inline-block;
  width: 19px;
  margin-left: -20px;
}


/* Navbar */

.navbar {
  background:#fff;
}

.brand-right {
  margin-right: 0;
  margin-left: 1rem;
}


/* Entête */

#header {
  background: white;
  background-image: url(../images/background-header-rond@3x.png);
  background-size: 100% auto;
  background-position: center top;
  padding: 40px 0;
  background-repeat: no-repeat;
}

.header-block {
  background: #fff;
  border-radius:15px;
  padding:40px 30px;
}

.header-block ul li {
	line-height:135%;
	padding-bottom:14px;
}

.main-title {
  color:#3294e0;
  margin-bottom:5px;
}

.sub-title {
  margin-top:15px;
  line-height:130%;
}

.sous-sub-title {
	margin-bottom: 45px;
	line-height:130%;
}

.header-block h3 {
	color:#3294e0;
	font-size:25px;
}

/* Logo */

h1 {
  background:url(../images/Logo@2x.png);
  background-size:100%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  height:82px;
  width:360px;
  margin:0 auto 35px;
}

/* Tabs */

#tabs {
  padding-top:50px;
}

.nav-link {
  color:#acb9bf;
}
.nav-link.active {
  border-bottom:4px solid #3294e0;
  color:#3294e0;
}
.nav-link.no-hover {
	pointer-events: none;
}

/* Intro des extraits */

.tab-intro {
  background:#F0F0FA;
  padding-top:70px;
  padding-bottom:80px;
}

.tab-intro h2 {
  font-size:30px;
  margin-bottom: 45px;
  text-align:center;
  text-transform: uppercase;
}

.extrait-livre.deux-colonnes {
  background:#fff;
}

.extrait-livre.deux-colonnes > .row > div[class^="col-"]:last-child {
  padding:30px;
}

.extrait-livre a.lien-couvert,
.liens-extraits a {
  display:block;
  position: relative;
}

.extrait-livre a.lien-couvert:before,
.liens-extraits a:before {
  content:"";
  display:block;
  width:100%;
  height:100%;
  background:#327EE6;
  position: absolute;
  left:0;
  top:0;
  opacity:0;
  transition: ease-in-out all 0.25s;
}

.extrait-livre a.lien-couvert:hover:before,
.liens-extraits a:hover:before {
  opacity:0.6;
}

.extrait-livre h3 {
  font-weight: 600;
  font-size:18px;
}

.extrait-livre:not(.deux-colonnes) h3 {
  margin-top:12px;
}

.extrait-livre ul {
  padding-left: 21px;
  margin-top:1em;
}

.extrait-livre ul li {
  line-height: 21px;
  padding-bottom: 15px;
  padding-left: 7px;
  position: relative;
}

.extrait-livre ul li::before {
  content: "";
  line-height: 18px;
  display: block;
  position: absolute;
  width: 17px;
  height: 21px;
  background-image: url(../images/iconepdf@3x.png);
  background-size: 17px 21px;
  background-position: top left;
  background-repeat: no-repeat;
  left: 0;
}

.extrait-livre a {
  color:#008ee2;
}

/* Boite "Essai gratuit" */

.essai-gratuit {
  background:#436BFF;
  background-image:url(../images/extrait-bg@4x.png);
  background-size:cover;
  background-position: center;
  border-radius:10px;
  color:#fff;
  margin-top:60px;
  min-height:80px;
  overflow:hidden;
}

.essai-gratuit h3 {
  font-size:30px;
  text-transform: uppercase;
}

.essai-gratuit {
  padding: 30px 25px;
}

.essai-gratuit .logo-iplus {
  margin-right:3px;
}

.essai-gratuit .btn {
  background-image:url(../images/Fleche@3x.png);
  background-size:14px 13px;
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) 50%;
  border-radius: 25px;
  border-width: 2px;
  font-weight: 600;
  padding:12px 40px 12px 15px;
  line-height:130%;
}

.essai-gratuit .btn:hover {
  background-image:url(../images/Fleche-hover@3x.png);
  color:#327ee6;
}

.essai-gratuit .col-img {
	margin-bottom:15px;
}


/* Blocs des extraits/demo */

.extrait {
  padding-bottom:85px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fefefe+0,f0f0fa+100 */
  background: #fefefe; /* Old browsers */
  background: -moz-linear-gradient(top, #fefefe 0%, #f0f0fa 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #fefefe 0%,#f0f0fa 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #fefefe 0%,#f0f0fa 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f0f0fa',GradientType=0 ); /* IE6-9 */
  overflow:visible;
}

.extrait.dernier-extrait {
	padding-bottom:55px;
}

.extrait h3 {
  font-size:30px;
  font-weight: 500;
  text-transform: uppercase;
}

.extrait.extrait-activite h3 {
  color:#00d776;
}

.extrait.extrait-video h3 {
  color:#f72a4b;
}

.extrait.extrait-audio h3 {
  color:#ff5e1f;
}

.extrait h3:before {
  background-size:100% 100%;
  content:"";
  display: block;
  width:60px;
  height:60px;
  margin:-30px auto 10px;
}

.extrait.extrait-activite h3:before {
  background-image:url(../images/icone-act-inter@3x.png);
}

.extrait.extrait-video h3:before {
  background-image:url(../images/icone-video@3x.png);
}

.extrait.extrait-audio h3:before {
  background-image:url(../images/icone-audio@3x.png);
}

.extrait p {
  margin-bottom:0;
}

.extrait .liens-extraits {
  margin-top: 45px;
}

.extrait .liens-extraits a {
  display: block;
}


/* FOOTER */

footer {
  color:#2f3335;
  padding:20px 0;
  text-align: center;
}




/* MEDIA QUERIES */


@media all and (max-width:575px) {
  h1 {
    height:48px;
    width:210px;
    margin-bottom:35px;
  }
  .navbar {
    padding: .5rem 0;
  }
  .nav-fill .nav-item {
    width:100%;
  }
  .nav-link {
    padding: 1rem 1rem;
  }
  #tabs > .container {
    padding:0;
  }
  .extrait-livre {
    margin:auto;
    max-width:260px;
  }
  .extrait-livre.deux-colonnes {
    max-width:320px;
  }
  .row-extrait-livre:not(.row-deux-colonnes) > div[class^="col-"]:not(:first-child) .extrait-livre {
    margin-top:45px;
  }
}

@media all and (min-width:575px) and (max-width:1199px) {
  .essai-gratuit .col-img {
	  height:110px;
	  overflow:hidden;
	  margin-bottom:0;
  }
  .essai-gratuit {
	  padding-bottom:0;
  }
}

@media all and (max-width:767px) {
  .row.liens-extraits .col-md-6:not(:first-child) > a {
    margin-top:45px;
  }
}

@media all and (max-width:991px) {
  .row-deux-colonnes > div[class^="col-"]:not(:first-child) .extrait-livre,
  .row.liens-extraits .col-lg-6:not(:first-child) .embed-responsive {
    margin-top:45px;
  }
  .sub-title {
    margin-top:15px;
  }
}

@media all and (min-width:992px) and (max-width:1199px) {
  .extrait-livre.deux-colonnes > .row > div[class^="col-"]:last-child {
    padding:15px;
  }
}

@media all and (max-width:1024px) {
  #header {
    background-size: auto 50%;
  }
  .header-block {
    padding: 40px 15px;
  }
  .header-block .col-milieu {
    margin-bottom:20px;
  }
}

@media all and (max-width:1199px) {
  .essai-gratuit {
    background-image:url(../images/extrait-gb-bleu@3x.png);
    background-position: right;
  }
  .header-block h3 {
	margin-top:25px;
  }
}

@media all and (min-width:1025px) and (max-width:1600px) {
  #header {
    background-size: auto 62.5%;
  }
}


/* FIX pour l'entête en x-large */
@media (min-width: 1200px) {
	.header-block .col-xl-6 {
	    -ms-flex: 0 0 40%;
	    flex: 0 0 40%;
	    max-width: 40%;
	}
	.header-block .col-xl-3 {
	    -ms-flex: 0 0 30%;
	    flex: 0 0 30%;
	    max-width: 30%;
	}
}

