/**
* Theme Name: PrisonJustice44
* Theme URI: 
* Description: Theme for PrisonJustice44
* Template: catch-responsive
* Version: 1.0.0
* Author: Jean-Yves BURGAUD
* Author URI: http://rezo.dev
* Tags: 
* Text Domain: 
* Copyright: (c) 2024 Jean-Yves BURGAUD, Nantes, France
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* colors from logo
 * blue: #00497f; 0,73,127
 * yellow: #f89b08; 248,155,8
 * green: #2da944; 45,169,48
*/

.site {
	margin: 0 auto;
	width: 95%;
}

#main {
	width: 95% !important;
}


/* --- logo --- */

#site-branding {
	padding: 0;
}


/* --- fil d'ariane --- */

.home #breadcrumb-list .wrapper {
	font-size: 85%;
    padding-bottom: 10px;
}

#breadcrumb-list .wrapper {
    padding: 5px 20px 0;
	font-size: 10px;
}

#breadcrumb-list .wrapper a:hover {
	color: #fff;
}


/* --- nav --- */

.nav-primary, .nav-footer {
	background-color: #00497f;
}

.catchresponsive-nav-menu .sub-menu a:hover, .catchresponsive-nav-menu .children a:hover {
	color: #fff;
	background-color: #00497f;
}

.catchresponsive-nav-menu .sub-menu a, .catchresponsive-nav-menu .children a {
	color: #00497f;
	background-color: #fff;
}

.catchresponsive-nav-menu .sub-menu li a:hover, .catchresponsive-nav-menu .sub-menu li a:focus, .catchresponsive-nav-menu .children li a:hover, .catchresponsive-nav-menu .children li a:focus, .sidebar-header-right .widget_nav_menu .sub-menu li a:hover, .sidebar-header-right .widget_nav_menu .sub-menu li a:focus {
	color: #fff;
	background-color: #00497f;
}

#mobile-header-left-nav a:hover {
	color: #fff;
}


/* --- main page : slider --- */

#feature-slider {
	padding-bottom: 0;
	background-color: #fff;
	padding: 3%;
}

#feature-slider .entry-container {
	background: rgba(0,0,0,0.4);
	padding: 0;
	margin-bottom: 5px;
	border-radius: 16px;
}

#feature-slider .entry-title a {
	display: none;
}

#feature-slider .entry-content p {
	color: #1b8be0;  /* blue */
	font-size: 150%;
}


/* --- main page : message under slider --- */

#featured-content .featured-heading-wrap, .section .section-heading-wrapper {
	padding: 4rem;
}

#featured-content a {
	color: #00497f;
}

#featured-content a:hover {
	color: #fff;
}


/* --- main page : list of articles --- */

.excerpt-image-left .has-post-thumbnail .archive-post-wrap .featured-image, .excerpt-image-right .has-post-thumbnail .archive-post-wrap .featured-image {
	max-width: inherit;
}


/* --- hX, a, img --- */

h1, h2, h3, h4, h5, h6 {
	color: #00497f !important;
}

.entry-title {
	font-size: 3.2em;
}

h2.wp-block-heading { 
	font-size: 2.8em;
	margin-top: 1.5em;
}

h3.wp-block-heading { 
	font-size: 2.2em;
	margin-top: 1em;
}

a {
    color: #00497f;
    cursor: pointer;
    text-decoration: none !important;
}

#content a {
	padding: 0 8px;
	border-bottom: 1px dashed #2da944;
}

#content a:hover {
	color: #fff;
	background-color: #00497f;
	border-radius: 8px;
}

a, h1 a, h2 a, h3 a, h4 a {
    color: #00497f;
    cursor: pointer;
    text-decoration: none;
}

a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
    color: #fff;
	background-color: #00497f;
    cursor: pointer;
    text-decoration: none;
	border-radius: 8px;
}

img {
	margin: 8px;
	border-radius: 8px;
}

figure {
	margin: 0 auto;
	text-align: center;
}


/* --- footer --- */

#tag_cloud-2 h4.widget-title {
	display: none;
}

#tag_cloud-2 a {
	padding: 0 8px;
	border-radius: 8px;
}

#tag_cloud-2 a:hover {
	padding: 0 8px;
	color: #fff;
	background-color: #00497f;
}

#block-3 {
	padding: 0 !important;
}

#block-3 .wp-block-loginout {
	text-align: right;
}
	
#block-3 .wp-block-loginout a {
	color: #2da944;
    background-color: #f8deb4;
	padding: 0.3em 2em;
	border-radius: 12px;
	font-weight: bold;
	border: 1px solid #f89b08;
}


#block-3 .wp-block-loginout a:hover {
	color: #f8deb4;
    background-color: #2da944;
}



