/*HOME PAGE*/

/*Home Page layout*/

  /*Hero*/

  /*Service
    text
    lineage pics
    Cards - service items
  */

  /*Event*/

  /*Blog - latest news
    upper section
      text
      pics
    lower section
      article preview boxes
  */

  /*Call to action - learn/register*/

/*END home page layout*/  

/* Hero*/
/*to position hero buttons*/
.rel {
	position: relative;
}
.hero-img-left-button {
  border-width: 0px;
  border-color: #222222;
  border-style: none;
  background-color: transparent;
  text-decoration: none;
  position: absolute; 
  top: 38%;
  left: 42%;
  left: -webkit-calc(50% - 9.5vw);
  left: -moz-calc(50% - 9.5vw);
  left: calc(50% - 9.5vw);
}

.hero-img-right-button {
  border-width: 0px;
  border-color: #222222;
  border-style: none;
  background-color: transparent;
  text-decoration: none;
  position: absolute; 
  top:  38%; 
  left: 52%;
  left: -webkit-calc(50% + 2vw);
  left: -moz-calc(50% + 2vw);
  left: calc(50% + 2vw);
}

.hero-img-left-button .btn {
  padding-top: 0.38vw !important;
  padding-bottom: 0.38vw !important;
  padding-left: 1.1vw !important;
  padding-right: 1.1vw !important;
  font-size: 1.01vw;
}

.hero-img-right-button .btn {
  padding-top: 0.38vw !important;
  padding-bottom: 0.38vw !important;
  padding-left: 1.1vw !important;
  padding-right: 1.1vw !important;
  font-size: 1.01vw;
}

.hero-img-text {
  position: absolute;
  top: 40%; 
  left: 15%;
  left: -webkit-calc(25% + 1vw);
  left: -moz-calc(25% + 1vw);
  left: calc(22% + 1vw);
  font-size: 1.19vw;
  color: #ffffff;
  width: 50%;
  text-align: center;
  line-height: 1.7vw;
}

.hero-tp-caption .btn {
  border-width: 1px !important;
}
.hero-tp-caption .btn {
  color: #FFF;
  padding: 5px 40px;
  font-weight: 500;
  border: 1px solid #FFF;
  background: transparent;
}

.hero-tp-caption .btn {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.hero-tp-caption .btn:hover {
  color: #252525;
  background: #ffb745;
  border-color: #ffb745;
}

/*END Hero*/

/*Service - upper - text*/

#sp-service-wrapper {
 padding:50px 0 !important;
}

#sp-service-wrapper h1 { /*Welcome heading*/
	font-size: 30px;
	font-weight: bold;
	line-height: 35px;
	margin-bottom: 28px;
	text-align: center;	
}

#sp-service-wrapper p { /*learn text*/
	text-align: center;
	margin: 0 auto;
	font-size: 16px;
	font-weight: 400;
  padding-bottom: 15px !important;
  line-height: 26px;
  width: 60%;
}

	/* Lineage*/
.lineage-outer {
  text-align:center;
  padding-bottom: 25px;
  /*padding: 30px;*/
}

.lineage-inner {
  display:inline-block;
  padding: 10px 10px 10px 10px;
  font-size: 10pt;
  line-height: 18px;
  /*margin: 0 auto;
  max-width: 700px;*/ 
}

.lineage-inner:hover {
  opacity: 0.7;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.lineage-inner img {
  margin-bottom: 5px;
}

.lineage-inner a:hover {
  color: #444;
  font-size:10pt;
}

	/* END Lineage*/
	
	/* Service items - lower - service cards*/

#sp-service-wrapper .service-item a { /*service card links*/
  color: #0000EE;
}
  
#sp-service-wrapper .service-item a:hover {
  color: #252525;
}  

.service-list.box .service-item {  
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.service-list.box .service-item .sm-icon {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  background: #ffb745;
  border: 2px solid #ffb745;
  width: 66px;
  height: 66px;
  text-align: center;
  margin: 0 auto 25px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
}

.service-list.box .service-item .sm-icon i {
  font-size: 24px;
  line-height: 63px;
  color: #252525;
}

.service-list.box .service-item:hover {
  background: #ffb745;
}

.service-list.box .service-item:hover .sm-icon,
.service-list.box .service-item:hover h5.title,
.service-list.box .service-item:hover .read-more,
.service-list.box .service-item:hover p {
  color: #252525;
}

.service-list.box .service-item:hover .sm-icon {
  border-color: #FFF;
}

.service-list.box .service-item:hover .sm-icon i {
  color: #FFF;
} 
	
.service-list.box {
  text-align: center;
  position: relative;  
} 

	/* END Service items/cards*/

/*END Service*/

/* Event*/
	
#sp-event-wrapper:before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.66);
  z-index: -1;
}	

#sp-event-wrapper {
  background-image: url(/images/kriya-images/DSC_0403-Cropped-adjusted-compressed_x-small.jpg);
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: 50% 50%;
  padding: 75px 0 100px !important;    
  margin-top:50px;
  margin-bottom:50px;
}

.bg-img {
  z-index: 99;   
  color: #f0f0f0;
}

#sp-event-wrapper h3.sp-module-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 24px;
}

#sp-event-wrapper .tzpp_content {
  background-color: #FFF;
  color: #444 !important;
  padding: 20px;
}

#sp-event-wrapper .tzpp_content h3.title a {
  color: #444;
  font-size: 18px;
  font-weight: 700;
} 

#sp-event-wrapper .btn-primary {
  color: #0000ee;
  background-color: #fff;
  border-color: #fff;
  font-size: 16px;
}

#sp-event-wrapper a.btn.btn-primary.btn-sm.readmore:hover {
  color: #e6631c;  
}
    
/*END Event*/

/* Blog - homepage*/
  /* Blog - top section - homepage*/
	
#sp-blog-wrapper {
  padding-top: 50px;
  padding-bottom: 50px;  
}

#sp-blog-wrapper h3 {	/*title - lates news*/
	text-align: center;
}

h3.sp-module-title { /*subtitle - fundraiser*/
  font-size: 18px;
}

div.home-page-ashram-latest-news { /*text + pics*/ 
	text-align: center;
	margin: 0 auto;
	font-size: 16px;
	line-height: 26px;
	width: 90%;
  padding-bottom: 30px !important;  
}

.home-page-ashram-latest-news strong {
	font-weight: 800;
}

#sp-blog-wrapper a:hover { /*links - upper and lower section*/
	color: orange;
}

.image-group-outer {
  text-align: center;
  padding-bottom: 5px;
}

.image-group-inner {
  display: inline-block;
  padding: 10px 10px 10px 10px;
  font-size: 10pt;
  line-height: 18px; 
}

.image-group-inner img {
  margin-bottom: 5px;
}

  /* END Blog -top section - homepage*/

  /* Blog - bottom section - article preview boxes - homepage*/

.module-home-blog ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: stretch;
	padding-bottom: 20px;
	margin-bottom: 20px;		
}

.module-home-blog ul li {
	vertical-align: top;
	background-color: white;	
  width: 20%;
	min-width: 250px;
	padding-left: 25px;
	padding-right: 25px;
	padding-top: 20px;
	padding-bottom: 10px;
	margin-bottom: 20px;
  border: solid;
  border-radius: 6px;
  border-color: #ddd;
  border-width: 1px;
}

.module-home-blog .mod-articles-category-title {
  font-size: 18px;
  line-height: 24px;
  padding-top: 24px;
  margin-bottom: 6px;
  margin-top: 0;
  font-weight: 500;
  xcolor: #252525;  
}

.module-home-blog .mod-articles-category-date {
	display: block; /*ensures a new line (used with span)*/
	padding-right: 20px;
	padding-top: 8px;
	padding-bottom: 15px;
	font-style: italic;
	font-size: 12px;
}
.module-home-blog .mod-articles-category-date::before { 
  font-family: "Font Awesome 5 Free"; 
  content: "\f073";
 	margin-right: 10px;
 	display: inline-block;
 	font-style: normal;
 	font-size: 14px;
}

.module-home-blog p.mod-articles-category-introtext {
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 400;
}

.module-home-blog p.mod-articles-category-introtext a {
  color: #0000EE;
}

.module-home-blog .mod-articles-category-readmore {
	margin-top: 15px;
}

.module-home-blog .mod-articles-category-readmore a{
	font-size: 16px;
	font-weight: normal;
  color: #0000EE;	
}
/* END Blog - home page*/

/*call to action - learn/register*/

#sp-call-to-action-wrapper {	
	background-image: url(/images/section/19.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-position: 50% 50%;
	padding: 40px;
	padding-top: 55px;
}

.sp-call-to-action h3 {
  margin: 0;
  font-size: 24px;
  text-transform: uppercase;
}

.sp-call-to-action h5 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: normal;
  margin-top: 1px;
}

.sp-call-to-action .btn {
  background: #fff;
  border: none;
  color: #252525;
  font-size: 14px;
  font-weight: 600;
  margin-top: 5px;
  overflow: hidden;    
  padding: 11px 25px;
  text-transform: uppercase;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.sp-call-to-action .btn:hover {
  background: #252525;
  color: #fff;
}
/*END call to action learn/register*/

/*module title top decoration*/

  /*Welcome Title*/

#sp-service .module-title {
  position: relative;
}

#sp-service .module-title:before {
  display: block;
  position: absolute;
  background: #ffb745;
  content: " ";  
  height: 3px;
  left: 0;
  margin: 0 auto;  
  right: 0;
  top: -14px;
  width: 60px;
  z-index: 99;
}

#sp-service .module-title:after {
  position: absolute; 
  background: #aaa;
  content: " ";
  height: 1px;  
  left: 0;
  margin: 0 auto;
  right: 0;
  top: -13px; 
  width: 50%;
}

/* Event Title*/

#sp-event .sp-module-title {
  position: relative;
}

#sp-event .sp-module-title:before {
  display: block;
  position: absolute;
  background: #ffb745;
  content: " ";  
  height: 3px;
  left: 0;
  margin: 0 auto;  
  right: 0;
  top: -14px;
  width: 60px;
  z-index: 99;
}

#sp-event .sp-module-title:after {
  position: absolute; 
  background: #aaa;
  content: " ";
  height: 1px;  
  left: 0;
  margin: 0 auto;
  right: 0;
  top: -13px;
  width: 50%;
  max-width: 434px;
}

/*Latest News Title*/

#sp-blog .module-title {
  margin-top: 20px !important;
}

#sp-blog .module-title span {
  position: relative;
}

#sp-blog .module-title span:before {
  display: block;
  position: absolute;
  background: #ffb745;
  content: " ";  
  height: 3px;
  left: 0;
  margin: 0 auto;  
  right: 0;
  top: -14px;
  width: 60px;
  z-index: 99;
}

#sp-blog .module-title span:after {
  position: absolute; 
  background: #aaa;
  content: " ";
  height: 1px;  
  left: 0;
  margin: 0 auto;
  right: 0;
  top: -13px;
  width: 100%;
}



/*End module title top decoration*/

/*END HOME PAGE*/



