/*
Theme Name: WP bootstrap
Theme URI: http://localhost/dorothyclivegarden
Description: A bespoke theme for the Dorothy Clive Garden (based on Bootstrap)
Author: Lewis W
Version: 1.0
*/

@import url('bootstrap/css/bootstrap.min.css');

html {
  /*height: 100%;*/
}

body {
  margin-top: 100px;
  background-color: #eef7ed;
  overflow-x: hidden;
}

body.the-garden, body.charitable-aims, body.meet-the-team, body.trustees,
body.environmental-policy, body.find-us, body.opening-times, body.membership,
body.group-visits, body.tearoom, body.giftroom, body.offers, body.accessibility,
body.weddings, body.wedding-packages, body.private-hire, body.wedding-testimonials,
body.wedding-gallery, body.volunteer, body.donate, body.friends-of-the-willoughbridge-garden-trust, 
body.in-memoriam, body.leave-a-legacy, body.join-the-lottery, body.give-as-you-live, body.smile-amazon {
  margin-top: 140px;
}

section {
  margin: 20px 0 20px 0;
  padding: 10px 0 10px 0;
}

hr.dcg-hr {
  width: 80%;
}

hr.footer-hr {
  border-top: 1px solid gray;
  width: 80%;
}

.container-fluid {
  margin-top: 20px;
  max-width: 1200px;
  padding-bottom: 10px;
}

.container-fluid.secondary-nav-container {
  margin-top: 0px;
  padding-bottom: 0px;
}

.bg-dcg {
  background-color: #1C3918;
}

.text-dcg {
  color: #1C3918;
}

.c-white {
  color: #fff;
}

.top-bot-pad {
  padding-bottom: 20px;
}


/* ========================================================================== */
/* =============================== Navigation ================================*/

#mainNav {
  background-color: #1C3918;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
  padding-top: 0px;
  padding-bottom: 0px;
  z-index: 999;
  border-bottom: 1px solid #fff;
}

#mainNav .navbar-brand {
  color: #fff;
  background-color: #1C3918;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 80px;
}

#mainNav .navbar-brand > img {
  height: 100%;
  max-height: 80px;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}

/*
#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  background-color: #1C3918;
  color: white;
}
*/

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  pointer-events: none;
  cursor: default;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link {
  position: relative;
}

@media (max-width: 992px) {
  #mainNav .navbar-collapse {
    background-color: #1C3918;
    text-align: center;
    color: #fff;
    border-top: 1px solid #fff;
  }

  #mainNav .navbar-collapse a {
    line-height: 25px;
  }

  #mainNav .navbar-nav > li.nav-item > a.nav-link.active,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
    text-decoration: underline;
  }

  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    text-decoration: underline;
  }
}

@media (min-width: 992px) {
    .navbar li {
      margin-left : .2em;
      margin-right : .2em;
    }

    /* Active Arrow - doesn't display on collapsed menu */
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:after,
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:before {
      bottom: 0%;
      margin-bottom: 0px;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      left: 50%;
      margin: -20px;
      position: absolute;
      pointer-events: none;
    }

    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:after {
    	border-bottom-color: #fff;
    	border-width: 20px;
    	margin-left: -20px;
      z-index: 1;
    }

    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:before {
    	border-bottom-color: #1C3918;
    	border-width: 5px;
    	margin-left: -5px;
      z-index: 1;
    }
}


/* ========================================================================== */
/* ============================= SECONDARY NAV ===============================*/

#secondNav > nav {
  top: 80px;
  white-space: nowrap;
  overflow-x: auto;
  height: 45px;
  line-height: 16px;
  padding-bottom: 0px;
  background-color: #fff;
  border-bottom: 1px solid #fff;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
  z-index: 998;
}

#secondNav > .navbar-nav > li.nav-item {
  display: inline-block;
  float: none;
}

#secondNav .navbar-nav > li.nav-item > a {
  display: inline-block;
  float: none;
}

#secondNav .navbar-nav > li.nav-item > a.nav-link,
#secondNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: 1em;
  font-weight: 500;
  text-transform: none;
  color: #1C3918;
}

#secondNav .navbar-nav > li.nav-item > a.nav-link:hover {
  border-bottom: 3px solid #1C3918;
}

#secondNav .navbar-nav > li.nav-item > a.nav-link.active,
#secondNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  font-weight: bold;
  border-bottom: 3px solid #1C3918;
  pointer-events: none;
  cursor: default;
}


/* ========================================================================== */
/* ================================= Pills ================================== */

.nav-pills {
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.nav-pills > a:hover {
  border-radius: none;
    background-color: rgba(0,0,0,.16);
}
.nav-pills .nav-link.active {
	position: relative;
	background: #1c3918;
	border: 2px solid #fff;
}

@media (min-width: 576px) {
  .nav-pills .nav-link.active:after, .nav-pills .nav-link.active:before {
  	left: 100%;
  	top: 50%;
  	border: solid transparent;
  	content: " ";
  	height: 0;
  	width: 0;
  	position: absolute;
  	pointer-events: none;
  }

  .nav-pills .nav-link.active:after {
  	border-color: rgba(28, 57, 24, 0);
  	border-left-color: #1c3918;
  	border-width: 10px;
  	margin-top: -10px;
  }
  .nav-pills .nav-link.active:before {
  	border-color: rgba(255, 255, 255, 0);
  	border-left-color: #fff;
  	border-width: 15px;
  	margin-top: -15px;
  }
}

.nav-pills .nav-link {
  color: #000;
}

/* ========================================================================== */
/* ================================ Carousel =================================*/
/* TODO: Needs to expand image from center center (not top left corner) */

.carousel-inner {
  min-height: 200px;
}

#carouselHeader .carousel {
  width: 100%;
  max-height: 450px;
}

#carouselHeader .carousel-inner {
  height: 100%;
  max-height: 450px;
  vertical-align: middle;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 100%;
}

#carouselGardensYear .carousel {
  width: 100%;
  /*max-height: 450px;*/
  height: auto;
}

#carouselGardensYear .carousel-inner {

}

#carouselGardensYear .carousel-item .carousel-caption {
  left:0;
	right:0;
  background:rgba(0,0,0,0.6);
}

#carouselGardensYear .carousel-caption h5,
#carouselGardensYear .carousel-caption p {
  text-align: center;
}

.item {
  background-size: cover;
  background-position: 50% 50%;
  width: 100%;
  height: 100%;
}

.item img {
  visibility: hidden;
}

/* Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 50px;
  width: 50px;
}

/* ========================================================================== */
/* ============================ Intro Content ================================*/

.dcg-award {
  max-height: 120px;
  width: auto;
}

/* ========================================================================== */
/* ================================= Explore =================================*/

.btn-dcg {
  height: 100px;
  text-align: center;
  vertical-align: middle;
  background-color: #1C3918;
  color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);

  word-wrap: break-word;
  white-space: normal;
}

a.btn-dcg: hover {
  background-color: #000;
}

.explore_navigation a:hover {
  background-color: #376F30;
  color: #fff;
}

/* ========================================================================== */
/* ============================ Cards (Aims) =================================*/

.profile-card-5{
    margin-top:20px;
    width: 100%;
}
.profile-card-5 .btn{
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 20px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.profile-card-5 .card-img-block {
    width: 91%;
    margin: 0 auto;
    position: relative;
    top: -20px;
}

.profile-card-5 .card-img-block img{
    border-radius:5px;
    box-shadow:0 0 10px rgba(0,0,0,0.63);
    max-height: 350px;
}

.our-aims-img {
  max-height: 350px;
  width: auto;
  overflow: hidden;
}

.profile-card-5 .btn-primary{
  background-color:#1C3918;
  border-color:#1C3918;
}

.profile-card-5 a:hover {
  background-color: #376F30;
  color: #fff;
}


/* ========================================================================== */
/* ================================== Cards ==================================*/

.card-deck {
  width: 100%;
}

.card {
  width: 100%;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.card-content {
	background: #ffffff;
	border: 4px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
	width: 100%;
}

.card-content .card-header {
  background-color: #1C3918;
  color: #fff;
}

.card-img {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	z-index: 1;
}

.card-img img {
	width: 100%;
  height: 250px;
	display: block;
}

img.event-cover-img {
  object-fit: cover;
}

.card-img span {
	position: absolute;
  left: 50px;
  top: 15%;
  background: #1C3819;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  transform: translate(-50%,-50%);

  padding: 6px;
  margin-left: 20px;

}

.card-img span h4{
  font-size: 12px;
  margin-left: 10px;
  padding: 10px 5px 5px 10px;
  line-height: 0;
}

.card-desc {
	padding: 1.25rem;
  word-wrap: break-word;
}

.card-desc h3 {
	color: #000000;
  font-weight: 600;
  font-size: 1.5em;
  line-height: 1.3em;
  margin-top: 0;
  margin-bottom: 5px;
  padding: 0;
}

.card-desc p {
  font-size: 14px;
	font-weight: 400;
	font-size: 1em;
	line-height: 1.5;
	margin: 0px;
	margin-bottom: 20px;
	padding: 0;
}

.card-desc .btn{
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 12px;
  padding: 7px 20px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.card-desc .btn-primary {
  background-color:#1C3918;
  border-color:#1C3918;
}

.card-desc a:hover {
  background-color: #376F30;
  color: #fff;
}

.card-footer {

}

a.btn-card {
  text-decoration: none;
  color: #fff;
}

.card-pricing.popular {
  z-index: 1;
  border: 1px solid #1C3918;
}


/* ========================================================================== */
/* ================================== Footer =================================*/

#dcg-footer {
  padding-top: 10px;
  background-color: #404040;
  color: #fff;
}

#dcg-footer .container-fluid {
  max-width: 100%;
}

a.footer-link {
  color: #fff;
}

.footer-link > li > a {
  color: #fff;
}

.footer-link > li > a:hover {
  text-decoration: underline;
}

/* ========================================================================== */
/* ========================== About: The Garden ==============================*/
img.w-100-h-a {
  width: 100%;
  height: auto;
}

img.wedding-cover-image {
	object-fit: cover;
	object-position: 50% 0%;
   width: 100%;
   max-height: 450px;
}

img.cover {
   object-fit: cover;
   width: 100%;
   max-height: 250px;
}
