/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 9 juin 2016, 17:50:47
    Author     : rfigliuzzi
    change the : 7 novembre 2016
    Author     : bonfgli
*/

#welcomeModal
{
  background: -moz-linear-gradient(top, rgba(191,191,191,.9) 0%, rgba(0,0,0,.9) 100%),url("/sites/default/files/CustomFileToChange/background/Fond-accueil.jpg");
  background: -webkit-linear-gradient(top, rgba(191,191,191,.9) 0%,rgba(0,0,0,.9) 100%),url("/sites/default/files/CustomFileToChange/background/Fond-accueil.jpg");
  background: linear-gradient(to bottom, rgba(191,191,191,.9) 0%,rgba(0,0,0,.9) 100%),url("/sites/default/files/CustomFileToChange/background/Fond-accueil.jpg");
  background-size: cover;
    width: 100%;
    height:100%;

}
.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
       -o-transform: translate(0, -25%);
          transform: translate(0, -25%);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}
.modal-header {
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}
.modal-header:after,
.modal-footer:after {
  clear: both;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .2;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  filter: alpha(opacity=50);
  opacity: .5;
}
button.close {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}
/* masque magazine */
.third-effect .mask {
   opacity: 0;
   visibility: hidden;
}
/* taille et couleur des boutons entrée */
.btn {
    
    bottom:15px;
    right: 36%;
    min-width:100px;
    font-size: 22px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #7d0a2b;
    border: 0;
}
/* Container des magazines*/
#imgcontainer {
    position:relative;
    text-align:center;
    max-height: 100%;
}
#imgcontainer2 {
    position:relative;
    text-align:center;
    max-height: 100%;
}
#imgcontainer3 {
    position:relative;
    text-align:center;
    max-height: 100%;
}
/*Bouton entrée 3*/
#btnenter3 {
   bottom:15px;
    right: 36%;
    width:100px;
    font-size: 22px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #7d0a2b;
    border: 0;
}
/*taille des magazines */
#imghaut{
    position:absolute;
    height: 50px;
    right:0px;
    width:100px;
}
#imghaut2{
      position:absolute;
 height: 50px;
    right:0px;
    width:100px;
}
.haut{
  margin: 50px auto 0; 
}
/*Logo principale*/
#logoent{
  display: block;
   margin: 60px auto 0;
}
/*Logo Tel*/
#logotel{
  margin-top: 75px;
  margin-right:10%;
}
.btnenter{
  position: absolute;
  width: 100%;
  bottom: 15px;
}
/* responsive */
@media (min-width: 768px) {
.modal-dialog {
    width: 600px;
    margin: 30px auto;
}
.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}
.modal-sm {
width: 300px;
}
.taillemid{
width: 60%;
max-width: 60%;
margin: auto;
}
/* pub du haut */
#rbanniere{
margin-bottom: 15px;
}
.droite{
margin-left: 3px;
}
}
@media (max-width: 767px) {
.taillecol{
  min-width: 100%;
}
.taillemid {
width: 100%;
max-width:100%;
}
/* centre tout les magazines */
.centerdiv{
width: 39%;
margin: auto;  
}
/*responsive magazine affichage que de la partie haute du mag*/
.divmob{
overflow: hidden;
}
/*centre les magazine en mode mobile*/
.livreimg{
max-height: 401px;
}
/* pub du haut */
#rbanniere{
margin-top: -30px;
}
/*Logo principale*/
#logoent{
height: 80px;
}
.livreimg{
width:100%;
max-height: 401px;
}
/* on affiche pas le masque magazine */
.third-effect .mask{
display: none;
}
/*Marge de 10px en bas de chaque div*/
.botmobile
{
margin-bottom: 10px;
}
}
@media  (min-width: 768px) and (max-width: 992px)  {
  /* centre la pub en bas de page*/
#centerdivbas{
width: 35%;
margin: auto;
}
  /* pub du haut */
#rbanniere{
margin-top: -30px;
}
/* centre tout les magazines */
.centerdiv{
width: 59%;
margin: auto;   
}
.botmobile{
margin-bottom: 10px;
}
.haut{
width: 88%;
}
/* on affiche pas le masque magazine */
.third-effect .mask {
display: none;
}
}
@media  (min-width: 992px){
.third-effect a.info {
position:relative;
top:-10px; /* Center the link */
opacity: 0;
}
.third-effect:hover .mask {
opacity: 1;
visibility: visible;
}
.third-effect:hover a.info {
opacity:1;
visibility: visible;
}
.txt{
top: 0;
height: 100%;
position:absolute;
color: white;
background-color: rgba(0,0,0,0.6); 
width: 100%;
}
.txt p{
width: 80%;
margin: auto;
text-align: justify;
}
}
@media screen and  (min-width: 992px) and (max-width: 1200px)  {
.modal-lg {
width: 900px;
}
.col-centered{
float: none;
margin: 0 auto;
clear: both;
}
.taillemid{
max-width: 50%;
}
.taillecol{
max-width: 40%;
}
.livreimg{
max-height: 401px;
}
.haut{
max-width: 70%;
}
.txt p {
font-size: 10px;
}
.third-effect .mask
{
  margin-bottom: 20px;
}
  /* on affiche pas le masque magazine */
.third-effect:hover .btn {
display: none;
}
#divtel {
    margin: auto;
    width: 70%;
}
}
@media (min-width: 1200px){
.haut{
  max-width: 70%;
}
.txt p {
  font-size: 14px;
}
.txtlg p {
  font-size: 14px;
  text-align: justify;
}
/*Logo principale*/
#logoent{
  max-height:55%;
}
.taillecol{
max-width: 20%;
}
/*sert pour centrée le 3ème magazine*/
#divtel{
  margin: auto;
    width: 50%;
}
}
@media screen and  (min-width: 1200px) and (max-width: 1599px)  {
.mask{
   display: none;
}
}
@media (min-width: 1600px){
.txtlg{
  display: none;
}
/* on affiche pas le masque magazine */
.third-effect:hover .btn {
   display: none;
}
}