/*GENERAL STYLES*/

.CodeMirror-wrap .CodeMirror-scroll {
  height: 600px;
}

/* Colours to change */

:root {
  --bg:#eee;
  --headingcolor: #ae9758;
  --headerbackground: #31302f;
  --bordercolor: #ae9758;
  --footerbackground: #31302f;
  --footertextcolor: #fff;
  --buttonbackground: #ae9758;
  --pagelink: #144c85;
  --pagelinkactive: #adaeb0;
  --navnotactive: #fff;
  --navactive: #adaeb0;
  --hamburgerline: #fff;
  --tableheaderbg: #ae9758;
  --tableheadercolor: #fff;
  --mobilenavnotactive: #fff;
  --mobilenavactive: #adaeb0;
  --logowidth: 70px;
  --dropdownbg: #525252;
}

body {
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: 'Montserrat', sans-serif;
}

#globalwrap {
    background: rgba(255,255,255,0.8);
    margin-bottom: 20px;
  margin-top: 40px;
    padding: 20px;
  border: 2px solid var(--bordercolor);
}

.php-index #leftcontent > div, .php-index #rightcontent > div {
  border: 2px solid var(--bordercolor);
  background: rgba(255,255,255,0.8);
}

.php-index[onload*="document"] #globalwrap {
  border: 2px solid var(--bordercolor);
}

@media (min-width: 0px) and (max-width: 767px) {
  #globalwrap {
    border: 2px solid var(--bordercolor);
  }
  .php-index #leftcontent > div, .php-index #rightcontent > div {
    border: 2px solid var(--bordercolor);
  }
  .php-index[onload*="document"] #globalwrap {
    border: 2px solid var(--bordercolor);
  }
}

a {
    color: var(--pagelink);
}

a:hover {
    text-decoration: none;
    color: var(--pagelinkactive);
}

h1 {
  color: var(--headingcolor);
}

h2 {
  color: var(--headingcolor);
}

h3 {
  color: var(--headingcolor);
}

/* buttons */

h5 a, a.btn, button.btn, input[type*="submit"] {
  display: inline-block;
  padding: 8px 12px;
  background: var(--buttonbackground);
  color: white;
  border-radius: 0px;
  text-shadow: none;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

h5 a:hover, a.btn:hover, button.btn:hover, input[type*="submit"]:hover {
  color: #000;
  background: #adaeb0;
}

/* header and nav colours */

.main-navigation {
    background: var(--headerbackground);
    margin-bottom: 20px;
}

.navbar-inverse .nav > li > a,
.navbar-inverse .nav > li > a {
    font-size: 16px;
    text-transform: uppercase;
    color: var(--navnotactive);
}

.navbar-inverse .nav > li > a:focus,
.navbar-inverse .nav > li > a:hover {
    color: var(--navactive);
}

.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 {
    color: var(--navactive);
    background: transparent;
    box-shadow: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a,
.nav-level-2.current a {
  	color: var(--navactive);
}

.open > .dropdown-menu {
    background: var(--dropdownbg);
  	min-width: 200px;
}

.dropdown-menu > li > a {
  color: var(--navnotactive);
}

.dropdown-menu > li > a:hover {
    color: var(--navactive);
  	background-color: #525252;
    background-image: none
}

.navbar-inverse .nav-collapse .dropdown-menu > li.current > a {
  color: var(--navactive);
}

.navbar .nav li ul.dropdown-menu > li {
    margin: 0;
    display: block;
    float: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  	padding:6px 12px;
}

#hamburger-icon .line {
	background: var(--hamburgerline);
}

/* members page borders */

#latestcomp,
#upcomingcomps,
#previouscomps,
#fpmessagediv,
#admin_dash,
.announcements,
#myupcoming,
#myteetimes,
.news,
.members-mobile-scoreentry,
#halloffame {
    border: 1px solid var(--bordercolor);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 1, 0.7);
}

/* table colours */

thead {
    background: var(--tableheaderbg);
    color: var(--tableheadercolor);
}

thead a {
    color: white;
}

thead a:hover {
    color: white;
}

/* footer colours */

.footer-outerborder {
    background: var(--footerbackground);
    color: var(--footertextcolor);
}

.copywrite p {
    color: #fff;
}

/* mobile menu colours */

@media (min-width: 0px) and (max-width: 979px) {
	.navbar-inverse .nav-collapse .nav > li > a,
    .navbar-inverse .nav-collapse .dropdown-menu a {
        color: var(--mobilenavnotactive);
        text-align: center;
    }
    .navbar-inverse .nav-collapse .nav > li > a:hover,
    .navbar-inverse .nav-collapse .nav > li > a:focus,
    .navbar-inverse .nav-collapse .dropdown-menu a:hover,
    .navbar-inverse .nav-collapse .dropdown-menu a:focus {
        background-color: transparent;
        color: var(--mobilenavactive);
    }
}

#login {
    padding: 20px 40px;
    text-align: center;
}

.php-weatherfg .image-day {
    background: #87CEEB;
}

.php-messages .well-large {
    padding: 0px;
}

.php-halloffame h1 {
    font-size: 24.5px;
}

.php-roundmgmt .dateperiods {
    float: none;
}

.php-roundmgmt #globalwrap {
    overflow: scroll;
}

#login fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    display: inline-block;
    transform: translateX(-90px);
}

.php-hcaprecord #global {
    overflow: scroll;
}

#dirbar a {
  color:white;
}

/*HEADER*/

.navbar-inverse .navbar-inner {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: 10px;
    float: right;
}

#header .main-logo a {
    z-index: 100;
    position: relative;
}

.main-logo img {
    width: var(--logowidth);
    padding: 5px 20px;
}

#header .main-logo img {
    float: left;
}

.navbar .nav {
    margin: 20px 10px;
}

.club-maincontent {
    padding: 20px;
}

.menu-trigger {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    z-index: 100;
    width: 75px;
    height: 80px;
    color: #FFF;
    border: none;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 0;
}

#hamburger-icon .line {
    display: block;
    height: 4px;
    position: absolute;
    right: 18px;
    border-radius: 0px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

#hamburger-icon .line.line-1 {
    top: 15px;
    width: 50%;
}

#hamburger-icon .line.line-2 {
    top: 25px;
    width: 50%;
}

#hamburger-icon .line.line-3 {
    top: 35px;
    width: 50%;
}

.menu-text {
    position: absolute;
    right: 18px;
    bottom: 12px;
    color: #FFF;
    font-size: 13px;
    transition: all linear 0.2s;
}

#hamburger-icon.active .line-1 {
    transform: translateY(10px) translateX(0) rotate(45deg);
    -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
    -moz-transform: translateY(10px) translateX(0) rotate(45deg);
    width: 45%;
}

#hamburger-icon.active .line-2 {
    opacity: 0;
}

#hamburger-icon.active .line-3 {
    transform: translateY(-10px) translateX(0) rotate(-45deg);
    -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
    -moz-transform: translateY(-10px) translateX(0) rotate(-45deg);
    width: 45%;
}


/*MAIN CONTENT*/

.teetimesholder th,
#memteetimes th,
.teetimesholder thead tr {
    border: #706862 1px solid;
}

table.teetimesholder td {
    border-right: 1px #43474d solid;
}

#memteetimes {
    border: 1px #706862 solid;
}

#memteetimes td {
    border-left: #706862 1px solid !important;
    border-bottom: #706862 1px solid !important;
}

#memteetimes tbody tr {
    border-bottom: #706862 1px solid !important;
}

#global .tabs ul {
    background: #706862 !important;
}

#leftcontent > div,
#rightcontent > div {
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 20px;
	position: relative;
}

.php-index #globalwrap .weatherMini {
  position: absolute;
  top: 2px;
  right: 2px;
}

.php-index #globalwrap .weatherMini i {
  font-size: 24px;
}

#globalwrap .adminWrapper table.admin thead th,
#globalwrap .adminWrapper table.admin thead td {
    color: white!important;
}

.inner-page .container {
    background: none;
    margin-left: -20px;
}

/*FOOTER*/

.footer-left,
.ig-logo {
    padding: 10px 0px;
}

.ig-logo {
    text-align: right;
}

.body-root-roundmgmt\.php #ui-datepicker-div {
    display: none;
}

.gr-textarea-btn {
    display: none;
}


/*Responsive Styles (@media)*/

@media (min-width:979px) and (max-width: 3000px) {
    .menu-trigger {
        display: none;
    }
}

@media (max-width: 1600px) {}


/* Ipad Landscape */

@media (max-width: 1200px) {
    .main-logo img {
        padding: 5px 10px;
    }
    .navbar .nav > li > a {
        padding: 10px 7px 10px;
    }
}


/* Ipad Portrait */

@media (max-width: 979px) {
    navbar .nav {
        margin: 31px 0px 0px 21px;
    }
    .navbar-inverse .navbar-inner {
        float: none;
    }
    .navbar-inverse .navbar-inner {
        margin-left: 0px;
    }
    .navbar .nav > li > a {
        padding: 0px;
    }
    .navbar-inverse .btn-navbar {
        color: #ffffff;
        text-shadow: none;
        background-color: transparent;
        background-image: none;
        margin: 20px 35px 20px 0px;
    }
    navbar {
        margin-top: -90px;
        padding-bottom: 36px;
        margin-right: 20px;
    }
    #leftcontent,
    #rightcontent {
        padding-top: 20px;
    }
    .header-wrapper .navbar-inverse .nav > li {
        display: block;
    }
    .nav li {
        padding-top: 10px;
    }
    body.php-viewround table {
        font-size: 13px;
    }
    .php-viewround .table th,
    .table td {
        padding: 5px;
    }
    
    .nav-collapse .nav > li > a,
    .nav-collapse .dropdown-menu a {
        padding: 0px;
    }
}


/* Mobile Phone */

@media (max-width: 767px) {
    body {
        padding: 0 0;
    }
    .ig-logo {
        text-align: center;
    }
    #globalwrap .teebooking #date_form .tabs li.current a {
        background: white!important;
    }
    .copywrite,
    .ig-logo {
        padding: 5px 5px;
    }
    #login fieldset {
        transform: translateX(0px);
    }
    .navbar-fixed-top,
    .navbar-fixed-bottom,
    .navbar-static-top {
        margin-left: 0px;
        margin-right: 0px;
    }
    .navbar-inverse .navbar-inner {
        float: none;
    }
  
  .footer-left{
    text-align:center;
  }
  .php-weatherfg .nav-tabs a {
  font-size:12px;
  }
  .footer-left {
	  padding: 10px 20px;
  }
}

.body-class-members .nav-menu-information .dropdown-menu .nav-menu-information {
	display: none;
}

/* sticky footer */

@media (min-width: 768px) {
  html {
    position: relative;
    min-height: 100%;
  }
  body {
   margin-bottom: 120px; 
  }
  .footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 83.3333px;
  }
}

/* home page tweaks */

.php-index #globalwrap {
  background: transparent;
  padding: 0px;
  border: none;
}

/* additional tweaks */

.php-halloffame .hallOfFame > div:nth-child(3) {
  padding-left: 20px;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .navbar-inverse .nav > li > a, .navbar-inverse .nav > li > a {
    text-transform: capitalize;
  }
  .php-knockout #globalwrap {
    overflow-x: scroll;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .php-analysis .pull-left {
    float: none;
  }
  .php-analysis .pull-right {
    float: none;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .php-hcaplist .btn-group + .btn-group {
    margin-left: 0px;
    margin-top: 10px;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  .body-class-members #globalwrap {
    overflow-x: scroll;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .php-hcaplist .btn-group {
    display: block;
    width: 200px;
  }
  .php-hcaplist .btn-group .btn {
    margin: 6px 0px;
    display: block;
  }
  .php-competition .btn-group {
    display: block;
    width: 200px;
  }
  .php-competition .btn-group .btn {
    margin: 6px 0px;
    display: block;
  }
  .php-hcaplist .btn-group + .btn-group {
    margin-left: 0px;
  }
  #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-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;
  }
  .table th, .table td {
    padding: 2px;
    font-size: 12px;
  }
}

/* tee time fixes */

@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%;
  }
}

/* tee time home page fixes */

.php-index #globalwrap > .global {
  background: rgba(255,255,255,0.8);
  padding: 20px;
}

.php-index #globalwrap > .global #myupcoming {
  border: none;
  box-shadow: none;
}

/* no pin page */

.php-index[onload*="document"] #globalwrap {
  padding: 20px;
  background: rgba(255,255,255,0.8);
}

.php-index[onload*="document"] #globalwrap > .global {
  padding: 0px;
  background: transparent;
}

/* 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;
  }
}

/* visitor booking */

@media (min-width: 768px) {
  .body-class-visitorbooking #globalwrap table {
    width: 100%;
  }
}

.body-class-visitorbooking #globalwrap table td > a {
  width: 100%;
  display: block;
  padding: 3px 0px;
  margin: 0px;
}

@media (min-width: 768px) and (max-width: 979px) {
  .body-class-visitorbooking #globalwrap .pricegroup table tr {
    display: table-row;
  }
  .body-class-visitorbooking #globalwrap .pricegroup table td {
    padding: 8px;
    float: none;
    display: table-cell;
  }
}

.php-boardcomps .row {
  margin-left: 0px;
}

.php-boardcomps .row .span12 {
  width: 100%;
  margin-left: 0px;
}

.php-log #globalwrap {
  overflow-x: scroll;
}

.php-log #globalwrap table tr td:nth-child(3) {
  word-break: break-word;
}