﻿body {
  font-family: 'Open Sans', sans-serif;
  color: #000;
  font-size: 16px;
}
img {
  height: auto;
  max-width: 100%;
}
.Paragraph, p {
  font-family: 'Open Sans', sans-serif;
}
/* ===================================================
   SECTION: Headings
   =================================================== */
/* Shared heading styles */
.Heading1, h1, .Heading2, h2, .Heading3, h3, .Heading4, h4 {
  font-family: 'EB Garamond', serif;
  font-weight: bold;
  letter-spacing: 2px;
}
/* Specific sizes and colours */
.Heading1, h1 {
  font-size: 30px;
  color: #7a744a;
}
.Heading2, h2 {
  font-size: 22px;
  color: #7a744a;
}
.Heading3, h3 {
  font-size: 20px;
  color: #000;
}
.Heading4, h4 {
  font-size: 18px;
  color: #000;
}
/* ===================================================
   SECTION: Links
   =================================================== */
.maincontent a {
  text-decoration: none;
  color: #990033;
  transition: border-bottom 0.5s;
}
.maincontent a:link, .maincontent a:visited, .maincontent a:active {
  border-bottom: 1px solid rgba(153, 0, 51, 0.4);
}
.maincontent a:hover {
  border-bottom: 1px solid #990033;
}
.maincontent a:focus {
  background-color: #91192b;
  color: #fff;
}
/* ===================================================
   SECTION: Tables
   =================================================== */
/* Base table styling */
table {
  border: 1px solid #000;
  border-collapse: collapse;
  margin-bottom: 30px;
}
table th, table td {
  padding: 2px;
  margin: 2px;
  border: 1px solid #000;
}
table th {
  text-align: center;
}
/* Specific styling for .opening-times table */
table.opening-times {
  width: 100%;
}
table.opening-times th, table.opening-times td {
  padding: 6px;
}
table.opening-times th {
  text-align: left;
}
/* ===================================================
   SECTION: Navbar
   =================================================== */
/* Navbar Base Styles */
.navbar-light .navbar-nav .nav-link, li.nav-home {
  text-transform: uppercase;
}
.navbar-light .navbar-nav .nav-link, .nav-link a.nav-home {
  color: #000;
  text-decoration: none;
  font-size: 18px;
}
/* Dropdown Menu Base Styles */
.dropdown-menu {
  padding: 0 10px 10px 10px;
  right: 0;
  border-bottom: 6px solid #900028 !important;
  border-radius: 0;
}
.navbar-nav > li > .dropdown-menu {
  font-size: 16px;
  color: #333;
}
.dropdown-menu ul {
  padding-left: 0;
}
.dropdown-menu li {
  list-style-type: none;
  padding-top: 10px;
  width: 100%;
}
.dropdown-menu li a, .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere; /* modern */
  word-wrap: break-word; /* legacy fallback */
  box-sizing: border-box;
  padding: 0.5em 1em;
  border-bottom: 1px solid #9d4e74;
  border-radius: 0;
  color: #333;
}
.dropdown-menu p {
  padding-top: 10px;
}
.dropdown:hover > .dropdown-menu {
  display: block;
}
/* Margin for dropdown columns */
.navbar .dropdown-menu div[class*="col"] {
  margin-bottom: 1rem;
}
/* Media Queries: ≥ 992px */
@media screen and (min-width: 992px) {
  .navbar {
    padding-top: 0;
    padding-bottom: 0;
  }
  .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #fff;
  }
  .dropdown:hover .dropdown-menu, .navbar-right .dropdown .dropdown-menu:hover, .dropdown-menu.show {
    display: block;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s linear;
  }
}
/* Accessibility: Skip to Content Link */
#skiptocontent a {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 100;
  padding: 6px;
  color: #fff;
  background-color: #BF1722;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-bottom-right-radius: 8px;
  transition: top 0.5s ease-out;
}
#skiptocontent a:focus {
  top: 0;
  /* keep a visible focus indicator */
  outline: 2px solid #000;
  outline-offset: 2px;
}
/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  #skiptocontent a {
    transition: none !important;
  }
}
/* ===================================================
   SECTION: Footer
   =================================================== */
/* Footer Top Graphic */
.footertop {
  background-image: url(/images/nonuser/tatton-footer-top-graphic.png);
  height: 100px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 30px;
}
/* Footer Base Styles */
footer {
  background-color: #9d4e74;
  color: #fff;
  padding: 10px 0 20px;
}
footer h2, footer a, footer a:hover, footer a:focus {
  color: #fff;
}
/* Footer Links */
footer ul {
  padding-left: 1.4rem;
}
footer ul li {
  margin-bottom: 22px;
}
footer ul li a {
  border-bottom: 1px solid #e7e6e6;
  transition: border-bottom 0.5s ease-in;
  text-decoration: none;
}
footer ul li a:hover, footer ul li a:active {
  border-bottom: 1px solid #fff;
}
/* Footer Logos */
.footerlogos img {
  margin-bottom: 7px;
  text-align: center;
}
.gutterlogos {
  background-color: #f3d2e2;
  margin-top: 15px;
}
.gutterlogos img {
  margin-bottom: 10px;
  margin-top: 10px;
}
/* ===================================================
   SECTION: Contensis specific
   =================================================== */
/* User selectable styles in Contensis CMS editor */
.usr_ImageRight {
  float: right;
  margin: 0 0 20px 20px;
}
.usr_ImageLeft {
  float: left;
  margin: 0 20px 20px 0;
}
.usr_CaptionHide {
  display: none;
  visibility: hidden;
}

/* ===================================================
   SECTION: Promotional elements
   =================================================== */
.cec-cent-promo-txt {
    overflow: hidden;
}
/*
.full-width-img-bg h1, .promo-heading {
    font-family: 'Open Sans Condensed', sans-serif;
}
*/
.bg-beige {
    background-color: #FCF1E3;
}
.bg-light-purple {
    background-color: #d5c8e3;
}
.bg-light-green {
    background-color: #ecf3ec;
}
.bg-tog-for-chil-green {
    background-color: rgb(1 85 57 / 100%);
}
.bg-cec-green {
    background-color: #206c49;
}
.bg-cec-central-promo-section {
background: radial-gradient(circle, rgba(157,184,157,0) 0%, rgba(236,243,236,1) 100%);
}
.cec-green {
    color: #206c49;
}
@media (min-width: 768px) {
    .cec-cent-promo-txt-wrap {
        position: absolute;
        transform: translateY(-50%) !important;
    }
    .cec-cent-promo-txt {
        border-radius: 5px;
    }
    .bg-tog-for-chil-green {
    background-color: rgb(1 85 57 / 92%);
}
}
/* Pull columns */
@media screen and (min-width: 1600px) {
    .cec-pull-column {
        margin-left: 87px;
    }
    .cec-pull-column.cec-pull-column-right {
        margin: 0 87px 0 0;
    }
}
.cec-pull-column ul {
    list-style: none; /* Remove default bullets */
}
.cec-pull-column ul li::before {
    content: "\2022"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #206c49; /* Changing the color */
    font-weight: 700; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
}
/* Central promotional (meta) box */
  /* .cec-meta-section {
    background: rgb(157, 184, 157);
  background: radial-gradient(circle, rgba(157, 184, 157, 0) 0%, rgba(236, 243, 236, 1) 100%);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"); 
} */
.cec-meta-content {
    box-shadow: 1px 4px 15px 0 rgb(0 0 0 / 15%);
    border-radius: 4px;
    margin: -20px auto;
    position: relative;
    background-color: #fff;
}
@media (min-width: 1200px) {
    .cec-meta-content:before {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        top: 35%;
        width: 20%;
        height: 20%;
        background-image: url('/images/non_user/svg/columns-gap.svg');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        left: -13em;
        opacity: 0.10;
        transform: rotate(45deg);
    }
    .cec-meta-content:after {
        content: '';
        display: block;
        position: absolute;
        z-index: 1;
        top: 35%;
        width: 20%;
        height: 20%;
        background-image: url('/images/non_user/svg/columns-gap.svg');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        right: -13em;
        opacity: 0.10;
        transform: rotate(45deg);
    }
}
/* Full width image with side overlay */
@media (min-width: 992px) {
    .side-overlay {
        width: 400px;
        position: absolute;
    }
    .side-overlay-section {
        min-height: 340px;
    }
}
@media (min-width: 1200px) {
    .side-overlay {
        width: 600px;
    }
}
@media (min-width: 1300px) {
    .side-overlay {
        margin-top: 8rem !important;
    }
}
@media (min-width: 1400px) {
    .side-overlay {
        margin-top: 8.5rem !important;
    }
    .side-overlay-section {
        min-height: 355px;
    }
}
@media (min-width: 1600px) {
    .side-overlay {
        margin-top: 11rem !important;
    }
    .side-overlay-section {
        min-height: 395px;
    }
}

.bg-tatton-red-transp {
background-color: rgb(145 11 38 / 94%);
}
/* ===================================================
   SECTION: Video
   =================================================== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}
/* Client carousel */
        .carousel-inner {
            display: flex;
        }

        .carousel-item {
            display: block;
            margin-right: 0;
            /* On small screens, show 2 items */
            flex: 0 0 50%;
        }

        /* On medium screens (tablets), show 5 items */
        @media (min-width: 768px) {
            .carousel-item {
                flex: 0 0 20%; /* 100% / 5 = 20% */
            }
        }

        /* On large screens (desktops), show 10 items */
        @media (min-width: 992px) {
            .carousel-item {
                flex: 0 0 10%; /* 100% / 10 = 10% */
            }
        }

        .carousel-item .card {
            margin: 0 .5rem;
            border: none;
        }

/* ===================================================
   SECTION: Clickable divs (home page etc)
   =================================================== */
        /* Make entire div clickable */
.clickableDiv {
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.6s ease;
  overflow: hidden;
}
.clickableDiv img {
  transition: transform 1.2s ease;
  display: block; /* Removes bottom whitespace */
}
.clickableDiv:hover img {
  transform: scale(1.15);
  object-fit: cover;
}
.innerLink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}a.innerLink:focus {
  background-color: transparent;
  outline: 4px solid #000;
}
.clickableDiv:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)!important;
}
/* 
 * As there is an overflow: hidden on 'clickableDiv' we don't see the outline upon focus. We leave it there for automated checkers
 * For visibility we target the anchor tag inside your clickableDiv when it receives focus.
*/
.clickableDiv a:focus {
 z-index: 1000;
  box-shadow: inset 0 0 0 4px #000; 
}