body {
    font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
h3 {
    font-size: 22px;
}

.mt-1, .my-1 {
    margin-top: .25rem!important;
}
.mt-2, .my-2 {
    margin-top: .5rem!important;
}
.mt-3, .my-3 {
    margin-top: 1rem!important;
}
.mt-4, .my-4 {
    margin-top: 1.5rem!important;
}
.mt-5, .my-5 {
    margin-top: 3rem!important;
}
.mb-1, .my-1 {
    margin-bottom: .25rem!important;
}
.mb-2, .my-2 {
    margin-bottom: .5rem!important;
}
.mb-3, .my-3 {
    margin-bottom: 1rem!important;
}
.mb-4, .my-4 {
    margin-bottom: 1.5rem!important;
}
.mb-5, .my-5 {
    margin-bottom: 3rem!important;
}

.page-heading {
    margin-top: 0;
    position: relative;
}
a, a:visited {
    color: #78A741;
}
a:hover, a:active, a:focus {
    color: #668811;
}
.main .slice-caption a, .main .slice-caption a:active, .main .slice-caption a:hover, .main .slice-caption a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
.quiet a, .quiet a:hover, .quiet a:active, .quiet a:focus, .quiet a:visited {
    color: #6C6F73;
}

.meta {
    font-style: italic;
}
.img-rounded {
    border-radius: 2px;
}
.panel-default {
    border-color: #DDDDDD;
}
.panel {
    box-shadow: none;
}
.section {
    margin-top: 60px;
}
.icon-green {
    color: #78A741;
}
.icon-red {
    color: #d9534f;
}
.icon-orange {
    color: #f0ad4e;
}
.icon-grey {
    color: #888888;
}
.icon-lock {
    color: #555;
}
a.btn-success, a.btn-success:visited, a.btn-success:active, a.btn-success:hover,
a.btn-warning, a.btn-warning:visited, a.btn-warning:active, a.btn-warning:hover{
    color: #FFFFFF;
}
.label-sl {
    background-color: rgba(110, 159, 90, 0.7);
}
.label-abc {
    background-color: #edb96f;
}
.label-lg {
    font-size: 80%;
}
.hyphenate {
    -ms-word-break: break-all;
    word-break: break-all;
    // Non standard for webkit
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.btn-danger {
    background-color: #d9534f;
    border-color: #d9534f;
}
.btn-danger.active, .btn-danger:active, .btn-danger:hover, .open>.dropdown-toggle.btn-danger, .btn-danger:active:focus {
    background-color: #b13d39;
    border-color: #b13d39;
}
/* Bootstrap overrides ------------------------------------------------------*/
/* .btn-primary colour */
.btn-primary {
    background-color: #78A741;
    border-color: #6c963a;
}
.btn-primary.active, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
    background-color: #659928;
    border-color: #6c963a;
}
.btn-primary.focus, .btn-primary:focus {
    background-color: #78A741;
    border-color: #6c963a;
}
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
    background-color: #78A741;
    border-color: #6c963a;
}
.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled].focus, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
    background-color: #78A741;
    border-color: #6c963a;
}
a.btn-primary {
    color: #FFFFFF;
}
a.btn-default, a.btn-default:visited {
    color: #333333;
}
a.btn-link {
    color: #78A741;
}
/* Nav pills */
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #FAFAFA;
    font-weight: bold;
    color: #78A741;
}
.nav>li>a:focus, .nav>li>a:hover {
    background-color: #FAFAFA;
}
@media only screen and (max-width: 767px) {
    .nav-justified>li, .nav-stacked>li {
        float: left;
    }
}

/* Alert panels */
.alert-lg {
    padding: 20px 24px;
    font-size: 18px;
}

/* Forms */
label.form-required:after {
    content: ' *';
}
.form-control:focus {
    border-color: #78A741;
}
.custom-control input:checked~.custom-control-indicator {
    background-color: #78A741;
    border-color: #78A741;
}
.custom-control>label {
    font-weight: 700;
}

/* Lightbox overrides -------------------------------------------------------*/
body .lb-container, body .lb-outerContainer {
    background-color: #000000;
}
.lb-data .lb-caption {
    font-size: 16px;
}

/* FullCalendar overrides ---------------------------------------------------*/
#calendar .fc-event {
    display: none;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
    line-height: 2.2;
    text-align: center;
    color: #FAFAFA;
}
.legend {
    float: right;
    width: 140px;
    height: 28px;
    margin: 7px 1px 0 0;
    background-color: #e8e8e8;
    border-radius: 3px;
    font-size: .85em;
    font-weight: normal;
    text-align: center;
    line-height: 28px;
}
.legend.available {
    color: #777;
    background: #FFF;
    border: 1px solid #DDD;
    margin-right: 5px;
}
@media only screen and (max-width: 349px) {
    .legend {
        width: 48%;
    }
}
#calendar .fc-bg .booked {
    background-color: #e8e8e8;
}

/* Sticky footer ------------------------------------------------------------*/
html, body {
    height: 100%; /* The html and body elements cannot have any padding or margin. */
}
footer {
    background-color: #3D3D3D;
    height: 160px;
}
.sticky {
    min-height: 100%;
    height: auto;
    margin: 0 auto -160px; /* footer height plus top margin (if any) */
    padding: 0 0 160px;
}

/* Footer content -----------------------------------------------------------*/
footer p {
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    padding-top: 75px;
    color: #9d9e9b;
    letter-spacing: 1.3px;
}
footer a, footer a:hover, footer a:active, footer a:visited {
    color: #9d9e9b;
}
footer span {
    margin: 0 14px;
}

/* Navbar -------------------------------------------------------------------*/

.navbar-default {
    border: none;
}
.navbar {
    margin-bottom: 0;
}
.navbar-brand {
    padding-top:30px;
    padding-bottom:30px;
    height: 80px;
}

.navbar-brand img {
    max-width: 220px;
}
@media only screen and (max-width: 319px) {
    .navbar-brand img {
        max-width: 180px;
    }
}
.navbar-nav > li > a {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}
@media only screen and (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top:32px;
        padding-bottom:32px;
        height: 80px;
    }
}
.navbar-toggle {
    margin-top: 23px;
}
.navbar-nav .dropdown-menu {
    top: 80%;
}
.dropdown-menu>li>a {
    font-weight: 300;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover,
.navbar-nav li.open,
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
    background-color: #FAFAFA;
}
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-text,
.navbar-nav>.active>a,
.navbar-nav>.active>a:focus,
.navbar-nav>.active>a:hover {
    font-weight: 400;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    background-color: #FAFAFA;
    color: #000;
}
/* Slice Headings -----------------------------------------------------------*/

.heading {
    position: relative;
}
.slice {
    height: 120px;
    background-color: #666;
    background-image: url('../images/slices/weeds.jpg');
    background-position: 75% 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.slice-caption h2 {
    margin: 0;
    padding: 15px 20px;
    color: #FFFFFF;
    font-weight: 100;
    position: absolute;
    top: 52px;
    background-color: rgba(110, 159, 90, 0.7)
}

.news .slice {
    background: url('../images/slices/goldwater.jpg') 50% 0;
}
.news .slice-caption h2 {
    background-color: rgba(68, 51, 21, 0.8);
}
/* Main content -------------------------------------------------------------*/
.main .content {
    margin-top: 30px;
}
#alert {
    margin-top: 15px;
    margin-bottom: 0;
}

.main h2 a, .main h2 a:hover, .main h2 a:active, .main h2 a:visited,
.main h3 a, .main h3 a:hover, .main h3 a:active, .main h3 a:visited {
    color: #2D3238;
}
.main h2 a.btn-primary, .main h2 a.btn-primary:hover, .main h2 a.btn-primary:active, .main h2 a.btn-primary:visited,
.main h3 a.btn-primary, .main h3 a.btn-primary:hover, .main h3 a.btn-primary:active, .main h3 a.btn-primary:visited {
    color: #FFFFFF;
    text-decoration: none;
}
.main h2 a:hover, .main h2 a:active,
.main h3 a:hover, .main h3 a:active {
    text-decoration: underline;
}
.main a img:hover {
    opacity: 0.8;
}
/* Panels */
.panel-heading img {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.panel-heading {
    padding: 0;
}
.panel-body h3 {
    margin-top: 0;
}
/* Equal height panels */
@media only screen and (min-width: 992px) {
    .equal-md {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }
    .equal-md div[class*='col-md-'] {
        flex:1 1 auto;
        display: flex;
    }
    .equal-md .panel {
        flex:1 0 100%;
    }
}
@media only screen and (min-width: 767px) {
    .equal-sm {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }
    .equal-sm div[class*='col-sm-'] {
        flex:1 1 auto;
        display: flex;
    }
    .equal-sm .panel {
        flex:1 0 100%;
    }
}
/* Panel grid */
.grid .col-md-4,
.grid .col-sm-4 {
    max-width: 340px;
}
@media only screen and (max-width: 1199px) {
    .grid .col-md-4,
    .grid .col-sm-4 {
        /* Make sure odd numbers match width */
        max-width: 293px;
    }
}
@media only screen and (max-width: 991px) {
    .grid .col-md-4 {
        /* Single column */
        max-width: 340px;
        margin: 0 auto 21px auto;
    }
    .grid .col-sm-4 {
        /* Make sure odd numbers match width */
        max-width: 246px;
    }
}
@media only screen and (max-width: 766px) {
    .grid .col-sm-4 {
        /* Single column */
        max-width: 340px;
        margin: 0 auto 21px auto;
    }
}
/* Pagination */
.pagination>li>a, .pagination>li>span {
    color: #78A741;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    color: #78A741;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #78A741;
    border-color: #78A741;
}
/* Index page */
.index-item {
    clear: both;
    min-height: 200px;
    margin: 60px 0 60px 0;
}
.index .index-item:first-child {
    margin-top: 0;
}
.index .index-item:last-child {
    margin-bottom: 25px;
}
.index-item img {
    float: left;
    margin-right: 25px;
    margin-bottom: 60px;
    max-width: 270px;
}
.index-item p {
    max-width: 850px;
}
@media only screen and (min-width: 600px) and (max-width: 699px) {
    .index-item img {
        margin-bottom: 120px;
    }
}
@media only screen and (max-width: 599px) {
    .index-item {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .index-item img {
        float: none;
        max-width: 100%;
        margin-bottom: 0;
    }
    .index-item h2 {
        margin: 11px 0 8px 0;
    }
}
/* Single page */
.single .meta {
    margin-bottom: 15px;
}
.single img.primary {
    max-width: 450px;
    float: right;
    margin: 0 0 25px 25px;
}
.single img.person {
    max-width: 400px;
}
@media only screen and (max-width: 991px) {
    .single img.primary {
        max-width: 350px;
    }
}
@media only screen and (max-width: 650px) {
    .single img.primary {
        float: none;
        display: block;
        margin: 25px auto;
        max-width: 100%;
    }
    .single img.person {
        width: 400px;
        max-width: 100%;
        margin: 25px 0;
    }
}
/* Content general */
.limit-width p {
    max-width: 720px;
}
hr {
    margin-top: 40px;
    margin-bottom: 40px;
}
.sep {
    margin-top: 60px;
}
.back {
    margin-top: 35px;
}

/* Admin */
@media only screen and (max-width: 767px) {
    .admin-content {
        margin-top: 30px;
    }
}
img.thumbnail {
    max-width: 150px;
}
.img-input img {
    margin-top: 21px;
}
/* Events */
.leader .col-sm-3,
.leader .col-sm-4 {
    max-width: 255px;
}
.category-list {
    margin-top: 0;
    margin-bottom: 20px;
}
.category-list ul {
    list-style-type: none;
}
.category-list li {
    float: left;
    margin-right: 10px;
}
.category-list li.active a,
.category-list li.active a:active,
.category-list li.active a:hover,
.category-list li.active a:visited {
    color: #fff;
    background-color: #78A741;
    border-color: #78A741;
}

/* Subscribe banner */
.subscribe {
    margin-top: 80px;
    padding: 60px 0 40px 0;
    background-color: #727f6c;
}
.subscribe .subform {
    max-width: 500px;
}
@media (max-width: 991px) {
    .subscribe .subform {
        max-width: 400px;
    }
}
.subscribe h2, .subscribe h3{
    margin: 0 0 5px 0;
    color: #FFF;
    line-height: 1.5;
}
.subscribe p {
    font-size: 16px;
    line-height: 1.5;
    color: #FFF;
    margin-bottom: 10px;
}
.subscribe label {
    color: #FFF;
}
.subscribe input {
    background-color: #727f6c;
    color: #FFF;
}
.subscribe input:focus {
    background-color: #879780;
    color: #FFF;
}
.subscribe button, .subscribe button:active, .subscribe button:focus, .subscribe button:hover, .subscribe button:active:focus {
    background-color: #9baf93;
    border-color: #9baf93;
    outline:none;
}
.subscribe a.btn, .subscribe a.btn:active, .subscribe a.btn:focus, .subscribe a.btn:hover, .subscribe a.btn:active:focus {
    background-color: #9baf93;
    border-color: #9baf93;
    outline:none;
}
.subscribe .form-control:focus {
    border-color: #FFF;
}
@media (max-width: 767px) {
    .subscribe h2 {
        margin-bottom: 20px;
    }
    .subscribe p {
        margin-bottom: 24px;
    }
}
.subscribe .subform .alert-danger {
    background-color: #23321d;
    border-color: #23321d;
    color: #FFF;
    font-weight: 700;
}
