/* 
if you just want to change the colour of the iframe, you can find and replace the colour below with your own.
main color : #fff
nav link hover color : #fff
link color: #7ccad6
*/


/* Define colours */

:root {

    
    --bs-body-color: rgb(0 47 108 / 1);
    --bs-table-color: black;
    --bs-table-color-state: #fff; 
    --bs-body-font-weight:100;
    --link-color: rgb(0 47 108 / 1 );
    --link-color-hover: rgb(0 47 108 / 1 );
    --nav-button-color: rgb(0 47 108 / 1 );      
    --button-background-color: rgb(0 47 108 / 1 ); 
    --card-background-color: #fafafa;
    --light-gray-color: f5f5f5; 
    --gray-color: #aaa;    
    --bs-body-font-size:14px;
    --bs-border-radius:.375rem;
    --bs-text-color: #7ccad6;
    --bs-accordion-border-radius:8px;
    --bs-accordion-inner-border-radius: 3px;
}

body{
  /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important; */
}

/*selector for table. for some reason bootstrap priorities its own table css variable definition. so we overwrite it using this*/
.table.borderless{
  --bs-table-color: black;
}

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

ul li {
  font-size: 18px;
  line-height: 26px;
  color: #000;
}

.checkbox-card {
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.btn{
  background-color: var(--button-background-color);
  border-radius: 8px;
}

.btn:hover{
  border-color:rgb(0 47 108 / 1 );
  color: #fff;
  background-color: rgb(0 47 108 / 1 );
 }

 .reset-search-form{
  display: flex;
  align-items: center;
 }
 .reset-search-form:hover{
  background-color: #fff;
  color: var(--bs-body-color);
 }


.nav-item .nav-link.active{
  background-color: #fff;
  color: rgb(0 47 108 / 1 )!important;
}

.nav-item .nav-link.active::before{
  content: " ";
  position: absolute;
  top: calc(50% + 0.7em);
  left: 10px;
  width: calc(100% - 20px);
  border-top-style: solid;
  border-width: 4px;
  transition: transform .2s ease-in-out;
  transform: scaleX(1);
  /* color:rgb(200 16 46 / 1); */
}

.nav-item>a {
  position: relative; /* Ensure positioning context for ::before */
  display: inline-block; /* Ensure width only matches text */
  font-weight: 600;
  font-size:16px!important;
  --tw-text-opacity: 1 !important;
  color: rgb(0 47 108 / var(--tw-text-opacity, 1)) !important;
}

.nav-item>a::before{
  content: "";
  position: absolute;
  top: calc(50% + 0.7em);
  left: 10px;
  width: 0%;
  height: 2px;
  border-top-style: solid;
  border-width: 4px;
  transition: width .2s ease-in-out;
}

#directory>a::before{
  color:rgb(200 16 46 / 1);
}
#memberlist>a::before{
  color: rgb(152 29 151 / 1);
}
#map>a::before{
  color: rgb(0 47 108 / 1);
}

.nav-item>a:hover::before{
  width: calc(100% - 20px);
}

.nav-link{
  font-size: 14px;
}

.navbar div a, #navbarSupportedContent ul li a{
  color: var(--bs-body-color);
}

#navbarSupportedContent ul li a:hover {
  color: rgb(0 47 108 / 1 ) !important;
  background-color: #fff;
  text-decoration: none;
}

.intro-text{
  font-size:14px;
}

.btn.btn-outline-main{
  background-color: #fff;
  color: rgb(0 47 108 / 1 );
  border-color: var(-nav-button-color);
  font-weight: bold;
}

.btn.btn-outline-main:hover{
  background-color: var(-nav-button-color);
  color:#fff;
}

.single-card-content .description, .checkbox-card-title, .accordion-button>h5, .copyright, .btn, .card-btg-result,.form-control,.content ul li {
  font-size:16px;
  line-height: 1.5;
}

.form-control{
  padding:10px 20px;
}

.partner-content-title{
  font-size: 22px;
  color: #002f6c;
  font-weight: 600;
}
.content-child-title{
  font-weight: 200;
}

.single-card-content.has-children .wrapper-checkbox {
  padding: 10px 20px;
}

.checkbox-card-content .single-card-content {
  padding: 10px 16px 15px 20px;
}

.card-title{
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.btn_profile_link:hover{
  color:rgb(225 0 152 / 1);
}

.reg-change-order{
  color:var(--bs-body-color);
}

.financing-table{
  /* background-color: #f4f5fa; */
}

.reg-advanced-search-label{
  color:#fff;
}

#navbarSupportedContent{
  background-color: #fff!important;
}

.form-control,.reg-advanced-search-label{
  border-radius: var(--bs-border-radius)!important;
}
.result-labels{
  border-radius: var(--bs-accordion-border-radius)!important;
}

.search-container,.maps-content .maps-content-doughter{
  /* background-color: #f4f5fa; */
  box-shadow: none!important;
}

.search-container, .maps-content .maps-content-doughter,.card-btg-result>.card-body{
  border: solid 1px;
  border-radius: 15px;
  --tw-border-opacity: 1;
  border-width: 1px;
  border-color: rgb(0 47 108 / var(--tw-border-opacity, 1));
}

:-moz-focusring {
  outline: none !important;
}
.pagination li a:hover{
  text-decoration: none;
}

.map-search-container-outer .reg-advanced-search-outer{
  border-radius: var(--bs-border-radius);
}

.sub-intro{
  color:var(--bs-body-color);
  font-size:16px;
  font-weight: 100;
}

.title{
  font-weight: 600;
}

#map-window{
  height: 820px;
}
