/*
 Theme Name:   Theme SES
 Theme URI:    https://www.ses-sterling.com/blog
 Description:  Theme enfant ses sterling
 Template:     twentyseventeen
*/

.navigation-top {
	background: #05375a;
	border-top: none; 
}

.navigation-top a {
	color: #ff6900;
}

.navigation-top .wrap {
	padding: 0;
}

.main-navigation a {
	padding: 1.25em;
}

.main-navigation > div > ul > li:last-child {
	background: #ff6900;
	float: right;
	margin-right: 50px;
}

.main-navigation > div > ul > li:last-child a {
	color: #05375a;
}

.sub-menu li {
	background: #ff6900;
}

.sub-menu li a {
	color: white;
}

.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
	color: white;
}

.widget_polylang ul {
	display: flex;
}

.widget_polylang  ul li {
	padding: 0.5rem;
}

.widget_polylang:not(.widget_tag_cloud) ul li + li {
	margin-top:0;
}

.site-info {
	display: none; 
}

.social-navigation a {
	background-color: #05375a;
}

.social-navigation a:hover {
	background-color: #ff6900;
}

.menu-toggle {
	color: #fff;
}

.custom-header {
	height: calc(50vh - 32px) !important;
}

.site-branding {
	background: rgba(0,0,0,0.4);
	padding: 20px !important;
	position: absolute;
	bottom: 0;
	display: block;
	height: auto;
	width: 100%;
}

#content > div:first-child {
	max-width: 80%;
}

.site-footer .widget-column.footer-widget-1 { 
	float: none;
	margin: auto;
	text-align: center;
}

.social-navigation {
	width: 100%;
	float: none;
	text-align: center;
}

footer .wrap, .site-footer .widget-area, #text-2 {
	padding-bottom: 0;
}

.site-footer > div:first-child {
	width: 100%;
	max-width: 100%;
	padding:0;
	margin:0;
}

.site-footer .widget-area {
	text-align: center;
	background: #001f39;
	width: 100%;
	position: relative;
	bottom: 0;
	padding: 0;
}

.site-footer .widget-area .textwidget a, .site-footer .widget-area .textwidget p {
	color: #ff6900;
	font-weight: bold;
	margin: 5px;
	text-decoration: none;
}

.site-footer .widget-area .textwidget a:hover {
	color: white;
}

.site-footer .widget-area .textwidget {
	display: flex;
	justify-content: center;
}

.widget a, .site-footer .widget-area a {
	box-shadow: none;
}

.widget a:hover, .site-footer .widget-area a:hover {
	box-shadow: none !important;
}

.widget a {
	border-bottom: 1px solid silver;
}

.widget a:hover {
	color:#ff6900;
}	

h1 {
	color: #001f39;
}

h2 {
	color: #ff6900;
}

h1, h2 {
	font-size: 1.5rem;
	margin: 10px 0;
}

.entry-content h2 {
	background-color: #ff6900;
	color: white;
	padding: 3px 10px;
}


.widget {
	padding: 10px 0;
}	

#primary a {
	color: #001f39;
	font-weight: 600;
}

#primary a:hover {
	color: #ff6900;
	box-shadow: none;
}


.entry-content a {
	font-weight: normal !important;
	box-shadow: none;
	border-bottom:1px solid silver;
}


.site-content {
	padding: 2.5em 0 0 !important;
}

.button_ses {
	text-align: center;
	margin: 20px 0;
}

.button_ses a {
	padding: 2rem;
	border-radius: 10px;
	background: #001f39;
	color: #ff6900;
	font-weight: bold;
	border: 2px solid #ff6900;
	white-space: nowrap;
}

.center {
	margin: 0 auto;
}

.button_ses a:hover {
	background: #ff6900;
	color: #001f39;
	border: 2px solid #001f39;
}

.cadre_ses {
	border: 2px dashed #05375a;
	padding: 8px;
}

#secondary section:last-child {
	margin-top: 50px;
}

.post_ses {
	display: flex;
}

.post_ses_content {
	display: flex;
	flex-direction: column;
	flex:1;
	margin-left: 10px;
}

.post-thumbnail {
	width: 300px;
}

.blog .site-main > article {
	padding-bottom: 0;
	padding-top: 10px;
}

.wp-colorbox-image img {
	margin: 0 auto;
	display: block;
}

.post-edit-link {
	color:white !important;
}

.sep {
	margin-top: 10px;
	border-top: 1px solid silver;
}

h3.entry-title {
	font-size: 18px !important;
}

.entry-content {
	margin: 0;
}

.page {
	display: flex;
	flex-direction: column;
}

.page .entry-content, .page .entry-header {
	width: 100% !important;
}

.page .entry-title {
	text-align: center;
}

.entry-content ul {
	list-style: none;
	margin-left: 10px;
}


.entry-content ul li::before {
	content: "\2022";
  	color: #ff6900;
  	font-weight: bold;
  	display: inline-block;
  	width: 1em;
}

.wp-block-gallery .blocks-gallery-item::before {
    	content: "";
}

.link-more {
	text-align: right;
}

.link-more a {
	color: #ff6900 !important;
	text-decoration:none !important;
	font-weight: bold !important;
	border-bottom: 1px solid transparent;
}

.link-more a::after {
	content: "\2666";
	padding-left: 3px;
}

.link-more a:hover {
	border-bottom: 1px solid #ff6900;
}



@media screen and (max-width: 48em) {

	.post_ses {
		display: block;
	}

	.post-thumbnail {
		width: 100%;
	}	

}

@media screen and (min-width: 48em) {
	
#primary {
	width: 70% !important;
	margin: auto;
}

#secondary {
	width: 25% !important;
}

}

.tablepress-id-1 thead {
color: #FF6900;
background-color: #001f39;
}

.tablepress-id-2 thead {
color: #FF6900;
background-color: #001f39;
}

.tablepress-id-3 thead {
color: #FF6900;
background-color: #001f39;
}

.tablepress-id-4 thead {
color: #FF6900;
background-color: #001f39;
}

.tablepress-id-5 thead {
color: #FF6900;
background-color: #001f39;
}

.tablepress-id-6 thead {
color: #FF6900;
background-color: #001f39;
}