*{
	margin:0;padding:0;font-size:17px;
}
p{font-size:17px}


/*Offsets*/
.offset-tb-30{padding:30px 0}
/*.offset-tb-05 {padding:0px 0}*/

/*Carousel Banner*/
.carousel .carousel-item {

}
.carousel-item img {width:100% !important;margin:0 auto}

.carousel-control-next, .carousel-control-prev {position: absolute;top: 90%; margin-left:5%; margin-right:5% !important;bottom:0px}


/* .mad-img { width:90% !important;margin:10 auto}*/
.mad-img img { text-align:center; width:88%; margin-left:6%; margin-top:0%}



/*Hover effects*/
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}
 .hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: rgba(75,75,75,0.7);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(48, 152, 157, 0.4);
}

.hovereffect img {
  display: block;
  position: relative;
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 17px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-transform: translateY(45px);
  -ms-transform: translateY(45px);
  transform: translateY(45px);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover h2 {
  -webkit-transform: translateY(28px);
  -ms-transform: translateY(28px);
  transform: translateY(28px);
}

.hovereffect a.info {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  margin: -38px 0 0 0;
  padding: 63px 80px;
}

.hovereffect:hover a.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.hovereffect a.info:hover {box-shadow: 0 0 5px #fff;}



/*Quotes */#carouselContent{-webkit-box-shadow: 10px 10px 5px 0px rgba(176,176,176,1);
-moz-box-shadow: 10px 10px 5px 0px rgba(176,176,176,1);
box-shadow: 10px 10px 5px 0px rgba(176,176,176,1);}
/* #carouselContent .carousel-control-next, .carousel-control-prev {position: absolute;top: 0 !important;bottom:0px;}
#carouselContent .carousel-control-prev-icon,
.carousel-control-next-icon {height: 50px;width: 50px;background-size: 100%, 100%;background-image: none;}

#carouselContent .carousel-control-next-icon:after
{content: '>';font-size: 55px;color: #000;}

#carouselContent .carousel-control-prev-icon:after {
  content: '<';font-size: 55px;color: #000;}
 */

 /*Accordion*/
.accordion .card-header:after {
    font-family: 'FontAwesome';  
    content: "\f068";
    float: right;
}
.accordion .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f067"; 
}

.wrapper {
        display: grid;
		grid-gap: 5px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr) ) ;
    }
	
.wrapper-books {
        display: grid;
		grid-gap: 5px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ;
    }
	
.wrapper-mybooks {
	        
		display: grid;
		grid-gap:10px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ;
   
	}

  /*Books to read and movies to watch*/
  
.popup-trigger {
  display: block;
  margin:0 auto;
  
  padding: 5px 0;
  max-width: 100%;
  cursor: pointer;
}

.popup-trigger img{
  width: 100%;
  height: auto;
  vertical-align: middle;
  margin:0 auto;}
  
.popup {
  background: rgba(100, 100, 100, 0.6);
  position:fixed;
  display: none;
  z-index: 5000;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;

}

.popup>div {
  border-radius: 10px;
  position:fixed;
  background: #FFFFFF;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
  padding: 30px 15px;
  /* Width of popup can be changed */
  width: 90%;
  max-width: 600px;
  z-index: 5001; 

  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  
  left: 50%;
  
  top:50%;
  border: 1px solid #000;
}

 .popup-btn-close {
  position: absolute;
  background-color: #000;
  color: white;
  top: -15px;
  right: -15px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Arial Black', Arial, sans-serif;
  cursor: pointer;
  -webkit-box-shadow: -4px -2px 6px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: -4px -2px 6px 0px rgba(0, 0, 0, 0.1);
  box-shadow: -3px 1px 6px 0px rgba(0, 0, 0, 0.1);
}

.popup-btn-close:hover {
  background-color: #ac5918;
  color: #fff;
}

/*My Books */
.mybooks{-webkit-box-shadow: 5px 5px 5px 0px rgba(158,158,158,1);-moz-box-shadow: 5px 5px 5px 0px rgba(158,158,158,1);
box-shadow: 5px 5px 5px 0px rgba(158,158,158,1);padding: 15px;flex-direction: column; text-align: center;vertical-align: middle;margin-bottom: 10px}



/*Quotes*/
.organization{-webkit-box-shadow: 5px 5px 5px 0px rgba(158,158,158,1);-moz-box-shadow: 5px 5px 5px 0px rgba(158,158,158,1);
box-shadow: 5px 5px 5px 0px rgba(158,158,158,1);padding: 15px;flex-direction: column; text-align: center;vertical-align: middle;margin-bottom: 10px}
.Org-lines{color: #000;text-align: right;padding:5px;font-size:0.9em; display: block;font-style: italic;}
.double-quotes{font-size: 40px;line-height: 30px;margin-right: 10px;color: #ed7d31;font-weight: bold;}
.quotes .byAzaad {display: block;text-align: right;font-weight: bold;font-size: 14px}


.wrapper-azaad {
        display: grid;
    grid-gap: 30px;

       grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ; 
    }



.popup-trigger img{
  width: 100%;
  height: auto;
  vertical-align: middle;
  margin:0 auto;}

/* for index page - start*/

.flex-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 90%;
  margin: 25px auto;
  border:solid 1px grey;
 }

.flex-container div{ 
   padding: 15px;
  
 }

 .postImage{
    width:25%;
  /*min-block-size:250px ;*/


  
}
.postImage img{
  
  max-width:200px;
  max-height: 200px;
  

}

.postText{
 /* max-width:600px ;*/
 width:75%;
 text-align: justify;
 
}

.postText p{
  text-align: justify;

}


@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }
  .postText{
    width: 100%;
  }
 
}

/* for index page - END*/


.demo-gallery > ul {
  /*margin-bottom: 0;*/
    display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr) ) ;
}
.demo-gallery > ul > li {
    /*float: left;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;*/
    width: 100%;
    height: auto;
    vertical-align: middle;
    margin:0 auto;
}
.demo-gallery > ul > li a {
  border: 3px solid #FFF;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}
.demo-gallery > ul > li a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.demo-gallery > ul > li a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
  opacity: 1;
}
.demo-gallery > ul > li a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.demo-gallery > ul > li a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.demo-gallery > ul > li a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.demo-gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
  opacity: 1;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .video .demo-gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}
.demo-gallery.dark > ul > li a {
  border: 3px solid #04070a;
}
.home .demo-gallery {
  padding-bottom: 80px;
}
.lg-outer .lg-thumb-outer{display: none;}



/*Media Queries*/
@media only screen and (max-width: 1199px) {
	.carousel-control-next, .carousel-control-prev {position: absolute;top: 90% !important;bottom:0px ;}
	.hovereffect a.info {display: inline-block;margin: -38px 0 0 0;padding:48px 58px;}
	.hovereffect:hover h2 {-webkit-transform: translateY(22px);-ms-transform: translateY(22px);transform: translateY(22px);}


}
@media only screen and (max-width: 991px) {
	.carousel-control-next, .carousel-control-prev {position: absolute;top: 90% !important;bottom:0px ;}
	.hovereffect h2 {-webkit-transform: translateY(68px);-ms-transform: translateY(68px);transform: translateY(68px);}
	.hovereffect a.info {display: inline-block;margin: -38px 0 0 0;padding: 87px 117px;}
	.hovereffect:hover h2 {-webkit-transform: translateY(58px);-ms-transform: translateY(58px);transform: translateY(58px);}


}

@media only screen and (max-width: 767px) {
	.carousel-control-next, .carousel-control-prev {position: absolute;top: 85% !important;bottom:0px ;}
	.hovereffect h2 {-webkit-transform: translateY(68px);-ms-transform: translateY(68px);transform: translateY(68px);}
	.hovereffect a.info {display: inline-block;margin: -38px 0 0 0;padding: 147px 207px;}
	.hovereffect:hover h2 {-webkit-transform: translateY(58px);-ms-transform: translateY(58px);transform: translateY(58px);}

  .img-fluid{width: 100%; margin: auto !important; text-align: center;display: block;}
.img-fluid-quotes{width: 100%; margin: auto !important; text-align: center;display: block;}
.img-fluid-mybooks{width: 100%; margin: auto !important; text-align: center;display: block;}
  .wrapper-azaad {
       display: grid;
      grid-template-columns: 1fr;
      grid-row-gap: 10px;
      object-fit: cover;
      width: 70%;
      margin: 0 auto;text-align: center;
    }
.demo-gallery > ul {
  /*margin-bottom: 0;*/
   display: grid;
      grid-template-columns: 1fr;
      grid-row-gap: 10px;
      object-fit: cover;
      width: 100%;
      margin: 0 auto;text-align: center;
}

}

@media only screen and (max-width: 600px) {
	.popup>div {
 
  padding: 20px 15px;
  /* Width of popup can be changed */
  width: 90%;
  max-width: 600px;
  z-index: 5001;
  left: 50%;
  top: 50%;
  
}
  

 .img-fluid-quotes{width: 100% !important; margin: auto !important; text-align: center;display: block;}

}

@media only screen and (max-width: 575px) {
	.carousel-control-next, .carousel-control-prev {position: absolute;top: 80% !important;bottom:0px ;}
	.hovereffect h2 {-webkit-transform: translateY(68px);-ms-transform: translateY(68px);transform: translateY(68px);}
	.hovereffect a.info {display: inline-block;margin: -38px 0 0 0;padding: 154px 217px;}
	.hovereffect:hover h2 {-webkit-transform: translateY(58px);-ms-transform: translateY(58px);transform: translateY(58px);}
  

}

@media only screen and (max-width: 446px) {
	
	


}


/* Footer Classes */

footer img {height:25px}
footer a, a:hover, a:active, a:visited { color: white; }

	
