/*
Theme Name: ceno1p
Author: Alexandra Etienne
Author URI: http://www.ae-designer.com
Version: 1.2
*/

/* ----------------------------------------------------------------------------------------
TYPO
------------------------------------------------------------------------------------------*/
body{
  font-family: 'Raleway', sans-serif;
}

h1,h3, h4, h5, h6{font-family: 'Oswald', sans-serif;}
h1, .h1-like{
  color: #000;
  font-size:2.1em;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 10px;
  margin-bottom: 45px;
  text-transform: uppercase;
  font-weight: bold;
}
h2{
  line-height: 2em;
  font-size: 1.8em;
}
h3{  color: #626262;}
h4{}
h5{}
h6{
  font-size: 1.2em;
  margin-bottom: 20px;
  }

#sc-main-content p{
  font-size: 18px;
  font-weight: 100;
  line-height: 1.5em;
  margin-bottom: 2em;
}
a{
  color: #e03d37;
}

a:hover{
  color:#000;
}

a, a:link, a:visited, a:hover, a:focus {
    text-decoration: none;
}

.btn-default, .btn-primary, .btn-info {
    color: #fff;
    background-color: #000;
    border-color: #000;
    text-transform: uppercase;
}

.btn-default:hover, .btn-primary:hover, .btn-info:hover {
    color: #fff;
    background-color: #e03d37;
    border-color: #e03d37;
}

.pictos{
  position: relative;
  font-size:1.5em;;
  display: block;
  background: #fff;
  color: #000;
  width: 40px;
  height:40px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.pictos i {
        position:absolute;
        top:10px;
        left:13px;
    }
.pictos:hover{color: #e03d37;}

/* ----------------------------------------------------------------------------------------
HEADER
------------------------------------------------------------------------------------------*/

#pre-header{
  background: #000;
  color: #fff;
  border-bottom:1px solid #343434;
}
#pre-header .textwidget { padding: 5px 0; }
#pre-header .h-adresse .textwidget, #pre-header .h-mail .textwidget {
      border-right: 1px solid #343434;
}
#pre-header i{
  font-size: 18px;
  padding-right: 10px;
}
#pre-header a { color: #fff; }
#pre-header a:hover { color: #e03d37; }

#header{
    background: #000;
    padding: 20px 0;
    color: #fff;
    border-bottom:1px solid #343434;
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    position: relative;
}
#header .logo-site img { display: inline-block; }
#header .titre-site { vertical-align: middle; }
#header .titre-site.no-logo { line-height: 60px!important; }

/* ----------------------------------------------------------------------------------------
INDEX CONTENT-MAIN
------------------------------------------------------------------------------------------*/
#bandeaux-pages{
    /*max-height: 520px;*/
    overflow: hidden;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}
  
  
  #bandeaux-pages img{
    display: block;
    max-width: 100%;
    height: auto !important;
  }

#sc-main-content{
  margin-bottom: 40px;
}

    #sc-main-content .alignleft,
    #sc-main-content img.alignleft {
        display: inline;
        float: left;
        margin-right: 1.5em;
    }
    #sc-main-content .alignright,
    #sc-main-content img.alignright {
        display: inline;
        float: right;
        margin-left: 1.5em;
    }
    #sc-main-content .aligncenter,
    #sc-main-content img.aligncenter {
        clear: both;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    #sc-main-content p {
        /*clear: both;*/
    }


/* Feature images*/
#container-feature-images{}
.feature-images{
  padding-bottom: 40px;
}

.view{
    max-height:200px;
    overflow: hidden!important;
    position: relative;
    padding: 0;
    text-align: center;
    cursor: pointer;
}


.view .mask {
    width:100%;
    height:200px;
    line-height: 200px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.view i{
  color: #fff;
  font-size:1.5em;
  display: inline-block;
  padding: 8px 10px;
  /*background: #cca57a;*/
    background: #e03d37;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  }

.view-first .mask {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.7); 
    transition: all 0.4s ease-in-out 0s;
}

.view-first:hover .mask {
    opacity: 1;
}

.thumbnail {
    display: block;
    padding: 0;
    margin-bottom: 20px;
    line-height: 1.42857;
    background-color:transparent;;
    border:none;
    border-radius: 0;
    transition: background 0.2s ease-in-out 0s;
    max-height:250px;
    overflow: hidden;
}

.thumbnail img{ 
  overflow: hidden; 
  display: block; 
  width: 100%; 
  height:auto;
  }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

  
/*-----------------------------------------------------------------------------------------
GALERIE
-----------------------------------------------------------------------------------------*/
#option-galerie{
  background: #222222;
  padding-bottom: 50px;
  padding-top: 50px;
  margin-bottom: 50px;
}

#option-galerie h2{
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  
}

#wpbgallery {
  margin-right: -15px!important;
  margin-left: -15px!important;
}

#wpbgallery li {
  position: relative;
  min-height: 1px;

}

#wpbgallery li a {
  display: block;
  float:left;
  width:25%;
  max-height:400px;
  overflow: hidden;
}


#wpbgallery_container img{
  display: block;
  width: 100%;
  height: auto;
  margin: 2px 4px!important;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

#wpbgallery li a img:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
}


/* ----------------------------------------------------------------------------------------
FOOTER
------------------------------------------------------------------------------------------*/
#horaires-footer{
  min-height:329px;
  background: url(img/horaires.jpg) no-repeat center fixed;
  -webkit-background-size: cover; /* pour anciens Chrome et Safari */
  background-size: cover; /* version standardisée */
  color: #fff;
  text-align: center;
  padding: 50px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8em;
  text-transform: uppercase;
}

#horaires-footer .textwidget{
  background: rgba(255, 255, 255, 0.7);
  max-width: 50%;
  margin: 0 auto;
  margin-top: 40px;
  padding: 20px 0;
  color: #000;
  border: 3px #000 solid;
}

#footer {
    background: #1b1b1b;
    color: #fff;
    padding-top: 70px;
    padding-bottom: 70px;
}
#footer a { color: #fff; }
#footer a:hover { color: #e03d37; }
#footer h6 { color: #a0a0a0; }

#top-page{ text-align: right; }
.ceno1p-top:after{
  content: url(img/top.png);
  margin-left: 10px;
}

/* ----------------------------------------------------------------------------------------
LEGALS
------------------------------------------------------------------------------------------*/

#legals{
  background: #000;
  border-top:1px solid #343434;
  padding: 20px;
  color: #fff;
}

#legals a{ color: #e03d37;}


/*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1199px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 991px) {
        #pre-header .textwidget{ text-align: center; }
        #pre-header .h-adresse .textwidget, #pre-header .h-mail .textwidget {
            border-right: none;
        }
        #footer {
            text-align: center;
            padding-top: 20px;
            padding-bottom: 0;
        }
        #footer h6 { margin-top: 20px; }
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 767px) {
        #header .logo-site,
        #header .titre-site {
            text-align: center;
        }
        #header .logo-site { padding-bottom: 20px }
        #wpbgallery li a { width: 50%; }
        .row-actu h2{ margin: 10px 0 15px 0; }
        .view{max-height: 180px;}
        .thumbnail{max-height: 180px;}
        .view .mask {
            height: 180px;
            line-height: 180px;
        }
        #horaires-footer { font-size: 1.6em; }
        #horaires-footer .textwidget { max-width: 65%; }
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
        #wpbgallery li a { width:100%; }
        .row-actu h2 { margin: 10px 0 15px 0; }
        .view { max-height: 150px; }
        .thumbnail{ max-height: 150px; }
        .view .mask {
            height: 150px;
            line-height: 150px;
        }
        #top-page{
            padding-top: 10px;
            padding-bottom: 20px;
            text-align: center;
        }
        #horaires-footer { font-size: 1.4em; }
        #horaires-footer .textwidget { max-width: 80%; }
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        .view{max-height: 100px;}
        .thumbnail{max-height: 100px;}
        .view .mask {
            height: 100px;
            line-height: 100px;
        }
        #horaires-footer { font-size: 1.2em; }
    }

