/*
 Theme Name:   CO.DE.SA
 Theme URI:    https://www.codesa-plombier-rennes.fr
 Description:  Twenty Twelve Child Theme pour le site internet Codesa-plombier-rennes.fr.
 Author:       Siiimple
 Author URI:   https://www.siiimple.fr
 Template:     twentytwelve
 Version:      2.0
 Text Domain:  codesa
*/

@import url("../twentytwelve/style.css");

body { color: rgba(0, 0, 0, 0.73); font-size: calc(13px + (18 - 16) * ((100vw - 320px) / (1200 - 320))); line-height: 1.6; }
.entry-content h1 { font-size: calc(16px + (22 - 18) * ((100vw - 320px) / (1200 - 320))); margin-top: 0 !important; }
.entry-content h2 { font-size: calc(13px + (22 - 18) * ((100vw - 320px) / (1200 - 320))); }
body .main-navigation { margin-top: 24px; margin-top: .857142857rem; }
.widget-title { font-size: 1rem !important; }
#secondary .cta { color: #da3830; font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.credits { margin: 1.714285714rem 0; text-align: center; }
button, input, select { max-width: 211px; }
textarea { max-width: 236px; }
.widget-area .widget .wpcf7-form p { margin-bottom: .857142857rem; }
input[type="submit"] { background-image: none; background-color: #21759b; border: none; color: #fff; font-size: 12px; padding: 0.428571429rem 1.428571428rem; }
input[type="submit"]:hover { background-image: none; background-color: #4A5056; border: none; color: #fff; font-size: 12px; padding: 0.428571429rem 1.428571428rem; }
.widget-area .widget .custom-html-widget hr { margin: .714285714rem 90% .714285714rem 0; }
.widget-area .widget span.review { padding-right: 6px; }
.widget-area .widget span.review .fa-star { color: orange; }
.widget-area .widget a.reviews, .widget-area .widget span.address a { text-decoration: none; }
.widget-area .widget a.reviews:hover, .widget-area .widget span.address a:hover { color: #4A5056; }
.widget-area .widget a.reviews .fa-angle-right { padding-left: 6px; vertical-align: middle; }
.widget-area .widget span.address a .fa-map-marker-alt { padding-right: 6px; }
#breadcrumbs { color: #9f9f9f; font-size: 1rem; margin-bottom: .857142857rem; }
#breadcrumbs a { color: #9f9f9f; text-decoration: none; }
#phone { background-color: #21759b; border: none; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; color: #fff; font-size: 12px; padding: 0.428571429rem 1.428571428rem; text-align: center; }
#phone a { color: #fff; text-decoration: none; }
.author-link a { padding-right: 8px; }

a {
	outline: none;
	color: #21759b;
}
a:hover {
	color: #0f3647;
}

.entry-content a:visited,
.comment-content a:visited {
	color: #21759b;
}
.entry-content a:hover,
.comment-content a:hover {
	color: #0f3647;
}

/* Header */
.site-header {
	padding: 0px 0;
}
.site-header h1,
.site-header h2 {
	text-align: center;
}
.site-header h1 a,
.site-header h2 a {
	color: #515151;
	display: inline-block;
	text-decoration: none;
}
.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #21759b;
}
.site-header h1 {
	font-size: 24px;
	font-size: 1.714285714rem;
	line-height: 1.285714286;
	margin-bottom: 14px;
	margin-bottom: 1rem;
}
.site-header h2 {
	font-weight: normal;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #757575;
}
.header-image {
	margin-top: 24px;
	margin-top: 1.714285714rem;
}
.footerr-image {
	margin-top: 12px;
}

/* Navigation Menu */
.main-navigation {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	text-align: center;
}
.main-navigation li {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.42857143;
}
.main-navigation a {
	color: #5e5e5e;
}
.main-navigation a:hover,
.main-navigation a:focus {
	color: #21759b;
}
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	display: none;
}
.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
	display: inline-block;
}


/* Footer */
footer[role="contentinfo"] {
	border-top: 1px solid #ededed;
	clear: both;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	max-width: 960px;
	max-width: 68.571428571rem;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px 0;
	margin-bottom: 24px;
}
footer[role="contentinfo"] a {
	color: #686868;
}
footer[role="contentinfo"] a:hover {
	color: #21759b;
}

/* Sidebar */
.widget-area .widget {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	margin-bottom: 18px;
	word-wrap: break-word;
}
.widget-area .widget h3 {
	margin-bottom: 0px;
}
.widget-area .widget p,
.widget-area .widget li,
.widget-area .widget .textwidget {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.widget-area .widget p {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.widget-area .textwidget ul {
	list-style: disc outside;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
}
.widget-area .textwidget li {
	margin-left: 36px;
	margin-left: 2.571428571rem;
}
.widget-area .widget a {
	color: #757575;
}
.widget-area .widget a:hover {
	color: #21759b;
}
.widget-area .widget a:visited {
	color: #9f9f9f;
}
.widget-area #s {
	width: 53.66666666666%; /* define a width to avoid dropping a wider submit button */
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	.author-avatar {
		float: left;
		margin-top: 8px;
		margin-top: 0.571428571rem;
	}
	.author-description {
		float: right;
		width: 80%;
	}
	.site {
		margin: 0 auto;
		max-width: 960px;
		max-width: 68.571428571rem;
		overflow: hidden;
	}
	.site-content {
		float: left;
		width: 65.104166667%;
	}
	body.template-front-page .site-content,
	body.attachment .site-content,
	body.full-width .site-content {
		width: 100%;
	}
	.widget-area {
		float: right;
		width: 26.041666667%;
	}
	.site-header h1,
	.site-header h2 {
		text-align: left;
	}
	.site-header h1 {
		font-size: 26px;
		font-size: 1.857142857rem;
		line-height: 1.846153846;
		margin-bottom: 0;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		border-bottom: 1px solid #ededed;
		border-top: 1px solid #ededed;
		display: inline-block !important;
		text-align: center;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
	}
	.main-navigation li a {
		border-bottom: 0;
		color: #6a6a6a;
		line-height: 3.692307692;
		text-transform: uppercase;
		white-space: nowrap;
	}
	.main-navigation li a:hover,
	.main-navigation li a:focus {
		color: #000;
	}
	.main-navigation li {
		margin: 0 40px 0 0;
		margin: 0 2.857142857rem 0 0;
		position: relative;
	}
	.main-navigation li ul {
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
		height: 1px;
		width: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li:focus > ul,
	.main-navigation .focus > ul {
		border-left: 0;
		clip: inherit;
		overflow: inherit;
		height: inherit;
		width: inherit;
	}
	.main-navigation li ul li a {
		background: #efefef;
		border-bottom: 1px solid #ededed;
		display: block;
		font-size: 11px;
		font-size: 0.785714286rem;
		line-height: 2.181818182;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
		white-space: normal;
	}
	.main-navigation li ul li a:hover,
	.main-navigation li ul li a:focus {
		background: #e3e3e3;
		color: #444;
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #636363;
		font-weight: bold;
	}
	.menu-toggle {
		display: none;
	}
	.entry-header .entry-title {
		font-size: 22px;
		font-size: 1.571428571rem;
	}
	#respond form input[type="text"] {
		width: 46.333333333%;
	}
	#respond form textarea.blog-textarea {
		width: 79.666666667%;
	}
	.template-front-page .site-content,
	.template-front-page article {
		overflow: hidden;
	}
	.template-front-page.has-post-thumbnail article {
		float: left;
		width: 47.916666667%;
	}
	.entry-page-image {
		float: right;
		margin-bottom: 0;
		width: 47.916666667%;
	}
	.template-front-page .widget-area .widget,
	.template-front-page.two-sidebars .widget-area .front-widgets {
		float: left;
		width: 51.875%;
		margin-bottom: 24px;
		margin-bottom: 1.714285714rem;
	}
	.template-front-page .widget-area .widget:nth-child(odd) {
		clear: right;
	}
	.template-front-page .widget-area .widget:nth-child(even),
	.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
		float: right;
		width: 39.0625%;
		margin: 0 0 24px;
		margin: 0 0 1.714285714rem;
	}
	.template-front-page.two-sidebars .widget,
	.template-front-page.two-sidebars .widget:nth-child(even) {
		float: none;
		width: auto;
	}
	.commentlist .children {
		margin-left: 48px;
		margin-left: 3.428571429rem;
	}
}



/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {
	body {
		background-color: #e6e6e6;
	}
	body .site {
		padding: 0 40px;
		padding: 0 2.857142857rem;
		margin-top: 0px;
		margin-bottom: 0px;
		box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	}
	body.custom-background-empty {
		background-color: #fff;
	}
	body.custom-background-empty .site,
	body.custom-background-white .site {
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
		box-shadow: none;
	}
}

.site-content article {
	border-bottom: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
	padding-bottom: 1.714285714rem;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}


.site-content2 nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}
.site-content2 {
	margin: 24px 0 0;
	margin: 1.714285714rem 0 0;
}
.site-content2 article {
	border-bottom: 4px double #ededed;
	margin-bottom: 72px;
	margin-bottom: 5.142857143rem;
	padding-bottom: 24px;
	padding-bottom: 1.714285714rem;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
.template-front-page .site-content2 article {
	border: 0;
	margin-bottom: 0;
}
.site-content2 {
	float: left;
	width: 65.104166667%;
}
body.template-front-page .site-content2,
body.attachment .site-content2,
body.full-width .site-content2 {
	width: 100%;
}
.template-front-page .site-content2 article {
	overflow: hidden;
}
.site-content2 nav {
	display: none;
}
.site-content2 {
	margin: 0;
	width: auto;
}

.widget-title  {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	text-transform: uppercase;
	color: #21759b;
}

.entry-content h1,
.comment-content h1,
.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3,
.entry-content h4,
.comment-content h4,
.entry-content h5,
.comment-content h5,
.entry-content h6,
.comment-content h6 {
	margin: 12px 0;
	margin-bottom: 1.714285714rem 0;
	line-height: 1.714285714;
}