/* ---------------------------------------------------------------------------------- */
/* VISA
/* création: Juin 2012
/* maj octobre 2016 - uniformisation avec le menu de la page d'accueil de rmon1
/* ---------------------------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* Context Redefinition:
/* When the mapresse bar is present push down content by 50px;
/* --------------------------------------------------------------- */
body.pubs,
body#bgPubs,
body.recherche,
body.wpBlog,
#bgPubs974 { background-position: center 50px !important; }
body.wpBlog#fond #header #pubs{ background:none;}
#header { margin: 50px auto 0; }
body#bgPubs #pub974x125 .pub974x125,
#bgPubs974 #pub974x125 { margin: 50px auto 0; }
#bgPubs974 #header { margin: 0 auto; }

#entete .boxRecherche ul.mediasSociaux { visibility:hidden; }
#boxaccueil {padding-top:50px;}
#bgPubs974 #boxaccueil {display:none !important}
.hide { display:none; }
/* --------------------------------------------------------------- */
/*	Main containers
/* --------------------------------------------------------------- */

.visaCtn {
    top:0;
    left:0;
    width:100%;
    z-index:2147483647;
    background: #232325;
    background-size: 100% 50px
}
#header > .visaCtn {
    position:fixed;
    zoom:1;
}
.visa {
    position:relative;
    width: 994px;
    margin: 0 auto;
    font-size:12px;
}
.visa ul,
.visa li,
.visa p,
fieldset,
form {
    margin:0;
    padding:0;
}
#loginBar {
    padding: 10px 0;
    height:30px;
    clear:both;
    color:#fff;
    text-align:left;
    width: 994px;
    margin: 0 auto;
    display:table;
}
/* --------------------------------------------------------------- */
/*	First level Items
/* --------------------------------------------------------------- */

#loginBar > span {
    position: relative;
    display:table-cell;
    vertical-align: middle;
    text-transform:none;
    color:#ccc;
    font-family:Arial, Helvetica, sans-serif;
    font-size:1rem;
}

#loginBar #mapresseLogo {
    padding: 0 8px;
    width: 100px;
}

#loginBar #mapresseLogin{
    width: 145px;
}
#loginBar #mapresseLogin.active{
    color:#ffffff;
}
#loginBar #mapresseLogin img{
    vertical-align:middle;
    margin-right:8px;
    width:30px;
    height:30px;
}

#loginBar > span a
{
    display:inline-block;
    vertical-align: middle;
    text-transform:none;
    color:#ccc;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration:none;
    padding: .25rem 1rem;
    font-size:1rem;
}
#loginBar > span.active a,
#loginBar > span a:focus,
#loginBar > span a:hover{
    color:#ffffff;
    background-color: #333333;
}



#loginBar #mapresseLogin img{vertical-align:middle; margin-right:8px; width:30px; height:30px;}


/*---------------------------------------------------------------*/
/* Boutons
/*---------------------------------------------------------------*/


.loginOptions button,
.loginOptions a.linkBtn {
    border: 0;
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:1rem;
    padding: .5rem 1rem;
    text-align:center;
}
.loginOptions button:focus {outline:none;}

.loginOptions a.linkBtn{
    background: url(../img/visa/boutons.png) repeat-x scroll 0 -107px transparent;
    display: inline-block;
    margin: 11px 8px
}
.loginOptions a.linkBtn:hover{
    background: url(../img/visa/boutons.png) repeat-x scroll 0 0px transparent;

}
.loginOptions .loginBtn#fbButton,
.loginOptions .loginBtn {
    background: url(../img/visa/boutons.png) repeat-x scroll 0 -300px transparent;
    min-width:213px;

}

.loginOptions .loginBtn#fbButton {
    background: url(../img/visa/boutons.png) 0 -500px repeat-x;
    width: 240px;
}
.loginOptions .loginBtn#fbButton:hover { background: url(../img/visa/boutons.png) repeat-x scroll 0 -550px transparent; }

/*---------------------------------------------------------------*/

#loginBar #mapresseUser{
    text-align: right;
    cursor: pointer;
    padding-right: 10px;
}

#loginBar #mapresseUser {color: #FFFFFF;}

#loginBar #mapresseUser img {
    vertical-align:middle;
    height: 30px;
    width: 30px;
}

.loggedIn #mapresseUser img,
#profile li img,
#alertes li img { margin-right:5px; }
#mapresseParam img {
    cursor:pointer;
    margin:7px 5px 0;
}
#mapresseParam { vertical-align: top; }
/* --------------------------------------------------------------- */
/*	Second level containers
/* --------------------------------------------------------------- */

.loginOptions {
    display:none;
    background:#000;
    position:absolute;
    top:50px;
    right:8px;
}
.loginOptions a {
    color:#fff;
    text-decoration:none;
}
.loginOptions#loginCtn {
    padding:10px 15px;
    right:0px;
    background:#313131 ;
}
.loginOptions#loginCtn ul.liste {
    padding:0px;
    margin: 0 15px;
    color:#999;
    list-style-image:url(../img/visa/bullet.png);
}
.loginOptions#loginCtn ul.liste li {
    padding:0px;
    margin:0;
    line-height:18px;
}
.loginOptions ul.liste li a { color:#999; }
.loginOptions ul.liste li a:hover { color:#fff; }
.loginOptions#profile,
.loginOptions#alertes,
.loginOptions#paramCtn,
.loginOptions#newsCtn {
    background:#3a3a3a ;
    border:0;
    border-bottom:1px solid #222;
}
.loginOptions#profile {
    padding:0;
    right:10px;
    width:330px;
}
.loginOptions#alertes {
    padding:0;
    right:0px;
    width:400px;
}
.loginOptions#paramCtn {
    padding:0;
    right:0px;
    width:150px;
}
#paramCtn li,
#alertes li,
#profile li {
    display:block;
    margin: 0;
    padding:0;
    color:#333;
    border-top:1px solid #595858;
    border-bottom:1px solid #000;
    font-weight:bold;
    font-size:14px;
}
#alertes li { padding:7px 10px 6px 2px; }
#paramCtn li.first,
#alertes li.first { border-top:0px solid #333; }
#profile li.first {
    border-top:0px;
    padding:6px 0;
}
#paramCtn li:hover,
#alertes li:hover,
#profile li:hover,
#profile li.pale { background: #3a3a3a; }
#alertes li { width:auto; }
#alertes li img.avatarMini {
    width:22px;
    height:22px;
    vertical-align:middle;
}
.loginOptions p {
    font-family:Arial, Helvetica, sans-serif;
    color:#fff;
    font-size:12px;
    margin: 5px 0 0 0;
}
.loginOptions .mapresseFrms p {
    color:#999;
    font-size: 14px;
    margin-top:25px;
}
.loginOptions p.right {
    text-align:right;
    float:none;
    margin-right:12px;
}
.loginOptions p.center {
    text-align:center;
    float:none;
}
.loginOptions a.menuItem {
    color:#ccc;
    position:relative;
    display:inline-block;
    line-height: 24px;
    padding:6px 10px;
}
.loginOptions#profile a.menuItem {
    background:url(../img/visa/rightBullet.png) 310px center no-repeat;
    width:310px;
}
.loginOptions#alertes a.menuItem {
    background:url(../img/visa/rightBullet.png) 380px center no-repeat;
    width:380px;
}
.loginOptions#profile a.menuItem:hover,
.loginOptions#alertes a.menuItem:hover {
    color:#fff;
    text-decoration:none;
    background-image:url(../img/visa/rightBulletOver.png);
}
.loginOptions a.menuItem span {
    font-family:Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    display: inline-block;
    float: right;
    font-size: 13px;
    font-weight:normal;
    line-height: 24px;
    padding-right: 20px;
}
.loginOptions a.menuItem span.countUnread,
li a span.countUnread { padding:0 8px; }
.loginOptions a.menuItem span.countUnread { margin-right:15px; }
.loginOptions a.menuItem span.countUnread span{ display:none; }
.loginOptions a.menuItem span.alert {
    position:absolute;
    left:-20px;
    top:-3px;
    background: none repeat scroll 0 0 #E2001A;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    color: #FFFFFF;
    display: inline-block;
    font-weight: bold;
    height: 8px;
    font-size:11px;
    line-height: 8px;
    margin: 0;
    min-width: 8px;
    padding: 3px;
    text-align: center;
    vertical-align: top;
}
.loginOptions h2 {
    color: #CCC;
    font-family: Verlag, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    line-height:22px;
    border:0;
}
.loginOptions p.emphasis {
    font-family: Verlag, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    margin: 12px 0;
    text-transform: uppercase;
}
/* --------------------------------------------------------------- */
/*	Form and Inputs
/* --------------------------------------------------------------- */
#loginCtn h2 {
    color:#fff;
    font-family:Verlag, Arial, Helvetica, sans-serif;
    font-size:16px;
    font-weight:normal;
    text-transform:none;
    margin:15px 10px;
    border:0;
}
#loginCtn h2 a {
    color:#fff;
    font-family:Verlag, Arial, Helvetica, sans-serif;
    font-size:16px;
    font-weight:normal;
    text-transform:none;
}
#loginCtn h2 a:hover { text-decoration:underline; }
#loginCtn h2 span {
    float:right;
    padding-right: 170px;
    font-size:16px;
    color:#fff;
}
.loginOptions .loginWrap {
    width:100%;
    *width:625px;
    float:left;
    clear:both;
    position:static;
}
.loginOptions .reseauFrm {
    margin-left: 294px;
    padding: 3px 10px;
    width: 240px;
}
.loginOptions .mapresseFrms {
    background: url(../img/visa/separator.png) right -87px no-repeat;
    width:248px;
    float:left;
    padding:10px;
    position:relative;
}
.loginOptions .mpConnect {
    width:100%;
    float:left;
    clear:both;
    border-top:1px solid #444;
}
.loginOptions fieldset {
    border:0;
    display:inline-block;
    margin:5px 15px 10px 0;
    vertical-align: top;
}
.reseauFrm p.info {
    position:relative;
    background: #000;
    padding:24px 18px 30px 18px;
    width:203px;
    color:#efefef;
    font-size:14px;
    line-height:16px;
}
.reseauFrm p.info img {
    display:block;
    position:absolute;
    bottom:0px;
    right:10px;
}
.reseauFrm .topArrow {
    display:block;
    position:absolute;
    top:-10px;
    left:10px;
    width: 0;
    height: 0;
    border-top: 0px solid transparent;
    border-left: 0px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #000;

}
.loginOptions #fbLoginForm fieldset { text-align:center; }
.mapresseFrms fieldset {
    display:block;
    width:213px;
}
.mapresseFrms img.or {
    left: 254px;
    position: absolute;
    top: 40px;
}
.mapresseFrms fieldset.inputCtn {
    height:35px;
    margin:5px 0 5px;
    background:#fff;
    position: relative;
    cursor:text;
}
.mapresseFrms fieldset label { color:#ccc; }
.mapresseFrms label.long {
    color: #CCCCCC;
    display: inline-block;
    padding: 5px;
    vertical-align: top;
    width: 210px;
}
.mapresseFrms fieldset.inputCtn label {
    margin:0;
    border:0;
    position:absolute;
    top:10px;
    left:5px;
    z-index:0;
    width: 190px;
    display: inline-block;
    color: #999;
    font-size:14px;
    /*font-style:italic;
    font-weight:bold;*/
}
.mapresseFrms input.check {
    display:inline-block;
    border:0;
    background:none;
    margin:10px 0 0 0;
}
fieldset.inputCtn input.text {
    margin:0;
    border:0;
    width: 195px;
    position:absolute;
    top:10px;
    left:5px;
    z-index:10;
    color:#333;
    font-weight:bold;
}
fieldset.inputCtn input:focus { outline:none; }
/* --------------------------------------------------------------- */
/*	User Info Box
/* --------------------------------------------------------------- */

.loginOptions .userInfoBox {
    margin: 0;
    padding:6px 10px;
;
}
.loginOptions .userInfoBox img.avatar {
    float:left;
    width:75px;
    height:75px;
    margin-left:5px;
}
.loginOptions .userInfoBox p { margin-left: 0px; }
.loginOptions .userInfoBox p.userInfo { height:40px; }
.loginOptions .userInfoBox span {
    display:inline-block;
    color:#ccc;
    font-size:15px;
    line-height:16px;
    font-weight:bold;
    width:210px;
}
.userInfoBox span a {
    background: url(../img/visa/bullet.png) no-repeat scroll 0 center transparent;
    color: #CCCCCC;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    padding-left: 15px;
    text-transform: none;
    vertical-align: top;
}
.loginOptions .userInfoBox p span.name {
    font-weight: normal;
    color:#fff;
    font-size:18px;
    margin-bottom: 5px;
}
.loginOptions .userInfoBox p span.mail {
    color:#aaa;
    font-size:13px;
    font-weight:normal;
}
#loginMsg {
    color: #FFFFFF;
    display: none;
    font-size: 14px;
    margin: 0 10px;
    padding:11px 15px;
    background:url(../img/visa/bg30Percent.png) 0 0 repeat;
    -moz-box-shadow: 2px 2px 2px #2d2d2d;
    -webkit-box-shadow: 2px 2px 2px #2d2d2d;
    box-shadow: 2px 2px 2px #2d2d2d;

}
.contentBlock #loginMsg {
    margin: 0 18px 18px 0;
    background:#111;
    padding:15px;
    font-size: 15px;
}
.errMsg,
#erreur {
    border-radius: 2px 2px 2px 2px;
    color: #ff4747;
    font-weight: bold;
    padding: 10px 10px 10px 0px;
    margin-bottom: 10px;
    margin-right: 39px;
    display: none;
}
/* --------------------------------------------------------------- */
/* Tutoriels (barre de login sur visa & sites + page de login visa)
/* --------------------------------------------------------------- */
.newsCtnInner{
    min-height: 250px;
    padding-left: 40px;
    width: 939px;
    clear: both;
}
#loginPage #news.contentBlock {
    min-height: 250px;
    padding-left: 40px;
    padding-top: 25px;
}
#loginPage #news.contentBlock p.intro,
.newsCtnInner p.intro{
    text-align: center;
    line-height: 24px;
    font-size: 16px;
    margin: 36px 0px 29px;
}
#loginPage #news.contentBlock p.intro{margin-top: 0px;}
.loginOptions a.close {
    float: right;
    padding:5px;
}

.tutorial {
    display:inline-block;
    background:url(../img/visa/tutorialBg.png) 0 0 no-repeat;
    width:276px;
    height:311px;
    padding:10px;
    vertical-align:top;
    text-align:center;
    cursor:pointer;
}
.contentBlock .tutorial{ cursor:default;}
#loginPage .tutorial h3,
.tutorial h3 {
    font-size:14px;
    color:#fff;
    margin:15px 0;
    text-transform:uppercase;
}
.loginOptions .tutorial p{
    color: #fff;
    font-size: 14px;
    line-height: 16px;
}
#loginPage .tutorial img,
.tutorial img { margin:13px 0; }
/* --------------------------------------------------------------- */
/*	Bouton Ajouter à MaPresse
/* --------------------------------------------------------------- */

/*auto - container*/
.toolbox180 ul li#mapresse { padding: 0 0 0 0px; }
.article-page .centerbar #mapresse {width:180px;}
/*maison*/
.tools li#mapresse a,
.tools li#mapresse span,
    /*auto*/
.toolbox180 li#mapresse a,
.toolbox180 li#mapresse span,
    /*photo*/
#mpLink,
    /* technaute*/
#nouvelles a#mpLink,
#nouvelles a#mpLink:visited,
    /*lapresse.ca*/
.article-page .centerbar #mapresse span,
.article-page .centerbar #mapresse a ,
.multimedia .toolboxArticles #mapresse span, /* pour version article multimedia*/
.multimedia .toolboxArticles #mapresse a , /* pour version article multimedia*/
ul.tools.wide-list li#mapresse a,
ul.tools.wide-list li#mapresse span {
    background: url(../img/visa/boutonAjouter.png) 0 0 no-repeat;
    color: #666;
    cursor: pointer;
    display: inline-block;
    font-family: 'verlag';
    font-size: 12.5px;
    font-weight: normal;
    height: 40px;
    margin: 6px 1px 3px;
    padding: 5px 43px 3px 44px;
    line-height:15px;
    text-align: left;
    text-transform: uppercase;
    text-decoration:none

}

/*photo*/
.partagerv2 .recommander {
    max-width: 185px;
}


/*hover state*/
a#mpLink:hover,
#nouvelles a#mpLink:hover,
.tools li#mapresse a:hover,
.toolbox180 li#mapresse a:hover,
ul.tools.wide-list li#mapresse a:hover,
.multimedia .toolboxArticles #mapresse a:hover ,
.article-page .centerbar #mapresse a:hover  {
    background: url(../img/visa/boutonAjouter.png) 0 -56px no-repeat;
    text-decoration:none;
    color: #666;
}
/*disabled state*/
span#mpLink,
.tools li#mapresse span,
.toolbox180 li#mapresse span,
ul.tools.wide-list li#mapresse span ,
.article-page .centerbar #mapresse span {
    background: url(../img/visa/boutonAjouter.png) 0 -112px no-repeat;
    color:#666;
    cursor:default;
    padding: 3px 52px 3px 44px;
}
/*auto redefinition*/
.toolbox180 li#mapresse span,
.toolbox180 li#mapresse a,
.toolbox180 li#mapresse a:hover{padding: 5px 36px 3px 44px;}

/* technaute  redéfinition*/

#outils span#mpLink,
#outils a#mpLink,
#outils a#mpLink:visited,
#outils a#mpLink:hover{ margin-right: 37px;}

/*gallerie redéfinition*/
.recommander span#mpLink,
.recommander a#mpLink,
.recommander a#mpLink:visited,
.recommander a#mpLink:hover{
    background: url(../img/visa/boutonAjouter.png) 0 -169px no-repeat;
    color:#fff;
    height: 26px;
    margin: 0px 1px 3px;
    padding: 4px 12px 3px 27px;
}
.recommander span#mpLink{background: url(../img/visa/boutonAjouter.png) 0 -249px no-repeat;color:#fff;}
.recommander a#mpLink:hover{background: url(../img/visa/boutonAjouter.png) 0 -209px no-repeat;color:#fff;}
/*---------------------------------------------*/
/* MEDIA QUERIES
/*---------------------------------------------*/
@media only screen and (max-device-width:480px) {    html{-webkit-text-size-adjust: none} }
/* iPhone portrait */
@media only screen and (max-device-width:320px) {
    html{-webkit-text-size-adjust: none}
    #header > .visaCtn {position: absolute;}
    .visaCtn{width:100%; max-width:100%}
    .visa, #loginBar{width:100%; max-width:100% }
    #loginBar {text-align:left}
    .loginOptions#loginCtn, #profile{left:0; width:300px}
    #loginCtn *{ max-width:100%;}
    .loginOptions .reseauFrm{margin-left:0;background:none;}
    .loginOptions .mapresseFrms {float:none;background:none;}
    #loginCtn h2 {margin:5px 10px; padding:0;}
    #loginCtn h2 span,
    #loginBar #mapresseLogo,
    .reseauFrm p.info,
    .mapresseFrms img.or,
    #loginBar #mapresseNews{display: none;}
    .loginWrap{max-height:100%; overflow-y:auto;}

}
