/*
Theme name: Julien - v1
Author: Julien Lamouroux
Description: Thème from scratch de Julien Lamouroux
Thème URI: https://julienlamouroux.fr/blog
Version: 1.0
*/


body {
	font-family: raleway, sans-serif;
	color: #333;
	background-color: #f2f2f2;
	margin: 0;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

main {
	max-width: 1100px;
	width: auto;
	margin-right: auto;
	margin-left: auto;
	padding-top: 10px;
}

img { 
	max-width: 100%; 
	height: auto; 
}

a {
	text-decoration: none;
	color: #333;
	font-family: raleway, sans-serif;

}

hr {
  margin-left: 0;
  width: 100%;
  height: 1px;
  background-color: #f4f4f4;
  border: none;
}

h1 {
	font-family: raleway, sans-serif;
}

h2 {
	font-size: 23px;
	font-weight: 600;
}

h3 {
	padding-top: 10px;
}

.content h2 {
		color: #3660d0;
		padding-top:20px;
	}

p {
	text-align: justify;
	font-size: 17px;
}


/* header + menu */
.header {
	background-color: #ffffff;
	font-family: helvetica;
	letter-spacing: 1.1;
	display: flex;
}

.container_header {
	width: 1060px;
	display: flex;
	margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

.container_logo {
width: 20%;
float:left;
padding-top: 10px;
padding-bottom: 10px;
width: 160px;
}


.logo {
	width: 160px;
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
}

.container_menu {
	width:70%;
	text-align: right;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 13px;

 
}

.menu .menu-item {
	list-style-type: none;
	display: inline-block;
    padding-left: 40px;
    font-size: 15px;
    font-weight: 500;
    font-family: raleway, sans-serif;
}

.menu .menu-item a, main article a {
	text-decoration: none;
	color: #333;
}

.menu .menu-item a:hover, main article a:hover {
	transition-property: color;
	transition-duration: 0.3s;
	color: #3d90e4;
	text-decoration: none;
}

#menu-item-355 a:hover {
	color:#3ba6dd;
}

#menu-item-356 a:hover {
	color:#fc9621;
}

#menu-item-628 a:hover {
	color:#a625f5;
}

#menu-item-359 a:hover {
	color:#000000;
}



.burger-icon
{
  color:#000000;
  height:50px;
  position:relative;
  display: none;
}

.burger-icon .searchbox {
	margin-top: 30px;
}

.burger-icon .searchbox input {
	height:40px;

}

.burger-icon .search1 {
	color:#8e99a4;
}
  



.burger-icon nav
{
  background:#ffffff;
  font-size:20px;
  height:0;
  overflow:hidden;
  transition: width 0.4s, height 0.4s, background-color 0.4s, transform 0.4s;
}

.burger-icon nav > *
{
  display:block;
  letter-spacing:1px;
  line-height:2.5;
  padding:0;
  width:100%;
  text-align: center;
}

.burger-icon nav input
{
  background:rgba(0,0,0,.2);
  border:none;
  color:#fff;
  text-align: center;
  padding: 0;
}


.burger-icon .burger {
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  color:inherit;
  cursor:pointer;
  font-family:'Material Icons';
  font-size:30px;
  line-height:50px;
  margin:0;
  padding:0;
  position:absolute;
  text-align:center;
  top:0;
  right:10px;
  width:50px;
}

.burger-icon .burger:before
{
  content:'menu';
}

.burger-icon .burger:checked:before
{
  content:'close';
}

.burger-icon .burger:checked + nav
{
  height: 100vh;
  width: 250px;
  z-index: 10;
  margin-top: 60px;
  padding-top:20px;
  text-align: center;
  font-weight: 500;
}


/* Recherche */

 .container-searchbox {
 	float:right;
	margin-top: auto;
	margin-bottom: auto;
	padding-top: 13px;

	width:20%; 
	padding-left: 20px;
	text-align: right;
	}

  .searchbox input:focus {
    outline: none; /*by default,input shows an outline on focus */
  }
  .searchbox input {
    width: 200px;
    height: 30px;
    background-color:#f1f3f4;
    border: 2px solid #f1f3f4;
    border-radius: 10px;
  }

 .search1 {
  color:#8e99a4;
  font-weight: 400; 
  padding-left: 20px;
  font-size: 16px;
  z-index: 3;
 }

/* Fin recherche */


/* Fin header + menu */

/* Page index */
article {
	display: flex;
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 20px;
	background-color: #FFF;
	min-height: 330px;
	box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.02);
	border-radius: 10px;
}

.thumbnail {
    float: left;
    width: 40%;
    position: relative;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}



.post {
	width: 60%;
    float: right;
    padding-left: 20px;
    padding-right: 20px; 
    margin-top: auto;
    margin-bottom: auto;
}


.post h2:hover, .post a:hover {
	transition-property: color;
	transition-duration: 0.3s;
	color: #3d90e4;
	text-decoration: none;
}


.hr-index {
	margin-top: 50px;
	margin-left: 0;
    width: 100%;
    height: 1px;
    background-color: #f4f4f4;
    border: none;
}

.meta-index {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 0;
	font-size: 14px;

}

.date-index {
	display: inline-block;
	padding-left: 20px;
}

.temps-lecture {
	text-align: center;
	font-size: 13px;
}

.category-index ul {
    padding-left: 0;
	list-style-type: none;
	display: inline-block;
}

.meta-index .category-tech, .meta-article .category-tech {
	padding: 3px 10px;
	color: #ffffff;
	background-color:#fc9621;
	border-radius: 10px;
}

.meta-index .category-domotique, .meta-article .category-domotique {
	padding: 3px 10px;
	color: #ffffff;
	background-color:#a625f5;
	border-radius: 10px;
}

.meta-index .category-voyages, .meta-article .category-voyages {
	padding: 3px 10px;
	color: #ffffff;
	background-color:#3ba6dd;
	border-radius: 10px;
}


.pagination {
	text-align: center;
	margin-top:50px;
	margin-bottom: 40px;
    text-decoration: none;
    font-weight: 600;
}

.page-numbers {
	padding: 10px;
	color: #2f3339;
	height: 20px;
	width: 20px;
	display: inline-block;
	border: none;
	text-align: center;
	line-height: 20px;
}

.page-numbers.current {
	background: #3d90e4;
	color: #FFFFFF;
	border-radius: 20px;
}

.post-navigation {
    display: none;
}
/* Fin index */


/* détail article */
.article-detail {
	margin-left: 20px;
	margin-right: 20px;
	box-sizing: border-box;
	display: block;
	box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.02);
}

.title {
	margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 15px;
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.02);
}
   

.title h1 {
	margin-block-start: 0;
    margin-block-end: 5px;
}

.meta-article {
	text-align: center;
	font-size:13px;
	padding-bottom: 5px;
}

.thumbnail-article {
	display: block;
	width: auto;
	max-width: 1100px;
}

.content {
    padding-right: 100px;
    padding-left: 100px;
    padding-bottom: 30px;
    padding-top: 30px;
    display: block;
    background-color: #FFF;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.02);

}

.attachment-image-article {
    border-radius: 10px 10px 0 0;
}

.content a {
    text-decoration: underline;
}

.comments {
	padding-top: 40px;
}

.date-article {
	display: inline-block;
	margin-top: 0;
	padding-right: 50px;
}

.category-article ul {
	margin-top: 0;
    padding-left: 0;
	list-style-type: none;
	display: inline-block;
}
/* Fin détail article */


/* Signature auteur */
.contour {
    margin-top:20px;
    padding-top: 20px;
    padding-right: 100px;
    padding-left: 100px;
    padding-bottom: 10px;    
    display: block;
    background-color: #e3e8ed;
    border-radius: 10px;
    box-shadow: 0 3px 5px 0px rgb(0 0 0 / 2%);
	}

.photo {
	width: 120px;
	border-radius: 100px;
	border: 3px solid #39A6DC;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.soustitre {
	text-align: center;
	font-weight: 100;
	font-size: 18px;
	color: #4E4E4E;
	margin: 2px 0 0 0;
}

.description {
	text-align: center;
	font-weight: 300;
	font-size: 19px;
	color: #000000;
	width: 70%;
    margin-left: auto;
    margin-right: auto;
}

h4 {
color: #39A6DC;
font-weight: 600;
font-size: 30px;
text-align: center;
margin: 2px 0 0 0;
}

/* Fin signature */

/* Page newsletter */
.mail-contour {
		width: 60%;
		border: solid 4px #3e90e5;
		border-radius: 10px;
		margin: 0 auto;
		padding:10px 20px;
		background-color: #FFFFFF;
	}

.photo-mail-contour {
	width: 100px;
	text-align: center;
	border-radius:100px;
	border:4px solid #3e90e5; 
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: -65px;
}

#sib-container {
		padding: 0;
	}

.sib-form {
	padding: 0;
}
/* Fin page newsletter */

/* Footer */

footer {
	background-color: #3c3d41;
    width: auto;
	display: flex;
	color: #FFFFFF;
	margin-top: 40px;
	margin-left: auto;
	margin-right: auto;
	font-family: helvetica;
	letter-spacing: 1.1;
}

.container_footer {
	width: 1060px;
	display: flex;
	margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container_footer a {
	color: #FFFFFF;
}

.socials {
    width: 50%;
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 20px;
    padding: 20px 20px 20px 0;
}


.credit {
    width: 50%;
    text-align: right;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 13px;
    padding: 20px 0 20px 20px;
}

/* Fin footer */

/* --------------------------------------------------------- Mobile ---------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {
/* Index */
body {
	line-height: 1.6em;
}

.menu {
	display: none;
}

.container_header {
	width: auto;
	margin-left: 0;
	padding-left: 20px;
}

.container_logo {
width: 100%;
}

.logo {
	width: 120px;
}
.container_menu {
	display: none;
}

 .container-searchbox {
 	display: none;
 	}

.burger-icon {
	display: flex;
	margin-top: auto;
	margin-bottom: auto;
}

.burger {
	font-size: 30px;
	padding-right: 20px;
}



/* Nouveau menu */


/* fin nouveau menu */


article {
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 20px;
	flex-direction: column;
}

.thumbnail {
    min-height: 175px;
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}

.post {
	width: 95%;
    padding-left: 10px;
    padding-right: 10px;  
}

.post h2 {
	text-align: center;
}

.hr-index {
	margin-top: 10px;
}

.meta-index {
	display: block;
	text-align: center;
	margin: 20px 0px;
}



/* Article */
	main {
		padding-top: 5px;
		box-sizing: border-box;
	}

	.title {
		padding-left: 10px;
		padding-right: 10px;
	}

	.article-detail {
		margin-left: 10px;
		margin-right: 10px;
	}


    .content {
    padding: 12px;
	}

	.date-article {
		padding-right: 0;
	}

	.category-article {
		display:block;
	}

	h1 {
		margin-top: 10px;
		margin-bottom: 10px;
		line-height: 1.2em;
		font-size: 21px;

	}

	h2 {
		display: block;
		text-align: left;
	}

	p {
		display:block;
		font-size: 16px;
	}




/* Fin article */


/* Auteur */
.contour {
	padding-left: 10px;
	padding-right: 10px;
}

.photo {
	width: 100px;
	border: 3px solid #3e90e5;
}

.soustitre {
	font-size: 14px;
}

.description {
	font-size: 16px;
	width: 90%;
}

h4 {
font-size: 24px;
}

/* Fin Auteur */


/* Page newsletter */
.mail-contour {
		width: 80%;
/* Fin page newsletter */


/* Footer */

footer {
    width: auto;
}

.container_footer {
	margin-left: auto;
    margin-right: auto;
    display: block;
}

.container_footer a {
	color: #FFFFFF;
}


.socials {
    width: 100%;
    text-align: center;
    display: block;
    padding: 20px 0px;
}


.credit {
    width: 100%;
    text-align: center;
    display: block;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 20px;
}

/* Fin footer */

}


/* Mode sombre */

@media (prefers-color-scheme: dark) {
body {
	background-color: #191919;
	color: #f4f6f6;
}

.header {
	background-color: #303135;
}

.menu .menu-item a, main article a {
	color: #f4f6f6;
}

a {
	text-decoration: underline;
	color: #c0c2c2;
	font-family: raleway, sans-serif;

}

p {
	color: #c0c2c2;
}

article {
	background-color: #212121;
}

main .title {
	background-color: #212121;
	color:#f4f6f6;
}

main .title a {
	color:#f4f6f6;
}

.content {
	background-color: #212121;
	color:#f4f6f6;
}

 .searchbox input {
    background-color: #6e7071;
    border: 2px solid #6e7071;
  }

 .search1 {
  color: #ffffff;
 }

 ::placeholder { 
  color: #ffffff;
}

.page-numbers {
	color: #ffffff;
}

.burger-icon, .burger-icon a {
	color: #FFFFFF;
}

.burger-icon .burger:checked + nav {
	background-color: #303135;
}


}

/* Fin mode sombre */





