body {
  font: normal 16px/normal Open Sans
}

.divide li:not(:last-child) {
  border-bottom: 1px solid #dfdfdf;
}

.homePanelGrey {
  position: relative;
  overflow: visible;
}
.homePanelGrey::before {
  position: absolute;
  top: 0;
  height: 100%;
  content: "";
  width: 100vw;
  left: 50%;
  background: #F5F5F5;
  transform: translateX(-50%);
}

body.homePanelGrey::before {
  display: none;
}

.tasterPanel {
  position: relative;
  padding-right: 50% !important;
  overflow: hidden;
  background: #F5F5F5;
  border-radius: 6px;
  padding: 10px;
}

.tasterPanel::before {
  content: "";
  //float: right;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-image: url("https://www.bathcanoeclub.co.uk/resources/Home%20page%20photos/taster%20session.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 0 6px 6px 0;
}

@media only screen and (max-width: 1299px){
  .tasterPanel {
    padding-right: 0 !important;
    padding-bottom: 240px !important;
    border-radius: 0 0 6px 6px;
  }

  .tasterPanel::before {
    top: initial;
    bottom: 0;
    left: 0;
    right: 0; 
    height: 200px;
    width: 100%;
  }
}


/* Code to change page width START */
.container_12 {
  width: 1300px;
}
.s1_grid_12{
  width: auto;
}
@media only screen and (max-width: 1299px) and (min-width: 600px){
  .container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1300px;
    min-width: 600px;
  }
}
@media only screen and (max-width: 616px){
  .container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 600px;
    min-width: 320px;
    display: block;
  }

  
}
/* Code to change page width END */

.nav {
    background-color: rgba(0,0,0,0.15);
    padding: 0px 16px;
    border-radius: 6px;
}

.stylizedButton {
    border-radius: 8px !important; 
    padding-right: 60px !important;
    text-align: left !important;
    max-width: 50vw;
    white-space: pre-wrap !important;
    margin-bottom: 4px !important;
}

.stylizedButton.buttonStyle004 {
  padding-right: 120px !important;
}

.stylizedButton::after {
  position: absolute;
  content: "";
  background-image: url("https://www.bathcanoeclub.co.uk/resources/Pictures/arrow.svg");
  top: 0;
  right: 10px;
  width: 20px;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.stylizedButton.buttonStyle004::after {
  right: 45px;
  width: 40px; 
}

[type="submit"], [type="button"] {
    border-radius: 6px !important;
}

[class^="zoneHeader"]::before {
    content: none !important;
}

[class^="zoneFooter"]::before {
    content: none !important;
}

[class^="zoneHeader"]::after {
    content: none !important;
}

[class^="zoneFooter"]::after {
    content: none !important;
}

.zoneContentOuter .zoneContentInner {
    padding: 20px 0 !important;
}

.login-section {
    //background: pink;
    position: relative;
    height: 140px;
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
}

.login-section::before {
    content: "";
    //background: red;
    height: 140px;
    width: 360px;
    max-width: 60vw;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-image: url("https://www.bathcanoeclub.co.uk/resources/Pictures/extended%20logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.login-section2 {
    position: relative;
    height: 180px;
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
}

.login-section2::before {
    content: "";
    height: 180px;
    width: 500px;
    max-width: 60vw;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-image: url("https://www.bathcanoeclub.co.uk/resources/Pictures/extended%20logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* whats-on */
.EventListCalendar td > div {
  border-radius: 4px !important;
  padding: 4px 6px !important;
  line-height: 1;
}



.EventListCalendar div.recurringEvent::before {
  display: none;
}
.EventListCalendar .eventTime {
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;

  display: block !important;
  color: white;
  margin-bottom: 6px;
}

.WaGadgetEvents.WaGadgetEventsStateCalendar #idEventListCalendar .EventListCalendar td>div {
  max-width: 100% !important;
}

.WaGadgetEvents.WaGadgetEventsStateCalendar #idEventListCalendar .EventListCalendar td>div a {
 max-width: 100%;
 overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; 
  white-space: break-spaces;
    max-height: 55px;
    text-overflow: ellipsis;
    line-height: 1;
}

.WaGadgetEvents.WaGadgetEventsStateCalendar #idEventListCalendar .EventListCalendar td.EventListCalendarItemSelected a.calendarDate {
  /* background: #14629e;
  border-radius: 2px;
  padding: 2px;
  color: white; */

    background: #14629e;
    border-radius: 50%;
    color: white;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
    margin-left: -5px;
}
.WaGadgetEvents.WaGadgetEventsStateCalendar #idEventListCalendar .EventListCalendar td.EventListCalendarItemSelected a.calendarDate:hover {
  color: white;
}

@media only screen and (max-width: 616px) {
  .EventListCalendar td > div {
    padding: 4px 2px !important;
  }
  .EventListCalendar .eventTime {
    font-size: 10px;
  }
}

/* make the calendar header sticky */

.WaGadgetEvents {
  /* this replaces the overflow hidden that breaks sticky for children. */
  overflow: clip !important;
}
td.EventListCalendarHeader {
  position: sticky;
  top: 70px;
  z-index: 89;
  background: white !important;
  box-shadow: inset 0px -2px 0px #dfdfdf;
}
@media only screen and (max-width: 616px) {
  td.EventListCalendarHeader {
    top: 85px;
  }
}

.viewSwitchersTable {
  position: sticky;
  top: 0;
  z-index: 90;
  background: white !important;
}

.monthViewType td:has([data-tags*='trip']):has([data-tags*='sea']):not(:has(table)) > div {
  border-radius: 0 0 2px 2px !important;
}
.monthViewType td:has([data-tags*='trip']):has([data-tags*='sea']):not(:has(table))::before {
  content: "Sea Trip";
  display: block;
  background: #25b16b;
  color: white;
  padding: 2px 6px;
  border-radius: 2px 2px 0 0;
  font-size: 8px;
  text-transform: uppercase;
}
@media only screen and (max-width: 616px) {
  .monthViewType td:has([data-tags*='trip']):has([data-tags*='sea']):not(:has(table))::before {
    padding: 1px 2px;
  }
}

.monthViewType td:has([data-tags*='trip']):has([data-tags*='white water']):not(:has(table)) > div {
  border-radius: 0 0 2px 2px !important;
}
.monthViewType td:has([data-tags*='trip']):has([data-tags*='white water']):not(:has(table))::before {
  content: "White Water Trip";
  display: block;
  background: #d18a2c;
  color: white;
  padding: 2px 6px;
  border-radius: 2px 2px 0 0;
  font-size: 8px;
  text-transform: uppercase;
}
@media only screen and (max-width: 616px) {
  .monthViewType td:has([data-tags*='trip']):has([data-tags*='white water']):not(:has(table))::before {
    padding: 1px 2px;
    content: "WW Trip";
  }
}

.monthViewType td:has([data-tags*='training']):not(:has(table)) > div {
  border-radius: 0 0 2px 2px !important;
}
.monthViewType td:has([data-tags*='training']):not(:has(table))::before {
  content: "Training";
  display: block;
  background: #b02cd1;
  color: white;
  padding: 2px 6px;
  border-radius: 2px 2px 0 0;
  font-size: 8px;
  text-transform: uppercase;
}
@media only screen and (max-width: 616px) {
  .monthViewType td:has([data-tags*='training']):not(:has(table))::before {
    padding: 1px 2px;
  }
}

.monthViewType td:has([data-tags*='taster']):not(:has(table)) > div {
  border-radius: 0 0 2px 2px !important;
}
.monthViewType td:has([data-tags*='taster']):not(:has(table))::before {
  content: "Taster";
  display: block;
  background: #d12c87;
  color: white;
  padding: 2px 6px;
  border-radius: 2px 2px 0 0;
  font-size: 8px;
  text-transform: uppercase;
}
@media only screen and (max-width: 616px) {
  .monthViewType td:has([data-tags*='taster']):not(:has(table))::before {
    padding: 1px 2px;
  }
}
body.LayoutPlain {
  /* padding-top: 60px; */
}

.WaLayoutContainerFirst:has(.navwhite) {
  position: relative;
  width: calc(100% + 20px);
  left: -10px;
  /* position: sticky; */
  /* top: 0;
  left: 0;
  width: 100vw; */
}

.navwhite {
  padding-left: 100px;
  height: 80px;
  background: white;
}
.navwhite::after {
  display: none;
}
.navwhite .menuInner {
  height: 100%;
  display: flex;
  align-items: center;
  border: none;
}

@media only screen and (max-width: 616px) {
  .navwhite {
    padding-left: 0px;
  }

  .navwhite::before {
    left: 15px;
    top: 10px;
  }

  .navwhite .menuInner.mobileView {
    background: none;
  }
  .navwhite .menuInner {
    justify-content: end;
  }
  .navwhite .menuInner.mobileView .menuButton {
    text-align: right !important;
    background: transparent !important;
    color: #20516A !important;
    margin-right: 20px;
    /* outline: 1px solid red; */
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .navwhite .firstLevel {
    left: -10px !important;
    width: calc(100% + 20px) !important;
    /* padding: 20px !important; */
  }
  .navwhite .firstLevel .item {
    padding: 10px 20px;
  }

  .navwhite .secondLevel {
    box-shadow: none !important;
  }
}

.navwhite::before {
    content: "";
    /* outline: 1px solid red; */
    height: 50px;
    width: 80px;
    /* max-width: 60vw; */
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 0;
    background-image: url("https://www.bathcanoeclub.co.uk/resources/Pictures/bcc%20logo.jpg");
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center;
}

.navwhite .menuInner .firstLevel > li > .item > a {
  border-radius: 5px;
  padding: 0 10px !important;
  height: 30px;
  display: flex;
  align-items: center;
  color: #20516A !important;
  /* outline: 1px solid red; */
}

.navwhite .menuInner .firstLevel > li > .item > a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #20516A !important;
}

.navwhite .menuInner ul.firstLevel>li>.item>a {
  display: flex !important;
  align-items: center !important;
  gap: 5px;
}

.navwhite .menuInner ul.firstLevel>li.dir>.item>a:after {
  /* outline: 1px solid red; */
  display: block;
  margin: 0px !important;
  position: initial;
  background-color: transparent !important;
  background-image: url("https://www.bathcanoeclub.co.uk/resources/Pictures/nav-caret.svg") !important;
  height: 6px;
  width: 8px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.navwhite .menuInner ul.firstLevel>li>.item>a span {
  padding: 0 !important;
}

/* .navwhite .menuInner .item a {
  padding: 0;
  margin: 0;
} */

.navwhite .menuInner .secondLevel {
  background: white !important;
  border-radius: 5px;
  box-shadow: 0px 4px 18px #0000000a, 0px 2.025px 7.84688px rgba(0,0,0,.027), 0px 0.8px 2.925px #00000005, 0px 0.175px 1.04062px rgba(0,0,0,.013);
  border: none !important;
  padding: 5px;
}

.navwhite .menuInner .secondLevel .item {
  border-radius: 5px;
}

.navwhite .menuInner .secondLevel .item:hover {
  background: rgba(0, 0, 0, 0.04) !important;
}

.navwhite .menuInner .secondLevel span {
  color: #20516A !important;
  text-shadow: none !important;
}



.loginWhite {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: end;
}

.loginWhite .loginLink {
  background: #20516A !important;
  padding: 0 10px;
  border-radius: 5px;
  height: 30px;
  display: flex !important;
  align-items: center;
  margin-right: 20px;
}

.loginWhite .loginContainer {
  box-shadow: 0px 4px 18px #0000000a, 0px 2.025px 7.84688px rgba(0,0,0,.027), 0px 0.8px 2.925px #00000005, 0px 0.175px 1.04062px rgba(0,0,0,.013) !important;
  border-radius: 5px;
}

.loginWhite .loginContainerShadowBox::before,
.loginWhite .loginContainerShadowBox::after {
  display: none !important;
}