/*
Theme Name: Al Islam
Description: A theme for Al Islam
Version: 2.0
Author: Masood Nasir
*/

/* overrrides */

@import url('https://fonts.googleapis.com/css?family=Amiri:400,700&subset=latin,arabic');

h1, h2, h3, h4, h5, h6 {
    font-weight: 100;
}
/* Begin Structure */

body {
	background: url("/sitewide-images/homepage-images/bg_al-islam.gif");
	margin: 0 20px 20px 20px;
	padding: 0;
	}
/* hide content from css-enabled browsers */
.accessible {
	display: none;
	}

html > body #container-page {
	max-width: 1100px;
	margin: 0 auto;
}
html > body #container-body {
    margin: 2px auto 10px auto;
	padding: 20px 40px;
	width: auto;
	background-color: #fff;
}

#container-body a{
        color: #598059;
	}
#container-body a:hover{
        color: #0f400f;
        text-decoration: underline;
	}

/* =Branding
----------------------------------------------- */

#container-branding {
	text-align: center;
	}

#bismillah {
	color: #fff;
	font-size: 16px;
}

#logo {
	height: 70px;
	width: 70px;
	background: url(/urdu/wp-content/themes/alislam_urdu/logo.svg) no-repeat;
	background-position: left;
	float: left;
  margin-right: 15px;
}

#sitename {
	color: #fff;
	text-align: left;
	padding-left: 0px;
}
#sitename h1 {
	margin-top: 0px;
}

#tagline {
	color: #fff;
	text-align: right;
	float: right;
	margin-right: 15px;
}

.navbar {
	background-color: #598059;
}

/* =Navigation
----------------------------------------------- */
#nav-main
{
	padding-left: 0;
	margin: 10px 0 0 0;
	/*background-color: #598059;*/
	color: White;
	float: left;
	width: 100%;
	font: 1.1em Roboto, Verdana, Arial, Helvetica, sans-serif;
    list-style: none;
    list-style-type: none;
	overflow: hidden;
	font-size: 16px;
}

#nav-main li {
    float: left;
    list-style: none;
    list-style-type: none;
}

#nav-main li a
{
	padding: 0.2em 1em;
	background-color: #598059;
	color: White;
	text-decoration: none;
	display: inline-block;
	border-right: 1px solid #0c330c;
	transition: 0.3s;

}

#nav-main li a:hover
{
	background-color: #0f400f;
	color: #fff;
}

#nav-main li.icon {display: none;}

/* =Footer
----------------------------------------------- */
#nav-footer {
	margin: 0 auto; text-align: center;
	font: 14px Verdana, Arial, Helvetica, sans-serif;
	color: #a6a695;
}

#nav-footer ul
{
list-style: none;
padding: 0;
margin: 0 0 8px 0;
}

#nav-footer ul li
{
display: inline;
padding: 0 10px 0 10px;
margin: 0;
border-left: 1px solid #a6a695;
}

#nav-footer ul li#first
{
border-left: 0;
}

#nav-footer a:link, #nav-footer a:visited
{
color:#e6e6cf;
text-decoration: none;
}
#nav-footer a:hover
{
color:#fff;
text-decoration: underline;
}

#nav-footer p
{
padding: 0;
margin: 0;
}

/* end main */

.narrowcolumn {
	float: left;
	padding: 0 0 20px 0;
	margin: 0px 0 0;
	width: 60%;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 0;
	width: 100%;
	}

#clear-post {
    clear: both;
    padding-top: 10px;
}
#clear-post .post{
    color: #333333;
}

#green{
    background-color:#729272;
    border:10px solid #D5E5D5;

}
.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

#date-enter{
	float:left;
	padding-top: 5px;
	font-size: 14px;
}
div .postmetadata{
 float:right;
 clear: none;
 margin-right: 10px;
 font-size: 14px;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 760px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */



/*	Begin Headers */

h2.pagetitle {
	text-align: center;
    color: #3B543B;
}

.border h2, .border h3{
	margin-left: -10px;
	border-bottom:10px solid #627662;
	padding: 0 10px 10px;
	color: #fff;
	font-size: 20px;
}
.border h2 a, .border h3 a{
	color: #fff;
}

.border h3{
	margin: 10px 0;
	margin-left: -10px;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img, div img {
	padding: 0;
	max-width: 100%;
    height: auto;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */




/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: left;
	}

#sidebar #searchform #s {
	width: 120px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}
/*
.entry form { 
	text-align:center;
	}
*/
.entry {
	padding-top: 10px;
}
select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: ".";
	    display: block;
	    height: 0;
	    clear: both;
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */


/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	padding: 0px 20px;
	border-left: #ccc 1px solid;  
}

blockquote p {
    padding: 0px;
}

blockquote cite {
	margin: 5px 0 0;
	/*display: block;*/
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
a img {
	border: none;
	}

#Chapter img {
    display: inline;
    box-shadow: none;
  }
#Chapter {
	font-size: 16px;
}

/* Captions */
.aligncenter,
div.aligncenter {
	display: table !important;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	text-align: center;
	background-color: #f3f3f3;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 12px;
	padding: 0 4px 5px;
	margin: 0;
}

p.wp-caption-text {
	text-align: left;
	padding-top: 5px !important;
}

.prev {
	float: left;
	font-size: 16px;
}
.next {
	float: right;
	font-size: 16px;
}

/* End captions */

.languageBox {
	padding-top: 35px;
	text-align:center;
	min-width: 250px;
	float: left;
}

#Book H1 {
	text-align: center;
	/*padding-top: 50px;*/
}
#Book p, #Book ul, #Book ol {
	font-size: 18px;
	line-height: 1.6em;
}

#toc {
	border:thin;
	background: #E8E8E8;
	width: 30%;
	float: right;
}

.chapter-div {
	float: left;
	width: 70%;
	padding-right: 10px;
}
.toc_list li {
	font-size: 16px;
}

#toc H3 {
	text-align: center;
	font-size: 16px;
}
#toc H4 {
	text-align: center;
	font-size: 16px;
}
#toc ul {
	list-style-type: none;
    list-style: none;
	line-height: 1.5em;
	font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
}
#toc ul li {
	padding-bottom: 10px;
    padding-left: 0.5rem;
    list-style-type: none;
    list-style: none;
}
#toc .active {
	font-weight: bold;
}
#toc .subsection {
	font-size: 14px;
	padding-left: 10px;
}
#tocModal {
  list-style-type: none;
  list-style: none;
  padding-left: 5px;
  padding-right: 5px;
}
#tocModal .active {
  font-weight: bold;
}
#tocModal .subsection {
  font-size: 14px;
  padding-left: 10px;
}

.tocModalDiv > ul, .tocModalDiv > ul li {
  list-style-type: none;
    list-style: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.bookThumb {
  margin-bottom: 20px;
}

.bookTitle {
  text-align: left !important;
  padding-top: 0px;
  margin-top: 0px;
  /*font-weight: bold;*/
}

.bookCoverChapter {
	padding-top: 10px;
	padding-bottom: 10px;
}
.bookCoverSections  {
	padding-left: 20px;
}
.bookCoverSection {
	/*font-size: 16px;*/
	padding-top: 5px;
	padding-bottom: 5px;
}

@font-face {
    font-family: 'alislam_urdu';
    src: url('/urdu/fonts/alislam-urdu.woff2') format('woff2'),
         url('/urdu/fonts/alislam-urdu.woff') format('woff'),
         url('/urdu/fonts/alislam-urdu.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.urdu {
	font-family: 'Jameel Noori Nastaleeq', -apple-system, BlinkMacSystemFont, alislam_urdu;
    font-size: 20px;
}

.vcenter {
   display: inline-block;
   vertical-align: middle;
   float: none;
}
.btn-light-green {
    background: #598059;
	color: #fff;
}

.md-form .prefix.active {
   color: #598059;
}

.responsive-full-image {
	display: none;
}

.video-duration {
	position: absolute;
	bottom: 8px;
	right: 20px;
	color: #fff;
	background-color: #000;
	padding: 2px;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 12px;
}
.urdu-video {
	position: absolute;
	  bottom: 8px;
	  left: 20px;
	  color: #fff;
	  background-color: #000;
	  padding: 2px;
	  padding-left: 4px;
	  padding-right: 4px;
	  font-size: 12px;
  }

@media screen and (max-device-width: 992px), screen and (max-width: 992px) {
	#container-branding {
		display: none;
	}
	.navbar {
		background-color: #0c330c;
	}

	#logo {
		margin-top: 10px;
		background-position: center;
		float: none;
    margin: auto;
	}
	#sitename {
		text-align: center;
		float:none;
	}

	#tagline {
		display:none;
	}

	.row {
		margin-left: 0px;
		margin-right: 0px;
	}
	body{
		   margin: 0px;
		   padding: 0px;
    	 overflow-x: hidden;
		   width: 100%;
		}

		#container-page {
			width: 100%;
		}

		html > body #container-body{
			padding: 10px;
      margin: 0px;
		}

		/*#container-nav ul{
			font-size: 2.2em !important;
		}*/
		#container-nav ul li a{
			padding: 0.5em 1em !important;
		}
		.chapter-div, #toc {
			width: 100%;
		}

    .bookThumb {
        text-align: center;
    }

	#nav-main li:not(:first-child) {display: none;}
  #nav-main li.icon {
    float: right;
    display: inline-block;
  }

  #nav-main.responsive {position: relative;}
  #nav-main.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  #nav-main.responsive li {
    float: none;
    display: block;
  }
  #nav-main.responsive li a {
    display: block;
    text-align: left;
  }
  .bookCover {
    float: none;
    margin: auto !important;
    display: block !important;
  }

}

.list_with_line{
	padding-top: 15px;
}

.list_with_line li {
	margin-bottom: 20px;
	padding-left: 10px;
	border-left: grey 4px solid;
}


@font-face {
	font-family: 'noorehuda';
	src: url('/quran/read/noorehuda-webfont.eot');
	src: url('/quran/read/noorehuda-webfont.eot?#iefix') format('embedded-opentype'),
			 url('/quran/read/noorehuda-webfont.woff2') format('woff2'),
			 url('/quran/read/noorehuda-webfont.woff') format('woff'),
			 url('/quran/read/noorehuda-webfont.ttf') format('truetype'),
			 url('/quran/read/noorehuda-webfont.svg#noorehudaregular') format('svg');
	font-weight: normal;
	font-style: normal;

}

.arabic {
	font-family: 'Amiri', serif;
	font-size: 20px;
	line-height: 2;
}

.quranic, .quran {
	font-family: noorehuda;
	font-size: 26px;
	direction: rtl;
	display: inline-block;
}


/* epub styles */

div.P_Normal__And__Centre_Alignment, p.P_Normal__And__Centre_Alignment {
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
text-align: center;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_Normal {
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_Normal__And__Right_Alignment {
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
text-align: right;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_Footnote {
font-size: 0.83em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

h1.P_Heading_1, h2.P_Heading_1, h3.P_Heading_1, h4.P_Heading_1, h5.P_Heading_1, h6.P_Heading_1 {
font-weight: bold;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
text-align: center;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

h1.P_Heading_1 {
  text-align: center;
}
.C_Current__And__No_Bold__And__Italic {
font-weight: normal;
font-style: italic;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
}

p.P_Heading_-_SMALL_CAPS {
font-weight: bold;
font-style: normal;
font-size: 0.93em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
text-align: center;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

li.P_ListItem {
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 0.00em;
padding-left: 0.20em;
list-style-image: none;
margin-left: 2.20em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_ListParagraph {
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_ListParagraph_1 {
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}
	

p.P_SMALL_CAPS_CENTER {
font-weight: bold;
font-size: 0.80em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
text-align: center;
margin-top: 1.20em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_Quote {
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 1.60em;
margin-right: 1.60em;
text-indent: 0.00em;
}


.C_Current__And__Capitals {
text-transform: uppercase;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
}

.B_Table1 {
margin-top: 10px;
margin-bottom: 10px;
border-collapse: collapse; border-spacing: 0;
}

.B_Cell1 {
padding-left: 2.00mm;
padding-top: 2.00mm;
padding-right: 2.00mm;
padding-bottom: 2.00mm;
border-left-width: 1.00pt;
border-left-color: #000000;
border-left-style: solid;
border-top-width: 1.00pt;
border-top-color: #000000;
border-top-style: solid;
border-right-width: 1.00pt;
border-right-color: #000000;
border-right-style: solid;
border-bottom-width: 1.00pt;
border-bottom-color: #000000;
border-bottom-style: solid;
}

.B_Cell2 {
padding-left: 2.00mm;
padding-top: 2.00mm;
padding-right: 2.00mm;
padding-bottom: 2.00mm;
border-top-width: 1.00pt;
border-top-color: #000000;
border-top-style: solid;
border-right-width: 1.00pt;
border-right-color: #000000;
border-right-style: solid;
border-bottom-width: 1.00pt;
border-bottom-color: #000000;
border-bottom-style: solid;
}

.B_Cell3 {
padding-left: 2.00mm;
padding-top: 2.00mm;
padding-right: 2.00mm;
padding-bottom: 2.00mm;
border-left-width: 1.00pt;
border-left-color: #000000;
border-left-style: solid;
border-right-width: 1.00pt;
border-right-color: #000000;
border-right-style: solid;
border-bottom-width: 1.00pt;
border-bottom-color: #000000;
border-bottom-style: solid;
text-align: left;
vertical-align: top;
}

.B_Cell4 {
padding-left: 2.00mm;
padding-top: 2.00mm;
padding-right: 2.00mm;
padding-bottom: 2.00mm;
border-right-width: 1.00pt;
border-right-color: #000000;
border-right-style: solid;
border-bottom-width: 1.00pt;
border-bottom-color: #000000;
border-bottom-style: solid;
text-align: left;
vertical-align: top;
}

p.P_Couplet_Verse_1 {
font-style: italic;
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 0.00em;
margin-right: 0.00em;
text-indent: 0.00em;
}

p.P_Couplet_Verse_2 {
font-style: italic;
font-size: 1.00em;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
margin-top: 0.00em;
margin-bottom: 1.20em;
margin-left: 1.20em;
margin-right: 0.00em;
text-indent: 0.00em;
}

/* Library Books */

.AuthorDiv {
  height: 130px;
}
.AuthorThumbDiv {
  float: left;
  width: 85px;
  padding-right: 10px;
}
.AuthorNameDiv {
  line-height: 1.3em;
  vertical-align: top;
}
.LibraryBookDiv {
  height: 130px;
  line-height: 1.3em;
}
.LibraryBookTitle {
  vertical-align: top;
  line-height: 1.3em;
}
.LibraryBookThumb {
  float: left;
  width: 75px;
  margin-right: 5px;
}
.bookSearchLabel {
  padding: 10px;
}

.bookSearchButton  {
  border-radius: 2px;
  background: #f2f2f2;
  border: 1px solid #f2f2f2;
  color: #757575;
  cursor: default;
  font-size: 14px;
  font-weight: bold;
  width: 100px;
  padding: 0 16px;
  height:36px;
}
.bookSearchButton:hover {
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  background: #f8f8f8;
  border: 1px solid #c6c6c6;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  color: #222;
}

@media screen and (max-width:768px), screen and (max-device-width:768px) {
	.square-thumb {
		display: none;
	}
	.responsive-full-image {
		display: block;
	}
	.LibraryBookTitle {
    width: 100%;
  }
}

/* Bootstrap override */

.list-group {
	margin-bottom: 10px;
}

.page-item.active .page-link {
	background-color: #0c330c;
	border-color: #0c330c;
}

.card-caption {
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
}
