/**************************************
*                                     *
* Bab Jedid template                  *
* ==================                  *
* Styles used only for widescreen     *
*                                     *
**************************************/

/* Page margins */
body {
	background-color:#f8f8f8;
}
ol, ul {
	margin-right:42px;
}
.wrapper {
	display:block;
	margin:auto;
}

/* Central area of window */
div#wrap {
	width:1140px;
	background-color:#fff;
	text-align:right;
	margin:0 auto;
	padding:0;
	direction:rtl;
}
html>body #wrap {
	min-width:800px;
	max-width:1140px;
	width:auto;
}

/* Top bar styles */
div#topbar1 {
	float:right;
	margin-bottom:10px;
	background-color:#3a3a3a;
	width:5%;
	height:48px;
	text-align:right;
}
div#topbarmid {
	float:right;
	margin-bottom:10px;
	background-color:#3a3a3a;
	width:95%;
	height:48px;
	text-align:right;
}
div#topbar2 {
	display:none;
}

/* Header area (site banner) */
div#header {
	clear:both;
	margin:10px 50px;
	background:url(../images/maarifa-header-350.png) no-repeat;
	background-position:right;
	height:146px;
}

/* Horizontal main menu */
.menu-main
{
    list-style:none;
	margin: 0 auto;
    margin-top:10px;
	padding:0;
	width:960px;
	height:50px;
}
.menu-main li
{
    float:right;
	height: 38px;
	width: 160px;
	padding: 0 0 0 0;
	background-repeat: no-repeat;
	background-position: right top;
	color:#777777;
	border-width: 0 0 1px 1px;
}
.menu-main a
{
    display:block;
	padding-top: 4px;
	height: 34px;
	white-space: nowrap;
	text-align: center;
	font-size:14pt;
	color:inherit;
	text-decoration: none;
}
.menu-main li:hover
{
	background-color:#3a3a3a;
	color:#fff;
}
.menu-main ul
{
    list-style:none;
	display:none;
    position:absolute;
	margin-right:0;
	z-index:110;
}
.menu-main ul li
{
	width:auto;
	min-width:186px;
	height:32px;
	background-color:#3a3a3a;
    float:none;
}
.menu-main ul li .separator
{
	display:block;
	border-top:1px solid #888;
	padding:4px;
	font-weight:bold;
	color:#aaa;
}
.menu-main ul a
{
	text-align:right;
	width:auto;
	height:32px;
	border-top:1px solid #888;
	padding:2px 4px 4px 10px;
	color:#fff;
    white-space:nowrap;
}
.menu-main ul a:hover {
	background-color:#606060;
}
.menu-main li:hover ul{
	display:block;
}
.menu-main li:hover ul li a:hover{
/*    background:#eee;*/
}

div#user2 {
	float:right;
	margin-bottom:10px;
	padding-right:42px;
	width:45%;
	text-align:right;
}
div#user3 {
	float:left;
	margin-bottom:10px;
	padding-left:42px;
	width:45%;
	text-align:left;
}
div#user4 {
	clear:both;
	padding:16px 42px;
}

/* Content styles */
.contentpane
{
	clear:both;
	padding:0 42px;
}
.item-page, .blog
{
	clear:both;
	padding:0 42px;
}
.item img, .item-page img, .items-leading img
{
	float:right;
	margin:8px 0 8px 20px;
}
.bj_text_holder  /* Useful div class for displaying text with correct margins */
{
	margin:10px 42px;
	clear:both;
}

/* Grid layout - home grid slots, AV category view */
.bj_grid_table
{
	width:100%;
	margin:0;
	border-spacing:42px;
}
.bj_grid_slot
{
	width:50%;
	height:120px;
	background-color:#eee;
	margin:0;
	padding:0;
	cursor:pointer;
}
.bj_grid_slot:hover
{
	background-color:#f4f4f4;
}
.bj_grid_slot_disabled
{
	width:50%;
	height:120px;
	background-color:#f7f4f4;
	margin:0;
	padding:0;
}
.bj_grid_slot table
{
	margin:0;
	padding:0;
	border-collapse:collapse;
}
.bj_grid_image
{
	width:120px;
	line-height:0;
}
.bj_grid_image img
{
	width:120px;
	height:120px;
}
.bj_grid_title
{
	margin:0;
	padding:0 10px;
}
.bj_grid_title h2
{
	margin:8px;
	font-size:24pt;
	font-weight:normal;
	color:#3a3a3a;
}
.bj_grid_title p
{
	color:#3a3a3a;
}

/* moduletableflags - used for horizontal image menu (e.g. BWB flags) */
.moduletableflags
{
	width:880px;
	display:inline-block;
	list-style-type: none;
}

/* Footer bar styles */
div#user5 {
	margin-top:20px;
	background-color:#3a3a3a;
	width:100%;
	height:50px;
}

.moduletable {
	clear:both;
}

.moduletablespacebelow {
	clear:both;
	margin-bottom:10px;
}

/* moduletablefmenu - used for plain horizontal Footer Menu */
.moduletablefmenu {
	width: 100%;
	height: 2.2em;
	margin:4px 42px;
	list-style-type: none;
}
.moduletablefmenu li {
	float: right;
	margin: 16px 0 0 32px;
	font-size: 10pt;
}
.moduletablefmenu li a {
	display:block;
	height: 1.8em;
	color: #b7b7b7;
	text-decoration: none;
}
.moduletablefmenu li a.active, .moduletablefmenu li a:hover {
	color: #d7d7d7;
}

/* Call to action buttons */
.cta-button-half { width: 40%; }

/* Registration styles */
.registration, .remind, .reset
{
	margin:10px 42px;
	clear:both;
}
.red, .star { color:red; }
.registration input, .registration select, .controls input
{
	height:30px;
	border-radius:4px;
}
.control-group { margin: 10px 0; }
.control-group button
{
	margin:0.2em 0;
	border:0;
	border-radius:4px;
	padding:8px 12px;
	text-align:center;
	background-color:#3d65b0;
	color:#fff;
	font-family:Tahoma, Geneva;
	font-size:160%;
	cursor:pointer;
}
.control-group button:hover { background-color:#7393ce; }

/* Blog layout styling specific to widescreen */
.blog-item {
  flex-direction: row;
  padding: 0 .5em 1em;
  display: flex;
  overflow: hidden;
}
.blog-item h2
{
	height:60px;
	overflow:hidden;
}
