/*
Theme Name: ISarva Theme
Theme URI: https://isarvait.com
Description: ISarva Theme is simple theme mainly used in Elementor based theme
Version: 1.0
*/

.align_left_home {
  float: none; /* Remove the float */
  margin-top: auto; /* Center the image horizontally */
  margin-bottom: auto; /* Center the image horizontally */
  display: block; /* Ensure the image is displayed as a block element */
  text-align: center; /* Center the image within its container */
    margin-right: 20px; /* Adjust spacing between image and content */
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: 'Mulish', sans-serif;
}

.background-image{
    width: 100%;
    height: 500px; /* Set height to 100% to fill the container */
    background-size: cover; /* Adjust the background image size to cover the entire container */
    background-repeat: no-repeat;
    background-position: center center;
   
}
.content_wrapper_home{
 /*overflow: hidden; Clear the float */

}

.headtitle{
  background-color: #FFDED8;
  text-align: center;
  padding:18px 0px;
  }
.home-img-title{
   position: absolute;
   bottom: 50px;
   left: 100px; 
   color: #fff;
   font-size: 24px;
   font-weight: bold; 
   text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
 }
.home-img-subtitle{
   position: absolute;
   bottom: 25px;
   left: 150px; 
   color: #fff;
   font-size: 18px;
}


.gallery-container{
    padding-bottom:50px;
  }




#main .entry-title{
  color:#8b1800;
  font-size: 35px;
  line-height: 35px;
  font-weight: 700;
  padding-top: 20px;

}





/* LATEST NEWS CSS STYLE */
.creator-info {
    display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically in the center */
}

.custom-icon-home {
    margin-right: 10px; /* Adjust spacing between the image and the text */ 
    height:15px !important;
}
.latest-news {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.latest-news img {
  width: 100%;
}
.latest-news_home{
  display: grid;
}
 
.latest-news .content-wrapper {
  padding: 15px;
}

 
.latest-news-item {
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;

}


.latest-news-item img {
  max-width: 100%;
  height: auto;
  
  border-radius: 10px;
  object-fit:cover;
}
.latest-news-item_home{
   display:flex;
   row-gap:40px;

}

.latest-news-item h2 {
  margin-top: 0;
}

.latest-news-item h2 a {
  color: #8B1800;
  font-size: 20px;
}
.latest-news-title-home{
    color: #DA3B3B;
    font-family: "Noto Sans", Sans-serif;
    margin-bottom: 10px;
    margin-top: 0;
}
#main .parg{
  color: rgb(48, 51, 54); 
  font-family: Mulish, sans-serif;
  font-weight: 400;
  line-height: 30px; 
}

.post-date {
  margin-bottom: 10px;
  font-size: 15px;
  color: #EE330D;
  font-weight: 600;
}
.post-date-home{
  font-family: "Noto Sans", Sans-serif;
  font-weight: 500;
  line-height: 30px;
  font-size: 15px;
  color: #DA3B3B;
}
.post-title-home{
    font-family: "Noto Sans", Sans-serif;
    font-weight: 700;
    line-height: 25px;
    font-size:16px;
    color:#772038;
    margin:unset;

}

.post-content {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #303336;
}



.read-more {
  display: inline-block;
  color: #EE330D;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Roboto';
}

.read-more:hover {
  color: #8B1800;
}
.latest-main-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 50px 100px;
    gap: 40px;
}
.inner-latest-main .latest-news {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
}
.inner-latest-main .latest-news .latest-news-item {
    display: flex;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}
.inner-latest-main .latest-news .latest-news-item img {
  height: auto;
  object-fit:cover;
  height: 100%;
  min-width: 200px;
  width: 100%;
  padding: 10px;
}
.inner-latest-main {
    width: 50%;
}
.latest-main-hero .srv-img-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
	border-radius:20px;
}

@media(max-width:1200px){
 .latest-main-hero{
	 display: flex;
    flex-direction: column;
}
.inner-latest-main{
	width:100%;
}
	.latest-main-hero .ram-container {
		margin:0px;
		width:100%
	}
	.inner-latest-main {
    width: 100%;
}
}



@media(max-width:1024px) {

}

@media(max-width:768px) {
  .latest-news {
    display:grid;
    grid-template-columns: repeat(1, 1fr) !important;
    gap:20px;
    margin-right: 20px;

  }
  img.latest-news-img-image {
    width: 100px;
}
	.inner-latest-main .latest-news .latest-news-item {
		flex-direction:column;
	}
	.latest-main-hero {
	padding:25px 50px;
	}
}

@media(max-width:1087px){
  .post-title-home{
  font-weight: 600;
    line-height: 25px;
}
}

@media (min-width: 1059px) and (max-width: 1759px) {
  .latest-news_home {
    gap: 20px; /* Adjust the gap between items */
  }
}
@media (min-width: 1037px) and (max-width: 1058px) {
  .latest-news_home {
    gap: 20px; /* Adjust the gap between items */
  }
}
@media (min-width: 1025px) and (max-width: 1037px) {
  .latest-news_home {
    gap: 20px; /* Adjust the gap between items */
  }
}
@media (min-width: 850px) and (max-width: 1024px) {
  .latest-news_home {
    gap: 30px; /* Adjust the gap between items */
  }
}
@media (min-width: 787px) and (max-width: 849px) {
  .latest-news_home {
    gap: 10px; /* Adjust the gap between items */
  }
}


/* DEVOTE SERVICES CSS */
.devote_services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.devote_services .devote-services-item  img {
  width: 64px;
  height: 64px;
  margin-left: auto;
  margin-right: auto;
}
.devote_services .devote-services-item {
padding: 30px;
background-color: #EE330D17;
text-align: center;
border-radius: 10px;
}

/*style for owl dot*/
.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px; /* Adjust the distance from the bottom */
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.owl-dot {
    display: inline-block;
    width: 10px; /* Adjust the width of each dot */
    height: 10px; /* Adjust the height of each dot */
    margin: 0 5px; /* Adjust the spacing between dots */
    background-color: rgba(255, 255, 255, 0.5); /* Adjust the background color and opacity */
    border-radius: 50%; /* Make the dots round */
    transition: background-color 0.3s ease; /* Add a transition effect */
}

.owl-dot.active {
    background-color: #ffffff; /* Change the background color of active dot */
}
/* Style for Contact Form 7 */

/* Form Container */
.wpcf7 {
  max-width: 100%;
  margin: 0 auto;
}

.wpcf7 label {
  display: block;
}

.wpcf7 span {
  display: block;
}

/* Form Title */
.wpcf7 h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px; /* Adjust the distance from the bottom */
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.owl-dot {
    display: inline-block;
    width: 10px; /* Adjust the width of each dot */
    height: 10px; /* Adjust the height of each dot */
    margin: 0 5px; /* Adjust the spacing between dots */
    background-color: rgba(255, 255, 255, 0.5); /* Adjust the background color and opacity */
    border-radius: 50%; /* Make the dots round */
    transition: background-color 0.3s ease; /* Add a transition effect */
}

.owl-dot.active {
    background-color: #ffffff; /* Change the background color of active dot */
}
.slider-item {
    position: relative; /* Add relative positioning to the slider item */
}

/* Form Fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
  width: 100%;
  height: 45px;
  padding: 15px;
  margin-bottom: 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.wpcf7 textarea {
  height: 120px; /* Corrected syntax for setting height */
}

/* Form Submit Button */
.wpcf7 input[type="submit"] {
  background-color: #8B1800;
  color: white;
  padding: 12px 24px;
  border: 1px solid #1e1c44;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 18px;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #EE330D;
}

/* Error Messages */
.wpcf7 .wpcf7-not-valid-tip {
  color: red;
}

/* Success Message */
.wpcf7 .wpcf7-mail-sent-ok {
  color: #4CAF50;
  font-weight: bold;
}


/* PANCHAGAM PAGE CSS STYLE */
.tribe-events-c-subscribe-dropdown__container{
	display:none !important;
}

.tribe-events-header {
  padding: 20px 10px !important;
  background-color: #8B1800 !important;
}
.tribe-events-calendar-month{
  padding: 25px 10px !important;
  background-color: #FFFCDE !important;
}
.tribe-common .tribe-common-h8{
  line-height: 28px !important;
  text-wrap: wrap !important;
}
.tribe-common .tribe-common-c-svgicon__svg-fill {
  fill: white !important;
}
.tribe-events-c-top-bar__datepicker-desktop{
  color: white !important;
}
.tribe-events-c-messages__message-list-item{
  color: white !important;
}
.tribe-common-anchor-thin-alt{
  color: white !important;
}
.tribe-common .tribe-common-c-svgicon--messages-not-found path {
  stroke: white !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day{
  border-color: black !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__week{
  border-left: 1px solid black !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__body{
 border-top: 1px solid black !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.tribe-events-c-top-bar__datepicker-mobile{
  color: white !important;
}

@media(max-width:768px)
{
  .tribe-events .tribe-events-calendar-month__day-cell {
    height: 70% !important;
    width: 70% !important;
    padding-top: 5px !important;
  }
  .tribe-events .tribe-events-calendar-month__day-cell--selected:hover{
    background-color: #8B1800 !important;
  }
  .tribe-events .tribe-events-calendar-month__day-cell--selected{
    background-color: #8B1800 !important;
  }
}
