/* Image Titles */

.imagecontainer {
        position: relative;
    }

.title {
        position: inherit;
        bottom: 0;
        left: 0;
        margin-top: 2px;
        color: darkslategray;
        padding: 5px;
        width: 100%;
        box-sizing: border-box;
    }

.t4-main-body {
	padding-top: 4rem;
	padding-bottom: 2rem;
}

bottom-large {
  padding-bottom: 60px !important;
}
.top-large {
  padding-top: 70px;
}

/* Gallery Section 7 Modification */

.t4-col.section-7.col-sm {
    position: relative;
}

#ig-gallery-wrapper-M181 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 15px; /* Adjust this value to match the padding set on the left */
    padding-right: 15px; /* Adjust this value to match the padding set on the right */
    width: calc(100% - 30px); /* Compensate for the left and right padding */
}



.container, .t4-masthead .t4-masthead-detail, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
	margin-top: 15px;
    margin-bottom: 10px;
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.jpb-page .bg-primary {
	background-color: #073121 !important;
   	box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.8); /* Add shadow effect */
}

#t4-footer .bg-overlay {
	opacity: 0.4;
}

#t4-footer {
    background-image: url('images/joomlart/others/footer.jpg');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed; /* Keep the background fixed in the viewport */
}

#t4-footer .bg-overlay {
    opacity: 0.4;
}


.info-title h2 span {
    position: relative; /* Make the span a positioned element */
    display: inline-block; /* Make the span inline-block to ensure it wraps properly */
    line-height: 1.5; /* Ensure the span wraps properly */
}

.info-title h2 span::after {
    content: ''; /* Add a pseudo-element */
    position: absolute; /* Position the underline relative to the span */
    left: 0; /* Ensure the underline starts from the left */
    bottom: -2px; /* Adjust the vertical position of the underline */
    width: 100%; /* Ensure the underline spans the entire width */
    border-bottom: 5px solid #ee885f; /* Create the underline */
}

.t4-col section-4 col-sm col-md-4 .top-large {
	padding-top: 20px;
    margin: 0 auto;
}

@media (min-width: 992px) {
  .t4-main-body {
    padding-top: 4rem;
  }
}
@media (min-width: 768px) {
  .t4-main-body {
    padding-top: 2.5rem;
  }
}
.t4-main-body {
  padding-top: 1rem;
}



/*Fix contact page on mobile*/
@media (max-width: 575.98px) {
  .contact #contact-form .contact-name {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .contact .contact-link ul.nav {
    justify-content: flex-start;
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .contact .plain-style .contact-info {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 1199.98px) {
  .contact .plain-style .contact-address dd.show-0 {
    width: 50%;
  }
}
@media (max-width: 575.98px) {
  .contact .plain-style .contact-address dd.show-0 {
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
  .contact .plain-style .area-form .title-lead {
    padding-bottom: 2rem;
    padding-top: 4rem;
  }
}
@media (max-width: 767.98px) {
  .contact .plain-style .area-form .title-lead {
    padding-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .contact .plain-style .area-form .title-lead h2, .contact .plain-style .area-form .title-lead .h2 {
    font-size: var(--h2-font-size);
  }
}

.info-desc aos-init aos-animate {
    display: none;
}

/* Footer Styles */

.t4-footer .mod-footer .footer2 {
    display: none;
}

/* Contact Us Styles */

.area-map {
    display: none;
}

.contact .plain-style .contact-address dd.show-0 .icon {
   color: #2e6732;
}
.contact #contact-form .form-control {
    background: #ccf0eb;
}

.contact .plain-style .contact-info {
    padding-left: calc((100% - 65%) / 2); /* Adjust as needed */
    padding-right: calc((100% - 65%) / 2); /* Adjust as needed */
}

.contact .plain-style .area-form .title-lead {
	padding-bottom: 2rem;
	padding-top: 1rem;
}

/* Contact Details */

.contact .plain-style .area-form .title-lead {
  text-align: center;
  padding-bottom: 4rem;
  padding-top: 8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}


.title-lead {
	text-align: center !important;
}

.ja-masthead:not(.has-bg) {
    background: #F0FAF1;
}

.form-control {
	color: black !important;
}

.contact .plain-style #contact-form input, .contact .plain-style #contact-form textarea {
	max-width: 100%;
	color: black !important;
}