/* IG Implementation default template */

/* Variables */

:root {
  --headingfont: "sofia-pro", sans-serif;
  --bodyfont: "sofia-pro", sans-serif;
  --bgimage: url('/images/resources/implementation/trianglify-min.png');
  --topheader: #fff;
  --bottomheader: rgba(226, 232, 233, 0.9);
  --bhborder: 3px solid rgba(37, 125, 134, 0.9);
  --navnotactive: #353C3B;
  --navactive: #D1802F;
  --dropdownbg: #e2e8e9;
  --dropdownnavnotactive: #333;
  --dropdownnavactive: #fff;
  --headingcolor: #257D86;
  --headingcolor2: #D1802F;
  --highlightcolor: #005580;
  --bodycolor: #333;
  --buttonbackground: #257D86;
  --buttonhover: #D1802F;
  --white: #fff;
  --black: #000;
  --formbg: #f1f1f1;
  --slideshowtitle: #fff;
  --blockquoteborder: 5px solid #D1802F;
  --topfooter: #353C3B;
  --topfooterbg: #e2e8e9;
  --bottomfooterbg: #58595B;
}

/* elements to change */

body {
	color: var(--bodycolor);
}

h1, h2, h5 {
	font-family: var(--headingfont);
	color: var(--headingcolor);
}

h3, h4, h6 {
	font-family: var(--bodyfont);
	color: var(--headingcolor2);
}

a {
	color: var(--headingcolor);
}

a:hover, a:focus {
	color: var(--highlightcolor);
}

/*h5 a, h6 a {
	background: var(--headingcolor);
	color: var(--white);
}*/

h5 a:hover, h5 a:focus, h6 a:hover, h6 a:focus {
	background: var(--headingcolor2);
	color: var(--white);
}

body {
	font-family: var(--bodyfont);
}

.body-class-members, .body-class-loginphp {
	background-image: var(--bgimage);
}

.btn {
	background: var(--buttonbackground);
	color: var(--white);
}

.btn-primary {
    background: var(--buttonbackground);
}

.btn:hover {
	background: var(--buttonhover);
	color: var(--white);
}

table thead, table thead th, table.table thead, table.table thead th {
	background: var(--headingcolor);
	color: var(--white);
}

.slider-overlay h1, .slider-overlay h3 {
  color: var(--slideshowtitle);
}

.page-content form {
  background: var(--formbg);
}

blockquote {
  border-left: var(--blockquoteborder);
}

.top-header {
    background-color: var(--topheader);
}

.menu-header {
  background-color: var(--bottomheader);
  border-bottom: var(--bhborder);
}

.main-navigation .nav > li > a {
  color: var(--navnotactive);
}

.main-navigation .nav > li.active > a, .main-navigation .nav > li.current > a, .main-navigation .nav > li > a:hover, .main-navigation .nav > li > a:focus {
  color: var(--navactive);
  background: transparent;
}

.dropdown-menu {
  background: var(--dropdownbg);
}

.dropdown-menu > li > a {
  color: var(--dropdownnavnotactive);
}

.dropdown-menu > li.current > a, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background-color: var(--headingcolor);
  color: var(--white);
}

.main-footer {
  background-color: var(--topfooterbg);
  color: var(--topfooter);
}

.main-footer .fa {
  color: var(--headingcolor);
}

.contact-detail a {
    color: var(--topfooter);
}

.secondary-footer {
    background-color: var(--bottomfooterbg);
    color: var(--white);
}

.secondary-footer a {
  color: var(--white);
}

.page-content input[type="submit"], input[type*="submit"] {
  background: var(--buttonbackground);
  color: var(--white);
}

.page-content input[type="submit"]:hover, .page-content input[type="submit"]:focus, input[type*="submit"]:hover, input[type*="submit"]:focus {
  background: var(--buttonhover);
  color: var(--white);
}

.scrollToTop {
  color: var(--headingcolor);
}

.scrollToTop:hover {
  color: var(--headingcolor2);
}

@media (min-width: 0px) and (max-width: 979px) {
  .menu-trigger {
    color: var(--bodycolor);
  }
  .nav-collapse .dropdown-menu a {
    color: var(--dropdownnavnotactive);
  }
  .nav-collapse .dropdown-menu li.current a, .nav-collapse .dropdown-menu li a:hover, .nav-collapse .dropdown-menu li a:focus {
    background: var(--headingcolor);
    color: var(--white);
  }
}

/* VISITOR MAIN STYLES */

#outerborder {
 	overflow:hidden;
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0px;
    line-height: 150%;
    font-size: 16px;
}

.container {
    position: relative;
    margin: 0 auto;
    padding: 0px 20px;
}

.body-public {
    font-size: 16px;
}

a:hover {
    text-decoration: none;
}

.btn .fa {
    margin-left: 10px;
}

.btn .fa.fa-left {
    margin-right: 10px;
    margin-left: 0;
}

.buy-now-button {
    display: block;
    width: 140px;
    background-color: #ffc439;
    text-align: center;
    border-radius: 15px;
    margin: auto;
    box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.buy-now-button:hover {
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.buy-now-button img {
    width: 80px;
    padding: 4px;
}

.product-row {
    margin-top: 40px;
}

.btn.btn-lg {
    height: 42px;
    line-height: 41px;
    padding: 0 50px;
    font-size: 14px;
    font-weight: 700;
}

.table-button {
    padding: 5px 20px;
    border: 2px solid;
    background: #257d86;
    color: #FFF;
}

.table-button:hover {
    color: #FFF;
    background: #D1802F;
}

#leftcontent > div,
#rightcontent > div {
    -webkit-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75)
}

.php-reservations .btn-danger {
    background: #DC143C;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
    color: #FFF;
    background-color: #58595B;
}

h6 a {
    line-height: 35px;
    padding: 10px 20px;
    border-radius: 2px;
    text-transform: uppercase;
    transition: background 0.3s;
    border: none;
    font-size: 13px;
    text-shadow: none;
}

h6 a:hover {
    text-decoration: none;
}

.php-event_table h2 {
    font-size: 30px;
}

.php-event_ticket h2 {
    font-size: 30px;
}

.php-book_lesson a {
  text-decoration:none!important;
}

.php-book_lesson .dayheader a {
  color: #FFF;
}

.php-book_lesson table.view_weekly td.today, td.now {
  background-color: #257D86;
}

#global div.lessonbox.booked {
  background: #DC143C!important;
  color:#FFF!important;
}

#global div.lessonbox.booked a {
  color:#FFF!important;
}

.text-secondary {
    color: #58595B;
}

.bg-grey {
    background-color: #f5f5f5;
}

.btn {
    height: 34px;
    line-height: 35px;
    padding: 0 20px;
    border-radius: 2px;
    text-transform: uppercase;
    transition: background 0.3s;
    border: none;
    font-size: 13px;
    text-shadow: none;
}

.body-public #globalwrap {
    padding-top: 40px;
}

.body-class-members.php-index #globalwrap {
	padding:0px;
}

.ig-break-image {
    margin-top: 40px;
}

.home-first-section {
    margin-top: 40px;
}

.home-boxes {
    margin-top: 40px;
}

.home-box-image {
    border: 2px solid grey;
}

.home-text {
    margin: 0px 180px 0px 180px;
    text-align: center;
    line-height: 1.7em;
}

@media (max-width: 979px) {
    .home-text {
        margin: auto;
    }
}

a {
    transition: all 0.3s;
}

h1,
h2,
h3 {
    letter-spacing: 1px;
    line-height: 120%;
}

.page-content {
    padding: 50px 0;
}

.page-content h4 {
    font-size: 1.1em;
}

.page-content p + h4 {
    margin-top: 30px;
}

.news-summary {
    font-size: 18px;
}


/* Header*/

.header-wrapper {
    z-index: 1000;
}

.header-logo {
    float: left;
    margin: 30px 0;
}

.header-logo img {
    display: inline-block;
    vertical-align: middle;
}

.header-links {
    float: right;
    text-align: right;
    margin: 10px 0;
}

.header-links-contact {
    margin-bottom: 10px;
}

.header-links-contact a {
    color: #58595B;
    display: inline-block;
    vertical-align: middle;
    padding: 5px;
}

.header-links-contact a:hover {
    color: #D1802F;
    text-decoration: none;
}

.header-links-contact a .fa {
    color: #257D86;
    margin-right: 5px;
}

.main-navigation .nav {
    margin-bottom: 0px;
    text-align: center;
}

.main-navigation .nav > li > a {
    text-transform: uppercase;
    padding: 15px 10px;
    transition: 0.3s;
    display: block;
    border-radius: 0px;
    margin: 0px;
    font-size: 17px;
}

.main-navigation li {
    display: inline-block;
}

.main-navigation .dropdown-menu {
    border-radius: 0px;
    margin-top: 3px;
}

.main-navigation .dropdown-menu li {
    display: block;
}

.main-navigation .dropdown-menu > li a {
    padding: 5px 5px;
}

.main-navigation .dropdown-menu > li:not(:last-child) a {
    border-bottom: 1px solid #353C3B;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
    text-decoration: none;
    background-image: none;
}

.menu-trigger {
    padding: 0px 15px;
    font-size: 24px;
    display: inline-block;
    line-height: 30px;
    vertical-align: middle;
    cursor: pointer;
    margin-top: 10px;
}

.dropdown-menu {
    right: 0;
    left: 0;
    min-width: 190px;
}


/*End of Header */


/* Form */

.page-content form {
    width: 100%;
    max-width: 500px;
    border: 1px solid #cccccc;
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.page-content form img {
    display: none;
}

.page-content textarea,
.page-content input[type="text"],
.page-content input[type="password"],
.page-content input[type="datetime"],
.page-content input[type="datetime-local"],
.page-content input[type="date"],
.page-content input[type="month"],
.page-content input[type="time"],
.page-content input[type="week"],
.page-content input[type="number"],
.page-content input[type="email"],
.page-content input[type="url"],
.page-content input[type="search"],
.page-content input[type="tel"],
.page-content input[type="color"],
.page-content .uneditable-input,
.page-content select {
    border-radius: 0;
    padding: 8px 13px;
    width: 90%;
    border: 1px solid #e7e3e1;
    height: auto;
}

.page-content input[type="submit"], input[type*="submit"] {
    padding: 10px 30px;
    text-transform: uppercase;
    margin-top: 15px;
  border: none;
  line-height: 14px;
}

blockquote {
    margin: 0px 50px;
}

/* End of Form */

#teebooking_info a.button {
    background-color: #257D86;
    padding: 4px;
    margin: 3px;
    color: #FFF;
    display: inline-block;
}

#teebooking_info a.button:hover {
    background-color: #D1802F;
    text-decoration: none;
}

#teebooking_info a.button::before {
    content: "\f024";
    font-family: FontAwesome;
    margin-right: 5px;
}

.body-class-open_events .upcomingcomp a,
.body-class-open_events .recentcompresult a {
    background-color: #257D86;
    color: #FFF;
    padding: 5px;
    margin-top: 10px;
    display: inline-block;
    width: 200px;
    text-align: center;
}

.body-class-open_events .upcomingcomp a:hover,
.body-class-open_events .recentcompresult a:hover {
    background-color: #D1802F;
    text-decoration: none;
}

.body-class-open_events .announcedate {
    margin-left: 10px;
}

.body-class-open_events .upcomingcomp a:before,
.body-class-open_events .recentcompresult a:before {
    content: "\f024";
    font-family: FontAwesome;
    margin-right: 6px;
}

#map_container {
    width: 100% !important;
}

.maincontent {
    margin-top: 40px;
}

.body-class-visitorbooking .main-wrapper {
    margin-top: 40px;
}


/* LEFT IMAGE DISPLAY */

.image-display {
    position: relative;
    padding-bottom: 60px;
    padding-right: 15px;
    margin-bottom: 40px;
}

.image-display img {
    position: relative;
    z-index: 1;
}

.image-display img:first-child {
    width: 100%;
}

.image-display img:nth-child(2) {
    position: absolute;
    float: right;
    width: 60%;
    right: 0px;
    bottom: -40px;
}

.image-display:after {
    content: '';
    position: absolute;
    left: 60px;
    right: 4px;
    top: 40px;
    bottom: 0px;
    background-color: #f2f2f2;
    display: block;
    z-index: 0;
}


/* END LEFT IMAGE */


/*END OF VISITOR MAIN STYLES*/


/* TABLE STYLES */

table thead,
table thead th,
table.table thead,
table.table thead th {
    font-weight: 400;
    text-transform: uppercase;
}

thead a {
    color: #FFF;
}

.mem-prices.table th,
.mem-prices.table td {
    padding: 14px;
}

.body-class-the_club .thead,
.php-diary .thead {
    color: #FFF;
    background-color: #D1802F;
}

.php-knockout .knockout {
    width: 100%;
}

.php-knockout .knockout tr:nth-child(even) {
    background-color: #eeeeee;
}

.php-knockout .knockout td {
    padding: 10px;
}

.php-knockout .knockout thead td {
    border-right: 1px solid #FFF;
}


/* TEETIMES TABLE */

#myteetimes table,
#myteetimes thead,
#myteetimes th,
#myteetimes td,
#myteetimes tr {
    border: 1px solid #000;
}

#myteetimes .table th,
#myteetimes .table td {
    border: none;
}

#memteetimes {
    border: 1px solid #000;
    margin-bottom: 30px !important;
}

#memteetimes thead th {
    font-size: 14px;
    line-height: 20px;
    color: #FFF;
    border: 1px solid #000;
}

#memteetimes td {
    border-left: #000 1px solid !important;
    border-bottom: #000 1px solid !important;
}

#memteetimes tbody tr {
    border-bottom: #000 1px solid !important;
}

#globalwrap #teetimesframe table tbody td.tbooked {
    color: #000;
}

#globalwrap #teetimesframe table tbody td.tgroup {
    background-color: #627A65;
    color: #FFF;
}

#globalwrap .teebooking #date_form select {
  max-width:200px!important;
}

#memteetimes tr:nth-child(even) {
    background-color: #eeeeee;
}

.body-root-home #myteetimes tr {
    border: 1px solid #EEE;
}

#diaryTable tr:nth-child(2n+0) {
    background-color: #EEE;
    border-bottom: none;
    border-top: none;
}


/*  END TEETIME TABLES */


/* END TABLE STYLES */


/* MEMBER AREA */

#myupcoming table tr {
	font-size:15px!important;
}

.php-index .updatedate {
	font-size:15px!important;
}

.box {
    background-color: #EEE;
    padding: 20px;
    margin-bottom: 20px;
    -webkit-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75)
}

.hfswitch a:hover {
    text-decoration: none;
}

/*.body-class-members,
.body-class-loginphp {
    background-image: url('/images/resources/implementation/trianglify-min.png');
}*/

.body-class-members #globalwrap {
    background-color: #FFF;
    margin: 20px 0px 20px 0px;
    padding: 10px;
}

.body-class-members.php-igapp #globalwrap {
    background-color: #FFF!important;
}

.body-class-members.php-forum #globalwrap {
    margin: 20px;
}

.body-class-members.php-messages #globalwrap {
    margin: 20px;
}

.body-class-members.php-login #globalwrap {
    background-color: #FFF!important;
}

.body-class-members.body-root-home.php-index #globalwrap {
    background: none;
}

.body-class-members .login-btn {
    display: none;
}


/* HEALTH AND FITNESS */

.hfswitch a {
    color: #FFF;
}

.body-public .hfswitch {
    display: none;
}

.hfswitch a.hf-show-health::before {
    font-family: 'FontAwesome';
    content: '\f004';
    color: #FFF;
    font-size: 12px;
    display: inline-block;
    margin-right: 6px;
}

.hfswitch a.hf-show-golf::before {
    font-family: 'FontAwesome';
    content: '\f024';
    color: #FFF;
    font-size: 12px;
    text-decoration: none !important;
    display: inline-block;
    margin-right: 6px;
}

.php-index .alert-success {
    display: none;
}

.mem-card {
    width: 450px;
    border-radius: 25px;
    -webkit-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
}

@media (max-width: 480px) {
    .hfswitch a .hf-switch-text {
        display: none;
    }
    .hfswitch a.hf-show-health::before,
    .hfswitch a.hf-show-golf::before {
        margin-right: 0px;
    }
  .gftext {
    display:none;
  }
}


/*END HEALTH AND FITNESS */

.body-class-members .inner-slider .galleryInner.nivoInner.nivoSlider[style],
.full-wrapper {
    width: 100% !important;
    margin-left: 0px;
    margin-right: 0px;
    position: relative;
    left: 0;
    right: 0;
}

#memberRooms.table .btn:hover {
    background-color: #257D86;
}

#memberRooms.table .btn {
    height: 34px;
    line-height: 34px;
}

#memberRooms.table thead th {
    vertical-align: middle;
}

.body-class-loginphp #login {
    padding: 20px 40px;
    background-color: #FFF;
}

.body-class-loginphp #globalwrap {
    margin: 30px 0px 30px;
    background-color: #FFF;
    padding: 20px;
}

.body-class-loginphp h3 {
    margin-bottom: 20px;
}


/*NO MORE MENU */

#topmenu ul#nav li.nav-menu-information ul li.nav-menu-information a[href='/information'] {
    display: none;
}


/* END NO MORE MENU */


/*MEMBERS AREA TABLES SCROLL - MY GOLF */

.php-hcaprecord #global {
    overflow: scroll;
}

.php-myeposaccount #globalwrap {
    overflow: scroll;
}


/*MEMBERS AREA TABLE SCROLL - MY GOLF */


/*END OF MEMBER AREA*/


/* FOOTER */

.main-footer {
    padding: 15px 0;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
}

.main-footer h4 {
    font-weight: 400;
    font-size: 1.5em;
    line-height: 150%;
}

.secondary-footer {
    padding: 20px 0;
}

.main-footer .courseStatus h3 {
    font-weight: 400;
    font-size: 1.5em;
    line-height: 150%;
}

.main-footer a:hover {
    text-decoration: none;
}

/* END OF FOOTER */


/* SLIDERS */

.home-slider .galleryInner.nivoInner.nivoSlider[style],
.inner-slider .galleryInner.nivoInner.nivoSlider[style],
.full-wrapper {
    width: 100vw !important;
    height: auto !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.inner-slider,
.home-slider {
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    text-align: center;
    width: 100%;
    height: 100%;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
    box-sizing: border-box;
    opacity: 0.8;
}

.slider-overlay h3 {
    font-size: 42px;
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.slider-overlay h1 {
    font-size: 40px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 100%;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.slider-overlay .btn {
    color: #FFF;
    background-color: none;
    border: 1px solid #FFF;
    padding: 0 40px;
    margin-top: 50px;
    font-size: 18px;
    height: 42px;
    line-height: 42px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.nivo-controlNav {
    display: none;
}

.nivo-directionNav a {
    color: #FFF;
}

.nivo-directionNav a.nivo-nextNav:hover,
.nivo-directionNav a.nivo-prevNav:hover {
    display: none;
}

.nivo-directionNav a.nivo-nextNav,
.nivo-directionNav a.nivo-prevNav {
    display: none;
}

.nivo-directionNav a.nivo-nextNav:before,
.nivo-directionNav a.nivo-prevNav:before {
    font-family: FontAwesome;
    font-size: 50px;
    font-style: normal;
    font-weight: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.nivo-directionNav a.nivo-nextNav:before {
    content: "\f105";
}

.nivo-directionNav a.nivo-prevNav:before {
    content: "\f104";
}

.home-slider .galleryInner {
    max-height: 590px;
}

.home-slider .galleryInner {}

.page-gallery .galleryInner {
    margin: 0 auto;
    height: auto !important;
    max-width: 100%;
}

.page-gallery .galleryInner img {
    padding: 0 60px;
    box-sizing: border-box;
    height: auto !important;
    width: 100% !important;
}

.page-gallery .nivo-directionNav a {
    color: #58595B;
}

.page-gallery a.nivo-prevNav {
    left: 0;
}

.page-gallery a.nivo-nextNav {
    right: 0;
}

.slider-overlay-inner img {
    width: 100px;
}


/*END OF SLIDERS*/


/* RESPONSIVE STYLES */


/* DESKTOP */

@media (min-width: 979px) {
    body {
        padding-top: 155px;
    }
    body:not(.body-class-members) .header-wrapper {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }
    .top-header {
        height: 105px;
    }
    .header-logo img#logo {
        transition: width 0.5s;
    }
    .header-logo img {
        width: 240px;
    }
    .main-navigation .nav {
        display: flex;
        width: 100%;
    }
    .main-navigation .nav > li.nav-level-1 {
        flex-grow: 1;
        text-align: center;
    }
    .main-navigation .dropdown-menu > li {
        text-align: left;
    }
    .header-wrapper.affix .top-header {
        transition: height 0.5s;
    }
    .header-wrapper.affix {
        width: 100%;
        top: 0;
    }
    .header-wrapper.affix .top-header {
        height: 44px;
    }
    .header-wrapper.affix .main-navigation .nav > li > a {
        padding: 18px;
    }
    .header-wrapper.affix .logo img {
        width: 100px;
    }
    .header-wrapper.affix .logo {
        position: absolute;
        top: 5px;
        z-index: 100;
    }
    .header-links {
        transition: opacity 0.5s;
    }
    .header-wrapper.affix .header-logo {
        margin: 0px;
    }
    .header-wrapper.affix .header-links {
        margin: 0px;
        overflow: hidden;
    }
    .header-wrapper.affix .header-links .cust-log {
        display: none;
    }
    .menu-trigger {
        display: none;
    }
    .nivo-directionNav .nivo-nextNav {
        right: 5%;
    }
    .nivo-directionNav .nivo-prevNav {
        left: 5%;
    }
    .body-class-members .header-logo {
        margin: 24px 0;
    }
    .body-class-members .top-header {
        height: 100px;
    }
    body.body-class-members {
        padding-top: 0px;
    }
    body.body-class-members .header-wrapper.affix {
        position: relative;
    }
}


/* TABLET AND DESKTOP */

@media (min-width: 767px) {
    .header-links-contact a {
        margin-left: 10px;
    }
}

@media (max-width: 1200px) {
    .slider-overlay .btn {
        margin-top: 20px;
    }
}

@media (max-width: 979px) and (min-width: 767px) {
    .header-logo img {
        margin-right: 10px;
    }
}


/* TABLET AND MOBILE  */

@media (max-width: 979px) {
    .header-logo img {
        width: 165px;
    }
    .header-links {
        margin: 5px 0;
    }
    .header-links-contact {
        margin-bottom: 5px;
    }
    .header-links-contact a {
        padding: 5px 8px;
        font-size: 13px;
    }
    .main-navigation .nav {
        margin: 10px 0;
        text-align: center;
    }
    .main-navigation .nav li {
        display: block;
    }
    .main-navigation .nav > li > a {
        padding: 10px;
        border-bottom: 1px solid #26364c;
        font-weight: 400;
    }
    .main-navigation .nav li:last-child a {
        border: none;
    }
    .main-navigation .dropdown-menu {
        position: relative;
        float: none;
        box-shadow: none;
        border: 0px;
        padding: 20px 0;
        margin: 0;
    }
    .main-navigation .dropdown-menu > li > a {
        font-weight: 400;
    }
    .main-navigation .dropdown-menu > li:not(:last-child) > a {
        border: none
    }
    .top-header {
        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
    }
    .header-wrapper.affix {
        position: relative;
    }
    .table-wrapper {
        max-width: 100%;
        overflow: auto;
    }
    .table-wrapper table {
        width: auto;
    }
    #anchor-link {
        display: none !important;
    }
    .scrollToTop {
        display: none !important;
    }
    .php-reservations #swing-bg {
        display: none;
    }
  	.php-reservations #swing-bg {
    	right:60px;
	}
 	 .product img{
  	width:100%;	
  }
    .body-class-members.php-index #globalwrap {
  	padding:0px;
  }
}


/* MOBILE */

@media (max-width: 767px) {
    .header-logo {
        margin: 10px 0;
    }
    .header-logo .logo-title {
        display: none;
    }
    .header-links .btn {
        padding: 0 12px;
    }
    .header-links-contact {
        display: none;
    }
    .header-links-contact a > span {
        display: none;
    }
    .header-links-contact a > .fa {
        margin: 0;
        font-size: 16px;
    }
    footer {
        text-align: center;
    }
    /*.main-footer {
        padding: 50px;
    }*/
    .contact-detail .fa {
        display: block;
        margin: 0 0 10px 0;
    }
    .main-footer h4 {
        margin-top: 50px;
    }
    .page-gallery .nivo-directionNav a:before {
        position: absolute;
        top: 50%;
        margin-top: -10px;
    }
    .page-gallery .nivo-directionNav a.nivo-prevNav:before {
        left: 15px;
    }
    .page-gallery .nivo-directionNav a.nivo-nextNav:before {
        right: 15px;
    }
  .body-class-members.php-index #globalwrap {
  	padding:0px;
  }
}

@media (max-width: 480px) {
    .php-prefs h2 {
        font-size: 34px;
    }
    .events-table {
        font-size: 12px;
    }
    .events-table img {
        max-width: 100px !important;
    }
    fieldset.span12 {
        padding: 0px !important;
        font-size: 12px;
    }
    .php-reservations .table td {
        padding: 4px;
    }
    .teaser {
        padding: 10px 40px;
    }
}


/* END RESPONSIVE */


/* SCROLL TO TOP */

.scrollToTop {
    padding: 0px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
    font-size: 26px;
    z-index: 100;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    line-height: 42px;
}

/* END SCROLL TO TOP */


/* ANCHOR LINK SCROLL */

#anchor-link {
    z-index: 101;
    text-align: center;
    width: 155px;
    text-shadow: 1px 1px 1px #333;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #FFF;
    text-transform: uppercase;
    display: block;
    border-radius: 50%;
    margin: 0 auto;
    font-size: 13px;
    position: relative;
    bottom: 175px;
    opacity: 0.9;
}

#anchor-link:after {
    content: "\f107";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    right: 0;
    font-size: 22px;
    bottom: -20px;
    line-height: 20px;
}

#anchor-link:hover {
    text-decoration: none;
}


/* END ANCHOR LINK SCROLL */


/* TEASER */

.teaser {
    text-align: center;
    padding: 100px;
    background-color: #007824;
    color: #E0EAE3;
    margin-top: 40px;
}

.teaser a {
    color: #FFF;
    text-decoration: underline;
}

.teaser h2 {
    margin-bottom: 40px;
}

.teaser p {
    margin-bottom: 20px;
}

.teaser ul {
    list-style: none;
    margin: 0px;
}

.teaser li {
    display: inline-block;
}

.teaser li:not(:last-child):after {
    content: "|";
}

.teaser ul a {
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    font-size: 13px;
    letter-spacing: 1px;
}

.teaser.membership-teaser {
    background: url("/images/resources/newmarketing/testimonials-background.jpg");
}


/* END TEASER */


/* HOME BOXES */

.home-box-image {
    position: relative;
    width: 100%;
    height: auto;
    transform-origin: 50% 50%;
    display: table;
    text-align: center;
    overflow: hidden;
}

.box-image-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    text-align: center;
    background-color: rgba(226, 232, 233, 0.7);
    opacity: 0;
}

.home-box-image p {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    margin: 0;
    color: #000;
    font-size: 17px;
    text-transform: uppercase;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.home-box-image:hover .box-image-text {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.home-box-image:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    transition: all 0.4s ease-in-out;
}


/* END HOME BOXES */


/* ADD MORE SPACE TO SITE CONTENT EDITOR */

.CodeMirror-wrap .CodeMirror-scroll {
    position: relative;
    height: 1000px;
    outline: none;
    overflow: auto;
    overflow-x: auto;
}


/* END MORE SPACE TO CONTENT EDITOR */

.php-reservations #swing-bg {
    position: absolute;
    top: 0;
    right:120px;
}

.refresh-ttb a {
  color:#FFF!important;
}

/* VISITOR BOOKING REDUCED RULES */

.body-class-visitorbooking .teebooking {
  display: inline-block;
  width: 100%;
}

.price .badge {
  border-radius: 50%;
  display: inline-block;
  width: 34px;
  line-height: 36px;
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #f39c0b;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 1, 0.7);
  font-size:16px;
  border:1px solid #fff
}

@media (max-width: 480px){
.body-class-visitorbooking .pricegroup span.price {
	display:block
	}
  
  .body-class-visitorbooking .pricegroup .price .badge {
    margin-left:10px;
    margin-bottom:10px;
  	}
}

/* VISITOR BOOKING REDUCED RULES */

.body-class-visitorbooking .pricegroup table  {
	width:100%;
}

.body-class-visitorbooking div.pricegroup table tbody td a {
  width:100%;
}

/* scorecard table */

.scorecard {background-color: #f5f5f5; overflow:hidden;}
.scorecard td { color: #000; text-align: center;}
.scorecard th { color: #000; text-align: center;}

.scorecard td:first-child + td + td + td, 
.scorecard td:first-child + td + td + td + td + td + td,
.scorecard td:first-child + td + td + td + td + td + td + td + td + td {
  color:red;
}

table.scorecard {
    border-collapse:separate;
    border:solid lightgrey 1px;
    -moz-border-radius:35px;
  	overflow:hidden;
 	-webkit-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
	box-shadow: 9px 6px 18px -6px rgba(0, 0, 0, 0.75);
}

.page-content table .White {
  background: white;
  color: #000;
}

.scorecard thead tr th {background: #fedd74 !important; color:black !important;}

.page-content table .Yellow {
  background: #fff476;
  color: #000;
}

.page-content table .Red {
  background: #ff3b3b;
  coloR: #FFF;
}

.body-public .website-design-content { display: none;}

.body-class-teeloginphp label[for=contact_prefs]
{
  width:100%;
}

/* sticky footer */

@media (min-width: 1200px) {
  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 {
   margin-bottom: 422px; 
  }
  body[class*="php-"] footer, .body-class-members footer, .body-class-visitorbooking footer, .body-class-getawayletter footer, [class*="body-class-setcoursestatus"] footer, .body-class-opens footer, .body-loginpage footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 382px;
  }
}

/* club choose */

body.body-class-club_choose {
  padding-top: 0px;
}

.body-class-club_choose .header-wrapper {
  display: none;
}

.body-class-club_choose footer {
  display: none;
}

.body-class-club_choose .main-wrapper > .container {
  width: 100%;
  padding: 0px;
}

.body-class-club_choose .container {
  padding: 0px;
}

.club-choose-header {
  background: #fff;
  padding: 15px 0px;
}

.cch-logo img {
  width: 150px;
}

.cch-ig-logo {
  text-align: right;
}

.cch-ig-logo img {
  width: 100px;
  padding-top: 20px;
}

.club-choose-content {
  background: #eee;
  padding: 30px 0px;
}

.club-choose-content .container {
  padding: 0px;
  background: #fff;
}

.ccc-space {
  padding: 0px 20px;
}

.club-choose-intro {
  text-align: center;
  padding: 10px 0px 30px;
}

.club-choose-footer {
  text-align: center;
  padding: 20px 0px 10px;
}

.club-choose-footer img {
  width: 120px;
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.ccc-logo img:hover {
  cursor: pointer;
  transform: scale(1.05,1.05);
}

@media (min-width: 0px) and (max-width: 767px) {
  .ccc-logo {
    text-align: center;
  }
  .ccc-logo img {
    max-width: 240px;
  }
  .cch-logo {
    float: left;
    width: auto;
  }
}

.php-reservations #reservations_basket_status {
  margin-top:20px;
}

/* new whats on */

.wo-grid {
  margin-top: 60px;
  padding: 10px;
  background: #ddd;
}

.wo-row {
  display: grid;
  grid-template: auto / 31.5% 31.5% 31.5%;
  margin: 20px 0px;
  grid-gap: 30px;
  grid-auto-rows: auto;
}

.wo-additional, .wo-additional-two, .wo-additional-three, .wo-additional-four {
  display: inline-block;
  width: 100%;
}

.wo-row .wo-box:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 1;
}

.wo-row .wo-box:nth-child(2) {
  grid-column-start: 2;
  grid-column-end: 2;
}

.wo-row .wo-box:nth-child(3) {
  grid-column-start: 3;
  grid-column-end: 3;
}

.wo-grid .wo-box .wo-remove-box {
  display: none;
}

.wo-box .wo-add-box {
  display: none;
}

.php-ckeditor .wo-grid .wo-box:last-child .wo-add-box {
  display: block;
}

.body-class-members.body-contentpage .wo-add-row {
  display: none !important;
}

.wo-remove-row {
  display: none;
}

.wo-poster img {
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.wo-box:hover img {
  transform: scale(1.03,1.03);
}

.wo-desc {
  background: #fff;
  text-align: center;
  padding: 10px;
}

.wo-desc h5 a {
  display: inline-block;
  padding: 8px 16px;
  background: #257d86;
  color: #fff;
}

.wo-desc h5 a:hover {
  background: #D1802F;
  color: #fff;
}

.php-ckeditor .wo-grid .wo-box:last-of-type .wo-remove-box {
  display: block;
}

.php-ckeditor .wo-grid .wo-row .wo-box:first-child .wo-remove-box {
  display: none;
}

.php-ckeditor .wo-grid .wo-box:last-of-type .wo-add-box {
  display: block !important;
}

.php-ckeditor .wo-grid .wo-row .wo-box:nth-child(3) .wo-add-box {
  display: none !important;
}

.php-ckeditor.wo-ar-two .wo-grid .row-one .wo-box .wo-add-box, .php-ckeditor.wo-ar-two .wo-grid .row-one .wo-box .wo-remove-box, .php-ckeditor.wo-ar-two .wo-add-row {
  display: none !important;
}

.php-ckeditor.wo-ar-three .wo-grid .row-one .wo-box .wo-add-box, .php-ckeditor.wo-ar-three .wo-grid .row-one .wo-box .wo-remove-box, .php-ckeditor.wo-ar-three .wo-grid .wo-additional .wo-box .wo-add-box, .php-ckeditor.wo-ar-three .wo-grid .wo-additional .wo-box .wo-remove-box, .php-ckeditor.wo-ar-three .wo-add-row, .php-ckeditor.wo-ar-three .wo-add-row-two, .php-ckeditor.wo-ar-three .wo-additional .wo-remove-row {
  display: none !important;
}

.php-ckeditor.wo-ar-four .wo-grid .row-one .wo-box .wo-add-box, .php-ckeditor.wo-ar-four .wo-grid .row-one .wo-box .wo-remove-box, .php-ckeditor.wo-ar-four .wo-grid .wo-additional .wo-box .wo-add-box, .php-ckeditor.wo-ar-four .wo-grid .wo-additional .wo-box .wo-remove-box, .php-ckeditor.wo-ar-four .wo-grid .wo-additional-two .wo-box .wo-add-box, .php-ckeditor.wo-ar-four .wo-grid .wo-additional-two .wo-box .wo-remove-box, .php-ckeditor.wo-ar-four .wo-add-row, .php-ckeditor.wo-ar-four .wo-add-row-two, .php-ckeditor.wo-ar-four .wo-add-row-three, .php-ckeditor.wo-ar-four .wo-additional-two .wo-remove-row, .php-ckeditor.wo-ar-four .wo-additional .wo-remove-row {
  display: none !important;
}

.php-ckeditor.wo-ar-five .wo-grid .row-one .wo-box .wo-add-box, .php-ckeditor.wo-ar-five .wo-grid .row-one .wo-box .wo-remove-box, .php-ckeditor.wo-ar-five .wo-grid .wo-additional .wo-box .wo-add-box, .php-ckeditor.wo-ar-five .wo-grid .wo-additional .wo-box .wo-remove-box, .php-ckeditor.wo-ar-five .wo-grid .wo-additional-two .wo-box .wo-add-box, .php-ckeditor.wo-ar-five .wo-grid .wo-additional-two .wo-box .wo-remove-box, .php-ckeditor.wo-ar-five .wo-grid .wo-additional-three .wo-box .wo-add-box, .php-ckeditor.wo-ar-five .wo-grid .wo-additional-three .wo-box .wo-remove-box, .php-ckeditor.wo-ar-five .wo-add-row, .php-ckeditor.wo-ar-five .wo-add-row-two, .php-ckeditor.wo-ar-five .wo-add-row-three, .php-ckeditor.wo-ar-five .wo-add-row-four, .php-ckeditor.wo-ar-five .wo-additional-three .wo-remove-row, .php-ckeditor.wo-ar-five .wo-additional-two .wo-remove-row, .php-ckeditor.wo-ar-five .wo-additional .wo-remove-row  {
  display: none !important;
}

.php-ckeditor .wo-remove-row {
  display: block;
}

.php-ckeditor .wo-add-box h5 {
  display: inline-block;
  padding: 8px 16px;
  background: #257d86;
  color: #fff;
  margin: 10px 0px;
}

.php-ckeditor .wo-add-box h5:hover {
  background: #D1802F;
  cursor: pointer;
}

.php-ckeditor .wo-remove-box h5 {
  display: inline-block;
  padding: 8px 16px;
  background: #257d86;
  color: #fff;
  margin: 10px 0px;
}

.php-ckeditor .wo-remove-box h5:hover {
  background: #D1802F;
  cursor: pointer;
}

.php-ckeditor .wo-add-row h5, .php-ckeditor .wo-add-row-two h5, .php-ckeditor .wo-add-row-three h5, .php-ckeditor .wo-add-row-four h5 {
  display: inline-block;
  padding: 8px 16px;
  background: #257d86;
  color: #fff;
  margin: 10px 0px;
}

.php-ckeditor .wo-add-row h5:hover, .php-ckeditor .wo-add-row-two h5:hover, .php-ckeditor .wo-add-row-three h5:hover, .php-ckeditor .wo-add-row-four h5:hover {
  background: #D1802F;
  cursor: pointer;
}

.php-ckeditor .wo-remove-row h5 {
  display: inline-block;
  padding: 8px 16px;
  background: #257d86;
  color: #fff;
  margin: 10px 0px;
}

.php-ckeditor .wo-remove-row h5:hover {
  background: #D1802F;
  cursor: pointer;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .wo-row {
    grid-template: auto / 31% 31% 31%;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .wo-row {
    grid-template: auto / 30.25% 30.25% 30.25%;
  }
  .event-wrapper{
    flex:1;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .wo-row {
    max-width: 350px;
    display: block;
    margin: 20px auto;
  }
  .wo-row .wo-box {
    margin: 30px 0px;
  }
  .wo-row .wo-box:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 1;
  }
  .wo-row .wo-box:nth-child(2) {
    grid-column-start: 1;
    grid-column-end: 1;
  }
  .wo-row .wo-box:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 1;
  }
}

/* end new whats on styles */

/* Whats On Flex style */

.events-container{
  display:flex;
  flex-wrap: wrap;
  flex: 0 0 33.333333%;
  justify-content:center;
  align-items:center;
}

.event-wrapper{
  display:flex;
  flex-direction:column;
  padding:20px;
  margin:40px 15px 0px 15px;
  border-radius:10px;
  background-color:#eee;
  max-width:300px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.event-poster img {
  max-width:100%:
}

.event-wrapper:hover {
  transform: scale(1.03,1.03);
}

.event-details {
  min-height:165px;
  margin: 20px 0px 10px 0px;
}

.event-book {
  display:flex;
  justify-content:center;
  align-items:center;
}

.event-book {
  width: 100%;
  display: block;
}

.event-book h5 {
  margin-bottom: 0px;
}

.event-book h5 a {
  display: inline-block;
  padding: 6px 12px;
  background: #257d86;
  color: #fff;
  width: calc(100% - 24px);
  text-align: center;
  font-weight: 400;
  line-height: 28px;
  text-transform: uppercase;
}

.event-book h5 a:hover {
  background: #D1802F;
  color: #fff;
}

.event-book button {
 width:100%;
}

.event-wrapper .remove-event {
  font-size: 20px;
  text-align:right;
  color:red;
  margin-top:-30px;
  margin-right:-20px;
  cursor:pointer;
}

.php-ckeditor .events-toolbar {
  display:flex;
  flex-direction:column;
  justify-content:center;
  background-color:#ddd;
  margin:50px 0px;
  padding:20px;
  text-align:center;
  border-radius:20px;
}

.body-class-members.body-contentpage .events-toolbar {
  display:none;
}

.body-class-members.body-contentpage .remove-event {
  display:none;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .event-wrapper {
    flex: 25%;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .event-wrapper {
    flex: 40%;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .event-details {
    min-height: 0px;
  }
}

.php-ckeditor .events-container .event-wrapper:last-child .remove-event {
  display: none;
}

/* end flex Whats On */

.php-club_events #globalwrap {
  padding:5px 20px;
  margin-top:30px;
  background-color:#eee;
  border-radius:10px;
}

.php-event_ticket .global {
  margin-top:20px;
}

/* HIDE ACCOUNTS */
/* Hide all Top Up Options from Second Purse App + Web 
.php-myeposaccount .withLinksWrapper:nth-of-type(2) .links > span, .php-mobile_topup .button-container:nth-of-type(2) > span {
  	display:none;
}

Display first four top up options WEB
.php-myeposaccount .withLinksWrapper:nth-of-type(2) .links > span:nth-of-type(1), .php-myeposaccount .withLinksWrapper:nth-of-type(2) .links > span:nth-of-type(2),.php-myeposaccount .withLinksWrapper:nth-of-type(2) .links > span:nth-of-type(3), .php-myeposaccount .withLinksWrapper:nth-of-type(2) .links > span:nth-of-type(4) {
  	display:inline;
}

Display first four top up options APP
.php-mobile_topup .button-container:nth-of-type(2) > span:nth-of-type(1), .php-mobile_topup .button-container:nth-of-type(2) > span:nth-of-type(2),.php-mobile_topup .button-container:nth-of-type(2) > span:nth-of-type(3), .php-mobile_topup .button-container:nth-of-type(2) > span:nth-of-type(4) {
  	display:block;
}*/

/* live scoring */

.php-liveleaguescoring table {
  width: 100%;
  margin: 20px 0px;
}

.php-mobile_topup a['data-ajax-data-targeted="#greenfee_purse_topup_40"'] {
  display:none;
}

.php-countyclubs #globalwrap {
  padding-top:40px;
}

.product-buy-now img {
  display:block;
  margin:0 auto;
}

.body-class-google_map_test .header-wrapper {
  display: none;
}

.body-class-google_map_test {
  padding-top: 0px;
}

.body-class-google_map_test .container {
  width: auto;
  padding: 0px;
}

.body-class-google_map_test #map_container {
  height: 100vh !important;
}

.cust-log {
  float:left;
  margin-right:10px;
}

.php-ckeditor .main-wrapper {
  margin-top: 160px;
}

/* news letter */

@media (min-width: 0px) and (max-width: 767px) {
  .php-newsletters table.split-table tr {
    display: flex;
    flex-direction: column;
  }
  .php-newsletters table.split-table tr > td {
    flex: 1 1 0;
    width: auto;
  }
  .php-newsletters table {
    width: 100%;
  }
  .php-newsletters table.header img, .php-newsletters table.main-table img {
    width: 100%;
  }
  .php-newsletters table.header .club-logo img  {
    width: 80px;
  }
  .php-newsletters table.split-table img {
    width: 100%;
  }
  .php-newsletters table.footer tr {
    display: flex;
    flex-direction: column;
  }
  .php-newsletters table.footer tr > td {
    flex: 1 1 0;
    width: auto !important;
    padding: 5px 2.5%;
  }
  .php-newsletters table.split-table tr.flip-flex {
    flex-direction: column-reverse;
  }
  .php-newsletters .header .club-logo {
    display: block;
    position: relative;
    right: 0px;
    top: 0px;
    background: #0d3674;
  }
  .php-newsletters .border-table .split-table td {
    padding: 0px 2.5%;
  }
  .php-newsletters .border-table-alt .split-table td {
    padding: 0px 2.5%;
  }
}

/* custom page template */

.php-ckeditor .extra-nav, .php-ckeditor .carousel-nav {
  position: fixed;
  top: 40px;
  background: #171717;
  padding: 5px 0px;
  width: 100%;
  z-index: 100;
}

.php-ckeditor .extra-nav a, .php-ckeditor .carousel-nav a {
  display: inline-block;
  padding: 5px 10px;
  background: var(--buttonbackground);
  margin-right: 5px;
  color: var(--white);
  font-size: 14px;
}

.php-ckeditor .extra-nav a:hover, .php-ckeditor .extra-row a:focus, .php-ckeditor .carousel-nav a:hover {
  background: var(--buttonhover);
  cursor: pointer;
}

.php-ckeditor .extra-nav-tooltip i {
  color: var(--buttonbackground);
  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: var(--buttonhover);
  cursor: help;
}

.php-ckeditor .extra-nav-tooltip-text {
  display: block;
  color: var(--white);
  margin-top: 10px;
  height: 0px;
  opacity: 0;
  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;
}

.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 */
}

.two-equal-added.flex-row {
  display: flex;
}

.two-equal-added.flex-row .ie-col {
  flex: 1 1 0;
}

.two-equal-added.flex-row .ie-col:first-child {
  margin-right: 20px;
}

.two-equal-added.flex-row  .ie-col:last-child {
  margin-left: 20px;
}

.two-unequal-added.flex-row {
  display: flex;
}

.two-unequal-added .main-col {
  width: 70%;
  margin-right: 20px;
}

.two-unequal-added .sidebar-col {
  width: 30%;
  margin-left: 20px;
}

.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;
}

.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;
}

.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;
}

.added-section-remove, .added-accordion-remove {
  position: absolute;
  top: -2px;
  right: 0px;
  width: 30px;
  height: 30px;
}

.added-section-remove .asr-cross, .added-accordion-remove .asr-cross {
  width: 30px;
  height: 2px;
  background: #f00;
  content: '';
  display: inline-block;
}

.added-section-remove:hover, .added-section-remove:focus, .added-accordion-remove:hover, .added-accordion-remove:focus {
  cursor: pointer;
}

.added-section-remove .asr-cross-1, .added-accordion-remove .asr-cross-1 {
  transform: rotate(45deg);
  position: absolute;
  top: 13px;
  left: 0px;
}

.added-section-remove .asr-cross-2, .added-accordion-remove .asr-cross-2 {
  transform: rotate(-45deg);
  position: absolute;
  top: 13px;
  left: 0px;
}

.added-section-move-up, .added-accordion-move-up {
  position: absolute;
  top: -2px;
  right: 100px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.added-section-move-up:hover, .added-accordion-move-up:hover {
  cursor: pointer;
}

.added-section-move-down, .added-accordion-move-down {
  position: absolute;
  top: -2px;
  right: 50px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.added-section-move-down:hover, .added-accordion-move-down:hover {
  cursor: pointer;
}

.php-ckeditor .wysiwyg-editable {
  border: 2px dashed #000;
}

.php-ckeditor .header-wrapper {
  display: none;
}

.php-ckeditor .additional-boxes .inserted-block:first-child .added-section-move-up, .php-ckeditor .additional-carousel-items .custom-carousel-item:first-child .added-section-move-up {
  display: none;
}

.php-ckeditor .additional-boxes .inserted-block:last-child .added-section-move-down, .php-ckeditor .additional-carousel-items .custom-carousel-item:last-child .added-section-move-down {
  display: none;
}

.php-ckeditor .additional-accordions > div:nth-of-type(2) .added-accordion-move-up {
  display: none;
}

.php-ckeditor .additional-accordions .inserted-accordion:last-child .added-accordion-move-down {
  display: none;
}

/* mobile */

@media (min-width: 0px) and (max-width: 767px) {
  .two-equal-added.flex-row {
    flex-direction: column;
  }
  .two-equal-added.flex-row .ie-col:first-child {
    margin: 0px 0px 15px;
  }
  .two-equal-added.flex-row .ie-col:last-child {
    margin: 15px 0px 0px;
  }
  .two-unequal-added.flex-row {
    flex-direction: column;
  }
  .two-unequal-added .main-col {
    width: auto;
    margin: 0px 0px 15px;
  }
  .two-unequal-added .sidebar-col {
    width: auto;
    margin: 15px 0px 0px;
  }
  .two-unequal-added.flex-row.flip-flex {
    flex-direction: column-reverse;
  }
  .two-unequal-added.flip-flex .main-col {
    margin: 0px 0px 15px;
  }
  .two-unequal-added.flip-flex .sidebar-col {
    margin: 15px 0px 0px;
  }
  .three-equal-added.flex-row {
    flex-direction: column;
  }
  .three-equal-added.flex-row .ie-col:first-child {
    margin: 0px 0px 15px;
  }
  .three-equal-added.flex-row .ie-col:nth-child(2) {
    margin: 15px 0px;
  }
  .three-equal-added.flex-row .ie-col:last-child {
    margin: 15px 0px 0px;
  }
}

/* end custom page templates */

/* MOBILE VIEW SWAP HOME LAYOUT
@media (min-width: 0px) and (max-width: 767px) {
  .body-class-members.php-index #globalwrap .row-fluid {
    display:flex;
    flex-direction:column;
  }
  .body-class-members.php-index #rightcontent {
    display:flex;
    flex-direction:column;
    order:-1;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(1) {
  	order:1;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(2) {
  	order:7;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(3) {
  	order:4;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(4) {
  	order:3;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(5) {
  	order:2;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(6) {
  	order:5;
   }
  .body-class-members.php-index #rightcontent>div:nth-of-type(7) {
  	order:6;
   }
}
*/

#onlineSignupContainer a.btn {
  color:white!important;
}

#onlineSignupContainer.candidate a {
  color:#257D86!important;
}

.php-newsletters .green-head .header .club-logo {
  background: #4d6136;
}

.php-newsletters .blue-head .header .club-logo {
  background: #114796;
}

/* accordions custom public */

.body-contentpage .additional-accordions .added-section-accordion {
  display: none;
}

.body-contentpage .additional-accordions .added-accordion-move-up {
  display: none;
}

.body-contentpage .additional-accordions .added-accordion-move-down {
  display: none;
}

.body-contentpage .additional-accordions .added-accordion-remove {
  display: none;
}

.body-contentpage .inserted-accordion {
  margin: 20px 0px;
}

.body-contentpage .accordion-title:hover {
  cursor: pointer;
}

.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;
}

.body-contentpage .accordion-content {
  display: none;
}

/* accordions custom page editor */

.php-ckeditor .added-section-accordion {
  display: inline-block;
  padding: 6px 10px;
  background: #257D86;
  color: #fff;
  margin-top: 10px;
}

.php-ckeditor .added-section-accordion:hover {
  background: #D1802F;
  cursor: pointer;
}

.php-ckeditor .inserted-accordion {
  position: relative;
  padding: 30px 0px;
}

/* carousel custom editor */

.custom-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

#additional-carousel-items {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  left: 0px;
  align-items: center;
  transition: all 1000ms ease-in-out;
  -moz-transition: all 1000ms ease-in-out;
  -webkit-transition: all 1000ms ease-in-out;
}

.custom-carousel-item {
  width: 390px;
  display: inline-block;
  margin-right: 20px;
  flex-shrink: 0;
}

.cci-pic {
  position: relative;
}

.cci-pic img {
  max-height: 210px;
  height: 210px;
  object-fit: cover;
  width: 100%;
}

.portrait-image .cci-pic img {
  max-height: 420px;
  height: 420px;
}

.cci-pic .cci-content {
  position: absolute;
  bottom: 30px;
  left: 10px;
  right: 10px;
  color: #fff;
}

.cci-content h4 {
  color: #fff;
}

.php-ckeditor.no-extra-nav .extra-nav, .php-ckeditor.no-carousel-nav .carousel-nav {
  display: none;
}

.php-ckeditor .custom-carousel-item {
  position: relative;
  padding: 30px 0px;
  margin: 30px 20px;
}

.php-ckeditor #additional-carousel-items {
  display: block;
}

/* Weather Styles */
.weathers {
  display:flex;
}
  .weatherSingle{
    padding:0px 15px;
  }