/**

This stylesheet updates the design for the new static home page.

**/

@font-face {
  font-family: "Avenir LT";
  src: url('/fonts/avenir-lt-w01_85-heavy1475544.woff2');
}

@font-face {
  font-family: "Din Next";
  src: url('/fonts/din-next-w01-light.woff2');
}

@font-face {
  font-family: "Helvetica";
  font-weight: bold;
  src: url('/fonts/helvetica-w01-bold.woff2');
}

@font-face {
  font-family: "Helvetica Roman";
  src: url('/fonts/helvetica-w01-roman.woff2');
}

@font-face {
  font-family: "Open Sans";
  src: url('/fonts/open_sans.woff2');
}

@font-face {
  font-family: "NuFID";
  src: url('/fonts/nufid.woff2');
}

@font-face {
  font-family: "Made for Text";
  src: url('/fonts/made-for-text.woff2');
}

:root {
	--pm-blue-color: rgb(62,131,241);
	--main-blue-color: #234467;
}

body{
    padding-top: 0px;
}

header#header{
    background-color: rgba(62,131,241,0.5);
    color: #000000;
    font-weight: normal;
    text-align: center;
    height: 64px;
    backdrop-filter: blur(8px);
    transition: background-color 0.5s;
    border-width: 0px;
    border-bottom-width: 1px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.4);

}

header#header.scrolled{
    background-color: rgba(62,131,241,0.8);
    transition: background-color 0.5s;
}

header#header .header_inner{
    width: 80%;
}

#nav{
    display: block;
    font-family: "Din Next";
    text-align: center;
    width: 80%;
    margin: auto;
    margin-top: 0px;
    position: relative;
    top: -12px;
}

#header2_title{
    font-size: 120%;
}

section#home2{
    width: 100%;
    margin: 0px !important;
}

#home2 #section1{
    background-image: url('/images/home2/home2_bg1.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    width: 100%;
    min-height: 400px;
    padding-top: 80px;
}

#home2 #section1 h1{
    font-family: "Times New Roman", serif;
    color: #FFFFFF;
    width: 100%;
    text-align: center;
    font-size: 400%;
    margin-top: 32px;
    text-shadow: 0px 0px 8px #003366;
}

#home2 #section2{
    width: 80%;
    margin: auto;
    margin-top: 64px;
    margin-bottom: 64px;
}

#home2 #section2 aside{
    width: 30%;
    float: left;
    margin-right: 32px;
}

#home2 #section2 h2{
    font-family: "Din Next, Times New Roman, serif";
    font-size: 400%;
    width: 100%;
    text-align: center;
}

#home2 #section2 p{
    font-size: 120%;
    text-align: left;
    padding-top: 140px;
}

#home2 #section3{
    box-sizing: border-box;
    padding: 10%;
    padding-top: 16px;
    padding-bottom: 64px;
    width: 100%;
    margin: auto;
    background-color: rgba(211, 204, 186, 0.19);
}

#home2 #section3 h2, #section3 h5{
    font-family: "Din Next, Times New Roman, serif";
    letter-spacing: 4px;
    width: 100%;
    text-align: center;
}

#home2 #section3 h2{
    font-size: 200%;
    text-transform: uppercase;
}

#home2 #section3 h5{
    font-size: 120%;
}

#home2 #section3 p{
    line-height: 95%;
    font-weight: bold;
    margin-top: 32px;
}

#home2 #section4{
    display: block;
    clear: both;
    background-image: url("/images/home2/hands_banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}

#home2 #section4 .inner{
    width: 100%;
    height: 411px;
    margin: 0px;
    text-align: center;
    background-color: #9e8c69aa;
    backdrop-filter: brightness(40%) opacity(40%);
}

.dropotron{
    border-radius: 0px;
    text-align: center;
    border-width: 0px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.8);
    padding: 4px;
    color: #000000;
    font-weight: lighter;
    margin-top: 0px;
}

.dropotron.level-0:before {
    -moz-transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    background-color: transparent;
    box-shadow: none;
    content: '';
    height: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 0px;
}

.dropotron li{
    border-width: 0px;
    padding: 0px;
}

.dropotron a{
    padding: 0px !important;
    color: #000000;
}

#nav ul li.top-nav-item{
    border-right: 1px;
    border-right-color: #FFFFFF;
    border-right-style: solid;
    min-width: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

#nav ul li.top-nav-item:first-child a{
    color: #FFFFFF !important;
    text-transform: uppercase;
    min-width: 0px;
}

#nav ul li.top-nav-item a:hover{
    color: #FFFFFF !important;
}

#nav ul li.top-nav-item li a:hover{
    background-color: transparent !important;
}

.home2_grid_container{
  display: grid;
  /* Creates 3 columns of equal width */
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; /* Optional spacing between columns */
  padding: 10px;
  width: 100%;
  margin: auto;
}

.home2_grid_column {
  background-color: transparent;
  padding: 20px;
  text-align: center;
}

.home2_button{
    font-family: "Times New Roman", serif;
    letter-spacing: 1.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    background-color: #0b2f5b;
    padding: 4px;
    margin: 8px;
    text-align: center;
    border-color: #FFFFFF;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    box-shadow: 0 0 0 3px #0b2f5baa, 0 0 0 4px #FFFFFF;
    color: #FFFFFF;
}

.home2_button:hover{
    background-color: #FFFFFF;
    border-color: #0b2f5b;
    box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4px #0b2f5baa;
    color: #0b2f5baa;
}

.home2_button.limit_width{
    width: 320px;
    margin-right: auto;
    margin-left: auto;
}

#home2 .center .home2_button.limit_width{
    width: 320px !important;
}

.home2_cleaner{
    clear: both;
    margin-top: 64px;
}

.home2_img_area{
    font-family: "Times New Roman", serif;
    letter-spacing: 1.5px;
    width: 80%;
    height: auto;
    aspect-ratio: 4/3;
    margin: auto;
    background-repeat: no-repeat;
    background-size: cover;
    color: #FFFFFF;
}

.home2_img_area h4{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 140%;
    text-shadow: 0px 0px 2px #000000, 0px 0px 8px #000000, 0px 0px 16px #000000, 0px 0px 16px #000000;
    clear: both;
    color: #FFFFFF;
    font-weight: bold;
    padding-top: 24px;
}

.home2_img_area .home2_button{
    width: auto !important;
    display: block;
    float: right;
    clear: both;
    width: 40% !important;
    margin-top: 8px;
    margin-bottom: 8px;
}

#home2 #section4 .inner{
    padding-top: 64px;
}

#home2 #section4 h3{
    font-family: "NuFID", "Times New Roman", serif;
    font-weight: 100;
    font-size: 300%;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 24px;
    color: #000000;
    transform: scaleY(0.8);
    opacity: 0.8;
    text-shadow: 0px 0px 16px #FFFFFF;
}

#home2 #section4 h4{
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 32px;
    text-shadow: 0px 0px 16px rgb(61, 58, 43);
}

#home2 #section4 a.home2_button{
    box-sizing: border-box;
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    letter-spacing: 0px;
    font-size: 80%;
    box-shadow: none;
    border-width: 0px;
    width: 200px;
    height: 48px;
    margin: auto;
    padding-top: 12px;
    text-transform: uppercase;
    transition: background-color 1s;
}

#home2 #section4 a.home2_button:hover{
    color: #FFFFFF !important;
    background-color: #0b2f5b50;
    transition: background-color 1s;
}

#home2 img, .home2_img_area{
    border-radius: 8px;
    border-width: 1px;
    border-color: #000000;
    border-style: solid;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.4);
}

#home2 .center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 100%;
}

#home2 .center img{
    display: block;
    margin: 0px;
    clear: both;
    max-width: 100%;
    height: auto;
}

#home2 .center .home2_button{
    width: 100%;
}

#home2_footer{
    width: 100%;
    text-align: center;
    margin-bottom: 64px;
}

#disc_center .home2_button{
    box-shadow: none;
    border-radius: 0px;
    border-width: 0px;
    width: 180px;
    padding: 16px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 75%;
}

#disc_center .home2_button.grey{
    background-color: #2f2e2e;
    font-size: 85%;
}

#disc_center #section1{
    background-image: url('/images/disc-center/discipleship-center-background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    color: #FFFFFF;
    font-family: "Times New Roman", serif;
    font-weight: bold;
    font-size: 150%;
    text-align: center;
    line-height: 140%;
    text-shadow: 4px 4px 4px rgba(0,0,0,0.4);
}

#disc_center #section1 .inner{
    margin: 0px;
    width: 100%;
    backdrop-filter: blur(8px);
    min-height: 400px;
    padding-top: 100px;
    padding-bottom: 64px;
}

#disc_center #section1 h4{
    color: #FFFFFF;
}

#disc_center #section1 p{
    display: block;
    width: 25%;
    margin: auto;
}

#disc_center #section2{
    width: 100%;
    min-height: 400px;
    background-color: #CCCCCC;
    padding-top: 32px;
    padding-bottom: 32px;
}

#disc_center #section2 h1{
    font-family: "Times New Roman", serif;
    width: 100%;
    text-align: center;
}

#disc_center #section2 p{
    text-align: center;
}

#disc_center #section2 .home2_grid_container{
    width: 75%;
    margin: auto;
}

#disc_center #section2 img{
    border-radius: 50%;
}

#disc_center #section2 h4{
    font-family: "Times New Roman", serif;
}

#disc_center #section3{
    font-family: "Times New Roman", serif;
}

#disc_center #section3 .home2_grid_container{
    gap: 0px;
    margin: 0px;
    padding: 0px;
}

#disc_center #section3 .home2_grid_column{
    border-width: 1px;
    border-color: #000000;
    border-style: solid;
    padding: 5%;
}

#disc_center #section3 .home2_grid_column:first-child{
    border-left-width: 0px;
}

#disc_center #section3 .home2_grid_column:nth-child(2){
    border-left-width: 0px;
    border-right-width: 0px;
}

#disc_center #section3 .home2_grid_column:last-child{
    border-right-width: 0px;
}

#disc_center #section3 img{
    width: auto;
    height: 64px;
    margin-bottom: 64px;
}

#disc_center #section3 h4{
    font-size: 160%;
    margin-bottom: 24px;
}

#disc_center #section3 p{
    font-size: 120%;
    margin: auto;
    margin-bottom: 24px;
    width: 75%;
}

#disc_center #section4{
    padding-top: 64px;
    padding-bottom: 64px;

}

#disc_center #section4 .inner{
    padding-top: 80px;
    background: linear-gradient(to right,  #5682a9 0%,#abc8e2 100%);
    width: 95%;
    margin: auto;
    margin-top: 32px;
    margin-bottom: 32px;
    min-height: 400px;
}

#disc_center #section4 h1{
    width: 100%;
    text-align: center;
    font-family: "Times New Roman", serif;
    font-size: 240%;
}

#disc_center #section4 .item{
    width: 80%;
}

#disc_center #section4 .title{
    font-family: "Times New Roman", serif;
    font-size: 180%;
    color: #FFFFFF;
    text-align: left;
    width: 100%;
}

#disc_center #section4 .title .date{
    color: #0b2f5b;
}

#disc_center #section4 .desc{
    text-align: left;
}

#disc_center #section5{
    background-image: url('/images/disc-center/dc_desert.avif');
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: right top;
    min-height: 700px;
}

#disc_center #section5 .inner{
    display: block;
    width: 50%;
    padding-top: 5%;
    font-family: "Times New Roman", serif;
}

#disc_center #section5 .inner p{
    font-size: 180%;
    text-align: center;
}

#disc_center #section5 .inner .blue{
    color: #3D9BE9;
}

#disc_center #section6{
    background-image: url('/images/disc-center/dc_pulpit.avif');
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: right top;
    min-height: 700px;
}

#disc_center #section6 .inner{
    width: 50%;
    padding: 2%;
    font-size: 120%;
}

#disc_center #section6 .inner h3, #disc_center #section6 .inner div{
    width: 75%;
    margin: auto;
    margin-bottom: 16px;
}

#communities{
    margin: auto;
    margin-top: 140px;
    width: 75%;
}

#communities h1, #communities h2, #communities h3, #communities h4, #communities h5, #communities h6, #communities iframe{
    margin: auto;
    text-align: center;
}     

#communities iframe{
    display: block;
}

#events2{
    margin: auto;
    margin-top: 100px;
    width: 75%;
}

#events2 ul.series_index li{
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 180%;
}

@media screen and (min-width: 1680px){

    #nav{
        top: -18px;
    }

}

@media screen and (min-width: 1281px){

    #home2 #section4 a.home2_button{
        padding-top: 10px;
    }
    
}

@media screen and (max-width: 1280px){

    .home2_grid_container{
        display: block;
    }    

    #home2 #section2 p{
        padding-top: 0px;
    }

    #header2_title{
        position: absolute;
        left: 16px;
        top: -10px;
        font-size: 95%;
    }

    #disc_center #section3 .home2_grid_column:first-child{
        border-right-width: 0px !important;
    }

    #disc_center #section3 .home2_grid_column:last-child{
        border-left-width: 0px !important;
    }

}

@media screen and (max-width: 980px){

    #header2_title{
        position: absolute;
        left: 2%;
        top: -16px;
    }

    #home2 img{
        width: 100%;
        height: auto;
    }

    .home2_button{
        width: 100%;
        font-size: 80%;
        position: relative;
        left: -4px;
    }

    .home2_grid_container{
        width: 100%;
        display: block;
        padding: 0px;
        margin: 0px;
    }

    .home2_grid_column{
        width: 100%;
        padding: 8px;
    }

    #home2 #section3 h2{
        font-size: 140%;
    }

    .home2_img_area{
        height: 260px;
    }

    #home2 #section4 .inner{
        padding-top: 16px;
        padding-bottom: 16px;
    }

    #home2 #section4 a.home2_button{
        padding-top: 8px;
    }

    #disc_center #section1{
        font-size: 100%;
    }

    #disc_center #section1 .inner{
        padding-bottom: 16px;
    }

    #disc_center #section1 .inner p{
        width: 95%;
        font-size: 100%;
    }

    #disc_center #section2{
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    #disc_center #section2 .home2_grid_container{
        width: 100%;
    }

    #disc_center #section2 .home2_grid_column{
        width: 100%;
        padding: 16px;
        border-bottom-width: 1px;
        border-color: #000000;
        border-style: solid;
    }

    #disc_center #section3 .item{
        display: block;
        width: 90% !important;
        margin-bottom: 24px;
        border-width: 0px !important;
        border-bottom-width: 2px !important;
    }

    #disc_center #section3 img{
        margin: 16px;
    }

    #disc_center #section4{
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    #disc_center #section4 h1{
        padding: 8px;
        font-size: 160%;
    }

    #disc_center #section4 .item.home2_grid_container{
        width: 100%;
        display: block;
    }

    #disc_center #section4 .item .home2_grid_column{
        display: block;
        font-size: 110%;
        width: 100% !important;
        margin: auto;
        padding: 16px;
    }

    #disc_center #section4 .desc{
        font-size: 90% !important;
    }

    #disc_center #section5, #disc_center #section6{
        background-size: cover;
        background-position: center center;
        min-height: 0px;
    }

    #disc_center #section5 .inner, #disc_center #section6 .inner{
        width: 100%;
        font-size: 60%;
        padding: 16px;
        min-height: 0px;
        background-color: rgba(255,255,255,0.75);
    }

    #disc_center #section5 .home2_button{
        font-size: 100%;
    }

    #disc_center #section6 .inner{
        font-size: 80%;
        backdrop-filter: blur(8px);
    }

    #disc_center #section6 .inner h4, #disc_center #section6 .inner div{
        padding: 0px;
        margin: 0px;
    }

    #communities p, #communities h4{
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }

    #communities p{
        font-size: 90%;
    }

    #communities iframe{
        display: block;
        width: 90%;
    }

    #events2{
        font-size: 90%;
    }

    #events2 ul.series_index li{
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 90%;
    }

}

@media screen and (max-width: 736px){

    #header2_title{
        top: 0px;
    }

}