/*
 Theme Name:   Save the green
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Jupither Child Theme
 Author:       Martin Chevignard
 Author URI:   https://www.martinchevignard.com
 Template:     jupither
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  jupither-child
*/

body {
    background-color: #eaf3e9;
}

* {
	box-sizing: border-box;
}

.wrapper, .footer-wrapper {
	width: 90%;
	max-width: 1240px;
	margin: 0 auto;
}

.side-content {
    width: 70%;
    float: left;
}
.sidebar {
    width: 25%;
    float: right;
}
.side-content .post .heading {
	display:table;
	width: 100%;
}
.side-content .post .heading .date, .side-content .post .heading .title, .side-content .post .heading .comment {
	display: table-cell;
	max-width: initial;
	height: 40px;
	vertical-align: middle;
	max-height: initial;
	margin: 0;
}
.side-content .post .heading .date {
	width:10%;
}
.side-content .post .heading .title {
	width:80%;
}
.side-content .post .heading .comment {
	width:10%;
}

img.attachment, img.frame, .media, img.center, img.aligncenter {
	width: 100%;
	max-width: 100%;
	height: auto;
}

#comments .message, #commentform textarea, #comments ol.commentlist ul.children li .message {
	width: 100%;
}

.footer {
    width: 100%;
    margin-right: 0;
}
.footer .sidebox {
    margin-bottom: 0;
    width: 33%;
    float: left;
    margin-right: 0;
    padding: 10px;
}

/* Searchbox widget */

.header-searchbox {
	float: right;
}
.searchform input {
	padding: 16px;
	background-position: 98% center;
}


/* MENU */

.navigation {
	margin: 40px 0 0 0;
	float: none;
	clear: both;
	display: block;
	position: relative;
	z-index: 12;
}

.stg-menu {
	margin: 0;
	padding: 0;
	font-size: 0;
	position: relative;
	width: 100%;
	list-style: none;
}

.stg-menu a {
	text-decoration: none;
	color: #666;
}
.stg-menu > li:hover > a, .stg-menu a:hover {
	color: #a11aad;
}

.stg-menu li {
	list-style: none;
	padding: 0;
	background: none;
}

.stg-menu > li {
    display: inline-block;
    text-align: center;
    margin: 0;
    width: 25%;
    font-size: initial;
    height: 50px;
    line-height: 50px;
	text-transform: uppercase;
}

/* Naturopathie Rose*/
.stg-menu > li:first-child, .stg-menu > li:first-child ul {
	background-color: #FBF2E3;
}
.stg-menu > li:first-child ul {
	background-image: url(img/1.png);
}
/* Cuisine saine & bio Bleu*/
.stg-menu > li:nth-of-type(2), .stg-menu > li:nth-of-type(2) ul {
	background-color: #FDD8DF;
}
.stg-menu > li:nth-of-type(2) ul {
	background-image: url(img/2.png);
}
/* Changer & agir Jaune Orange*/
.stg-menu > li:nth-of-type(3), .stg-menu > li:nth-of-type(3) ul {
	background-color: #88EEA5;
}
.stg-menu > li:nth-of-type(3) ul {
	background-image: url(img/3.png);
}
/* le labo végétal Vert*/
.stg-menu > li:last-child, .stg-menu > li:last-child ul {
	background-color: #D2FFBD;
}
.stg-menu > li:last-child ul {
	background-image: url(img/4.png);
}

.stg-menu li:hover ul, .stg-menu li:focus ul {
	transform: scaleY(1);
}

.stg-menu ul {
	transform: scaleY(0);
	transform-origin: 50% 0;
	transition:transform .3s ease-out;
	position: absolute;
	left: 0;
	top: 50px;
	width: 100%;
	background-position: 10% center;
	background-repeat: no-repeat;
	background-size: auto 50%;
	line-height: 1;
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
	padding: 10px 10px 10px 25%;
	font-size: 96%;
}

.stg-menu li ul li {
	text-align: left;
	position: relative;
	padding: 20px;
	text-transform: initial;
}

.stg-menu li ul li a {
	color: #444;
}

@media screen and (max-width: 760px) {
	.stg-menu li {
		display: block;
		width: 100%;
		border-radius: 0;
	}
	.stg-menu ul {
		-webkit-column-count: initial; /* Chrome, Safari, Opera */
		-moz-column-count: initial; /* Firefox */
		column-count: initial;
		position: relative;
		top: 0;
	}
	.side-content {
		width: 100%;
		float: none;
		clear: both;
		padding: 10px;
	}
	.side-content .post .heading .date, .side-content .post .heading .comment, .side-content .post .heading .title {
		width: 100%;
		max-width: 100%;
		float: none;
		clear: both;
		display: block;
		margin: 0;
	}
	.sidebar {
		float: none;
		width: 100%;
		padding: 10px;
	}
	#colophon {
		display: none;
	}
	.header-searchbox {
		float: none;
		margin: 20px 10px 0;
	}
	.searchform input {
		width: 100%;
	}
	img.attachment, img.frame, .media {
		width: 100%;
		max-width: 100%;
	}
	.stg-menu > li ul {
		padding: 10px;
		background-image: none !important;
	}
	#comments .message {
		width: 100%;
	}
	#comments ol.commentlist ul.children li .message {
		width: 95%;
	}
}

/* INTRO */

.intro .textarea {
    font-size: 20px;
    line-height: 30px;
    padding: 0;
    margin: 0;
    color: #878787;
    float: none;
    width: 100%;
    border-right: none;
    padding-right: 0;
    min-height: auto;
}

/* SOCIAL */

.social {
	text-align: left;
	margin-bottom: 20px;
}

.social ul {
	padding: 0;
}

.social ul li {
	display: inline-block;
	background: none;
	padding: 0;
	margin-right: 5px;
}

.social ul li a {
	display: block;
}


/* NEWSLETTER */
#mc_embed_signup {
    padding: 20px;
    background: #D2FFBD;
    margin: 10px 0 20px;
}
#mc_embed_signup h3 {
	color:#333;
	text-align: center;
}
.mce-email, .mce-button {
	padding: 16px 10px;
	margin: 10px 0;
	border: none;
	display:block;
	width: 100%;
	text-transform: uppercase;
	text-align: center;
}
.mce-button {
	background: #FFE5C7;
	color: #333;
	cursor: pointer;
	font-weight: bold;
}
.mce-button:after {
	content: "";
	display:block;
	width: 32px;
	height: 32px;
	vertical-align: middle;
	background: url('img/mail.png') no-repeat center center;
	background-size: 100%;
}