/*
*   Custom styles by Andrew Aldridge for Strensham Village Hall
*/

/* Signup */
.inline-container {
	margin: auto;
}

/* Navigation */

.navbar {
    z-index: 2000;
}

.navbar-header {
    position: relative;
    z-index: 4000;
}

#brand img {
    padding: 0px;
    margin-top: 7px;
}

#brand {
    padding-left: 0px;
}

.navbar-collapse {
    padding: 0px 5px 0px 5px;
}

.nav li {
    font-size: 24px;
}

.nav a {
    color: #000;
}

.navbar-default .navbar-nav > .active > a {
    color: #000;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
    color: #000;
    background-color: #eee;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a {
    color: #222;
}

.nav a:hover {
    color: rgb(58, 58, 58);
}

.navbar-nav {
    margin-top: 9px;
}

.navbar-header {
    display: flex;
}

.icon-bar {
    margin-left: 4px;
}

.header {
    line-height: 20px;
}

.navdown {
    font-size: 40px;
    color: #eee;
    position: absolute;
    top: calc(100% - 50px);
    left: 50%;
}

.back-to-top {
    bottom: 50vh;
    right: 0px;
    font-size: 14px;
}

.bounce {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Page */

html {
    scroll-behavior: smooth;
}

#main {
    padding-top: 59px;
}

body {
    color: #000;
}

p {
    font-size: 20px;
    text-align: justify;
}

body section {
    padding-top: 0px;
}

.customfullimage {
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

.floatgreeting {
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 10px;
    text-align: center;
    /*background-color: rgba(34, 139, 34, 0.9);
    color: #fff;*/
}

.centre-both {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-header {
    padding-bottom: 0px;
    margin: 0px;
    border-bottom: none;
}

.footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #ddd;
    height: 65px;
}

.footerbanner {
    padding-top: 20px;
}

ul,
li {
    font-size: 18px;
    line-height: 1.5;
}

/* Calendar */
#flatcal_minical .flatcal_month_label {
    font-size: 16px !important;
}

#flatcal_minical td.flatcal_weekdays {
    font-size: 14px !important;
}

#flatcal_minical .flatcal_daycell,
#flatcal_minical .flatcal_todaycell,
#flatcal_minical .flatcal_sundaycell,
#flatcal_minical .flatcal_othermonth {
    font-size: 14px !important;
}

#flatcal_minical .flatcal_daylink,
#flatcal_minical .flatcal_sundaylink,
#flatcal_minical .flatcal_busylink {
    font-size: 14px !important;
}

#panel-90-link {
    padding: 10px 5px !important;
    margin-left: 15px;
}

#jevents_header {
    padding-top: 28px;
}

.mod_events_latest_table td span {
    font-size: 16px;
    line-height: 18px;
}

.mod_events_latest_table td a span {
    color: #337ab7;
}


/*
.fullwidth {
    background-image: url("/images/IMG_20200326_162248_cropped.jpg");
    background-size: 100% auto;
    background-repeat: no-repeat;
    min-height: 1070px;
}
*/

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}



/* Responsive */
@media (min-width: 240px) {
    .navbar .container,
    .container {
        width: 95%;
    }
    .item-page {
        width: 100%;
        margin: auto;
    }
    #brand {
        width: 250px;
        margin: 0 auto 0 20px;
    }
    .floatgreeting {
        font-size: 20px;
        padding: 2px;
        line-height: 20px;
        top: 15%;
        margin-top: 20px;
    }
    .customfullimage img {
        margin-top: 50px;
    }
    #main {
        padding-top: 10px;
    }
    p {
        font-size: 16px;
        line-height: 18px;
    }
    h2 {
        font-size: 24px;
        line-height: 26px;
        margin-top: 2px;
    }
    #fullwidth .moduletable {
        margin-bottom: 0px;
    }
    .navdown {
        display: none;
    }
}
@media (min-width: 768px) {
    .navbar .container,
    .container {
        width: 95%;
    }
    .item-page {
        width: 90%;
        margin: auto;
    }
    #brand {
        width: 220px;
        margin: auto;
    }
    .floatgreeting {
        font-size: 24px;
        padding: 5px;
        line-height: 24px;
        top: 10%;
    }
    p {
        font-size: 18px;
        line-height: 20px;
    }
    h2 {
        font-size: 28px;
        line-height: 30px;
        margin-top: 5px;
    }
    .navdown {
        display: none;
    }
}
@media (min-width: 992px) {
    .navbar .container,
    .container {
        width: 90%;
    }
    .item-page {
        width: 85%;
        margin: auto;
    }
    #brand {
        width: 300px;
        margin: auto;
    }
    .customfullimage img {
        margin-top: 0px;
    }
    .floatgreeting {
        font-size: 24px;
        padding: 5px;
        line-height: 24px;
        top: 8%;
    }
    #main {
        padding-top: 30px;
    }
    p {
        font-size: 18px;
        line-height: 26px;
    }
    h2 {
        font-size: 34px;
        line-height: 36px;
        margin-top: 10px;
    }
    .navdown {
        display: block;
    }
}
@media (min-width: 1200px) {
    .navbar .container,
    .container {
        width: 1170px;
    }
    .item-page {
        width: 75%;
        margin: auto;
    }
    #brand {
        width: 300px;
    }
    .floatgreeting {
        font-size: 36px;
        padding: 10px;
        line-height: 36px;
        top: 8%;
    }
    h2 {
        font-size: 45px;
        line-height: 48px;
        margin-top: 15px;
    }
}
@media (min-width: 1600px) {
    .navbar .container,
    .container {
        width: 1400px;
    }
    .item-page {
        width: 85%;
        margin: auto;
    }
    .floatgreeting {
        font-size: 48px;
        padding: 10px;
        line-height: 48px;
        top: 8%;
    }
}
