/**
Theme Name: Astra Child
Author: Nesortezpas.com
Description: theme NSP dedié
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



/* autre code */

.post-thumb-img-content.post-thumb {
    width: 100px;
    height: auto;
}

.entry-title { 
    font-size: 1.4rem;
}

.site-content {
    margin-left: auto; 
    margin-right: auto;
    max-width: 1024px;
    padding: 15px 0 15px 15px;
}

.nsp-link {
    display: flex; 
}

.link-content {
}

/* MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS MB CSS */

body {
	background-color:#ffffff !important;
}

/* Accroche  */

div.accroche {
	background-color:#f2f2f2;
	color: #374BFF;
	font-weight:bold;
	font-size:20px;
	text-align:center;
}

div.accroche p {
	margin-top:15px;
	line-height:24px;
	margin-bottom:18px;
}



/* Navigation catégories */

#content {
	padding-top:0;
	padding-bottom:40px;
	padding-left:0;
}

div.ast-container.menu-nsp {
	padding-left:0px !important;
	padding-top:10px;
	padding-right:0px;
	margin-left:-0px;
	margin-bottom:0px;
	position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  top: 0px;
	background-color:#ffffff;
	z-index:10;
}


#primary {
	margin-top:0px !important;
}

div.scrollmenu {
  	overflow: auto;
  	white-space: nowrap;
	width:100%; /* pour que ça dépasse un peu à droite */
	-ms-overflow-style: none;
}

div.scrollmenu::-webkit-scrollbar {
	display:none;
	}

#menu-menu-categories-nsp {
	list-style-type: none;
	margin-bottom:15px;
	background-color:#ffffff;
	width:100% !important; 
	padding:0px;
	margin-left:15px;
}

@media screen and (max-width: 479px) {
	#menu-menu-categories-nsp {
		min-width:930px; !important; /* fixé pour que tous les items qui arivent en premier au select restent bien sur la meme ligne */
	}	
}

#menu-menu-categories-nsp li {
	display: inline-block !important;
	margin-right:9px;
}

#menu-menu-categories-nsp li a {
	color:#A0A0A0;
	display:default;
	padding:1px 10px;
	border-radius:5px;
	font-size:14px;
}


#menu-menu-categories-nsp li a:hover {
	color:#31394D;
}

#menu-menu-categories-nsp li.current-menu-item a {
	color:#ffffff;
	font-weight:bold;
	background-color:#4EDDBB;
}

#menu-menu-categories-nsp li.current-menu-item {
		float:left; /* pour faire venir le current tout à gauche en premier */
}


/* post list */

div.post-nsp { 
	float:left;
	width:100%;
	margin-bottom:40px;
	padding:10px 10px 10px 20px;
	margin-right:15px;
}

span.thumb-nsp {
	width:70px;
	float:left;
}

img.wp-post-image {
	max-width:70px !important;
	max-height:70px !important;
}
/* taille des images */
@media screen and (min-width: 479px) {
	
	span.thumb-nsp {
	width:100px;
	}
	
	img.wp-post-image {
	max-width:100px !important;
	max-height:100px !important;
	}
	
	div.meta-nsp {
		margin-left:115px !important;
	}
	
}

div.content-post-nsp {
	width:100%:
	float:left;
	padding-left:15px !important;
}

div.content-post-nsp h2 {
	font-size:17px;
	width:100%;
}

div.meta-nsp {
		margin-left:85px;
	
}

span.time-nsp {
	display:block;
	float:left;
	font-size:11px;
	margin-top:3px;
	color:#aaaaaa;
}

span.category-nsp {
	display:block;
	float:left;
}


ul.post-categories {
		list-style-type: none;
		margin:0;
}

span.category-nsp ul li {
  display:inline-block;
}

ul.post-categories li a {
	color:#374BFF;
	display:inline;
	border-bottom:1px solid #4EDDBB;
	line-height:16px;
	margin-right:10px;
	font-size:12px;
}



div.post-nsp.featured-nsp { /* post featured */
	width:95%;
	border: 1px solid #4EDDBB;
	background-color:#fafafa;
	padding:20px;
}

div.lien-cool { /* post featured */
	background-color:#4EDDBB;
	color:#ffffff;
	text-transform:uppercase;
	font-size:11px;
	font-weight:bold;
	padding-left:5px;
	padding-right:5px;
	width:163px !important;
	text-align:center
}

a.admin-edit { /* lien edit pour admin */
	font-weight:bold;
	font-size:12px;
	display:block;
	float:right;
	padding:2px 7px;	
}

/* logo top */

.ast-logo-title-inline .ast-site-identity {
   display:block;
   text-align: center;
	 margin-right:60px;

}

.menu-toggle.main-header-menu-toggle.ast-mobile-menu-buttons-minimal {
	background: url("/wp-content/uploads/2020/04/burger-nsp.png") no-repeat ;
	background-size: 100%;
	background-position: top 15px left 0px;
}

.menu-toggle.main-header-menu-toggle.ast-mobile-menu-buttons-minimal.toggled {
	background: none;
}

.ast-button-wrap .menu-toggle .menu-toggle-icon:before {
	content:none;
	height:100px;
}





.site-branding img, 
.site-header .site-logo-img .custom-logo-link img {
    max-width: 210px;
}

div.main-header-bar-navigation li.menu-item a {
	color:#4EDDBB !important;
	font-weight:bold;
	font-size:14px;
	line-height:50px;
}
.main-header-bar-wrap {
    border-top: #4EDDBB 2px solid;
}

/* pagination */
.pagination {
	margin: 0 30px 30px 30px;
}

.pagination a {
	display:block;
	background:#4EDDBB;
	padding:7px 15px;
	color:#374BFF;
	font-weight:bold;
	border-radius: 8px;
}



