/* ////////////////////////// GENERAL STYLES AIMED MAINLY AT MEMBER'S AREA  ////////////////////////////////// */
* {
  box-sizing: border-box;
}
#outerborder {
  overflow-x: hidden;
  overflow-y: hidden;
}
body {
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0.5px;
  background: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: #555;
  font-weight: normal;
  line-height: normal;
  letter-spacing: 0.5px;
}
a {
  color: #f5a22c;
  outline: 0 !important;
  text-decoration: none;
}
a:hover {
  color: #05245d;
  outline: 0 !important;
  text-decoration: none;
}
a:focus {
  text-decoration: none;
}
#container {
  min-height: calc(100vh - 50px);
}
@media (max-width: 767px) {
  #container {
    min-height: calc(100vh - 115px);
  }
}
/* /////////////// /// //////////  .inPageContent ONLY styles ///////// ///////////// //// */
.inPageContent {
  color: #333;
  padding: 80px 0;
}
@media (max-width: 979px) {
  .inPageContent {
    padding: 40px 0;
  }
}
@media (max-width: 767px) {
  .inPageContent {
    padding: 40px 20px;
  }
}
@media (max-width: 767px) {
  .inPageContent .sidebar {
    margin-top: 60px;
  }
}
@media (max-width: 767px) {
  .inPageContent .sidebar .posters img {
    display: block;
    width: 450px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .inPageContent .sidebar .posters img {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .inPageContent .container {
    width: auto;
  }
}
.inPageContent h1,
.inPageContent h2,
.inPageContent h3,
.inPageContent h4,
.inPageContent h5,
.inPageContent h6 {
  color: #05245d;
}
.inPageContent h4 {
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 10px;
  font-size: 20px;
  border-bottom: 1px solid #848181;
  margin-bottom: 20px;
}
.inPageContent h5 {
  display: inline-block;
}
@media (max-width: 480px) {
  .inPageContent h5 {
    display: block;
  }
}
.inPageContent h6 {
  display: inline-block;
}
@media (max-width: 480px) {
  .inPageContent h6 {
    display: block;
  }
}
.inPageContent a {
  color: #f5a22c;
}
.inPageContent a:hover {
  color: #05245d;
}
.inPageContent hr {
  border-top: 1px solid #efefef;
  border-bottom: none;
}
.inPageContent ul {
  margin-top: 20px;
  margin-bottom: 20px;
}
.inPageContent ul li {
  color: #333;
  list-style-type: none;
}
.inPageContent ul li:before {
  content: '\f111';
  font-family: 'FontAwesome';
  margin-right: 7px;
  font-size: 6px;
  position: relative;
  top: -2px;
}
.inPageContent table {
  width: 100%;
  margin-bottom: 30px;
  background: #f4f4f4;
  text-align: center;
}
.inPageContent table td {
  border: none;
  padding: 6px 5px;
  font-size: 12px;
}
@media (max-width: 480px) {
  .inPageContent table td {
    padding: 5px 10px;
    letter-spacing: 0;
  }
}
.inPageContent table thead {
  background: none;
}
.inPageContent table thead th {
  border: none;
  font-weight: normal;
  padding: 10px 0;
  color: #333;
  font-weight: bold;
  background: #e9e9e9;
  text-transform: uppercase;
  font-size: 12px;
}
@media (min-width: 768px) {
  .inPageContent .span12 form fieldset#thankyou {
    padding: 20px 60px;
  }
}
.inPageContent form .customFormLine {
  color: #333;
  position: relative;
}
.inPageContent form .customFormLine input,
.inPageContent form .customFormLine textarea {
  width: 100%;
  margin-bottom: 20px;
  background: #efefef;
}
.inPageContent form .customFormLine input[type="checkbox"] {
  width: auto;
  height: auto;
  margin: 5px;
}
.inPageContent form .customFormLine input {
  height: 35px;
}
.inPageContent form .customFormLine textarea {
  height: 100px;
}
.inPageContent form .customFormLine label,
.inPageContent form .customFormLine .radioLabel {
  color: #333;
}
.inPageContent form .customFormLine label.customnoformat {
  display: none;
}
.inPageContent form .customFormLine span.checkboxLabel {
  color: #333;
}
.inPageContent form .customFormRadioItem {
  width: auto;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 15px;
  display: inline-block;
  padding: 5px;
  margin-bottom: 20px;
}
.inPageContent form .customFormRadioItem input {
  width: auto;
  height: auto;
  margin-top: 16px;
  margin-right: 5px;
}
.inPageContent form .ui-datepicker-trigger {
  position: absolute;
  right: 20px;
  top: -5px;
}
.inPageContent h5 a,
.inPageContent form input[type="submit"],
.inPageContent .map_popup_form input[type=submit] {
  display: inline-block;
  background: #f5a22c;
  color: #fff;
  border: 1px solid #f5a22c;
  text-transform: uppercase;
  padding: 10px 18px;
  margin: 15px 5px;
  font-size: 14px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  letter-spacing: 1.5px;
}
.inPageContent h5 a:hover,
.inPageContent form input[type="submit"]:hover,
.inPageContent .map_popup_form input[type=submit]:hover {
  color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
@media (max-width: 480px) {
  .inPageContent h5 a,
  .inPageContent form input[type="submit"],
  .inPageContent .map_popup_form input[type=submit] {
    margin: 7px 0;
  }
}
.inPageContent h6 a {
  background: #05245d;
  color: #fff;
  border: 1px solid #05245d;
  display: inline-block;
  text-transform: uppercase;
  padding: 10px 18px;
  margin: 15px 5px;
  font-size: 14px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
}
.inPageContent h6 a:hover {
  color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
@media (max-width: 480px) {
  .inPageContent h6 a {
    margin: 7px 0;
  }
}
/* /////////////// /// //////////  .subMenu ONLY styles ///////// ///////////// //// */
.subMenu {
  background: #05245d;
  text-align: center;
  padding: 5px;
}
@media (max-width: 480px) {
  .subMenu {
    padding: 10px;
  }
}
.subMenu ul {
  margin: 0;
}
.subMenu .menu-section h2 {
  display: none;
}
.subMenu .menu-section li {
  list-style-type: none;
  display: inline;
  text-transform: uppercase;
  font-size: 14px;
}
.subMenu .menu-section li::after {
  content: '-';
  padding: 0 7px;
  color: #fff;
}
@media (max-width: 480px) {
  .subMenu .menu-section li::after {
    display: none;
  }
}
.subMenu .menu-section li:last-child:after {
  display: none;
}
.subMenu .menu-section li.current a {
  color: #f5a22c;
}
.subMenu .menu-section li a {
  margin: 10px;
  text-decoration: none;
  display: inline-block;
  color: #fff;
}
.subMenu .menu-section li a:hover {
  color: #f5a22c;
}
@media (max-width: 480px) {
  .subMenu .menu-section li a {
    margin: 10px;
    display: block;
    border: 1px solid #fff;
    padding: 10px;
  }
}
/* /////////////// /// //////////  .sliderHolder + captions/scroll/navs etc styles ///////// ///////////// //// */
.body-public #sliderHolder {
  position: relative;
}
.body-public #sliderHolder .galleryWrapper.galleryWrapperNivo {
  height: 100%;
}
.body-public #sliderHolder .galleryInner,
.body-public #sliderHolder .galleryInner img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover;
  min-height: 450px;
}
@media (min-width: 1200px) {
  .body-public #sliderHolder .galleryInner,
  .body-public #sliderHolder .galleryInner img {
    max-height: 620px;
  }
}
.body-public #sliderHolder .nivo-directionNav {
  display: none !important;
}
.body-public #sliderHolder .nivo-controlNav-Wrapper {
  display: none !important;
}
.body-public #sliderHolder .nivo-caption {
  background: none;
  opacity: 1;
  top: 40%;
  left: 10%;
  width: 70%;
}
@media (max-width: 1199px) {
  .body-public #sliderHolder .nivo-caption {
    top: 25%;
    left: 5%;
    width: 90%;
  }
}
@media (max-width: 767px) {
  .body-public #sliderHolder .nivo-caption {
    padding: 5px 20px;
    text-align: center;
    top: 25%;
    left: auto;
    width: 100%;
  }
}
.body-public #sliderHolder .nivo-caption h4 {
  color: #fff;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 38px;
}
@media (max-width: 767px) {
  .body-public #sliderHolder .nivo-caption h4 {
    font-size: 28px;
  }
}
.body-public #sliderHolder .nivo-caption h3 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 15px;
}
@media (max-width: 767px) {
  .body-public #sliderHolder .nivo-caption h3 {
    font-size: 18px;
  }
}
.body-public #sliderHolder .nivo-caption p {
  font-family: 'Montserrat';
  font-size: 16px;
  letter-spacing: 1px;
  padding-left: 0;
}
@media (max-width: 480px) {
  .body-public #sliderHolder .nivo-caption p {
    display: none;
  }
}
.body-public #sliderHolder .nivo-caption h5 {
  display: inline-block;
  margin-top: 30px;
}
.body-public #sliderHolder .nivo-caption h5 a {
  display: inline-block;
  background: #f5a22c;
  color: #fff;
  border: 1px solid #f5a22c;
  text-transform: uppercase;
  padding: 10px 18px;
  margin: 15px 5px;
  font-size: 14px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  letter-spacing: 1.5px;
}
.body-public #sliderHolder .nivo-caption h5 a:hover {
  color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
@media (max-width: 480px) {
  .body-public #sliderHolder .nivo-caption h5 a {
    margin: 7px 0;
  }
}
/* //////// ///////////////////   scroll to top button css  ///////// //// ////////////////// ////  */
.body-class-members .bck {
  display: none;
}
.bck {
  position: fixed;
  bottom: 16rem;
  right: 1rem;
  background: none;
  color: #fff;
  visibility: hidden;
  width: 40px;
  height: 40px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  transition-property: all;
}
.bck.bck-on {
  visibility: visible;
  z-index: 999999;
}
.fade {
  opacity: 0;
}
.bck-on.fade {
  opacity: 1;
}
.rightToLeft {
  right: -50px;
}
.bck-on.rightToLeft {
  right: 1rem;
  height: 40px;
  width: 40px;
  background: #f5a12c;
}
.bottomToTop {
  bottom: -50px;
}
.bck-on.bottomToTop {
  bottom: 1rem;
}
.bck-leftToRight {
  left: -50px;
}
.bck-on.leftToRight {
  left: 1rem;
}
.topToBottom {
  top: -50px;
}
.bck-on.topToBottom {
  top: 1rem;
}
.bck i.fa.fa-angle-up {
  color: #07245e;
  font-size: 28px;
  line-height: 35px;
}
.backText {
  font-size: 12px;
}
/* //////// ///////////////////   logo carousel less file ///////// //// ////////////////// ////  */
.andyCarousel {
  margin-top: 60px;
}
@media (max-width: 1240px) {
  .andyCarousel {
    padding: 0 40px 0 50px;
  }
}
.andyCarousel .jcarousel-wrapper {
  position: relative;
}
@media (min-width: 481px) {
  .andyCarousel .jcarousel-wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
}
.andyCarousel .jcarousel-wrapper .jcarousel {
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  .andyCarousel .jcarousel-wrapper .jcarousel {
    width: 180px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .andyCarousel .jcarousel-wrapper .jcarousel div {
    width: 180px;
    height: 140px;
    display: table-cell;
    vertical-align: middle;
  }
}
.andyCarousel .jcarousel-wrapper .jcarousel img {
  display: block;
  max-width: 100%;
  height: auto;
  padding: 20px 30px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .andyCarousel .jcarousel-wrapper .jcarousel img {
    padding: 20px 10px;
  }
}
.andyCarousel .jcarousel-wrapper .jcarousel ul {
  width: 10000em;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.andyCarousel .jcarousel-wrapper .jcarousel li {
  float: left;
}
.andyCarousel .jcarousel-wrapper .jcarousel li:before {
  display: none;
}
.andyCarousel .jcarousel-wrapper a.jcarouselControls {
  font-size: 48px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translatey(-50%);
  color: #05245d;
}
.andyCarousel .jcarousel-wrapper a.jcarouselControls:hover {
  @secondary ThemeColor;
}
@media (max-width: 480px) {
  .andyCarousel .jcarousel-wrapper a.jcarouselControls {
    left: -20px;
  }
}
.andyCarousel .jcarousel-wrapper a.jcarouselControls.jcarousel-control-next {
  right: 0;
  left: auto;
}
@media (max-width: 480px) {
  .andyCarousel .jcarousel-wrapper a.jcarouselControls.jcarousel-control-next {
    right: -20px;
  }
}
.php-ckeditor .logoRow,
.php-ckeditor .logoRowInnerPage {
  margin-top: 40px;
}
.php-ckeditor .jcarousel-wrapper .jcarousel {
  overflow: visible;
}
.php-ckeditor .jcarousel-wrapper .jcarousel ul {
  width: 100%;
  flex-direction: column;
}
.php-ckeditor .jcarousel-wrapper a.jcarouselControls {
  display: none;
}
/* //////// ///////////////////   .addressFooter STYLES  ///////// //// ////////////////// ////  */
.addressFooter {
  padding: 50px 20px 80px 20px;
  background: #333 url("https://guildfordrugby.designmode.intelligentgolf.co.uk/images/resources/guildfordrugby/addressFooter_bg.jpg") top center no-repeat;
  background-size: cover;
  color: #fff;
}
@media (max-width: 767px) {
  .addressFooter {
    text-align: center;
  }
}
.addressFooter .logoRow img {
  margin-right: 20px;
  float: left;
}
@media (max-width: 767px) {
  .addressFooter .logoRow img {
    float: none;
    margin-bottom: 15px;
  }
}
.addressFooter .logoRow h2 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 1.5px;
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
}
.addressFooter .logoRow h4 {
  color: #fff;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 1.5px;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
}
.addressFooter #spans .left {
  margin-top: 25px;
}
@media (min-width: 768px) {
  .addressFooter #spans .left {
    padding-left: 100px;
  }
}
.addressFooter #spans .left a {
  color: #fff;
  display: inline-block;
  margin: 15px 7px 10px 0;
  font-size: 18px;
}
.addressFooter #spans .left a:hover {
  color: #f5a22c;
}
.addressFooter #spans .middle {
  margin-top: 20px;
}
.addressFooter #spans .middle a {
  display: block;
  text-transform: uppercase;
  color: #fff;
  padding: 5px;
  font-size: 14px;
}
.addressFooter #spans .middle a:hover {
  color: #f5a22c;
}
.addressFooter #spans .right {
  margin-top: 25px;
}
@media (min-width: 767px) and (max-width: 979px) {
  .addressFooter #spans .right {
    padding-left: 20px;
  }
}
.addressFooter #spans .right h4 {
  display: inline;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}
@media (max-width: 767px) {
  .addressFooter #spans .right h4 {
    display: block;
    color: #f5a22c;
    margin-bottom: 5px;
    margin-top: 20px;
  }
}
.addressFooter #spans .right a {
  color: #fff;
  font-size: 13px;
}
.addressFooter #spans .right a:hover {
  color: #f5a22c;
}
.addressFooter .littleBigger {
  font-size: 1.2em;
}
.addressFooter .footerSep {
  margin: 0 10px;
}
@media (max-width: 767px) {
  .addressFooter .footerSep {
    font-size: 0;
    line-height: 0;
    display: block;
  }
}
.addressFooter .socialIcons {
  display: inline-block;
  margin-bottom: 30px;
}
.addressFooter .socialIcons em {
  border: 2px solid;
  width: 47px;
  text-align: center;
  display: inline-block;
  padding: 8px 7px 10px 6px;
  margin: 0 3px 15px 3px;
  font-size: 22px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.addressFooter .socialIcons em:hover {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}
.addressFooter .addressFooterCopyright {
  font-size: 0.8em;
}
.addressFooter a.igLogo img {
  width: 85px;
  float: none;
}
@media (max-width: 767px) {
  .addressFooter .break767 {
    display: block;
    font-size: 0;
    line-height: 0;
  }
}
/* //////// ///////////////////   .footer STYLES  ///////// //// ////////////////// ////  */
.footer {
  background: #051d4b;
  color: #fff;
  font-size: 0.8em;
  height: 50px;
  line-height: 28px;
  padding-top: 10px;
}
@media (max-width: 767px) {
  .footer {
    text-align: center;
    height: 115px;
    line-height: 22px;
    padding: 10px 5px 2px 5px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .footer {
    font-size: 12px;
    letter-spacing: 0;
  }
}
.footer a {
  color: #fff;
}
.footer a:hover {
  color: #f5a22c;
}
.footer a.igLogo img {
  width: 85px;
  float: right;
}
@media (max-width: 767px) {
  .footer a.igLogo img {
    float: none;
  }
}
@media (max-width: 767px) {
  .footer .break767 {
    display: block;
    font-size: 0;
    line-height: 0;
  }
}
@media (min-width: 980px) {
  .footer .break767 {
    margin-right: 50px;
  }
}
.footer .break2 {
  margin-right: 0;
}
/* //////// ///////////////////   inPageContent gallery and slider STYLES  ///////// //// ////////////////// ////  */
.inPageContent #gallery div.ss-controls .play,
.inPageContent div#thumbs div.top,
.inPageContent #gallery div.caption-container,
.inPageContent #gallery div.controls {
  display: none;
}
.inPageContent #gallery div.slideshow img {
  border: none;
}
.inPageContent #gallery div.slideshow span.image-wrapper {
  width: 100%;
}
@media (min-width: 768px) {
  .inPageContent .span12 #thumbs {
    width: 750px !important;
    margin: 0 auto;
    float: none;
  }
}
.inPageContent .span12 #gallery {
  max-width: 750px;
  margin: 0 auto;
}
.inPageContent #thumbs li:before {
  display: none;
}
.inPageContent #thumbs ul.thumbs li.selected a.thumb {
  background: none;
}
.inPageContent #thumbs a.thumb {
  padding: 0;
  border: none;
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.inPageContent .pull-right.gallery-image,
.inPageContent .pull-left.gallery-thumbs {
  width: 100%;
}
.inPageContent .pull-left.gallery-thumbs {
  margin-left: 0;
  margin-top: 0;
}
.inPageContent div#thumbs div.bottom {
  margin-top: 22px;
  float: left;
}
.inPageContent div.pagination span.current {
  background-color: rgba(4, 28, 76, 0.8);
  border-color: rgba(4, 28, 76, 0.8);
}
.inPageContent ul.thumbs img {
  margin: 0;
}
.inPageContent div.pagination a,
.inPageContent div.pagination span.current,
.inPageContent div.pagination span.ellipsis {
  margin-right: 8px;
}
.inPageContent div.pagination a:hover {
  background-color: #404242;
}
.inPageContent .galleryWrapper.galleryWrapperNivo {
  position: relative;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .inPageContent .galleryWrapper.galleryWrapperNivo {
    max-width: 750px;
    margin: 0 auto;
  }
}
.inPageContent .galleryInner.nivoInner.nivoSlider,
.inPageContent .galleryInner.nivoInner.nivoSlider img {
  max-width: 100%;
  width: 100% !important;
  height: auto !important;
}
.inPageContent .nivo-controlNav-Wrapper {
  position: absolute;
  width: 100px;
  bottom: 10px;
  left: auto;
  right: 10px;
  z-index: 9;
}
.inPageContent .nivo-controlNav a {
  background: #eaeaea;
  width: 10px;
  height: 10px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  margin: 3px;
}
.inPageContent .nivo-controlNav a.active {
  background: #ffa737;
}
.inPageContent .nivo-directionNav {
  display: none !important;
}
.inPageContent .nivo-caption {
  left: 0;
  top: auto;
  bottom: 0;
  width: auto;
  height: auto;
  transform: none;
  background: rgba(255, 255, 255, 0.85);
  text-align: center;
  opacity: 1;
}
@media (max-width: 480px) {
  .inPageContent .nivo-caption {
    width: 80%;
  }
}
.inPageContent .nivo-caption h4 {
  font-size: 16px;
  line-height: 30px;
  padding: 10px 20px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  border: none;
  margin: 0;
}
@media (max-width: 767px) {
  .inPageContent .nivo-caption h4 {
    font-size: 16px;
    line-height: 24px;
  }
}
/* //////// ///////////////////   navbar standard styles  ///////// //// ////////////////// ////  */
#header .navbar {
  margin-bottom: 0;
}
#header .navbar-inner {
  background: rgba(5, 36, 93, 0.85);
  border: none;
  min-height: 60px;
}
#header .navbar-inner .container {
  position: relative;
}
@media (max-width: 767px) {
  #header .navbar-inner .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 980px) {
  #header .navbar-inner #nav {
    left: 70px;
  }
}
@media (max-width: 979px) {
  #header .navbar-inner #nav {
    margin-top: 90px;
  }
}
#header .navbar-inner #nav li.dropdown .dropdown-toggle {
  background-color: transparent;
}
@media (max-width: 979px) {
  #header .navbar-inner #nav li.dropdown .dropdown-toggle {
    background: rgba(4, 28, 76, 0.8) url("https://guildfordrugby.designmode.intelligentgolf.co.uk/images/resources/guildfordrugby/menuDownToggle2.png") right 15px center no-repeat;
  }
}
@media (max-width: 979px) {
  #header .navbar-inner #nav li.dropdown.open .dropdown-toggle {
    background: rgba(4, 28, 76, 0.8) url("https://guildfordrugby.designmode.intelligentgolf.co.uk/images/resources/guildfordrugby/menuUpToggle.png") right 15px center no-repeat;
  }
}
#header .navbar-inner #nav li a {
  color: #fff;
  padding: 20px 14px;
  text-transform: uppercase;
  font-size: 13px;
}
@media (min-width: 980px) and (max-width: 1199px) {
  #header .navbar-inner #nav li a {
    letter-spacing: 0.2px;
    color: #fff;
    padding: 20px 12px;
  }
}
@media (max-width: 979px) {
  #header .navbar-inner #nav li a {
    background: rgba(4, 28, 76, 0.8);
    margin: 10px;
    padding: 12px !important;
  }
}
#header .navbar-inner #nav li a:hover {
  color: #f5a22c;
}
#header .navbar-inner #nav li a#logoutbtn {
  color: #f5a22c;
}
#header .navbar-inner #nav li .dropdown-menu {
  margin: 0;
  background-color: rgba(4, 28, 76, 0.8);
  border: none;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 4px;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topleft: 0;
  border-top-left-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
@media (min-width: 980px) {
  #header .navbar-inner #nav li .dropdown-menu {
    display: block;
  }
}
@media (max-width: 979px) {
  #header .navbar-inner #nav li .dropdown-menu {
    margin: 0 20px 0 20px;
    background: none;
  }
}
#header .navbar-inner #nav li .dropdown-menu a {
  padding: 8px 12px;
  border-bottom: 1px dotted #0b0b1d;
}
@media (min-width: 980px) {
  #header .navbar-inner #nav li .dropdown-menu a:hover {
    background: none;
  }
}
#header .navbar-inner #nav li .dropdown-menu li:last-child a {
  border: none;
}
#header .navbar-inner #nav li.open > .dropdown-menu {
  pointer-events: auto;
  opacity: 1;
}
#header .navbar-inner #nav li.current > a,
#header .navbar-inner #nav li.active > a {
  color: #f5a22c;
}
#header .navbar-inner #nav li.active.open > a {
  color: #fff;
}
#header .navbar-inner #nav li.nav-menu-information ul li:nth-last-child(2) a {
  border: none;
}
#header .navbar-inner .logoLink {
  position: absolute;
  left: 0;
  width: 60px;
  z-index: 9;
  top: 8px;
}
@media (max-width: 979px) {
  #header .navbar-inner .logoLink {
    top: 4px;
    left: 50%;
    transform: translatex(-50%);
  }
}
#header .navbar-inner #hamburger-icon {
  outline: 0;
  position: absolute;
  right: 15px;
  top: 10px;
  background-color: transparent;
  z-index: 100;
  width: 60px;
  color: #fff;
  border: none;
  text-transform: uppercase;
  border-radius: 0;
}
@media (min-width: 980px) {
  #header .navbar-inner #hamburger-icon {
    display: none;
  }
}
@media (max-width: 767px) {
  #header .navbar-inner #hamburger-icon {
    right: 25px;
  }
}
#header .navbar-inner #hamburger-icon .line {
  display: block;
  background: #fff;
  height: 3px;
  margin: 5px;
  right: 18px;
  border-radius: 0px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
#header .navbar-inner #hamburger-icon .line.line-1 {
  margin-top: 3px;
}
.topRightBox {
  display: none;
}
.socialSmall {
  display: none;
}
.body-public #header .navbar-inner {
  background: #05245d;
}
.body-public #header .navbar-inner #nav {
  left: 0;
}
@media (max-width: 979px) {
  .body-public #header .navbar-inner #nav li.nav-level-1.nav-menu-new_players_join_now a,
  .body-public #header .navbar-inner #nav li.nav-level-1.nav-menu-online_shop a,
  .body-public #header .navbar-inner #nav li.nav-level-1.nav-menu-membership a {
    background: #071c43;
  }
}
@media (min-width: 980px) {
  .body-public #header .navbar-inner #nav li.nav-level-1.nav-menu-new_players_join_now,
  .body-public #header .navbar-inner #nav li.nav-level-1.nav-menu-online_shop
  /*.body-public #header .navbar-inner #nav li.nav-level-1.nav-menu-membership*/ {
    display: none;
  }
}
@media (min-width: 980px) {
  .body-public #header .navbar-inner .container {
    width: 100%;
  }
}
.body-public #header .navbar-inner .topRightBox {
  background: #fff;
  display: inline-block;
  position: absolute;
  right: 0;
  padding: 5px 10px;
  z-index: 10;
}
@media (max-width: 979px) {
  .body-public #header .navbar-inner .topRightBox {
    display: none;
  }
}
.body-public #header .navbar-inner .topRightBox:before {
  position: absolute;
  content: "";
  width: 0px;
  height: 0px;
  border-top: 38px solid white;
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid transparent;
  top: 0;
  left: -20px;
}
.body-public #header .navbar-inner .topRightBox a {
  color: #333;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0 10px;
}
.body-public #header .navbar-inner .topRightBox a:hover {
  color: #f5a22c;
}
.body-public #header .navbar-inner .topRightBox .social {
  display: inline;
  font-weight: bold;
  font-size: 11px;
  margin-left: 150px;
  margin-right: 20px;
  text-transform: uppercase;
}
.body-public #header .navbar-inner .topRightBox .social a {
  margin: 0 1px;
}
@media (min-width: 980px) {
  .body-public #header .navbar-inner #myNavbar {
    float: right;
    margin-top: 40px;
    margin-right: 20px;
  }
}
.body-public #header .navbar-inner .logoLink {
  width: 92px;
  top: 16px;
  left: 60px;
}
@media (max-width: 979px) {
  .body-public #header .navbar-inner .logoLink {
    left: 50%;
    width: 65px;
    top: 1px;
    transform: translatex(-50%);
  }
}
.body-public #header .navbar-inner li.nav-level-1.nav-menu-login\.php {
  display: none;
}
.body-public #header .socialSmall {
  display: inline-block;
  position: absolute;
  left: 20px;
  top: 17px;
}
@media (min-width: 980px) {
  .body-public #header .socialSmall {
    display: none;
  }
}
.body-public #header .socialSmall a {
  color: #fff;
}
.body-public #header .socialSmall a:hover {
  color: #f5a22c;
}
/* //////// ///////////////////   system pages no need to touch  ///////// //// ////////////////// ////  */
.body-public span.customFormRadioItem + br {
  display: none;
}
/* Google Map Styles */
div#map_container {
  width: 100% !important;
  height: 550px !important;
  color: #333;
}
a#map_to_here_button:hover,
a#map_from_here_button:hover {
  color: #f5a22c;
}
.gm-style .gm-style-iw-c {
  line-height: 24px !important;
  border-top: 10px solid rgba(5, 36, 93, 0.85) !important;
}
#globalwrap .map_popup_form input[type=text] {
  height: 35px !important;
}
.gm-style-iw-d {
  padding: 0 5px !important;
}
/* //// ///// MIN WIDTH 980 ///// //// ///////  */
@media (min-width: 980px) {
  #globalwrap {
    padding-top: 0;
  }
}
/* end of styles moved from custom css */
.inPageContent .span12 form .customFormLine input,
.inPageContent .span12 form .customFormLine textarea {
  text-align: center;
}
#date_form .picker input {
  cursor: pointer;
  padding: 3px;
  margin-right: 15px !important;
}
img.ui-datepicker-trigger {
  position: absolute;
  right: 20px;
  top: 0;
}
#header .navbar-inverse .nav li.nav-menu-information .dropdown-menu > li:nth-last-child(2) > a {
  border-bottom: none;
}
.body-root-information #global .container {
  max-width: 100%;
}
.body-public .tipForm form input[type="submit"] {
  letter-spacing: 0;
  font-size: 12px;
  padding: 5px 10px;
}
.cluetip-jtip #cluetip-inner {
  overflow: hidden;
}
.php-ckeditor .inPageContent td {
  border: 2px solid #1a4267 !important;
}
.body-class-visitorbooking.body-public img.ui-datepicker-trigger {
  top: 0;
  right: 20px;
  position: absolute;
}
.body-class-visitorbooking.body-public #date_form .picker input[type=text] {
  margin-right: 20px;
}
.hcapsig .dropdown-menu {
  background-color: #dedfde;
}
div#cluetip {
  /*width: auto !important; this was causing a shadow on Wells visitor booking pop up but needed on previous sites */
}
.cc-cookies {
  width: 100% !important;
}
.body-root-home #latestcomp img[height="16"],
img[height="14"] {
  margin-left: 7px;
  margin-top: -3px;
}
#login fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  display: inline-block;
}
#login fieldset .control-label {
  float: none;
  width: auto;
  padding-top: 10px;
  text-align: center;
}
#login fieldset .controls {
  margin-left: auto;
}
#login fieldset .controls input.btn {
  margin-left: 0;
  margin-right: 0;
}
#login fieldset .controls input[type="checkbox"] {
  height: auto;
  margin: 10px 0 30px 0;
}
#login fieldset .controls label.checkbox input.inline {
  width: 20px !important;
  margin: 4px 0 20px 0;
}
/* system login page & course status */
#login input,
.php-coursestatus textarea,
.body-class-setcoursestatus textarea,
.body-class-setcoursestatuscourseid1 textarea {
  height: 40px;
  width: 100% !important;
  margin-bottom: 10px;
}
#login .controls input.btn {
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: none;
  border: none;
  margin-top: 20px;
}
#login label.checkbox {
  padding-left: 0;
  text-align: center;
}
#login .controls label.checkbox input.inline {
  margin-left: -5px;
}
/* ///////////// /////////// max-width 1199px ////////////////// ///// */
@media (max-width: 1199px) {
  .nametable a.btn.button {
    font-size: 11px !important;
  }
  .nametable td {
    font-size: 11px !important;
    padding: 5px 2px !important;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  #globalwrap .teebooking #date_form .tabs li.current a {
    font-size: 14px;
    margin: 0;
  }
}
@media (max-width: 480px) {
  #login fieldset {
    transform: translateX(0px);
  }
  /* compact tables small screens */
  table td {
    font-size: 12px;
  }
  table th {
    font-size: 12px;
    font-weight: normal !important;
    padding: 2px !important;
  }
  .php-viewround .table th,
  .table td {
    padding: 5px 2px;
    font-size: 10px;
    letter-spacing: 0;
  }
  .php-awayplayer table {
    display: block;
    overflow-x: auto;
  }
  table.table.scorecard {
    display: block;
    overflow-x: auto;
  }
}
@media (max-width: 480px) {
  #diaryTable.table {
    display: block;
    overflow-x: auto;
  }
}
/* make css editor in backend more manageable */
.CodeMirror-wrap .CodeMirror-scroll {
  height: 600px;
}
/*-----------------------------------------------------------------
                SCORECARD
-----------------------------------------------------------------*/
.scorecard {
  text-align: center;
  border: 1px solid #a5a5a5;
}
.scorecard td,
.scorecard th {
  border: 1px solid #a5a5a5;
  text-align: center;
}
.White {
  background: #fff;
  color: #333;
}
.Yellow {
  background: #ffff00;
  color: #333;
}
.Red {
  background: #ff0000;
  color: #fff;
}
.Blue {
  background: #0063ac;
  color: #fff;
}
@media (max-width: 979px) {
  .body-public.php-cookie-usage #global {
    padding: 20px;
  }
}
#globalwrap .map_popup_form input[type=submit] {
  font-size: 11px;
  padding: 5px;
}
.body-public[class*="php-"] #globalwrap {
  /*background: #efefef;
    padding: 20px;
    margin-top: 90px;
    color: #333;
    margin-bottom: 50px;*/
  border: none;
}
/* ////// ////////////////////////////// //////////////////////// //////////////////// ///////////////////// /////////// //////////////////// END OF STYLES FOR MEMBERS PAGES THAT GENERALLY DO NOT NEED TO TOUCH ///////////////// ////// ///// / ////////////////////////////////////////////// ////////////////////////////////// //////////////////////////////////////////// ///////////////// ////////////////////////// ////////////////// */
/* fix for my golf my rounds overlaping table with gross scoring trend */
@media (min-width: 768px) and (max-width: 979px) {
  table#course-handicap {
    overflow: auto;
    display: block;
  }
}
/* make memteetime table scroll x on mobile portrait */
@media (max-width: 480px) {
  table#memteetimes,
  .body-class-members #globalwrap table#memteetimes {
    width: 100%;
    display: block;
    overflow: auto;
  }
}
/* AQ Facebook style */
#facebox input {
  height: 30px;
}
@media (max-width: 480px) {
  .php-knockout table.knockout {
    display: block;
    overflow-x: auto;
  }
}
@media (max-width: 767px) {
  table#threads {
    display: block;
    overflow: auto;
  }
}
.php-flexiblereport img.ui-datepicker-trigger {
  position: relative;
  right: -5px;
  top: -6px;
}
@media (min-width: 768px) {
  body.body-class-teeloginphp .content-wrapper .row .span6 {
    width: 45%;
  }
}
@media (max-width: 767px) {
  .knockout {
    display: block;
    overflow-x: auto;
  }
}
@media (max-width: 480px) {
  body.php-cookie-usage table {
    display: block;
    overflow-x: auto;
  }
}
/* //////// ///////////////////   system pages to customise css  ///////// //// ////////////////// ////  */
body #globalwrap .price span.badge {
  width: 44px !important;
  font-size: 12px !important;
}
/* ///////////////////////////////// ///////////////  LOGIN PAGE ///////////////////////////////////// */
.body-loginpage #login {
  padding: 20px 20px;
  border: 2px solid rgba(5, 36, 93, 0.85);
  text-align: center;
}
#login h3 {
  color: rgba(4, 28, 76, 0.8);
  text-transform: uppercase;
  margin-bottom: 30px;
}
#login .controls input.btn {
  display: inline-block;
  background: #f5a22c;
  color: #fff;
  border: 1px solid #f5a22c;
  text-transform: uppercase;
  padding: 10px 18px;
  margin: 15px 5px;
  font-size: 14px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  letter-spacing: 1.5px;
}
#login .controls input.btn:hover {
  color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
@media (max-width: 480px) {
  #login .controls input.btn {
    margin: 7px 0;
  }
}
/* ////////////////////// /////////////////// /////// NEWS PHP FRONT-END ////////////// ////////////// ///////  */
.body-public .news-item {
  border-bottom: 1px dotted rgba(4, 28, 76, 0.8);
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.body-public .news-item .media-heading {
  color: rgba(4, 28, 76, 0.8);
}
.body-public p.news-date {
  font-size: 12px;
}
.body-public .news-summary a.read-more {
  background: rgba(5, 36, 93, 0.85);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px !important;
  padding: 5px 10px;
  text-transform: uppercase;
  margin-top: 20px;
  display: inline-block;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
/* ////////////////////////////// /////////////////////// //////////////////////////////// /////////////////////////// ////////////////////////// ///////////////////   MEMBERS PAGES BACKGROUNDS ETC ///////////////////// ////// ///////// ////////////////////// //////////////////////////////////////////// ///////////////////////////// //////////// */
body.php-whshcaprecord .content-wrapper {
  min-height: calc(100vh - 50px);
}
#globalwrap #global .tabs li.current a {
  background: #f5a22c;
  border: none;
  color: #fff;
}
/* website templates page etc - styles / header page */
.adminWrapper form h1 {
  font-size: 20px;
  border-bottom: 1px dotted;
  text-transform: uppercase;
}
/* pages like viewround.php , competition, twos etc on public */
.body-public.php-viewround #container,
.body-public.php-csscalc #container,
.body-public.php-twos #container {
  background: var(--systemAndMembersContainerBackground);
  background-size: cover;
  background-attachment: fixed;
  padding-top: 80px;
}
.body-public.php-viewround table,
.body-public.php-csscalc table,
.body-public.php-twos table {
  background: #fff;
}
.body-public.php-viewround div#rounds {
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
  margin-bottom: 40px;
}
.body-public.php-csscalc h4 {
  background: rgba(5, 36, 93, 0.85);
  padding: 20px;
  color: #fff;
  font-weight: normal;
  display: inline-block;
}
/* /////////////////////// /////////// /////   ///////////////////////////// ////////////////////// /////////////////////////////////////// /PHP CK EDITOR ///////////////  ////////////////////////////// /// /////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///// /////////// //////////////////////////////////////  ////////////////////////////////// */
.ig-wysiwyg-editor-navbar .navbar-inverse .navbar-inner {
  background: rgba(4, 28, 76, 0.8);
  padding-top: 5px;
  padding-bottom: 10px;
}
@media (min-width: 768px) {
  #globalwrap #date_form .picker {
    position: relative;
    background: grey !important;
    padding: 30px 10px 10px 10px;
    text-align: right;
  }
  .body-class-visitorbooking.body-public img.ui-datepicker-trigger {
    top: 5px;
  }
}
/* //////// ///////////////////   .php-ckeditor styles  ///////// //// ////////////////// ////  */
.php-ckeditor {
  /* this only for designs with coloured main backgrounds
				
				.inPageContent {
				
				background: @mainThemeColor;
				color: #fff;
				
				p,h1,h2,h3,h4 {color: #fff;}
				
				
				}
				*/
}
.php-ckeditor #myNavbar {
  display: none;
}
.php-ckeditor #header .navbar-inner .logoLink {
  display: none;
}
.php-ckeditor h1,
.php-ckeditor h2,
.php-ckeditor h3,
.php-ckeditor h4,
.php-ckeditor h5,
.php-ckeditor h6 {
  color: #333;
  text-transform: none;
  border: none;
}
.php-ckeditor img {
  box-shadow: none;
}
.php-ckeditor p {
  color: #333;
}
.php-ckeditor #globalwrap {
  position: relative;
}
.php-ckeditor .pagesection .container {
  max-width: 100%;
}
.php-ckeditor .andyWeatherAndCourseStatusButton,
.php-ckeditor .andyShowWeatherAndCourseStatus,
.php-ckeditor .sliderHolder a.ct-btn-scroll.ct-js-btn-scroll {
  display: none;
}
.php-ckeditor .wysiwyg-editable table {
  width: 100%;
  margin-top: 50px;
}
.php-ckeditor .sliderHolder .sliderCaptions {
  position: relative;
  top: 20px;
  border: 1px dotted #333;
  padding: 20px 20px 40px 20px;
  max-width: 100% !important;
  left: auto;
  right: auto;
  margin-left: auto;
  margin-right: auto;
  background: none;
  color: #333;
  margin: 20px auto 40px auto;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
  animation-duration: 0s;
  animation-delay: 0s;
  -o-animation-duration: 0s;
  -o-animation-delay: 0s;
  -moz-animation-duration: 0s;
  -moz-animation-delay: 0s;
  -webkit-animation-duration: 0s;
  -webkit-animation-delay: 0s;
  transform: none;
}
.php-ckeditor .sliderHolder .sliderCaptions h1,
.php-ckeditor .sliderHolder .sliderCaptions h2 {
  color: #333;
  text-shadow: none;
}
.php-ckeditor .inPageContent,
.php-ckeditor .sliderHolder,
.php-ckeditor .standardInclude,
.php-ckeditor .subMenu,
.php-ckeditor .holeNavigationRow,
.php-ckeditor .addressFooter,
.php-ckeditor .testimonials {
  margin-top: 20px;
  border: 1px dotted #333;
  padding: 20px;
  color: #fff;
  max-width: 100% !important;
  left: auto;
  right: auto;
  margin-left: auto;
  margin-right: auto;
  background: none;
  color: #333;
}
.php-ckeditor .holeStatsRow {
  position: relative;
}
.php-ckeditor .statContainer {
  color: #fff;
}
.php-ckeditor .holeNavigation {
  width: 300px;
  margin: 0 auto;
}
.php-ckeditor .holeNav {
  position: initial;
  display: inline-block;
  padding: 10px;
  background: #fff;
  color: #fff !important;
}
.php-ckeditor .holeNavigationRow {
  position: relative;
  background: rgba(5, 36, 93, 0.85);
  color: #fff;
}
.php-ckeditor #sliderHolder {
  background: none;
  border: 1px dotted #333;
  padding: 20px;
  margin-top: 0;
}
.php-ckeditor .inPageContent .topRowHome .latestEventsHome {
  width: 400px;
}
.php-ckeditor sharethis-inline-share-buttons {
  display: none !important;
}
.php-ckeditor .innerWrapper {
  background: none;
}
.php-ckeditor #sliderHolder .sliderNews:after,
.php-ckeditor #sliderHolder .sliderNews:before {
  display: none;
}
.php-ckeditor .newsTwo,
.php-ckeditor .latestEventsHome,
.php-ckeditor .upcomingMatchesHome,
.php-ckeditor .leagueTable,
.php-ckeditor .sidebar {
  background: #fcfcfc75;
  padding: 10px;
}
.php-ckeditor .addressFooter #spans .right h4 {
  display: block;
}
.php-ckeditor .addressFooter {
  background: #adbfe4;
}
.php-ckeditor .addressFooter .socialIcons em {
  padding: 10px 2px 10px 7px;
}
@media (max-width: 979px) {
  .php-ckeditor .navbar-fixed-top {
    margin-bottom: 0;
  }
}
/* ///////////////// //////////  ANTON NEW STANDARD MEMBER CSS STYLES ///////////////////////////////  */
/* Default Members Area */
/* default and members background */
body[class*="php-"],
.body-class-members,
.body-class-visitorbooking,
.body-class-getawayletter,
[class*="body-class-setcoursestatus"],
.body-class-opens,
.body-loginpage {
  background: url("https://guildfordrugby.designmode.intelligentgolf.co.uk/images/resources/guildfordrugby/admin_bg.jpg") top center no-repeat;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}
body[class*="php-"] .content-wrapper,
.body-class-members .content-wrapper,
.body-class-visitorbooking .content-wrapper,
.body-class-getawayletter .content-wrapper,
[class*="body-class-setcoursestatus"] .content-wrapper,
.body-class-opens .content-wrapper,
.body-loginpage .content-wrapper {
  width: 1170px;
  margin: 0px auto;
}
body[class*="php-"] #globalwrap,
.body-class-visitorbooking #globalwrap,
.body-class-getawayletter #globalwrap,
[class*="body-class-setcoursestatus"] #globalwrap,
.body-class-opens #globalwrap,
.body-loginpage #globalwrap,
.body-class-members #globalwrap {
  margin-top: 110px;
  margin-bottom: 60px;
  border: 2px solid #05245d;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
}
/* buttons */
input[type*="submit"],
a.btn,
button.btn {
  display: inline-block;
  text-shadow: none;
  background: #05245d;
  color: #fff;
  padding: 8px 12px;
  border-radius: 0px;
  text-transform: uppercase;
  letter-spacing: 2px;
  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: #f5a22c;
  color: white;
}
/* members area */
thead {
  background: #05245d;
  color: #fff;
  font-weight: 400;
}
thead a {
  color: #fff;
  text-decoration: underline;
}
.table th {
  font-weight: 400;
}
.php-index.body-class-members #container #globalwrap {
  background: transparent;
  border: none;
  padding: 0px;
}
.php-index #leftcontent > div,
.php-index #rightcontent > div {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #05245d;
  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: #05245d;
  border-radius: 50%;
}
.php-weatherfg #globalwrap .weatherImage.image-night {
  background: transparent;
}
.php-weatherfg .weatherImage img,
.php-weatherfg #globalwrap .weatherImage img.image-night {
  background: #05245d;
  border-radius: 50%;
}
.php-analysis .content-wrapper .pull-left {
  float: none;
}
.php-analysis .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 {
  top: 6px;
  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;
}
.php-boardcomps .row {
  margin-left: 0px;
}
.php-boardcomps .row .span12 {
  width: 100%;
  margin-left: 0px;
}
/* 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;
}
/* landscape tablet */
@media (min-width: 980px) and (max-width: 1199px) {
  body[class*="php-"] .content-wrapper,
  .body-class-members .content-wrapper,
  .body-class-visitorbooking .content-wrapper,
  .body-class-getawayletter .content-wrapper,
  [class*="body-class-setcoursestatus"] .content-wrapper,
  .body-class-opens .content-wrapper,
  .body-loginpage .content-wrapper {
    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;
  }
}
/* portrait tablet */
@media (min-width: 768px) and (max-width: 979px) {
  body[class*="php-"] .content-wrapper,
  .body-class-members .content-wrapper,
  .body-class-visitorbooking .content-wrapper,
  .body-class-getawayletter .content-wrapper,
  [class*="body-class-setcoursestatus"] .content-wrapper,
  .body-class-opens .content-wrapper,
  .body-loginpage .content-wrapper {
    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;
  }
  .content-wrapper #globalwrap #date_form .tabs li.current a {
    background: #fff;
    margin-top: -1px;
  }
}
/* mobile */
@media (min-width: 0px) and (max-width: 767px) {
  body[class*="php-"] .content-wrapper,
  .body-class-members .content-wrapper,
  .body-class-visitorbooking .content-wrapper,
  .body-class-getawayletter .content-wrapper,
  [class*="body-class-setcoursestatus"] .content-wrapper,
  .body-class-opens .content-wrapper,
  .body-loginpage .content-wrapper {
    width: auto;
    margin: 0px 10px;
  }
  body[class*="php-"] .header-space,
  .body-class-members .header-space,
  .body-class-visitorbooking .header-space,
  .body-class-getawayletter .header-space,
  [class*="body-class-setcoursestatus"] .header-space,
  .body-class-opens .header-space,
  .body-loginpage .header-space {
    width: auto;
    margin: 0px 10px;
  }
  .php-weatherfg div.phone-weather .weatherImage {
    background: transparent;
  }
  .content-wrapper div.phone-weather .wind_direction .wind_speed1 {
    top: 7px;
  }
  [class*="body-class-setcoursestatus"] .content-wrapper a {
    word-break: break-all;
  }
  [class*="body-class-setcoursestatus"] .content-wrapper textarea {
    width: 260px !important;
  }
  .nav-wrapper {
    width: auto;
  }
  input[type*="submit"],
  a.btn,
  button.btn {
    padding: 6px;
    font-size: 14px;
  }
  .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-class-members #container #globalwrap {
    padding: 20px 10px;
  }
}
/* small mobile */
@media (min-width: 0px) and (max-width: 480px) {
  .nav-tabs > li > a {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 12px;
  }
}
#existingFiles thead {
  background: none;
}
div.sticky-note {
  padding-bottom: 20px;
}
.php-ckeditor div.sticky-queue {
  border: none;
  box-shadow: none;
}
div#closebutton + br {
  display: none;
}
.body-class-setcoursestatus a.btn {
  margin: 5px 5px 5px 0;
}
.body-class-setcoursestatus input[name="loginword"] {
  height: 36px;
}
@media (max-width: 767px) {
  .php-ongoing .global p:nth-of-type(1) {
    width: 220px;
  }
}
@media (min-width: 980px) {
  body.php-login #header .navbar-inner #nav li a {
    letter-spacing: 0;
    color: #fff;
    padding: 20px 8px;
  }
}
#global.invalidPage {
  background: #fff;
  width: 80%;
  margin: 0 auto;
  margin-top: 120px;
  padding: 40px;
  margin-bottom: 80px;
}
#global.invalidPage:before {
  content: '!';
  font-size: 58px;
}
.body-class-members .addressFooter {
  display: none;
}
.body-class-members.php-ckeditor .addressFooter {
  display: block;
}
/* ////////////   CUSTOM SLIDER STYLES HOME PAGE /////////////////////////////////////////  */
#sliderHolder {
  position: relative;
  display: flex;
  background: #092f7a;
}
@media (min-width: 980px) {
  #sliderHolder {
    margin-top: 100px;
  }
}
@media (max-width: 979px) {
  #sliderHolder {
    flex-direction: column;
  }
}
#sliderHolder .actualSlider {
  flex: 9;
}
#sliderHolder .sliderNews {
  background: none;
  flex: 3;
  z-index: 1;
  padding-top: 30px;
}
@media (max-width: 979px) {
  #sliderHolder .sliderNews {
    position: relative;
  }
}
#sliderHolder .sliderNews:after,
#sliderHolder .sliderNews:before {
  display: block;
  position: absolute;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0) 0, #041b49 100%);
  height: 100%;
  width: 100%;
  content: '';
  bottom: 0;
  z-index: -1;
}
#sliderHolder .sliderNews:before {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0, #041b49 100%);
}
@media (max-width: 979px) {
  #sliderHolder .sliderNews .news-wrapper {
    display: flex;
    text-align: center;
  }
}
@media (max-width: 480px) {
  #sliderHolder .sliderNews .news-wrapper {
    flex-direction: column;
  }
}
#sliderHolder .sliderNews .news-item {
  color: #fff;
  padding: 10px 20px 0 40px;
  flex: 1;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
#sliderHolder .sliderNews .news-item:hover {
  background: #2f67b2;
}
@media (max-width: 979px) {
  #sliderHolder .sliderNews .news-item {
    padding: 10px 20px;
  }
}
#sliderHolder .sliderNews .news-item .media-body {
  display: flex;
  flex-direction: column;
}
#sliderHolder .sliderNews .news-item .media-body .news-date {
  order: 1;
  margin-bottom: 20px;
  font-size: 13px;
}
@media (max-width: 979px) {
  #sliderHolder .sliderNews .news-item .media-body .news-date {
    margin-bottom: 10px;
  }
}
#sliderHolder .sliderNews .news-item .media-body .news-date span.news-date-year {
  display: none;
}
#sliderHolder .sliderNews .news-item .media-body .media-heading {
  order: 2;
  color: #f5a22c;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}
@media (min-width: 481px) and (max-width: 979px) {
  #sliderHolder .sliderNews .news-item .media-body .media-heading {
    height: 25px;
  }
}
#sliderHolder .sliderNews .news-item .media-body .news-summary {
  order: 3;
}
@media (min-width: 481px) and (max-width: 979px) {
  #sliderHolder .sliderNews .news-item .media-body .news-summary {
    font-size: 0;
    line-height: 10px;
  }
}
#sliderHolder .sliderNews .news-item .media-body .news-summary a.read-more {
  background: none;
  padding: 0;
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 13px !important;
  letter-spacing: 1px;
}
#sliderHolder .sliderNews .news-item .media-body .news-summary a.read-more:hover {
  color: #f5a22c;
}
@media (min-width: 481px) and (max-width: 767px) {
  #sliderHolder .sliderNews .news-item:last-child {
    display: none;
  }
}
/* --------------------------- HOME PAGE MAIN CONTENT GRID -----------------------------------------------  */
.inPageContent .topRowHome {
  display: flex;
  margin-bottom: 40px;
}
@media (max-width: 979px) {
  .inPageContent .topRowHome {
    flex-direction: column;
  }
}
.inPageContent .topRowHome .newsTwo {
  flex: 6;
  position: relative;
  margin-right: 20px;
}
@media (max-width: 979px) {
  .inPageContent .topRowHome .newsTwo {
    margin-right: 0;
    margin-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .inPageContent .topRowHome .newsTwo {
    text-align: center;
  }
}
.inPageContent .topRowHome .newsTwo > a {
  position: absolute;
  top: 12px;
  right: 10px;
  color: #333;
}
.inPageContent .topRowHome .newsTwo .news-item {
  border-bottom: 1px dotted rgba(140, 140, 140, 0.8);
}
@media (max-width: 480px) {
  .inPageContent .topRowHome .newsTwo .pull-left {
    margin-right: 0;
  }
}
.inPageContent .topRowHome .newsTwo img {
  padding: 0;
  border: none;
  margin-right: 15px;
}
@media (max-width: 480px) {
  .inPageContent .topRowHome .newsTwo img {
    width: 100%;
    margin: 0 auto;
  }
}
.inPageContent .topRowHome .newsTwo .media-body {
  display: flex;
  flex-direction: column;
}
.inPageContent .topRowHome .newsTwo .media-body .news-date {
  order: 1;
  margin-bottom: 5px;
  font-size: 13px;
}
@media (max-width: 979px) {
  .inPageContent .topRowHome .newsTwo .media-body .news-date {
    margin-bottom: 10px;
  }
}
.inPageContent .topRowHome .newsTwo .media-body .news-date span.news-date-year {
  display: none;
}
.inPageContent .topRowHome .newsTwo .media-body .news-date span.news-date-nth {
  display: none;
}
.inPageContent .topRowHome .newsTwo .media-body .media-heading {
  order: 2;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  border: none;
  margin-bottom: 5px;
}
@media (min-width: 980px) and (max-width: 1199px) {
  .inPageContent .topRowHome .newsTwo .media-body .media-heading {
    font-size: 14px;
    margin-bottom: 0;
  }
}
@media (max-width: 979px) {
  .inPageContent .topRowHome .newsTwo .media-body .media-heading {
    margin-bottom: 0;
  }
}
.inPageContent .topRowHome .newsTwo .media-body .news-summary {
  font-size: 0;
  line-height: 10px;
  order: 3;
  margin-bottom: 0;
}
.inPageContent .topRowHome .newsTwo .media-body .news-summary a.read-more {
  background: none;
  padding: 0;
  margin-top: 5px;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 13px !important;
  letter-spacing: 1px;
  color: #f5a22c;
  margin-bottom: 0;
}
.inPageContent .topRowHome .newsTwo .media-body .news-summary a.read-more:hover {
  color: #05245d;
}
.inPageContent .topRowHome .latestEventsHome {
  flex: 5;
  position: relative;
}
.inPageContent .topRowHome .latestEventsHome > .row-fluid {
  display: none;
}
.inPageContent .topRowHome .latestEventsHome > a {
  position: absolute;
  top: 12px;
  right: 10px;
  color: #333;
}
.inPageContent .topRowHome .latestEventsHome ul {
  margin: 0;
}
.inPageContent .topRowHome .latestEventsHome li:before {
  display: none;
}
.inPageContent .topRowHome .latestEventsHome li {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dotted rgba(140, 140, 140, 0.8);
  min-height: 119px;
}
.inPageContent .topRowHome .latestEventsHome li .fancyDate {
  font-size: 13px;
  margin: 0 0 10px 0;
}
.inPageContent .topRowHome .latestEventsHome li .fancyDate .fancyMonth,
.inPageContent .topRowHome .latestEventsHome li .fancyDate .fancyDay {
  display: inline-block;
}
.inPageContent .topRowHome .latestEventsHome li .fancyEvent a {
  display: block;
  color: #f5a22c;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  border: none;
  margin-bottom: 5px;
  padding-bottom: 22px;
}
.inPageContent .topRowHome .latestEventsHome li .fancyEvent a:hover {
  color: #05245d;
}
.inPageContent .topRowHome .latestEventsHome li .fancyTime {
  display: none;
}
.inPageContent .bottomRowHome {
  display: flex;
}
@media (max-width: 979px) {
  .inPageContent .bottomRowHome {
    flex-direction: column;
  }
}
.inPageContent .bottomRowHome h3 {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 16px;
  padding: 10px;
  margin: 0;
  background: #2f67b2;
  color: #fff;
}
.inPageContent .bottomRowHome .upcomingMatchesHome {
  flex: 6;
  margin-right: 20px;
  border-bottom: 3px solid #d4d2d2;
  background: #f4f4f4;
}
.upcomingMatchesHome {
  border-bottom: 3px solid #d4d2d2;
  background: #f4f4f4;
}
@media (max-width: 979px) {
  .inPageContent .bottomRowHome .upcomingMatchesHome {
    margin-right: 0;
    margin-bottom: 40px;
  }
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox, .upcomingMatchesHome .matchBox {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  padding: 5px 5px 10px 5px;
  border-bottom: 1px solid #b6b6b6;
  letter-spacing: 1px;
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox:last-of-type, .upcomingMatchesHome .matchBox:last-of-type {
  border: none;
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox .dateRow, .upcomingMatchesHome .matchBox .dateRow {
  color: #05235d;
  padding: 10px 0;
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox .timeTeamsRow, .upcomingMatchesHome .matchBox .timeTeamsRow {
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding-bottom: 5px;
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox .timeTeamsRow > div, .upcomingMatchesHome .matchBox .timeTimesRow > div {
  flex: 2;
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox .timeTeamsRow .time, .upcomingMatchesHome .matchBox .timeTeamsRow .time {
  background: #464646;
  color: #fff;
  font-size: 15px;
  padding: 15px 0;
  flex: 1.5;
}
@media (max-width: 480px) {
  .inPageContent .bottomRowHome .upcomingMatchesHome .matchBox .timeTeamsRow .time, .upcomingMatchesHome .matchBox .timeTeamsRow .time {
    flex: 1.5;
  }
}
.inPageContent .bottomRowHome .upcomingMatchesHome .matchBox .friendly, .upcomingMatchesHome .matchBox .friendly {
  font-weight: normal;
  font-size: 13px;
  color: #05235d;
}
.inPageContent .bottomRowHome .leagueTable {
  flex: 5;
  border-bottom: 3px solid #d4d2d2;
  background: #f4f4f4;
}
.inPageContent .bottomRowHome .leagueTable h3 {
  background: #f5a22b;
}
.inPageContent .bottomRowHome .leagueTable table {
  margin-bottom: 0;
  text-align: left;
}
.inPageContent .bottomRowHome .leagueTable table thead th:first-child {
  text-align: center;
}
.inPageContent .bottomRowHome .leagueTable table tr {
  border-bottom: 1px solid #e6e1e1;
}
.inPageContent .bottomRowHome .leagueTable table tr:last-child {
  border: none;
}
@media (max-width: 480px) {
  .inPageContent .bottomRowHome .leagueTable table tr td {
    padding: 5px;
  }
}
.inPageContent .bottomRowHome .leagueTable table tr td:first-child {
  text-align: center;
}
/* ----------  TWEETS HOME PAGE -------------------------------  */
.letweets {
  margin-top: 60px;
}
.letweets h4 {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0;
}
.letweets h4 .small {
  font-size: 12px;
}
.letweets h4 a {
  color: #4c70b2;
}
.letweets h4 a:hover {
  color: #f5a22c;
}
.letweets .tweet_list li {
  margin-bottom: 10px;
}
.letweets .tweet_list li:before {
  display: none;
}
.letweets .tweet_list li .tweet_avatar img {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.letweets .tweet_list li span.tweet_text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}
.letweets .tweet_list li a {
  color: #4c70b2;
  font-size: 13px;
  font-weight: bold;
}
.letweets .tweet_list li a:hover {
  color: #f5a22c;
}
/* ------------------------ ARTICLE PAGE STYLES -------------------------------  */
.innerWrapper {
  margin-top: 100px;
  background: url(https://guildfordrugby.designmode.intelligentgolf.co.uk/images/resources/guildfordrugby/inner_bg.jpg) top left no-repeat;
  background-size: 100% 202px;
}
@media (max-width: 979px) {
  .innerWrapper {
    margin-top: 0;
  }
}
@media (max-width: 979px) {
  .innerWrapper .innerPage {
    padding: 80px 0;
  }
}
@media (max-width: 979px) {
  .innerWrapper .innerPage {
    padding: 80px 20px;
  }
}
.innerWrapper .innerPage span.inlineContentDate {
  color: #fff;
  font-size: 13px;
}
.innerWrapper .innerPage h1 {
  color: #f5a22c;
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 110px;
}
@media (max-width: 767px) {
  .innerWrapper .teamPage {
    padding-top: 40px;
  }
}
.innerWrapper .teamPage .teamPic {
  margin-bottom: 50px;
  min-height: 150px;
}
.innerWrapper .teamPage .teamPic img {
  width: 100%;
}
.innerWrapper .teamPage h1 {
  color: #05245d;
  margin-bottom: 20px;
}
.innerWrapper .teamPage .teamGreyBox {
  background: #f0f0f0;
  padding: 30px;
  margin-bottom: 40px;
}
.innerWrapper .teamPage .teamGreyBox .teamMenu {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
}
.innerWrapper .teamPage .teamGreyBox .teamMenu a {
  display: block;
  text-transform: uppercase;
  color: #05245d;
  font-weight: bold;
  padding: 6px 0 6px 25px;
  position: relative;
}
.innerWrapper .teamPage .teamGreyBox .teamMenu a:hover {
  color: #aa2d3d;
}
.innerWrapper .teamPage .teamGreyBox .teamMenu a:before {
  content: '\f105';
  font-family: 'FontAwesome';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translatey(-50%);
  font-size: 16px;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .news-item {
  border-bottom: 1px solid #ccc;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body {
  display: flex;
  flex-direction: column;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-date {
  order: 1;
  margin-bottom: 5px;
  font-size: 13px;
}
@media (max-width: 979px) {
  .innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-date {
    margin-bottom: 10px;
  }
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-date span.news-date-year {
  display: none;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-date span.news-date-nth {
  display: none;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .media-heading {
  order: 2;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  border: none;
  margin-bottom: 0;
}
@media (min-width: 980px) and (max-width: 1199px) {
  .innerWrapper .teamPage .teamGreyBox .teamNews .media-body .media-heading {
    font-size: 14px;
    margin-bottom: 0;
  }
}
@media (max-width: 979px) {
  .innerWrapper .teamPage .teamGreyBox .teamNews .media-body .media-heading {
    margin-bottom: 0;
  }
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-summary {
  font-size: 0;
  line-height: 10px;
  order: 3;
  margin-bottom: 0;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-summary a.read-more {
  background: none;
  padding: 0;
  margin-top: 5px;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 13px !important;
  letter-spacing: 1px;
  color: #aa2d3d;
  margin-bottom: 0;
}
.innerWrapper .teamPage .teamGreyBox .teamNews .media-body .news-summary a.read-more:hover {
  color: #05245d;
}
/* ---------------------------  MEMBER PAGE STYLES - COMES AFTER CUSTOM STYLRS ----------------------------  */
@media (min-width: 980px) {
  .body-public .memberPage {
    padding-top: 120px;
  }
}
article#article-welcome h1 {
  color: #0a2458;
  text-align: center;
}
article#article-membershiplinks h1 {
  color: #333;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 24px;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  section#member-frontpage-grid {
    text-align: center;
  }
}
.container.memberPage {
  max-width: 100%;
}
body.php-login #header .navbar-inner #nav li a {
  font-size: 10px;
  padding: 20px 5px;
}
/* -----  SB TWEAKS MAKE TEAM PIC FULL WIDTH MOBILE PORTRAIT------------ */
@media (max-width: 767px) {
  .innerWrapper .teamPage {
    padding-top: 20px;
  }
}
@media (max-width: 480px) {
  .innerWrapper .teamPage {
    padding: 0 0 40px 0;
  }
  .innerWrapper .teamPage .sidebar {
    padding: 0 20px;
  }
  .innerWrapper .teamPage .span8 div:nth-of-type(3) {
    padding: 0 20px;
  }
}
/* SB TWEAKS ADD SUB MENU ABOVE TEAM PIC */
.teamPage .span8 {
  position: relative;
}
.teamLinks.subMenu {
  background: none;
  text-align: left;
  padding: 5px;
  position: absolute;
  top: -60px;
}
@media (max-width: 767px) {
  .teamLinks.subMenu {
    position: relative;
    top: auto;
  }
}
@media (max-width: 480px) {
  .teamLinks.subMenu {
    padding: 10px;
  }
}
.teamLinks.subMenu ul {
  margin: 0;
}
.teamLinks.subMenu .menu-section h2 {
  display: none;
}
.teamLinks.subMenu .menu-section li {
  list-style-type: none;
  display: inline;
  text-transform: uppercase;
  font-size: 14px;
}
.teamLinks.subMenu .menu-section li:before {
  display: none;
}
.teamLinks.subMenu .menu-section li::after {
  content: '-';
  padding: 0 3px;
  color: #fff;
}
@media (max-width: 480px) {
  .teamLinks.subMenu .menu-section li::after {
    display: none;
  }
}
.teamLinks.subMenu .menu-section li:last-child:after {
  display: none;
}
.teamLinks.subMenu .menu-section li.current a {
  color: #f5a22c;
}
.teamLinks.subMenu .menu-section li a {
  margin: 10px 5px;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}
.teamLinks.subMenu .menu-section li a:hover {
  color: #f5a22c;
}
@media (max-width: 480px) {
  .teamLinks.subMenu .menu-section li a {
    margin: 10px 5px;
    display: inline-block;
    border: none;
    padding: 0;
    background: none;
  }
}
.sharethis-inline-share-buttons {
  display: none !important;
}
section#member-frontpage-grid article {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border: 1px solid #0a2458;
}
.andyAccordion .accordion {
  cursor: text;
}
.body-public .andyAccordion,
.body-root-information .andyAccordion {
    border-bottom: 1px solid #b8b5b5;
    padding-bottom: 20px;
    background: #eeeeee;
}
.body-public .andyAccordion .accordion,
.body-root-information .andyAccordion .accordion {
  background-color: #eee;
  color: #041c4c;
  padding: 14px 18px;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 13px;
  transition: 0.4s;
  cursor: pointer;
  margin-bottom: 0;
  position: relative;
}
.body-public .andyAccordion .accordion p,
.body-root-information .andyAccordion .accordion p {
  margin-bottom: 0;
}
.body-public .andyAccordion .active,
.body-root-information .andyAccordion .active,
.body-public .andyAccordion .accordion:hover,
.body-root-information .andyAccordion .accordion:hover {
  background-color: #f5a22c;
  color: #fff;
}
.body-public .andyAccordion .active:after,
.body-root-information .andyAccordion .active:after,
.body-public .andyAccordion .accordion:hover:after,
.body-root-information .andyAccordion .accordion:hover:after {
  color: #fff !important;
}
.body-public .andyAccordion .accordion:after,
.body-root-information .andyAccordion .accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translatey(-50%);
}
.body-public .andyAccordion .active:after,
.body-root-information .andyAccordion .active:after {
  content: "\2212";
}
.body-public .andyAccordion .panel,
.body-root-information .andyAccordion .panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  font-size: 13px;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.body-public .andyAccordion .panel p {
  padding-top: 10px;
}
.body-public .andyAccordion .panel ul,
.body-root-information .andyAccordion .panel ul {
  list-style: inside;
}
.php-ckeditor .andyAccordion .accordion {
  font-size: 16px;
  background: #efefef;
  padding: 10px;
}
.php-ckeditor .andyAccordion .panel {
  margin-bottom: 40px;
  max-height: none !important;
}
.php-ckeditor .teamLinks.subMenu {
    
    position: relative;
    top: auto;
    bottom: 20px;
}

.body-public .diaryFilter {
  display:none;
}
/* ES ADDITIONS POST PROJECT */
.innerWrapper .innerPage .withCrumbs h1 {margin-bottom: 10px;}

.youthCrumbs {margin-bottom: 90px;}

@media (max-width: 979px) {
  
  .youthCrumbs {margin-bottom: 50px;}
  .innerWrapper .innerPage .withCrumbs h1 {font-size: 22px;}
  
}

@media (max-width: 767px) {
  
  .youthCrumbs {margin-bottom: 70px;}
  
}

.youthCrumbs a {
    color: #fff;
    display: inline-block;
    font-size: 12px;
    position: relative;
}

.youthCrumbs a:hover {color: #f5a22c;}

.youthCrumbs a:after {
  content: '-';
  margin-left: 5px;
}

.youthCrumbs a:last-of-type:after {display: none;}
.youthCrumbs a:last-of-type:hover {color: #fff;}
.youthCrumbs a:last-of-type {opacity: 0.4; cursor: auto;}

.subsTable h3 {
    color: #fff;
}

.body-public .span8 .andyAccordion {
    border-bottom: none;
    padding-bottom: 0;
}

/* anton styles */

.body-contentpage {
  /*background: url('/images/resources/guildfordrugby/tiled-watermark.png');
  background-repeat: repeat;
  background-size: 300px;*/
  background: url('/images/resources/guildfordrugby/Guildford-RFC-Watermark-Colour-v3.png');
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: center 310px;
}

@media (min-width: 980px) {
  #header .navbar-inner #nav li .dropdown-menu {
    background-color: #2F67B2;
  }
}

.upcomingMatchesHome h3, .home-first-row h3 {
  text-transform: uppercase;
font-weight: bold;
letter-spacing: 1px;
font-size: 16px;
padding: 10px;
margin: 0;
background: #2f67b2;
color: #fff;
}

.upcomingMatchesHome .matchBox .timeTeamsRow > div {
  flex: 2;
}

.newsTwo {
  position: relative;
}

.newsTwo > .wysiwyg-editable > a {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #fff;
}

.newsTwo > .wysiwyg-editable > a:hover {
  color: #f5a22c;
}

.new-home-page .newsTwo .media > .pull-left {
  margin: 0px;
  float: none;
}

.new-home-page .newsTwo img.img-polaroid {
  border: none;
  padding: 0px;
  box-shadow: none;
}

.new-home-page .newsTwo .news-item {
  position: relative;
}

.new-home-page .newsTwo .media-heading {
  position: absolute;
  bottom: 0px;
  background: #f5a22c;
  padding: 10px;
  color: #fff;
  width: calc(100% - 0px);
  font-size: 12px;
  
}

.new-home-page .newsTwo .news-date {
  display: none;
}

.new-home-page .newsTwo .news-summary {
  opacity: 0;
  height: 0px;
  margin: 0px;
}

.new-home-page .newsTwo a.read-more {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.new-home-page #sliderHolder .sliderNews {
  padding-top: 0px;
  position: relative;
}

.new-home-page .new-slider-box {
  height: 33.33%;
  position: relative;
  color: #fff;
}

.new-slider-pic img {
  object-fit: cover;
  max-height: 198px;
  width: 100%;
}

.body-public .new-slider-pic br {
  display: none;
}

.new-slider-button a {
  margin: 0px;
  position: absolute;
  bottom: auto;
  left: 0px;
  position: absolute;
  top: 0px;
  background: #f5a22c;
  padding: 10px;
  color: #fff;
  width: calc(100% - 0px);
  font-size: 16px;
  transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
}

.leagueTable h3, .league-table h3 {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 16px;
  padding: 10px;
  margin: 0;
  background: #f5a22b;
  color: #fff;
}

.home-middle-row {
  margin-top: 50px;
}

@media (min-width: 980px) and (max-width: 1199px) {
  #header .navbar-inner #nav li a {
    text-transform: capitalize;
  }
  .body-public #header .navbar-inner .logoLink {
    left: 10px;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  .body-public #sliderHolder .galleryInner, .body-public #sliderHolder .galleryInner img {
    min-height: 250px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  #sliderHolder {
    flex-direction: row;
  }
  .new-home-page .newsTwo .media-heading {
    font-size: 14px;
    position: relative;
    margin: 0px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .new-home-page .newsTwo .news-item {
    max-width: 370px;
    width: 100%;
    margin: 0px auto;
  }
  .upcomingMatchesHome {
    margin-top: 30px;
  }
  .home-twitter {
    margin-top: 30px;
  }
}

.sidebar .menu-section h2 {
  display: none;
}

.sidebar .menu-section ul {
  margin: 0px;
}

.sidebar .menu-section ul li {
  list-style: none;
}

.sidebar .menu-section ul li a {
  color: #333;
  display: block;
  padding: 5px 0px;
}

.inPageContent .sidebar ul li::before {
  display: none;
}

.sidebar .menu-section ul li a:hover, .sidebar .menu-section ul li.current a {
  color: #f5a22c;
}

@media (min-width: 980px) {
  .body-public #header .navbar-inner .logoLink {
    left: 40px;
    width: 125px;
    top: 1px;
  }
}

.footer-bottom-row {
  margin-top: 40px;
}

.footer-bottom-row h4 {
  margin: 0px 0px 20px;
  color: #fff;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-logos a {
  margin: 0px 4px;
}

.footer-newsletter input[type*="text"] {
  width: calc(100% - 14px);
  height: 28px;
}

.footer-newsletter input[type*="submit"] {
  background: #f5a22c;
}

.footer-newsletter input[type*="submit"]:hover {
  background: #000;
}

@media (min-width: 768px) and (max-width: 979px) {
  .upcomingMatchesHome .matchBox .timeTeamsRow {
    letter-spacing: 0px;
    font-size: 12px;
    text-transform: capitalize;
  }
  .upcomingMatchesHome .matchBox .timeTeamsRow .time {
    font-size: 16px;
    flex: 1.3;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .addressFooter .logoRow img {
    margin-right: 0px;
  }
  .footer-logos a {
    display: block;
    text-align: center;
    margin: 15px 0px;
  }
  .footer-newsletter {
    margin-top: 30px;
  }
}

.body-public #sliderHolder .nivo-caption {
  top: 10%;
}

.policy-row {
  padding-bottom: 70px;
}

.policy-box {
  text-align: center;
  position: relative;
}

.policy-button a {
  margin: 0px;
position: absolute;
bottom: -46px;
left: 0px;
background: #f5a22c;
padding: 10px;
color: #fff;
width: calc(100% - 0px);
font-size: 16px;
}

/*.policy-button a:hover {
  background: #2f67b2;
  color: #fff;
}*/

@media (min-width: 768px) {
  .home-first-row {
    display: flex;
  }
  .body-public .news-item:last-child {
    margin-bottom; 0px;
  }
}

.new-slider-box:hover a {
  background: #05245d;
}

.new-slider-pic > .wysiwyg-editable a {
  position: relative;
  display: block;
}

.new-slider-pic > .wysiwyg-editable a::after {
  content: '';
  background: rgba(0,0,0,0);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.new-slider-pic:hover > .wysiwyg-editable a::after {
  background: rgba(0,0,0,0.5);
}

.body-class-news .news-item {
  width: 370px;
  margin-right: 20px;
  float: left;
  height: 220px;
}

.news-item .pull-left {
  float: none;
  margin-right: 0px;
}

.news-item .img-polaroid {
  border: none;
  padding: 0px;
  box-shadow: none;
  max-height: 200px;
  width: 100%;
  object-fit: cover;
}

.body-class-news .news-item {
  position: relative;
}

.body-class-news .media-heading {
  position: absolute;
  bottom: -5px;
  background: #f5a22c;
  padding: 10px;
  color: #fff !important;
  width: calc(100% - 0px);
  font-size: 16px;
}

.body-class-news .news-date {
  display: none;
}

.body-class-news .news-summary {
  opacity: 0;
  height: 0px;
  margin: 0px;
}

.body-class-news a.read-more {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.body-class-news .news-wrapper {
  display: inline-block;
  width: 100%;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .body-class-news .news-item {
    width: 290px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .body-class-news .news-item {
    width: 218px;
    margin-right: 10px;
    height: 200px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-class-news .news-item {
    width: 300px;
    margin: 0px auto 20px;
    float: none;
  }
}

.inPageContent h6, .inPageContent h5 {
  display: block;
  margin: 5px 0px;
}

.inPageContent h6 a, .inPageContent h5 a {
  margin: 5px;
}

.body-public .fixture-add {
  display: none;
}

.body-public .remove-match {
  display: none;
}

/* 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, .body-public .events-toolbar {
  display:none;
}

.body-class-members.body-contentpage .remove-event, .body-public .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;
}*/

#add-new-match {
  display: block;
  background: #f5a22c;
  color: #fff;
  padding: 5px;
  text-align: center;
}

#add-new-match:hover {
  cursor: pointer;
  background: #000;
}

.remove-match {
  color: #f00;
  font-size: 28px;
}

/* end flex Whats On */

.league-table-carousel .jcarousel-wrapper .jcarousel ul {
  display: block;
}

.league-table-carousel .jcarousel-wrapper .jcarousel li {
  width: 1105px !important;
  margin-right: 10px;
}

.league-table-carousel .jcarousel-wrapper .jcarousel img {
  padding: 0px;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .league-table-carousel .jcarousel-wrapper .jcarousel li {
    width: 790px !important;
    margin-right: 10px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .league-table-carousel .jcarousel-wrapper .jcarousel li {
    width: 580px !important;
    margin-right: 10px;
  }
  .youthCrumbs {
    margin-bottom: 70px;
  }
  .inPageContent form .customFormLine input, .inPageContent form .customFormLine textarea {
    width: 166px;
  }
  .inPageContent form .customFormLine select {
    width: 166px;
  }
  .sidebar a[href*="mailto:"] {
    word-break: break-word;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .league-table-carousel .jcarousel-wrapper .jcarousel li {
    width: 280px !important;
    margin-right: 10px;
  }
  .andyCarousel.league-table-carousel .jcarousel-wrapper .jcarousel div {
    width: 280px;
    height: auto;
  }
  .andyCarousel.league-table-carousel .jcarousel-wrapper .jcarousel {
    width: 280px;
    margin: 0px auto;
  }
  .andyCarousel.league-table-carousel {
    padding: 0px 15px;
    margin: 0px auto;
  }
  .inPageContent {
    overflow-x: auto;
  }
  .policy-button a {
    position: relative;
    bottom: 0px;
    display: block;
  }
  .policy-box {
    margin-bottom: 20px;
  }
  .row-fluid .span3 {
    text-align: center;
  }
  .row-fluid .span3 img {
    max-width: 300px;
    width: 100%;
  }
  .body-class-junior_development_program .span8 h5 {
    text-align: center;
  }
}

.inPageContent .nivo-controlNav-Wrapper {
  display: none;
}

.policy-box > .wysiwyg-editable > a {
  display: block;
  position: relative;
}

.policy-box > .wysiwyg-editable > a::after {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  content: '';
  transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
}

.policy-box:hover .policy-button a {
  background: #2f67b2;
  color: #fff;
}

.policy-box:hover > .wysiwyg-editable > a::after {
  background: rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
  .home-twitter iframe {
    width: 100% !important;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  .nav-menu-new_players_join_now, .nav-menu-online_shop {
    display: none;
  }
}

.home-fixtures > .match-wrapper > .matchBox {
  display: none;
}

.club-contacts {
  text-align: center;
}

@media (min-width: 980px) {
  .cc-image img {
    max-width: 200px;
    min-height: 250px;
    object-fit: cover;
  }
  .cc-name {
    min-height: 60px;
  }
  .cc-title {
    min-height: 52px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .cc-image img {
    min-height: 195px;
    object-fit: cover;
  }
  .cc-name {
    min-height: 90px;
  }
  .cc-title {
    min-height: 78px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .row-fluid .span3.club-contacts img {
    max-width: 200px;
  }
  .club-contacts {
    margin-top: 25px;
  }
}

.cc-name {
  margin: 15px 0px 10px;
}

.inPageContent hr {
  border-top: 1px solid #848181;
}

.body-public #sliderHolder .nivo-caption h5 a {
  display: inline-block !important;
}

.body-public #sliderHolder .nivo-caption {
  bottom: auto;
}

@media (min-width: 0px) and (max-width: 480px) {
  .body-public #sliderHolder .nivo-caption h5 a {
    padding: 6px 4px;
    letter-spacing: 0px;
    text-transform: capitalize;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-public #sliderHolder .nivo-caption {
    top: 5%;
  }
  .body-public #sliderHolder .nivo-caption p {
    padding: 0px;
  }
  .body-public #sliderHolder .galleryInner, .body-public #sliderHolder .galleryInner img {
    min-height: 220px;
  }
}

@media (min-width: 0px) and (max-width: 480px) {
  .body-public #sliderHolder .nivo-caption h4 {
    font-size: 20px;
    line-height: 24px;
    margin: 0px;
  }
  .body-public #sliderHolder .nivo-caption h5 {
    margin-top: 5px;
    margin-bottom: 0px;
  }
  .body-public #sliderHolder .nivo-caption h3 {
    margin: 4px 0px;
    font-size: 22px;
    line-height: 26px;
  }
  .body-public #sliderHolder .nivo-caption p {
    display: block;
    font-size: 11px;
    letter-spacing: 0px;
    line-height: 20px;
  }
}

.inPageContent table td {
  border: 2px solid #2f67b2;
}

.new-home-page .inPageContent{
  padding-top: 30px;
}

.innerWrapper .teamPage .teamGreyBox.small-padd {
  padding: 10px;
}

@media (min-width: 1200px) {
  .facebook-feed iframe {
    width: 370px !important;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .facebook-feed iframe {
    width: 300px !important;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .facebook-feed iframe {
    width: 228px !important;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .facebook-feed iframe {
    width: 300px !important;
  }
}

.php-ckeditor .new-slider-pic > .wysiwyg-editable a::after {
  display: none;
}

.span3 .andyCarousel {
    margin-top: 30px;
  }

@media (min-width: 980px) and (max-width: 1199px) {
  .span3 .andyCarousel {
    padding: 0px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .home-first-row {
    flex-wrap: wrap;
  }
  .home-first-row .span3 {
    width: 48%;
  }
  .home-first-row .span3.home-facebook {
    margin-left: 0px;
  }
}

.logo-home-carousel .jcarousel {
  height: 580px;
  position: relative;
  overflow: hidden;
  width: 100%;
  left: 0px;
}

/* new carousel style */

.standardInclude .new-logo-carousel {
  position: relative;
  margin-top: 60px;
}

.standardInclude .new-logo-holder {
  width: 1070px;
  margin: 0px auto;
  height: 150px;
  left: 0px;
  position: relative;
  overflow: hidden;
}

.standardInclude .new-logo-wrapper {
  list-style: none;
  margin: 0px;
  padding: 0;
  width: 10000em;
  position: absolute;
  display: flex;
  align-items: center;
}

.standardInclude .new-logo-item {
  float: left;
  width: 200px;
  margin-right: 15px;
}

.standardInclude .new-logo-control-prev {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}

.standardInclude .new-logo-control-prev:hover {
  cursor: pointer;
}

.standardInclude .new-logo-control-next {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}

.standardInclude .new-logo-control-next:hover {
  cursor: pointer;
}

.home-carousel-small .new-logo-holder {
  height: 620px;
  position: relative;
  overflow: hidden;
  width: 100%;
  left: 0px;
}

.home-carousel-small .new-logo-wrapper {
  list-style: none;
  padding: 0;
  height: 10000em;
  position: absolute;
}

.home-carousel-small .new-logo-item {
  margin-bottom: 15px;
  width: 270px;
  height: 150px;
  position: relative;
}

.home-carousel-small .new-logo-item img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
  right: 0px;
  text-align: center;
  margin: 0px auto;
}

.home-carousel-small .new-logo-control-prev {
  display: none;
}

.home-carousel-small .new-logo-control-next {
  display: none;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .standardInclude .new-logo-holder {
    width: 840px;
  }
  .standardInclude .new-logo-item {
    width: 200px;
  }
  .home-carousel-small .new-logo-holder {
    height: 470px;
  }
  .home-carousel-small .new-logo-item {
    width: 200px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .standardInclude .new-logo-holder {
    width: 624px;
  }
  .standardInclude .new-logo-item {
    width: 200px;
  }
  .home-carousel-small .new-logo-holder {
    height: 470px;
  }
  .home-carousel-small .new-logo-item {
    width: 200px;
  }
  .home-carousel-small .new-logo-holder {
    width: 200px;
    margin: 0px auto;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .standardInclude .new-logo-holder {
    width: 200px;
  }
  .standardInclude .new-logo-item {
    width: 200px;
  }
  .home-carousel-small .new-logo-holder {
    height: 320px;
    width: 250px;
    margin: 0px auto;
  }
  .row-fluid .span3.home-carousel-small img {
    width: 100%;
    max-width: 200px;
  }
}

.php-ckeditor .wysiwyg-editable {
  border: 2px dotted #000;
}

.new-top-row {
  display: flex;
  margin-top: 120px;
}

.new-top-row > div {
  flex: 1 1 0;
}

.new-top-row .ntr-col:nth-of-type(2) {
  margin: 0px 25px;
}

.ntr-pic {
  position: relative;
}

.ntr-pic img {
  width: 100%;
  height: 248px;
  object-fit: cover;
}

.ntr-content {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.ntr-content a {
  display: block;
  padding: 5px 10px;
  background: #f5a22c;
  color: #fff;
}

.ntr-pic:hover .ntr-content a, .ntr-pic:focus .ntr-content a {
  background: #05245d;
}

.body-class-home #sliderHolder {
  margin-top: 20px;
}

.ntr-pic > .wysiwyg-editable a::after {
  content: '';
  background: rgba(0,0,0,0);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.ntr-pic:hover > .wysiwyg-editable a::after {
  background: rgba(0,0,0,0.5);
}

@media (min-width: 980px) and (max-width: 1199px) {
  .ntr-pic img {
    height: 197px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .ntr-pic img {
    height: 149px;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  .new-top-row {
    margin-top: 20px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .new-top-row {
    flex-direction: column;
    padding: 0px 20px;
    max-width: 300px;
    margin: 20px auto 0px;
  }
  .new-top-row .ntr-col:nth-of-type(2) {
    margin: 20px 0px;
  }
  .ntr-pic img {
    height: 173px;
  }
}

.new-home-page {
  margin-top: 100px;
}

@media (min-width: 1400px) {
  .actualSlider img {
    height: 582px;
    width: 100%;
    object-fit: cover;
  }
  .new-slider-pic img {
    max-height: 194px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .actualSlider img {
    min-height: 530px;
    width: 100%;
    object-fit: cover;
  }
  .new-slider-pic img {
    max-height: 177px;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .new-slider-button a {
    padding: 5px 10px;
    font-size: 14px;
  }
  .actualSlider img {
    min-height: 480px;
    width: 100%;
    object-fit: cover;
  }
  .new-slider-pic img {
    max-height: 160px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .new-slider-button a {
    padding: 5px 10px;
    font-size: 14px;
  }
  .actualSlider img {
    min-height: 384px;
    width: 100%;
    object-fit: cover;
  }
  .new-slider-pic img {
    max-height: 129px;
  }
}

@media (min-width: 0px) and (max-width: 979px) {
  .new-home-page {
    margin-top: 0px;
  }
  .body-class-home #sliderHolder {
    margin-top: 0px;
  }
}

.actualSlider {
  position: relative;
}

.as-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
}

.as-button a {
  display: inline-block;
  background: #f5a22b;
  color: #fff;
  padding: 8px 22px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
}

.as-button a:hover, .as-button a:focus {
  background: #05245d;
}

/* end anton styles */

@media (max-width: 768px) {
  .poster-section h5 a {display:block;}
}

.fa-x-twitter {
  content: url(/images/resources/guildfordrugby/x-twitter.svg);
  width: 10px;
  height: 10px;
}
.fa-x-twitter-white {
  content: url(/images/resources/guildfordrugby/logo-white.png);
  width: 10px;
  height: 10px;
}

/*Modal*/
.modal2 {
  	display:table;
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    margin: 0;
}

@media (min-width: 768px) {
.modal2 {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 75%;
    margin: auto;
}
.modal2 .modal-body {
    /*max-height: 50%;*/
    max-height: calc( 80vh - 40px);
  }
}

@media (min-width: 979px) {
.modal2 {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 75%;
    margin: auto;
}
.modal2 .modal-body {
    /*max-height: 50%;*/
	max-height: calc( 80vh - 40px);
  }
}
  
@media (min-width: 1200px) {
.modal2 {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 75%;
    margin: auto;
}
.modal2 .modal-body {
    /*max-height: 50%;*/
    max-height: calc( 80vh - 40px);
  }
}
  
@media (min-width: 1500px) {
.modal2 {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 1530px;
    margin: auto;
}
.modal2 .modal-body {
    /*max-height: 80%;*/
	max-height: calc( 80vh - 40px);
  }
}
/* End Modal */