/*
Theme Name: Nematheme
Theme URI: http://www.nematis.com/
Description: Starter theme for Nematis projets
Version: 1.1
Author: Nematis
Author URI: http://www.nematis.com/
*/

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user.
 * "!important" is used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/**
 * The .element-focusable class extends the .element-invisible class to allow
 * the element to be focusable when navigated to via the keyboard.
 */
.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  position: static !important;
  clip: auto;
}

.inline{display:inline;}

.links.inline {*zoom: 1;}
.links.inline:before,.links.inline:after{display: table;line-height: 0;content: "";}
.links.inline:after{clear: both;}
.links.inline > li{float:left;margin-left:2px}
.links.inline > li:first-child{margin-left:0}


a{color:#888}
a:hover{color:#555}

/**
 * Layout
 */
#header{position:relative;}

#header .navbar{margin:0;padding:0}
#header .navbar-inner{padding-left:0;padding-right:0;background:none;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}

.social-links ul{margin:0;padding:0}
.social-links a{color:#fff;background-color:#ccc;padding:.15em;text-decoration:none;}
.social-links a:hover{background-color:#c0c0c0}
.social-links .contact-link a{background:none;color:#888;}
.social-links .contact-link a:hover{background:none;color:#555}

#header .social-links{position:absolute;right:0;top:8px;}

#header .form-search, #btn-search-toggle{position:absolute;right:0;top:40px;margin-bottom:0}

#search-form-modal .form-search{position:static;display:block;margin:0 auto;}

#header #site-title{margin-top:10px}

/**
 * Menu
 */
#header .btn-navbar-custom{top:5px;right:50px;position:absolute;}

ul.menu{list-style-type:none;margin:0;padding:0}
ul.menu li{list-style-type:none;} 

#access ul.menu{}
#access li{float:left;position:relative;}
#access li a{display:block;padding:5px 10px 6px;text-decoration:none;}

#access ul ul{
	background:#fff; 
	float:left;
	width:100%;
	margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
	z-index: 99999;
}

#access ul ul ul{
	left:100%;
	top:0;
}

#access ul ul li{float:none;}
#access ul ul li a{}

#access ul li:hover > ul {
  visibility:visible;
  opacity:1;
}

/**
 * footer
 */
.sidebar-footer { padding:2em 0; }

#site-generator { font-size:0.857em; padding:1em 0; text-align:center; }

/**
 * widgets 
 */
.widget{margin-top:2.2em}
.widget:first-child{margin-top:0}
.widget-area ul{list-style-type:none;margin-left:0}
.widget-title{font-size:1.1em;font-weight:normal;margin-bottom:1.1em}


/**
 * Content
 */
 
#main{padding:2em 0}

.entry-header { margin-bottom:0.5em; }
.entry-title { margin:0; }
.entry-thumbnail { float:left; margin-right:1em; max-width:30%; }

.entry-meta { visibility:hidden; font-size:0.857em; }
.entry-meta .meta { margin-right:0.25em; }
.entry-meta .meta-date,
.entry-meta .meta-categories{ visibility:visible !important; }

.post footer.entry-meta  {margin-top:0.8em; }

/**
 * Comments
 */
#comments,
#respond { margin-top:0.8em; padding-top:0.2em; }

.comment { margin-top:2em; }
.comment:first-child { margin-top:0; }
.comment-entry { margin-bottom:0; }
.comment-meta { font-size:0.857em; }

#respond label, #respond .input-prepend{display:inline-block;}
#respond .label-wrapper{min-width:60px}
#respond .input-prepend{margin-left:20px;margin-bottom:10px}
#respond .comment-form-comment label{display:block;}
#respond textarea{width:100%;min-width:295px;}

/**
 * Slider
 */
.cycle-slideshow-wrapper{margin-bottom:1.2em}
.cycle-slideshow{width:100%;}
.cycle-slideshow .cycle-slide { width:100%; }
.cycle-slideshow .slide-wrap{position:relative;}
.cycle-slideshow .slide-link{display:block;width:100%; height:auto;text-decoration:none;}
.cycle-slideshow .slide-img{display:block;width:100%; height:auto}
.cycle-slideshow .slide-title, .cycle-slideshow .slide-description{display:block;position:absolute;display:none;}
.cycle-slideshow .slide-title{top:2em;left:2em;}
.cycle-slideshow .slide-description{left:0;bottom:0;}
.cycle-slideshow-wrapper .slide-pager{text-align:center;font-size:3em;margin-top:.4em}
.cycle-slideshow-wrapper .slide-pager span{cursor:pointer;color:#ccc}
.cycle-slideshow-wrapper .slide-pager span.cycle-pager-active{color:#c0c0c0}


/**
 * Table
 */
table caption{margin-bottom:1em}

/**
 * Widget
 */
.widget li{border-bottom:1px dotted #ccc}
.widget li a{text-decoration:none;}
.widget li li{border-bottom:none;border-top:1px solid #ccc}
.widget li li:first-child{border-top:none}
.widget li a{padding:.6em 0;display:block;}
.widget ul ul{margin-left:2em}


/**
 * Correction font-awesome
 */
.btn .icon-large::before{vertical-align:middle;}

/**
 * Correctifs pour la page d'identification
 */
#user_login,
#user_pass { height:auto; }