/*   
Theme Name: Ensis Expound
Description: A WIP Expound child
Author: Vincent Le Chevalier
Author URI: http://www.subcaelo.net
Template: expound
Version: 1.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../expound/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/* replace colors */

.navigation-main {
	/*background: #3a3a3a*/
    /*background: #45607b;*/
    background: #091c4b;
}

.navigation-main li {
	/*background: #3a3a3a*/
    /*background: #45607b;*/
    background: #091c4b;
}
.navigation-main li:hover {
  /*background: #474747;*/
  /*background: #5b7fa3;*/
  background: #103186;
}

.navigation-main ul > .current_page_item ~ .current_page_item a,
.navigation-main ul > .current-menu-item ~ .current-menu-item a,
.navigation-main ul > .current-post-ancestor ~ .current-post-ancestor a,
.navigation-main ul > .current-menu-parent ~ .current-menu-parent a,
.navigation-main ul > .current-post-parent ~ .current-post-parent a {
	/*background: #3a3a3a*/
    /*background: #45607b;*/
    background: #091c4b;
}
.navigation-main ul > .current_page_item ~ .current_page_item a:hover,
.navigation-main ul > .current-menu-item ~ .current-menu-item a:hover,
.navigation-main ul > .current-post-ancestor ~ .current-post-ancestor a:hover,
.navigation-main ul > .current-menu-parent ~ .current-menu-parent a:hover,
.navigation-main ul > .current-post-parent ~ .current-post-parent a:hover {
  /*background: #474747;
  background: #5b7fa3;*/
  background: #103186;
}

.site-header .menu-toggle {
	/*background: #3a3a3a*/
    /*background: #45607b;*/
    background: #091c4b;
}
.site-header .menu-toggle:hover {
  /*background: #474747;
  background: #5b7fa3;*/
  background: #103186;
}

.main-small-navigation .menu-toggle {
  /*background: #474747;
  background: #5b7fa3;*/
  background: #103186;
}

.main-small-navigation li {
	/*background: #3a3a3a*/
    /*background: #45607b;*/
    background: #091c4b;
}
.main-small-navigation li:hover {
  /*background: #474747;
  background: #5b7fa3;*/
  background: #103186;
}

.entry-thumbnail-category {
  /*background: #3a3a3a*/
  /*background: #45607b;*/
  background: #091c4b;
}

.entry-thumbnail-category:hover {
  /*background: #3a3a3a*/
  /*background: #45607b;
  background: #5b7fa3;*/
  background: #103186;
}

.button,
a.button,
.wpm-button,
a.wpm-button {
	/*background: #3a3a3a*/
    /*background: #45607b;*/
    background: #091c4b;
}
.button:hover,
a.button:hover,
.wpm-button:hover,
a.wpm-button:hover {
  /*background: #474747;
  background: #5b7fa3;*/
  background: #103186;
 }

/*.featured-content-secondary {
  background: #ffffff url('images/star.png') 0 0 repeat;
}
.site-intro {
  background: #ffffff url('images/star.png') 0 0 repeat;
}
.page-header {
  background: #ffffff url('images/star.png') 0 0 repeat;
}*/

/* Page layout */

@media (max-width: 900px) {
  #page {
    width: 100%; /*no pointless margins at small widths*/
    margin-top: 0px;
  }
}
/* slight blockquote modif */
.site-content .entry-content blockquote,
.site-content .comment-content blockquote,
#tinymce blockquote {
  margin-left: 10px;
  margin-right: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 1px;
  padding-right: 20px;
  padding-left: 40px;
  background: #f7f7f7;
  position: relative;
  font-style: italic;
}

@media (max-width: 600px){
.site-content .entry-content blockquote,
.site-content .comment-content blockquote,
#tinymce blockquote {
  margin-left: -40px;
  margin-right: -40px;
  padding-right: 40px;
}
}
  
.site-content .entry-content blockquote:before,
.site-content .comment-content blockquote:before,
#tinymce blockquote:before {
  font-style: normal;
  left: 10px;
}

.site-content .entry-content blockquote cite,
.site-content .comment-content blockquote cite,
#tinymce blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
}

.site-content .entry-content blockquote em,
.site-content .comment-content blockquote em,
#tinymce blockquote em {
  font-weight: bold;
}

.site-content .entry-content blockquote cite em,
.site-content .comment-content blockquote cite em,
#tinymce blockquote cite em {
	font-weight: normal;
}

@media (min-width: 600px){
.entry-content {
text-align: justify;
}
}

.page .site-content .entry-title {
font-size: 44px;
line-height: 54px;
margin-bottom: 20px;
}

@media (max-width: 700px) {
  .page .site-content .entry-title{
    font-size: 28px;
    line-height: 38px;
  }
}

/* Logo ! */
.site-title-group {
  margin: 20px 40px 20px 40px;
}

.site-title a {
    color: transparent;
    display: block;
    text-indent: -9999px;
}


@media (max-width: 335px) {
.site-title a {
    background: url('images/logo-small.png') 0 0 no-repeat;
    width: 80px;
    height: 59px;
}
}

@media (min-width: 335px) {
.site-title a {
    background: url('images/logo.png') 0 0 no-repeat;
    width: 250px;
    height: 186px;
}
}
/*backgrounds */
@media (min-width: 550px) {
.site-branding
{
	background: url('images/banner-new-s.jpg') 350px 5px no-repeat;
/*	background: url('images/banner.jpg') 5px 5px no-repeat;*/
}
}
/*#secondary
{
	background: url('images/side.jpg') 0px 50px no-repeat;
}*/

body {
	/*background: #333*/
    /*background: #a3b7cc;*/
    /*background: #45607b;*/
    background: #091c4b;

}

@media (min-width: 1290px) {
body {
	/*background: #333*/
    /*background: url('images/left-w.png') top left no-repeat, url('images/right-w.png') top right no-repeat, #45607b;*/
	background: url('images/back-new.png') top left no-repeat, url('images/back-new.png') top right no-repeat, #091c4b;
	background-attachment:fixed;
	border-top: 50px;
}
}

@media (min-width: 890px) and (max-width: 1290px) {
body {
	/*background: #333*/
    /*background: url('images/left-w.png') top left no-repeat, url('images/right-w.png') top right no-repeat, #45607b;*/
	background: url('images/back-crop-new.png') top left no-repeat, url('images/back-crop-new.png') top right no-repeat, #091c4b;
	background-attachment:fixed;
	border-top: 50px;
}
}

/* Comments */
.comments-area .comment-content,
.comments-area .reply,
.comments-area li.comment #respond {
	margin-left: 0px;
}

.comments-area ul.children {
	padding-left: 20px;
}

.comments-area li.comment {
	border-left: solid 1px #dddddd;
}

.comments-area article {
	padding: 5px 0px 10px 20px; /*trbl*/
}

.comments-area #respond
{
	padding-top: 5px;
	padding-left: 20px;
}

.comments-area footer {
	margin-bottom: 10px;
}

/* Galleries */
/*.gallery {
	margin: auto;
}
.gallery .gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;
}
.site-content .gallery a img{
	border: 2px solid #cfcfcf;
}
.gallery .gallery-caption {
	margin-left: 0;
}*/

.site-content .gallery {
    margin-left: 10px;
    margin-right: 40px;
	/*margin: 0 auto 18px;*/
	background: #f7f7f7;
}
.site-content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.site-content .gallery-columns-2 .gallery-item { width: 50%; }
.site-content .gallery-columns-4 .gallery-item { width: 25%; }

.site-content .gallery img {
	padding: 2px;
}
.site-content .gallery img:hover {
	background: #f7f7f7;
}

.site-content .gallery .gallery-caption {
    color: #6F6F6F;
	font-size: 12px;
	margin: 0 0 12px;
	display:none;
}
.site-content .gallery dl, .gallery dt { margin: 0; }
.site-content .gallery br+br { display: none; }

.site-content .entry-content h3, .site-content .comment-content h3, #tinymce h3 {
font-size: 16px;
line-height: 18px;
color: #606060;
margin-top: 20px;
}

/* Spoiler style */

.esc_spoiler {
	margin-left: 10px;
	margin-right: 40px;
	margin-top: 20px;
	margin-bottom: 20px;
	background: rgba(17, 123, 184, 0.17);;
	position: relative;
}
 
 @media (max-width: 600px){
.esc_spoiler{
  margin-left: 0px;
  margin-right: 0px;
}
.site-content .entry-content .esc_spoiler blockquote {
  margin-left: -10px;
  margin-right: -10px;
}

}

.esc_spoiler div.esc_spoiler_header {
	cursor: pointer;
	padding-right: 10px;
	padding-left: 10px;
	padding-top: 2px;
}
 
.esc_spoiler div.esc_spoiler_content {
	border: 2px solid rgba(17, 123, 184, 0.17);
	display: none;
	background: #ffffff;
	/*padding-top: 20px;
	padding-bottom: 1px;*/
	padding-right: 10px;
	padding-left: 10px;
}

.esc_spoiler span.esc_spoiler_help_text {
    font-size: .67em;
    color: #117bb8;
    white-space: nowrap;
}

/* Fix for figures from the new editor */

figure {
  border: none;
}
figure figcaption{
  display: block;
  border: solid 1px #efefef;
  margin: 0;
  padding: 5px;
  color: #6F6F6F;
  background: #f7f7f7;
  text-align: center;
}
figure img,
figure img[class*="wp-image-"] {
  border: solid 1px #ccc;
  padding: 5px;
  margin: 0;
}

.wp-caption .wp-caption-text, .wp-caption-dd {
  color: #6F6F6F;
  background: #f7f7f7;
}



