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

 Theme Name:   Saint James
 Theme URI:    http://saint-james.net
 Description:  Website theme for Saint James Catholic Church.
 Author:       Gibens Creative Group
 Author URI:   http://gibenscreativegroup.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

h1, h2, h3, h4, h5, h6 {
     overflow-wrap: normal;
}

#top-header a {
	font-weight: 700 !important;
	text-decoration: underline !important;
}

#top-header .container {
    text-align: center;
}

#et-info {
	display:none;
}

.et_fullwidth_secondary_nav #top-header .container {
	padding-top: 12px;
	padding-bottom: 12px;
}

h2 {
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 600;
    font-size: 32px;
	color: #0a3c30;
}

.white h2 {
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 600;
    font-size: 32px;
	color: #f2f2f2;
}

.call-to-action-text h2{
	font-size: 28px !important;
	color: #0a3c30 !important;
	line-height: 1.2em !important;
}

@media only screen and (max-width: 1550px) and (min-width: 1470px) {
    .call-to-action-text h2 {
		font-size: 26px !important;
}
}

@media only screen and (max-width: 1469px) and (min-width: 1360px) {
    .call-to-action-text h2 {
		font-size: 23px !important;
}
}

@media only screen and (max-width: 1359px) and (min-width: 1205px) {
    .call-to-action-text h2 {
		font-size: 20px !important;
}
}

@media only screen and (max-width: 1204px) and (min-width: 1090px) {
    .call-to-action-text h2 {
		font-size: 18px !important;
}
}

@media only screen and (max-width: 1089px) and (min-width: 980px) {
    .call-to-action-text h2 {
		font-size: 16px !important;
}
}

@media only screen and (max-width: 979px) and (min-width: 576px) {
    .call-to-action-text h2 {
		font-size: 20px !important;
}
}

@media only screen and (max-width: 575px) {
    .call-to-action-text h2 {
		font-size: 16px !important;
}
}



h4 {
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 600;
    font-size: 22px;
	color: #0a3c30;
	line-height: 28px;
}

.white-p h4 {
	font-family: "Poppins", Arial, sans-serif !important;
	font-weight: 600 !important;
    font-size: 22px !important;
	color: #f2f2f2 !important;
	line-height: 28px !important;
}


p {
	font-family: "Vollkorn", Lora, serif;
	font-weight: 400;
    font-size: 20px;
	color: #0a3c30;
	line-height: 27px;
}

p a {
	color: #d3af36;
	font-weight: 700;
}

.white-p p {
	font-family: "Vollkorn", Lora, serif;
	font-weight: 400;
    font-size: 20px;
	color: #f2f2f2;
	line-height: 27px;
}

.white-p li {
	font-family: "Vollkorn", Lora, serif;
	font-weight: 400;
    font-size: 20px;
	color: #f2f2f2;
	line-height: 27px;
}

.slider-text p {
	font-family: "The Nautigal", Water Brush, cursive;
	font-weight: 700;
    font-size: 90px;
	color: #f2f2f2;
	line-height: 24px;
}

@media screen and (max-width: 768px) {
    .slider-text p {
        font-size: 60px;
    }
}

/* Styles for even smaller screens */
@media screen and (max-width: 480px) {
    .slider-text p {
        font-size: 50px;
    }
}

h5 {
	font-family: "Vollkorn", Lora, serif;
	font-weight: 700;
    font-size: 20px;
	color: #0a3c30;
	line-height: 1.4em;
}

.white-p h5 {
	font-family: "Vollkorn", Lora, serif;
	font-weight: 700;
    font-size: 20px;
	color: #f2f2f2;
	line-height: 1.4em;
}

h5 a {
	color: #d3af36;
}

.footer-text p {
	font-family: "Vollkorn", Lora, serif;
	font-weight: 400;
    font-size: 16px;
	color: #79a034;
	line-height: 27px;
}


.menu-cta a {
	background-color: #1a436a;
	color: #f7f3ee !important;
	padding: 15px 15px !important;
	border-radius: 3px;
	text-transform: uppercase;
	font-weight: bold;
}

.menu-cta a:hover {
	background-color: #a9bfd2 !important;
	color: #1a436a !important;
}

/**#main-header {
  background-image: url(https://saint-james.net/wp-content/uploads/2023/02/greenFabric.jpg);
  background-repeat: repeat;
}
**/

#main-header {
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.0) !important;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,.0) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.0) !important;
}

#main-header.et-fixed-header {
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.0) !important;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,.0) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.0) !important;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

#main-header:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -56px; /* change this value to adjust the spacing between the main-header and the repeating image */
  width: 100%;
  height: 100px; /* change this value to adjust the height of the repeating image */
  background: url('https://dev.saint-james.net/wp-content/uploads/2026/04/bluePaintStrokeBorder.png') repeat-x;
  z-index: -1;
}


@media only screen and (max-width: 1815px) and (min-width: 980px) {
 #top-menu-nav { display:none; }
}
@media only screen and (max-width: 1815px) and (min-width: 980px) {
 #et_mobile_nav_menu { display:block }
}

/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

.pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-two {
    margin-left: 10px !important;
  }

@media (max-width: 1020px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-two {
    margin-left: 0px !important;
	margin-top: 20px !important;
  }
}

@media (max-width: 980px) and (min-width: 500px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-two {
    margin-left: 10px !important;
  }
}

@media (min-width: 1631px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-three {
    margin-left: 10px !important;
  }
}

@media (max-width: 980px) and (min-width: 770px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-three {
    margin-left: 10px !important;
  }
}

.pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-dos {
    margin-left: 10px !important;
  }

@media (max-width: 1393px) and (min-width: 981px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-dos {
    margin-left: 0px !important;
	margin-top: 20px !important;
  }
}

@media (max-width: 981px) and (min-width: 660px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-dos {
    margin-left: 10px !important;
  }
}

@media (max-width: 659px) {
  .pa-inline-buttons .et_pb_button_module_wrapper .pledge-button-dos {
    margin-left: 0px !important;
	margin-top: 20px !important;
  }
}

/* Change color of primary menu navigation hover state */
#top-menu-nav li a:hover {
   color: #1a436a !important; /* Replace with your desired color */
}

/* Remove opacity from primary menu navigation hover state */
#top-menu-nav li a:hover {
   opacity: 1 !important;
}

/* Remove background opacity from dropdown menu items */
#top-menu-nav li ul li a:hover {
   background-color: transparent !important;
}

/* Change color of mobile menu navigation hover state */
@media (max-width: 1530px) {
  #et_mobile_nav_menu li a:hover {
    color: #1a436a; /* Replace with your desired color */
  }
}

/* Remove opacity from mobile menu navigation hover state */
@media (max-width: 1530px) {
  #et_mobile_nav_menu li a:hover {
    opacity: 1 !important;
  }
}

/* Remove background opacity from mobile menu navigation hover state */
@media (max-width: 1530px) {
  #et_mobile_nav_menu li ul li a:hover {
    background-color: transparent !important;
  }
}

#top-menu li ul li {
    border-bottom: none;
}

.et_mobile_menu {
overflow: scroll !important;
max-height: 84vh; /*edit this to match your view height*/
box-shadow: 0px 0px 30px rgba(0,0,0,0.3) /*just some box shadow for nicer menu, you can skip this*/
}

.my-gallery-arrows .et-pb-arrow-prev:before,
.my-gallery-arrows .et-pb-arrow-next:before {
  color: #ffffff; /* Replace with the color code you want to use */
}

.et_pb_gallery .et-pb-controllers a {
    background-color: #ffffff; /* Replace with the color code you want to use */
    border-color: #ffffff; /* Replace with the color code you want to use */
}

.et_pb_gallery .et-pb-controllers .activeSlide a {
    background-color: #0A3C30; /* Replace with the color code you want to use */
    border-color: #0A3C30; /* Replace with the color code you want to use */
}

