/* !
 * Troutfly Internet
 * Start Bootstrap - Full Width Pics HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0. */
body {
    margin-top: 50px;
}

@media (max-width:399px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ! -- ADAM edit start -- */
/* ! -- nav bar background color and bottom margin color -- */
.navbar-inverse {
    background-color: #060343;
    #: #ffffff;
    padding-bottom: 10px;
    padding-left: 0px;
    border-bottom-width: 1px;
}

/* ! -- nav bar link color -- */
.navbar-inverse .navbar-nav>li>a {
    color: #ffffff;
}

/* ! -- nav bar link hover color -- */
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
    color: #fff000;
    background-color: transparent;
}

/* Adam's 2nd level drop-down */
.adam-2nd-drop-item:hover {
    background-color: #09ff00;
}

/* ! -- footer text and background color -- */
footer {
    text-align: center;
    background-color: #060343;
    padding: 10px;
    margin-top: 0px;
    margin-right: 0;
    margin-bottom: 0px;
    margin-left: 0;
    color: #fff000;
}

/* !-- button color for Instagram Read more... -- */
.instagramFeedHolder {
    background-color: #bbd9f2;

    /* For browsers that do not support gradients */
    background-image: radial-gradient(farthest-corner at 50% 135%, #bbd9f2, #bbd9f2, #060343, #060343, #060343, #060343, #060343, #060343);
    border-bottom: 1px solid #bbd9f2;
    margin-bottom: 20px;
}

/* ! -- footer link color -- */
footer a {
    color: #ffffff;
    text-decoration: none;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

footer a:visited {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #fff000;
    text-decoration: none;
}

footer a:active {
    color: #ffffff;
    text-decoration: none;
}

/* ! -- ADAM edit end -- */
.pett-village-hall-map {
    width: 98%;
    max-width: 600px;
    height: 450px;
}

/* ! -- nav bar do not edit -- */
.navbar-inverse .navbar-brand {
    color: #fff000;
}

.jotform-moveinthemorning {
    background: none;
    padding: none;
}

.jotform-page-section-moveinthemorning {
    background-color: #bbd9f2;
}

.jotform-formLine-moveinthemorning {
    min-width: 680px;
}

.adams-image-bullet-subtext {
    font-size: 90%;
    margin-left: 5px;
    break-word: break-word;
}

.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
    color: #fff000;
    background-color: transparent;
}

.navbar-inverse .navbar-text {
    color: #ff0000;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    color: #ffffff;
    background-color: transparent;
}

.navbar-inverse .navbar-nav>.disabled>a,
.navbar-inverse .navbar-nav>.disabled>a:focus,
.navbar-inverse .navbar-nav>.disabled>a:hover {
    color: #444;
    background-color: transparent;
}

.navbar-inverse .navbar-toggle {
    border-color: #333333;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
    background-color: #ffffff;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #333333;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border-color: #101010;
    list-style-type: inline;
    list-style: none;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
    color: #fff;
    background-color: #ff0000;
}

.font150 {
    font-size: 150%;
}

.past-event-header {
    background: #000066;
    margin: 10px 0;
    color: #fff;
    padding: 10px;
}

.past-event-header h1 {
    margin: auto;
}

/* --- carousel ---- */
.carousel-caption h1 {
    font-size: 5.0rem;
    line-height: 1.4;
    text-shadow: 2px 2px #000000;
    font-family: "Times New Roman", Times, serif;
    margin-bottom: -10px;
}

/* Extra code from Adam so slides take up less vertical space */
.carouselandsidepicholder {
    margin-top: 0px;
}

@media (max-width:1199px) {
    .carouselandsidepicholder {
        margin-top: 60px;
    }
}

.carousel-inner {
    width: 70%;
    border: black 1px solid;
}

/* END OF Extra code from Adam so slides take up less vertical space */
/* --- carousel on small screens --- */
@media only screen and (max-width: 992px) {
    .carouselandsidepicholder {
        position: relative;
        top: 55px;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .carouselandsidepicholder {
        position: relative;

        /* top: 10px; */
        /* margin-bottom: 10px; */
        margin-top: -45px;
    }
}

/* ! -- section -- */
section {
    padding: 30px 0 10px 0;
    background-color: #ffffff;
}

.section-heading {
    margin: 30px 0;
    font-size: 4em;
}

.section-lead {
    margin: 30px 0;
}

.section-paragraph {
    margin: 30px 0;
}

/* ! -- image -- */
.image-bg-fluid-height,
.image-bg-fixed-height {
    text-align: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.img-center {
    margin: 18px auto 21px;
    border-radius: 40px;
    border: 2px solid #b8b8b8;
}

/* --- headings ---- */
h1 {
    text-align: center;
}

h2 {
    margin: .5em 0;
    font-size: 1.4em;
    text-align: left;
}

/* ! -- accessibility trick -- */
.hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- links ---- */
a {
    color: #0E6085;
    text-decoration: none;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

a:visited {
    color: #0E6085;
    text-decoration: none;
}

a:hover {
    color: #000066;
    text-decoration: none;
}

a:active {
    color: #8b9b92;
    text-decoration: none;
}

/* ! -- colors -- */
.red {
    color: #ff0000;
    font-weight: bold;
}

/* --- buttons ---- */
.btn-custom {
    background: #2f5774;
    border-color: #2f2c4f;
    color: #ffffff;
    margin-bottom: 15px;
}

.btn-custom:hover {
    background: #333333;
    border-color: #333333;
    color: #ffffff;
}

/* --- horizontal rule ---- */
hr.style1 {
    border-top: 4px solid #8b9b92;
    margin-bottom: 20px;
    margin-top: 20px;
}

ul {
    list-style-position: inside;
    padding-left: 0;
}

.adams-ul {
    font-size: 140%;
    line-height: 160%;
    margin-left: auto;
}

/* ! -- form -- */
form {
    overflow-x: hidden;
    font-size: 14px;
    top: 0px;
    left: 0px;
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 5px;
    font-family: verdana;
    color: #000000;
    background-color: #C9BE62;
}

/* ---- Text Carousel for Testimonials --- */
.card {
    margin: 0 auto;
}

.card .carousel-item {
    height: 200px;
}

.card .carousel-caption {
    padding: 0;
    right: 0;
    left: 0;
    color: #3d3d3d;
}

.card .carousel-caption h3 {
    color: #3d3d3d;
}

.card .carousel-caption p {
    line-height: 30px;
}

.card .carousel-caption .col-sm-3 {
    display: flex;
    align-items: center;
}

.card .carousel-caption .col-sm-9 {
    text-align: left;
}

.navi a {
    text-decoration: none;
}

a > .ico {
    background-color: grey;
    padding: 10px;
}

a:hover > .ico {
    background-color: #666;
}

/* TEXT carousel */
.carousel-content {
    color: black;
    display: flex;
    align-items: center;
}

#text-carousel {
    width: 100%;
    height: 6em;
    padding: 50px;
}

/* END OF text carousel */
.adam-row-section {
    background-color: #bbd9f2;
    border-radius: 13px;
    border: 3px solid #333030;
    margin-bottom: 20px;
    padding: 15px 0;
    margin-top: 0;
}

@media (max-width:800px) {
    .adam-row-section-smaller-than800px {
        background-color: #bbd9f2;
        border-radius: 13px;
        border: 3px solid #333030;
        width: 99%;
        margin: auto;
        margin-bottom: 10px;
        margin-top: 0;
    }
}

@media (max-width:721px) {
    #of-stleonards-heading {
        display: none;
    }
}

@media (max-width:517px) {
    .insertLineBreakLessThan517px {
        display: static;
    }
}

@media (min-width:518px) {
    .insertLineBreakLessThan517px {
        display: none;
    }
}

@media (max-width:420px) {
    .expressive-dance-pic-small-screen {
        width: 45%;
    }
}

@media (max-width:330px) {
    .expressive-dance-pic-small-screen {
        width: 35%;
    }
}

.adam-row-image-style {
    border-radius: 7px;
    border: 1px solid #5c7c89;
}

@media (max-width:799px) {
    .container-narrow-screen {
        padding-right: 10px;
        padding-left: 10px;
    }
}

.nav-item {
    font-size: 1.5em;
    padding-right: 10px;
    padding-left: 10px;
}

/* adams-image-bullet-list-grid */
.adams-image-bullet-list-grid {
    display: grid;
    grid-template-columns: max-content auto;
    justify-items: left;
}

.adams-image-bullet-cell {
    padding: 8px 15px 8px 0;
    font-size: 1.5em;
    text-align: left;
}

.adams-image-bullet-cell img {
    width: 70%;
}

.adams-date-list {
    margin-left: 15px;
    border-color: #101010;
    list-style-type: none;
    list-style: none;
}

.adams-date-list li {
    float: left;
    position: relative;
    margin-right: 20px;
    margin-left: 20px;
}