/*
Theme Name: Knet Theme
Theme URI: http://khilafha.net/
Author: David
Author URI: http://khilafha.net/
Version: 1.0
Description: This is Khilafha.net Wordpress Theme.
Tags: Wordpress, Multipurpose, Magazin.

*/
body {
	background: #f7f7f7;
font-family: 'Changa', sans-serif;
}
ul, li {
	list-style: none
}
.container {
	max-width: 1170px;
	width: auto
}
.nav-bar-top {
	background:#212121
}
.nav-bar-top .navbar-inverse {
	background: none;
	margin: 0;
	min-height: 0;
	padding: 5px 0
}
.main-bann img {
	max-width: 100%;
	height: auto
}
.main-nav > li > a {
	font-size: 15px; 
	color: #FFD287;
	border: 1px solid #184064;
	border: 1px solid #E9EBEE;
	border-radius: 3px;
	background: #212121;
	font-family: 'Changa', sans-serif;
    padding-left:10px;
    padding-right:10px;
}
.main-nav > li > a:hover, .main-nav > li > a:focus, .main-nav > li > a:active, .main-nav > li.open > a:focus {
	background: #9D9FA0; 
	color: #212121;
}
.main-bann {
	margin-bottom: 20px
}
.main-padding {
	/*padding: 15px;
	background: #89b0cf;
	background: #E9EBEE url(images/blue-bg.jpg) repeat-x top left;
	background: #9D9FA0*/
}
.container-main-nav {
 font-family: 'Changa', sans-serif;
}.container-main-nav, .container-top-menu {
	position: relative;
}
.container-main-nav .navbar-toggle {
	position: static;
	right: 0;
	top: 0;
	float: none;
	display: block;
	background: #212121
}
.container-top-menu .navbar-toggle {
	position: absolute;
	right: 0;
	top: -30px;
	float: none;
	display: block;
	background: #cc9e39;
	padding: 6px;
	margin: 0
}
.container-main-nav .navbar-toggle span {
	background: white
}
.menu_small_home {
  width:0.5% !important;
}

.owl-carousel {
	direction: ltr
}
.owl-carousel {
	-webkit-text-size-adjust: auto
}
/******************/
.glyphicon {
	margin-right: 4px !important; /*override*/
}
.pagination .glyphicon {
	margin-right: 0px !important; /*override*/
}
.pagination a {
	color: #555;
}
.panel ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
}
.news-item {
	padding: 4px 4px;
	margin: 0px;/*border-bottom: 1px dotted #555;*/
}
.ul-mawed-dostour {
	list-style: none;
	padding: 20px;
	margin: 0;
	background: #fff;
 
}
.scroll-mawed-dostour {
	height: 170px !important;
	overflow:hidden
}
.asScrollable-bar{right:auto; left:0}
.elm-dostour img {
	max-width: 100%;
	height: auto
}
.mawed {
	font-size: 16px;
	color: #1E1F20;
	font-weight: normal
}
.div-dostour-book, .latest-ad {
	border-top: #02b1f2 4px solid;
	border-bottom: #02b1f2 1px solid;
	background: #f0f0f0;
	padding: 0 20px 20px;
	margin-top: 20px;
	border:  1px dashed #bc852b ;
} 
.div-dostour {
	border-top: #02b1f2 4px solid;
	border-bottom: #02b1f2 1px solid;
	background: #f0f0f0;
	padding: 0 20px 20px;
	position: relative;
	border:  1px dashed #bc852b ;
}
.div-dostour .panel-footer {
	position: absolute;
	left: 0;
	top: 0;
	background: none
}
.ajhizat {
	border-top: #02b1f2 4px solid;
	border-bottom: #02b1f2 1px solid;
	background: #f0f0f0;
	padding: 0 20px 20px;
	border:  1px dashed #bc852b ;
}
.ajhizat h2, .div-dostour h2, .div-dostour-book  h2, .latest-ad h2, .div-videotheque h2, .knet h3 {
	
	font-weight: bold;
	text-align:right;
	/*
	background-color: rgba(0,0,0,0.80);
	padding:10px 20px;
	*/
	color: #CCA56E;
	color: #1E1F20;
	font-size:22px; position:relative
}
  .ajhizat h2:after, .div-dostour h2:after, .div-dostour-book  h2:after, .latest-ad h2:after, .div-videotheque h2:after, .knet h3::after { content:"";     width: 50px;
    height: 5px;
    background-color: #cc9e39;
    margin: 10px 0  ; display:block
	}
.blocs-divers {
	margin: 15px 0 0;
	padding: 15px 0; 
	/*border-top: #02b1f2 4px solid;
	border-bottom: #02b1f2 1px solid;	
	border:  1px dashed #bc852b ;*/
	
	background: #968B82;
	background: #c6ad6d;
	background: #303030;
	background: #1E1F20;
	 
}
.blocs-divers .in-blocs-divers {
 
	background: #fff;
	padding: 15px;
	margin: 15px 0;
	/*-webkit-box-shadow: 0 0 10px #e5e6eb;
	-moz-box-shadow: 0 0 10px #e5e6eb;
	box-shadow: 0 0 10px #e5e6eb;*/
	background: #25282B;
	 border: 1px dashed #bc852b;
}
.in-blocs-divers h2 {
	display: inline-block;
	color: #fff;
	background: #212121;
	position: relative;
	margin: -15px -15px 10px 0;
	padding: 15px;
	font-size: 18px;
	line-height: 1;
	vertical-align: top;
	font-weight: bold
}
.in-blocs-divers img {
	max-width: 100%;
	height: auto
}
.list-blocs-divers {
	padding: 0;
	margin: 0
}
.list-blocs-divers li {
	padding: 5px 0;
}
.img-blocs-divers {
	float: right;
	margin-left: 3%
}
.content-blocs-divers {
	overflow: hidden;
	padding-top: 2%
}
.link-blocs-divers {
	display: block;
	overflow: hidden;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
	text-decoration: none
}
.link-blocs-divers:hover ,.link-blocs-divers:focus ,.link-blocs-divers:active{
	 
	color: #BC852B;
	 
}
.related-sites {
	border: #123c62 2px solid;
	background: #f0f0f0;
	padding: 15px 0;
	margin: 15px 0;
	background: #303030;
}
.related-sites h2 {
	display: inline-block;
	color: #fff;
	background: #BC852B;
	position: relative;
	margin: -15px 0 10px 0;
	padding: 15px;
	font-size: 18px;
	line-height: 1;
	vertical-align: top;
	font-weight: bold;
}
.related-sites footer {
	color: #fff;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	 
}
.owl-ajhizat .owl-next, .owl-kotob .owl-next {
	position: absolute;
	left: -25px;
	top: 50%;
	padding: 16px 8px;
	line-height: 1.42857143;
	color: #bc852b;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-top: -27px
}
.owl-ajhizat .owl-prev, .owl-kotob .owl-prev {
	position: absolute;
	right: -25px;
	top: 50%;
	padding: 16px 8px;
	line-height: 1.42857143;
	color: #bc852b;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin-top: -27px
}
.owl-carousel .owl-item img {
	height: auto
}
.ul-related-sites li a {
	color: #858585;
	font-size: 16px;
	font-weight: bold;
	display: inline-block;
	padding: 3px 0
}
.ul-related-sites li a span {
	margin-left: 10px;
	color: #BC852B
}
footer {
	margin-top: 30px
}
#search .form-control {
	max-width: 100% !important
}
#search .btn-success {
	max-width: 15% !important;
	overflow: hidden;
	text-indent: -999em;
	content: "\e003";
	/*background: #3a86b8;*/
	color: #fff;
	border: 1px solid #cc9e39;
	background:#cc9e39 url(images/search.png) center center no-repeat;
}
.form-group {
	max-width: 85% !important
}
.navbar-form {
	max-width: 100% !important;
	margin: 0
}
.khilafah_fail {
	color: #fff;
	font-size: 12px;
	padding-top:5px;
	 
	min-height:30px;
	font-weight: normal;
	line-height: 1.2;
	text-align: right;
	/*background: url(images/time.png) right center no-repeat;*/
	position:relative

}
 
.khilafah_fail img {
  vertical-align:middle; display:inline-block; margin-left:5px
}
.nb-day{ color:#bc852b}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 4s linear infinite;
  -moz-animation: rotating 4s linear infinite;
  -ms-animation: rotating 4s linear infinite;
  -o-animation: rotating 4s linear infinite;
  animation: rotating 4s linear infinite;

}



#top-menu > li > a {
	background: #BC852B;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 1px;
	color: #fff;
	font-weight: normal;
	font-size: 13px;
	padding: 6px 10px;
	font-family: 'Changa', sans-serif;
}
#top-menu > li > a:hover {
	background: #fff;
	color: #BC852B;
}
.pagi{
	display: block;
	box-sizing: border-box;
}
.nav-links > a, .nav-links > span{
	
	position: relative;
	float: right;
	padding: 6px 12px;
	line-height: 1.42857143;
	color: #212121;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	margin: 1px !important;
	border-radius: 0px !important;
}
.nav-links > a:hover, .nav-links > a:focus{
	z-index: 2;
	color: #BC852B;
	background-color: #eee;
	border-color: #ddd;
		 
}
.nav-links > .current{
	z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #BC852B;
    border-color: #BC852B;

}

.row-top {
	margin: 0
}
.div-videotheque {
	border-top: #02b1f2 4px solid;
	border-bottom: #02b1f2 1px solid;
	background: #f0f0f0;
	padding: 0 20px 20px;
	border:  1px dashed #bc852b ;
}
.latest-ad img {
	max-width: 100%;
	height: auto
}
.list-last-ad {
	padding: 0;
	margin: 0
}
.list-last-ad a {
	display: block;
	font-weight: normal;
	font-size: 15px;
	color: #000;
	position: relative;
	padding: 5px 30px 5px 5px
}
.list-last-ad a:hover, .list-last-ad a:hover  span{ 
	color: #BC852B;
	 
} 
.img-last-ad-link {
	display: block;
	font-weight: normal;
	font-size: 15px;
	color: #000;
	position: relative;
	padding: 5px 0 5px 5px
}
.list-last-ad a span {
	position: absolute;
	right: 0;
	top: 9px;
	font-size: 15px
}
/******Slideshow************/
#gallery {
	/*height:260px;*/
	overflow: hidden;
	padding: 0
}
#gallery >div {
	padding: 0
}
.main_image {
	position: relative;
	height: 260px;
	background-color: #000;
	overflow: hidden;
	z-index: 2
}
.main_image #slide {
	max-height: 260px
}
.main_image #slide img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 260px
}
/*.main_image .desc {
	position:absolute;
	bottom:0;
	left:18px;
	display:block;
	width:250px;
	height:260px;
	background:url(images/png/bg_news.png) left top repeat;
	overflow:hidden
}*/
.block {
	text-align: right;
	font-family: FontNassim, sans-serif;
	color: #FFF;
	padding: 15px 8px 0
}
.block h3 {
	font-size: 1.5em;
	font-family: FontNassim;
	margin: 0 0 7px;
	padding: 10px 0 0
}
.block p {
	font-size: 1.067em;
	line-height: 130%;
	margin: 0;
	padding: 0 0 10px
}
.block p a, .block p a:visited {
	text-decoration: underline;
	color: #fff
}
.block p a:hover {
	text-decoration: none;
	background-color: #fffffd;
	color: #900
}
.image_thumb {
	background: #303030
}
.image_thumb ul {
	list-style: none;
	margin: 0;
	padding: 0
}
.image_thumb ul li {
	height: 65px;
	width: 100%;
	overflow: hidden;
	position: relative;
	vertical-align: top;
}
.image_thumb a {
	display: block;
	zoom: 1;
	color: #fff;
	overflow: hidden;
	padding: 8px 10px 7px 5px;
	font-size: 1em;
	line-height: 1.1
}
.image_thumb a.last {
	background: none
}
.image_thumb ul li.hover {
	cursor: pointer
}
.image_thumb ul li.current {
	cursor: default;
	background: #BC852B;
	z-index: 20
}
.image_thumb img {
	width: 48px;
	height: 48px;
	border: 1px solid #F3F3F3;
	float: right;
	display: inline;
	margin-left: 10px
}
.current img {
	border: 1px solid #fff
}
.thumb {
	position: absolute;
	top: 0;
	left: 0
}
.more-link {
	background: #eee;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	height: 28px;
	width: 74px;
	line-height: 28px;
	color: #000;
	font-size: .917em;
	display: inline-block;
	text-align: center
}

.imgArticle img {
	width: 100%;
    max-width: 100%;
    height: auto
}
.imgArticle1 img {
	width: 32px;
	max-width: 32px;
	height: 32px;
	float: left;
}
.listItems .item {
    
	margin-bottom: 30px;
	padding-bottom: 30px;
	border: #BC852B 1px dashed;
    background: white;
    padding: 20px 0;
}
.listItems .item:last-child {
	 margin-bottom: 0
}
.dateArticle {
    color: #212121;
	font-size: 16px;
	font-weight: 500;
}
.listArticle   {
	padding:20px 15px;
     
}
.listArticle .title {
	color: #184064;
	margin: 10px 0;
	font-size: 18px ;
	font-weight: 500;
	line-height: 1.5
}
.listArticle .title a, .listArticle .title a:hover {
	 color: #bc852b;
    font-weight: bold;
    font-size: 20px
}
.listArticle .desc {
	font-size: 18px;
    color: #000
}
.pagination>li>a, .pagination>li>span {
    margin: 1px !important;
    -webkit-border-radius:0px !important;
    -moz-border-radius:  0px !important;
    border-radius: 0px !important; 
	color:#212121
}
.pagination>li>a:hover  {color:#bc852b}
.padding_detail{    border-top: #02b1f2 4px solid;    border-bottom: #02b1f2 1px solid; padding: 40px; margin-top: 20px; background: #fff;
    overflow: hidden;     border: 1px dashed #bc852b;}


 

.articleDetail  > div.descArticle{font-size:16px; margin:0; line-height:1.5}
.descArticle a{color:#BC852B}
.articleDetail  .imgArticle{margin-bottom:30px}
.articleDetail  .imgArticle1{margin-bottom:30px}


.articleDetail{float:none !important}
 
.articleDetail .title{margin:10px 0 30px 0; font-size:25px} 
 
 
.bottomlinks{
        font-size: 16px;
    border-top: 1px solid #e8e8e8;
        margin-top: 30px;
    padding-top: 30px;
    width: inherit;
    float: none;
}
.retour a {
    
    font-size: 14px;
    color: #b7b7b7;
    border-radius: 4px;
    border: 1px solid #b7b7b7;
    padding: 0 10px;
    font-weight: bold;
    line-height: 2.5;
    background: #f7f7f7;    position: relative;
    display: inline-block;
}.retour a:hover {
    
    color: #BC852B;
   
    border: #BC852B 1px solid;
  
    background: #f7f7f7;
    text-decoration: none
   
}
 .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus{
    
         background-color:#BC852B;
    border-color: #BC852B
}
.align-share{ text-align: left}
.container-search{ padding: 8px 10px; background: #f0f0f0}
.current-date{ padding: 8px; color: #212121; font-weight: normal;font-size: 14px}

/*********/
.dropdown-submenu {
    position: relative;
}
.dropdown-menu{ width:300px}
.dropdown-menu > li > a{ white-space:normal}
.dropdown-menu-right{ right:auto !important; left:0 !important}
.dropdown-menu-right-all{ right:auto !important; left:100% !important}


.dropdown-submenu:hover>.dropdown-menu, .nav-justified > .dropdown .dropdown-submenu:hover>.dropdown-menu ,
.dropdown-submenu:focus>.dropdown-menu, .nav-justified > .dropdown .dropdown-submenu:focus>.dropdown-menu 
{
    display: block;
}
/************/


@media(max-width:768px) {
.main-nav {
	display: none;
	padding-top: 20px
}
.top-menu {
	display: none;
}
.dropdown-menu {
	position: static;
	width: auto;
	float: none;
	margin-bottom: 5px
}
.container-main-nav .navbar-toggle {
	margin: -10px 0
}
.navbar-form {
	max-width: none !important;
	padding: 10px 0
}
.form-group {
	max-width: none !important;
}
#search .btn-success {
	max-width: none !important;
	display: block;
	text-indent: inherit;
	width: 100%;
	background-image:none
}
.khilafah_fail {
	min-height: 30px;
	text-align: left
}
#top-menu > li > a{ margin:2px 0}
}
@media(min-width:768px) {
.main-nav, .top-menu  {
	display: block !important;
	height: auto !important
}
    
    


.dropdown-submenu>.dropdown-menu,.nav-justified > .dropdown .dropdown-submenu>.dropdown-menu {
    top: 0;
    right: 100%;
    margin-top: -6px;
    margin-right: -1px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}



.dropdown-submenu>a:after,.nav-justified > .dropdown .dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-right-color: #ccc;
    margin-top: 5px;
    margin-left: -10px;
}

.dropdown-submenu:hover>a:after, .nav-justified > .dropdown .dropdown-submenu:hover>a:after,
.dropdown-submenu:focus>a:after, .nav-justified > .dropdown .dropdown-submenu:focus>a:after{
    border-right-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu, .nav-justified > .dropdown .dropdown-submenu.pull-left>.dropdown-menu {
    right: -100%;
    margin-right: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

 
}
@media(max-width:480px) {
	.div-dostour .panel-footer{ position:static}
    .padding_detail{ padding: 10px}
}

h2 a {
color: #1E1F20;
}