/* CSS for custom Attribute. You should always use .CCNB-Listing-Block as a reference. */

/* Style for the List of the Programs and Sectors in the admin panel.*/
.SyncSpin {
	animation-name: syncSpin;
	animation-duration: 2500ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
@keyframes syncSpin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Table CSS for the list of all Programs and Sectors, client side.*/
.pl_sectItem {
	background-color: #bbb;
}
.pl_progProfil {
	text-align: center;
}
.CCNB-Table .CCNB-Table-Odd {
	background-color: #fff;
}
.CCNB-Table .CCNB-Table-Even {
	background-color: #eee;
}

.ProfilAdmissionOU {
	list-style-type: none;
	margin-left: -25px;
}
.ProfilAdmissionOU:before {
	content: 'Ou';
}

.CCNB-Program-Structure table,
.CCNB-Program-Structure td,
.CCNB-Program-Structure th {
	border: none !important;
}
.articulationsTimeSpan {
	margin: -1rem 0 0.5rem;
}
.CCNB-Campus-Badge {
	border-radius: 0.2em;
	color: #eff8ef;
	display: inline-block;
	height: 1.75em;
	margin-left: 0.25rem;
	text-align: center;
	width: 1.75em;
}
.CCNB-Campus-Badge.CCNB-Campus-Badge-Inactive {
	background-color: #d4d4d4;
}
.CCNB-Campus-Badge.CCNB-Campus-Badge-Active.CCNB-Campus-Ba {
	background-color: #696969;
}
.CCNB-Campus-Badge.CCNB-Campus-Badge-Active.CCNB-Campus-Ca {
	background-color: #696969;
}
.CCNB-Campus-Badge.CCNB-Campus-Badge-Active.CCNB-Campus-Di {
	background-color: #696969;
}
.CCNB-Campus-Badge.CCNB-Campus-Badge-Active.CCNB-Campus-Ed {
	background-color: #696969;
}
.CCNB-Campus-Badge.CCNB-Campus-Badge-Active.CCNB-Campus-Pa {
	background-color: #696969;
}
.CCNB-Delivery-Wrapper {
	align-content: stretch;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}
.CCNB-Delivery-Blocks {
	margin-right: 5px;
	margin-top: 5px;
	width: 30%;
}
.CCNB-Delivery-Blocks:first-child:nth-last-child(4),
.CCNB-Delivery-Blocks:first-child:nth-last-child(4) ~ .CCNB-Delivery-Blocks {
	width: 20%;
}
.CCNB-Delivery-Blocks:first-child:nth-last-child(5),
.CCNB-Delivery-Blocks:first-child:nth-last-child(5) ~ .CCNB-Delivery-Blocks {
	width: 18%;
}

/* Adds Icon that are assosiated with the seasons of delivery. */
.CCNB-Delivery-Blocks.Delivery-StartMonth-September h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-October h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-November h6:before {
	content: url('../images/leaf-solid.svg');
	float: right;
	min-width: 20px;
}
.CCNB-Delivery-Blocks.Delivery-StartMonth-December h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-January h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-February h6:before {
	content: url('../images/snowflake-solid.svg');
	float: right;
	min-width: 20px;
}
.CCNB-Delivery-Blocks.Delivery-StartMonth-March h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-April h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-May h6:before {
	content: url('../images/seedling-solid.svg');
	float: right;
	min-width: 20px;
}
.CCNB-Delivery-Blocks.Delivery-StartMonth-Jun h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-July h6:before,
.CCNB-Delivery-Blocks.Delivery-StartMonth-August h6:before {
	content: url('../images/sun-solid.svg');
	float: right;
	min-width: 20px;
}

/* - Add Color Badge to the Deliveries. */
.CCNB-Delivery-Blocks.CCNB-Campus-Ba {
	background-color: #5967dd55;
	border-radius: 5px;
	color: #000;
	padding: 5px;
}
.CCNB-Delivery-Blocks.CCNB-Campus-Ca {
	background-color: #0cbb8755;
	border-radius: 5px;
	color: #000;
	padding: 5px;
}
.CCNB-Delivery-Blocks.CCNB-Campus-Di {
	background-color: #ffb82355;
	border-radius: 5px;
	color: #000;
	padding: 5px;
}
.CCNB-Delivery-Blocks.CCNB-Campus-Ed {
	background-color: #282a3c55;
	border-radius: 5px;
	color: #000;
	padding: 5px;
}
.CCNB-Delivery-Blocks.CCNB-Campus-Pa {
	background-color: #fd397a55;
	border-radius: 5px;
	color: #000;
	padding: 5px;
}

/* New CSS From Jamie */
:root {
    --accent: #45bfb8;
	--bg-grey: #f2f2f2;
}

.CCNB-h1 {
	font-size: clamp(3rem, 2.5385rem + 2.0513vw, 4rem);

}

.CCNB-h2 {
	font-size: clamp(1.6rem, 1.5077rem + 0.4103vw, 1.8rem);
	font-weight: 900!important;
}

.CCNB-h3 {
	font-size: clamp(0.9rem, 0.8077rem + 0.4103vw, 1.1rem);
	font-weight: 900!important;
}
.CCNB-p {
	font-size: 0.9rem;
}

/* PADDING ALL SIDES */
.CCNB-pad-s{padding: clamp(1rem, 0.7692rem + 1.0256vw, 1.5rem)!important;}
.CCNB-pad-m{padding: clamp(1.5rem, 1.2692rem + 1.0256vw, 2rem)!important;}
.CCNB-pad-l{padding: clamp(2rem, 1.5385rem + 2.0513vw, 3rem)!important;}
.CCNB-pad-left {padding-left: clamp(1rem, 0.7692rem + 1.0256vw, 1.5rem)!important;}
.CCNB-pad-bottom {padding-bottom: clamp(1rem, 0.7692rem + 1.0256vw, 1.5rem)!important;}
.CCNB-pad-top-s {padding-top:1.5rem!important;}

.CCNB-Link {
	color: #000!important;
	text-decoration: underline!important;
}

.programs-grid, 
.CCNB-Delivery-Grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}

.programs-card,
.CCNB-Card {
	background-color: var(--bg-grey);
	border-radius: 1rem;
	padding: 0rem 1rem 0rem 1rem;
	border: solid;
	border-width: 1px;
	border-color: #e3e3e3;
}

.programs-card--heading,
.CCNB-Card--Heading {
	font-weight: 700;
}

.programs-card--date,
.CCNB-Card--Date {
	margin-top: -1rem;
}

.container-flex,
.CCNB-Flex {
	display: flex;
	margin-top: 1rem;
	margin-bottom: 1rem;
	flex-direction: row;
	align-items: center;
}

.container-flex-2,
.CCNB-Flex-2 {
	display: flex;
	margin-top: 1rem;
	margin-bottom: 1rem;
	flex-direction: column;
	align-items: left;
}

.container-bg--grey,
.CCNB-bg--grey {
	background-color: var(--bg-grey);
	border-radius: 1rem;
	padding: 0rem 1rem 0rem 1rem;
	border: solid;
	border-width: 1px;
	border-color: #e3e3e3;
}

.icon,
.CCNB-Program-Icon-Small{
	width: 45px;
	margin-right: 0.8rem;
}

.CCNB-Program-Icon-Medium{
	width: 65px;
	margin-right: 0.8rem;
}

/* On screens that are 992px or less.*/
@media screen and (max-width: 992px) {
  .programs-grid,
  .CCNB-Delivery-Grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}
}

/* On screens that are 700px or less.*/
@media screen and (max-width: 700px) {
  .programs-grid,
  .CCNB-Delivery-Grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}
}

.admissionprofile .separator {
	display: block;
	margin-left: -1.5em;
}