/* styles.css
Shofar Orange #ff571f
Shofar Grey #8f8f8f
*/

.navbar-light .navbar-nav .nav-link:hover {
    color: #ff571f !important;
}
body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 80px;
    background-image: url(images/contours.svg);
    background-repeat: no-repeat;
    background-size: 84%;
}
/* NAV MENU LINES */

@font-face {
    font-family: myFirstFont;
    src: url('fonts/Faith_And_Glory/TTF/FaithAndGlory-One.ttf');
}
@font-face {
    font-family: myFirstFont;
    src: url(fonts/Faith_And_Glory/TTF/FaithAndGlory-Two.ttf);
    font-weight: bold;
}
a:link, a:visited {
    text-decoration: none;
}
a:hover, a:active {
    color: #ff571f;
    text-decoration: none;
}
p a, p a:hover {
    color: #ff571f;
    text-decoration: underline;
}
li a {
    color: #8f8f8f;
}
h1 {
    font-family: myFirstFont, 'Open Sans Condensed', sans-serif;
    font-size: 40px; /*ORIGINAL SIZE 58px*/
    color: #8f8f8f;
}
h2, h5, h6 {
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: #8f8f8f;
}
.carousel-caption h5, .card-img-overlay h5 {
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}
.carousel-caption h5 {
    display:inline;
}
.carousel-caption h5:hover {
    color: #ff571f;
    text-decoration: none !important;
}

/* ADDED CAROUSEL CONTROLS */
/* .carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 42px;
    width: 42px;
    outline: black;
    background-size: 50%, 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    background-image: none;
    background-color: #8f8f8f;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.carousel-control-prev-icon:hover,
.carousel-control-prev-icon:active,
.carousel-control-next-icon:hover,
.carousel-control-next-icon:active {
    background-color: #ff571f;
}
.carousel-control-next-icon:after {
    color: #fff;
    content: '\f054';
    font-family: "Font Awesome 5 Free"; /* This is the correct font-family
    font-weight: 900;
    font-size: 24px;
    vertical-align: middle;
    padding-left: 4px;
}
.carousel-control-prev-icon:after {
    color: #fff;
    content: '\f053';
    font-family: "Font Awesome 5 Free"; /* This is the correct font-family
    font-weight: 900;
    font-size: 24px;
    vertical-align: middle;
    padding-right: 4px;
}
------------------ */

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(204, 204, 204, 0.9);
    padding: 0 0;
}
/* THIS IS FOR NAV DROPDOWNS - NAVIGATION */

.dropdown-menu a:hover {
    background-color: #ff571f !important;
    color: white;
}
/* THIS IS FOR BUTTON DROPDOWNS - BODY */

#congregations .dropdown-menu a:hover {
    background-color: #8f8f8f;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu a::after {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .9em;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #8f8f8f;
    margin: 0 1.5rem;
}
.nav-pills .nav-link:hover {
    color: #fff;
    background-color: #ff571f;
}
.btn-secondary {
    color: #fff;
    background-color: #8f8f8f !important;
    border-color: #8f8f8f !important;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    color: #fff;
    background-color: #ff571f !important;
    border-color: #ff571f !important;
}
.btn-outline-secondary {
    color: #8f8f8f !important;
    border-color: #8f8f8f !important;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
    color: #fff !important;
    background-color: #8f8f8f !important;
    border-color: #8f8f8f !important;
}
.bg-primary {
    background-color: #8f8f8f !important; /* yellow */
}
.section-content {
    padding: 4rem 0;
}
.heading-bar-container {
    position: relative;
}
.heading-bar h1 {
    position: absolute;
    left: 0;
    top: 33%;
    width: 100%;
    text-align: center;
    color: white;
}
.heading-bar-img {
    width: 100%;
    height: auto;
    min-height: 81px;
    z-index: -1;
}
.card {
    -webkit-box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
    box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
    border-radius: 3px;
}
.do-icon {
    margin: auto;
    height: 150px;
    width: 150px;
    background-color: #8f8f8f;
    border-radius: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}
/* FOOTER */
.footer-main {
    background: #8f8f8f;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 2.5rem 0;
    text-align: center;
}
.footer-main a {
    color: #ffffff;
}
.footer-main h6 {
    color: #ffffff;
}
.footer-main a:hover {
    color: #ff571f;
    text-decoration: none;
}
.copyright {
    background: #222;
    color: #8f8f8f;
    border-top: 2px solid white;
    font-size: 0.8rem;
    padding: 0.5rem 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.copyright a {
    color: #8f8f8f;
}
/* Extra small devices is default */

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    h1 {font-size: 40px;}
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    h1 {font-size: 48px;}
    .imagebreak {width: 330px;}
    
    .policy {
        -webkit-column-count: 1;
        column-count: 1; 
    }
}
/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    h1 {font-size: 58px;} /*ORIGINAL SIZE*/
    .imagebreak {width: 450px;}
    
    .policy {
        -webkit-column-count: 2;
        column-count: 2; 
        -webkit-column-rule-style: solid; 
        column-rule-style: solid; 
        -webkit-column-rule-width: 1px; 
        column-rule-width: 1px; 
        -webkit-column-gap: 40px; 
        column-gap: 40px; 
        -webkit-column-rule-color: rgba(204, 204, 204, 0.9); 
        column-rule-color: rgba(204, 204, 204, 0.9);
    }
}
/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    h1 {font-size: 68px;}
    .imagebreak {width: 540px;}
}

video {
    width: 100%;
    height: auto;
    text-align: center;
    }
.alpha-times {
    padding: 30px; /* SPACE INSIDE BLOCKS */
    -webkit-box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
    box-shadow: 0 1px 1px 0 rgba(60,64,67,.08), 0 1px 3px 1px rgba(60,64,67,.16);
    border-radius: 3px;
}
.policy li {
    list-style-type: circle;
}

/* This is create the vertical column rule in the policy
Tablet and bigger (https://bootsnipp.com/snippets/lWXD6)
@media ( min-width: 768px ) {
    .grid-divider {
        position: relative;
        padding: 0;
    }
    .grid-divider>[class*='col-'] {
        position: static;
    }
    .grid-divider>[class*='col-']:nth-child(n+2):before {
        content: "";
        border-left: 1px solid #DDD;
        position: absolute;
        top: 0;
        bottom: 0;
    }
}*/