/*
Theme Name: Mantra child theme
Theme URI: http://somelink.com/
Description: This is a child theme for the Mantra theme.
Author: Your name
Author URI: http://somelink.com/me/
Template: mantra
Version: 1.0
*/

@import url("../mantra/style.css");
@import url("http://fonts.googleapis.com/css?family=Lateef|Scheherazade|Amiri:400,700&subset=arabic");
/* Remove border of slider on presentation page */
#slider {
border:none !important;
}

#access ul li {
    background: #EAEAEA none repeat scroll 0% 0%;
	font-weight: bold;
}

/* Remove border of columns' images on presentation page */
.column-image {
border:none !important;
}

/* Articles' titles size */
#content .entry-title {
	font-size: 26px  !important;
}
/* correct the alignment of widget titles */
.widget-title {
	text-align: right !important;
	font-weight: bold;
	padding: 4px 10px 4px 10px !important;
	border-radius: 15px 0px 0px !important;
}
/* change font-style of blockquote */
blockquote {
    font-style: normal;
}
/* Reduce margin of first title on presentation page */
#front-text2 h1 {
    margin-bottom: 0px !important;
}
/* correct the "widget search" input position */
.widget_search #s, #search #s  {/* This keeps the search inputs in line This is the Sidebar Search*/
	right:40px;top:0 !important;
	width:85% !important;
	border-radius: 6px 0px 0px 6px;
}
.widget_search #searchsubmit {
	width: 40px !important;
}
/* correct the "page search" input position */
.contentsearch #searchsubmit{
	left: 0px !important;
	border-radius: 0px 10px 10px 0px !important;
}
.contentsearch #s {
	border-radius: 10px 0px 0px 10px !important;
}

/* Contact form 7 textarea dimensions */
.wpcf7 textarea {
    /* width: 90%; */
    height: 10em;
}

#content, #content p, #content ul, #content ol, #content input, #content select, #content textarea {
    font-size: 13px !important;
    text-align: right;
}

#content, #content p, #content ul, #content ol, #content input, #content select, #content textarea {
    font-size: 13px !important;
    text-align: right;
}

/*==================================================================*/
.annonce-card {
	padding: 20px;
	width: 100%;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
        transition: transform 0.2s;
	transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
	
.annonce-body { padding: 15px; flex-grow: 1; }
	
.article-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    
.article-img { width: 100%; height: 150px; object-fit: cover; }
.article-body { padding: 15px; flex-grow: 1; }
.article-title { margin-top: 0; font-size: 1.2rem; color: #2c3e50; }
.article-text { font-size: 14pt; color: #404040; line-height: 1.5; }

 .widget {
	background: #fdfdfd;
	padding: 15px;
	border-radius: 8px;
	border: 1px solid #eee;
	margin-bottom: 20px;
}

.widget-title { 
	width: 99%;
	margin-right: 0px !important;
	margin: auto;
	font-size: 1.1rem; 
	margin-top: 0; 
	color: #2c3e50;
	padding: 4px 10px 4px 10px;
	margin-bottom: 15px;
	background-color: #2c3e50;;
	color: white;
	text-align: center !important;
}
    
.widget-image { width: 100%; border-radius: 4px; }