
html {
    scroll-behavior: smooth;
}

#flowers {
    height: 30px;
}

#ashes-and-urns {
    height: 30px;
}

#donations {
    height: 30px;
}

h3 {
    font-family: 'Arial', Verdana;
    font-size: 38.5px;
    margin-bottom: 30px;
    padding-top: 30px;
    font-weight: 400;
    /*display: flex;*/
}

h4 {
    font-family: 'Arial', Verdana;
    font-size: 28.5px;
    margin-bottom: 20px;
    padding-top: 20px;
    font-weight: 400;
    /*display: flex;*/
}
.head-underline-p {
    font-family: 'Arial', Verdana;
    font-size: 20px;
    /*line-height: 1.7em;*/
    /*margin-bottom: 2em;*/
    border-bottom: 1px solid;
    padding-bottom: 25px;
}

.head-underline-pw {
    font-family: 'Arial', Verdana;
    font-size: 20px;
    /*line-height: 1.7em;*/
    /*margin-bottom: 2em;*/
    border-bottom: 1px solid #fff;
    padding-bottom: 25px;
}

.yl-text {
    color: #ea1;
}

.btn-primary {
    background-color: #ea1 !important;
    border: 0px;
}

nav {
    border-bottom: 5px solid #ea1;
}

footer {
    border-top: 5px solid #ea1;
}

.bk-colour-yl {
    background-color: #ea1 !important;
}


/*-- Arrow down Div --*/

.bg-yellow {
    background-color: #ea1;
}

.content-yl {
    background: #ea1;
    padding-top: 10px;
    text-align: center;
    height: auto;
}

.content-dk {
    background: #212529;
    padding-top: 10px;
    text-align: center;
    height: auto;
}

.triangle-down {
    box-sizing: content-box;
    width: 50%;
    height: 0;
    padding-left: 50%;
    padding-top: 2%;
    overflow: hidden;
}

.triangle-down-dk {
    box-sizing: content-box;
    width: 50%;
    height: 0;
    padding-left: 50%;
    padding-top: 2%;
    overflow: hidden;
}

.triangle-down div {
    width: 0;
    height: 0;
    margin-left: -62.5rem;
    margin-top: -3rem;
    border-left: 62.5rem solid transparent;
    border-right: 62.5rem solid transparent;
    border-top: 3rem solid #ea1;
}

.triangle-down-dk div {
    width: 0;
    height: 0;
    margin-left: -62.5rem;
    margin-top: -3rem;
    border-left: 62.5rem solid transparent;
    border-right: 62.5rem solid transparent;
    border-top: 3rem solid #212529;
}


/*-----Top Head------*/

img.middle {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

.toptext {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
    color: #ea1;
}

.toptextb {
    color: white;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.75em;
    line-height: 2em;
}


/*---Top Head End--*/


/*---NAV-----------*/
/*
@media (min-width:600px) { 
    .navbar-nav { 	max-height: 400px !important;
        overflow-y: scroll !important; }

}
*/

.navbar-toggler {
    color: #fff !important;
    padding: 10px;
    border-style: hidden !important;
    border-radius: 0px;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.dropdown-item  {
    border-bottom: silver 1px solid;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.navbar-nav>li>a {
    border: 1px solid rgba(0, 0, 0, 0);
}


/* On screens that are 768px or less (md), set the max size */


/* width of longest text add media query*/

@media screen and (max-width: 768px) {
    .navbar-nav>li>a {
        min-width: 7rem;
    }
}

.navbar-nav>li>a:hover {
    border: 1px solid #ea1;
    transition: 1.0s;
    padding: 0.5rem;
    margin: 0.5rem;
}

a.nav-link {
    padding: 0.5rem;
    margin: 0.5rem;
}

.nav-link.active {
    border: 1px solid #ea1;
    padding: 0.5rem;
    margin: 0.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}


/* Remove border from toggler */

.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}


/* Lines of the Toggler */

.toggler-icon {
    width: 30px;
    height: 3px;
    background-color: #ea1;
    display: block;
    transition: all 0.2s;
}


/* Adds Space between the lines */

.middle-bar {
    margin: 5px auto;
}


/* State when navbar is opened (START) */

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
    margin-left: 50px;
    margin-right: 35px;
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
    margin-left: 50px;
    margin-right: 35px;
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
    margin-left: 50px;
    margin-right: 35px;
}

.dropdown-menu {
    padding-top: 0% !important;
    padding-bottom: 0% !important;
}

/* State when navbar is opened (END) */


/* State when navbar is collapsed (START) */

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}


/* State when navbar is collapsed (END) */


/* Color of Toggler when collapsed */

.navbar-toggler.collapsed .toggler-icon {
    background-color: #ea1;
}


/* dropdown colours */

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: rgb(227, 162, 9);
    color: #fff;
}

.dropdown-item.active, .dropdown-item:active {
    text-decoration: none;
    font-weight: bold;
    background-color: rgb(227, 162, 9);
    color: #fff;
} 

.middlediv {
    text-align: center !important;
   }
/*---NAV-----END------*/


/*-- Top Slider --*/

@media only screen and (max-width: 600px) {
    #slidetop .carousel-item img {
        object-fit: cover;
        object-position: center;
        overflow: hidden;
        height: 50vh;
    }
}

.carousel-caption {
    max-width: 100%;
    width: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-caption h3 {
    font-size: 3.3vh;
    text-shadow: 3px 3px #2a2a2a;
}

.carousel .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin-bottom: 1rem;
 }
/*---Slider Testimonials----*/

.testimonial-container .testimonial {
    margin: auto;
    width: auto;
    margin: 0px auto;
    padding: 40px 0px 30px;
    font-size: 1.1rem;
    max-width: 60%;
}

@media only screen and (min-width: 768px) {
    .testimonial-container .testimonial {
        margin: auto;
        width: auto;
        margin: 0px auto;
        padding: 40px 0px 30px;
        font-size: 1.7rem;
        max-width: 60%;
    }
}

.testimonial-container .testimonial::before {
    top: 65px;
}

.testimonial {
    font-family: roboto, serif, Georgia, Times;
    line-height: 1.4em;
    color: #3f3f3f;
    position: relative;
    font-size: 1em;
    margin-right: 0px;
    margin-left: 0px;
}

.testimonial:before {
    content: '“';
    position: absolute;
    top: 30px;
    left: -60px;
    font-size: 7rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #ea1;
    font-style: normal;
}

.testimonial cite {
    font-size: 0.6em;
    font-weight: bold;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: block;
    margin-left: 30px;
    padding-top: 10px;
    font-style: normal;
}


/*--- End Testimonial section ---*/


/*--- Contact and Map--*/

.borders-map {
    border-bottom: 0px solid #212529;
    border-top: 0px solid #212529;
}

form a {
    color: #ea1;
    transition: all 0.3s;
}

form a:hover {
    color: #505e6c;
    transition: all 0.3s;
}

.contact-clean {
    padding: 60px 0;
}

@media (max-width:767px) {
    .contact-clean {
        padding: 20px 0;
    }
}

.contact-clean form {
    max-width: 480px;
    width: 90%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 4px;
    color: #505e6c;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width:767px) {
    .contact-clean form {
        padding: 30px;
    }
}

.contact-clean h2 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 36px;
    color: inherit;
}

.contact-clean form .form-control {
    background: #fff;
    border-radius: 2px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
    outline: none;
    color: inherit;
    padding-left: 5px;
    height: 36px;
}

.contact-clean form .form-control:focus {
    border: 1px solid #b2b2b2;
}

.contact-clean form textarea.form-control {
    min-height: 100px;
    max-height: 260px;
    padding-top: 10px;
    resize: vertical;
}

.contact-clean form .btn {
    padding: 16px 32px;
    border: none;
    background: none;
    box-shadow: none;
    text-shadow: none;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.4px;
    line-height: 1;
    outline: none !important;
}

.contact-clean form .btn:hover {
    opacity: 1;
}

.contact-clean form .btn:active {
    transform: translateY(1px);
}

.contact-clean form .btn-primary {
    background-color: #ea1 !important;
    margin-top: 15px;
    color: #fff;
}

.form-control {
    padding-top: 0.3rem;
}


/*--- Contact and Map END--*/


/* ==========================================
   Footer
  ========================================== */

footer {
    left: 0;
    bottom: 0;
    padding-left: 17%;
    background: #212529;
}

text-small {
    font-size: 0.9rem;
}

footer a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover,
a:focus {
    text-decoration: none;
    color: #ea1;
}


/* ==========================================
   About Page
  ========================================== */

@media (max-width:991px) {
    .my-left-margin {
        margin-left: auto;
    }
    .my-centre {
        justify-content: center;
    }
    /* COL 6 MD Bootstrap 
    .col-md-6 {
        width: auto;
    }*/
}


/* ==========================================
   Funeral Page
  ========================================== */

.circle-border {
    display: inline-block;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
    -khtml-border-radius: 500px;
    border: 5px solid #fff;
}

/* ==========================================
   About Us Page
  ========================================== */

.head-underline {
    font-family: 'Arial', Verdana;
    font-size: 20px;
    /*line-height: 1.7em;*/
    /*margin-bottom: 2em;*/
    border-bottom: 1px solid #fff;
    padding-bottom: 25px;
    color: rgb(227, 163, 7);
}

.team-boxed {
    color: #313437;
    background-color: #ea1;
}

.team-boxed p {
    color: #7d8285;
}

.team-boxed h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: inherit;
}

@media (max-width:767px) {
    .team-boxed h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}

.team-boxed .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.team-boxed .intro p {
    margin-bottom: 0;
    padding: 20px 0;
}


/*.team-boxed .people {
    padding: 50px 0;
}
*/

.team-boxed .item {
    text-align: center;
}

.team-boxed .item .box {
    text-align: center;
    padding: 30px;
    background-color: #ea1;
    margin-bottom: 30px;
}

.team-boxed .item .name {
    font-weight: bold;
    margin-top: 28px;
    margin-bottom: 8px;
    color: inherit;
}

.team-boxed .item .title {
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    font-size: 13px;
}

.team-boxed .item .description {
    font-size: 15px;
    color: #313437;
    margin-top: 15px;
    margin-bottom: 20px;
}

.team-boxed .item img {
    /* max-width: 160px; */
    max-width: 100%;
    border: 2px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.team-boxed .social {
    font-size: 18px;
    color: #a2a8ae;
}

.team-boxed .social a {
    color: inherit;
    margin: 0 10px;
    display: inline-block;
    opacity: 0.7;
}

.team-boxed .social a:hover {
    opacity: 1;
}
/* ==========================================
   FAQs Page
  ========================================== */

  .head-underline {
    font-family: 'Arial', Verdana;
    font-size: 20px;
    /*line-height: 1.7em;*/
    /*margin-bottom: 2em;*/
    border-bottom: 1px solid #fff;
    padding-bottom: 25px;
    color: rgb(227, 163, 7);
}

.accordion collapse {
    border: 0;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
    color: #e3a309;
}

.accordion-button:not(.collapsed) {
    background: none;
    box-shadow: none;
    border-bottom: none;
    color: white !important;
}

.accordion-button {
    color: #e3a309;
    font-weight: 500 !important;
    font-size: large;
}

.accordion-button:hover {
    color: #e3a309;
}

.accordion-button::after {
    width: auto;
    height: auto;
    content: " 〉";
    font-size: 40px;
    background-image: none;
    font-weight: 200;
    color: #e3a309;
    /*transform: translateY(-4px);*/
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

.accordion-button:not(.collapsed)::after {
    width: auto;
    height: auto;
    background-image: none;
    content: "X";
    font-size: 48px;
    transform: translate(-5px, -4px);
    transform: rotate(0deg);
}

.accordion-body {
    margin: 0;
    background-color: #e3a309;
}