/*Shared values come from Rising Lotus Huisstijl. Original values remain as fallbacks.
 */

/**
 * BabyHoroscoop Styles
 */

/* General
-------------------------------------------------------------- */
@font-face {
	font-family: "babyhoroscoop";
	src:local('babyhoroscoop'),
	url("../fonts/babyhoroscoop.woff?fr7qsr") format("woff");
	font-weight: normal;
	font-style: normal;
}
#bh-form-wrap,
#bh-report-wrap {
	display: block;
	width:700px;
	max-width:100%;
	margin:1em auto;
	font-size:1em;
	line-height: 1.62em;
	font-family: var(--rl-style-font-body,Arial,Helvetica,sans-serif);	
}
.bh-small {
	font-size: 0.9em;
}

/* Form
-------------------------------------------------------------- */
#bh-form-wrap input,
#bh-form-wrap select{
	font-family: var(--rl-style-font-body,Arial,Helvetica,sans-serif);
	font-size: 1em;
}
#bh-birthreport-form .bh-input-text:focus,
#bh-birthreport-form select:focus {
 border:1px solid #009bff;
 outline:0;
 transition:.2s ease-in
}
#bh-form-wrap h2,
#bh-form-wrap .bh-form {
    width: 500px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.bh-form #hour,
.bh-form #month,
.bh-form #day {
	margin-right:.6em;
}
#bh-birthreport-form .bh-input-text {
 	width: 100%;
 	max-width: 100%;
}
#bh-birthreport-form fieldset,
#bh-birthplace {
    border: 0;
    margin: 0;
    padding: 0.8em 0;
}
#bh-birthreport-form legend{
	float:left;
	margin: 5px 10px 0 0;
}
.bh-name-field {
	margin-bottom: 12px
}
.bh-name-field label,
.bh-birthdate legend,
.bh-birthtime legend,
#bh-birthplace label {
	min-width: 120px;
	font-weight: normal;
}
#bh-birthreport-form .bh-input-text,
#bh-birthreport-form select{
	padding:8px;
	background: #f7f7f7;
	border: 1px solid #d1d1d1;
	border-radius: 2px;
	color: var(--rl-style-ink,#1a1a1a);
	box-sizing: border-box;
}
#bh-birthreport-form .bh-form-label {
	float:left;
}
#bh-birthreport-form .bh-input-text-wrap {
	display: block;
	overflow: hidden;
	padding-left: 10px;
}
.bh-unknown-time-field {
	margin-top: 1em;
	text-align: center;
}
.bh-unknown-time-field #unknown_time {
	vertical-align: middle;
	margin-right: 0.4em;
}
form .bh-button {
	background: #339933;
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 0.6em 0.8em;
	box-sizing: border-box;
}
form .bh-button:hover, .bh-button:focus{
	background-color: #339933;
}
#bh-submit-wrap {
	margin-top: 32px;
}
#bh-fetch-birthreport {
	margin: 3px 0 36px;
	width: 100%;
	cursor: pointer;
}
#bh-fetch-birthreport[disabled],
#bh-fetch-birthreport[disabled]:hover {
	cursor: default;
	cursor: not-allowed;
	opacity: .5;
    background: #333;
    border-color: #333;
}

/* Autocomplete
-------------------------------------------------------------- */		
#autoComplete_results_list {
	cursor: default; 
	padding: 0;
	margin: 0;
    background: #fff;
    color: #333;
    border-radius: 2px;
    font-size: .9em;
    font-family: var(--rl-style-font-body,Arial,Helvetica,sans-serif);
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden
}
#autoComplete_results_list .autoComplete_result {
	list-style: none;
	padding: 2px 6px;
	margin:0;
	border: 1px solid #ddd;
	border-bottom:0;
	display: block;
}
.autoComplete_result:hover,
.autoComplete_result:focus {
	background: #ededed;
	font-weight: normal;
	color: #2b2b2b;
}

/* Ajax
-------------------------------------------------------------- */
#bh-report-wrap,
#bh-offset-wrap,
#bh-form-tip {
	display: none;
}
#bh-offset-label,
#bh-offset-wrap #bh_offset_geo {
	background-color:transparent;
	color:#339933;
	font-size: 13px;
	font-weight:bold;
	border:0;
	margin: 0;
	padding: 0;
	line-height: 0.9;
}
#bh-offset-label {
	display:inline;
	float:left;
	clear:left;
}
#bh_offset_geo {
	display:inline;
	float:left;	
	width:40%; 
}
#bh-offset-wrap{
	margin:0;
	padding:0;
}
#bh-offset-wrap #bh_offset_geo{
	padding:0 10px;
    box-shadow: unset;
}
.ui-state-error {
	border: 1px solid #f1a899;
	background: #fddfdf;
	color: #5f3f3f;
	padding: 1px;
}

/* Report
-------------------------------------------------------------- */

.bh-report-backlink {
	text-align: right;
}
.bh-report-header,
.bh-report-caption {
  border: 1px solid #dddddd;
	background: #e9e9e9;
	text-align: left;
	line-height: 1.4;
	padding: 4px 10px;
}
.bh-report-caption {
	font-weight: 700;
	border-bottom-width: 0;
}
.bh-report-header {
	max-width: 575px;
	margin: 0;
	font-size:0.8em;
	border-collapse: collapse;
	table-layout: fixed;
	border-top-width: 0;
}
.bh-mobile-wrap {
	display:inline;
	margin:0;
	padding:0;
}	
.bh-report-header td,
.bh-report-header td:first-child {
	padding: 0 10px;
	border:0;
	white-space: nowrap;
}
.bh-report-header tr {
	border:0;
}
.bh-report-header tr:last-child td {
	padding-bottom:5px;
}
.bh-chart-drawing {
	margin-top:1em;	
}
.bh-zodiacal-dms {
	font-weight: 400;padding-left:1em;font-size:.9em;
}
.bh-subheading {
	font-weight: bold;
}
h3.bh-report-section-title{
	padding:2em 0;
	font-weight:bold;
	margin:0.3em 0;
}
.bh-orb{
	font-weight: 400;font-style: italic;font-size:12px;
}

[class^="bh-icon-"], [class*=" bh-icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: "babyhoroscoop" !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	color:  #cf000f;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bh-icon-aries:before {
	content: "\e90b";
}
.bh-icon-taurus:before {
	content: "\e909";
	color:#00D717;
}
.bh-icon-gemini:before {
	content: "\e90a";
	color: #F5AB35;
}
.bh-icon-cancer:before {
	content: "\e908";
	color:#4169E1;
}
.bh-icon-leo:before {
	content: "\e907";
}
.bh-icon-virgo:before {
	content: "\e906";
	color:#00D717;
}
.bh-icon-libra:before {
	content: "\e905";
	color: #F5AB35;
}
.bh-icon-scorpio:before {
	content: "\e904";
	color:#4169E1;
}
.bh-icon-sagittarius:before {
	content: "\e903";
}
.bh-icon-capricorn:before {
	content: "\e902";
	color:#00D717;
}
.bh-icon-aquarius:before {
	content: "\e901";
	color: #F5AB35;
}
.bh-icon-pisces:before {
	content: "\e900";
	color:#4169E1;
}

/*  Misc
-------------------------------------------------------------- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.bh-clear:after {
  content: "";
  display: table;
  clear: both;
}
#bh-form-wrap .ui-state-highlight {
	border: 1px solid #dad55e;
	background: #fffa90;
	color: #777620;
}

@media screen and ( max-width: 727px ) {
	.bh-form #hour,
	.bh-form #minute,
	.bh-form #month,
	.bh-form #day {
		margin-right:.2em;
	}
	#bh-birthreport-form legend,
	#bh-birthreport-form .bh-form-label {
		float:none;
		padding:0 3px;
	}
	#bh-birthreport-form .bh-input-text-wrap {
		padding:7px 0 0;
	}
	.bh-report-header {
		max-width: 100%;
	}
	.bh-mobile-wrap {
		display: block;
	}
}

/* Babyrapport volgens de kinderhoroscoop-contentmatrix. */
.bh-daypart-field {
	margin: .75rem 0 0;
	text-align: left;
}

.bh-daypart-field label {
	display: block;
	margin-bottom: .35rem;
}

#bh-birthreport-form .bh-daypart-field select {
	width: 100%;
}

#bh-report-wrap.bh-report-birthreport {
	width: min(100%, 820px);
}

#bh-report-wrap .bh-report-header {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

#bh-report-wrap .bh-report-intro,
#bh-report-wrap .bh-report-closing {
	margin: 1.75rem 0;
}

#bh-report-wrap .bh-content-matrix-report {
	margin-top: 2.5rem;
}

#bh-report-wrap .bh-interpretation-card {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--bcs-border, var(--rl-style-line,#e8dfd8));
	background: #fff;
}

#bh-report-wrap .bh-interpretation-card:last-child {
	border-bottom: 1px solid var(--bcs-border, var(--rl-style-line,#e8dfd8));
}

#bh-report-wrap .bh-card-header {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	padding: 1.35rem 0 .8rem;
}

#bh-report-wrap .bh-card-glyph {
	flex: 0 0 1.65rem;
	color: var(--bcs-accent, var(--rl-style-accent,#cd9a99));
	font-size: 1.3rem;
	line-height: 1;
	text-align: center;
}

#bh-report-wrap .bh-card-heading {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: .2rem;
	min-width: 0;
}

#bh-report-wrap .bh-card-title {
	margin: 0;
	padding: 0;
	font-family: var(--rl-style-font-body,system-ui,sans-serif);
	font-size: clamp(1.2rem, 2.5vw, 1.4rem);
	font-weight: 700;
	line-height: 1.35;
}

#bh-report-wrap .bh-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem .75rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .82rem;
	font-weight: 400;
}

#bh-report-wrap .bh-card-body {
	padding: 0 0 2rem 2.5rem;
}

#bh-report-wrap .bh-card-body > :first-child,
#bh-report-wrap .bh-card-body > :first-child > :first-child {
	margin-top: 0;
}

#bh-report-wrap .bh-card-body > :last-child,
#bh-report-wrap .bh-card-body > :last-child > :last-child {
	margin-bottom: 0;
}

#bh-report-wrap .bh-card-body p,
#bh-report-wrap .bh-card-body li {
	line-height: 1.75;
}

#bh-report-wrap .bh-card-house-meaning {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bcs-border, var(--rl-style-line,#e8dfd8));
}

#bh-report-wrap .bh-card-subtitle {
	margin: 0 0 .7rem;
	font-family: var(--rl-style-font-body,system-ui,sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.4;
}

#bh-report-wrap .bh-ingress-note,
#bh-report-wrap .bh-cusp-note {
	margin: .9rem 0;
	border: 1px solid var(--bcs-border, var(--rl-style-line,#e8dfd8));
	background: var(--bcs-cream, var(--rl-style-surface,#f5f5f5));
	padding: .75rem .85rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .9rem;
}

@media screen and (max-width: 600px) {
	#bh-report-wrap .bh-card-header {
		gap: .65rem;
		padding: 1.15rem 0 .7rem;
	}

	#bh-report-wrap .bh-card-glyph {
		flex-basis: 1.4rem;
		font-size: 1.15rem;
	}

	#bh-report-wrap .bh-card-title {
		font-size: 1.12rem;
	}

	#bh-report-wrap .bh-card-body {
		padding-left: 0;
		padding-bottom: 1.65rem;
	}
}
