/* validation - specifically to hide the box when valid */
.validation-summary-valid { display: none; }
	
/* type */
h1, .h1 { margin-bottom: 2rem; }
h2, .h2 { margin-bottom: 1.625rem; }
h3, .h3 { margin-bottom: 1.375rem; }
h4, .h4 { margin-bottom: 1rem; }
h5, .h5 { margin-bottom: 1rem; }

/* ---- removing underlines on bootstrap components */
a.badge,
.breadcrumb a,
a.btn,
.card-title a,
a.card-link,
.carousel a,
a.dropdown-item,
a.list-group-item,
a.nav-link,
a.navbar-brand,
a.page-link {
	text-decoration: none;
}
.text-underline-hover:hover,
.card-title a:hover {
	text-decoration: underline;
}

/* template */
@media (min-width: 768px) {
	#navbarSiteSearch input {
		width: 30vw;
        max-width: 500px;
	}
}
.site-footer {
	border-top: 4px solid #c41e38;
}
.site-footer .navbar-dark .navbar-nav .nav-link {
	color: #fff;
	text-decoration: underline;
}

/* navigation */
.skip-navigation a {
	z-index: 1;
}
.nav.nav-subsite .nav-link {
	border-bottom: 2px solid transparent;
}
.nav.nav-subsite .nav-link:focus:not(.disabled),
.nav.nav-subsite .nav-link:active:not(.disabled),
.nav.nav-subsite .nav-link:hover:not(.disabled),
.nav.nav-subsite .nav-link.active {
	border-bottom-color: #c41e38;
}
.nav.nav-subsite .nav-link.active {
	font-weight: bolder;
}
.nav.nav-subsite .dropdown-item.active, 
.nav.nav-subsite .dropdown-item:active {
	background-color: #c41e38;
}

/* breadcrumb */
.breadcrumb-item+.breadcrumb-item::before {
	color: #fff;
}

.microsite-breadcrumb-item + .microsite-breadcrumb-item::before {
    color: #212529;
}

/* carousel */
.carousel-indicators .active {
	background-color: #c41e38;
}
.carousel-indicators * {
	cursor: pointer;
}
@media (max-width: 767.98px) {
	.carousel-item .carousel-caption {
		position: static;
	}
}
@media (min-width: 768px) {
	.carousel-item .carousel-caption {
		background-color: rgba(0, 0, 0, 0.7);
		right: auto;
		left: auto;
		bottom: auto;
		top: 15%;
		padding: 1rem;
		width: 35%;
		text-align: left;
	}
}

/* outline :focus */
input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus,
.page-link:focus,
.form-control:focus,
.form-control-plaintext:focus,
.btn:focus,
.btn.focus,
.carousel-indicators div:focus,
[role="tab"]:focus,
[role="button"]:focus {
	box-shadow: none !important;
	outline: 3px #ffc107 solid;
}
.carousel-indicators div:focus,
div[role="tab"]:focus,
div[role="button"]:focus {
	outline-offset: -3px; /* allow for thickness of offset */
}

/* forms */
.form-control {
	transition: border-color 0.15s ease-in-out;
}
.btn {
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}


/* social media */
.list-social-media .fb .fa-square {
	color: #314785;
}
.list-social-media .fb a:hover .fa-square {
	color: #3a559f;
}
.list-social-media .tw .fa-square {
	color: #438cc7;
}
.list-social-media .tw a:hover .fa-square {
	color: #50abf1;
}
.list-social-media .yt .fa-square {
	color: #b33c2b;
}
.list-social-media .xtw .fa-square {
	color: #ffffff;
}
.list-social-media .xtw a {
	color: #000000;
}
.list-social-media .xtw a:hover .fa-square {
	color: #e9e9e9;
}
.list-social-media .yt a:hover .fa-square {
	color: #dc472e;
}
.list-social-media .fr .fa-square {
	font-size: 1.5em;
}
.list-social-media .fr .fa-stack {
	color: #cf0370;
}
.list-social-media .fr a:hover .fa-stack {
	color: #ff0084;
}
.list-social-media .pi .fa-square {
	color: #a51d25;
}
.list-social-media .pi a:hover .fa-square {
	color: #cb2027;
}
.list-social-media .rss .fa-square {
	color: #c65910;
}
.list-social-media .rss a:hover .fa-square {
	color: #f46b0d;
}

/* utilities */
.border-3 {
	border-width: 3px !important;
}
.border-top-3 {
	border-top-width: 3px !important;
}
.border-right-3 {
	border-right-width: 3px !important;
}
.border-bottom-3 {
	border-bottom-width: 3px !important;
}
.border-left-3 {
	border-left-width: 3px !important;
}

.btn-lcc {
	color: #fff;
	background-color: #6c757d; /* btn-secondary */
	border-color: #6c757d;     /* btn-secondary */
}
.btn-lcc:hover {
	color: #fff;
	background-color: #c41e38;
	border-color: #c41e38;
}

.bg-lcc {
	background-color: #c41e38 !important;
}
a.bg-lcc:hover, a.bg-lcc:focus,
button.bg-lcc:hover,
button.bg-lcc:focus {
	background-color: #ab051f !important; /* 10% darker */
}
.bg-lightish {
	background-color: rgba(0,0,0,.06) !important;
}
a.bg-lightish:hover, a.bg-lightish:focus,
button.bg-lightish:hover,
button.bg-lightish:focus {
	background-color: rgba(0,0,0,.16) !important; /* 10% darker */
}


/*Adverts*/

@media all and (max-width: 1000px) {
	.leader{
		display: block;
	}
	.sky{
		display: block;
	}
	.mpu{
		display: block;
	}
	.iBar{
		display: block;
	}
}
@media all and (max-width: 720px) {
	.leader{
		display: none;
	}
	.iBar{
		display: block;
	}
	.sky{
		display: none;
	}
	.mpu{
		display: block;
	}
	.adwrapper{
		visibility: hidden;
		height: 0;
		width: 0;
		margin: 0;
		padding: 0;
	}
	.adwrapper-side{
		visibility: hidden;
		height: 0;
		width: 0;
		margin: 0;
		padding: 0;
	}
}
@media all and (max-width: 479px) {
	.leader{
		display: block;
	}
	.iBar{
		display: block;
	}
	.sky{
		display: none;
	}
	.mpu{
		display: block;
	}
	.adwrapper{
		visibility: hidden; 
		height: 0; 
		width: 0; 
		margin: 0; 
		padding: 0;
	}
	.adwrapper-side{
		visibility: hidden; 
		height: 0; 
		width: 0;
		margin: 0;
		padding: 0;
	}	
}
.adwrapper {
	position: relative;		
	padding: 5px 0 5px 0;
	background-color: #f6f6f6;
	/*top: 10px;
	left: 13px;
	    margin-bottom: 20px;*/
	margin: 10px auto;
}
.adwrapper p {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 0.7em;
	color: #595959;	
}
.adwrapper-side {
	position: relative;	
	width: 300px;
	background-color: #f6f6f6;	
	padding-top: 30px;
	margin-top: 16px;
}
.adwrapper-side p {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 0.7em;
	color: #595959;
}

/* accordion */
.accordion-header:hover {
	background-color: #dedede;
}
.accordion.accordion-bordered > .card:not(:last-of-type) {
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* a to z */
.a-z-pills > li {
	margin:0 5px 5px 0;
}
.a-z-pills > li > a {
	background:#CFD6D9;
	color:#0B0C0C;
	border-radius:5px;
	min-width:36px;
	padding:5px;
	text-align:center;
	display:inline-block;
}
.a-z-pills > li > a:hover,
.a-z-pills > li.active > a,
.a-z-pills > li.active > a:hover {
	color:#fff;
	background:#6F777B;
}

.fostering-calculator .radio-text {
    cursor: pointer;
    background-color: #e9f3ee;
    border-radius: 100%;
	padding: 25px 15px 25px 15px;
	width: 80px;
	text-align: center;
	display: inline-block;	
}

.fostering-calculator input[type="radio"]:checked + .radio-text {
    background-color: #79abae;
    color: white;
}

.fostering-calculator input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

.fostering-calculator .compensation {
    color: #79abae;
    font-size: 30px;
}

#connect-frame {
z-index: 2147483648;
}