@font-face {
    font-family: alexScript;
    src: url(/site/templates/_includes/fonts/AlexBrush-Regular.ttf);
}

@font-face {
    font-family: edwardian;
    src: url(/site/templates/_includes/fonts/Edwardian_Scr_ITC.ttf);
}

body  {
  background:#fff url(/site/templates/_media/bg.jpg);
  background-size:cover;
  color:#000;
}

.inline  {
  display:inline;
}

header  {
  background:#fff url(/site/templates/_media/bg-colored.jpg);
  font-size:2em;
  color:#000;
  box-shadow:
    0 0 2em -.5em rgba(0, 0, 0, 1) inset;
}

header p  {
  margin:0;
  text-shadow:
    2px 2px 1px #000;
}

header .row  {
  padding-top:10px;
}

header a,
header a:hover  {
  color:#edac38;
  text-decoration:none;
}

header a:hover  {
  color:#f7b746;
}

header h1  {
  font-size:2em;
}

header .logo {
/*   width:300px; */
  margin: 20px 0;
}

header .banner  {
  height:150px;
}

.nav>li>a {
  padding: 15px 10px;
}

.container  {
  border-radius:10px;
  background:rgba(255, 255, 255, .75);
}

main .container  {
  padding: 50px 30px;
}

header .container,
footer .container  {
  border-radius:0;
}

@media (min-width: 768px) {

  header .container  {
    font-size:18px;
    background:rgba(255, 255, 255, .5) url(/site/templates/_media/happy-family.png) 80% bottom no-repeat;
  }


}

@media (min-width: 769px) and (max-width: 992px)  {
  header h1  {
    padding:2px;
    width:100%;
    background:#f26522;
    color:#fff;
  }
  header .container  {
    font-size:18px;
    background:rgba(255, 255, 255, .5) url(/site/templates/_media/happy-family-500.png) 80% 20px no-repeat;
  }
}

@media (max-width: 768px) {
  header h1  {
    padding:2px;
    width:100%;
    background:#f26522;
    color:#fff;
  }
  header .container  {
    font-size:18px;
    background:rgba(255, 255, 255, .5);
  }

}

.block  {
  display:inline-block;
}

.subheading  {
  padding-top:60px;
  text-shadow:
    2px 2px 1px #000;
}

.subtitle  {
  text-shadow:
    2px 2px 1px #000;
}

@media (max-width: 992px) {
  header .logo  {
    width:225px;
  }
}

@media (max-width: 768px) {
  .subheading  {
    padding-top:60px
  }

  .subtitle  {
  }
}

@media (min-width: 768px)  {
  .navbar {
      border-radius: 0;
  }
}

.half  {
  width:50%;
}

figure.align_right,
img.align_right {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

figure.align_left,
img.align_left {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

figure.align_center,
img.align_center {
	margin: 0px auto;
	display:block;
}


/*
#  Carousel
#####
*/

#headerCarousel  {
  background:#fff;
  margin-bottom:55px;
}

.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.carousel-inner>.item>.img-responsive,
.carousel-inner>.item>.thumbnail a>img,
.carousel-inner>.item>.thumbnail>img  {
  max-width:none;
}

#headerCarousel .carousel-indicators li,
#headerCarousel .carousel-indicators .active  {
  border-radius:200px;
  width:20px;
  height:20px;
  background:#000;
}

#headerCarousel .carousel-indicators li:hover  {
  background:rgba(0, 0, 0, .7);
}

#headerCarousel .carousel-indicators .active  {
  width:28px;
  height:28px;
}

#headerCarousel .carousel-indicators .active:hover  {
  background:#000;
  cursor:auto;
}

#headerCarousel .carousel-indicators  {
  bottom:-60px;
}

#headerCarousel .carousel-control  {
  width:10%;
}


#headerCarousel,
#sidebar  {
  margin-top:20px;
}

.carousel-caption  {
  width:100%;
  right:0;
  left:0;
}

.carousel-caption p  {
  font-size: 1.7em;
}

@media screen and (min-width: 768px)  {
  .carousel-caption {
    right:0;
    left:0;
  }
}

.carousel-caption h2  {
    padding:.3em 0;
    background: rgba(0, 0, 0, .6);
    text-align: center;
    border-bottom: 2px #aaa solid;
}

.carousel-caption .btn-primary  {
  padding:.3em .7em;
  color:#000;
  background:#fff;
}

.carousel-caption .btn-primary:hover  {
  background:#000;
  color:#fff;
  transition:background 1.75s, color 1.3s;
}

/*
#  Navbar
#####
*/

.navbar-inverse  {
/*   background:#fff url(/site/templates/_media/textures/overlay_diagonal_light_10per.png); */
  background:#fff;
}

.navbar-inverse .navbar-nav>a  {
  color:#fff;
}

.navbar-inverse .navbar-nav>li>a:hover  {
  color:#fff;
  background:#72bf44;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover  {
  background:#72bf44;
  color:#fff;
}

.navbar-brand:hover  {
  color:#72bf44 !important;
}

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


.nav.navbar-nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
@media (min-width: 768px) {
	.navbar-nav {
		float: none;
	}
}



/*
#  Main
#####
*/


main .row div p {
/*
  padding:1.2em;
  border-radius:1em;
  background:rgba(255, 255, 255, .3);
 */
  font-size:1.3em;
  line-height: 1.7em;
}

main .row div img  {

}

section  {
  padding:1.2em;
  margin-bottom:1.2em;
  border-radius:1em;
  background:rgba(255, 255, 255, .3);
  font-size:1.3em;
}




#subpage h1,
#contact h1 {
  font-size:6em;
  background: #840403;
  padding:12px;
  color:#edac38;
  font-family: edwardian;
  box-shadow:
    0 5px 0 0 #edac38;
  margin-bottom: 10px;
}

/*
#  Sidebar
#####
*/
#sidebar  {
  border-radius:1em;
  padding:1.2em;
  background:rgba(255, 255, 255, .3);
}
#sidebar img  {
  margin:auto;
}

#sidebar p  {
  border-radius:0;
  font-size:14px;
  padding:1.2em;
}

/*
#  Footer
###
*/
footer {
  border-top:2px solid #000;
  text-align:center;
  margin-top:20px;
  padding-top:25px;
  background:#fff url(/site/templates/_media/bg-colored.jpg);
  color:#000;
  box-shadow:
    0 0 2em -.5em rgba(0, 0, 0, 1) inset;
}

@media (max-width: 1008px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

#sidebar img  {
  padding:0;
}

.responsive-object {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px 0 0;
  overflow: hidden;
}
.responsive-object iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


figure.align_center,
img.align_center {
	margin: 0px auto;
	display:block;
}

.calendar-event h1,
.calendar-event h2,
.calendar-event h3,
.calendar-event h4,
.calendar-event h5,
.calendar-event h6 {
	text-align: center;
}

.calendar-event h1,
.calendar-event h2,
.calendar-event h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.calendar-event .desc {
	margin-top: 30px;
}
