/* anton styles */

/* fonts */

.inter-font {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* variables */

:root {
  --bodyfont: 'Inter', sans-serif;
  --headingfont: 'Inter', sans-serif;
  --headingcolor: #800000;
  --headingcolor2: #800000;
  --highlightcolor: #800000;
  --headerhighlight: #fc0;
  --bodycolor: #000;
  --topheaderbg: rgba(128,0,0,0.8);
  --bottomheaderbg: rgba(71,71,71,0.8);
  --topfooterbg: #ccc;
  --bottomfooterbg: #333333;
  --navlink: #fff;
  --navactivelink: #fc0;
  --dropdownbg: #474747;
  --dropdownlink: #fff;
  --dropdownlinkactive: #fc0;
  --scorecardwhite: #eee;
  --scorecardyellow: #ff0;
  --scorecardred: #f00;
  --scorecardblack: #000;
  --pagebg: #ccc;
}

.CodeMirror-wrap .CodeMirror-scroll {
  height: 600px;
}

.content-wrapper {
  line-height: 28px;
}

.body-public .nav > li.nav-menu-login\.php {
  display: none;
}

.body-public .nav > li.nav-menu-competition\.php, .body-public .nav > li.nav-menu-competition2\.php {
  display: none;
}

/* general styles */

body {
  font-size: 16px;
  font-family: var(--bodyfont);
  color: var(--bodycolor);
  overflow-x: hidden;
  background: var(--pagebg);
}

h1 {
  font-weight: 400;
  font-size: 36px;
  line-height: 46px;
  color: var(--headingcolor);
  margin-bottom: 30px;
  font-family: var(--headingfont);
  margin-bottom: 20px;
}

h2 {
  font-weight: 400;
  font-size: 30px;
  line-height: 40px;
  color: var(--headingcolor);
  margin-top: 20px;
  margin-bottom: 25px;
  font-family: var(--headingfont);
}

h3 {
  font-weight: 400;
  font-size: 26px;
  line-height: 36px;
  color: var(--headingcolor2);
  margin-top: 20px;
  margin-bottom: 25px;
  font-family: var(--headingfont);
}

h4 {
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  color: var(--headingcolor);
  margin-bottom: 20px;
  font-family: var(--headingfont);
}

h5 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  color: var(--headingcolor2);
  margin-bottom: 20px;
}

h6 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--headingcolor2);
  font-family: var(--headingfont);
}

.content-wrapper h5 a, .gallery-image .ss-controls a, .gallery-image .nav-controls a {
  background: var(--headingcolor);
  color: #fff;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 10px;
  margin-right: 10px;
  position: relative;
  font-family: var(--headingfont);
}

.content-wrapper h5 a:hover, .content-wrapper h5 a:focus, .gallery-image .ss-controls a:hover, .gallery-image .ss-controls a:focus, .gallery-image .nav-controls a:hover, .gallery-image .nav-controls a:focus {
  background: #fff;
  color: #000;
  text-decoration: none;
}

a {
  color: var(--headingcolor);
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

a:hover, a:focus {
  color: var(--bodycolor);
  text-decoration: none;
}

a:focus {
  outline: 0;
}

input, button, select, textarea {
  font-family: var(--bodyfont);
}

/* header */

.header-wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  min-height: 180px;
  z-index: 1001;
  width: 100%;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.fix .header-wrapper {
  min-height: 120px;
}

.top-header {
  background: var(--topheaderbg);
  min-height: 120px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.fix .top-header {
  min-height: 80px;
}

.header-space {
  margin: 0px 100px;
  position: relative;
}

.header-logo {
  position: absolute;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  width: 73px;
  top: 10px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.fix .header-logo {
  width: 51px;
  top: 5px;
}

.header-book {
  position: absolute;
  top: 38px;
  left: 0px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.fix .header-book {
  top: 16px;
}

.header-book a {
  display: inline-block;
  padding: 10px 0px;
  color: #fff;
  font-size: 24px;
  line-height: 24px;
  text-transform: uppercase;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.header-book a:hover, .header-book a:focus {
  color: var(--headerhighlight);
}

.fix .header-book a {
  font-size: 18px;
}

.header-login {
  position: absolute;
  top: 38px;
  right: 0px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.fix .header-login {
  top: 16px;
}

.header-login a {
  display: inline-block;
  padding: 10px 0px;
  color: #fff;
  font-size: 24px;
  line-height: 24px;
  text-transform: uppercase;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.header-login a:hover, .header-login a:focus {
  color: var(--headerhighlight);
}

.fix .header-login a {
  font-size: 18px;
}

.bottom-header {
  background: var(--bottomheaderbg);
  min-height: 60px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.fix .bottom-header {
  min-height: 40px;
}

/* nav */

.navbar {
  margin: 0px;
}

.navbar-inverse .navbar-inner {
  background: transparent;
  border: none;
  box-shadow: none;
}

.navbar .nav {
  text-align: center;
  float: none;
  margin: 0px;
}

.navbar .nav > li {
  float: none;
  display: inline-block;
}

.navbar .nav > li > a {
  color: var(--navlink);
  text-shadow: none;
}

.body-public.body-class-home .navbar .nav > li > a, .body-public.body-contentpage .navbar .nav > li > a {
  padding: 20px 15px;
}

.body-public.body-class-home.fix .navbar .nav > li > a, .body-public.body-contentpage.fix .navbar .nav > li > a {
  padding: 10px 15px;
}

.navbar .nav > li > a:hover, .navbar .nav > li > a:focus, .navbar .nav > li.current > a, .navbar .nav > li.active > a {
  color: var(--navactivelink);
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
  background: transparent;
  color: var(--navactivelink);
  box-shadow: none;
}

.dropdown-menu {
  background: var(--dropdownbg);
  text-align: left;
}

.dropdown-menu > li > a {
  color: var(--navlink);
  padding: 7px 20px;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > li.current > a {
  color: var(--navactivelink);
  background: transparent;
}

/* footer */

.public-footer {
  margin-bottom: 60px;
}

.pf-top {
  margin-bottom: 100px;
  background: var(--headingcolor);
  height: 5px;
  border-radius: 10px;
}

.pf-flex {
  display: flex;
  justify-content: space-between;
}

.pff-logo {
  width: 200px;
}

.pff-logo img {
  max-width: 200px;
  width: 100%;
}

.pff-address {
  width: 27%;
  margin: 0px 20px;
  text-align: center;
}

.pff-address a {
  color: var(--bodycolor);
}

.pff-address h5 {
  margin: 0px 0px 20px;
  color: var(--bodycolor);
  font-size: 30px;
  line-height: 40px;
}

.pff-social a {
  font-size: 36px;
  margin: 0px 10px;
}

.pff-social a:hover, .pff-social a:focus {
  opacity: 0.7;
  color: #000;
}

.pff-social a em {
  position: relative;
  left: 4.5px;
}

.pf-flex h6 {
  color: var(--bodycolor);
  font-size: 24px;
  line-height: 34px;
  margin: 40px 0px 30px;
}

.pff-end {
  width: 50%;
}

.pffe-logos .wysiwyg-editable {
  display: flex;
  justify-content: space-between;
}

.pffe-logos .wysiwyg-editable img {
  height: 90px;
}

.pffe-newsletter form {
  position: relative;
  margin: 0px 0px 90px;
}

.pffe-newsletter label {
  position: absolute;
  top: 11px;
  left: 11px;
  color: #fff;
  opacity: 1;
  visibility: visible;
  transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
}

.pffe-newsletter .hide-label label {
  opacity: 0;
  visibility: hidden;
}

.pffe-newsletter input {
  width: calc(100% - 12px);
  background: var(--bottomfooterbg);
  border-radius: 12px;
  height: 36px;
  color: #fff;
}

.pffe-newsletter input[type*="submit"] {
  position: absolute;
  bottom: -80px;
  right: 0px;
  background: var(--headingcolor);
  color: #fff;
  width: 160px;
  border: none;
  height: 46px;
}

.members-footer {
  background: var(--bottomfooterbg);
  color: #fff;
  padding: 40px 0px;
}

.mf-flex {
  display: flex;
  align-items: center;
}

.mf-flex > div {
  flex: 1 1 0;
}

.mff-links {
  margin: 0px 20px;
  text-align: center;
}

.mff-links a {
  color: #fff;
}

.mff-links a:hover, .mff-links a:focus {
  color: var(--headerhighlight);
}

.mff-ig {
  text-align: right;
}

.mff-ig img {
  width: 120px;
}

/* page */

#globalwrap {
  padding: 0px;
}

.page-space {
  padding: 0px 200px;
}

.small-page-space {
  padding: 0px 100px;
}

/* home */

.home-slideshow {
  position: relative;
}

.home-slideshow .galleryInner, .home-slideshow .galleryInner img {
  width: 100% !important;
  height: 100vh !important;
  object-fit: cover;
}

.hs-title {
  position: absolute;
  bottom: 80px;
  left: 100px;
  z-index: 30;
  background: url('/images/resources/epsom/slideshow-title-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 500px;
  height: 222px;
}

.hs-title h1 {
  font-size: 46px;
  line-height: 56px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 40px;
  right: 10px;
  font-weight: 700;
}

.hs-explore {
  position: absolute;
  bottom: 80px;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  z-index: 38;
  width: 100px;
  color: var(--headingcolor);
  text-align: center;
  font-size: 20px;
}

.hs-explore:hover, .hs-explore:focus {
  color: #000;
  cursor: pointer;
}

.home-weather-status-bar {
  background: var(--headingcolor);
  color: #fff;
  padding: 20px 0px;
}

.hwsb-weather {
  width: 70px;
  padding-right: 10px;
  display: inline-block;
  border-right: 4px solid #fff;
  height: 60px;
}

.hwsb-weather .weatherImage {
  position: relative;
  top: 10px;
}

.hwsb-weather .weatherImage i {
  font-size: 40px;
}

.hwsb-status p {
  margin: 0px;
}

.hwsb-weather .weatherImage > div {
  padding: 0px !important;
}

.hwsb-weather .weatherTime {
  display: none;
}

.hwsb-weather .weatherTemp {
  display: none;
}

.hwsb-weather .wind_direction {
  display: none;
}

.hwsb-status {
  width: 80%;
  margin-left: 10px;
  display: inline-block;
  position: relative;
  top: 0px;
}

.hwsb-status h3 {
  display: none;
}

.home-intro {
  margin-top: 100px;
  text-align: center;
}

.home-pic-text-full {
  margin-top: 100px;
  position: relative;
  box-shadow: -10px 10px 20px 8px rgba(0,0,0,0.2);
  border-radius: 20px;
}

.home-pic-text-full::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.7+100 */
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.home-pic-text-full img {
  border-radius: 20px;
}

.hpt-full-content {
  position: absolute;
  bottom: 50px;
  left: 70px;
  max-width: 700px;
  z-index: 20;
  color: #fff;
}

.hpt-full-content h3 {
  margin: 0px 150px 20px 0px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--headingcolor);
  color: #fff;
}

.home-pic-text-two-cols {
  margin-top: 50px;
  display: flex;
}

.hptwo-pic {
  position: relative;
  box-shadow: -10px 10px 20px 8px rgba(0,0,0,0.2);
  border-radius: 20px;
}

.hptwo-pic::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.7+100 */
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.hptwo-pic:first-of-type {
  width: 50%;
  margin-right: 25px;
}

.hptwo-pic:last-of-type {
  width: 50%;
  margin-left: 25px;
}

.hptwo-pic img {
  border-radius: 20px;
}

.hptwo-content {
  position: absolute;
  bottom: 50px;
  left: 50px;
  right: 50px;
  z-index: 20;
  color: #fff;
}

.hptwo-content h3 {
  margin: 0px 150px 20px 0px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--headingcolor);
  color: #fff;
}

.home-pic-text-three-col {
  margin-top: 50px;
  display: flex;
}

.hpthree-pic:first-of-type {
  width: 33.33%;
  margin-right: 25px;
}

.hpthree-pic:nth-of-type(2) {
  width: 33.33%;
  margin: 0px 25px;
}

.hpthree-pic:last-of-type {
  width: 33.33%;
  margin-left: 25px;
}

.hpthree-pic {
  position: relative;
  box-shadow: -10px 10px 20px 8px rgba(0,0,0,0.2);
  border-radius: 20px;
}

.hpthree-pic::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.7+100 */
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.hpthree-content {
  position: absolute;
  bottom: 50px;
  left: 30px;
  right: 30px;
  z-index: 20;
  color: #fff;
}

.hpthree-content h3 {
  margin: 0px 150px 20px 0px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--headingcolor);
  color: #fff;
}

.hpthree-pic img {
  border-radius: 20px;
}

.home-main {
  margin-bottom: 100px;
}

/* testimonials */

.home-testimonials {
  margin-top: 50px;
  position: relative;
  background: url('/images/resources/epsom/home-testimonial-bg.jpg');
  background-repeat: no-repeat;
  height: 500px;
  border-radius: 20px;
  background-position: center;
  box-shadow: -10px 10px 20px 8px rgba(0,0,0,0.2);
}

.home-testimonials::after {
  content: '';
  top: 0px;
  left: 0px;
  background: rgba(0,0,0,0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.home-testimonials .wysiwyg-editable {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  right: 10px;
  z-index: 10;
  text-align: center;
}

.home-testimonials h3 {
  display: inline-block;
  padding: 0px 100px 10px;
  margin: 0px 0px 20px;
  color: #fff;
  border-bottom: 4px solid var(--headingcolor);
}

.home-testimonials .galleryInner {
    margin: 0 auto;
    width: 100% !important;
    padding: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*height: auto !important;*/
  background: none;
}

.content-wrapper .home-testimonials .galleryInner .nivo-caption {
    width: 100%;
    -moz-opacity: 1;
    margin: 0px auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    filter: alpha(opacity=100);
    opacity: 1;
    text-align: center;
    position: relative;
    z-index: 0;
    background-color: rgba(0,0,0,0);
    padding: 0;
    height: auto;
    overflow: visible;
    min-height: 80px;
    max-width: 970px;
  font-family: var(--bodyfont);
}

.home-testimonials .galleryInner .nivo-caption p {
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  text-shadow: none;
}

.home-testimonials .galleryInner .nivo-caption h4 {
  font-weight: 400;
  background: transparent;
  font-size: 16px;
  line-height: 26px;
}

.home-testimonials .galleryInner img {
    display: none !important;
}

#globalwrap .home-testimonials .nivo-directionNav {
  display: block;
}

#globalwrap .home-testimonials .nivo-directionNav a {
  background: none;
  text-indent: 0px;
  font-size: 0px;
  color: #fff;
}

#globalwrap .home-testimonials .nivo-directionNav a.nivo-prevNav::after {
  background: none;
  content: '\f104';
  font-family: 'FontAwesome';
  font-size: 54px;
}

#globalwrap .home-testimonials .nivo-directionNav a.nivo-nextNav::after {
  background: none;
  content: '\f105';
  font-family: 'FontAwesome';
  font-size: 54px;
}

.home-testimonials .nivo-controlNav-Wrapper {
  display: none;
}

.home-testimonials, .home-testimonials .galleryInner {
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

/* inner */

.body-contentpage #global > br {
  display: none;
}

.inner-slideshow {
  position: relative;
}

.no-top-slider {
  margin-top: 180px;
}

.inner-slideshow .galleryInner, .inner-slideshow .galleryInner img {
  width: 100% !important;
  height: calc(100vh - 100px) !important;
  object-fit: cover;
}

.inner-intro {
  margin-top: 100px;
  text-align: center;
  margin-bottom: 50px;
}

/* inner added boxes style */

.body-contentpage .added-section-move-up {
  display: none;
}

.body-contentpage .added-section-move-down {
  display: none;
}

.body-contentpage .additional-button-row {
  display: none;
}

.body-contentpage .added-section-remove {
  display: none;
}

.inserted-block {
  position: relative;
  margin: 50px 0px; /* change this padding to increase / decrease the gap between added sections */
}

.php-ckeditor .inserted-block {
  margin: 0px;
  padding: 30px 0px;
}

.inner-full-added {
  text-align: center;
  font-family: var(--headingfont);
}

.two-equal-added.flex-row {
  display: flex;
  align-items: left;
  font-family: var(--headingfont);
}

.two-equal-added.flex-row .ie-col {
  flex: 1 1 0;
}

.two-equal-added.flex-row .ie-col:first-child {
  margin-right: 20px;
}

.two-equal-added.flex-row  .ie-col:last-child {
  margin-left: 20px;
}

.is-two-col {
  display: flex;
  align-items: center;
}

.is-two-col.flip-flex {
  flex-direction: row-reverse;
}

.htc-content {
  width: 50%;
  margin-right: 25px;
}

.htc-content h2 {
  margin: 0px 0px 20px;
  padding-bottom: 15px;
  position: relative;
  color: var(--bodycolor);
}

.inner-page-wrapper .htc-content h2::after {
  content: '';
  width: 100%;
  height: 6px;
  border-radius: 8px;
  display: block;
  background: #000;
  position: relative;
  top: 15px;
  margin: 0px;
}

.htc-content h3 {
  margin: 0px 0px 15px;
  padding-bottom: 10px;
  position: relative;
  color: var(--bodycolor);
}

.htc-content h3::after {
  content: '';
  width: 80%;
  height: 6px;
  border-radius: 8px;
  display: block;
  position: relative;
  top: 10px;
  background: var(--headingcolor);
  margin: 0px;
}

.inner-page-wrapper h2 {
  margin: 0px 0px 20px;
  padding-bottom: 15px;
  position: relative;
  color: var(--bodycolor);
}

.inner-page-wrapper h2::after {
  content: '';
  width: 80%;
  height: 6px;
  border-radius: 8px;
  display: block;
  background: #000;
  position: relative;
  top: 15px;
  margin: 0px auto;
}

.htc-pic {
  width: 50%;
  margin-left: 25px;
}

.htc-pic img {
  border-radius: 20px;
}

.flip-flex .htc-content {
  margin-left: 25px;
  margin-right: 0px;
}

.flip-flex .htc-pic {
  margin-left: 0px;
  margin-right: 25px;
}

.two-unequal-added.flex-row {
  display: flex;
  font-family: var(--headingfont);
}

.two-unequal-added .main-col {
  width: 65%;
  margin-right: 20px;
}

.two-unequal-added .sidebar-col {
  width: 35%;
  margin-left: 20px;
}

.two-unequal-added .sidebar-col table h6 {
  margin: 0px;
}

.two-unequal-added.flip-flex .main-col {
  margin-right: 0px;
  margin-left: 20px;
}

.two-unequal-added.flip-flex .sidebar-col {
  margin-left: 0px;
  margin-right: 20px;
}

.three-equal-added.flex-row {
  display: flex;
  font-family: var(--headingfont);
}

.three-equal-added.flex-row .ie-col {
  flex: 1 1 0;
}

.three-equal-added.flex-row .ie-col:first-child {
  margin-right: 15px;
}

.three-equal-added.flex-row .ie-col:nth-child(2) {
  margin: 0px 15px;
}

.three-equal-added.flex-row .ie-col:last-child {
  margin-left: 15px;
}

.three-unequal-added.flex-row {
  display: flex;
  font-family: var(--headingfont);
}

.three-unequal-added .main-col {
  width: 50%;
  margin-right: 15px;
}

.three-unequal-added .sidebar-col {
  width: 25%;
}

.three-unequal-added .sidebar-col:nth-child(1) {
  margin: 0px 15px;
}

.three-unequal-added .sidebar-col:last-child {
  margin-left: 15px;
}

.three-unequal-added.center-main .main-col {
  margin: 0px 15px;
}

.three-unequal-added.center-main .sidebar-col:nth-child(1) {
  margin-right: 15px;
  margin-left: 0px;
}

.three-unequal-added.center-main .sidebar-col:nth-child(2) {
  margin-left: 15px;
}

.three-unequal-added.right-main .main-col {
  margin-right: 0px;
  margin-left: 15px;
}

.three-unequal-added.right-main .sidebar-col:nth-child(1) {
  margin-right: 15px;
  margin-left: 0px;
}

.three-unequal-added.right-main .sidebar-col:nth-child(2) {
  margin: 0px 15px;
}

.four-equal-added.flex-row {
  display: flex;
  font-family: var(--headingfont);
}

.four-equal-added.flex-row .ie-col {
  flex: 1 1 0;
}

.four-equal-added.flex-row .ie-col:first-child {
  margin-right: 10px;
}

.four-equal-added.flex-row .ie-col:nth-child(2), .four-equal-added.flex-row .ie-col:nth-child(3) {
  margin: 0px 10px;
}

.four-equal-added.flex-row .ie-col:last-child {
  margin-left: 10px;
}

@media (min-width: 0px) and (max-width: 767px) {
  .two-equal-added, .three-equal-added, .four-equal-added {
    flex-direction: column;
  }
  .two-equal-added.flex-row .ie-col:first-child {
    margin: 0px;
  }
  .two-equal-added.flex-row .ie-col:last-child {
   margin: 30px 0px 0px; 
  }
  .ie-col {
    text-align: center;
    width: 100%;
  }
  .flip-flex {
    flex-direction: column-reverse;
  }
  .two-equal-added.flex-row.flip-flex .ie-col:last-child {
    margin-top: 0px;
  }
  .two-equal-added.flex-row.flip-flex .ie-col:first-child {
    margin-top: 30px;
  }
  .three-equal-added.flex-row .ie-col:first-child {
    margin: 0px;
  }
  .three-equal-added.flex-row .ie-col:nth-child(2) {
    margin: 20px 0px;
  }
  .three-equal-added.flex-row .ie-col:last-child {
    margin: 0px;
  }
  .four-equal-added.flex-row .ie-col:first-child {
    margin: 0px;
  }
  .four-equal-added.flex-row .ie-col:nth-child(2), .four-equal-added.flex-row .ie-col:nth-child(3), .four-equal-added.flex-row .ie-col:last-child {
    margin: 20px 0px 0px;
  }
  .two-unequal-added.flex-row {
    flex-direction: column;
    text-align: center;
  }
  .two-unequal-added .main-col {
    width: 100%;
    margin: 0px;
  }
  .two-unequal-added .sidebar-col {
    width: 100%;
    margin: 20px 0px 0px;
  }
  .two-unequal-added.flex-row.flip-flex {
    flex-direction: column-reverse;
  }
  .two-unequal-added.flip-flex .main-col {
    width: 100%;
    margin: 0px;
  }
  .two-unequal-added.flip-flex .sidebar-col {
    width: 100%;
    margin: 20px 0px 0px;
  }
}

/* accordions */

/* accordions custom public */

.body-contentpage .additional-accordions .added-section-accordion {
  display: none;
}

.body-contentpage .additional-accordions .added-accordion-move-up {
  display: none;
}

.body-contentpage .additional-accordions .added-accordion-move-down {
  display: none;
}

.body-contentpage .additional-accordions .added-accordion-remove {
  display: none;
}

.body-contentpage .inserted-accordion {
  margin: 20px 0px;
}

.body-contentpage .accordion-title:hover {
  cursor: pointer;
}

.accordion-object {
  padding: 14px 0px;
}

.accordion-title {
  position: relative;
  background: var(--headingcolor);
  padding: 10px 70px 10px 30px;
}

.body-contentpage .accordion-title h3, .accordion-title h3 {
  margin: 0px; 
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  padding: 0px;
}

.body-contentpage .accordion-title h3 br {
  display: none;
}

.body-contentpage .accordion-title h3::before {
  content: '';
  position: absolute;
  display: inline-block;
  top: 14px;
  right: -53px;
  width: 36px;
  height: 6px;
  background: #fff;
  border-radius: 8px;
  transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
}

.body-contentpage .accordion-title h3::after {
  content: '';
  position: absolute;
  display: inline-block;
  top: -1px;
  right: -37px;
  height: 36px;
  width: 6px;
  background: #fff;
  border-radius: 8px;
  opacity: 1;
  transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
}

.body-contentpage .active-accord .accordion-title h3::after {
  opacity: 0;
}

.body-contentpage .accordion-content {
  display: none;
  padding-top: 20px;
}

.accordion-content {
  background: #8d8d8d;
  padding: 20px 30px;
  color: #fff;
}

/* course */

.body-contentpage table.scorecard th, .body-contentpage table.scorecard td {
  text-align: center;
}

.body-contentpage table.scorecard th:nth-child(2), .body-contentpage table.scorecard td:nth-child(2) {
  background: var(--scorecardwhite);
  color: var(--bodycolor);
}

.body-contentpage table.scorecard th:nth-child(5), .body-contentpage table.scorecard td:nth-child(5) {
  background: var(--scorecardyellow);
  color: var(--bodycolor);
}

.body-contentpage table.scorecard th:nth-child(8), .body-contentpage table.scorecard td:nth-child(8) {
  background: var(--scorecardred);
  color: #fff;
}

.body-contentpage .inner-full-added .accordion-title h3::before {
  right: -53px;
}

.body-contentpage .inner-full-added .accordion-title h3::after {
  right: -38px;
}

.hole-nav {
  margin: 100px 0px;
  text-align: center;
}

.hole-nav h2 {
  display: none;
}

.hole-nav ul {
  margin: 0px;
  font-size: 0px;
}

.hole-nav ul li {
  display: inline-block;
  border-right: 2px solid var(--headingcolor);
}

.hole-nav ul li:last-of-type {
  border-right: none;
}

.hole-nav ul li a {
  display: inline-block;
  width: 42px;
  line-height: 42px;
  height: 42px;
  text-align: center;
  color: var(--bodycolor);
  padding: 0px 8px;
  font-size: 16px;
}

.hole-nav ul li.current a, .hole-nav ul li a:hover, .hole-nav ul li a:focus {
  color: var(--headingcolor);
}

/* whole in one golf iframe styles */

.flyovercontent {
  width: 100%;
  margin: 0px auto;
}
.embed-container {
  height: auto;
  width: 100%;
  padding-bottom: 71%;
  overflow: visible;
  position: relative;
}
.embed-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* hole */

.hole-content {
  width: 50%;
  margin-left: 25px;
}

.hole-pic {
  width: 50%;
  margin-right: 25px;
}

.hole-yards {
  display: flex;
  justify-content: space-between;
}

.hole-yards > div {
  width: 100px;
  height: 70px;
  text-align: center;
  padding: 35px 20px;
}

.hole-yards h4 {
  margin: 0px 0px 10px;
  color: var(--bodycolor);
  font-size: 38px;
  line-height: 38px;
}

.hole-yards p {
  font-size: 20px;
}

.hole-yards .white {
  border: 4px solid var(--scorecardwhite);
}

.hole-yards .yellow {
  border: 4px solid var(--scorecardyellow);
}

.hole-yards .red {
  border: 4px solid var(--scorecardred);
}

.hole-content h3 {
  margin: 0px 0px 15px;
  padding-bottom: 10px;
  position: relative;
  color: var(--bodycolor);
}

.hole-content h3::after {
  content: '';
  width: 80%;
  height: 6px;
  border-radius: 8px;
  display: inline-block;
  background: var(--headingcolor);
}

.hole-desc {
  margin: 40px 0px;
}

.hole-main {
  margin-bottom: 100px;
}

.hole-page-wrapper .hs-title {
  width: 400px;
  height: 202px;
}

/* members */

body[class*="php-"], .body-class-members, .body-class-visitorbooking, .body-class-getawayletter, [class*="body-class-setcoursestatus"], .body-class-opens, .body-loginpage, .invalid-page {
  background: url('/images/resources/epsom/members-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body[class*="php-"] .header-wrapper, .body-class-members .header-wrapper, .body-class-visitorbooking .header-wrapper, .body-class-getawayletter .header-wrapper, [class*="body-class-setcoursestatus"] .header-wrapper, .body-class-opens .header-wrapper, .body-loginpage .header-wrapper, .invalid-page .header-wrapper {
  background: var(--headerbg);
  width: 100%;
  min-height: 100px;
  position: relative;
}

body[class*="php-"] .nav-section, .body-class-members .nav-section, .body-class-visitorbooking .nav-section, .body-class-getawayletter .nav-section, [class*="body-class-setcoursestatus"] .nav-section, .body-class-opens .nav-section, .body-loginpage .nav-section, .invalid-page .nav-section {
  margin-top: 0px;
  width: auto;
}

body[class*="php-"] .header-logo, .body-class-members .header-logo, .body-class-visitorbooking .header-logo, .body-class-getawayletter .header-logo, [class*="body-class-setcoursestatus"] .header-logo, .body-class-opens .header-logo, .body-loginpage .header-logo, .invalid-page .header-logo {
  float: left;
  margin-left: 0px;
  position: relative;
  top: 5px;
  width: 66px;
}

body[class*="php-"] .header-login, .body-class-members .header-login, .body-class-visitorbooking .header-login, .body-class-getawayletter .header-login, [class*="body-class-setcoursestatus"] .header-login, .body-class-opens .header-login, .body-loginpage .header-login {
  display: none;
}

body[class*="php-"] .header-left, .body-class-members .header-left, .body-class-visitorbooking .header-left, .body-class-getawayletter .header-left, [class*="body-class-setcoursestatus"] .header-left, .body-class-opens .header-left, .body-loginpage .header-left {
  display: none;
}

body[class*="php-"] .nav-logo, .body-class-members .nav-logo, .body-class-visitorbooking .nav-logo, .body-class-getawayletter .nav-logo, [class*="body-class-setcoursestatus"] .nav-logo, .body-class-opens .nav-logo, .body-loginpage .nav-logo {
  display: none;
}

body[class*="php-"] .nav-status, .body-class-members .nav-status, .body-class-visitorbooking .nav-status, .body-class-getawayletter .nav-status, [class*="body-class-setcoursestatus"] .nav-status, .body-class-opens .nav-status, .body-loginpage .nav-status {
  display: none;
}

body[class*="php-"] .header-status, .body-class-members .header-status, .body-class-visitorbooking .header-status, .body-class-getawayletter .header-status, [class*="body-class-setcoursestatus"] .header-status, .body-class-opens .header-status, .body-loginpage .header-status, .invalid-page .header-status {
  display: none;
}

body[class*="php-"] .header-links, .body-class-members .header-links, .body-class-visitorbooking .header-links, .body-class-getawayletter .header-links, [class*="body-class-setcoursestatus"] .header-links, .body-class-opens .header-links, .body-loginpage .header-links, .invalid-page .header-links {
  display: none;
}

body[class*="php-"] .header-book, .body-class-members .header-book, .body-class-visitorbooking .header-book, .body-class-getawayletter .header-book, [class*="body-class-setcoursestatus"] .header-book, .body-class-opens .header-book, .body-loginpage .header-book, .invalid-page .header-book {
  display: none;
}

body[class*="php-"] .top-header-left, .body-class-members .top-header-left, .body-class-visitorbooking .top-header-left, .body-class-getawayletter .top-header-left, [class*="body-class-setcoursestatus"] .top-header-left, .body-class-opens .top-header-left, .body-loginpage .top-header-left, .invalid-page .top-header-left {
  display: none;
}

body[class*="php-"] .header-top-right, .body-class-members .header-top-right, .body-class-visitorbooking .header-top-right, .body-class-getawayletter .header-top-right, [class*="body-class-setcoursestatus"] .header-top-right, .body-class-opens .header-top-right, .body-loginpage .header-top-right, .invalid-page .header-top-right {
  top: 10px;
  display: none;
}

body[class*="php-"] .top-header, .body-class-members .top-header, .body-class-visitorbooking .top-header, .body-class-getawayletter .top-header, [class*="body-class-setcoursestatus"] .top-header, .body-class-opens .top-header, .body-loginpage .top-header {
  min-height: 100px;
}

body[class*="php-"] .bottom-header, .body-class-members .bottom-header, .body-class-visitorbooking .bottom-header, .body-class-getawayletter .bottom-header, [class*="body-class-setcoursestatus"] .bottom-header, .body-class-opens .bottom-header, .body-loginpage .bottom-header {
  min-height: 40px;
}

body[class*="php-"] .header-info, .body-class-members .header-info, .body-class-visitorbooking .header-info, .body-class-getawayletter .header-info, [class*="body-class-setcoursestatus"] .header-info, .body-class-opens .header-info, .body-loginpage .header-info {
  margin-bottom: 10px;
}

body[class*="php-"] .navbar-inverse .nav > li, .body-class-visitorbooking .navbar-inverse .nav > li, .body-class-getawayletter .navbar-inverse .nav > li, [class*="body-class-setcoursestatus"] .navbar-inverse .nav > li, .body-class-opens .navbar-inverse .nav > li, .body-loginpage .navbar-inverse .nav > li, .body-class-members .navbar-inverse .nav > li, .invalid-page .navbar-inverse .nav > li {
  border-bottom: none;
  float: left;
}

body[class*="php-"] .navbar-inverse .nav > li > a, .body-class-visitorbooking .navbar-inverse .nav > li > a, .body-class-getawayletter .navbar-inverse .nav > li > a, [class*="body-class-setcoursestatus"] .navbar-inverse .nav > li > a, .body-class-opens .navbar-inverse .nav > li > a, .body-loginpage .navbar-inverse .nav > li > a, .body-class-members .navbar-inverse .nav > li > a, .invalid-page .navbar-inverse .nav > li > a {
  text-transform: capitalize;
  letter-spacing: 0px;
  padding: 10px 15px;
  font-size: 15px;
}

body[class*="php-"] .header-space, .body-class-members .header-space, .body-class-visitorbooking .header-space, .body-class-getawayletter .header-space, [class*="body-class-setcoursestatus"] .header-space, .body-class-opens .header-space, .body-loginpage .header-space, .invalid-page .header-space {
  width: 1170px;
  margin: 0px auto;
}

body[class*="php-"] #hamburger-icon, .body-class-visitorbooking #hamburger-icon, .body-class-getawayletter #hamburger-icon, [class*="body-class-setcoursestatus"] #hamburger-icon, .body-class-opens #hamburger-icon, .body-loginpage #hamburger-icon, .body-class-members #hamburger-icon, .invalid-page #hamburger-icon {
  position: relative;
  display: none;
}

body[class*="php-"] .nav-wrapper, .body-class-members .nav-wrapper, .body-class-visitorbooking .nav-wrapper, .body-class-getawayletter .nav-wrapper, [class*="body-class-setcoursestatus"] .nav-wrapper, .body-class-opens .nav-wrapper, .body-loginpage .nav-wrapper, .invalid-page .nav-wrapper {
  margin-top: 0px;
  height: auto;
  padding: 0px;
  overflow-y: visible;
  position: relative;
  top: 27px;
  margin-left: 95px;
}

body[class*="php-"] .dropdown-menu, .body-class-members .dropdown-menu, .body-class-visitorbooking .dropdown-menu, .body-class-getawayletter .dropdown-menu, [class*="body-class-setcoursestatus"] .dropdown-menu, .body-class-opens .dropdown-menu, .body-loginpage .dropdown-menu, .invalid-page .dropdown-menu {
  position: absolute;
}

body[class*="php-"] .dropdown-menu > li > a, .body-class-members .dropdown-menu > li > a, .body-class-visitorbooking .dropdown-menu > li > a, .body-class-getawayletter .dropdown-menu > li > a, [class*="body-class-setcoursestatus"] .dropdown-menu > li > a, .body-class-opens .dropdown-menu > li > a, .body-loginpage .dropdown-menu > li > a, .invalid-page .dropdown-menu > li > a {
  padding: 3px 20px;
}

body[class*="php-"] .content-wrapper, .body-class-members .content-wrapper, .body-class-visitorbooking .content-wrapper, .body-class-getawayletter .content-wrapper, [class*="body-class-setcoursestatus"] .content-wrapper, .body-class-opens .content-wrapper, .body-loginpage .content-wrapper, .invalid-page .content-wrapper {
  width: 1170px;
  margin: 0px auto;
}

body[class*="php-"] #myNavbar, .body-class-visitorbooking #myNavbar, .body-class-getawayletter #myNavbar, [class*="body-class-setcoursestatus"] #myNavbar, .body-class-opens #myNavbar, .body-loginpage #myNavbar, .body-class-members #myNavbar, .invalid-page #myNavbar {
  position: relative;
  top: 0px;
  right: 0px;
  min-height: auto;
  background: transparent;
  width: auto;
}

body[class*="php-"] .content-wrapper, .body-class-members .content-wrapper, .body-class-visitorbooking .content-wrapper, .body-class-getawayletter .content-wrapper, [class*="body-class-setcoursestatus"] .content-wrapper, .body-class-opens .content-wrapper, .body-loginpage .content-wrapper, body[class*="match"] .content-wrapper, .invalid-page .content-wrapper {
  width: 1170px;
  margin: 0px auto;
}

body[class*="php-"] #globalwrap, .body-class-visitorbooking #globalwrap, .body-class-getawayletter #globalwrap, [class*="body-class-setcoursestatus"] #globalwrap, .body-class-opens #globalwrap, .body-loginpage #globalwrap, body[class*="match"] #globalwrap, .invalid-page #globalwrap {
  margin-top: 110px;
  margin-bottom: 60px;
  border: 2px solid var(--headingcolor);
  padding: 20px;
  background: rgba(255,255,255,0.9);
}

.body-class-members #container #globalwrap {
  margin-top: 100px;
  margin-bottom: 60px;
  border: 2px solid var(--headingcolor);
  padding: 20px;
  background: rgba(255,255,255,0.9);
}

/* sticky footer */

@media (min-width: 768px) {
  html {
    position: relative;
    min-height: 100%;
  }
  body[class*="php-"], .body-class-members, .body-class-visitorbooking, .body-class-getawayletter, [class*="body-class-setcoursestatus"], .body-class-opens, .body-loginpage, body[class*="match"], .invalid-page {
   margin-bottom: 160px; 
  }
  body[class*="php-"] .members-footer, .body-class-members .members-footer, .body-class-visitorbooking .members-footer, .body-class-getawayletter .members-footer, [class*="body-class-setcoursestatus"] .members-footer, .body-class-opens .members-footer, .body-loginpage .members-footer, body[class*="match"] .members-footer, .invalid-page .members-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 40px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  html {
    position: relative;
    min-height: 100%;
  }
  body[class*="php-"], .body-class-members, .body-class-visitorbooking, .body-class-getawayletter, [class*="body-class-setcoursestatus"], .body-class-opens, .body-loginpage, body[class*="match"], .invalid-page {
   margin-bottom: 230px; 
  }
  body[class*="php-"] .members-footer, .body-class-members .members-footer, .body-class-visitorbooking .members-footer, .body-class-getawayletter .members-footer, [class*="body-class-setcoursestatus"] .members-footer, .body-class-opens .members-footer, .body-loginpage .members-footer, body[class*="match"] .members-footer, .invalid-page .members-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 130px;
    font-size: 14px;
  }
}

/* login page */

#login {
  text-align: center;
}

#login h3 {
  margin: 0px 0px 20px;
  padding-bottom: 10px;
}

#login fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  display: inline-block;
  transform: translateX(-90px);
}

#login input[type*="submit"] {
  margin-top: 20px;
  letter-spacing: 2px;
  font-size: 16px;
}

#login > div {
  padding-bottom: 0px !important;
}

/* buttons */

input[type*="submit"], a.btn, button.btn {
  display: inline-block;
  text-shadow: none;
  background: var(--headingcolor2);
  color: #fff;
  padding: 6px 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  box-shadow: none;
  border: none;
  margin: 2px;
   transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

input[type*="submit"]:hover, a.btn:hover, button.btn:hover, input[type*="submit"]:focus, a.btn:focus, button.btn:focus {
  background: #fff;
  color: #000;
}

/* no pin page */

.php-login .nav > li.nav-menu-login\.php {
  display: none;
}

.php-login .nav > li.nav-menu-competition\.php, .php-login .nav > li.nav-menu-competition2\.php {
  display: none;
}

/* members */

thead {
  background: var(--headingcolor);
  color: #fff;
  font-weight: 400;
}

.body-class-members .content-wrapper thead a {
  color: #fff;
  text-decoration: underline;
}

.table th {
  font-weight: 400;
}

.php-index.body-class-members #container #globalwrap {
  background: transparent;
  border: none;
  padding: 0px;
}

.php-index #leftcontent > div, .php-index #rightcontent > div {
  background: rgba(255,255,255,0.9);
  border: 2px solid var(--headingcolor);
  position: relative;
}

.php-index #globalwrap .weatherMini {
  position: absolute;
  top: 5px;
  right: 5px;
}

.php-index #globalwrap .weatherImage.image-night {
  background: transparent;
}

.php-index #globalwrap .weatherImage img {
  background: var(--headingcolor);
  border-radius: 50%;
}

.php-weatherfg #globalwrap .weatherImage.image-night {
  background: transparent;
}

.php-weatherfg #globalwrap .weatherImage img, .php-weatherfg #globalwrap .weatherImage img.image-night {
  background: var(--headingcolor);
  border-radius: 50%;
}

.php-index #globalwrap .weatherImage i {
  font-size: 28px;
}

.php-analysis .content-wrapper .pull-left, .php-courseanalysis .content-wrapper .pull-left {
  float: none;
}

.php-analysis .content-wrapper .pull-right, .php-courseanalysis .content-wrapper .pull-right {
  float: none;
}

.content-wrapper .well {
  background: transparent;
  padding: 10px;
  border: none;
  box-shadow: none;
}

.body-class-members .content-wrapper {
  line-height: 28px;
}

.body-class-members .nav-menu-information .dropdown-menu .nav-menu-information {
  display: none;
}

/*.body-class-members .content-wrapper a {
  text-decoration: underline;
}*/

.body-class-members .content-wrapper a.btn {
  text-decoration: none;
}

.body-class-members .header-login {
  display: none;
}

.body-class-members .navbar-inverse .navbar-inner {
  margin-right: 0px;
}

.php-halloffame .hallOfFame > div:nth-child(3) {
  padding-left: 20px;
}

#ui-datepicker-div {
  display: none;
}

.php-search .content-wrapper input {
  margin-bottom: 0px;
}

.body-class-members .header-wrapper .navbar-inverse .nav > li > a {
  text-transform: capitalize;
  font-size: 15px;
  letter-spacing: 0px;
}

body[class*="php-"] .header-wrapper, .body-class-members .header-wrapper, .body-class-visitorbooking .header-wrapper, .body-class-getawayletter .header-wrapper, [class*="body-class-setcoursestatus"] .header-wrapper, .body-class-opens .header-wrapper, .body-loginpage .header-wrapper, body[class*="match"] .header-wrapper {
  position: relative;
}

.body-class-members.body-contentpage .galleryInner {
  width: 100% !important;
  height: auto !important;
}

.body-class-members.body-contentpage .content-wrapper .container {
  width: auto;
}

.php-eclectic table thead.tableFloatingHeaderOriginal {
  background-color: var(--headingcolor) !important;
}

.php-boardcomps a.btn {
  width: 250px;
  display: block;
  font-size: 14px;
  margin: 5px 0px;
}

.php-boardcomps a.btn.pull-right {
  float: none;
  margin-top: -27px;
}

#memteetimes thead th {
  color: #fff;
}

.php-directory .navbar-inverse .nav > li.nav-haslevel-2 > a::after, .php-friends .navbar-inverse .nav > li.nav-haslevel-2 > a::after {
  font-size: 16px;
}

.php-diary .diary-nav-right a {
  transition: all 0ms ease-in-out;
  -moz-transition: all 0ms ease-in-out;
  -webkit-transition: all 0ms ease-in-out;
}

.php-log #globalwrap {
  overflow-x: scroll;
}

.php-log #globalwrap table tr td:nth-child(3) {
  word-break: break-word;
}

@media (min-width: 0px) and (max-width: 800px) {
  .php-competition2 table.comps-list-table .comp-ical-td {
    right: -10px;
  }
}

/* desktop responsive */

@media (min-width: 1600px) and (max-width: 1799px) {
  .page-space {
    padding: 0px 150px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .page-space {
    padding: 0px 100px;
  }
  .header-space {
    margin: 0px 50px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .page-space {
    padding: 0px 50px;
  }
  .header-space {
    margin: 0px 50px;
  }
  .members-footer {
    font-size: 14px;
  }
  .hs-title {
    left: 50px;
  }
}

/* main responsive */

/* landscape tablet */

@media (min-width: 980px) and (max-width: 1199px) {
  .header-space {
    margin: 0px 25px;
  }
  .hs-title {
    left: 20px;
  }
  .page-space {
    padding: 0px 25px;
  }
  .hpt-full-content {
    left: 25px;
    bottom: 10px;
  }
  .hptwo-content {
    left: 20px;
    right: 20px;
    bottom: 10px;
  }
  .hpthree-content {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .hptwo-pic::after {
    height: 80%;
  }
  .hpthree-pic::after {
    height: 100%;
  }
  .pff-address {
    font-size: 13px;
  }
  .hole-yards > div {
    width: 80px;
    height: 70px;
    padding: 20px;
  }
  .hole-yards p {
    font-size: 16px;
  }
  .hole-nav ul li a {
    width: 36px;
    line-height: 36px;
    height: 36px;
    padding: 0px 6px;
  }
  #globalwrap .home-testimonials .nivo-directionNav a.nivo-prevNav {
    left: 5px;
  }
  #globalwrap .home-testimonials .nivo-directionNav a.nivo-nextNav {
    right: 5px;
  }
  .content-wrapper .home-testimonials .galleryInner .nivo-caption {
    max-width: 820px;
  }
  body[class*="php-"] .navbar-inverse .nav > li > a, .body-class-visitorbooking .navbar-inverse .nav > li > a, .body-class-getawayletter .navbar-inverse .nav > li > a, [class*="body-class-setcoursestatus"] .navbar-inverse .nav > li > a, .body-class-opens .navbar-inverse .nav > li > a, .body-loginpage .navbar-inverse .nav > li > a, .body-class-members .navbar-inverse .nav > li > a, .invalid-page .navbar-inverse .nav > li > a {
    font-size: 12px;
    padding: 10px 11px;
  }
  body[class*="php-"] .header-space, .body-class-members .header-space, .body-class-visitorbooking .header-space, .body-class-getawayletter .header-space, [class*="body-class-setcoursestatus"] .header-space, .body-class-opens .header-space, .body-loginpage .header-space, .invalid-page .header-space, body[class*="match"]:not(.body-contentpage) .header-space {
    width: 940px;
  }
  body[class*="php-"] .content-wrapper, .body-class-members .content-wrapper, .body-class-visitorbooking .content-wrapper, .body-class-getawayletter .content-wrapper, [class*="body-class-setcoursestatus"] .content-wrapper, .body-class-opens .content-wrapper, .body-loginpage .content-wrapper, .invalid-page .content-wrapper, body[class*="match"]:not(.body-contentpage) .content-wrapper {
    width: 940px;
  }
  body[class*="php-"] .navbar-inverse .nav > li.nav-haslevel-2 > a::after, .body-class-visitorbooking .navbar-inverse .nav > li.nav-haslevel-2 > a::after, .body-class-getawayletter .navbar-inverse .nav > li.nav-haslevel-2 > a::after, [class*="body-class-setcoursestatus"] .navbar-inverse .nav > li.nav-haslevel-2 > a::after, .body-class-opens .navbar-inverse .nav > li.nav-haslevel-2 > a::after, .body-loginpage .navbar-inverse .nav > li.nav-haslevel-2 > a::after {
    display: none;
  }
  .php-roundmgmt table td, .php-roundmgmt table th {
    padding: 2px;
    font-size: 12px;
  }
  #global.teebooking .tabs li a {
    font-size: 100%;
    padding: 10px;
  }
  .php-roundmgmt .dateperiods {
    width: 56%;
  }
  .php-knockout #globalwrap {
    overflow-x: scroll;
  }
  .body-class-members.php-login .header-wrapper .navbar-inverse .nav > li > a {
    font-size: 12px;
  }
  .body-class-members .header-wrapper .navbar-inverse .nav > li > a {
    font-size: 14px;
    padding: 10px 12px;
  }
  .table td, .table th, table td, table th {
    padding: 6px;
    font-size: 14px;
  }
  input[type*="submit"], a.btn, button.btn {
    padding: 8px 12px;
  }
}

/* portrait tablet */

@media (min-width: 768px) and (max-width: 979px) {
  .page-space {
    padding: 0px 20px;
  }
  .header-space {
    margin: 0px 20px;
  }
  .hpt-full-content {
    bottom: 30px;
    left: 30px;
  }
  .home-pic-text-full::after{
    height: 100%;
  }
  .hptwo-content {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .hptwo-pic::after {
    height: 100%;
  }
  .hptwo-content h3 {
    margin-right: 50px;
  }
  .hpthree-pic::after {
    height: 100%;
  }
  .hpthree-content {
    bottom: 15px;
    left: 10px;
    right: 10px;
    font-size: 12px;
    line-height: 22px;
  }
  .hpthree-content h3 {
    margin-right: 20px;
  }
  .home-testimonials {
    height: 400px;
  }
  .pf-flex {
    flex-direction: column;
  }
  .pff-logo {
    width: 150px;
    margin: 0px auto;
  }
  .pff-address {
    width: 100%;
    margin: 50px auto;
  }
  .pff-end {
    width: 100%;
  }
  .is-two-col, .is-two-col.flip-flex {
    flex-direction: column;
  }
  .htc-content {
    width: 100%;
    margin: 0px;
    text-align: center;
  }
  .flip-flex .htc-content {
    margin: 0px;
  }
  .htc-pic {
    width: 100%;
    text-align: center;
    margin: 25px 0px 0px;
  }
  .flip-flex .htc-pic {
    margin: 25px 0px 0px;
  }
  .htc-pic img {
    max-width: 400px;
    width: 100%;
  }
  .hole-content {
    width: 100%;
    margin: 0px;
  }
  .hole-pic {
    width: 100%;
    text-align: center;
    margin: 25px 0px 0px;
  }
  .hole-pic img {
    max-width: 500px;
    width: 100%;
  }
  .hole-nav ul {
    width: 550px;
    margin: 0px auto;
  }
  .hole-nav ul li {
    margin: 5px 0px;
  }
  .hole-nav ul li:nth-child(9) {
    border-right: none;
  }
  #globalwrap .home-testimonials .nivo-directionNav a.nivo-prevNav {
    left: 5px;
  }
  #globalwrap .home-testimonials .nivo-directionNav a.nivo-nextNav {
    right: 5px;
  }
  .content-wrapper .home-testimonials .galleryInner .nivo-caption {
    max-width: 600px;
  }
  .hpthree-content h5 {
    text-align: center;
  }
  .htc-content h3::after {
    left: 0px;
    right: 0px;
    margin: 0px auto;
    width: 60%;
    display: block;
  }
  .body-contentpage .accordion-title h3::before {
    width: 30px;
    height: 4px;
    right: -48px;
    top: 16px;
  }
  .body-contentpage .accordion-title h3::after {
    left: auto;
    right: -36px;
    height: 30px;
    width: 4px;
    top: 3px;
  }
  body[class*="php-"] .header-space, .body-class-members .header-space, .body-class-visitorbooking .header-space, .body-class-getawayletter .header-space, [class*="body-class-setcoursestatus"] .header-space, .body-class-opens .header-space, .body-loginpage .header-space, .invalid-page .header-space, body[class*="match"]:not(.body-contentpage) .header-space {
    width: 724px;
  }
  body[class*="php-"] .content-wrapper, .body-class-members .content-wrapper, .body-class-visitorbooking .content-wrapper, .body-class-getawayletter .content-wrapper, [class*="body-class-setcoursestatus"] .content-wrapper, .body-class-opens .content-wrapper, .body-loginpage .content-wrapper, body[class*="match"]:not(.body-contentpage) .content-wrapper, .invalid-page .content-wrapper {
    width: 724px;
  }
  .table td, .table th {
    font-size: 14px;
    padding: 4px;
  }
  .php-weatherfg div.phone-weather .weatherImage {
    background: transparent;
  }
  .content-wrapper div.phone-weather .wind_direction .wind_speed1 {
    top: 7px;
  }
  .php-hcaplist .btn-group + .btn-group {
    display: block;
    margin-left: 0px;
    margin-top: 10px;
  }
  .php-roundmgmt .dateperiods {
    width: 56%;
  }
  .php-directory .table td {
    padding: 2px;
    font-size: 12px;
  }
  .php-directory .table td > a[href*="mailto"] {
    word-break: break-all;
  }
  input[type*="submit"], a.btn, button.btn {
    padding: 6px 8px;
    letter-spacing: 0px;
    font-weight: 400;
  }
  .php-roundmgmt table td, .php-roundmgmt table th {
    padding: 2px;
    font-size: 11px;
  }
  #global.teebooking .tabs li a {
    font-size: 100%;
    padding: 10px;
  }
  #memteetimes {
    font-size: 14px;
  }
  .body-class-members #globalwrap {
    overflow-x: scroll;
  }
  input[type*="submit"], a.btn, button.btn {
    text-transform: capitalize;
  }
  body[class*="php-"] .nav-section, .body-class-members .nav-section, .body-class-visitorbooking .nav-section, .body-class-getawayletter .nav-section, [class*="body-class-setcoursestatus"] .nav-section, .body-class-opens .nav-section, .body-loginpage .nav-section, body[class*="match"]:not(.body-contentpage) .nav-section, .invalid-page .nav-section {
    width: auto;
  }
}

/* portrait tablet and mobile */

@media (min-width: 0px) and (max-width: 979px) {
  .header-wrapper {
    position: relative;
    min-height: 140px;
  }
  .top-header {
    min-height: 80px;
    background: #800000;
  }
  .header-logo {
    top: 5px;
    width: 51px;
  }
  .header-book {
    top: 16px;
  }
  .header-book a {
    font-size: 18px;
  }
  .header-login {
    top: 16px;
  }
  .header-login a {
    font-size: 18px;
  }
  .bottom-header {
    min-height: 60px;
    background: #474747;
  }
  .home-slideshow .galleryInner, .home-slideshow .galleryInner img {
    height: auto !important;
  }
  .inner-slideshow .galleryInner, .inner-slideshow .galleryInner img {
    height: auto !important;
  }
  .hs-explore {
    display: none;
  }
  .hs-title {
    left: 20px;
    bottom: 20px;
  }
  .navbar .nav {
    text-align: left;
  }
  .navbar .nav > li {
    display: block;
  }
  .body-public.body-class-home .navbar .nav > li > a, .body-public.body-contentpage .navbar .nav > li > a {
    padding: 10px 15px;
  }
  .navbar-inverse .nav-collapse .nav > li > a, .navbar-inverse .nav-collapse .dropdown-menu a {
    color: var(--navlink);
    font-weight: 400;
  }
  .navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .nav > li > a:focus, .navbar-inverse .nav-collapse .nav > li.current > a, .navbar-inverse .nav-collapse .nav > li.active > a {
    background: transparent;
    color: var(--navactivelink);
  }
  .nav-collapse .dropdown-menu {
    background: var(--dropdownbg);
  }
  .navbar-inverse .nav-collapse .dropdown-menu a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:focus, .navbar-inverse .nav-collapse .dropdown-menu li.current > a {
    color: var(--navactivelink);
    background: transparent;
  }
  .navbar-inverse .btn-navbar, .navbar-inverse .btn-navbar:focus  {
    width: 120px;
    padding: 10px;
    margin-top: 0px;
    top: 10px;
    position: absolute;
    z-index: 50;
    right: 0px;
    font-size: 16px;
    background: var(--headingcolor);
    color: #fff;
    margin-right: 0px;
    border-radius: 0px;
    box-shadow: none;
    border: none;
    transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
  }
  .navbar-inverse .btn-navbar:hover, .navbar-inverse .btn-navbar.active {
    background: #000;
    color: #fff;
  }
  .btn-navbar .club-menu-button {
    font-family: var(--headingfont);
    font-size: 16px;
    margin-left: 10px;
    font-weight: 400;
  }
  .club-menu-button-lines {
    margin-top: 3px;
    margin-right: 15px;
    float: left;
    transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    position: relative;
  }
  .navbar .btn-navbar .icon-bar {
    transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    box-shadow: none;
    width: 24px;
    background: #fff;
  }
  .navbar .btn-navbar:hover .icon-bar, .navbar .btn-navbar.active .icon-bar {
    background: #fff;
  }
  .btn-navbar .icon-bar + .icon-bar {
    margin-top: 0px;
  }
  .btn-navbar.active .icon-bar + .icon-bar {
    margin-top: 1px;
  }
  .nav-section {
    padding: 5px 0px;
    margin: 0px 10px;
    top: 0px;
  }
  .top-bar {
    position: absolute;
    top: -1px;
  }
  .middle-bar {
    opacity: 1;
    top: 6px;
    position: absolute;
  }
  .bottom-bar {
    position: absolute;
    top: 12px;
  }
  .active .middle-bar {
    opacity: 0;
  }
  .active .top-bar {
    transform: rotate(45deg);
    top: 4px;
  }
  .active .bottom-bar {
    transform: rotate(-45deg);
    top: 4px;
  }
  .navbar-inverse .navbar-inner {
    padding: 5px 0px;
    text-align: left;
    top: 0px;
    margin-top: 50px;
  }
  body[class*="php-"] .bottom-header, .body-class-members .bottom-header, .body-class-visitorbooking .bottom-header, .body-class-getawayletter .bottom-header, [class*="body-class-setcoursestatus"] .bottom-header, .body-class-opens .bottom-header, .body-loginpage .bottom-header {
    min-height: 60px;
  }
  body[class*="php-"] .navbar-inverse .nav > li, .body-class-visitorbooking .navbar-inverse .nav > li, .body-class-getawayletter .navbar-inverse .nav > li, [class*="body-class-setcoursestatus"] .navbar-inverse .nav > li, .body-class-opens .navbar-inverse .nav > li, .body-loginpage .navbar-inverse .nav > li, .body-class-members .navbar-inverse .nav > li, .invalid-page .navbar-inverse .nav > li {
    float: none;
  }
  body[class*="php-"] .dropdown-menu, .body-class-members .dropdown-menu, .body-class-visitorbooking .dropdown-menu, .body-class-getawayletter .dropdown-menu, [class*="body-class-setcoursestatus"] .dropdown-menu, .body-class-opens .dropdown-menu, .body-loginpage .dropdown-menu, .invalid-page .dropdown-menu {
    position: relative;
  }
  body[class*="php-"] .dropdown-menu > li > a, .body-class-members .dropdown-menu > li > a, .body-class-visitorbooking .dropdown-menu > li > a, .body-class-getawayletter .dropdown-menu > li > a, [class*="body-class-setcoursestatus"] .dropdown-menu > li > a, .body-class-opens .dropdown-menu > li > a, .body-loginpage .dropdown-menu > li > a, .invalid-page .dropdown-menu > li > a {
    padding: 8px 20px;
  }
}

/* mobile */

@media (min-width: 0px) and (max-width: 767px) {
  body {
    padding: 0px;
  }
  .page-space {
    padding: 0px 20px;
  }
  .scorecard-content {
    overflow-x: scroll;
  }
  .header-space {
    margin: 0px 20px;
  }
  .header-book a {
    font-size: 16px;
    text-transform: capitalize;
  }
  .header-login a {
    font-size: 16px;
    text-transform: capitalize;
  }
  .hs-title, .hole-page-wrapper .hs-title {
    width: 320px;
    height: 163px;
    left: 0px;
    bottom: 0px;
  }
  .hs-title h1 {
    font-size: 32px;
    line-height: 42px;
  }
  .hwsb-weather {
    margin: 0px auto;
    display: block;
    padding-right: 0px;
    border-right: none;
    text-align: center;
  }
  .hwsb-status {
    width: 100%;
    margin: 15px 0px 0px;
    text-align: center;
  }
  .home-pic-text-full {
    max-width: 450px;
    width: 100%;
    margin: 50px auto 0px;
  }
  .home-main {
    margin-bottom: 50px;
  }
  .home-intro {
    margin-top: 50px;
  }
  .hpt-full-content {
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 12px;
    line-height: 22px;
  }
  .hpt-full-content h3 {
    margin-right: 20px;
  }
  .home-pic-text-full img {
    min-height: 220px;
    object-fit: cover;
  }
  .home-pic-text-full::after {
    height: 100%;
  }
  .content-wrapper .home-page-wrapper h5 a {
    padding: 2px 12px;
  }
  .home-pic-text-two-cols {
    flex-direction: column;
    max-width: 450px;
    width: 100%;
    margin: 50px auto 0px;
  }
  .hptwo-pic:first-of-type {
    width: 100%;
    margin: 0px;
  }
  .hptwo-pic:last-of-type {
    width: 100%;
    margin: 25px 0px 0px;
  }
  .hptwo-content {
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 14px;
    line-height: 24px;
  }
  .hptwo-content h3 {
    margin-right: 20px;
  }
  .hptwo-pic::after {
    height: 100%;
  }
  .home-pic-text-three-col {
    flex-direction: column;
    max-width: 450px;
    width: 100%;
    margin: 50px auto 0px;
  }
  .hpthree-pic:first-of-type {
    width: 100%;
    margin: 0px;
  }
  .hpthree-pic:nth-of-type(2) {
    width: 100%;
    margin: 25px 0px;
  }
  .hpthree-pic:last-of-type {
    width: 100%;
    margin: 0px;
  }
  .hpthree-content {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .hpthree-pic::after {
    height: 100%;
  }
  #globalwrap .home-testimonials .nivo-directionNav a {
    display: none;
  }
  .public-footer {
    margin-bottom: 30px;
  }
  .pf-top {
    margin-bottom: 50px;
  }
  .pf-flex {
    flex-direction: column;
    text-align: center;
  }
  .pf-flex h6 {
    margin-top: 20px;
  }
  .pff-logo {
    width: 110px;
    margin: 0px auto;
  }
  .pff-address {
    width: 100%;
    margin: 25px 0px;
  }
  .pff-end {
    width: 100%;
  }
  .pffe-logos .wysiwyg-editable {
    flex-direction: column;
  }
  .pffe-newsletter {
    margin-top: 50px;
  }
  .pffe-newsletter h6 {
    margin-top: 0px;
  }
  .mf-flex {
    flex-direction: column;
    text-align: center;
  }
  .mff-links {
    margin: 25px 0px;
  }
  .home-testimonials h3 {
    padding: 0px 20px 10px;
  }
  .hole-nav {
    margin: 50px 0px;
  }
  .hole-nav ul {
    width: 320px;
    margin: 0px auto;
  }
  .hole-nav ul li {
    margin: 5px 0px;
  }
  .hole-nav ul li:nth-child(6) {
    border-right: none
  }
  .hole-nav ul li:nth-child(12) {
    border-right: none;
  }
  .hole-nav ul li a {
    width: 35px;
    line-height: 35px;
    height: 35px;
  }
  .inner-intro {
    margin-top: 50px;
  }
  .is-two-col, .is-two-col.flip-flex {
    flex-direction: column;
  }
  .htc-content {
    width: 100%;
    margin: 0px;
    text-align: center;
  }
  .flip-flex .htc-content {
    margin: 0px;
  }
  .htc-pic {
    text-align: center;
    width: 100%;
    margin: 25px 0px 0px;
  }
  .flip-flex .htc-pic {
    margin: 25px 0px 0px;
  }
  .htc-pic img {
    max-width: 400px;
    width: 100%;
    margin: 0px auto;
  }
  .accordion-content {
    padding: 20px 10px;
    overflow-x: auto;
  }
  .hole-content {
    width: 100%;
    margin: 0px;
  }
  .hole-pic {
    width: 100%;
    margin: 25px 0px 0px;
    text-align: center;
  }
  .hole-yards {
    flex-direction: column;
    width: 130px;
    margin: 0px auto;
  }
  .hole-yards p {
    font-size: 15px;
  }
  .hole-yards > div {
    width: 82px;
    height: 82px;
    padding: 20px;
  }
  .hole-yards .yellow {
    margin: 25px 0px;
  }
  .hole-desc {
    text-align: center;
  }
  .hole-pic img {
    max-width: 400px;
    width: 100%;
  }
  .accordion-title {
    padding: 10px 40px;
  }
  .body-contentpage .accordion-title h3 {
    font-size: 16px;
    line-height: 26px;
  }
  .body-contentpage .accordion-title h3::before {
    width: 20px;
    height: 4px;
    right: -32px;
    top: 12px;
  }
  .body-contentpage .accordion-title h3::after {
    height: 20px;
    width: 4px;
    top: 4px;
    right: -24px;
  }
  .body-contentpage .inner-full-added .accordion-title h3::before {
    right: -33px;
    top: 12px;
  }
  .body-contentpage .inner-full-added .accordion-title h3::after {
    top: 4px;
    right: -25px;
  }
  body[class*="php-"] .content-wrapper, .body-class-members .content-wrapper, .body-class-visitorbooking .content-wrapper, .body-class-getawayletter .content-wrapper, [class*="body-class-setcoursestatus"] .content-wrapper, .body-class-opens .content-wrapper, .body-loginpage .content-wrapper, body[class*="match"]:not(.body-contentpage) .content-wrapper, .invalid-page .content-wrapper {
    width: auto;
    margin: 0px 10px;
  }
  body[class*="php-"] .header-space, .body-class-members .header-space, .body-class-visitorbooking .header-space, .body-class-getawayletter .header-space, [class*="body-class-setcoursestatus"] .header-space, .body-class-opens .header-space, .body-loginpage .header-space, body[class*="match"]:not(.body-contentpage) .header-space, .invalid-page .header-space {
    width: auto;
    margin: 0px 10px;
  }
  .php-weatherfg div.phone-weather .weatherImage {
    background: transparent;
  }
  .content-wrapper div.phone-weather .wind_direction .wind_speed1 {
    top: 7px;
  }
  [class*="body-class-setcoursestatus"] .content-wrapper a {
    word-break: break-all;
  }
  [class*="body-class-setcoursestatus"] .content-wrapper textarea {
    width: 260px !important;
  }
  .nav-wrapper {
    width: auto;
  }
  input[type*="submit"], a.btn, button.btn {
    padding: 6px;
    font-size: 14px;
  }
  .table td, .table th {
    font-size: 12px;
    padding: 2px;
  }
  .php-competition td a.btn {
    font-size: 12px;
    border-radius: 0px;
  }
  .php-hcaplist .btn-group {
    display: block;
    width: 200px;
  }
  .php-hcaplist .btn-group .btn {
    margin: 6px 0px;
    display: block;
  }
  .php-hcaplist .btn-group + .btn-group {
    margin-left: 0px;
  }
  .php-roundmgmt .dateperiods {
    width: 100%;
    float: none;
    text-align: left;
  }
  .php-analysis .pull-left {
    float: none;
  }
  .php-analysis .pull-right {
    float: none;
  }
  .php-analysis .btn-group {
    width: 200px;
    display: block;
  }
  .php-analysis .btn-group .btn {
    margin: 6px 0px;
    display: block;
  }
  .body-class-members .nav-section {
    width: 100%;
  }
  #globalwrap .btn-group .btn:first-child {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  #globalwrap .btn-group .btn:last-child {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .hcaplist > p:last-child a.btn {
    margin: 6px 0px;
  }
  .php-directory table a[href*="mailto"] {
    word-break: break-all;
  }
  .php-ongoing .global p:nth-of-type(1) {
    width: 250px;
  }
  .php-ongoing a.btn {
    width: 55px;
    margin-bottom: 10px;
    margin-right: 10px;
  }
  .php-ongoing p:nth-of-type(1) a.btn:first-child {
    margin-top: 0px;
  }
  #memteetimes td {
    font-size: 12px;
  }
  input[type*="submit"], a.btn, button.btn {
    letter-spacing: 0px;
    font-weight: 400;
    text-transform: capitalize;
  }
  .body-class-members #globalwrap {
    overflow-x: scroll;
  }
  .body-public #globalwrap {
    overflow-x: auto;
  }
  body[class*="php-"] .nav-section, .body-class-members .nav-section, .body-class-visitorbooking .nav-section, .body-class-getawayletter .nav-section, [class*="body-class-setcoursestatus"] .nav-section, .body-class-opens .nav-section, .body-loginpage .nav-section, body[class*="match"]:not(.body-contentpage) .nav-section, .invalid-page .nav-section {
    width: auto;
  }
}

/* small mobile */

@media (min-width: 0px) and (max-width: 480px) {
   #login fieldset {
    transform: translateX(0px);
  }
  .nav-tabs > li > a {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 12px;
  }
}

/* public on members */

.body-class-members.body-contentpage #container .content-wrapper {
  width: 100%;
}

.body-class-members.body-contentpage #container #globalwrap {
  margin: 0px;
  border: none;
  padding: 0px;
  background: var(--pagebg);
}

@media (min-width: 768px) {
  .body-class-members.body-contentpage {
    margin-bottom: 120px;
  }
  .body-class-members.body-contentpage {
    background: var(--pagebg);
  }
  .body-class-members.body-contentpage .inner-slideshow .galleryInner, .body-class-members.body-contentpage .inner-slideshow .galleryInner img {
    height: auto !important;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-class-members.body-contentpage {
    background: var(--pagebg);
  }
  .body-class-members.body-contentpage .content-wrapper {
    margin: 0px;
  }
}

/* editor */

.php-ckeditor .navbar-inverse .navbar-inner {
  background: #171717;
}

.php-ckeditor .hs-explore {
  display: none;
}

.php-ckeditor .hs-title {
  position: relative;
  bottom: 0px;
  left: 0px;
  margin: 15px 0px;
}

.php-ckeditor .hs-title h1 {
  position: relative;
  top: 0px;
  transform: translateY(0px);
}

.php-ckeditor .home-weather-status-bar {
  display: none;
}

.php-ckeditor .home-pic-text-full::after {
  display: none;
}

.php-ckeditor .hptwo-pic::after {
  display: none;
}

.php-ckeditor .hpthree-pic::after {
  display: none;
}

.php-ckeditor .content-wrapper .page-space {
  padding: 0px 20px;
}

.php-ckeditor .hpt-full-content, .php-ckeditor .hptwo-content, .php-ckeditor .hpthree-content {
  background: rgba(0,0,0,0.5);
}

/* custom template editor */

.php-ckeditor .content-wrapper {
  margin-top: 100px;
}

.php-ckeditor .extra-nav {
  position: fixed;
  top: 40px;
  background: #171717;
  padding: 5px 0px;
  width: 100%;
  z-index: 100;
}

.php-ckeditor .extra-nav a {
  display: inline-block;
  padding: 5px 10px;
  background: var(--headingcolor);
  margin-right: 5px;
  color: #fff;
  font-size: 13px;
}

.php-ckeditor .extra-nav a:hover, .php-ckeditor .extra-row a:focus {
  background: #fff;
  color: var(--headingcolor);
  cursor: pointer;
}

.php-ckeditor .extra-nav-tooltip i {
  color: var(--headingcolor);
  font-size: 24px;
  margin-left: 5px;
  position: relative;
  top: 4px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.php-ckeditor .extra-nav-tooltip i:hover {
  color: #fff;
  cursor: help;
}

.php-ckeditor .extra-nav-tooltip-text {
  display: block;
  color: #fff;
  margin-top: 10px;
  height: 0px;
  opacity: 0;
  font-size: 14px;
  visibility: hidden;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.php-ckeditor .extra-nav-tooltip:hover .extra-nav-tooltip-text {
  height: 58px;
  opacity: 1;
  visibility: visible;
}

.php-ckeditor.no-extra-nav .extra-nav {
  display: none;
}

.added-section-remove, .added-accordion-remove {
  position: absolute;
  top: -2px;
  right: 0px;
  width: 30px;
  height: 30px;
}

.added-section-remove .asr-cross, .added-accordion-remove .asr-cross {
  width: 30px;
  height: 2px;
  background: #f00;
  content: '';
  display: inline-block;
}

.added-section-remove:hover, .added-section-remove:focus, .added-accordion-remove:hover, .added-accordion-remove:focus {
  cursor: pointer;
}

.added-section-remove .asr-cross-1, .added-accordion-remove .asr-cross-1 {
  transform: rotate(45deg);
  position: absolute;
  top: 13px;
  left: 0px;
}

.added-section-remove .asr-cross-2, .added-accordion-remove .asr-cross-2 {
  transform: rotate(-45deg);
  position: absolute;
  top: 13px;
  left: 0px;
}

.added-section-move-up, .added-accordion-move-up {
  position: absolute;
  top: -2px;
  right: 100px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.added-section-move-up:hover, .added-accordion-move-up:hover {
  cursor: pointer;
}

.added-section-move-down, .added-accordion-move-down {
  position: absolute;
  top: -2px;
  right: 50px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.added-section-move-down:hover, .added-accordion-move-down:hover {
  cursor: pointer;
}

.php-ckeditor .wysiwyg-editable {
  border: 2px dashed #000;
}

.php-ckeditor .header-wrapper {
  display: none;
}

.php-ckeditor .additional-boxes .inserted-block:first-child .added-section-move-up {
  display: none;
}

.php-ckeditor .additional-boxes .inserted-block:last-child .added-section-move-down {
  display: none;
}

.php-ckeditor.no-extra-nav .extra-nav {
  display: none;
}

/* accordions custom page editor */

.php-ckeditor .added-section-accordion {
  display: inline-block;
  padding: 6px 10px;
  background: #257D86;
  color: #fff;
  margin-top: 10px;
}

.php-ckeditor .added-section-accordion:hover {
  background: #D1802F;
  cursor: pointer;
}

.php-ckeditor .inserted-accordion {
  position: relative;
  padding: 30px 0px;
}

/* end custom page templates */

.php-index #leftcontent i {
  font-size: 24px;
}

/* invalid page */

.invalid-page #globalwrap h3::before {
  content: '\f071';
  font-family: 'FontAwesome';
  margin-right: 10px;
}

/* visitor tee login */

@media (min-width: 768px) {
  .php-teelogin #globalwrap .row {
    width: 100%;
    margin-left: 0px;
  }
  .php-teelogin #globalwrap .row .span6:first-child {
    width: 48%;
    margin-left: 0px;
  }
  .php-teelogin #globalwrap .row .span6:last-child {
    width: 48%;
    margin-left: 2%;
  }
}

.teebooking #paymentbar {
  float: none;
  text-align: right;
  width: auto;
}

@media (min-width: 0px) and (max-width: 767px) {
  .teebooking #paymentbar {
    margin-top: 15px;
    text-align: left;
  }
  .teebooking #cancelbar {
    float: none;
  }
}

/* tee time home page fixes */

.php-index #globalwrap > .global {
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border: 2px solid var(--headingcolor);
}

.php-index #globalwrap > .global #myupcoming {
  border: none;
  box-shadow: none;
}

/* google maps */

#map_container {
  width: 100% !important;
}

.gm-style-iw-d {
  max-height: 240px !important;
}

.gm-style .gm-style-iw-c {
    padding-right: 12px !important;
}

.php-login #emailresetform input[type*="text"] {
  margin-bottom: 0px;
}

.body-class-setcoursestatus input[type*="submit"], .php-search input[type*="submit"], .php-login #emailresetform input[type*="submit"]  {
  padding: 5px 12px;
}

/* slideshow titles */

.content-wrapper [class*="-slideshow"] .nivo-caption {
  text-align: center;
  background: transparent;
  opacity: 1;
  display: none;
  margin: 0px auto;
}

/* forms */

.inner-page-wrapper form input {
  background: #fff;
  border-radius: 0px;
  border: 1px solid var(--headingcolor);
  height: 30px;
  width: 90%;
}

.inner-page-wrapper form textarea {
  background: #fff;
  border-radius: 0px;
  border: 1px solid var(--headingcolor);
  height: 90px;
  width: 90%;
}

.inner-page-wrapper form select {
  background: #fff;
  border-radius: 0px;
  border: 1px solid var(--headingcolor);
  height: 30px;
  width: 90%;
  box-sizing: content-box;
}

@media (min-width: 0px) and (max-width: 767px) {
  .inner-page-wrapper form input {
    width: 80%;
  }
  .inner-page-wrapper form textarea {
    width: 80%;
  }
  .inner-page-wrapper form select {
    width: 80%;
  }
}

.inner-page-wrapper form img.ui-datepicker-trigger {
  display: none;
}

.inner-page-wrapper form input[type*="submit"] {
  width: auto;
  height: auto;
  text-shadow: none;
  background: var(--headingcolor2);
  color: #fff;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 0px;
  font-size: 16px;
  font-weight: 400;
  box-shadow: none;
  border: none;
}

.inner-page-wrapper form input[type*="submit"]:hover {
  background: var(--headingcolor);
  color: #fff;
}

.inner-intro ul, .inner-col ul, .inner-flex ul, .members-page ul, .cc-content ul, .inner-start ul, .ie-content-col ul, .hmf-content ul, .inner-full-added ul {
  margin: 0px 0px 10px;
}

.inner-intro ul li, .inner-col ul li, .inner-flex ul li, .members-page ul li, .cc-content ul li, .inner-start ul li, .ie-content-col ul li, .hmf-content ul li, .inner-full-added ul li {
  line-height: 28px;
  list-style: none;
}

.inner-intro ul li::before, .inner-col ul li::before, .inner-flex ul li::before, .members-page ul li::before, .cc-content ul li::before, .inner-start ul li::before, .ie-content-col ul li::before, .hmf-content ul li::before, .inner-full-added ul li::before {
  content: '\f111';
  font-family: 'FontAwesome';
  font-size: 7px;
  margin-right: 6px;
  color: var(--headingcolor);
  position: relative;
  top: -3px;
}

.inner-intro ol, .inner-full ol, .ie-col ol, .inner-start ol {
  margin: 0px 0px 10px;
}

.inner-intro ol li, .inner-full ol li, .ie-col ol li, .inner-start ol li  {
  line-height: 28px;
  list-style-position: inside;
}

.inner-intro .gallery-thumbs ul li::before, .inner-start .gallery-thumbs ul li::before {
  display: none;
}

.inner-page-wrapper form input[type*="radio"] {
  width: auto;
  margin: 0px;
}

.inner-page-wrapper form input[type*="checkbox"] {
  width: auto;
  margin: 0px;
}

@media (min-width: 980px) {
  .gallery-image .ss-controls a, .gallery-image .nav-controls a {
    text-transform: capitalize;
    letter-spacing: 0px;
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .gallery-image .ss-controls a, .gallery-image .nav-controls a {
    text-transform: capitalize;
    letter-spacing: 0px;
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .gallery-image .controls {
    height: auto;
    width: 260px;
    margin: 0px auto 10px;
  }
  .gallery-image div.ss-controls {
    float: none;
  }
  .gallery-image .controls a {
    width: 202px;
  }
  .gallery-image div.nav-controls {
    float: none;
  }
}

.inner-intro table th, .inner-flex table th, .members-page table th, .inner-start table th, .htcc-space table th, .ie-col table th, .inner-full-added table th {
  border: 2px solid var(--headingcolor);
  padding: 6px;
  font-weight: 400;
  background: var(--headingcolor);
  color: #fff;
  text-align: center;
}

.htc-content .htcc-space table th {
  text-align: left;
}

.inner-intro table td, .inner-flex table td, .members-page table td, .inner-start table td, .htcc-space table td, .ie-col table td, .inner-full-added table td {
  border: 2px solid var(--headingcolor);
  padding: 6px;
}

@media (min-width: 768px) and (max-width: 979px) {
  .inner-intro table th, .members-page table th, .inner-start table th, .htcc-space table th, .ie-col table th, .inner-full-added table th {
    padding: 4px;
    font-size: 14px;
  }
  .inner-intro table td, .members-page table td, .inner-start table td, .htcc-space table td, .ie-col table td, .inner-full-added table td {
    padding: 4px;
    font-size: 14px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .inner-intro table th, .members-page table th, .inner-start table th, .htcc-space table th, , .ie-col table th {
    padding: 2px;
    font-size: 12px;
  }
  .inner-intro table td, .members-page table td, .inner-start table td, .htcc-space table td, , .ie-col table td {
    padding: 2px;
    font-size: 12px;
  }
}

[class*="setcoursestatus"] a.btn {
  margin: 5px 0px;
}

.php-boardcomps .row {
  width: 100%;
  margin: 0px;
}

.php-boardcomps .row .span12 {
  width: auto;
  margin: 0px;
}

.inner-page-wrapper .map_popup form input[type*="submit"] {
  margin-top: 5px;
}

@media (min-width: 0px) and (max-width: 979px) {
  .no-top-slider {
    margin-top: 0px;
  }
  .no-top-slider .inner-intro {
    margin-bottom: 50px;
  }
}

#globalwrap .home-slideshow .nivo-directionNav, #globalwrap .inner-slideshow .nivo-directionNav {
  display: none !important
}

#globalwrap .home-slideshow .nivo-controlNav-Wrapper, #globalwrap .inner-slideshow .nivo-controlNav-Wrapper {
  display: none;
}

@media (min-width: 0px) and (max-width: 767px) {
  .gallery-image .nav-controls a {
    margin-top: 10px;
  }
}

.members-page {
  margin: 50px 0px;
}

.body-class-members.body-contentpage #global > a.button {
  display: none;
}

.body-class-members.body-contentpage.invalid-page {
  background: url('/images/resources/epsom/members-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.body-class-members.body-contentpage.invalid-page #container #globalwrap {
  margin-top: 110px;
  margin-bottom: 60px;
  border: 2px solid var(--headingcolor);
  padding: 20px;
  background: rgba(255,255,255,0.9);
}

.body-class-members.body-contentpage.invalid-page #container .content-wrapper {
  width: 1170px;
  margin: 0px auto;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .body-class-members.body-contentpage.invalid-page #container .content-wrapper {
    width: 940px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .body-class-members.body-contentpage.invalid-page #container .content-wrapper {
    width: 724px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-class-members.body-contentpage.invalid-page #container .content-wrapper {
    width: auto;
    margin: 0px 10px;
  }
}

.hole-content h3::after {
  display: block;
  top: 10px;
  position: relative;
  margin-left: 0px;
}

.accordion-title .wysiwyg-editable {
  position: relative;
}

@media (min-width: 0px) and (max-width: 767px) {
  .htc-content h3::after, .hole-content h3::after {
    margin: 0px auto;
  }
}

@media (min-width: 550px) and (max-width: 767px) {
  .pffe-logos .wysiwyg-editable {
    flex-direction: row;
  }
}

.hs-explore {
  font-weight: 700;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
}

@media (min-width: 0px) and (max-width: 979px) {
  .accordion-content ul li {
    line-height: 28px;
    list-style: none;
  }
  .accordion-content ul li::before {
    content: '\f111';
    font-family: 'FontAwesome';
    font-size: 7px;
     margin-right: 6px;
    color: #fff;
    position: relative;
    top: -3px;
  }
}

/* end anton styles */