/* anton styles */

/* variables */

:root {
  --bodyfont: 'Open Sans', sans-serif;
  --headingfont: 'Georgia', serif;
  --headingcolor: #CC0000;
  --headingcolor2: #CC0000;
  --highlightcolor: #000;
  --bodycolor: #666;
  --headerbg: #fff;
  --footerbg: #f3f3f3;
  --navlink: #CC0000;
  --navactivelink: #000;
  --dropdownbg: #f2f2f2;
}

.CodeMirror-wrap .CodeMirror-scroll {
  height: 600px;
}

.content-wrapper {
  line-height: 24px;
}

.body-public .nav > li.nav-menu-login\.php {
  display: none;
}

.body-public .nav > li.nav-menu-competition\.php {
  display: none;
}

/* general styles */

body {
  font-size: 15px;
  font-family: var(--bodyfont);
  color: var(--bodycolor);
}

h1 {
  font-weight: 400;
  font-size: 34px;
  line-height: 44px;
  color: var(--headingcolor);
  margin-bottom: 30px;
  font-family: var(--headingfont);
}

h2 {
  font-weight: 400;
  font-size: 26px;
  line-height: 36px;
  color: var(--headingcolor);
  margin-top: 20px;
  margin-bottom: 25px;
  font-family: var(--headingfont);
}

h3 {
  font-weight: 400;
  font-size: 22px;
  line-height: 32px;
  color: var(--headingcolor);
  margin-top: 20px;
  margin-bottom: 25px;
  font-family: var(--headingfont);
}

h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--headingcolor);
  margin-bottom: 20px;
  font-family: var(--headingfont);
}

h5 {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: var(--headingcolor);
  margin-bottom: 20px;
  font-family: var(--headingfont);
}

h6 {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--headingcolor);
  font-family: var(--headingfont);
}

h5 a, .gallery-image .ss-controls a, .gallery-image .nav-controls a {
  background: var(--headingcolor);
  color: #FFF;
  display: inline-block;
  padding: 6px 18px;
  font-weight: 400;
  text-transform: capitalize;
  font-size: 16px;
  letter-spacing: 2px;
  border-radius: 0px;
  margin-top: 10px;
  border: none;
  position: relative;
}

.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(--highlightcolor);
  color: #fff;
  text-decoration: none;
}

a {
  color: var(--headingcolor);
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

a:hover, a:focus {
  color: var(--highlightcolor);
}

a:focus {
  outline: 0;
}

input, button, select, textarea {
  font-family: var(--bodyfont);
}

/* header styles */

.header-wrapper {
  position: relative;
  min-height: 170px;
  top: 0px;
  left: 0px;
  background: var(--headerbg);
}

.header-space {
  position: relative;
  width: 1170px;
  margin: 0px auto;
}

.header-logo {
  position: absolute;
  left: 0px;
  right: 0px;
  width: 100px;
  margin: 0px auto;
  top: 51px;
  z-index: 30;
}

.header-social {
  position: absolute;
  left: 15px;
  top: 12px;
}

.header-links {
  position: absolute;
  right: 20px;
  top: 15px;
}

.header-links a {
  color: #222;
  font-family: var(--headingfont);
}

.header-links a:hover, .header-links a:focus {
  color: var(--headingcolor);
  cursor: pointer;
}

/* status */

.status-container {
  position: fixed;
  top: -100vh;
  width: 100%;
  height: 100vh;
  z-index: 400;
  background: rgba(0,0,0,0.6);
  transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
}

.show-status .status-container {
  top: 0px;
}

.status-holder {
  position: absolute;
  left: 10px;
  right: 10px;
  background: #fff;
  max-width: 600px;
  margin: 0px auto;
  top: 70px;
}

.status-content {
  padding: 20px;
}

.status-close {
  text-align: right;
  font-size: 20px;
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.status-close:hover {
  cursor: pointer;
  color: var(--headingcolor);
}

.status-info h3 {
  margin-top: 0px;
}

/* navbar */

.nav-section {
  position: absolute;
  top: 106px;
  left: 0px;
  right: 0px;
}

.navbar {
  margin-bottom: 0px;
}

.navbar-inverse .navbar-inner {
  background: transparent;
  box-shadow: none;
  border-radius: 0px;
  border: none;
}

.navbar-inverse .nav > li > a {
  text-shadow: none;
  color: var(--navlink);
  font-family: var(--headingfont);
}

.navbar-inverse .nav > li > a:hover, .navbar-inverse .nav > li > a:focus, .navbar-inverse .nav > li.current > a {
  color: var(--navactivelink);
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
  background: transparent;
  color: var(--navactivelink);
  box-shadow: none;
}

.dropdown-menu {
  background: var(--dropdownbg);
  font-family: var(--headingfont);
}

.dropdown-menu > li > a {
  color: var(--navlink);
}

.dropdown-menu > li.current > a, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  color: var(--navactivelink);
  background: transparent;
}

.body-class-members .nav-section .nav > li:nth-child(1) {
  margin-left: 50px;
}

.body-class-members .nav-section .nav > li:nth-child(6) {
  margin-left: 130px;
}

/* footer */

.members-footer {
  font-size: 14px;
  font-family: var(--headingfont);
  background: var(--footerbg);
}

.footer-space {
  width: 1170px;
  margin: 0px auto;
}

.mf-logo {
  padding-top: 40px;
}

.mf-ac-row {
  padding-top: 30px;
}

.mf-copy-links {
  padding-top: 40px;
}

.mf-ig-logo {
  margin-top: 20px;
  margin-bottom: 40px;
}

.mf-ig-logo img {
  width: 100px;
}

.footer-line {
  border-bottom: 2px solid var(--headingcolor);
}

/* page */

#globalwrap {
  padding-top: 0px;
}

.content-wrapper {
  margin: 60px auto;
  width: 1170px;
}

/* default pages */

body[class*="php-"], .body-class-members, .body-class-visitorbooking, .body-class-getawayletter, [class*="body-class-setcoursestatus"], .body-class-opens, .body-loginpage {
  background: url('/images/resources/muirfield/members-bg-test.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body[class*="php-"] #globalwrap, .body-class-visitorbooking #globalwrap, .body-class-getawayletter #globalwrap, [class*="body-class-setcoursestatus"] #globalwrap, .body-class-opens #globalwrap, .body-loginpage #globalwrap {
  margin-top: 110px;
  margin-bottom: 60px;
  border: 4px solid var(--headingcolor);
  padding: 20px;
  background: rgba(255,255,255,1);
}

.body-class-members #container #globalwrap {
  margin-top: 100px;
  margin-bottom: 60px;
  border: 4px solid var(--headingcolor);
  padding: 20px;
  background: rgba(255,255,255,1);
}

/* login page */

#login {
  text-align: center;
}

#login h3 {
  margin: 0px;
  padding-bottom: 20px;
}

#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(--headingcolor);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0px;
  letter-spacing: 0px;
  font-size: 16px;
  font-weight: 400;
  border: 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(--highlightcolor);
  color: white;
}

/* 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,1);
  border: 4px solid var(--headingcolor2);
  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-wrapper .header-logo {
  margin-top: 0px;
}

.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*="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 {
  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-diary .content-wrapper .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-boardcomps .content-wrapper .row {
  width: 100%;
  margin-left: 0px;
}

.php-boardcomps .content-wrapper .span12 {
  width: 100%;
  margin-left: 0px;
}

/* 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;
}

/* responsive */

/* landscape tablet */

@media (min-width: 980px) and (max-width: 1199px) {
  .header-space {
    width: 940px;
  }
  .content-wrapper {
    width: 940px;
  }
  .footer-space {
    width: 940px;
  }
  .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: 13px;
    padding: 10px;
  }
  .table td, .table th, table td, table th {
    padding: 6px;
    font-size: 14px;
  }
  .body-class-members .nav-section .nav > li:nth-child(1) {
    margin-left: 25px;
  }
}

/* portrait tablet */

@media (min-width: 768px) and (max-width: 979px) {
  .header-space {
    width: auto;
  }
  .content-wrapper {
    width: 724px;
  }
  .footer-space {
    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;
  }
  .mf-ac-row.row-fluid .span2 {
    width: 100%;
  }
  .mf-ac-row.row-fluid .span4 {
    width: 100%;
    margin-left: 0px;
  }
}

/* portrait tablet and mobile */

@media (min-width: 0px) and (max-width: 979px) {
  .header-wrapper {
    min-height: 204px;
  }
  .nav-section {
    top: initial;
    padding-top: 163px;
    background: #fff;
    position: relative;
  }
  .header-logo {
    z-index: 10;
  }
  .header-social {
    z-index: 9;
  }
  .header-links {
    z-index: 8;
  }
  .navbar-inverse .btn-navbar, .navbar-inverse .btn-navbar:focus {
    background: var(--headingcolor);
    width: 100%;
    padding: 0px 12px;
    height: 41px;
    margin: 0px;
    position: absolute;
    top: 163px;
    z-index: 11;
    transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
  }
  .navbar-inverse .btn-navbar:hover {
    background: var(--headingcolor);
    opacity: 0.7;
  } 
  .navbar .btn-navbar .icon-bar {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    position: absolute;
    box-shadow: none;
    transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
  }
  .navbar .btn-navbar .top-bar {
    top: 7px;
  }
  .navbar .btn-navbar .middle-bar {
    top: 18px;
  }
  .navbar .btn-navbar .bottom-bar {
    top: 28px;
  }
  .btn-navbar .icon-bar + .icon-bar {
    margin: 0px;
  }
  .navbar .btn-navbar.active .top-bar {
    transform: rotate(45deg);
    top: 17px;
  }
  .active .middle-bar {
    opacity: 0;
  }
  .navbar .btn-navbar.active .bottom-bar {
    transform: rotate(-45deg);
    top: 18px;
  }
  .navbar-inverse .navbar-inner {
    margin-top: 41px;
    padding: 0px;
  }
  .navbar-inverse .nav-collapse .nav > li {
    border-bottom: 1px solid #ccc;
  }
  .navbar-inverse .nav-collapse .nav > li > a, .navbar-inverse .nav-collapse .dropdown-menu a {
    font-weight: 400;
    color: var(--navlink);
  }
  .navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .nav > li > a:focus, .navbar-inverse .nav-collapse .nav > li.current > a {
    background: transparent;
    color: var(--navactivelink);
  }
  .body-class-members .nav-section .nav > li:nth-child(1) {
    margin-left: 0px;
  }
  .body-class-members .nav-section .nav > li:nth-child(6) {
    margin-left: 0px;
  }
  .nav-collapse .dropdown-menu {
    background: var(--dropdownbg);
  }
  .navbar-inverse .nav-collapse .dropdown-menu a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:focus, .navbar-inverse .nav-collapse .dropdown-menu > li.current > a {
    background: transparent;
    color: var(--navactivelink);
  } 
}

/* mobile */

@media (min-width: 0px) and (max-width: 767px) {
  body {
    padding: 0px;
  }
  .header-space {
    width: auto;
  }
  .content-wrapper {
    width: auto;
    margin: 0px 10px;
  }
  .footer-space {
    width: auto;
    margin: 0px 15px;
  }
  .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;
  }
  .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-top: 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;
  }
  .body-class-members #globalwrap {
    overflow-x: scroll;
  }
  .body-public #globalwrap {
    overflow-x: auto;
  }
}

/* small mobile */

@media (min-width: 0px) and (max-width: 480px) {
   #login fieldset {
    transform: translateX(0px);
  }
  .nav-tabs > li > a {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 12px;
  }
}

/* editor */

.php-ckeditor .header-wrapper {
  display: none;
}

.php-ckeditor .ig-wysiwyg-editor-navbar .navbar-inverse .navbar-inner {
  background: #000;
  padding: 6px 0px;
}

.php-ckeditor .wysiwyg-editable {
  border: 2px dashed #000;
}

/* 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;
}

@media (min-width: 980px) {
  .php-login.body-class-members .nav-section .nav > li:nth-child(1) {
    margin-left: 0px;
  }
}

#memteetimes thead th {
  color: #fff;
}

.mf-logo img {
  width: 100px;
}

.body-class-members .nav > li.nav-menu-competition\.php .dropdown-menu li:nth-child(6), .body-class-members .nav > li.nav-menu-competition\.php .dropdown-menu li:nth-child(7), .body-class-members .nav > li.nav-menu-competition\.php .dropdown-menu li:nth-child(8), .body-class-members .nav > li.nav-menu-competition\.php .dropdown-menu li:nth-child(9) {
  display: none;
}

/* 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: #BD0C35;
  }
  .php-newsletters .border-table .split-table td {
    padding: 0px 2.5%;
  }
  .php-newsletters .border-table-alt .split-table td {
    padding: 0px 2.5%;
  }
}

/* end anton styles */

img[src*="/images/resources/implementation/app-preferences.png"] {
  display:none;
}

.php-prefs a[href="/igapp.php"] {
  display:none;
}