/*
 Theme Name:   Shammesh Theme
 Theme URI:    http://shammesh.org/theme/
 Description:  This is the theme for Shammesh Theme
 Author:       Jean-Philippe GUIOT
 Author URI:   http://jp.guiot.name
 Template:     shammesh
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:
*/

/* OVERRIDE BOOTFLAT */
.btn-danger, .btn-danger .open .dropdown-toggle.btn, .btn-danger.active, .btn-danger.disabled, .btn-danger:active, .btn-danger[disabled] {
    background-color: #cf1c23;
    border-color: #cf1c23;
}

.btn-danger:focus, .btn-danger:hover, .open .dropdown-toggle.btn-danger {
    background-color: #dd9933;
    border-color: #dd9933;
}

.nav-pills > li > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    font-family: "Open Sans Condensed",Helvetica,Arial,sans-serif !important;
    font-weight: 700 !important;
    background-color: #fff !important;
    color: #404041 !important;
    font-size: 19px !important;
    text-transform: uppercase !important;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #cf1c23 !important;
    background-color: #fff !important;
}

/**
 * 7.0 Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font: bold 14px/normal "Noto Sans", sans-serif;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	font: bold 14px/normal "Open Sans", sans-serif;
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}

.strike small
{
	padding-left: 50px;
}

/* STYLES */
body
{
	border-top: 6px solid #cfd0d1;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    background: #f0f2f3;
}

#logo
{
	max-height: 162px;
	max-width: 216px;
}

#primary-menu
{
	padding-top: 21px;
	margin-bottom: -7px;
}

.ubermenu, .ubermenu-nav, .ubermenu-submenu
{
	z-index: 10000 !important;
}

@media screen and (max-width: 640px)
{
	.strike {
	    overflow: visible !important;
	    white-space: normal !important;
	}
}

@media screen and (max-width: 990px) and (min-width: 480px)
{
	#primary-navigation
	{
		border-bottom: 7px solid #cf1c23;
	}
}

@media screen and (min-width: 990px)
{
	#primary-menu li, .ubermenu-item-level-0
	{
		 border-bottom: 7px solid #cf1c23 !important;
	}

	#primary-menu li.current-menu-item, .ubermenu-item-level-0.ubermenu-current-menu-parent, .ubermenu-item-level-0.ubermenu-current-menu-item
	{
		 border-bottom: 7px solid #dd9933 !important;
	}

	.ubermenu-skin-clean-white.ubermenu-horizontal .ubermenu-item-level-0 > .ubermenu-submenu-drop
	{
		border-top: 0 !important;
		top: auto;
	}

	.ubermenu-items-align-left.ubermenu-horizontal .ubermenu-item.ubermenu-item-level-0, .ubermenu.ubermenu-horizontal .ubermenu-item.ubermenu-align-left
	{
		display: table-cell !important;
	    float: none !important;
	    text-align: center !important;
	    vertical-align: middle !important;
	}
}

.gallery-item img
{
	width: 100%;
}

.ubermenu-skin-clean-white.ubermenu-responsive-toggle
{
	background: transparent !important;
}

#language-menu li, #language-menu
{
	display: inline;
}

.btn
{
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    font-weight: 600;
    font-size: 15px;
    height: 33px;
	line-height: 18px;
}

.btn-lg
{
    line-height: 12px;
}

body
{
    color: #404041;
}

body>header { background-color: #FFF; }

/*body>header span
{
	color: #8c8c8c;
	font-size: 16px;
}*/

#toolbar
{
	padding-top: 31px;
	text-align: right;
}

#breadcrumb
{
	color: #707071;
 	margin-top: 205px;
}

#breadcrumb li
{
	list-style-type: none;
	float: left;
}

#breadcrumb li a
{
	color: #707071;
}

/* BLOG */
body #banner h1, body #banner .banner-title
{
    margin: 0;
	margin-top: 170px;
    margin-left: 15px;
    background: #dd9933;
    color: white;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    font-size: 25px;
    font-weight: 700;
    height: 60px;
    line-height: 60px;
    text-align: center;
    min-width: 250px;
    text-transform: uppercase;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
}

body #banner h1 a, body #banner .banner-title a
{
	color: white;
}

body #banner
{
	border-top: 7px solid #cf1c23;
	background: url('./img/banner-blog.png') repeat-x center center;
	height: 202px;
	margin-top: -7px;
}

body.home #banner
{
	background: 0;
	min-height: 474px;
	padding: 0;
	height: auto;
}

body.home #banner h1
{
	background:0;
	display: block;
	font-weight: normal;
	height: auto;
	line-height: 30px;
	margin: 0;
	min-width: auto;
	color: white;
	text-align: center;
	font-family: Courgette !important;
	font-size: 25px;
	text-transform: none;
	margin-top: 25px;
}

body.home #banner h2
{
	text-align: center;
	font-size: 17px;
	font-weight: normal;
	color: white;
	padding-bottom: 30px;
	margin-top: 5px;
}

body.home #banner .headline
{
	background: url('/wp-content/themes/shammesh/img/baseline.jpg');
	border-top: 7px solid #c27c37;
	min-height: 75px;
}

body #primary
{
	margin-top: 40px;
}

body.home #primary, body.home #parole-benevoles h2
{
	margin-top: 0px;
}

body.home article
{
	margin-top: 0px !important;
}

body.blog article, body.single article, body.archive article, body.page article
{
	margin-top: 60px;
	margin-bottom: 60px;
}

#recent-blog article, #recent-news article, #recent-paroles article
{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

#recent-blog article h3, #recent-news article h3, #recent-paroles article h3
{
	color: #404041;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

#recent-blog article time, #recent-news article time, #recent-paroles article time
{
	color: #dd9933;
	font-size: 14px;
	font-weight: 200;
}

#recent-news article time
{
	color: #a1a1a1;
}

#recent-blog article p, #recent-news article p, #recent-paroles article p
{
	color: #404041;
	font-size: 13px;
	font-weight: 200;
	line-height: 20px;
}

#recent-news article
{
	min-height:200px;
}

#recent-blog a:hover article h3, #recent-news a:hover article h3, #recent-paroles a:hover article h3
{
	color: #cf1c22;
}

body.blog article time, body.single article time, body.archive article time
{
	display: block;
}

body.blog article .day, body.single article .day, body.archive article .day
{
	background: #cf1c23;
    color: white;
    font-size: 30px;
    font-weight: bold;
    height: 36px;
    line-height: 36px;
    text-align: center;
    width: 100%;
}

body.blog article .month, body.single article .month, body.archive article .month
{
	background: #ec8413;
    color: white;
    font-size: 18px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

body.blog article .year, body.single article .year, body.archive article .year
{
	background: #404041;
    color: white;
    font-size: 16px;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

body.single .entry-content
{
	margin-top: 30px;
	color: #404041;
}

body.single .entry-content div img
{
	width: 100%;
}

body .entry-content img
{
	border: 1px solid #ccc;
    padding: 5px;
    height: auto;
    margin-bottom: 7px;
}

body .entry-content img.alignleft
{
	float: left;
	margin-right: 7px;
}

body .entry-content img.alignright
{
	float: right;
	margin-left: 7px;
}

body .entry-content img.aligncenter
{
	margin-left:auto;
	margin-right: auto;
}

body .blog-list h2, body.single .post-item h1
{
	font-family: "Open Sans";
	font-weight: 600;
    font-size: 20px;
    margin: 0;
    margin-bottom: 10px;
    background: none;
    color: #434a54;
    padding: 0;
    text-align: left;
    width: auto;
    height: auto;
    line-height: 12px;
}

body .blog-list h2
{
	line-height: 19px;
}

body #primary h2
{
	font-family: "Open Sans";
	font-weight: 600;
    font-size: 20px;
    margin: 0;
    margin-bottom: 10px;
    background: none;
    color: #434a54;
    padding: 0;
    text-align: left;
    width: auto;
    height: auto;
    line-height: 39px;
}

body #primary h2.et_bloom_success_message
{
    line-height: 22px;
    margin: auto;
    margin-top: 50px;
    text-align: center;
}

body.home #primary .container h2
{
    margin-bottom: 30px;
    margin-top: 30px;
}

body.home .entry-content
{
	margin-top: -100px;
}

body.home .about-shammesh img
{
	margin-top: 30px;
}

body.single .post-item h1
{
	margin-top: 30px;
	margin-bottom: 15px;
	font-size: 22px;
	font-weight: bold;
	line-height: 29px;
}

body.single .post-item .entry-header img
{
	width: 100%;
	height: auto;
}

body.blog article .post-item p, body.single article .post-item p, body.archive article .post-item p
{
	font-size: 16px;
}

body.blog article .more-link, body.archive article .more-link
{
	float: right !important;
}
body.blog article .more-link:before, body.archive article .more-link:before
{
	content:"\A";
	white-space:pre;
}
body.blog .blog-list h2 a, body.archive .blog-list h2 a
{
	color: #434a54;
}

body.blog .blog-list h2 a:hover, body.archive .blog-list h2 a:hover
{
	color: #cf1c22;
}

body article p, body article li
{
	font-family: "Open Sans";
	font-weight: 300;
	font-size: 16px;
    line-height: 26px;
}

body article a
{
	color: #cf1c22;
    font-family: "Open Sans";
    font-weight: 600;
}

body article a:hover
{
	color: #ec8413;
}

body hr
{
	border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    height: 2px;
}

body .post-categories
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

body aside h4
{
	font-family: "Open Sans";
    font-size: 22px;
    font-weight: 700;
	border-bottom: 5px solid #cf1a21;
	margin: 0 0 21px 0;
	padding-bottom: 5px;
}

body aside ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	margin-bottom: 50px;
}

body aside .widget_categories ul li a, body aside .widget_archive ul li a
{
	font-family: "Open Sans";
	font-weight: 600;
	font-size: 16px;
	color: #404041;
	margin-bottom: 10px;
}

body aside .widget_categories ul li.active a, body aside .widget_categories ul li a:hover, body aside .widget_archive ul li.active a, body aside .widget_archive ul li a:hover
{
	color: #cf1c23;
}


body aside .widget_categories ul li a:after, body aside .widget_archive ul li a:after
{
	content: "";
}

body aside .widget_tag_cloud a, body aside .tagcloud a
{
	cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
	background: #e5e5e7;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #7d7d7f;
    font-family: "Open Sans";
    padding: 7px 11px;
    font-size: 15px !important;
    height: 33px;
    line-height: 18px;
    border-color: #aab2bd !important;
    text-transform: uppercase;
}

body aside .widget_tag_cloud a:hover, body aside .tagcloud a:hover
{
    border-color: #cf1c23 !important;
    color: #cf1c23;
}

body aside .recent-posts-widget-with-thumbnails ul li
{
	height: 84px;
}

body aside .recent-posts-widget-with-thumbnails ul li a
{
    font-family: "Open Sans";
    font-weight: 300;
    font-size: 14px;
    color: #404041;
}

body aside .recent-posts-widget-with-thumbnails ul li img
{
    margin-right: 7px;
}

body aside .recent-posts-widget-with-thumbnails ul li a:hover
{
    color: #cf1c23;
}

body aside .recent-posts-widget-with-thumbnails .rpwwt-post-date
{
    display: block;
	font-weight: 300;
}

body aside .recent-posts-widget-with-thumbnails .rpwwt-post-title
{
	font-weight: 400;
}

/* FOOTER */
body>footer
{
	background: #3c3c3d url('./img/footer-bg.jpg') repeat center center;
    min-height: 260px;
    padding-top: 17px;
    width: 100%;
}

body>footer ul li a {
    color: whitesmoke;
    font-size: 13px;
}

body>footer .links ul li
{
	color: #cf1c22;
	font-size: 20px;
    height: 22px;
    text-transform: uppercase;
}
body>footer .links ul li a
{
	font-family: Myriad Pro, Arial, sans-serif;
    color: #e6e7e8;
    font-size: 15px;
}

body>footer .links ul li a:hover
{
    color: #cf1c22;
}

body>footer .newsletter p {
	color: #ccc;
    font-family: "Open Sans";
    font-style: italic;
}

body>footer .newsletter input[type="text"] {
	color: #8e8e8e;
	font-size: 15px;
    font-family: "Open Sans";
    font-style: italic;
    background-color: #e6e7e8;
    border: 0;
    padding: 5px 10px;
    margin: 10px 0px 20px 0px;
}

body>footer .newsletter input[type="submit"] {
	color: #8e8e8e;
	font-size: 15px;
    font-family: "Open Sans";
    font-style: italic;
    background-color: #e6e7e8;
    border: 0;
    padding: 5px 10px;
    margin: 10px 0px 20px 0px;
}

body>footer .newsletter input[type="text"]::-webkit-input-placeholder,
body>footer .newsletter input[type="text"]:-moz-placeholder,
body>footer .newsletter input[type="text"]::-moz-placeholder,
body>footer .newsletter input[type="text"]:-ms-input-placeholder {
	text-align: center;
}
body>footer h6 {
	margin: 0;
	color: whitesmoke;
    font-family: "Open Sans";
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

body>footer address {
	color: whitesmoke;
    font-family: "Open Sans";
    font-size: 14px;
    line-height: 30px;
}

body>footer address a {
	color: #ec971f;
}

body>footer .copyright {
	background: none repeat scroll 0 0 #cf1c22;
    color: white;
    height: 30px;
    margin-top: 30px;
    padding-top: 5px;
}

body.archive .taxonomy-description
{
	margin-top: 15px;
}

/* BLOG */
body.blog .post-item
{
	cursor: pointer;
}

body.blog .post-detail h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 15px;
}

.filer_image
{
	border: 1px solid #ccc;
    padding: 5px;
}

.filer_image.left
{
    float: left;
    margin-right: 10px;
}

.filer_image.right
{
	float: right;
	margin-left: 10px;
}

.social-share
{
	margin-top: 15px;
	height: 75px;
	background-color: #e6e7e8;
}

.ssb-share
{
	margin-top: 17px;
	float:right;
}

.entry-meta .tag-links a {
    background-color: #767676;
    border-radius: 0 2px 2px 0;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.27273;
    margin: 2px 4px 2px 10px;
    padding: 3px 7px;
    position: relative;
    text-transform: uppercase;
}
.entry-meta .tag-links a:hover {
    background-color: #ec8413;
    color: #fff;
}
.entry-meta .tag-links a::before {
    border-bottom: 10px solid transparent;
    border-right: 8px solid #767676;
    border-top: 10px solid transparent;
    content: "";
    height: 0;
    left: -8px;
    position: absolute;
    top: 0;
    width: 0;
}
.entry-meta .tag-links a:hover::before {
    border-right-color: #ec8413;
}
.entry-meta .tag-links a::after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 4px;
    left: -2px;
    position: absolute;
    top: 8px;
    width: 4px;
}
.entry-content, .entry-summary, .page-content {
    -moz-hyphens: auto;
    word-wrap: break-word;
}

ol.related-posts
{
	list-style-type: none;
	padding:0;
}

ol.related-posts li a
{
	background-color: #f6f7f7;
	border: 1px solid #d8d8d8;
	box-shadow: none;
}

ol.related-posts li a:hover
{
	border-color: #cf1c22;
}

#comments h3
{
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 40px;
    margin-top: 40px;
}

#commentform
{
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	background-color: #f6f7f7;
	padding: 15px;
}

#commentform label
{
	display: block;
}

#commentform input, #commentform textarea
{
	border: 1px solid #d7d7d7;
	color: #a2a1a1;
	padding: 10px;
	width: 100%;
	border-radius: 3px;
}

#commentform .form-allowed-tags
{
	font-size: 9px;
}

#commentform .form-submit input
{
	background-color: #cf1c23;
	color: #fbfcfc;
	font-size: 14px;
	font-weight: 600;
	border-color: #cf1c23;
}

/* CONTENT TYPE */
.strike {
    display: block;
    overflow: hidden;
    white-space: nowrap;
	font-size: 30px !important;
}

.strike > span {
    position: relative;
    display: inline-block;
    color: #404041 !important;
}

.strike > span:before,
.strike > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    /* Here is the modification */
    border-top: 4px double #dcdddd;
}

.strike > span:before {
    right: 100%;
    margin-right: 15px;
}

.strike > span:after {
    left: 100%;
    margin-left: 15px;
}

.strike small
{
	color: #dcdddd;
	font-family: Courgette;
	font-size: 22px;
}

.panel-heading
{
	 background-color: #e6e7e8;
	 text-align: center;
	 font-family: 'Open Sans';
	 font-size: 23px;
	 font-weight: 600;
}

.panel-body
{
	background-color: #f0f2f3;
}

.panel-body img, .gallery-item img, .post-item img
{
	border: 0 !important;
	padding: 0 !important;
}

img.size-full
{
	width: 100%;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="date"], .wpcf7 textarea, .wpcf7 select
{
	width: 100%;
	line-height: 26px;
}

.ubermenu-skin-clean-white.ubermenu-horizontal .ubermenu-item-level-0 > .ubermenu-submenu-drop
{
	top: auto !important;
}

.ubermenu .ubermenu-target-text
{
	line-height: 26px;
}

#colorbox
{
    z-index:100000;
}

.wph-modal--clear
{
	text-align: center;
}

.wph-modal
{
	z-index: 10000 !important;
}