
html{
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    /*background-color: #000000;*/
    background-color: #f0f0f0;
    font-family: 'open_sanslight', Arial, sans-serif;

}

#page-epaper{
    overflow: hidden;
    height: 100%;
}

#home-filter-container{
    background-color:white;
    padding: 20px;
}

/****************************************/
/*          TYPO                */
/****************************************/
@font-face {
    font-family: 'open_sanslight';
    src: url('../fonts/open-sans/opensans-light-webfont.eot');
    src: url('../fonts/open-sans/opensans-light-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/open-sans/opensans-light-webfont.woff2') format('woff2'),
    url('../fonts/open-sans/opensans-light-webfont.woff') format('woff'),
    url('../fonts/open-sans/opensans-light-webfont.ttf') format('truetype'),
    url('../fonts/open-sans/opensans-light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/open-sans/opensans-regular-webfont.eot');
    src: url('../fonts/open-sans/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/open-sans/opensans-regular-webfont.woff2') format('woff2'),
    url('../fonts/open-sans/opensans-regular-webfont.woff') format('woff'),
    url('../fonts/open-sans/opensans-regular-webfont.ttf') format('truetype'),
    url('../fonts/open-sans/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

b, strong{
    font-family: 'open_sansregular', Arial, sans-serif;
}

/****************************************/
/*          BARRE ENTETE                */
/****************************************/


#nav
{
    height: 50px;
    /*background-color: #333;*/
    background-image: url(http://www.lenouvelliste.ch/bundles/iomediaweb/img/nve-header-bg.png) !important;
    position: fixed;
    top:0;
    width: 100%;
    z-index: 2000;
}
#nav span
{
    line-height: 50px;
    font-size: 20px;
    color: white;
}

#nav span p
{
    line-height: 50px;
    font-size: 16px;
    color: white;
}

#nav img
{
    height:30px;
    margin:auto;
    margin-top: -1px;
}


input .datepicker{
    background-color: #333!important;
    border: none!important;
}


header .btn {
    color: white;
    line-height: 0;
    margin-top: 0px;
    padding: 0;
}

header .btn:focus, header .btn:hover {
    color: #eee;
    text-decoration: none;
}



header #dp4 .glyphicon
{
    position: relative;
    font-size: 16px!important;
    margin-top: 4px;
}


.logodate {
    text-align: center;
    font-size: 16px!important;
    line-height: 50px;
}
.logodate img.logo {
    vertical-align: middle;
    width: 150px;
}



#date
{
    line-height: 0px !important;
    font-size: 16px!important;
}

#date a {
    margin: 0px !important;
    padding: 0px !important;
    line-height: 20px;
    font-size: 16px !important;
}

@media screen and (max-width: 575px) {
    .logodate img.logo{
        width: 100px;
        height: auto !important;
    }
    #date a {
        font-size: 13px !important;
    }
}

#date span{
    line-height: 20px !important;
}

.right
{
    text-align: right;
}

#nav #recherche
{
    font-size: 16px;
}

#searchbar {
    position: fixed;
    top: 50px;
    right: 0px;
    z-index: 500;
    padding: 20px;
    padding-right: 13px;
    background-color: #555;
    border-bottom-left-radius: 5px;
    display: none;
}

#searchbar input {
    background-color: #eee;
    border: none;
    border-radius: 5px;
    padding: 5px;
    text-align: right;

}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}



@media screen and (max-width:400px){

    #nav .col-xs-3{
        width: 16% !important;
        padding: 0 !important;
        float: right;
        margin-right: 10px;
    }

    #nav .col-xs-8{
        width: 71%;
    }


}

.glyphicon-star.selected{
    color:#FFCC00 !important;
}


/****************************************/
/*           SLIDE epaper               */
/****************************************/


#epaper_slider {
    position: absolute;
    left: 0;
    top: 50px;
    right: 0;
    bottom: 0;
    height: auto !important;
    width: auto !important;
}

.rsDefault, .rsDefault .rsOverflow, .rsDefault .rsSlide, .rsDefault .rsVideoFrameHolder, .rsDefault .rsThumbs {
   /* background: #000000;*/
    background-color: #dddddd;
    color: #FFF;
}

.rsDefault .rsThumbs{
    background: #000000;
}

.visibleNearby {
    width: 100%;
    /* background: #000000;*/
    background-color: #dddddd;
    color: #FFF;
    padding-top: 25px;
    padding-bottom: 40px;   /*(25px+ 15px barre noire)*/
}
.visibleNearby img {
    -webkit-backface-visibility:hidden;
}
.visibleNearby .rsGCaption span {
    display: block;
    clear: both;
    color: #bbb;
    font-size: 14px;
    line-height: 22px;
}
.royalSlider > .rsImg {
    visibility:hidden;
}


/* Scaling transforms */
.visibleNearby .rsSlide img {
    opacity: 0.3;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    margin-right: -5px;
}
.visibleNearby .rsActiveSlide img {
    opacity: 1;
    margin-right: -5px;
}


.rsThumbsContainer
{
    padding: 20px 0;
     background: #000000;
    /*background-color: #f0f0f0;*/
}

.rsNavItem .rsThumb
{
    margin-top: 10px;
}

.rsDefault .rsThumb.rsNavSelected {

    background-color: transparent;}

.rsDefault .rsThumb.rsNavSelected img {
    opacity: 0.7;
    filter: alpha(opacity=30);
}

.rsDefault .rsThumb {
    float: left;
    overflow: hidden;
    width: 310px;
    height: 252px;
}

#page-epaper.mobile .rsDefault .rsThumb{
    width: 155px !important;
    height: 252px;
}

.rsDefault .rsThumbsHor {
    width: 100%;
    margin-top: 30px;
    -moz-box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.5);
    -o-box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.5);
    filter:progid:DXImageTransform.Microsoft.Shadow(color=rgba(0,0,0,0.5), Direction=90, Strength=5);
}

.rsTmb{
    text-align: right;
}

.rsTmb img{
    float: left;
    width:50% !important;
    height:auto !important;
    margin:0px;
}

#page-epaper.mobile .rsTmb img{
    width: 100% !important;
}

.rsGCaption{
    visibility: hidden;
}

.rsDefault .rsNav{
    z-index: 999;
    position: absolute;
    bottom:0;
    height:0;
    visibility: hidden;
}

.rsDefault .rsNav.visible{
    height:267px;
    visibility: visible;
    transform: translate3d(0,252px,0);
    -moz-transform: translate3d(0,252px,0);
    -webkit-transform: translate3d(0,252px,0);
}

.rsDefault .rsNav.opened{
    height:267px;
    transition: all 0.5s ;
    -moz-transition: all 0.5s ;
    -webkit-transition: all 0.5s ;
    transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    /*-moz-transition: 0.5s;
    -webkit-transition: 0.5s;*/
    /*bottom: 0px;*/
    /*transform: translate3d(0,0,0);*/
    /*height:267px;*/
}

.rsDefault .rsNav.closed{
    height:267px;
    transition: all 0.5s ;
    -moz-transition: all 0.5s ;
    -webkit-transition: all 0.5s ;
    transform: translate3d(0,252px,0);
    -moz-transform: translate3d(0,252px,0);
    -webkit-transform: translate3d(0,252px,0);
}

.rsDefault .rsNav.forceclose{
    transition:none !important;
    /*-moz-transition:none !important;
    -webkit-transition: none !important;*/
    transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    height:0px;
    bottom:0px;
}




.toggleNav
{
    transition: all 0.5s ;
    -moz-transition: all 0.5s ;
    -webkit-transition: all 0.5s;
    z-index: 999;
    position: absolute;
    bottom:0px;
    color:white;
    text-align: center;
    width: 100%;
    transform: translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
}

.toggleNav.opened{
    transition: all 0.5s ;
    -moz-transition: all 0.5s ;
    -webkit-transition: all 0.5s;
    transform: translate3d(0,-267px,0);
    -moz-transform:translate3d(0,-267px,0);
    -webkit-transform:translate3d(0,-267px,0);
}

.toggleNav span
{
    background-color: black;
    line-height: 30px;
    padding: 0 10px;
    cursor: pointer;
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -o-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    filter:progid:DXImageTransform.Microsoft.Shadow(color=rgba(0,0,0,0.5), Direction=90, Strength=5);
}

.toggleNav p
{
    margin-bottom: 1px;
}

.empty{
    margin-left: 49%;
}

#epaper_slider div
{
    z-index:100
}

#epaper_slider div img
{
    z-index:200
}

div.epaper_slide{
    width: 100%;
    height: 100%;
    text-align: center;
}

div.epaper_page{
    background-size: contain;
    background-repeat: no-repeat;
    width: 50%;
    height: 100%;
    float: left;
	position:relative;
}

div.epaper_page.epleft{
    background-position: right center;
    background-position: right center;
}

div.epaper_page.epright{
    background-position: left center;
}

.epaper_page.ephidden{
   opacity: 0;
   filter: alpha(opacity=0);
}

#page-epaper.mobile div.epaper_page{
    width: 100% !important;
    height: 100%;
    background-position: center;
}

div.epaper_page .page_container {
	position:absolute;
	display: inline-block;
	height:100%;
	margin:0;
	padding:0;
}

div.epaper_page.epleft .page_container { right:0; }
div.epaper_page.epright .page_container { left:0; }

div.epaper_page .page_container img {
	height:100%;
	margin:0;
	padding:0;
}

.rsTmb .ephidden{
    visibility: hidden;
}

.visibleNearby .rsSlide div.epaper_slide{
    opacity: 0.3;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    /*margin-right: -5px;*/
}
.visibleNearby .rsActiveSlide div.epaper_slide {
    opacity: 1;
    /*margin-right: -5px;*/
}

/**********************************/
/*          HOTSPOTS              */
/**********************************/

.hotspot {
	z-index:1000;
	position:absolute;
	cursor:pointer;
	overflow:hidden;
}

.hotspot:hover {
	background-color:rgba(0,0,0,0.2);
}

.hotspot .hotspot-gallery {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.hotspot .hotspot-gallery-elem {
	position:absolute;
	top:0;
	background-color:#000;
	overflow:hidden;
}
.hotspot .hotspot-gallery-elem img {
	position:absolute;
	top:0;
	left:0;
	max-width:100% !important;
	max-height:100% !important;
	width:auto !important;
	height:auto !important;
}


/**********************************/
/*            MODAL               */
/**********************************/


.modal-dialog img
{
    width:100%;
}

.modal-dialog, .modal-content
{
    height:100%;
    margin-bottom: 0px;
    margin-top: 0px;
    border-radius: 0px;
}

.modal-dialog {
    width:80%;
    overflow-x: auto;
    overflow-y: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}


#zone3
{
    position: absolute;
    left: 52.45%;
    top: 17%;
    height: 45%;
    width: 33.4%
}

.zone
{
    background-color: #bd8c80;
    opacity: 0;
    transition: .3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
}

.zone:hover
{
    background-color: #bd8c80;
    opacity: .2;
    transition: .3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
}


.modal-content img
{
    width:100%;
}

.modal-open .modal {
    overflow-x: auto;
    overflow-y: auto;
}

#options
{
    color:black;
    position: fixed;
    z-index: 100000;
    display: none;
    margin-top: 50px;
    margin-left: calc(10% - 51px);
    top:0;
}

.option
{
    font-size: 1.5em;
    padding: 15px;
    background-color: #e8e8e8;
    transition: .2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
    margin: 1px;
    cursor: pointer;
}

.option:hover
{
    background-color: white;
    transition: .2s;
    -moz-transition: 0.2s;
    -webkit-transition: 0.2s;
}

.option.selected{
    background-color: white;
}


.modal{
    margin:auto;
    padding-top: 50px;
    box-sizing: border-box;
}

.modal-content{
    background-color: #eee;
}



.modal.mode-img .modal-content{
    overflow: inherit;
}

.modal.mode-text .modal-content{
    overflow: hidden;
}

.modal.mode-pdf .modal-content{
    overflow: hidden;
}

.modal.mode-zoom .modal-content{
    /*overflow: hidden;*/
}





iframe
{
    border: none;
}

/*
#footer
{
    position: fixed;
    width: 1000%;
    bottom: 0;
    overflow-y: scroll;
    overflow-x: scroll;
}

#footer img
{
    margin:20px 10px 10px 10px
}

#footer
{
    background-color: #000;
}
*/

/*
#menunav
{
    text-align: right;
    padding-top: 10px;
    font-size: 20px;
}*/





.epaper_infos_editions img{
    width: 80%;
    max-width: 360px;
}


/**************************************/
/*                FAVORIS             */
/**************************************/

.epaper_favori{
    text-align: center;
    margin-bottom: 20px;
}

.epaper_favori img{
    margin-bottom: 5px;
    width: 100%;
}

.epaper_favori a, .epaper_favori a:hover {
    color:#fff;
}

.epaper_favori a span{

    line-height: 16px;
}
.epaper_favori_delete{
    cursor: pointer;
    float: right;
}



/**************************************/
/*            INDISPONIBLE            */
/**************************************/


.epaper_indisponible{
    width: 100%;
    height:100%;
    position:absolute;
}

.epaper_indisponible_msg{
    color: #333;
    height: 100px;
    width: 320px;
    position:absolute;
    text-align: center;
    top:50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -160px;
}





/****************************************/
/*               TITRES                 */
/****************************************/

h1{
    /*color:#bbbbbb;*/
    color:#555555;
    line-height: 30px;
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 30px;
}
h2{
    /*color:#bbbbbb;*/
    color:#555555;
    line-height: 30px;
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 26px;
}

h4{
    color:#dddddd;
    font-family: 'open_sansregular', Arial, sans-serif;
}


/****************************************/
/*               BOUTONS                   */
/****************************************/


.btn-default{
    background: none;
    border:none;
    /*background-color: #222222 !important;
    color:#cccccc !important;*/
    background-color: #dddddd !important;
    color:#666666 !important;
    text-shadow:none;
    padding: 4px 15px !important;

}

.btn-default .glyphicon{
    vertical-align: middle;
    margin-top: -3px;
    margin-right: 5px;
}

.btn-default:focus{
    outline: none !important;
}

/****************************************/
/*               DIVERS                   */
/****************************************/

hr{
    /*border-color: #222222;*/
    border-color: #dddddd;
    margin: 40px 0;
}

/****************************************/
/*               HOME                   */
/****************************************/


#home{
    margin:50px auto 0 auto;
    padding: 40px 60px 0 60px;
    max-width: 1280px;
}

@media screen and (max-width: 779px){
    #home{padding: 30px;}
}


.list-supplements{
    overflow:hidden;
    height: 0px;
}

.list-supplements.ready{
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
}

.list-supplements a img{
    margin-bottom: 20px;
}

.les_supplements{
    height:auto;
}


/****************************************/
/*               FAVORIS                */
/****************************************/

#list-favoris{
    margin:50px 0 0 0 ;
    padding: 40px 0 0 0 ;
    overflow: hidden;
    box-sizing: border-box;
}

#list-favoris h1{
    margin-left: 60px;
}

#slide-favoris{
    width: 100%;
    padding: 0 !important;
    box-sizing: border-box;
    margin-top: 20px;
    text-align: center;
    /*background-color: #333333;*/
    background-color: #dddddd;
    /*min-height: 500px;*/
    visibility: hidden;
}

#slide-favoris .rsOverflow{
    /*background-color: #333333;*/
    background-color: #dddddd;
}

#slide-favoris .rsSlide{
    /*background-color: #333333;*/
    background-color: #dddddd;
    padding: 0 30px 30px 30px;
    /*max-width: 20%;*/
}



#slide-favoris:before, #slide-favoris .rsSlide:before, #slide-favoris .rsOverflow:before{
    content: '';
    display: block;
    left:0;top:0;
    position: absolute;
    /*background-color:#000000;*/
    background-color: #f0f0f0;
    width: 100%;
    height:40px;
}



#slide-favoris div h4{
    margin: 0 0 30px 0;
    line-height: 40px;
    position: relative;
    color:#333333;
}

#slide-favoris div h4:after{
    /*content:url('../images/favoris/arrow-favoris.png');*/
    content:url('../images/favoris/arrow-favoris2.png');
    display: block;
    position: absolute;
    bottom:-15px;
    left:50%;
    line-height: 15px;
    margin-left: -15px;
}

#slide-favoris .rsSlide h4 span, #slide-favoris .rsSlide .item-fav{
    opacity:0.3;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#slide-favoris .rsSlide.rsActiveSlide h4 span, #slide-favoris .rsSlide.rsActiveSlide  .item-fav{
    opacity:1;
}

#slide-favoris div img{
    display: block;
    width: 100% !important;
    cursor: pointer;
}

.tri-favoris{
    margin-right: 60px;
    /*color:#dddddd;*/
    color:#666666;
    margin-top: 25px;
}

.tri-favoris .btn-active{
   /* background-color: #333333 !important;*/
    opacity:0.5;
}

@media screen and (max-width: 767px) {
    #list-favoris h1{
        margin-left: 15px;
    }
    .tri-favoris{
        margin-right: 15px;}
}


.item-fav{
    position: relative;
    margin-bottom: 10px;
    transition: all 0.5s ease-out !important;
    -webkit-transition: all 0.5s ease-out !important;
    -moz-transition: all 0.5s ease-out !important;
    max-height: 1200px;
}

.item-fav .btn-fav-supp{
    position: absolute;
    top:0;
    right:0;
    background-color:  rgba(0, 0, 0, .6);;
    color:#FFFFFF;
    font-weight: normal;
    padding: 2px 5px;
    cursor: pointer;
}

.item-fav .btn-fav-zoom{
    position: absolute;
    top:50%;
    left:50%;
    margin-left: -30px;
    margin-top: -30px;
    background-color: rgba(0, 0, 0, .6);
    color:#FFFFFF;
    font-weight: normal;
    width:60px;
    height:60px;
    text-align: center;
    line-height:60px;
    font-size: 30px;
    cursor: pointer;
}


.item-fav .titre-fav{
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    background-color: rgba(0, 0, 0, .8);
    color:#FFFFFF;
    font-weight: normal;
    height:30px;
    text-align: center;
    line-height:30px;
    font-size: 12px;
    overflow: hidden;
}


.item-fav .btn-fav-supp, .item-fav .btn-fav-zoom, .item-fav .titre-fav{
    opacity:0;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s ;
    -ms-transition: 0.5s ;
    -o-transition: 0.5s ;
    transition: 0.5s ;
}
.item-fav .btn-fav-zoom{
    transform:translate3d(0,-10px,0);
    -webkit-transform:translate3d(0,-10px,0);
    -moz-transform:translate3d(0,-10px,0);
}
.item-fav .titre-fav{
    transform:translate3d(0,10px,0);
    -webkit-transform:translate3d(0,10px,0);
    -moz-transform:translate3d(0,10px,0);
}
.item-fav:hover .btn-fav-supp, .item-fav:hover .btn-fav-zoom, .item-fav:hover .titre-fav{
    opacity:1;
    transform:translate3d(0,0,0);
    -moz-transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
}

.item-fav.removed{
    max-height: 0;
    transform: scale3d(0,0,0);
    -webkit-transform: scale3d(0,0,0);
    -moz-transform: scale3d(0,0,0);
}

.panzoom-parent{
    position:absolute;
    top:50px;
    left:0px;
    display: none;
    width: 100%;
    height: calc(100% - 50px);
    z-index: 9999;
    background-color: #FFFFFF;
}

.panzoom-parent .panzoom{
    width: 100%;
    height:auto;
}

.panzoom-close{
    position: absolute;
    top:5px;
    right:5px;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: #FFFFFF;text-align: center;
    line-height: 42px;
    font-size: 1.3em;
}

a.retour_home{
    display: block;
    width: 50px !important;
    height:50px !important;
}