:root {
  --black: #1d1d1b;
  --brightGrey: #efefef;
  --red: #cb2027;
  --silver: #d1d1d1;
  --yinmin-blue: #1b4ca0;
  --white: #fff;
}
/* @font-face {
    font-family: 'open_sanscondensed_regular';
    src: url('../cms/fonts/opensans-condensedregular-webfont.woff2') format('woff2'),
         url('../cms/fonts/opensans-condensedregular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

} */
a{
    color: var(--yinmin-blue);
}
body {
  font-family: "Open Sans", sans-serif;
  /* font-family: 'open_sanscondensed_regular'; */
  color: var(--black);
  font-size: 18px;
}
.container {
  max-width: 1280px;
}
.title {
    font-size: 30px;
    font-weight: bold;
}
.sub-title {
    font-size: 20px;
    font-weight: bold;
}
body.pg-home {
  background: url("../images/asset2.svg");
  background-position: top right;
  background-size: 70%;
  background-repeat: no-repeat;
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-header.is-invalid,
.was-validated .accordion-header:invalid {
  border: 2px solid var(--red);
  border-radius: 5px;
}

.accordion-button.is-invalid:focus {
  z-index: 3;
  border-color: var(--red);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

div.alert {
  position: relative;
  padding: 0.5rem 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

.add-premises-div.disabled {
  opacity: 0.5; /* Adjust the opacity to your preference */
  cursor: not-allowed !important;
}
a.listings {
  text-decoration: none;
  color: #000;
}

.badge {
  margin-bottom: 2px;
  width: 100%;
  background-color: #ff4136;
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: 0px;
}

.badge p {
  text-align: left;
  padding: 0.5rem;
  margin: 0.5rem;
}

main .container h2, 
.sub-heading {
  color: var(--red);
}

.logo {
  max-width: 100%; /* Ensures the logo won't exceed the width of its container */
}

.logo img {
  max-width: 100%; /* Make sure the image doesn't exceed its natural size */
  height: auto; /* Allow the height to adjust proportionally to the width */
  width: 190px;
}
/* Generic */
h2,
main .container h1 {
  /* text-transform: uppercase; */
  letter-spacing: -1px;
  font-size: clamp(2.1875rem, 0.9688rem + 2.5391vw, 3rem);
  margin-bottom: 0;
}
.sub-heading {
  letter-spacing: 0;
}
.fs-18 {
  font-size: 18px;
}
/* Structure */
header {
  overflow: hidden;
}
main {
  background: url("../images/blob-pink.svg") no-repeat;
  background-size: 300px;
  background-position: left center;
}
.right-angle {
  height: 90px;
  width: 90px;
  background-color: var(--yinmin-blue);
  right: 0;
  top: 129px;
  position: absolute;
  z-index: -1;
}
.right-angle:after {
  content: "";
  height: 300px;
  width: 300px;
  border-radius: 50%;
  display: block;
  position: absolute;
  left: -158px;
  background: var(--white);
  border-bottom-left-radius: 90px;
  top: 0px;
}
.right-angle-home {
  background: url("../images/asset2.svg");
  position: absolute;
  z-index: -1;
  top: 129px;
  height: 150px;
  right: 0;
}
/* Navigation */

.home .navbar {
    height:180px;
}

.home .navbar:after {
  content: "";
  height: 180px;
  width: 175%;
  right: -100%;
  display: block;
  background-color: var(--yinmin-blue);
  position: absolute;
  top: 0;
  z-index: -1;
  border-bottom-left-radius: 180px;
}

.navbar:after {
  content: "";
  height: 130px;
  width: 175%;
  right: -100%;
  display: block;
  background-color: var(--yinmin-blue);
  position: absolute;
  top: 0;
  z-index: -1;
  border-bottom-left-radius: 130px;
}
.navbar-toggler.navbar-toggler-right.position-relative:before {
  content: "";
  width: 150px;
  height: 110px;
  display: block;
  position: absolute;
  /* background: #fff; */
  top: -46px;
  z-index: -1;
  border-bottom-left-radius: 88px;
  border-bottom-right-radius: 53px;
  border-top-left-radius: 0;
  left: -46px;
}
.navbar-toggler.navbar-toggler-right.position-relative.collapsed:before {
  content: "";
  width: 150px;
  height: 110px;
  display: block;
  position: absolute;
  /* background: var(--yinmin-blue); */
  top: -46px;
  z-index: -1;
  border-bottom-left-radius: 88px;
  border-bottom-right-radius: 53px;
  border-top-left-radius: 0;
  left: -46px;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: none !important;
  background-color: var(--black);
  height: 3px;
  width: 25px;
  margin: 10px 0;
  position: relative;
  transition: all 0.35s ease-out;
  transform-origin: center;
}
.navbar-toggler:not(.collapsed)  .navbar-toggler-icon::after {
  display: block;
  background-color: var(--black);
  height: 3px;
  content: "";
  position: relative;
  top: 4px;
  transition: all 0.35s ease-out;
  transform-origin: center;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  transform: rotate(-90deg) translateX(7px);
}

.navbar-toggler-icon {
  background-image: none !important;
  background-color: var(--black);
  height: 3px;
  width: 25px;
  margin: 10px 0;
  position: relative;
  transition: all 0.35s ease-out;
  transform-origin: center;
}

.navbar-toggler-icon::before {
  display: block;
  background-color: var(--black);
  height: 3px;
  content: "";
  position: relative;
  top: -7px;
  transition: all 0.15s ease-out; /*taken down to hide quicker*/
  transform-origin: center;
}

.navbar-toggler-icon::after {
  display: block;
  background-color: var(--black);
  height: 3px;
  content: "";
  position: relative;
  top: 4px;
  transition: all 0.35s ease-out;
  transform-origin: center;
}

.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after {
  background-color: var(--bs-gray-100);
}
.nav-link {
  font-weight: 600;
}
/* Accordion */
.accordion-button {
  font-weight: bold;
}
.accordion-item,
.accordion-item:first-of-type .accordion-button,
.accordion-item:first-of-type {
  border-radius: 8px;
}

.accordion-button:not(.collapsed),
.accordion-button.collapsed {
  background: var(--yinmin-blue);
  color: var(--bs-gray-100);
  border-radius: 8px;
}
button[type="submit"] {
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 12px;
}

.trading-form input[type="text"],
.trading-form textarea,
.trading-form select,
.trading-form input[type="email"],
.trading-form input[type="tel"],
.trading-form input[type="number"] {
  background-color: var(--bs-gray-100);
  border-color: var(--bs-gray-400);
  border-radius: 12px;
}

/* home-hero*/

.home-swoop-bg {
    background:url(https://tmp.2dot0.co.uk/themes/newbwc/assets/images/home-swoop.svg); 
    background-size:600px; 
    background-position: right top; 
    background-repeat:no-repeat;
}

.home-swoop-bg .container {
    position: relative;
    top:-20px;
}

.color-black{
    text-transform: uppercase;
    color: #000 !important;
}
.font-size-35{
    font-size: 35px;
}
.margin-bottom-20{
    margin-bottom:20px;
}
.find-business-form input[type="text"] {

  height: 47px;
}


@media only screen and (max-width: 1200px) {

    .home-swoop-bg {
        background-size:350px; 
    }

}

@media only screen and (max-width: 860px) {

   .home-swoop-bg {
        background: none;
    }

}


.find-business-form {
  border-radius: 24px;
  background-color: var(--brightGrey);
  border: 1px solid var(--white);
}
.find-business-form input[type="text"] {
  background-color: var(--white);
  border-radius: 12px;
  padding: 12px;
}

.btn-primary {
  background-color: var(--red);
  border-color: var(--red);
  border: 0;
  padding: 12px;
}

.btn-block {
  width: 100%;
}

.or {
  font-weight: bold;
  position: relative;
  display: block;
  width: 100%;
  z-index: 10;
}
.or span {
  position: relative;
  z-index: 100;
}
.or:before {
  content: "";
  height: 1px;
  width: 100%;
  background-color: var(--black);
  left: 0;
  position: absolute;
  z-index: 0;
  top: 50%;
}
.or:after {
  content: "";
  height: 30px;
  width: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brightGrey);
  position: absolute;
  z-index: 1;
}
.brand-carousel-wrapper {
    border: 1px solid var(--silver);
    background-color: var(--white);
    border-radius: 24px;
    position: relative;
}
.center-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 180px;
    z-index: 9;
    background-color: #fff;
}
.supported-councils {
  border: 1px solid var(--silver);
  background-color: var(--white);
  border-radius: 24px;
  max-height: inherit;
}

.supported-councils img.main-img {
  width: 150px;
}
.supported-councils img {
  width: 130px;
  top: -60px;
  position: relative;
}

.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--yinmin-blue);
  border-color: var(--yinmin-blue);
}
.img-wrapper {
  max-width: 550px;
  max-height: 550px;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  min-width: 150px;
}
.btn-readmore {
  color: var(--white);
  background-color: var(--yinmin-blue);
  border-color: var(--yinmin-blue);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-readmore:hover {
  color: var(--white);
}

.logo_wrapper{
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    border-radius: 8px;
}

div.navbar-collapse{
  top: 0;
  border-radius: 0;
}
.body-shifted {
  position: absolute;
  left: calc(-100% + 90px);
  width: 100%;
  transition: left 300ms ease-in-out;
}

body {
  left: 0px;
  transition: left 200ms ease-in-out;
  position: absolute;
  width: 100%;
}

.find-business-form select {
    background-color: var(--white);
    border-radius: 12px;
    padding: 12px;
}
.select2-container {
    width: 100% !important;
}

.select2-results__option {
    padding: 8px;
}

.select2-selection__rendered {
    /* background-color: #e0e0e0; */
    padding: 8px;
}
.select2-selection .select2-selection--single .select2-selection__rendered{
    border-radius: 12px !important;
    height: 47px !important;
}
.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    height: 47px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    display: block !important;
    padding-left: 12px !important;
    padding-right: 20px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
    position: absolute !important;
    top: 1px !important;
    right: 1px !important;
    width: 20px !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 12px!important;
}

/* Business-list-page */

.business-item {
    border-color: transparent;
    border-radius: 20px;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    position: relative;
}

.top-boxes-container{
    width: 100%;
  /* background: linear-gradient(red,blue); */
  padding: 1em;
  /* important */
  display: flex;
  /* important */
  align-items: stretch;
  justify-content: space-around;
}

.business-box{
     width: 100%;
  background: white;
  /* color: grey; */
  margin: 0 .5em;
  /* padding: .5em; */
  /* optional */
  min-height: 100%;
}

.business-item table td {
    padding: 5px 15px;
}

.alert-success {
    color: white;
    background: #1b4ca0;
    border-radius:10px!important;
    padding:5px 10px!important;
}

.business-item table .business-icon {
    margin-right:10px
}

.business-item table .rating {
    background:#eee;
    padding:10px 15px;
    border-radius: 10px;
    margin-bottom:10px;
}

.business-item table .rating .star {
    margin-bottom:5px;
}
.business-item .img-wrapper {
    border: 1px solid #C6C6C6;
    border-radius: 8px;
    height: 150px;
    width: 150px;
}



/* Business-profile-page */
#business-details h2 {font-size:30px!important; margin-bottom:20px}

.map iframe {
    width:100%;
    height: 100%;
    min-height:460px;
    /* border-radius:20px; */
    /* box-shadow: 0 0px 5px silver; */
}

.header-block {
    color: white;
    background: #1b4ca0;
    border-radius:20px!important;
    padding:5px 10px!important;
    margin:20px 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    margin-bottom:30px;

}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius:20px;
    box-shadow: 0 0px 5px silver;
}

.reviews-box {
    border-radius:20px;
    box-shadow: 0 0px 5px silver;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    padding:10px 15px;
    margin-bottom:20px;
}

.reviews-box h2 {
    margin-bottom: 0px;
    text-transform: none;
    font-size: 18px!important;
}

.reviews-box .row {
    border-bottom: 1px solid black;;
}

.bg-grey {
    background: #E8E8E8;
    border-radius: 8px;
}

 /* Styles for the stars */
/* Styles for the stars */
.rating {
    unicode-bidi: bidi-override;
    text-align: left;
    background: #EDEDED;
    border-radius: 16px;
    /* direction: ltr; */
    /* direction: rtl; */
    padding: 8px;
    margin-top: 16px;
    margin-bottom: 10px;
}

.rating img {
    width: 30px;
    padding: 4px;
}

.rating input {
  display: none;
}

.rating label {
  display: inline-block;
  padding: 5px;
  font-size: 24px;
  cursor: pointer;
}

.rating label:before {
  content: "\2605"; /* Unicode character for a star */
  font-size: 24px;
  color: #ddd;
  display: inline-block;
}

.rating label:hover:before,
.rating input:checked ~ label:before,
.rating input:hover ~ label:before {
  color: #f90;
}

.trader_feedback_rating input{
    /* display: inline-block; */
    cursor: pointer;
    /* width: 30px; */
     /* height: 30px; */
     /* padding: 1rem; */

}

.trader_feedback_rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px; /* You can adjust the width as needed */
    margin: 0 auto; /* Centers the container */
}

.trader_feedback_rating input {
    /* display: none; Hide the default radio buttons */
}

.trader_feedback_rating label {
    cursor: pointer;
    padding: 5px; /* Adjust the padding as needed */
}

.trader_feedback_rating label:hover,
.trader_feedback_rating input:checked + label {
    color: #ffcc00; /* Highlight color on hover or when selected */
}

.top-section {    
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 30px 0 30px;
}

.bottom-section {    
    padding: 0 40px 20px 40px;
}
.business-item hr {
    color: var(--bs-gray-600);
}
.small, small {
    font-size: 0.7em;
    font-weight: 600;
}

.font-size-16{
    font-size: 16px;
}

.top-section h3.title {
    font-size: 30px;
    margin-right: 60px;
}

.profile-box-container{
    border-color: transparent;
    border-radius: 20px;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    position: relative;
}

/* #business-details, #map {
    border-color: transparent;
    border-radius: 20px;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    position: relative;
} */
.review-box {
    border-bottom: 1px solid var(--bs-gray-500);
    line-height: 32px;
}
.feedback-wraper {
    background-color: var(--bs-gray-200);
    border-radius: 8px;
    padding: 4px 12px;
}
.avg-points {
    font-size: 50px;
    font-weight: bold;
}


@media (min-width: 1600px) {
  body.pg-home {
    background-size: 1000px;
  }
}
@media (min-width: 1200px) {
    .home .navbar:after {
        content: "";
        height: 180px;
        width: 170%;
        right: -100%;
        display: block;
        background-color: var(--yinmin-blue);
        position: absolute;
        top: 0;
        z-index: -1;
        border-bottom-left-radius: 180px;
    }

    .navbar:after {
        content: "";
        height: 130px;
        width: 170%;
        right: -100%;
        display: block;
        background-color: var(--yinmin-blue);
        position: absolute;
        top: 0;
        z-index: -1;
        border-bottom-left-radius: 130px;
    }
}

@media (min-width: 993px) {

  .navbar:after {
    width: 160%;
  }
  .nav-link {
    color: var(--bs-gray-100)!important;
  }
  .nav-link:focus,
  .nav-link:hover {
    color: var(--bs-gray-100)!important;
  }

    .home .nav-item.active .nav-link:after,
    .home .nav-link:focus:after,
    .home .nav-link:hover:after {
        top: 110px;
        bottom:0;
    }

  .nav-item.active .nav-link:after,
  .nav-link:focus:after,
  .nav-link:hover:after {
    content: "";
    height: 3px;
    width: 24px;
    background-color: var(--bs-gray-100);
    display: block;
    position: absolute;
    bottom: 45px;
  }

  .supported-councils {
    max-height: 100px;
  }
}
@media (max-width: 992px) {
    .nav-social {
        position: fixed;
        width: calc(100% - 100px);
        right: 0;
        bottom: 32px;
      }
  .navbar-collapse {
    background-color: var(--yinmin-blue);
    padding: 0 16px;
    margin-left: -100px;
    border-radius: 24px;
    width: calc(100% - 100px);
    height: 100%;
    min-height: 100vh;
    position: fixed;
    z-index: 100;
    top: 126px;
    right: 0;
  }
  .navbar-collapse .nav-link {
    color: var(--bs-gray-100)!important;
  }
  /* .navbar-collapse .nav-item:not(:last-child) {
    border-bottom: 1px dotted var(--bs-gray-100);
  } */
  .supported-councils img {
    top: 0;
  }
  .navbar-collapse.collapsing {
    right: -100%;
    transition: height 0s ease;
  }

  .navbar-collapse.show {
    right: 0;
    transition: right 300ms ease-in-out;
  }

  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: right 500ms ease-in-out;
  }

  .center-img {
        transform: translate(-50%, -5%);
        position: relative;
    }
}

@media (max-width: 767px) {
    .home-swoop-bg .container {
        position:relative;
        top:20px;
    }
    .home .navbar {
        height:130px;
    }
    .home .navbar:after {
        content: none;
    }
    .navbar:after {
        content: none;
    }
    .right-angle {
        display: none;
    }
    h2,
    p {
        text-align: center;
    }
    .top-section {
        padding: 16px 16px 0;
    }
    .listing-basic  {
        flex-direction: column;
        
    }
    .bottom-section {
        padding: 0 16px 16px 16px;
    }
    .top-section .img-wrapper {
        margin-bottom: 20px;
    }
    
}
@media only screen and (max-width: 580px) {
    .center-img {
        max-width: 120px !important;
        position: absolute;
        top: -150px;
    }
    .brand-carousel-wrapper {
        margin-top: 100px;
    }
}
@media only screen and (max-width: 860px) {
    /*  table responsive styles */
	/* Force table to not be like tables anymore */
	.business-item table, .business-item table thead, .business-item table tbody, .business-item table th, .business-item table td, .business-item table tr { 
		display: block; 
        padding:0px;
	}

    .business-item table td {
        padding:10px;
    }
}

@media (min-width: 768px) {

    .swoop-bg{
        background:url(https://tmp.2dot0.co.uk/themes/newbwc/assets/images/innerpage-swoop.svg); 
        background-size:130px; 
        background-position: right top;
        background-repeat:no-repeat;
        padding-top:30px;
    }
}

.required-field::after {
    content: ' *';
    color: red; /* or any other color you prefer */
}

@media screen and (max-width: 1200px) {
  .top-boxes-container{
      flex-direction: column;
  }
}