/*
	Theme Name: 10 doigts 100 idées - WordPress Theme
	Theme URI: http://undless.fr
	Author: Laurent Dufour
	Author URI: http://undless.fr
	Description: Custom Theme for 10 doigts 100 idées
	Version: 0.1

	Made with &hearts; by undless
*/

@import "init.css";

/*------------------------------------*\
    COMMONS
\*------------------------------------*/


html{
	position: relative;
	height: 100%;
}
body{
	position: relative;
	background-color: #FFF;
	color: #666;
	font-family: "opensans", sans-serif;
	background-color: #6ca40c;
	min-height: 100%;
	overflow: auto;
		background-attachment: fixed;
	box-shadow: 0 400px 300px -300px #bbd51e inset;
}
	.bodybg{
		position: relative;
		height: 100%;
		background-attachment: fixed;
		background-image: url("images/10doigts100idees-motif.png");
	}


.link,
.link:visited{
	color: #854293;
	text-decoration: underline;
	transition:color 200ms;
}
.link:hover,
.link:focus{
	text-decoration: none;
}

.white-link:visited{
	color: #fff;
	text-decoration: underline;
	transition:color 200ms;
}
.white-link:hover,
.white-link:focus{
	color: #854293;
}


::selection {
	background: #854293; /* WebKit/Blink Browsers */
	color:#FFF;
}
::-moz-selection {
	background: #854293; /* Gecko Browsers */
	color:#FFF;
}

.max-width {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}



.btn {
	display: inline-block;
	padding: 10px;
	background-color: #854293;
	font-family: "bebas";
	color: #fff;
	text-decoration: none;
	border:none;
	cursor: pointer;
}
	.btn::before {
		opacity: 0.5;
		transition: opacity 200ms;
	}
	.btn:hover::before,
	.btn:focus::before {
		opacity: 1;
	}


/*------------------------------------*\
    HEADER
\*------------------------------------*/


.header {
	position: relative;
	text-align: left;
}
.home-header {
	text-align: center;
	padding: 0 0 60px;
}
		.logo {
			display: inline-block;
			height: 250px;
			margin: -10px 0 -20px 0;
		}
		.home-header .logo {
			height: 300px;
			margin: 0;
		}
			#svg10d100i {
				overflow: visible;
				display: block;
				height: 100%
			}
/* 
				#svg10d100i-background {
					animation-name: shine;
					animation-duration: 10s;
					animation-iteration-count: infinite;
					animation-timing-function: linear;
					transform-origin: center;
				}

				@keyframes shine {
					0%   {transform: rotate(0deg);}
					25% {transform: rotate(20deg);}
					75% {transform: rotate(-20deg);}
					100% {transform: rotate(0deg);}
				} */

				#svg10d100i-laura {}
				#svg10d100i-arya {}
				#svg10d100i-gipsy {}
				#svg10d100i-laura-text {}
				#svg10d100i-arya-text {}
				#svg10d100i-gipsy-text {}

				.svg10d100i-text {
					opacity: 0.4;
					transition: opacity 200ms;
				}
/*
			#svg10d100i:hover .svg10d100i-text {
				opacity: 1;
			}
			*/
			#svg10d100i-laura:hover ~ #svg10d100i-laura-text,
			#svg10d100i-arya:hover ~ #svg10d100i-arya-text,
			#svg10d100i-gipsy:hover ~ #svg10d100i-gipsy-text {
				opacity: 1;
			}



		.header-follow {
			display: inline-block;
			position: absolute;
			bottom: 50%;
			margin-bottom: 10px;
			right: 0;
		}
		.home-header .header-follow {
			position: relative;
			display: block;
			bottom: auto;
			right: auto;
			margin-bottom: 0;
			padding-bottom: 40px;
		}
			.header-follow-link {
				display: inline-block;
				padding: 5px;
				margin: 0 0 0 10px;
				color: #fff;
				text-decoration: none;
			    background-color: transparent;
			    border: 1px solid rgba(255,255,255,0.2);
			    transition-property: border-color, background-color;
			    transition-duration: 100ms;
			}
			.home-header .header-follow-link {
				margin: 0 40px;
			}
			.header-follow-link:hover,
			.header-follow-link:focus {
				border-color:#fff;
			    background-color: rgba(255,255,255,0.2);
			}
		.searchform {
			position: absolute;
			top: 50%;
			margin-top: 10px;
			right: 0;	
			width: 50%;
			text-align: right;
		}
		.home-header .searchform {
			position: relative;
			top: auto;
			margin-top: 0;
			right: auto;
			width: auto;
			text-align: center;
			padding-left: 50px;
		}
			.searchform::before {
				font-size: 1.2em;
				color: #fff;
			}
			.searchform-input {
			    display: inline-block;
			    vertical-align: middle;
				background-color: rgba(0,0,0,0.4);
				border: none;
				font-size: 1em;
				width: 80%;
				max-width: 500px;
				border-radius: 1px;
				padding: 12px 20px;
				color: #fff;
				font-family: "opensans", sans-serif;
			}
			.searchform-input::-webkit-input-placeholder {
			    color: #FFF;
			}
			.searchform-input:-moz-placeholder {
			    color: #FFF;
			}
			.searchform-input::-moz-placeholder {
			    color: #FFF;
			}
			.searchform-input:-ms-input-placeholder {
			    color: #FFF;
			}

			.searchform-btn {
			    display: inline-block;
			    vertical-align: middle;
				border-radius: 1px;
				cursor:pointer;
				padding: 10px;
				margin-left: 10px;
			    color: #fff;
			    font-size: 1.2em;
			    background-color: transparent;
			    border: 1px solid rgba(255,255,255,0.2);
			    transition-property: border-color, background-color;
			    transition-duration: 100ms;
			}
			.searchform-btn:hover,
			.searchform-btn:focus {
				border-color:#fff;
			    background-color: rgba(255,255,255,0.2);
			    color: #FFF;
			}



		.tutorial {
			padding: 50px;
		}


/*------------------------------------*\
    MAIN
\*------------------------------------*/


.main {
	position: relative;
    padding: 120px 40px 40px;
    margin-top:25px;
    background-color: #FFF;
    border-radius: 2px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 11px 0px -6px rgba(0,0,0,0.2),0 0 0 1px #AAA inset;
    box-shadow: 0 11px 0px -6px rgba(0,0,0,0.2),0 0 0 1px #AAA inset;
    border:1px solid #FFF;
}


/*------------------------------------*\
    NAV
\*------------------------------------*/

	.nav {
		display: block;
	    text-align: left;
	    position: absolute;
	    width: 100%;
	    top: -20px;
	    left: 0;
	    transition: top 200ms;
	}
	.nav-fixed {
		position: fixed;
		top: -7px;
		left: 0;
		right: 0;
		width: 90%;
		max-width: 1200px;
		margin: 0 auto;
		z-index: 9999;
	}
		.nav-list {
			position: relative;
			display: inline-block;
			padding: 0 0 0 40px;
		}
		.filter-list {
			float: right;
			padding: 0 40px 0 0;
		}
			.nav-list li{
				display: inline-block;
				vertical-align: bottom;
			}
				.nav-item {
					display: inline-block;
					position: relative;
					vertical-align: bottom;
					text-align: center;
					height: 80px;
					width: 80px;
					margin: 4px 4px 0;
					border-radius: 4px 4px 40px 40px;
					text-decoration: none;

					color: #444;
					background-color: #fff;
				    border: 1px solid #FFF;
				    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,0.2),0 0 0 1px #CCC inset;
				    box-shadow: 0 0 0 0 rgba(0,0,0,0.2),0 0 0 1px #CCC inset;
				    transition-property: margin, box-shadow, color, background-color;
				    transition-duration: 100ms;
				}
				.filter-item{
					height: 60px;
					width: 60px;
				}
				.nav-item:hover,
				.nav-item:focus {
					margin-top: 0;
					margin-bottom: 4px;
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #854293 inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #854293 inset;
				    background-color: #FFF;
				    color: #854293;
				}
				.nav-item.nav-item-current {
					color: #fff;
					background-color: #854293;
				    border: 1px solid #854293;
				    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				    box-shadow: 0 0 0 0 rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				}
				.nav-item.nav-item-current:hover,
				.nav-item.nav-item-current:focus {
					color: #fff;
					background-color: #854293;
				    border: 1px solid #854293;
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				}
					.nav-item span{
						font-family: "bebas";
						font-size: 1.2em;
						position: absolute;
						top: 6px;
						left:0;
						width: 100%;
						text-align: center;
					}
					.nav-item::before {
						margin: 25px 0 0;
						font-size: 2.6em;
					}
					.filter-item span{
						font-size: 0.8em;
						white-space: nowrap;
					}
					.filter-item::before {
						margin: 20px 0 0;
						font-size: 2em;
					}


				.filter-item.icon-paleo:hover,
				.filter-item.icon-paleo:focus {
				    color: #444;
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #444 inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #444 inset;
				}
				.filter-item.icon-paleo.nav-item-current {
					color: #fff;
					background-color: #444;
				    border: 1px solid #444;
				}
				.filter-item.icon-paleo.nav-item-current:hover,
				.filter-item.icon-paleo.nav-item-current:focus {
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				}
				

				.filter-item.icon-glutenfree:hover,
				.filter-item.icon-glutenfree:focus {
				    color: #E0B800;
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #E0B800 inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #E0B800 inset;
				}
				.filter-item.icon-glutenfree.nav-item-current {
					color: #444;
					background-color: #E0B800;
				    border: 1px solid #E0B800;
				}
				.filter-item.icon-glutenfree.nav-item-current:hover,
				.filter-item.icon-glutenfree.nav-item-current:focus {
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				}


				.filter-item.icon-lactosefree:hover,
				.filter-item.icon-lactosefree:focus {
				    color: #55acee;
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #55acee inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px #55acee inset;
				}
				.filter-item.icon-lactosefree.nav-item-current {
					color: #fff;
					background-color: #55acee;
				    border: 1px solid #55acee;
				}
				.filter-item.icon-lactosefree.nav-item-current:hover,
				.filter-item.icon-lactosefree.nav-item-current:focus {
				    -webkit-box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				    box-shadow: 0 8px 0 -4px rgba(0,0,0,0.2),0 0 0 1px rgba(255,255,255,0.5) inset;
				}




/*------------------------------------*\
    FOOTER
\*------------------------------------*/



.upplease-block {
	text-align: center;
	position: relative;
	padding: 40px 0 0;
    box-shadow: 0 -16px 0 0 #fff inset, 0 -24px 0 0 #eee inset;
    position: relative;
    margin: 0 1px;
}
	.upplease-block img {
		height: 100px;
	}
	.upplease {
		position: absolute;
	    bottom: 28px;
	    font-size: 0.8em;
	    right: 0;
	    cursor: pointer;
	    color: #aaa;
	    text-decoration: none;
	    transition: color 200ms;
	}
	.upplease::before {
		content: "";
		border:5px solid transparent;
		border-bottom-color: #aaa;
	    margin: 0 5px 2px 0;
    	display: inline-block;
	}
	.upplease:hover,
	.upplease:focus {
		color: #854293;
	}

.footer-alm {
	position: relative;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    color: #FFF;
    border-radius: 2px;
    border: 1px solid #884796;
    -webkit-box-shadow: 0 11px 0px -6px rgba(0,0,0,0.2),0 0 0 1px #9c6bac inset;
    box-shadow: 0 11px 0px -6px rgba(0,0,0,0.2),0 0 0 1px #9c6bac inset;
    line-height: 80px;
    font-size: 1.2em;
    padding-right: 250px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #884796;
}
	.alm {
	    position: absolute;
	    top: -30px;
	    right: 50px;
	}

.follow-block {
	text-align: center;
	position: relative;
	display: block;
	padding: 40px 0;
}
	.follow-link {
		display: inline-block;
		padding: 5px;
		margin: 0 20px;
		color: #fff;
		text-decoration: none;
	    background-color: transparent;
	    border: 1px solid rgba(255,255,255,0.2);
	    transition-property: border-color, background-color;
	    transition-duration: 100ms;
	}
	.follow-link:hover,
	.follow-link:focus {
		border-color:#fff;
	    background-color: rgba(255,255,255,0.2);
	}

.footer {
	text-align: center;
	padding: 40px 20px;
	font-size:0.8em;
	color: #fff;
	line-height: 2em;
}




/*==============================================*\
			Pager
\*==============================================*/

ul.page-numbers {
	padding: 10px 0;
	text-align: center;
}
	ul.page-numbers li{
		display: inline-block;
		vertical-align: top;
	}
		ul.page-numbers .page-numbers{
			display: inline-block;
			padding: 5px 8px;
			font-size:0.9em;
			border-radius:2px;
			border:1px solid #DDD;
			text-decoration: none;
			color: #854293;
		}
		ul.page-numbers .page-numbers.dots {
			border: 0;
		}
		ul.page-numbers .page-numbers:hover,
		ul.page-numbers .page-numbers:focus{
			border-color: #854293;
		}
		ul.page-numbers .page-numbers.current{
			background-color: #854293;
			border-color: #854293;
			color: #FFF;
		}


/*==============================================*\
			Liste d'article
\*==============================================*/


.article-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	align-content: flex-start;
} 
	.article-grid {
		flex: 1 0 33%;
		display: flex;
		min-width: 300px;
		max-width: 400px;
	}
		.article-excerpt {
			position: relative;
			flex: 1 1;
			margin: 5px;
			border:1px solid #eee;
			padding: 20px;
			transition: border-color 400ms;
		}
		.article-excerpt:hover,
		.article-excerpt:focus {
			border-color: #888; 
		}
			.article-excerpt-title {
				font-size: 1.8em;
			}
				.article-excerpt-title a {
					color: #888;
					font-family: "bebas";
					text-decoration: none;
					transition: color 200ms;
				}
				.article-excerpt-title a:hover,
				.article-excerpt-title a:focus {
					color: #854293;
				}
			.article-excerpt-details {
				color: #aaa;
				font-family: "bebas";
				font-size: 1em;
			}
				.article-excerpt-date {
					font-family: "opensans", sans-serif;
					float: right;
					font-size: 0.6em;
					font-style: italic;
					padding-top: 4px;
				}
			.article-excerpt-new {
				position: absolute;
				font-family: "bebas";
			    top: 4px;
			    right: 20px;
			    color: #854293;
			    font-size: 1.2em;
			}
			.article-excerpt-image {
				height: 100px;
				width: 100%;
				background-size: cover;
				background-position: center;
				position: relative;
				margin: 2px 0 15px;
			}
				.article-excerpt-categories {
					position: absolute;
					bottom: -30px;
					left: 0;
					right: 0;
					height: 60px;
					line-height: 60px;
					font-size: 40px;
					width: 60px;
					margin: 0 auto;
					background-color: #fff;
					border-radius: 50%;
					text-align: center;
				    box-shadow: 0 0 0 4px #fff;
				    border: 1px solid #ddd;
				}
				.article-excerpt-categories::before {
					margin: 0;
				}
				.article-excerpt-tags {
					position: absolute;
					bottom: -10px;
					right: 0;
				}
					.article-excerpt-tag {
						display: inline-block;
						vertical-align: top;
						height: 25px;
						line-height: 25px;
						font-size: 20px;
						color: #fff;
						width: 25px;
						margin: 0 2px;
						background-color: #fff;
						border-radius: 50%;
						text-align: center;
					    box-shadow: 0 0 0 4px #fff;
					}
					.article-excerpt-tag::before {
						margin: 0;
					}

					.article-excerpt-tag.icon-paleo {
					    background-color: #444;
					}
					.article-excerpt-tag.icon-glutenfree {
						background-color: #E0B800;
					}
					.article-excerpt-tag.icon-lactosefree {
						background-color: #55acee;
					}



			.article-excerpt-content {
				font-size: 0.9em;
				line-height: 1.4em;
			}

			.article-excerpt-difficulte {
				float: left;
			}
			.article-excerpt-cout {
				float: right;
			}
				.article-excerpt-difficulte ::before,
				.article-excerpt-cout ::before {
					margin:0 1px;
				}
				.article-excerpt-icon-full {
					color: #854293;
					font-size: 1.1em;
				}
				.article-excerpt-icon-empty {
					color: #DDD;
					font-size: 0.8em;
				}

			.article-excerpt-time {
			    margin: 20px auto 15px;
			    text-align: center;
			    position: relative;
			    border: 1px solid #eee;
			    background: #fff;
			    width: 80px;
			    padding: 4px;
			    font-size: 0.8em;
			}

			.article-excerpt-footer {
				display: flex;
				justify-content:space-between;
				align-items:center;
				white-space: nowrap;
			}
				.article-excerpt-comments {
					display: inline-block;
					flex: 0 0;
					font-size: 0.8em;
					color: #888;
					border:1px solid #eee;
					padding: 5px;
				}



/*==============================================*\
			Detail d'un article
\*==============================================*/

.article-detail {
	position: relative;
}

	.article-detail .article-excerpt-title {
		font-size: 2.8em;
		text-align: center;
	}
	.article-detail .article-excerpt-new {
		position: absolute;
		font-family: "bebas";
	    top: 4px;
	    right: 20px;
	    color: #854293;
	    font-size: 1.2em;
	}
	.article-detail .article-excerpt-details {
		font-size: 1.2em;
	}

	.article-detail .article-excerpt-image {
		height: 150px;
	}

	.article-detail-content {
		padding: 50px;
		line-height: 2em;
	}
	.article-detail-ingredients {
		margin: 20px 60px 40px 0;
		border:1px solid #eee;
		padding: 20px;
		float: left;
		width: 220px;
		font-size: 0.9em;
	}
		.article-detail-ingredients-title {
			font-family: "bebas";
			padding: 0 0 10px 10px;
		    color: #854293;
		    font-size: 1.2em;
		}

	.article-detail-content-text {
		margin-left: 320px;
	}




/*==============================================*\
			Commentaires
\*==============================================*/

.article-nocomments {
    padding: 60px 0;
    font-style: italic;
}

.article-comments {
	text-align: center;
	border-top: 1px solid #eee;
	margin: 40px 0;
}
	.article-detail-comments {
		position: relative;
    	top: -12px;
		background-color: #fff;
	}
	.article-commentlist {
		max-width: 400px;
		margin: 40px auto;
		left:0;
		right: 0;
		padding: 0 60px;
	}
		.article-comment {
			position: relative;
			border:1px solid #aaa;
			border-radius: 2px;
			font-size: 0.9em;
			margin: 20px 40px 20px 0;
		}	
			.article-comment::after {
				content: "";
				position: absolute;
				top: 10px;
				right: 100%;
				width: 10px;
				height: 10px;
				background-color: #fff;
				border:1px solid #aaa;
				border-color: #aaa transparent transparent #aaa;
				transform-origin: top right;
				transform: rotate(-45deg);
			}
			.article-commentlist-author {
				content: "";
				position: absolute;
				top: 0;
				right: 100%;
				width: 60px;
				text-align: center;
				font-size: 0.9em;
				margin-right: 10px;
			}
				.article-commentlist-author .icon-user {
					width: 40px;
					display: inline-block;
					height: 40px;
					line-height: 40px;
					font-size: 20px;
					border:1px solid #aaa;
					border-radius: 50%;
					margin-bottom: 5px;
				}
					.article-commentlist-author .icon-user::before {
						margin: 0;
					}

			.article-commentlist-text {
				text-align: left;
				padding: 10px;
				word-wrap: break-word;
				line-height: 1.2em;
			}
			.article-commentlist-date {
				color: #bbb;
    			font-size: 0.8em;
				padding: 5px 10px;
				text-align: left;
			}

		.article-comment-laura {
			border:1px solid #854293;
			margin: 20px 0 20px 40px;
		}
			.article-comment-laura::after {
				left: 100%;
				right: auto;
				border-color: #854293 #854293 transparent transparent;
				transform: rotate(45deg);
				transform-origin: top left;
			}
			.article-comment-laura .article-commentlist-author {
				left: 100%;
				right: auto;
				margin-right: 0;
				margin-left: 10px;
			}
				.article-comment-laura .article-commentlist-author img {
				    height: 40px;
    				margin-bottom: 2px;
				}
			.article-comment-laura .article-commentlist-text {
				color: #854293;
			}
			.article-comment-laura .article-commentlist-date {
				text-align: right;
			}


	.commentform {
		border-top: 1px solid #eee;
		padding-top: 40px;
		max-width: 400px;
		display: inline-block;
		text-align: right;
	}
		.commentform input,
		.commentform textarea {
			width: 100%;
			box-sizing: border-box;
			border:1px solid #aaa;
			padding: 10px;
			margin: 0 0 10px;
		}
		.commentform .btn {
    		font-size: 100%;
		}
		.commentform-logged {
			padding: 0 0 10px;
			font-style: italic;
			font-size: 0.8em;
		}



/*==============================================*\
			Search
\*==============================================*/

.page-title {
	color: #854293;
	font-family: "bebas";
	font-size: 2.8em;
    text-align: center;
	padding: 10px 0;
}
.searchpage-title {
	color: #888;
}
	.searchpage-title span {
		color: #854293;
	}

.searchpage-resultnumber {
	text-align: center;
	padding-bottom: 40px;
	font-size: 0.9em;
}
	.searchpage-resultnumber span{
		color: #854293;
		font-family: "bebas";
	}





/*==============================================*\
			Responsive
\*==============================================*/


@media (max-width: 950px) {
	.footer-alm {
		padding-right: 0;
		height: 80px;
	}
	.footer-alm-text {
		display: none;
	}
	.alm {
		position: relative;
		right: auto;
		max-width: 80%;
	}
	.upplease {
		width: 100%;
	    bottom: -20px;
	}
	.article-detail-content {
		padding: 0 0 40px;
	}
	
}




@media (max-width: 800px) {
	.main.max-width {
		padding: 0 0 40px;
	}

	.nav {
		position: relative;
		top: 0;
		margin-bottom: 20px;
	}
		.nav-list {
		    position: relative;
		    display: flex;
		    padding: 0;
		}
		.filter-list {
			float: none;
			padding: 0;
		}
			.nav-list li {
		    	flex: 1 1;
			}
				.nav-item {
					margin:0;
					width: 100%;
					border-radius: 0;
				}
					.nav-item span {
						font-size: 1em;
					}
					.filter-item span {
						font-size: 0.8em;
					}
				#main-nav .nav-item:hover,
				#main-nav .nav-item:focus {
					margin: 0;
					box-shadow: 0 0 0 1px rgba(255,255,255,0.5) inset;
				}

	.nav-fixed {
		position: fixed;
		top: 0;
		width: 100%;
		height: 50px;
	}
		.nav-fixed .nav-item {
			height: auto;
    		padding: 10px 0;
		}
		.nav-fixed .filter-item {
			height: auto;
    		padding: 5px 0;
    		font-size: 0.8em;
		}
			.nav-fixed .nav-item::before {
				margin: 0;
				font-size:2em;
			}
			.nav-fixed .nav-item span {
				display: none;
			}


	.article-detail {
		padding: 0 20px;
	}
		.article-detail-ingredients {
			float: none;
    		margin: 20px auto;
		}
		.article-detail-content-text {
			margin: 20px;
		}
}



@media (max-width: 600px) {
	.home-header .logo,
	.header .logo {
	    height: auto;
	    width: 100%;
	}

	.follow-link {
		font-size: 2em;
		margin: 0;
	}
		.follow-link span {
			display: none;
		}

}

@media (max-width: 440px) {
	.header,
	.home-header {
		padding: 0;
	}
	.home-header .logo,
	.header .logo {
	    margin: -10px 0 -20px 0;
	}
	.header .searchform,
	.home-header .searchform {
		padding: 0;
		position: relative;
    	width: auto;
    	margin: 0;
	}
	.searchform-input {
	    width: calc(100% - 70px);
	}
	.main.max-width {
		width: 100%;
		overflow: hidden;
	}
	.commentform {
		width: 90%
	}

}
