/*
Theme Name: Burnett Design Ltd Child Theme
Theme URI: https://www.neilburnett.co.uk
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
template: bb-theme
*/

/* Add your custom styles here... */ 

/* Move Google Captcha badge to left... */ 
.grecaptcha-badge {
width: 70px !important;
overflow: hidden !important;
transition: all 0.3s ease !important;
left: 4px !important;
}

.grecaptcha-badge:hover {
width: 256px !important;
}


body {
  font-family: "proxima-nova", Verdana, Arial, sans-serif !important;
  font-weight: 400;
  background-image: url("/wp-content/themes/bb-theme-child/images/alex-background.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  height: auto;
  min-height: 100%;
}



.slidertext{
  font-family: "proxima-nova", Verdana, Arial, sans-serif !important;
}

.zindex{
    z-index:999!important;
    position:relative;
}

#logosvg{
      filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.8));
}

.fl-page .fl-page-content {
    background: none;
}

h1{
  font-family: 'proxima-nova', sans-serif;
  font-weight: 100;
}
h2 {
  font-family: 'proxima-nova', sans-serif;
  font-weight: 400;
}
h3, h4, h5, h6 {
  font-family: 'proxima-nova', sans-serif;
  font-weight: 700;
  color:#94a89a;
}

#mainmenu .pp-advanced-menu-mobile-toggle{
    text-align:right!important;
}
.pp-toggle-arrows .pp-menu-toggle {
    left:0px!important;
    
}
#mainmenu .pp-advanced-menu{
    text-align:left!important;
}
.pp-advanced-menu-mobile-toggle-label{
    color:#fff!important;
}
.pp-advanced-menu-mobile-toggle-label:hover{
    color:#e54d3b!important;
}
.pp-hamburger-inner:hover{
    color:#e54d3b!important;
}

.n2-ss-slider-wrapper-inside{
    box-shadow:0px 0px 20px 0px rgba(0,0,0,0.5)!important;
    border-radius: 15px!important;
}

.grey_panel_graphic{
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-corner.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    border-bottom-right-radius: 15px;
}

.fl-post-grid-post{
    background:none!important;
    border:none!important;
}

/* Supporters CPT*/
.grey_panel_sponsors .supporters{
}

.supporters .fl-post-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #2d2d2d;
    border-radius: 15px;
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-corner.jpg");
    background-repeat: no-repeat;
    background-size: 350px auto;
    background-position: right bottom;
    padding:30px;

}

.supporters .fl-post-text {
    flex-basis: 50%;
    margin-right: 30px;
}

.supporters .fl-post-image {
    flex-basis: 50%;
}

.supporters .fl-post-image img {
    max-width: 100%;
    height: auto;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;

}

.fl-post-feed-post{
    border-bottom:0px solid!important;
    box-shadow:0px 0px 20px 0px rgba(0,0,0,0.5);
    border-radius: 15px;

}


.grey_panel_sponsors .supporters img{
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom:2px solid #e54d3b;
}

.woocommerce .fl-page-content .quantity input.qty, .woocommerce-page .fl-page-content .quantity input.qty{
    padding:0.2em!important;
}

/*-------------End Suporters CPT----------------*/


.grey_panel_graphic2{
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-graphic2.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    border-bottom-right-radius: 15px;
}

.grey_panel_graphic4{
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-graphic2.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    border-bottom-right-radius: 15px;
    background-color:#2d2d2d;
    border-radius: 15px;
    margin-bottom:30px;
    box-shadow:0px 0px 20px 0px rgba(0,0,0,0.5);

}


.grey_panel_graphic3{
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-graphic2.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    border-bottom-right-radius: 15px;
    background-color:#f0f2f0;
    border-radius: 15px;
    margin-bottom:30px;
    box-shadow:0px 0px 20px 0px rgba(0,0,0,0.5);
}

.woocommerce-cart .woocommerce{
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-graphic2.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    border-bottom-right-radius: 15px;
    background-color:#f0f2f0;
    border-radius: 15px;
    padding:30px;
}

.fl-woo-content{
    background-image: url("/wp-content/themes/bb-theme-child/images/grey-panel-graphic2.png")!important;
    background-repeat: no-repeat!important;
    background-position: right bottom!important;
    border-bottom-right-radius: 15px!important;
    background-color:#f0f2f0!important;
    border-radius: 15px!important;
    margin-top:195px;
    padding:30px!important;
    box-shadow:0px 0px 20px 0px rgba(0,0,0,0.5);
    max-width:1200px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    float:none;
}



.quote_graphic img{
    border-top-right-radius: 15px;
}


.supporters .fl-post-grid-post{
    background:none!important;
    border:0px!important;
}

.homepage-logo-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.homepage-logo-block img {
  display: block; /* make the image a block-level element */
  margin: 0 auto; /* center the image horizontally */
  max-width: 100%;
  height: 70px; /* set the height of the image */
  object-fit: contain; /* ensure the image maintains its aspect ratio */
}


.fl-node-705viwgxtyfp .fl-post-column {
    padding-bottom:80px;
}



.homeposts .fl-post-grid-text{
    padding:20px 0px!important;
}
.homeposts img{
    border-bottom:2px solid #e54d3b;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.quote-green{
    background-image: url("/wp-content/themes/bb-theme-child/images/quote2.png");
    background-repeat: no-repeat;
    background-size: 122px 102px;
}
.quote-green:nth-of-type(2n) {
    background-image: url("/wp-content/themes/bb-theme-child/images/quote1.png");
    background-repeat: no-repeat;
    background-size: 122px 102px;
}
.text-white p, .text-white li{
    color:#fff!important;
}

.text-white li{
    
}
.text-white ul {
  list-style: none; /* Remove default bullets */
}

.text-white ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: red; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}


.wp-block-quote{
    background-image: url("/wp-content/themes/bb-theme-child/images/quote2.png");
    background-repeat: no-repeat;
    background-size: 150px auto;
    border:none!important;
    padding:30px;
    color:#e54d3b;
    font-size: 27px;
    font-style: italic;
    font-weight: 400;
}

.el-element iframe {
width: 100%;
height: 422px;
}

/*---------------------------Related news posts----------------------------------*/

.related-blog-posts .related-blog-post-col{
    background-color:#f0f2f0;
    padding:20px;
    border:none;
    margin-right:20px;
}

            .related-blog-posts {
  display: flex;
  flex-wrap: wrap;
}

.related-blog-posts-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: flex-start;
}

.related-blog-post-col {
  width: calc(33.33% - 10px);
  margin-bottom: 20px;
}

.related-blog-post-col a {
  display: block;
  text-decoration: none;
  color: #333;
  border: 1px solid #eee;
  padding: 10px;
}

.related-blog-post-col a:hover {
  background-color: #eee;
}

.related-blog-post-col h2 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
}

.related-blog-post-col p {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
}

.related-blog-post-col img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/*---------------------------Contact 7 styles----------------------------------*/

.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 10px;
	padding-left: 10px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date], input[type=month], input[type=week], input[type=time], input[type=number], input[type=search], input[type=url], textarea{
    border-bottom:2px solid #7c0053!important;
    border-radius:0px!important;
    padding:20px!important;
    margin:0 0 20px;
} 
.cf-container  label{width:100%}
.fl-page input[type=submit]{padding:10px 25px;}

/*End Contact form Layout*/

/* iPad Portrait and Landscape */
@media only screen and (device-width: 768px) {
  body {
background-image: url("/wp-content/themes/bb-theme-child/images/alex-background-ipad.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  }
}

/* iPhone Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {

     body {
background-image: url("/wp-content/themes/bb-theme-child/images/alex-background-ipad.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  }
/* Small devices (up to 768px) */
@media screen and (max-width: 768px) {
  .supporters .fl-post-wrapper {
    flex-direction: column;
    background-size: auto 250px; /* Adjust the background size for vertical stacking */
    padding: 20px; /* Reduce the padding for small screens */
  }

  .supporters .fl-post-text,
  .supporters .fl-post-image {
    flex-basis: 100%;
    margin-right: 0;
  }
}
 .related-blog-posts-row {
    flex-direction: column;
  }
  
  .related-blog-post-col {
    width: 100%;
    margin-bottom: 20px;
  }

  }
