/*!
Theme Name: Tarb
Theme URI: http://underscores.me/
Author: Javed
Author URI: http://underscores.me/
Description: Tarb Customised theme, mobile responsive.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tarb
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Tarb is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

body.admin-bar #header {top: 45px;} 
@media (max-width: 630px) {
body.admin-bar #header {
    top: 0;
}
}


/* Typography
--------------------------------------------- */

body {
  color: #404040;
  font-family: 'Merriweather', serif;
  font-size: 20px;
  line-height: 1.5;
}

@media (max-width: 630px) {
body {
  color: #404040;
  font-family: 'Merriweather', serif;
  font-size: 18px;
  line-height: 1.5;
}
}

h5 .writer-link{
    font-size: 16px;
}

.h2, h2 {
    font-size: 22px;
}

h4{
	font-size: 20px;
	font-weight: 700;
}

/* Navigation
--------------------------------------------- */

/* Navbar */
header {
  background: #ffffff;
}

header .navbar {
  font-weight: 500;
  padding: 0;
  display: block;
  font-family: sans-serif;
}

header .navbar .navbar-brand {
  margin-right: 0;
}

header .navbar .logo-top img {
  width: 340px;
}


header .navbar .navbar-brand img {
  width: 240px;
}

@media (max-width: 999px) {
  header .navbar .navbar-brand img {
    width: 170px;
    
  }
}

@media (max-width: 1024px) {
  header .navbar .navbar-brand img {
    width: 150px;
  }
}

@media (max-width: 999px) {
  header .navbar .social-media {
    display: none;
  }
}

header .navbar-top {
  padding: 24px 0;
}

header .navbar-top .navbar-top-left-menu,
header .navbar-top .navbar-top-right-menu {
  padding-left: 0;
  display: flex;
  margin-bottom: 0;
  color: rgb(0, 0, 0);
}

header .navbar-top .navbar-top-left-menu .nav-item,
header .navbar-top .navbar-top-right-menu .nav-item {
  display: flex;
  align-items: center;
}

header .navbar-top .navbar-top-left-menu .nav-item .nav-link:hover,
header .navbar-top .navbar-top-right-menu .nav-item .nav-link:hover {
  color:rgb(255, 1, 1);
}

header .navbar-top .navbar-top-left-menu .nav-item .nav-link:after,
header .navbar-top .navbar-top-right-menu .nav-item .nav-link:after {
  content: "";
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.29);
  position: absolute;
  right: 0;
}

header .navbar-top .navbar-top-left-menu .nav-item:last-child .nav-link:after,
header .navbar-top .navbar-top-right-menu .nav-item:last-child .nav-link:after {
  display: none;
}

header .navbar-top .navbar-top-left-menu .nav-item:first-child .nav-link,
header .navbar-top .navbar-top-right-menu .nav-item:first-child .nav-link {
  padding-left: 0;
}

header .navbar-top .navbar-top-right-menu .nav-item:first-child {
  margin-right: 40px;
}

header .navbar-top .navbar-top-right-menu .nav-item:first-child .nav-link {
  padding-left: 0;
}

header .navbar-top .navbar-top-right-menu .nav-item:first-child .nav-link:after {
  display: none;
}

header .navbar-top .navbar-top-right-menu .nav-item:last-child .nav-link {
  padding-right: 0;
}

@media (max-width: 999px) {
  header .navbar-top {
    display: none;
  }
}

header .navbar-bottom {
  padding-bottom: 18px;
  border-bottom: 1px solid #ddd;
}

@media (max-width: 999px) {
  header .navbar-bottom {
    padding-top: 18px;
  }
}

@media (max-width: 999px) {
  header .navbar-bottom .navbar-nav {
    padding-top: 10px;
  }
}

header .navbar-bottom .navbar-nav .nav-item .nav-link {
  text-transform: uppercase;
  font-size: 12px;
  color: rgb(10, 10, 10);
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.31;
  padding: 0 8px;
  border-right: 1px solid rgb(214, 213, 213);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

header .navbar-bottom .navbar-nav .nav-item .nav-link:hover {
  color: #e71111;
}

@media (max-width: 999px) {
  header .navbar-bottom .navbar-nav .nav-item .nav-link {
    padding: 15px 15px;
  }
}

@media (max-width: 1024px) {
  header .navbar-bottom .navbar-nav .nav-item .nav-link {
    padding: 0 12px;
  }
}
@media (max-width: 999px) {
  header .navbar-bottom .navbar-nav .nav-item .nav-link {
    text-align: center;
    margin-top: 10px;    
    }
}
.navbar-bottom .navbar-toggler {
  float: right;
}

.social {
	font-size: 28px;
    padding: 20px;
    text-align: center;
}

.social-icons {
	margin-right: 5px;
}

.social-content {
	font-size: 32px;
    padding: 20px;
}

.social-icons-2 {
	margin-right: 5px;
}

.sticky {
  position: fixed;
  width: 100%;
  z-index: 99;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: top 3s;
  box-shadow: none;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  padding: 24px;
}

/* Images */
.featured-img{
	width: 300px;
	height: 220px;
	margin: 10px 0 0;
}



/* Mobile Subscribe */
.subscribe-mobile{
	position: absolute;
}

.wp-caption{
	font-size: 12px;
}

/* Sticky Subscribe */
.subscribe-btn {
position: absolute;
top: 0;
right: 0;
}

.subscribe{
	width: 145px;
	height: 161px;
}

@media (max-width: 999px) {
.subscribe {
display: none;
}
}
/* end Sticky Subscribe */

.icon-bar {
  position: fixed;
  top: 40%;
  padding: 5px;
  font-size: 14px;
}


.icon-bar a {
  display: block;
  text-align: center;
  color: white;
}
.icon{
	background-color: #000;
	color: #fff;
	border-radius: 50%;
	padding: 10px;
}
.icon:hover{
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}


.fa-search{
	font-size: 12px;
	cursor: pointer;
	margin: 0 10px;
}
.search-box {
    width: 190px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-top: 2px solid #D80B15;
    display: none;
}

@media (max-width: 720px){
.fa-search{
	display: none;
}
	
.icon-bar {
  display: none;
	}
}





/* Posts
	 ========================================================================== */
.entry-header {
	text-align: center;
	margin-top: 35px;
}

.donate-box{
	border: 1px solid;
	font-size: 18px;
    padding: 15px;
}

.descrp {
	margin-top:8px;
}

/* Sections
	 ========================================================================== */
.section {
   margin-top: 35px;
}
.sec-header {
   text-align: center;
}
.section h3, .section h4 {
	 color: #dc3545;
	font-size: 22px;
}
.section p {
	 margin-bottom: 0;
}

.nav-links{
	margin-top: 20px;
}
.nav-previous, .nav-next {
	display: inline;
	text-decoration: none;
}
.nav-previous {
	margin-right: 10px;
}




/* Links
--------------------------------------------- */
a {
	color: #424141;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
	text-decoration: none;
}

p a{
	color: #8f1d1d;
}

.writer-link{
    color: #8f9393;
	font-weight: 400;
	text-align: center;
}



/* Posts and pages
--------------------------------------------- */
#primary {
	margin-top: 35px;
}
.page-header {
	text-align: center;
}

.sticky {
	display: block;
}

.writer-link {
    color: #8f9393;
    font-weight: 400;
    text-align: center;
}


/* Category and Tag
--------------------------------------------- */
.cat-links, .tags-links, .comments-link {
	margin-right: 5px;
	font-size: 12.5px;
	font-weight: 600;
}
.comments-link a {
	margin-left: 5px;
	font-weight: 600;
}

.edit-link {
	font-size: 12.5px;
	font-weight: 600;
}

.nav-subtitle {
	color: #8f1d1d;
}


/* Sidebar
--------------------------------------------- */
.widget-area {
  background-color: #d9d8d833;
  padding: 10px;
}


/* Comments
--------------------------------------------- */
.comments-area {
	margin-top: 20px;
}
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget ul{
  list-style: none;
  margin-left: -35px;
}
.widget a:hover{
  text-decoration: none;
}


/* Media
--------------------------------------------- */


/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}



/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	/*rtl:ignore*/
	float: left;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
	margin-top: 10px;
}

.alignright {
	/*rtl:ignore*/
	float: right;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
	margin-top: 10px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


.center {
	text-align: center;
}


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/* Footer
	 ========================================================================== */
.footer {
	margin-top: 6rem;
	background-color: #dcdcdc70;
    padding: 10px;
	font-size:15px;
}

.logo-footer {
	width: 100%;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  cursor: pointer;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.scroll-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  width: 35px;
  height: 35px;
  border-radius: 50px;
  background: #000000;
  color: #fff;
  transition: all 0.4s;
}

.scroll-top i:hover {
  background: #6e6e6e;
  color: #fff;
}




 .togglesearch{
    background: #E8E8E4;
    position: absolute;
    top: 75px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-top:4px solid #D80B15;
    display: none;
  }
     
 .togglesearch input[type="button"]{
   width: 80px;
   padding: 5px 0;
   background: #D80B15;
   color: #fff;
   margin-left: -6px;
   border: 1px solid #D80B15;
   outline: none;
   cursor: pointer;
 }



.rtl{
	text-align: right;
}



/*Mobile subscribe*/
@media (max-width: 790px) {

.popup-btn a{
    padding: 5px 10px !important;
    font-size: 14px !important;
	left: -25px;
}
}


.popup{
	width: 560px;
}

.join-tarb{
	position: absolute;
	right: 70px;
	font-size: 14px;
	top: 0;
	margin-top: 25px;
}

.join-tarb a{
   color: #fff;
}

.badge {
    padding: 5px;
}

.popup-btn a{
	top: 160px;
	position: fixed;
	left: -30px;
	transform: rotate(-90deg);
    padding: 10px 10px;
	background-color: #000;
	color:#fff;
	margin-top: 8em;
	font-size: 18px;
}
.popup-btn a:hover{
	text-decoration: none;
	color:#fff;
}
.form-part{
	padding: 20px 0px;
}
.modal-header{
	padding:10px 0px !important;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1 !important;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	padding-top: 60px;
}
.modal-content {
	background-color: #fefefe;
	margin: 5% auto 15% auto;
	width: 80%;
	padding: 20px;
	border:3px solid #000 !important;
}
.close {
	position: absolute;
	right:10px;
	top:8px;
	font-size: 35px;
	font-weight: bold;
	border-radius: 50%;
	height: 30px;
	width: 30px;
	text-align: center;
}
.close:hover,
.close:focus {
	cursor: pointer;
}
.animate {
	-webkit-animation: animatezoom 0.6s;
	animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
	from {-webkit-transform: scale(0)}
	to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
	from {transform: scale(0)}
	to {transform: scale(1)}
}
