/* anton styles */

/* fonts */

.lora-font {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.montserrat-font {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* variables */

:root {
  --bodyfont: 'Montserrat', sans-serif;
  --headingfont: 'Lora', serif;
  --headingcolor: #221E1F;
  --headingcolor2: #221E1F;
  --headingcolor3: #7D6E4F;
  --highlightcolor: #FFD700;
  --bodycolor: #221E1F;
  --topheaderbg: #efbf04;
  --bottomheaderbg: #454142;
  --headerlogobg: #2E2E2E;
  --topfooterbg: #DCDCDC;
  --bottomfooterbg: #454142;
  --navlink: #211D1E;
  --navactivelink: #87764e;
  --dropdownbg: #ccac00;
  --scorecardwhite: #eee;
  --scorecardyellow: #fc0;
  --scorecardred: #c80000;
  --linkcolor: #826e02;
}

.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, .body-class-members.php-login .nav > li.nav-menu-competition2\.php {
  display: none;
}

/* general styles */

body {
  font-size: 16px;
  font-family: var(--bodyfont);
  color: var(--bodycolor);
  background: #fff;
}

h1 {
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  color: var(--headingcolor);
  margin-bottom: 30px;
  font-family: var(--bodyfont);
}

h2 {
  font-weight: 400;
  font-size: 30px;
  line-height: 40px;
  color: var(--headingcolor);
  margin-top: 20px;
  margin-bottom: 25px;
  font-family: var(--bodyfont);
}

h3 {
  font-weight: 400;
  font-size: 26px;
  line-height: 36px;
  color: var(--headingcolor2);
  margin-top: 20px;
  margin-bottom: 25px;
  font-family: var(--bodyfont);
}

h4 {
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  color: var(--headingcolor2);
  margin-bottom: 20px;
  font-family: var(--bodyfont);
}

h5 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  color: var(--headingcolor);
  margin-bottom: 20px;
  font-family: var(--bodyfont);
}

h6 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--headingcolor2);
  font-family: var(--bodyfont);
}

h5 a, .gallery-image .ss-controls a, .gallery-image .nav-controls a {
  background: var(--topheaderbg);
  color: #000;
  display: inline-block;
  padding: 5px 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0px;
  border-radius: 0px;
  margin-top: 10px;
  font-family: var(--bodyfont);
  position: relative;
}

h5 a {
  padding: 8px 20px;
}

@media (min-width: 768px) {
  .gallery-image .nav-controls a.next {
    margin-left: 10px;
  }
}

.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: var(--headingcolor2);
  color: #fff;
}

a {
  color: var(--linkcolor);
  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(--headingcolor2);
  text-decoration: none;
}

a:focus {
  outline: 0;
}

input, button, select, textarea {
  font-family: var(--bodyfont);
}

/* header */

.header-wrapper {
  position: fixed;
  z-index: 1001;
  top: 0px;
  left: 0px;
  width: 100%;
  min-height: 100px;
  background: var(--topheaderbg);
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.fix .header-wrapper {
  min-height: 100px;
}

.header-logo {
  position: absolute;
  top: 0px;
  left: 0px;
  background: var(--headerlogobg);
  width: 230px;
  height: 100px;
  text-align: center;
  z-index: 10;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.fix .header-logo {
  height: 100px;
}

.header-logo img {
  padding-top: 5px;
  width: 80px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.fix .header-logo img {
  width: 80px;
  padding-top: 5px;
}

.header-logo::after {
  content: '';
  display: inline-block;
  width: 28px;
  background: var(--headerlogobg);
  height: 102.5px;
  top: -4px;
  transform: rotate(11deg);
  position: absolute;
  right: -15px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.fix .header-logo::after {
  height: 102.5px;
}

.header-bar {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background: var(--bottomheaderbg);
  height: 5px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.fix .header-bar {
  height: 5px;
}

/* navbar */

.nav-section {
  margin-left: 260px;
  position: relative;
  top: 30px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.fix .nav-section {
  top: 30px;
}

.navbar {
  margin: 0px;
}

.navbar-inverse .navbar-inner {
  background: transparent;
  box-shadow: none;
  border: none;
}

.nav-section .nav {
  display: flex;
  float: none;
}

.nav-section .nav > li {
  flex: 1 1 0;
  text-align: center;
}

.navbar-inverse .nav > li > a {
  color: var(--navlink);
  text-shadow: none;
  text-transform: uppercase;
}

.navbar-inverse .nav > li > a:hover, .navbar-inverse .nav > li > a:focus, .navbar-inverse .nav > li.current > a {
  background: var(--dropdownbg);
  color: var(--navlink);
}

.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: var(--dropdownbg);
  color: var(--navlink);
  box-shadow: none;
}

.dropdown-menu {
  background: var(--dropdownbg);
  text-align: left;
}

@media (min-width: 980px) {
  .body-public.body-class-home .dropdown-menu, .body-public.body-contentpage .dropdown-menu {
    border-radius: 0px;
    margin-top: 30px;
  }
  .body-public.body-class-home .navbar .nav > li > .dropdown-menu::before, .body-public.body-class-home .navbar .nav > li > .dropdown-menu::after, .body-public.body-contentpage .navbar .nav > li > .dropdown-menu::before, .body-public.body-contentpage .navbar .nav > li > .dropdown-menu::after {
    display: none;
  }
}

.dropdown-menu > li > a {
  color: var(--navlink);
}

.dropdown-menu > li.current > a, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  color: #fff;
  background: transparent;
}

.body-public .nav > li.nav-menu-links {
  display: none;
}

/* footer */

.public-footer {
  padding: 80px 0px 120px;
  background: var(--topfooterbg);
}

.pf-space {
  padding: 0px 320px 0px 380px;
}

.pf-newsletter {
  display: flex;
}

.pfn-title {
  flex: 1 1 0;
  margin-right: 15px;
}

.pfn-title p {
  margin: 0px;
  font-size: 36px;
  line-height: 46px;
}

.pfn-form {
  flex: 1 1 0;
  margin-left: 15px;
}

.pfn-form form {
  margin: 0px;
  position: relative;
}

.pfn-form form label {
  position: absolute;
  opacity: 1;
  visibility: visible;
  left: 10px;
  bottom: 18px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.pfn-form form .hide-label label {
  opacity: 0;
  visibility: hidden;
}

.pfn-form .customFormLine input {
  background: transparent;
  border: 1px solid #4F4C4C;
  border-radius: 0px;
  width: calc(100% - 160px);
  padding-right: 150px;
  height: 36px;
  box-shadow: none;
}

.pfn-form input[type*="submit"] {
  position: absolute;
  top: 1px;
  right: 4px;
  border: none;
  border-radius: 0px;
  background: var(--topheaderbg);
  width: 150px;
  text-align: center;
  height: 44px;
  font-size: 20px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.pfn-form input[type*="submit"]:hover, .pfn-form input[type*="submit"]:focus {
  background: #000;
  color: #fff;
}

.pf-flex {
  display: flex;
  margin-top: 60px;
}

.pf-contact {
  flex: 1 1 0;
  margin-right: 15px;
}

.pf-contact h6 {
  margin-top: 0px;
  font-family: var(--bodyfont);
  font-size: 24px;
  line-height: 34px;
}

.pf-contact a:hover, .pf-contact a:focus {
  text-decoration: underline;
}

.pf-logos {
  flex: 1 1 0;
  margin-left: 15px;
  margin-top: 35px;
}

.pf-logos .wysiwyg-editable > a:nth-of-type(2) {
  margin-left: 30px;
}

.members-footer {
  padding: 15px 0px;
  color: #fff;
  background: var(--bottomfooterbg);
}

.mf-space {
  padding: 0px 80px 0px 200px;
}

.mf-flex {
  display: flex;
}

.mf-copy {
  width: 75%;
  padding-top: 9px;
}

.mf-copy a {
  color: #fff;
}

.mf-copy a:hover, .mf-copy a:focus {
  color: var(--topheaderbg);
}

.mf-ig {
  width: 25%;
  text-align: right;
}

.mf-ig img {
  width: 120px;
}

.body-class-members .mf-copy a {
  display: none;
}

/* page */

#globalwrap {
  padding: 0px;
}

.page-space {
  padding: 0px 200px;
}

/* home */

.body-public.body-class-home .header-wrapper, .body-public.body-class- .header-wrapper {
  position: relative;
  min-height: 96px;
}

.body-public.body-class-home .header-logo, .body-public.body-class- .header-logo {
  display: none;
}

.body-public.body-class-home .header-bar, .body-public.body-class- .header-bar {
  display: none;
}

.body-public.body-class-home .nav-section, .body-public.body-class- .nav-section {
  margin-left: 0px;
  top: 28px;
}

.home-slideshow {
  position: relative;
}

.home-slideshow .galleryInner, .home-slideshow .galleryInner img {
  width: 100% !important;
  height: 100vh !important;
  object-fit: cover;
}

.hs-logo {
  position: absolute;
  z-index: 20;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  top: -150px;
  text-align: center;
}

.hs-intro {
  position: absolute;
  z-index: 22;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  bottom: 20%;
  text-align: center;
}

.hs-intro p {
  font-family: var(--headingfont);
  color: #fff;
  font-style: italic;
  font-size: 24px;
}

.hs-intro h1 {
  font-family: var(--bodyfont);
  color: #fff;
  font-size: 46px;
  line-height: 56px;
}

.hs-scroll {
  position: absolute;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  text-align: center;
  width: 100px;
  height: 50px;
  z-index: 24;
  font-size: 62px;
  bottom: 150px;
  color: #fff;
}

.hs-scroll:hover {
  cursor: pointer;
}

.hm-intro {
  background: #f4f4f4;
  padding: 160px 0px 220px;
  background-image: url('/images/resources/cornwallgolfunion/home-logo-faded.png');
  background-position: 80% 50%;
  background-repeat: no-repeat;
}

.hmi-space {
  padding-left: 250px;
  max-width: 900px;
  padding-right: 50px; 
}

.hmi-space h2 {
  margin-top: 0px;
  font-size: 42px;
  line-height: 52px;
  font-family: var(--bodyfont);
  text-transform: uppercase;
}

.hm-switcher {
  display: flex;
  position: relative;
}

.hm-switch-options {
  position: relative;
}

.hm-switch-upcoming {
  background: #dcdcdc;
  position: relative;
  width: 332px;
  z-index: 12;
}

.hm-switch-upcoming:hover, .hm-switch-recent:hover {
  cursor: pointer;
}

.hm-switch-upcoming::after {
  content: '';
  background-image: url('/images/resources/cornwallgolfunion/upcoming-not-active.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 87px;
  height: 100%;
  display: inline-block;
  position: absolute;
  right: -87px;
}

.switch-upcoming.hm-switch-upcoming::after {
  background-image: url('/images/resources/cornwallgolfunion/upcoming-active.png');
}

.hm-switch-upcoming .wysiwyg-editable {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 45px;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.hm-upcoming-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0px;
  left: 275px;
  display: flex;
  width: calc(100vw - 275px);
  transition: all 1000ms ease-in-out;
  -moz-transition: all 1000ms ease-in-out;
  -webkit-transition: all 1000ms ease-in-out;
}

.hm-upcoming-content.show-upcoming {
  opacity: 1;
  visibility: visible;
}

.hmu-upcoming {
  width: 84%;
}

.hmu-button {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 22.9%;
  background: var(--topheaderbg);
  clip-path: polygon(20% 0%, 0% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(20% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.hmu-button a {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 15;
}

.hmu-button::after {
  content: '';
  background: url('/images/resources/cornwallgolfunion/upcoming-arrow.png');
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.hmub-content {
  position: absolute;
  right: 20px;
  bottom: 50px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
  width: 200px;
  z-index: 20;
}

.hm-upcoming-content .upcomingcomp {
  display: inline-block;
  position: relative;
  width: 29%;
  overflow: visible;
  background-size: cover;
  background-repeat: no-repeat;
}

.hm-upcoming-content .upcomingcomp br {
  display: none;
}

.hm-upcoming-content .upcomingcomp:nth-child(2) {
  margin-left: -81px;
}

.hm-upcoming-content .upcomingcomp:nth-child(3) {
  margin-left: -81px;
}

.hm-upcoming-content .upcomingcomp:nth-child(4) {
  margin-left: -81px;
}

.hm-upcoming-content .upcomingcomp a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 7.5%;
  right: 7.5%;
  margin: 0px auto;
  text-align: center;
  background: rgba(255,255,255,0.8);
  height: 120px;
  padding: 40px 20px 0px;
  font-weight: 700;
  clip-path: polygon(5% 0%, 0% 100%, 95% 100%, 100% 0%);
  -webkit-clip-path: polygon(5% 0%, 0% 100%, 95% 100%, 100% 0%);
}

.hm-upcoming-content .upcomingcomp:nth-child(1) a {
  left: 0px;
}

.hm-upcoming-content .upcomingcomp .announcedate {
  position: absolute;
  left: 7.5%;
  right: 7.5%;
  text-align: center;
  top: 56%;
  transform: translateY(-50%);
}

.hm-upcoming-content .upcomingcomp:nth-child(1) .announcedate {
  left: 0px;
}

.hm-upcoming-content .hms-pic img {
  clip-path: polygon(20% 0%, 0% 100%, 80% 100%, 100% 0%);
  -webkit-clip-path: polygon(20% 0%, 0% 100%, 80% 100%, 100% 0%);
}

.hm-switch-recent {
  background: #363636;
  height: 375px;
  position: relative;
  width: 273px;
  color: #fff;
  z-index: 11;
}

.hm-switch-recent::after {
  content: '';
  background-image: url('/images/resources/cornwallgolfunion/results-not-active.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 87px;
  height: 100%;
  display: inline-block;
  position: absolute;
  right: -87px;
}

.switch-recent.hm-switch-recent::after {
  background-image: url('/images/resources/cornwallgolfunion/results-active.png');
}

.hm-switch-recent .wysiwyg-editable {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 45px;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.hm-recent-content {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0px;
  left: 275px;
  display: flex;
  width: calc(100vw - 275px);
  transition: all 1000ms ease-in-out;
  -moz-transition: all 1000ms ease-in-out;
  -webkit-transition: all 1000ms ease-in-out;
}

.hm-recent-content.show-recent {
  opacity: 1;
  visibility: visible;
}

.hmr-recent {
  width: 84%;
}

.hmr-button {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 22.9%;
  background: var(--topheaderbg);
  clip-path: polygon(20% 0%, 0% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(20% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.hmr-button a {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 15;
}

.hmr-button::after {
  content: '';
  background: url('/images/resources/cornwallgolfunion/upcoming-arrow.png');
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.hmrb-content {
  position: absolute;
  right: 20px;
  bottom: 50px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
  width: 200px;
  z-index: 20;
}

.hm-recent-content .recentcompresult {
  display: inline-block;
  position: relative;
  width: 29%;
  overflow: visible;
  background-size: cover;
  background-repeat: no-repeat;
}

.hm-recent-content .recentcompresult br {
  display: none;
}

.hm-recent-content .recentcompresult:nth-child(2) {
  margin-left: -81px;
}

.hm-recent-content .recentcompresult:nth-child(3) {
  margin-left: -81px;
}

.hm-recent-content .recentcompresult:nth-child(4) {
  margin-left: -81px;
}

.hm-recent-content .recentcompresult a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 7.5%;
  right: 7.5%;
  margin: 0px auto;
  text-align: center;
  background: rgba(255,255,255,0.8);
  height: 120px;
  padding: 40px 20px 0px;
  font-weight: 700;
  clip-path: polygon(5% 0%, 0% 100%, 95% 100%, 100% 0%);
  -webkit-clip-path: polygon(5% 0%, 0% 100%, 95% 100%, 100% 0%);
}

.hm-recent-content .recentcompresult:nth-child(1) a {
  left: 0px;
}

.hm-recent-content .recentcompresult .announcedate {
  position: absolute;
  left: 7.5%;
  right: 7.5%;
  text-align: center;
  top: 56%;
  transform: translateY(-50%);
}

.hm-recent-content .recentcompresult:nth-child(1) .announcedate {
  left: 0px;
}

.hm-recent-content .hms-pic img {
  clip-path: polygon(20% 0%, 0% 100%, 80% 100%, 100% 0%);
  -webkit-clip-path: polygon(20% 0%, 0% 100%, 80% 100%, 100% 0%);
}

.home-news {
  padding: 120px 0px 0px;
  background: #DCDCDC;
  position: relative;
}

.hn-space {
  padding-left: 250px;
}

.hns-title {
  font-weight: 700;
  margin-bottom: 50px;
  text-transform: uppercase;
  font-size: 24px;
  max-width: 900px;
}

.hnc-holder {
  width: 100%;
  position: relative;
  height: 233px;
}

.hnc-holder h4 {
  font-family: var(--bodyfont);
}

.body-class-home.body-public, .body-class-.body-public {
  overflow-x: hidden;
}

.hnc-wrapper {
  position: absolute;
  width: 10000em;
  list-style: none;
  margin: 0px;
  padding: 0;
}

.hnc-holder .news-item {
  width: calc(100vw - 250px);
  float: left;
  position: relative;
  margin-right: 250px;
}

.hnc-holder a.pull-left {
  position: absolute;
  display: block;
  top: -198px;
  right: 0px;
  padding: 0px;
  box-shadow: none;
  border: none;
  width: 41%;
  height: 430px;
  z-index: 5;
  float: none;
  margin: 0px;
}

.hnc-holder a.pull-left::after {
  content: '';
  background: rgba(255,215,0,0.4);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, 20% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 20% 100%, 100% 100%, 100% 0%);
}

.hnc-holder img {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 0px;
  box-shadow: none;
  border: none;
  width: 100%;
  height: 430px;
  object-fit: cover;
  z-index: 0;
  clip-path: polygon(0% 0%, 20% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 20% 100%, 100% 100%, 100% 0%);
}

.hnc-holder img::after {
  content: '';
  background: var(--topheaderbg);
}

.home-links {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#dcdcdb+0,ffd700+100 */
  background: radial-gradient(ellipse at center,  #dcdcdb 0%,#ffd700 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  padding: 110px 0px;
  position: relative;
}

.hl-flex {
  padding-left: 50px;
}

.sc-holder {
  width: 100%;
  position: relative;
  height: 200px;
  overflow: hidden;
}

.sc-wrapper {
  position: absolute;
  width: 10000em;
  list-style: none;
  margin: 0px;
  padding: 0;
  display: flex;
  align-items: center;
}

.sc-item {
  width: 390px;
  float: left;
  text-align: center;
  margin-right: 30px;
}

.hlf-four {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 32.8%;
  height: 100%;
  background: #DCDCDC;
  clip-path: polygon(13% 0%, 0% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(13% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.hlf-four-content {
  position: absolute;
  bottom: 140px;
  right: 100px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  width: 190px;
  text-align: right;
  z-index: 2;
}

.hlf-four::after {
  content: '';
  background-image: url('/images/resources/cornwallgolfunion/useful-links-bg-effect.png');
  background-repeat: no-repeat;
  background-position: right;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
}

.home-clubs {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#dcdcdb+0,ffd700+100 */
  background: radial-gradient(ellipse at center,  #dcdcdb 0%,#ffd700 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  padding: 107px 0px;
  position: relative;
}

.home-clubs-flex {
  padding-right: 50px;
}

.hc-carousel {
  margin-left: 640px;
}

.ac-holder {
  width: 100%;
  position: relative;
  height: 206px;
  overflow: hidden;
}

.ac-wrapper {
  position: absolute;
  width: 10000em;
  list-style: none;
  margin: 0px;
  padding: 0;
  display: flex;
  align-items: center;
}

.ac-item {
  width: 390px;
  float: left;
  text-align: center;
  margin-right: 30px;
}

.hc-intro {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 32.8%;
  height: 100%;
  background: #363636;
  z-index: 10;
  clip-path: polygon(0% 0%, 0% 100%, 87% 100%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 87% 100%, 100% 0%);
}

.hc-intro-content {
  position: absolute;
  top: 170px;
  left: 100px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  width: 190px;
  text-align: left;
  color: #fff;
  z-index: 2;
}

.hc-intro::after {
  content: '';
  background-image: url('/images/resources/cornwallgolfunion/affiliated-clubs-bg-effect.png');
  background-repeat: no-repeat;
  background-position: right;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
}

/* inner */

.body-contentpage #global > br {
  display: none;
}

.inner-page-wrapper {
  background: #f4f4f4;
  padding-top: 240px;
}

.inner-full-start {
  padding-bottom: 100px;
}

.ifs-space {
  padding-left: 160px;
}

.ifs-title h1 {
  margin: 0px 0px 50px;
  font-weight: 300;
  text-transform: uppercase;
}

.ifs-flex {
  display: flex;
}

.ifs-content {
  width: 65%;
  margin-right: 30px;
}

.ifs-side-hold {
  width: 35%;
  margin-left: 30px;
}

.ifs-sidebar .menu-section h2 {
  display: none;
}

.ifs-sidebar .menu-section ul {
  margin: 0px;
}

.ifs-sidebar .menu-section ul li {
  margin-bottom: 10px;
  list-style: none;
}

.ifs-sidebar .menu-section ul li a {
  margin-left: 40px;
  display: block;
  padding: 20px;
  background: #dcdcdc;
  color: var(--bodycolor);
  font-size: 22px;
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.ifs-sidebar .menu-section ul li.current a, .ifs-sidebar .menu-section ul li a:hover, .ifs-sidebar .menu-section ul li a:focus {
  margin-left: 0px;
  padding-left: 40px;
  background: #454142;
  color: var(--topheaderbg);
  clip-path: polygon(4% 0%, 0% 100%, 100% 100%, 100% 0%);
  -webkit-clip-path: polygon(4% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.ifs-title {
  padding-right: 160px;
}

.ifs-inner-flex {
  display: flex;
}

.ifs-inner-flex > div {
  flex: 1 1 0;
}

.ifs-inner-flex-small {
  display: flex;
}

.ifs-inner-flex-small > div {
  flex: 1 1 0;
}

.ifis-col-pic {
  position: relative;
}

.ifis-col-pic::after {
  content: '';
  background: rgba(0,0,0,0.4);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.ifis-col-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  color: #fff;
  overflow: hidden;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.body-public .ifis-col-text {
  height: 70px;
}

.body-public .ifis-col-pic:hover .ifis-col-text {
  height: 220px;
}

.ifis-col-text h6 {
  font-size: 20px;
  color: #fff;
  font-family: var(--bodyfont);
  border-bottom: 1px solid #fff;
}

.ifis-col-text p {
  margin-bottom: 4px;
}

.ifis-col-text a {
  color: #fff;
  word-break: break-all;
}

.ifis-col-text a:hover, .ifis-col-text a:focus {
  color: var(--topheaderbg);
}

.accordion-section {
  margin-top: 60px;
  padding: 0px 250px;
}

/* accordions */

.body-contentpage [class*="accordion-content"] {
  display: none;
}

.accordion-object {
  margin: 15px 0px;
  border-bottom: 1px solid #221E1F;
}

.body-contentpage .accordion-title:hover {
  cursor: pointer;
}

.body-contentpage .accordion-title h3 {
  padding: 15px 0px;
  margin: 0px;
}

.body-contentpage .accordion-title h3 br {
  display: none;
}

.body-contentpage .accordion-title h3::after {
  content: '\f067';
  font-family: 'FontAwesome';
  margin-left: 6px;
  font-size: 16px;
  position: relative;
  top: -2px;
}

.body-contentpage .active-accord .accordion-title h3::after {
  content: '\f00d';
  font-size: 16px;
  position: relative;
  top: -2px;
}

.accordion-content {
  margin: 30px 0px;
}

/* inner added boxes style */

.body-public .added-section-move-up {
  display: none;
}

.body-public .added-section-move-down {
  display: none;
}

.body-public .additional-button-row {
  display: none;
}

.body-public .added-section-remove {
  display: none;
}

.inserted-block {
  position: relative;
  padding: 30px 0px; /* change this padding to increase / decrease the gap between added sections */
}

.inner-full-added {
  text-align: center;
  padding: 30px 0px;
}

.body-public .inserted-block {
  padding: 0px 0px;
}

.tea-content-col {
  flex: 1 1 0;
}

.tea-pic-col {
  flex: 1 1 0;
}

.two-equal-content.flex-row {
  display: flex;
  padding: 30px 0px;
}

.two-equal-content.flex-row .ie-col {
  flex: 1 1 0;
}

.two-equal-content.flex-row .ie-col:first-child {
  margin-right: 20px;
}

.two-equal-content.flex-row  .ie-col:last-child {
  margin-left: 20px;
}

.two-equal-added {
  display: flex;
  align-items: center;
}

.two-equal-added.flip-flex {
  flex-direction: row-reverse;
}

.teac-space {
  padding: 20px 160px;
}

.two-unequal-added.flex-row {
  display: flex;
}

.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;
  padding: 30px 0px;
}

.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;
}

.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;
  padding: 30px 0px;
}

.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;
}

/* default pages */

body[class*="php-"], .body-class-members, .body-class-getawayletter, .body-public[class*="php-competition"], .body-class-visitorbooking, [class*="body-class-setcoursestatus"], .body-class-opens, .body-loginpage, body[class*="match"]:not(.body-contentpage), .invalid-page {
  background: url('/images/resources/cornwallgolfunion/members-bg-default.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, body[class*="match"]:not(.body-contentpage) .header-wrapper, .invalid-page .header-wrapper {
  background: var(--topheaderbg);
  width: 100%;
  min-height: 90px;
  position: relative;
}

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, body[class*="match"]:not(.body-contentpage) .bottom-header, .invalid-page .bottom-header {
  background: var(--bottomheaderbg);
  min-height: 90px;
}

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 {
  margin-top: 0px;
  width: auto;
  margin-left: 180px;
  margin-right: 0px;
  top: 25px;
}

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, body[class*="match"]:not(.body-contentpage) .header-logo, .invalid-page .header-logo {
  margin-left: 0px;
  left: 0px;
  top: 0px;
  width: 160px;
  height: 90px;
}

body[class*="php-"] .header-logo::after, .body-class-members .header-logo::after, .body-class-visitorbooking .header-logo::after, .body-class-getawayletter .header-logo::after, [class*="body-class-setcoursestatus"] .header-logo::after, .body-class-opens .header-logo::after, .body-loginpage .header-logo::after, body[class*="match"]:not(.body-contentpage) .header-logo::after, .invalid-page .header-logo::after {
  height: 94px;
  transform: rotate(11deg);
  top: -7px;
  right: -10px;
}

body[class*="php-"] .header-logo img, .body-class-members .header-logo img, .body-class-visitorbooking .header-logo img, .body-class-getawayletter .header-logo img, [class*="body-class-setcoursestatus"] .header-logo img, .body-class-opens .header-logo img, .body-loginpage .header-logo img, body[class*="match"]:not(.body-contentpage) .header-logo img, .invalid-page .header-logo img {
  width: 80px;
  padding-top: 1px;
}

body[class*="php-"] .header-text, .body-class-members .header-text, .body-class-visitorbooking .header-text, .body-class-getawayletter .header-text, [class*="body-class-setcoursestatus"] .header-text, .body-class-opens .header-text, .body-loginpage .header-text, body[class*="match"]:not(.body-contentpage) .header-text, .invalid-page .header-text {
  top: 12px;
}

body[class*="php-"] .header-bar, .body-class-members .header-bar, .body-class-visitorbooking .header-bar, .body-class-getawayletter .header-bar, [class*="body-class-setcoursestatus"] .header-bar, .body-class-opens .header-bar, .body-loginpage .header-bar, body[class*="match"]:not(.body-contentpage) .header-bar, .invalid-page .header-bar {
  display: none;
}

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, body[class*="match"]:not(.body-contentpage) .header-info, .invalid-page .header-info {
  margin-bottom: 10px;
}

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, body[class*="match"]:not(.body-contentpage) .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, body[class*="match"]:not(.body-contentpage) .header-book, .invalid-page .header-book {
  display: none;
}

body[class*="php-"] .nav-section .nav, .body-class-members .nav-section .nav, .body-class-visitorbooking .nav-section .nav, .body-class-getawayletter .nav-section .nav, [class*="body-class-setcoursestatus"] .nav-section .nav, .body-class-opens .nav-section .nav, .body-loginpage .nav-section .nav, body[class*="match"]:not(.body-contentpage) .nav-section .nav, .invalid-page .nav-section .nav {
  display: block;
}

body[class*="php-"] .header-social, .body-class-members .header-social, .body-class-visitorbooking .header-social, .body-class-getawayletter .header-social, [class*="body-class-setcoursestatus"] .header-social, .body-class-opens .header-social, .body-loginpage .header-social, body[class*="match"]:not(.body-contentpage) .header-social, .invalid-page .header-social {
  display: none;
}

body[class*="php-"] .navbar-inverse .navbar-inner, .body-class-members .navbar-inverse .navbar-inner, .body-class-visitorbooking .navbar-inverse .navbar-inner, .body-class-getawayletter .navbar-inverse .navbar-inner, [class*="body-class-setcoursestatus"] .navbar-inverse .navbar-inner, .body-class-opens .navbar-inverse .navbar-inner, .body-loginpage .navbar-inverse .navbar-inner, body[class*="match"]:not(.body-contentpage) .navbar-inverse .navbar-inner, .invalid-page .navbar-inverse .navbar-inner {
  margin-top: 0px;
  z-index: 10;
  padding-right: 0px;
  text-align: left;
  position: relative;
  top: 0px;
  width: auto;
  padding: 0px;
}

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*="match"]:not(.body-contentpage) .navbar-inverse .nav > li > a, .invalid-page .navbar-inverse .nav > li > a {
  text-transform: capitalize;
  font-size: 16px;
  letter-spacing: 0px;
}

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: 1170px;
  margin: 0px auto;
  position: relative;
}

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: 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[class*="match"]:not(.body-contentpage) #globalwrap, .invalid-page #globalwrap, .body-loginpage #globalwrap {
  margin-top: 110px;
  margin-bottom: 60px;
  border: 2px solid var(--headingcolor);
  padding: 20px;
  background: rgba(255,255,255,0.9);
}

.body-public.invalid-page .members-footer {
  display: block;
}

.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"]:not(.body-contentpage), .invalid-page {
   margin-bottom: 110px; 
  }
  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"]:not(.body-contentpage) .members-footer, .invalid-page .members-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 40px;
  }
}

@media (min-width: 460px) 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"]:not(.body-contentpage), .invalid-page {
   margin-bottom: 140px; 
  }
  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"]:not(.body-contentpage) .members-footer, .invalid-page .members-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 70px;
  }
}

@media (min-width: 0px) and (max-width: 459px) {
  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"]:not(.body-contentpage), .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"]:not(.body-contentpage) .members-footer, .invalid-page .members-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 90px;
  }
}

/* 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(--topheaderbg);
  color: var(--bodycolor);
  padding: 6px 15px;
  border-radius: 0px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--bodyfont);
  box-shadow: none;
   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 {
  background: var(--headingcolor2);
  color: #FFF;
}

/* no pin page */

.php-login .nav > li.nav-menu-login\.php {
  display: none;
}

.php-login .nav > li.nav-menu-competition\.php {
  display: none;
}

/* members */

thead {
  background: var(--headingcolor);
  color: #fff;
  font-weight: 400;
}

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: 2px;
  right: 2px;
}

.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-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"]:not(.body-contentpage) .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-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: 980px) {
  .body-class-home.body-public .nav > li.nav-menu-members_login , .body-public.body-contentpage .nav > li.nav-menu-members_login {
    display: none;
  }
}

/* desktop responsive */

@media (min-width: 1600px) and (max-width: 1799px) {
  .page-space {
    padding: 0px 150px;
  }
  .pf-space {
    padding: 0px 260px 0px 320px;
  }
  .mf-space {
    padding: 0px 80px 0px 150px;
  }
  .hn-space {
    padding-left: 200px;
  }
  .hc-intro {
    width: 32.5%;
  }
  .hlf-four {
    width: 32.5%;
  }
  .hnc-holder .news-item {
    width: calc(100vw - 200px);
  }
  .hnc-holder a.pull-left {
    width: 40.3%;
  }
  .hmu-upcoming {
    width: 87%;
  }
  .hmr-recent {
    width: 87%;
  }
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    font-size: 14px;
  }
  .sc-item {
    width: 328px;
  }
  .hc-carousel {
    margin-left: 530px;
  }
  .ac-item {
    width: 320px;
  }
  .ifs-space {
    padding-left: 120px;
  }
  .ifs-title {
    padding-right: 120px;
  }
  .accordion-section {
    padding: 0px 200px;
  }
  .teac-space {
    padding: 20px 120px;
  }
  .hmi-space {
    max-width: 800px;
    padding-left: 200px;
  }
  .home-links {
    padding: 120px 0px;
  }
  .home-clubs {
    padding: 80px 0px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .page-space {
    padding: 0px 100px;
  }
  .pf-space {
    padding: 0px 150px 0px;
  }
  .mf-space {
    padding: 0px 80px 0px 100px;
  }
  .hmi-space {
    padding-left: 150px;
    max-width: 800px;
  }
  .hm-intro {
    background-position: 95% 50%;
    padding: 120px 0px;
  }
  .hn-space {
    padding-left: 150px;
  }
  .hm-switch-upcoming {
    width: 232px;
  }
  .hm-switch-upcoming .wysiwyg-editable {
    font-size: 22px;
    line-height: 30px;
  }
  .hm-switch-recent {
    width: 189px;
  }
  .hm-switch-recent .wysiwyg-editable {
    font-size: 22px;
    line-height: 30px;
  }
  .hc-intro {
    width: 34%;
  }
  .hlf-four {
    width: 34%;
  }
  .hnc-holder .news-item {
    width: calc(100vw - 150px);
  }
  .hnc-holder a.pull-left {
    width: 41.4%;
  }
  .hmu-upcoming {
    width: 89%;
  }
  .hmr-recent {
    width: 89%;
  }
  .hm-upcoming-content {
    left: 185px;
    width: calc(100vw - 185px);
  }
  .hm-recent-content {
    left: 185px;
    width: calc(100vw - 185px);
  }
  .hm-upcoming-content, .hm-recent-content {
    font-size: 14px;
  }
  .sc-item {
    width: 275px;
  }
  .hc-carousel {
    margin-left: 470px;
  }
  .ac-item {
    width: 275px;
  }
  .ifs-space {
    padding-left: 80px;
  }
  .ifs-title {
    padding-right: 80px;
  }
  .accordion-section {
    padding: 0px 150px;
  }
  .teac-space {
    padding: 20px 80px;
  }
  .ifis-col-text h6 {
    font-size: 18px;
  }
  .home-links {
    padding: 100px 0px;
  }
  .home-clubs {
    padding: 60px 0px;
  }
  .hs-logo img {
    width: 750px;
  }
  .hs-scroll {
    bottom: 50px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
 .page-space {
    padding: 0px 50px;
  }
  .pf-space {
    padding: 0px 100px 0px;
  }
  .mf-space {
    padding: 0px 50px 0px 50px;
  }
  .hmi-space {
    padding-left: 100px;
    max-width: 700px;
  }
  .hm-intro {
    background-position: 85% 50%;
    padding: 120px 0px;
    background-size: 200px auto;
  }
  .hn-space {
    padding-left: 100px;
  }
  .hm-switch-upcoming {
    width: 232px;
  }
  .hm-switch-upcoming .wysiwyg-editable {
    font-size: 22px;
    line-height: 30px;
  }
  .hm-switch-recent {
    width: 189px;
  }
  .hm-switch-recent .wysiwyg-editable {
    font-size: 22px;
    line-height: 30px;
  }
  .hc-intro {
    width: 33.1%;
  }
  .hlf-four {
    width: 33.1%;
  }
  .hnc-holder .news-item {
    width: calc(100vw - 100px);
  }
  .hnc-holder a.pull-left {
    width: 39%;
  }
  .hmu-upcoming {
    width: 92%;
  }
  .hmr-recent {
    width: 92%;
  }
  .hm-upcoming-content {
    left: 185px;
    width: calc(100vw - 185px);
  }
  .hm-recent-content {
    left: 185px;
    width: calc(100vw - 185px);
  }
  .hm-upcoming-content, .hm-recent-content {
    font-size: 12px;
  }
  .sc-item {
    width: 250px;
  }
  .hc-carousel {
    margin-left: 418px;
  }
  .ac-item {
    width: 250px;
  }
  .ifs-space {
    padding-left: 40px;
  }
  .ifs-title {
    padding-right: 40px;
  }
  .accordion-section {
    padding: 0px 100px;
  }
  .teac-space {
    padding: 20px 50px;
  }
  .ifis-col-text h6 {
    font-size: 16px;
  }
  .header-logo {
    width: 150px;
  }
  .nav-section {
    margin-left: 160px; 
  }
  .hs-logo img {
    width: 750px;
  }
  .hs-scroll {
    bottom: 50px;
  }
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcompsresult a {
    left: 6.7%;
    right: 6.7%;
    clip-path: polygon(7.4% 0%, 0% 100%, 95% 100%, 100% 0%);
	-webkit-clip-path: polygon(7.4% 0%, 0% 100%, 95% 100%, 100% 0%);
  }
  .home-links {
    padding: 80px 0px;
  }
  .home-clubs {
    padding: 40px 0px;
  }
}

.hnc-wrapper .media-body {
  max-width: 560px;
  position: relative;
}

@media(min-width: 768px) {
.hnc-wrapper .media-body .news-date {
    position: absolute;
    bottom: 0px;
    left: 0px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
  }
  .hnc-wrapper .media-body .news-summary a {
    margin-left: 300px;
    text-transform: uppercase;
    font-weight: 700;
  }
  .hnc-wrapper .media-body .news-summary a::after {
    content: '\f061';
    font-family: 'FontAwesome';
    margin-left: 6px;
  }
}

/* main responsive */

/* landscape tablet */

@media (min-width: 980px) and (max-width: 1199px) {
  .page-space {
    padding: 0px 25px;
  }
  .pf-space {
    padding: 0px 50px 0px;
  }
  .mf-space {
    padding: 0px 25px 0px 25px;
  }
  .hmi-space {
    padding-left: 50px;
    max-width: 600px;
  }
  .hm-intro {
    background-position: 95% 50%;
    padding: 120px 0px;
    background-size: 200px auto;
  }
  .hn-space {
    padding-left: 50px;
  }
  .hm-switch-upcoming {
    width: 172px;
  }
  .hm-switch-upcoming .wysiwyg-editable {
    font-size: 18px;
    line-height: 26px;
    left: 10px;
  }
  .hm-switch-recent {
    width: 141px;
  }
  .hm-switch-recent .wysiwyg-editable {
    font-size: 18px;
    line-height: 26px;
    left: 10px;
  }
  .hc-intro {
    width: 33.2%;
  }
  .hlf-four {
    width: 33.2%;
  }
  .hc-intro-content {
    left: 20px;
  }
  .hnc-holder .news-item {
    width: calc(100vw - 50px);
  }
  .hnc-holder a.pull-left {
    width: 37.8%;
  }
  .hmu-upcoming {
    width: 97%;
  }
  .hmr-recent {
    width: 97%;
  }
  .hm-upcoming-content {
    left: 141px;
    width: calc(100vw - 141px);
  }
  .hmub-content {
    font-size: 20px;
    text-transform: capitalize;
    width: 160px;
  }
  .hmrb-content {
    font-size: 20px;
    text-transform: capitalize;
    width: 160px;
  }
  .hm-recent-content {
    left: 141px;
    width: calc(100vw - 141px);
  }
  .hm-upcoming-content, .hm-recent-content {
    font-size: 10px;
  }
  .hm-upcoming-content .upcomingcomp a,  .hm-recent-content .recentcomps a {
    left: 6%;
    right: 6%;
    clip-path: polygon(8.9% 0%, 0% 100%, 90% 100%, 100% 0%);
	-webkit-clip-path: polygon(8.9% 0%, 0% 100%, 90% 100%, 100% 0%);
  }
  .sc-item {
    width: 177px;
  }
  .hc-carousel {
    margin-left: 354px;
  }
  .ac-holder, .sc-holder {
    width: 596px;
  }
  .ac-item {
    width: 177px;
  }
  .ifs-space {
    padding-left: 40px;
  }
  .ifs-title {
    padding-right: 40px;
  }
  .accordion-section {
    padding: 0px 100px;
  }
  .teac-space {
    padding: 20px 50px;
  }
  .ifis-col-text h6 {
    font-size: 12px;
  }
  .ifis-col-text p {
    font-size: 12px;
    line-height: 20px;
  }
  .body-public .ifis-col-pic:hover .ifis-col-text {
    height: 186px;
  }
  .header-logo {
    width: 115px;
  }
  .nav-section {
    margin-left: 100px; 
  }
  .pfn-title p {
    font-size: 28px;
  }
  .navbar-inverse .nav > li > a {
    text-transform: initial;
    font-size: 14px;
  }
  .ifs-sidebar .menu-section ul li a {
    font-size: 18px;
  }
  .home-links {
    padding: 80px 0px;
  }
  .home-clubs {
    padding: 40px 0px;
  }
  .hs-logo img {
    width: 750px;
  }
  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 > 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, .invalid-page .navbar-inverse .nav > li > a {
    padding: 10px 8px;
    font-size: 12px;
  }
  .body-class-members.php-login .header-wrapper .navbar-inverse .nav > li > a {
    font-size: 12px;
  }
  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 .header-wrapper .navbar-inverse .nav > li > a {
    font-size: 15px;
    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;
  }
  .pf-space {
    padding: 0px 20px 0px;
  }
  .mf-space {
    padding: 0px 20px;
  }
  .hmi-space {
    padding-left: 20px;
    max-width: 500px;
    padding-right: 20px;
  }
  .hm-intro {
    background-position: 95% 50%;
    padding: 120px 0px;
    background-size: 200px auto;
  }
  .hn-space {
    padding-left: 20px;
  }
  .hm-switch-upcoming {
    width: 134px;
  }
  .hm-switch-upcoming .wysiwyg-editable {
    font-size: 14px;
    line-height: 20px;
    left: 10px;
  }
  .hm-switch-recent {
    width: 99px;
  }
  .hm-switch-recent .wysiwyg-editable {
    font-size: 14px;
    line-height: 20px;
    left: 10px;
  }
  .hc-intro {
    width: 34.9%;
  }
  .hlf-four {
    width: 34.9%;
  }
  .hc-intro-content {
    left: 20px;
  }
  .hnc-holder .news-item {
    width: calc(100vw - 20px);
  }
  .hnc-holder a.pull-left {
    width: 45.2%;
  }
  .hmu-upcoming {
    width: 97%;
  }
  .hmr-recent {
    width: 97%;
  }
  .hm-upcoming-content {
    left: 98px;
    width: calc(100vw - 98px);
  }
  .hmub-content {
    font-size: 16px;
    text-transform: capitalize;
    width: 126px;
  }
  .hmrb-content {
    font-size: 16px;
    text-transform: capitalize;
    width: 115px;
  }
  .hm-recent-content {
    left: 98px;
    width: calc(100vw - 98px);
  }
  .hm-upcoming-content, .hm-recent-content {
    font-size: 10px;
  }
  .hm-upcoming-content .upcomingcomp a,  .hm-recent-content .recentcomps a {
    left: 6%;
    right: 6%;
    clip-path: polygon(8.9% 0%, 0% 100%, 90% 100%, 100% 0%);
	-webkit-clip-path: polygon(8.9% 0%, 0% 100%, 90% 100%, 100% 0%);
  }
  .hm-upcoming-content .upcomingcomp {
    width: 38%;
  }
  .hm-upcoming-content .upcomingcomp:nth-child(4) {
    display: none;
  }
  .hm-recent-content .recentcompresult {
    width: 38%;
  }
  .hm-recent-content .recentcompresult:nth-child(4) {
    display: none;
  }
  .hnc-wrapper .media-body {
    max-width: 440px;
  }
  .hnc-holder a.pull-left::after, .hnc-holder img {
    clip-path: polygon(0% 0%, 31% 100%, 100% 100%, 100% 0%);
	-webkit-clip-path: polygon(0% 0%, 31% 100%, 100% 100%, 100% 0%);
  }
  .hlf-four-content {
    font-size: 16px;
  }
  .sc-item {
    width: 128px;
  }
  .hc-intro-content {
    font-size: 16px;
  }
  .hc-carousel {
    margin-left: 285px;
  }
  .sc-holder {
    width: 454px;
  }
  .ac-holder {
    width: 454px;
  }
  .ac-item {
    width: 128px;
  }
  .ifs-space {
    padding-left: 40px;
  }
  .ifs-title {
    padding-right: 40px;
  }
  .accordion-section {
    padding: 0px 100px;
  }
  .teac-space {
    padding: 20px 50px;
  }
  .ifis-col-text h6 {
    font-size: 12px;
  }
  .ifis-col-text p {
    font-size: 12px;
    line-height: 20px;
  }
  .body-public .ifis-col-pic:hover .ifis-col-text {
    height: 186px;
  }
  .header-logo {
    width: 115px;
  }
  .nav-section {
    margin-left: 100px; 
  }
  .pfn-title p {
    font-size: 24px;
  }
  .navbar-inverse .nav > li > a {
    text-transform: initial;
    font-size: 14px;
  }
  .ifs-sidebar .menu-section ul li a {
    font-size: 16px;
  }
  .mf-copy {
    font-size: 14px;
  }
  .home-links {
    padding: 80px 0px;
  }
  .home-clubs {
    padding: 40px 0px;
  }
   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;
  }
}

/* portrait tablet and mobile */

@media (min-width: 0px) and (max-width: 979px) {
  .header-wrapper {
    min-height: 100px;
    position: relative;
  }
  .header-bar {
    height: 5px;
  }
  .header-logo {
    left: 0px;
    top: 0px;
    height: 100px;
  }
  .nav-section, .fix .nav-section {
    top: 0px;
  }
  .header-logo::after {
    height: 102px;
    right: -11px;
  }
  .header-logo img {
    width: 80px;
    padding-top: 5px;
  }
  .header-links {
    top: 5px;
    right: 10px;
  }
  .header-links a {
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-transform: capitalize;
    letter-spacing: 0px;
  }
  .navbar-inverse .btn-navbar, .navbar-inverse .btn-navbar:focus  {
    width: 80px;
    height: 40px;
    padding: 0px;
    margin-top: 0px;
    top: 28px;
    position: absolute;
    z-index: 50;
    right: 0px;
    font-size: 16px;
    background: transparent;
    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: transparent;
    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: 0px;
    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: 32px;
    left: 22px;
    background: #000;
    position: absolute;
  }
  .navbar .btn-navbar .top-bar {
    top: -12px;
  }
  .navbar .btn-navbar .middle-bar {
    top: 0px;
  }
  .navbar .btn-navbar .bottom-bar {
    top: 11px;
  }
  .navbar .btn-navbar.active .top-bar {
    top: 0px;
  }
  .navbar .btn-navbar.active .bottom-bar {
    top: 0px;
  }
  .navbar .btn-navbar:hover .icon-bar, .navbar .btn-navbar.active .icon-bar {
    background: #000;
  }
  .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;
  }
  .body-public.body-class-home .nav-section, .body-public.body-class- .nav-section {
    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 10px;
    text-align: left;
    top: 0px;
    margin-top: 105px;
  }
  .navbar-inverse .nav-collapse .nav > li > a, .navbar-inverse .nav-collapse .dropdown-menu a {
    color: var(--navlink);
    font-weight: 400;
    font-size: 16px;
  }
  .navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .nav > li.current > a {
    color: var(--navlink);
    background: var(--dropdownbg);
  }
  .navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .nav > li > a:focus {
    color: var(--navlink);
    background: var(--dropdownbg);
  }
  .nav-collapse .dropdown-menu {
    background: var(--dropdownbg);
  }
  .navbar-inverse .nav-collapse .dropdown-menu a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:focus {
    background: transparent;
    color: #fff;
  }
  .navbar-inverse .nav-collapse .dropdown-menu li.current a {
    color: #fff;
  }
  .navbar-inverse .nav > li > a::after {
    display: none;
  }
  .navbar .nav > li {
    display: block;
  }
  .home-slideshow .galleryInner, .home-slideshow .galleryInner img {
    height: auto !important;
  }
  .nav-section .nav {
    display: block;
    text-align: left;
  }
  .nav-section .nav > li {
    text-align: left;
  }
  .inner-page-wrapper {
    padding-top: 80px;
  }
  .body-public.body-class-home .nav-section, .body-public.body-class- .nav-section {
    margin-left: 10px;
  }
  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 {
    top: 0px;
  }
}

/* mobile */

@media (min-width: 0px) and (max-width: 767px) {
  body {
    padding: 0px;
  }
  .header-logo {
    width: 110px;
  }
  .hs-scroll {
    display: none;
  }
  .hs-intro {
    position: relative;
    bottom: 0px;
  }
  .hs-intro p {
    color: #000;
    font-size: 16px;
  }
  .hs-intro h1 {
    color: #000;
    font-size: 26px;
    line-height: 36px;
  }
  .hs-logo {
    top: -45px;
  }
  .hm-intro {
    padding: 60px 0px 160px;
    text-align: center;
    background-size: 100px auto;
    background-position: 50% 90%;
  }
  .hmi-space {
    padding: 0px 20px;
  }
  .hm-switcher {
    display: block;
  }
  .hm-switch-upcoming {
    width: 100%;
  }
  .hm-switch-upcoming .wysiwyg-editable {
    position: relative;
    top: 0px;
    left: 0px;
    padding: 20px;
    text-align: center;
    transform: translateY(0px);
  }
  .hm-switch-upcoming::after {
    display: none;
  }
  .hm-switch-recent {
    width: 100%;
    height: auto;
  }
  .hm-switch-recent .wysiwyg-editable {
    position: relative;
    top: 0px;
    left: 0px;
    padding: 20px;
    text-align: center;
    transform: translateY(0px);
  }
  .hm-switch-recent::after {
    display: none;
  }
  .hm-upcoming-content {
    opacity: 1;
    visibility: visible;
    left: 0px;
    width: 100%;
    position: relative;
    display: block;
  }
  .hmu-upcoming {
    width: 100%;
    background: #dcdcdc;
  }
  .hm-upcoming-content .upcomingcomp {
    width: 100%;
    max-width: 250px;
    padding: 15px 0px;
    margin: auto;
    display: block;
  }
  .hm-upcoming-content .upcomingcomp:nth-child(2), .hm-upcoming-content .upcomingcomp:nth-child(3), .hm-upcoming-content .upcomingcomp:nth-child(4) {
    margin: 0px auto;
  }
  .hmu-button {
    position: relative;
    width: 100%;
    height: 80px;
    clip-path: none;
  }
  .hmub-content {
    position: relative;
    bottom: 0px;
    right: 0px;
    text-align: center;
    width: auto;
    padding: 20px;
    font-size: 16px;
  }
  .hm-upcoming-content .hms-pic img {
    clip-path: none;
  }
  .hm-upcoming-content .upcomingcomp a {
    clip-path: none;
    left: 0px;
    right: 0px;
    font-size: 13px;
  }
  .hm-upcoming-content .upcomingcomp .announcedate {
    font-size: 14px;
  }
  .hm-recent-content {
    opacity: 1;
    visibility: visible;
    left: 0px;
    width: 100%;
    position: relative;
    display: block;
  }
  .hmr-recent {
    width: 100%;
    background: #363636;
  }
  .hm-recent-content .recentcompresult {
    width: 100%;
    max-width: 250px;
    padding: 15px 0px;
    margin: auto;
    display: block;
  }
  .hm-recent-content .recentcompresult:nth-child(2), .hm-recent-content .recentcompresult:nth-child(3), .hm-recent-content .recentcompresult:nth-child(4) {
    margin: 0px auto;
  }
  .hmr-button {
    position: relative;
    width: 100%;
    height: 80px;
    clip-path: none;
  }
  .hmrb-content {
    position: relative;
    bottom: 0px;
    right: 0px;
    text-align: center;
    width: auto;
    padding: 20px;
    font-size: 16px;
  }
  .hm-recent-content .hms-pic img {
    clip-path: none;
  }
  .hm-recent-content .recentcompresult a {
    clip-path: none;
    left: 0px;
    right: 0px;
    font-size: 13px;
  }
  .hm-recent-content .recentcompresult .announcedate{
    font-size: 14px;
  }
  .home-news {
    padding: 50px 0px;
    text-align: center;
  }
  .hn-space {
    padding: 0px 20px;
  }
  .hnc-holder {
    height: 500px;
    width: 300px;
    margin: 0px auto;
    overflow: hidden;
  }
  .hnc-holder a.pull-left::after {
    display: none;
  }
  .hnc-holder img {
    position: relative;
    clip-path: none;
    height: auto;
  }
  .hnc-wrapper .media-body {
    margin-top: 10px;
  }
  .hnc-holder .news-item {
    width: 300px;
    margin-right: 50px;
  }
  .hnc-holder a.pull-left {
    position: relative;
    top: 0px;
    height: auto;
    max-width: 300px;
    width: 100%;
  }
  .hlf-four, .hc-intro {
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0px;
    left: 0px;
    clip-path: none;
  }
  .hlf-four::after, .hc-intro::after {
    display: none;
  }
  .hlf-four-content, .hc-intro-content {
    padding: 20px;
    position: relative;
    bottom: 0px;
    left: 0px;
    text-align: center;
    font-size: 20px;
    width: auto;
    top: 0px;
  }
  .sc-holder, .ac-holder {
    width: 480px;
    margin: 0px auto;
  }
  .hl-flex {
    padding-left: 0px;
  }
  .sc-item, .ac-item {
    width: 220px;
  }
  .home-clubs-flex {
    padding: 0px;
  }
  .hc-carousel {
    margin: 0px;
  }
  .pf-space {
    padding: 0px 20px;
  }
  .pf-newsletter {
    flex-direction: column;
    text-align: center;
  }
  .pfn-title {
    margin: 0px 0px 15px 0px;
  }
  .pfn-title p {
    font-size: 28px;
    line-height: 36px;
  }
  .pfn-form {
    margin-left: 0px;
  }
  .pfn-form .customFormLine input {
    padding-right: 6px;
    width: calc(100% - 14px);
  }
  .pfn-form input[type*="submit"] {
    position: relative;
  }
  .pfn-form form label {
    position: relative;
    left: 0px;
    bottom: 0px;
  }
  .pf-flex {
    flex-direction: column;
    margin-top: 30px;
    text-align: center;
  }
  .pf-contact {
    margin: 0px 0px 20px;
  }
  .pf-logos {
    margin: 0px;
  }
  .pf-logos .wysiwyg-editable {
    flex-direction: column;
  }
  .pf-logos .wysiwyg-editable > a:nth-of-type(2) {
    margin: 15px 0px;
  }
  .mf-space {
    padding: 0px 20px;
  }
  .mf-flex {
    flex-direction: column;
  }
  .mf-copy {
    padding-top: 0px;
    width: auto;
    margin: 0px;
  }
  .mf-ig {
    margin: 15px 0px 0px;
    text-align: center;
    width: auto;
  }
  .ifs-space {
    padding-left: 20px;
  }
  .ifs-title {
    text-align: center;
    padding-right: 20px;
  }
  .ifs-flex {
    flex-direction: column;
  }
  .ifs-content {
    width: 100%;
    margin: 0px 0px 20px;
  }
  .ifs-content > .wysiwyg-editable {
    padding-right: 20px;
  }
  .ifs-sidebar {
    width: 100%;
    margin: 40px 0px;
  }
  .ifs-sidebar .menu-section ul li a {
    font-size: 16px;
  }
  .ifs-inner-flex, .ifs-inner-flex-small {
    padding-right: 20px;
    flex-direction: column;
  }
  .ifis-col {
    max-width: 300px;
    margin: 10px auto;
  }
  .body-public .ifis-col-text {
    height: 220px;
  }
  .accordion-section {
    padding: 0px 20px;
  }
  .body-contentpage .accordion-title h3 {
    font-size: 20px;
    line-height: 30px;
  }
  .teac-space {
    padding: 20px;
  }
  .two-equal-added {
    flex-direction: column;
  }
  .inner-page-space {
    text-align: center;
  }
  .ifs-sidebar .menu-section ul li a {
    text-align: left;
  }
  .tea-pic-col img {
    max-width: 400px;
    width: 100%;
    margin: 0px auto;
  }
  .two-equal-added.flip-flex {
    flex-direction: column;
  }
  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;
  }
  .mf-copy {
    text-align: center;
    padding-top: 0px;
    margin: 0px;
  }
  .mf-ig-logo {
    margin-top: 10px;
    text-align: center;
  }
}

/* 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;
  }
  .sc-holder, .ac-holder {
    width: 280px;
    margin: 0px auto;
  }
  .sc-item, .ac-item {
    width: 280px;
  }
}

/* editor */

.php-ckeditor .ig-wysiwyg-editor-navbar .navbar-inverse .navbar-inner {
  background: #171717;
  padding-bottom: 6px;
}

.php-ckeditor .hs-intro {
  position: relative;
  bottom: 0px;
  background: rgba(0,0,0,0.4);
}

.php-ckeditor .hs-scroll {
  display: none;
}

.php-ckeditor .hmu-button {
  display: none;
}

.php-ckeditor .hmr-button {
  display: none;
}

.php-ckeditor .hm-switch-upcoming {
  width: 280px;
  height: 100px;
}

.php-ckeditor .hm-switch-upcoming::after {
  display: none;
}

.php-ckeditor .hm-switch-recent {
  width: 280px;
  height: 100px;
}

.php-ckeditor .hm-switch-recent::after {
  display: none;
}

.php-ckeditor .hs-logo {
  display: none;
}

.php-ckeditor .hmu-upcoming {
  display: none;
}

.php-ckeditor .hmr-recent {
  display: none;
}

.php-ckeditor .hc-intro-content {
  top: 85px;
}

.php-ckeditor .inner-page-wrapper {
  padding-top: 100px;
}

.php-ckeditor .ifis-col-text {
  position: relative;
  background: rgba(0,0,0,0.5);
  left: 0px;
  right: 0px;
  bottom: 0px;
}

.php-ckeditor .ifis-col-pic::after {
  display: none;
}

/* 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(--topheaderbg);
  margin-right: 5px;
  color: #000;
  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(--topheaderbg);
  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 {
  position: absolute;
  top: -2px;
  right: 0px;
  width: 30px;
  height: 30px;
}

.added-section-remove .asr-cross {
  width: 30px;
  height: 2px;
  background: #f00;
  content: '';
  display: inline-block;
}

.added-section-remove:hover, .added-section-remove:focus {
  cursor: pointer;
}

.added-section-remove .asr-cross-1 {
  transform: rotate(45deg);
  position: absolute;
  top: 13px;
  left: 0px;
}

.added-section-remove .asr-cross-2 {
  transform: rotate(-45deg);
  position: absolute;
  top: 13px;
  left: 0px;
}

.added-section-move-up {
  position: absolute;
  top: -2px;
  right: 100px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.added-section-move-up:hover {
  cursor: pointer;
}

.added-section-move-down {
  position: absolute;
  top: -2px;
  right: 50px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.added-section-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;
}

#outerborder {
  overflow-x: hidden;
}

/* end custom page templates */

/* invalid page */

.invalid-page {
  background: url('/images/resources/lancashirecounty/members-bg-default.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.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 {
  display: none !important;
}

/* forms */

.inner-page-wrapper form input {
  background: #ddd;
  border-radius: 0px;
  border: 2px solid var(--headingcolor);
  height: 30px;
  width: 80%;
  text-align: center;
  color: #000;
}

.inner-page-wrapper form textarea {
  background: #ddd;
  border-radius: 0px;
  border: 2px solid var(--headingcolor);
  height: 90px;
  width: 80%;
  text-align: center;
  color: #000;
}

.inner-page-wrapper form select {
  background: #ddd;
  border-radius: 0px;
  border: 2px solid var(--headingcolor);
  height: 30px;
  width: 80%;
  box-sizing: content-box;
  text-align: center;
  color: #000;
}

@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;
  background: var(--topheaderbg);
  color: #000;
  margin-top: 20px;
  border: none;
  padding: 10px 15px;
  border-radius: 0px;
}

.inner-page-wrapper form input[type*="submit"]:hover {
  background: #000;
  color: #fff;
}

.inner-intro ul, .inner-col ul, .inner-flex ul, .members-page ul, .cc-content ul, .ifs-content 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, .ifs-content 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, .ifs-content 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, .ifs-content ol, .teac-space ol {
  margin: 0px 0px 10px;
}

.inner-intro ol li, .inner-full ol li, .ie-col ol li, .ifs-content ol li, .teac-space ol li {
  line-height: 28px;
  list-style-position: inside;
}

.inner-intro .gallery-thumbs ul li::before, .ifs-content .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;
    font-size: 13px;
    padding: 6px 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: 10px;
    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-full-start table th, .inner-flex table th, .members-page table th {
  border: 2px solid var(--headingcolor);
  padding: 6px;
  font-weight: 400;
  background: var(--headingcolor);
  color: #fff;
  text-align: left;
}

.inner-full-start table td, .inner-flex table td, .members-page table td {
  border: 2px solid var(--headingcolor);
  padding: 6px;
}

@media (min-width: 768px) and (max-width: 979px) {
  .inner-full-start table th, .members-page table th {
    padding: 4px;
    font-size: 14px;
  }
  .inner-full-start table td, .members-page table td {
    padding: 4px;
    font-size: 14px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .inner-full-start table th, .members-page table th {
    padding: 2px;
    font-size: 12px;
  }
  .inner-full-start table td, .members-page 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;
}

/* slideshow dots and arrows */

.home-slideshow .nivo-controlNav-Wrapper, .inner-slideshow .nivo-controlNav-Wrapper {
  display: none;
}

.home-slideshow .nivo-directionNav, .inner-slideshow .nivo-directionNav {
  display: none !important;
}

.body-public .inner-slideshow > .wysiwyg-editable > br {
  display: none;
}

.home-page-wrapper a, .page-footer a {
  color: var(--bodycolor);
}

/* temp */

.body-class-members .header-wrapper {
  position: relative;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .home-slideshow .galleryInner, .home-slideshow .galleryInner img {
    height: calc(100vh - 62px) !important;
  }
  .body-public .ifis-col-pic .ifis-col-text {
    height: 186px;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  .hs-scroll {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .hs-intro {
    bottom: 5%;
  }
  .ifs-inner-flex-small {
    display: block;
  }
  .ifis-col {
    width: 33.333%;
    float: left;
  }
  .body-public .ifis-col-pic .ifis-col-text {
    height: 186px;
  }
}

.body-class-county_cards .tea-content-col img {
  padding: 5px 0px;
}

@media (min-width: 1100px) and (max-width: 1199px) {
  .hc-carousel {
    margin-left: 450px;
  }
  .hmu-upcoming {
    width: 94%;
  }
  .hmr-recent {
    width: 94%;
  }
  .hnc-holder a.pull-left {
    width: 38.2%;
  }
   .hlf-four {
    width: 33.7%;
  }
  .hc-intro {
    width: 33.7%;
  }
  .hc-intro-content {
    top: 120px;
  }
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    clip-path: polygon(8.3% 0%, 0% 100%, 90% 100%, 100% 0%);
	-webkit-clip-path: polygon(8.3% 0%, 0% 100%, 90% 100%, 100% 0%);
  }
  .hmr-button, .hmu-button {
    width: 20.5%;
  }
  .hm-switch-upcoming {
    width: 183px;
  }
  .hm-intro {
    background-position: 85% 50%;
  }
}

@media (min-width: 768px) and (max-width: 1599px) {
  .hc-intro-content {
    top: 120px;
  }
}

@media (min-width: 800px) and (max-width: 849px) {
  .hmu-button, .hmr-button {
    width: 20.5%;
  }
  .hm-switch-upcoming {
    width: 138px;
  }
  .hnc-holder a.pull-left {
    width: 44%;
  }
  .hlf-four {
    width: 34.2%;
  }
  .hc-intro {
    width: 34.2%;
  }
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    clip-path: polygon(8.5% 0%, 0.3% 100%, 90% 100%, 100% 0%);
	-webkit-clip-path: polygon(8.5% 0%, 0.3% 100%, 90% 100%, 100% 0%);
  }
}

.php-ckeditor .ac-holder {
  height: auto;
}

.php-ckeditor .ac-wrapper {
  display: block;
  width: auto;
  position: relative;
}

.php-ckeditor .ac-item {
  width: 325px;
  float: none;
  display: inline-block;
  margin: 20px;
}

.php-ckeditor .sc-holder {
  height: auto;
}

.php-ckeditor .sc-wrapper {
  display: block;
  width: auto;
  position: relative;
}

.php-ckeditor .sc-item {
  width: 325px;
  float: none;
  display: inline-block;
  margin: 20px;
}

.home-news-carousel {
  position: relative;
}

.hnc-numbers {
  position: absolute;
  font-size: 0px;
  bottom: 25px;
  right: 200px;
  z-index: 10;
  line-height: 70px;
}

.hnc-numbers a {
  font-weight: 700;
  transition: all 0ms ease-in-out;
  -moz-transition: all 0ms ease-in-out;
  -webkit-transition: all 0ms ease-in-out;
  color: rgba(0,0,0,0.8);
}

.hnc-numbers .active {
  font-size: 70px;
}

.hnc-total {
  font-weight: 700;
  position: absolute;
  font-size: 70px;
  bottom: 50px;
  right: 130px;
  z-index: 10;
  line-height: 70px;
  color: rgba(0,0,0,0.8);
}

@media (min-width: 0px) and (max-width: 767px) {
  .hnc-numbers {
    display: none;
  }
  .hnc-total {
    display: none;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  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 {
    margin-left: 0px;
    padding-top: 85px;
  }
  body[class*="php-"] .navbar-inverse .navbar-inner, .body-class-members .navbar-inverse .navbar-inner, .body-class-visitorbooking .navbar-inverse .navbar-inner, .body-class-getawayletter .navbar-inverse .navbar-inner, [class*="body-class-setcoursestatus"] .navbar-inverse .navbar-inner, .body-class-opens .navbar-inverse .navbar-inner, .body-loginpage .navbar-inverse .navbar-inner, body[class*="match"]:not(.body-contentpage) .navbar-inverse .navbar-inner, .invalid-page .navbar-inverse .navbar-inner {
    margin-top: 10px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .hm-switch-options {
    display: flex;
    max-height: 84px;
  }
  .hm-switch-options > div {
    flex: 1 1 0;
    width: 50%;
  }
  .hm-switch-upcoming .wysiwyg-editable {
    font-size: 16px;
    line-height: 22px;
  }
  .hmsr {
    background: #363636;
  }
  .hm-switch-recent .wysiwyg-editable {
    font-size: 16px;
    padding-top: 31px;
    line-height: 22px;
  }
  .hm-upcoming-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
  }
  .hm-upcoming-content.show-upcoming {
    position: relative;
  }
  .hm-recent-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
  }
  .hm-recent-content.show-recent {
    position: relative;
  }
  .hs-intro {
    padding: 20px 0px 10px;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .hs-scroll {
    bottom: 5%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hnc-total {
    right: 50px;
  }
  .hnc-numbers {
    right: 120px;
  }
}

.tea-pic-col .galleryInner {
  width: 100% !important;
  height: auto !important;
}

.tea-pic-col .nivo-controlNav-Wrapper {
  display: none;
}

.tea-pic-col .nivo-caption {
  opacity: 1;
  background: rgba(0,0,0,0.7);
}

.tea-pic-col h4 {
  color: var(--topheaderbg);
  margin: 10px 0px;
}

.body-contentpage .news-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  gap: 20px 10px;
}

.body-contentpage .news-item {
  position: relative;
}

.body-contentpage .news-item a {
  float: none;
  margin-right: 0px;
  display: block;
  text-align: center;
}

.body-contentpage .news-item a img {
  padding: 0px;
  box-shadow: none;
  border: none;
  background: transparent;
  margin: 0px auto;
  height: 140px;
  width: 250px;
  object-fit: cover;
}

.body-contentpage .news-item h4 {
  margin-top: 15px;
}

.body-contentpage .news-item .media-body {
  padding-bottom: 40px;
}

.body-contentpage .news-item .news-summary a {
  display: inline-block;
  padding: 6px 15px;
  background: var(--topheaderbg);
  color: var(--bodycolor);
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 10px auto 0px;
  width: 120px;
}

.body-contentpage .news-item .news-summary a:hover {
  background: var(--headingcolor2);
  color: #fff;
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-contentpage .news-wrapper {
    grid-template-columns: 1fr;
  }
  .page-space {
    padding: 0px 20px;
  }
  .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;
  }
  .three-equal-added.flex-row {
    flex-direction: column;
  }
  .four-equal-added.flex-row {
    flex-direction: column;
  }
}

.body-class-union_diary .diary-nav-right a {
  pointer-events: none;
}

.body-class-union_diary .diarytags .tags a {
  pointer-events: none;
}

.body-class-union_diary table.diary-year th:last-child {
  display: none;
}

@media (min-width: 0px) and (max-width: 767px) {
  .content-wrapper .inner-page-space {
    overflow-x: auto;
  }
}

@media (min-width: 980px) {
  .body-public.body-class-home .dropdown-menu {
    margin-top: 28px;
  }
}

@media (min-width: 980px) and (max-width: 999px) {
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    right: 15%;
    line-height: 20px;
  }
  .hm-upcoming-content .upcomingcomp .announcedate {
    right: 15%;
  }
  .hm-recent-content .recentcompresult .announcedate {
    right: 15%;
  }
}

@media (min-width: 1000px) and (max-width: 1026px) {
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    right: 12%;
    line-height: 20px;
  }
  .hm-upcoming-content .upcomingcomp .announcedate {
    right: 12%;
  }
  .hm-recent-content .recentcompresult .announcedate {
    right: 12%;
  }
  .hm-switch-recent {
    width: 137px;
  }
  .hm-switch-upcoming {
    width: 174px;
  }
}

@media (min-width: 768px) and (max-width: 788px) {
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    right: 12%;
    line-height: 20px;
  }
  .hm-upcoming-content .upcomingcomp .announcedate {
    right: 12%;
  }
  .hm-recent-content .recentcompresult .announcedate {
    right: 12%;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .body-contentpage .news-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .body-contentpage .news-item h4 {
    font-size: 18px;
    line-height: 28px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .accordion-in-ifs {
    padding-right: 20px;
  }
  .body-contentpage .news-item h4, .body-class-home .news-item h4 {
    font-size: 18px;
    line-height: 28px;
  }
  .body-contentpage .news-item .news-summary, .body-class-home .news-item .news-summary {
    font-size: 14px;
    line-height: 24px;
  }
}

@media (min-width: 1530px) and (max-width: 1580px) {
  .hm-upcoming-content .upcomingcomp a, .hm-recent-content .recentcomps a {
    right: 8%;
    line-height: 20px;
  }
  .hm-upcoming-content .upcomingcomp .announcedate {
    right: 8%;
  }
  .hm-recent-content .recentcompresult .announcedate {
    right: 8%;
  }
  .hm-upcoming-content, .hm-recent-content {
    font-size: 12px;
  }
  .hm-switch-upcoming {
    width: 242px;
  }
  .hnc-holder a.pull-left {
    width: 39.4%;
  }
  .hlf-four {
    width: 32.8%;
  }
  .sc-holder {
    width: 900px;
  }
  .hc-carousel {
    margin-left: 525px;
  }
  .ac-holder {
    width: 900px;
  }
}

.body-public.body-class-home .content-wrapper [class*="-slideshow"] .nivo-caption {
  display: block !important;
  background: transparent;
  opacity: 1;
  text-align: right;
}

.body-public.body-class-home .content-wrapper [class*="-slideshow"] .nivo-caption h4 {
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  display: inline-block;
}

@media (min-width: 1600px) {
  .hm-upcoming-content .upcomingcomp:first-of-type a, .hm-recent-content .recentcompresult:first-of-type a {
    padding: 40px 60px 0px;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .hm-upcoming-content .upcomingcomp:first-of-type a, .hm-recent-content .recentcompresult:first-of-type a {
    padding: 40px 50px 0px;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .hm-upcoming-content .upcomingcomp:first-of-type a, .hm-recent-content .recentcompresult:first-of-type a {
    padding: 40px 50px 0px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .hm-upcoming-content .upcomingcomp:first-of-type a, .hm-recent-content .recentcompresult:first-of-type a {
    padding: 40px 40px 0px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-public.body-class-home .content-wrapper [class*="-slideshow"] .nivo-caption h4 {
    font-size: 16px;
    padding: 2px 12px;
    margin-bottom: 0px;
  }
  .hm-intro {
    background-image: none;
    padding-bottom: 60px;
  }
  .hm-upcoming-content .upcomingcomp {
    display: inline-block;
    margin: 0px 10px;
  }
  .hmu-upcoming {
    text-align: center;
  }
  .hm-upcoming-content .upcomingcomp:nth-child(2), .hm-upcoming-content .upcomingcomp:nth-child(3), .hm-upcoming-content .upcomingcomp:nth-child(4) {
    margin: 0px 10px;
  }
  .hm-recent-content .recentcompresult {
    display: inline-block;
    margin: 0px 10px;
  }
  .hmr-recent {
    text-align: center;
  }
  .hm-recent-content .recentcompresult:nth-child(2), .hm-recent-content .recentcompresult:nth-child(3), .hm-recent-content .recentcompresult:nth-child(4) {
    margin: 0px 10px;
  }
  .home-links, .home-clubs {
    padding-bottom: 10px;
  }
  .hs-intro {
    display: none;
  }
}

@media (min-width: 1600px) and (max-height: 830px) {
  .hs-logo img {
    width: 750px;
  }
  .hs-scroll {
    bottom: 5%;
  }
}

.ticker-space ul.newsticker {
  font-size: 16px;
  font-family: var(--bodyfont);
  font-weight: 400;
  background: #363636;
  width: 1000em !important;
}

.ticker-space ul.newsticker li {
  background: #363636;
  color: #fff;
  padding-top: 5px;
}

div#global .ticker-space div.marquee.nostyle div.tickercontainer, .ticker-space div.marquee.nostyle div.tickercontainer {
  background: #363636;
  border: none;
}

.ticker-space br {
  display: none;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .ticker-space {
    width: 100%;
  }
  .ticker-space #marquee {
    width: 1200px !important;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .ticker-space {
    width: 724px;
  }
  .ticker-space #marquee {
    width: 980px !important;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .ticker-space #marquee {
    width: 768px !important;
  }
}

@media (min-width: 0px) and (max-width: 479px) {
  .ticker-space #marquee {
    width: 480px !important;
  }
}

.pf-logos a em {
  font-size: 42px;
  color: #454241;
}

.pf-logos a.face-icon {
  margin: 0px 30px;
}

.pf-logos a.x-icon img {
  width: 39px;
  position: relative;
  top: -11px;
}

.php-ckeditor .pf-space {
  padding: 0px 20px;
}
 
/* end anton styles */