/*
Theme Name: Good Prognosis Medical WordPress Child Theme
Description: Custom Child Theme For Good Prognosis Medical
Author: Bean Bag Solutions
Author URI: https://beanbagsolutions.co.za/
Version: 1.0.0
Template: Divi
*/

/* ---FONTS--- */
@font-face {
	font-display: swap;
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400;
	src: url('../good-prognosis-medical-child-theme/fonts/archivo-v19-latin-regular.woff2') format('woff2'),
		 url('../good-prognosis-medical-child-theme/fonts/archivo-v19-latin-regular.woff') format('woff');
  }

@font-face {
	font-display: swap;
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 700;
	src: url('../good-prognosis-medical-child-theme/fonts/archivo-v19-latin-700.woff2') format('woff2'),
		 url('../good-prognosis-medical-child-theme/fonts/archivo-v19-latin-700.woff') format('woff');
}
  
body {
	font-family: 'Archivo', sans-serif;
}
  
.bbs h1,
.bbs h2,
.bbs h3,
.bbs h4,
.bbs.et_pb_button,
.bbs.featured-text p {
	font-weight: 700;
	line-height: 1.2;
}

.bbs h1 {
	font-size: clamp(2.5rem, calc(2.5rem + ((1vw - 0.2rem) * 1)), 3.5rem);
}

.bbs h2 {
	font-size: clamp(2rem, calc(2rem + ((1vw - 0.2rem) * 0.75)), 2.75rem);
}

.bbs h3 {
	font-size: clamp(1.5rem, calc(1.5rem + ((1vw - 0.2rem) * 0.5)), 2rem);
}

.bbs h4,
.bbs.featured-text p {
	font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.2rem) * 0.125)), 1.375rem);
}

.bbs p,
.bbs a, 
.bbs li,
.et_pb_button {
	font-size: clamp(1rem, calc(1rem + ((1vw - 0.2rem) * 0.125)), 1.125rem);
}

.bbs p,
.bbs a, 
.bbs li,
.bbs.copyright-info,
.bbs.credit-link {
	font-weight: 400;
	line-height: 1.6;
}

.bbs.et_pb_button {
	line-height: 1 !important;
}

.bbs.featured-text p {
	line-height: 1.6;
}

.bbs.sub p {
	font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.2rem) * 0.125)), 1.375rem);
}

.bbs.copyright-info,
.bbs.copyright-info a {
	font-size: clamp(0.75rem, calc(0.75rem + ((1vw - 0.225rem) * 0.1282)), 0.875rem);
}

/* ---WEBSITE OPEN BANNER--- */
#bbs-open-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  width: fit-content;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 1rem;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  display: flex;          /* keep flex by default */
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
	transform: translateY(0);
}

/* State modifiers */
#bbs-open-banner.open {
  background-color: #28a745; /* green */
}

#bbs-open-banner.closed {
  background-color: #dc3545; /* red */
}

/* #bbs-open-banner {
	position: fixed;
	right: 0;
	bottom: 0;
	width: fit-content;
	background-color: #28a745;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
	border-top-left-radius: 1rem;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	z-index: 9999;
}
 */
/* ---MEDIA QUERIES--- */
@media screen and (max-width : 479px) {
	#bbs-open-banner {
		width: 100%;
		border-top-left-radius: 0rem;
	}
}