/*!
Theme Name: Bernboroughclub
Theme URI: http://underscores.me/
Author: Vanthien
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bernboroughclub
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Generic Styles */
.wpcf7-mail-sent-ok{
	display: none !important;
}
body {
  background: #fff url('./images/bg.png') top left repeat-x;
  margin: 0;
  font-family: Arial, sans-serif;
  color: #5a5a5a;
  font-size: 11pt;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 0 11px;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 0 11px;
    line-height: 1.09;
}

h1, h3 {
    color: #690e73;
    font-size: 13pt;
    font-weight: normal;
}

h1 {
  border-bottom: 1px solid #ccc;
  padding: 0 0 3px 0;
  /* line-height: 40px; */
  font-size: 22px;
  font-weight: bold;
}

h4.large {
    color: #367693;
    font-size: 200%;
    font-weight: bold;
    margin: 0 0 10px 0;
    font-style: normal;
    border: none;
}
h2, h4 {
    font-size: 10pt;
    font-weight: normal;
    color: #690e73;
}

h2.large {
  border-bottom: 1px solid #ccc;
  padding: 0 0 3px 0;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
}

h2.small {
  font-size: 18px;
  margin-bottom: 0;
  padding: 0 0 3px 0;
}

a:link, a:active, a:visited {
    color: #690e73;
}

p.feature, p.quote {
  color: #eb7b0a;
  font-size: 130%;
}

/* p.quote {
    padding: 8px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    font-size: 120%;
    color: #eb7b0a;
} */

.row {
  max-width: 1020px;
}

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

.mainContent {
  padding: 20px 0;
}

.center {
  text-align: center;
}

textarea {
    resize: none;
}

.highlightPurple {
  color: #690e73;
  font-size: 13pt;
  font-weight: normal;
  font-style: italic;
  font-weight: bold;
}

.highlightOrange {
  background: #f4f4f4;
  padding: 15px;
  font-style: normal;
  color: #eb7b0a;
  margin-bottom: 2em;
}

.highlightOrange .quote {
  text-align: left;
}

.highlightOrange .quote u {
  text-decoration: none;
}

.highlightOrange.grey {
  color: #5a5a5a;
}

/* Header Styles */

.header {
  margin-top: 50px;
  position: relative;
}

.logoCont {
  position: absolute;
  z-index: 200;
  padding: 40px 20px;
  background: #fff;
  left: 34px;
  top: -50px;
  border-radius: 5px;
}

/* Menu Styles */

.menuBG {
  background: #690E73;
  border-radius: 5px 5px 0 0;
  padding: 0 10px;
}

.menuInner {
  float: right;
}

.menuInner ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menuInner li {
	display: block;
	float: left;
  position: relative;
}
.menuInner li a:link, .menuInner li a:active, .menuInner li a:visited {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 14px 12px 13px;
	white-space: nowrap;
  font-size: 9pt;
}

.menuInner li a:hover::after {
	content: '\f0d8';
  font-family: 'FontAwesome';
  position: absolute;
  top: 28px;
  left: 50%;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#mobile-hamburger {
  display: none;
  position: relative;
  font-size: 26px;
  color: #000;
}

/* Banner Styles */

.bx-wrapper {
  border: none;
  width: 100%;
  margin: 0;
}

.bxslider li {
  /* height: 328px; */
  background-size: cover;
  padding-bottom: 33%;
}

/* Footer Styles */

.footer {
  background: #2d3132;
  padding: 20px;
  border-radius: 5px;
  font-size: 9pt;
  color: #8a8f91;
}

.footer a {
  color: #8a8f91;
}

.copyright {
  float: left;
  margin: 0;
}

.footerRight {
  float: right;
}

.footerSearch {
  max-width: 344px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px -1px 5px rgba(0,0,0,0.5);
  padding: 6px 6px 0 6px;
  position: relative;
  left: 50%;
}

.footerSearch .cat_textbox_small {
  max-width: 200px;
  height: 28px;
  font-size: 9pt;
  padding: 2px;
}

.footerSearch input, .footerSearch img {
  display: inline-block;
}

.footerSearch img {
  margin-right: 6px;
  bottom: 2px;
  position: relative;
}

.footerSearch input[type="submit"] {
  background: url('./images/button_go.gif');
  border: 0;
  height: 26px;
  width: 26px;
  position: relative;
  top: 8px;
}

@-moz-document url-prefix() {
  .footerSearch input[type="submit"] {
    top: 0;
  }
}

/* Gallery Styles */

.photoGallery img {
  max-width: 150px;
}

/* Homepage Styles */

.blurb {
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.blurb h3 {
  margin: 0 0 5px 0;
  font-size: 16pt;
  color: #ffffff;
}

.blurb--blue {
  background: #2e7da2 url('./images/blurbBlueBG.png') top left repeat-x;
}

.blurb--purple {
  background: #690e73 url('./images/blurbPurpleBG.png') top left repeat-x;
}

.blurb--orange {
  background: #eb7b0a url('./images/blurbOrangeBG.png') top left repeat-x;
}

.blurb--green {
  background: #557826 url('./images/blurbGreenBG.png') top left repeat-x;
}

.blurb a {
  position: absolute;
  right: 20px;
  bottom: 0px;
  border-radius: 5px 5px 0 0;
}

.blurb a img {
  border-radius: 5px 5px 0 0;
}

.homeForm label, .homeForm .cat_dropdown_smaller {
  display: none;
}

.homeForm input, .homeForm textarea, .homeForm input:focus, .homeForm textarea:focus {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 9pt;
  padding: 4px 5px;
  background: #96579d;
  border: 0;
  -webkit-border-radius: 3px;
  margin: 0 0 5px 0;
  line-height: 1
  -webkit-box-shadow: none;
  box-shadow: none;
  height: inherit;
}

.homeForm textarea {
  width: 100%;
}

.homeForm ::-webkit-input-placeholder { /* WebKit browsers */
    color: #fff;
}
.homeForm :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #fff;
}
.homeForm ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #fff;
}
.homeForm :-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #fff;
}

.homeGallery .imgCaption {
  background: #e5e5e5;
  padding: 8px;
  font-style: normal;
  color: #5a5a5a;
  max-width: 300px;
}

/* Blog Styles */

.blogListItem {
  /* margin-bottom: 20px; */
}

.blogListItem:last-child > div:last-child {
  display: none;
}

.blogListItem div.large-3.columns {
  text-align: center;
  margin-bottom: 20px;
}

.blogListItem div.large-3.columns img {
  max-height: 250px;
  /* margin-bottom: 20px; */
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.blogListItem h2 {
  margin-bottom: 0;
  color: #690e73;
  font-size: 13pt;
  font-weight: normal;
  font-weight: bold;
}

.blogListItem h5 {
  font-size: 9pt;
  margin-top:6px;
}

.blogListItem .button {
  background-color: #2e7da2;
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="#2e7da2", endColorstr="#428aab");
  border-radius: 3px;
  color: #ffffff;
  text-decoration: none;
  width: auto;
  display: inline-block !important;
  min-width: 100px;
  padding: 10px;
  text-align: center;
  border: none;
  font-size: 12px;
  margin-bottom: 0;
}

.blog-container h1 {
  font-size: 22px;
}

.blog-post h1.post-title {
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0 0 3px 0;
    line-height: 1;
}

.blog-container h2 {
    font-size: 18px;
    margin-bottom: 0;
    padding: 0 0 3px 0;
}

/* Contact Styles */

/* Contact Us Styles */

.contactForm input, .contactForm select, .contactForm textarea {
  width: 100%;
}

.contactForm ::-webkit-input-placeholder { /* WebKit browsers */
    color: transparent;
}
.contactForm :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: transparent;
}
.contactForm ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: transparent;
}
.contactForm :-ms-input-placeholder { /* Internet Explorer 10+ */
    color: transparent;
}

.contactForm input[type="submit"] {
  color: #ffffff;
  text-align: center;
  line-height: 27px;
  border: none;
  font-size: 12px;
  margin-left: 2px;
  display: inline-block !important;
  min-width: 100px;
  background-color: #2e7da2;
  /* background-image: linear-gradient(#1acda9, #30d2b1); */
  /* filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="#1acda9", endColorstr="#30d2b1"); */
  border-radius: 3px;
  padding: 8px 4px;
}

@media only screen and (max-width: 1010px) {
  .logoCont {
    top: 25px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .header {
    margin-top: 230px;
    position: inherit;
  }
  .menuBG {
    text-align: center;
  }
  .menuInner {
    display: inline-block;
    position: relative;
    float: none;
  }
}

@media only screen and (max-width: 788px) {
  #mobile-hamburger {
    display: inline-block;
  }
  .menuInner {
    bottom: 70px;
    z-index: 200;
    left: 4%;
  }
  .menuInner ul.cf {
    display: none;
  }
  .menuBG {
    text-align: left;
    padding: 10px;
    height: 0;
    padding: 0;
  }
  .header {
    margin-top: 120px;
  }
  .logoCont {
    width: 100%;
    text-align: center;
    top: 0;
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 40em) {
  .blogListItem div.large-3.columns img {
    top: inherit;;
    -ms-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  .footerSearch {
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .copyright, .footerRight {
    float: none;
  }
}

.clear {
	clear: both;
}
.clearfix:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.row:after{
	content: "";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.entry-content{
	min-height: 200px;
}
.menuInner li.current-menu-item a::after {
    content: '\f0d8';
    font-family: 'FontAwesome';
    position: absolute;
    top: 28px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.rst-list-sponsors{
	padding-bottom: 25px;
}
.highlightOrange p{
    color: #eb7b0a;
}
.bigsize p{
	font-size: 130%;
}
.highlightOrange.grey p {
    color: #5a5a5a;
}
.contactForm .columns{
	float: none;
}
span.wpcf7-not-valid-tip{
	margin-top: -10px;
}
div.wpcf7-response-output{
	margin-top: 0;
}
.heading-site h2 img{
	margin-right: 15px;
}
.search .search-result{
	margin-bottom: 30px;
}
@media (min-width: 600px) {
	.heading-site h2 img{
		margin-right: 75px;
	}
	.heading-site h1{
		padding-left: 95px;
	}
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
	margin-left: -10px;
	margin-right: -10px;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin: 0;
	padding: 10px;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

@media (max-width: 1024px){
	.rst-list-sponsors .large-4{
  	margin-bottom: 30px;
  }
  .rst-list-sponsors .large-4:last-child{
  	margin-bottom: 0px;
  }
}
@media (max-width: 767px){
	.heading-site h1{
  	padding-top: 10px;
  }
  img.alignnone {
	margin: 0 0 5px 0;
	}
}
