/*
Theme Name: Cejpcar.org V2
Author: Laurent Zubac
Author URI: http://www.atelier-buz.com/
Description: Cejpcar.org V2 theme for WordPress.
Version: 1.0
*/

/* ***** generic styles ***** */

body, html {
  background: #31313b;
  min-width: 320px;
}

a {
  color: #333;
  text-decoration: underline;
}
a:hover,
a:focus {
  color: #e7b367;
  outline: 0;
}
  


/* ***** classes ***** */
.left,
.alignleft { float: left; }
.right,
.alignright { float: right; }
img.left,
img.alignleft,
#the-content .entry-post .wp-caption.alignleft { margin: 0 10px 5px 0; }
img.right,
img.alignright,
#the-content .entry-post .wp-caption.alignright { margin: 0 0 5px 10px; }
.center,
.aligncenter { display: block; margin: 0 auto; }
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}
.wp-caption {
	line-height: 14px;
	max-width: 100%;
	text-align: center;
}
.wp-caption-text {
	font-size: 12px;
	font-style: italic;
	padding: 5px 0 0 0;
	text-align: center;
}


/* ***** header ***** */
#header {
  padding-bottom: 50px;
  padding-top: 50px;
}
#header h1,
#header p.h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 200;
  line-height: 32px;
  margin: 0;
  padding: 0;
}
#header h1 img,
#header p.h1 img {
  display: block;
  float: left;
  margin: 0 30px 0 0;
}
#header h1 span,
#header p.h1 span {
  display: block;
  padding: 10px 0 0 0;
}
#header a {
  color: #fff;
  text-decoration: none;
}
#header a:hover,
#header a:focus { text-decoration: none; }
#header .expert-access {
  font-weight: 200;
  padding-top: 30px;
  text-align: right;
}
#header .expert-access a {
  color: #98989d;
  line-height: 32px;
}
#header .expert-access span {
  font-size: 24px;
  margin: -10px 0 0 10px;
  vertical-align: middle;
}
#header .modal-dialog {
  font-weight: 400;
  text-align: left;
}
#header .modal .modal-title {
  color: #999;
  font-weight: 300;
  text-align: center;
}
#header .modal .modal-title span {
  color: #ccc;
  font-size: 16px;
}
#header .modal input[type=checkbox] { margin-right: 5px; }
#header .modal .login-submit { padding: 10px 0 0 0; }


/* ***** main menu ***** */
#main-menu {
  border-bottom: 1px solid #46464f;
  text-align: center;
}
#main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#main-menu li {
  display: inline-block;
  padding: 0 5px;
}
#main-menu li a {
  border-bottom: 3px solid transparent;
  color: #98989d;
  display: inline-block;
  font-size: 16px;
  font-weight: 200;
  height: 33px;
  margin: 0 0 -1px 0;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
}
#main-menu li a:hover,
#main-menu li a:focus {
  border-bottom: 3px solid #e7b367;
  text-decoration: none;
}
#main-menu li.current-menu-item a,
#main-menu li.current_page_item a,
#main-menu li.current-page-ancestor a,
#main-menu li.current-menu-ancestor a,
#main-menu li.current-menu-parent a {
  border-bottom: 3px solid #e7b367;
  color: #fff;
}
#main-menu select { margin: 0 0 20px 0; }



/* ***** background visual ***** */
#background-container {
  height: 450px;
  overflow: hidden;
  position: absolute;
  width: 100%;
  z-index: 1;
}
#background-container .background {
  background: transparent url(images/background.jpg);
  background-position: center center;
  background-size: 100%;
  background-repeat: no-repeat;
  height: 0;
  padding: 0 0 450px 0;
}



/* ***** content wrapper ***** */
#content-wrapper {
  background: #eee;
  border-bottom: 10px solid #e7b367;
  min-height: 500px;
  margin: 50px 0 0 0;
  position: relative;
}

/* ***** content container ***** */
#content-container {
  padding: 0 0 50px 0;
  position: relative;
  z-index: 1;
}


/* ***** home widget ***** */
.spacer-home { padding: 100px 0 0 0; }
.home-widget {
  background: rgba(231,179,103, .9);
  min-height: 470px;
  margin: -10px 0;
  padding: 30px 30px 10px 30px;
}
.home-widget h3 {
  margin-bottom: 20px;
  margin-top: 0;
}
.home-widget p { margin: 0 0 20px; }


/* ***** home content ***** */
#home-content { padding: 60px 0 0 0; }
#home-content h2 {
  color: #e7b367;
  margin: 0;
}



/* ***** footer *****/
#footer {
  color: #98989d;
  padding-bottom: 50px;
  padding-top: 50px;
}
#footer p { margin: 0; }
#footer a {
  color: #98989d;
  text-decoration: underline;
}
#footer a:hover,
#footer a:focus { color: #fff; }
#footer .logo {
  margin: 0 auto;
  max-width: 40px;
}
#footer .logo-buz { margin: 0 auto; }



/* ***** forms ***** */
form .btn {
  background: #e7b367;
  border: none;
  color: #fff;
  width: 100%;
}



/* ***** the content ***** */
#the-content {
  background: #fff;
  margin-top: -10px;
  padding-bottom: 50px;
  padding-top: 50px;
  position: relative;
}
#the-content #map-canvas {
  height: 500px;
  margin: 20px 0 0 0;
  width:100%;
}

/* ***** archives ***** */
#the-content h1.archives {
  color: #e7b367;
  font-size: 30px;
  margin: 0;
  padding: 0 0 10px 0;
}
#the-content .archive-expert-list { padding: 10px 0; }
#the-content .the-excerpt-expert { padding: 10px 0; }
#the-content .the-excerpt-expert h2 {
  font-size: 16px;
  margin: 0;
  padding: 0;
}
#the-content .the-excerpt-expert span {
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

/* ***** expert ***** */
#the-content .ficheajour {
  background: #30adcd;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  height: 24px;
  line-height: 24px;
  padding: 0 20px;
  position: absolute;
  right: 0;
  top: 0;
}
#the-content .ficheajour.off { background: #ec971f; }
.the-content-expert h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
}
.the-content-expert h2 {
  color: #e7b367;
  margin: 0;
  padding: 0 0 50px 0;
}
.the-content-expert h4 {
  margin: 0;
  padding: 0 0 20px 0;
}
.the-content-expert p.profession {
  font-weight: 700;
  margin: 0;
}
.the-content-expert .depuis-responsabilite {
  color: #999;
  margin: 0;
  padding: 30px 0;
}
.the-content-expert .depuis-responsabilite span { color: #333; }
.the-content-expert .box { padding: 0 0 30px 0; }
.the-content-expert .box ul {
  margin: 0;
  padding: 0 0 0 20px;
}
.the-content-expert .box p { margin: 0; }
.the-content-expert #map-canvas {
  height: 300px;
  margin: 20px 0 0 0;
  width:100%;
}


/* ***** classic ***** */
.the-content-classic h1 {
  color: #e7b367;
  margin: 0;
  padding: 0 0 50px 0;
}


/* ***** pagination ***** */
#pagination {
  border-top: 1px solid #eee;
  margin: 30px 0 0 0;
  padding: 20px 0 0 0;
}
#pagination ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
  text-align: center;
  width: 100%;
}
#pagination li {
  display: inline;
  padding-right: 5px;
  padding-left: 5px;
}
#pagination li a { display: inline; }
#pagination .current { font-weight: 700; }


/* ***** search ***** */
#small-search-expert p.link {
  font-weight: 700;
  margin: 0;
  padding: 15px 0 0 0;
}
#view-search-link { padding: 0 0 20px 0; }
#mobile-view-search {
  padding: 0 0 40px 0;
}
#full-search-expert h3 {
  font-size: 18px;
  margin: 0;
  padding: 0 0 30px 0;
}
#full-search-expert p.guideline {
  margin: 0;
  padding: 0 0 40px 0;
}
#full-search-expert .form-group {
  margin: 0;
  padding: 0 0 40px 0;
}
#full-search-expert .form-group-link {
  margin: 0;
  padding: 40px 0 10px 0;
}
#full-search-expert .form-group-link p {
  font-weight: 700;
  margin: 0;
  padding: 0 0 30px 0;
}


/* ***** widget ***** */
.cejpcar-last-posts-widget ul {
  margin: 0;
  padding: 0 0 0 20px;
}
.cejpcar-last-posts-widget li {
  margin: 0 0 20px 0;
}


/* ***** Tchat ***** */
#the-content .chat-box { margin: 20px 0; }
#the-content .chat-area .row { margin: 0; }
#the-content .chat-send-wrap textarea {
	width: 100%;
}


/* ***** Video Container ***** */
#the-content .video-container {
  margin: 20px 0;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  text-align: center;
}
#the-content .video-container iframe,
#the-content .video-container object,
#the-content .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ***** responsive ***** */
@media (min-width: 1200px) {
  #main-menu li { padding: 0 15px; }
}

@media (max-width: 992px) {
  #header h1,
  #header p.h1 { font-size: 28px; }
  #main-menu li { padding: 0; }
  #main-menu li a {
    font-size: 14px;
    padding: 0 15px;
  }
  #background-container { height: 400px; }
  #background-container .background { padding: 0 0 400px 0; }
  .home-widget {
    min-height: 420px;
    padding: 30px 30px 15px 30px;
  }
  .home-widget p { margin: 0 0 15px; }
}

@media (max-width: 767px) {
  #header {
    padding-bottom: 20px;
    padding-top: 20px;
  }
  #header h1,
  #header p.h1 {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }
  #header h1 img,
  #header p.h1 img {
    float: none;
    margin: 0 auto;
    width: 45px;
  }
  #header .expert-access {
    padding: 10px 0 0 0;
    text-align: center;
  }
  #header .expert-access a { line-height: 20px; }
  #header .expert-access span {
    font-size: 14px;
    margin: -5px 0 0 10px;
  }
  #content-wrapper { margin: 20px 0 0 0; }
  #background-container { height: 300px; }
  #background-container .background {
    background-position: top center;
    padding: 0 0 300px 0;
  }
  .home-widget { min-height: 0; }
  #footer p {
    padding: 20px 0 30px 0;
    text-align: center;
  }
  #the-content { margin: -10px 15px 0 15px; }
  #full-search-expert p.guideline { padding: 0 0 20px 0; }
  #full-search-expert .form-group { padding: 0 0 20px 0; }
  #full-search-expert .form-group-link { padding: 20px 0 10px 0; }
  #full-search-expert .form-group-link p { padding: 0 0 10px 0; }
}




