/* PAGE DEFAULT STYLESHEET */

/* FLEXBOX */

.crb-col-outer {
    max-width: 1450px;
    min-height: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
}

.crb-col-grid-container {
    width: 100%;
    margin: 0 auto;
    order: 2;
}

.crb-col-grid-row {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.col-grid-full-span {
    display: flex;
    flex-direction: column;
    flex:1 1 100%;
	max-width: 100%;
    background-color:#fff;
}

.col-grid-span {
    display: flex;
    flex-direction: column;
}


.crb-collection-header h1 {
	font-size:2em;
	padding: 0;
	margin:0.6em 0;
}

.crb-collection-header h2 {
	font-size: 1.4em;
    padding: 0;
	margin:0;
}

.crb-collection-header p, #content-holder p, .col-grid-span p {
    margin-bottom:1em;
}

#content-holder p:last-child, .col-grid-span p:last-child {
	margin-bottom: 0;
}

.crb-collection-banner {
	pointer-events: none;
	padding:1em 1em 0 1em;
}

.crb-collection-banner img {
    width: 1450px;
	object-fit: contain;
	opacity: 1;
}

.w-flex-25 {
    flex: 1 1 25%;
	max-width: 25%;
}

.w-flex-33 {
    flex: 1 1 33.3%;
	max-width: 33.3%;
}

.w-flex-50 {
    flex: 1 1 50%;
	max-width: 50%;
}

.w-flex-75 {
    flex: 1 1 75%;
	max-width: 75%;
}

.w-flex-100 {
    flex: 1 1 100%;
	max-width: 100%;
}

.container-padding {
	display: flex;
	flex-direction: column;
	padding:1em;
	flex-grow: 1;
	align-content: stretch;
}

.crb-ac-inner {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	align-content: stretch;
}

.vertical-align-center .crb-ac-inner {
	justify-content: center;
}

.contrast-box .crb-ac-inner {
	padding:1.5em;
	background-color: #f1f1ee;
	color: #000;
}

.collect-box p:has(img) {
	display: flex;
	flex-direction: column;
	align-self: center;
	padding:1em 0;
}


.img-group-img {
	width: 100%;
	padding: 0;
	margin: 0;
}

.img-group-title {
	display: flex;
	flex-direction: column;
	flex: 1 1 100%;
	margin-bottom: 0.6em;
}

.img-group-title span {
	font-family: 'Urbanist' ,sans-serif;
    letter-spacing: .5px;
    color: #373f3e;
    font-size: 1.2em;
    font-weight: 800;
	text-transform: uppercase;
	transition:all 0.3s ease;
}

.img-group-title span:hover {
	color: var(--main-accent-color);
}

.page-divider-title .crb-ac-inner {
	border-bottom: 1px solid #000;
	padding: 1em 0;
}

.page-divider-title .sub-header {
	font-family: Urbanist,sans-serif;
    letter-spacing: 1px;
    font-size: 1.8em;
    font-weight: 700;
    text-transform: capitalize;
    margin:0 0 0 0;
}

.page-divider-title p:nth-of-type(2) {
	display: none;
}

.page-category .sub-header, .img-text-box-lhs .sub-header, .img-text-box-rhs .sub-header {
	display: none;
}

.page-category p:nth-child(1) {
	font-family: 'Urbanist' ,sans-serif;
    letter-spacing: .5px;
    color: #373f3e;
    font-size: 1.2em;
    font-weight: 800;
	text-transform: uppercase;
	transition:all 0.3s ease;
	margin-bottom: 0.4em;
}

.page-category p:nth-child(1):hover {
	color: var(--main-accent-color);
}

.img-text-box-lhs .crb-ac-inner, .img-text-box-rhs .crb-ac-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.img-text-box-lhs .crb-ac-inner div:nth-child(2), .img-text-box-rhs .crb-ac-inner div:nth-child(3)  {
	display: flex;
	flex-direction: column;
	flex:1 1 30%;
	max-width: 30%;
}

.img-text-box-lhs .crb-ac-inner div:nth-child(3), .img-text-box-rhs .crb-ac-inner div:nth-child(2) {
	display: flex;
	flex-direction: column;
	flex:1 1 70%;
	max-width: 70%;
	padding:2em;
}

.img-text-box-rhs .crb-ac-inner div:nth-child(2) {
	order: 1;
}

.img-text-box-rhs .crb-ac-inner div:nth-child(3) {
	order: 2;
}

.img-text-box-lhs .crb-ac-inner p:has(b), .img-text-box-rhs .crb-ac-inner p:has(b) {
	font-size: 1.1em;
	margin:0.6em 0;
}

.page-alert-blue p {
	margin-bottom: 0.6em;
}

.page-alert-blue .crb-ac-inner {
	background-color: #33a1de;
	color: #FFF;
    border-radius: 2px;
	padding: 1.5em;
	margin:0.5em 0;
}

.page-alert-blue .sub-header {
	color: #FFF;
	font-family: 'Urbanist', sans-serif;
	letter-spacing: 0.5px;
    font-size: 1.2em;
    font-weight: 700;
	margin-bottom: 0.6em;
}

.col-grid-span table {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid #000;
}

.col-grid-span table td {
	border: 1px solid #000;
}


.ac-inner div:has(table) {
	overflow-x: auto;
	white-space: nowrap;
	margin-bottom: 2em;
}

.col-grid-span tbody > tr:first-child > td {
	font-weight: 700;
	background-color: var(--main-accent-color);
	color: #FFF;
}

.col-grid-span tr:nth-child(even) {
	background-color: #f1f1ee;
}

.col-grid-span td {
	padding: 1em;
}

.no-heading .sub-header {
	display: none;
}

.crb-team-info {
	width: 100%;
    text-align: left;
    background-color: var(--main-accent-color);
    padding: 0.8em;
}

.crb-team-info span {
	font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    letter-spacing: 0.035em;
    font-size: 1.2em;
    color: #FFF;
}

/* PAGE IMAGE GRID */
.crb-img-grid-element {
    display: flex;
    justify-content: center;
    align-items: center;
	position: relative;
}

.crb-img-grid-element > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crb-img-grid-container {
    display: grid;
    grid-gap: 0.3em;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 225px;
	grid-auto-flow: dense; /* Fill all spaces with fitted images */
	margin: 2em 1em 1em 1em;
}

.img-horizontal {
	grid-column: span 2;
}

.img-vertical {
	grid-row: span 2;
}

.img-big {
	grid-column: span 3;
	grid-row: span 2;
}

.crb-grid-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--main-accent-color);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.crb-img-grid-element:hover .crb-grid-img-overlay {
  height: 100%;
}

.img-big:hover .crb-grid-img-overlay {
  height: 50%;
}

.crb-grid-img-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 1.2em;
  font-family: 'Urbanist', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-weight: bold;
  width: 90%;
  display: flex;
  flex-direction: column;
}

.crb-grid-img-text span{
  font-weight: 300;
  text-transform: capitalize;
  font-size: 0.75em;
  margin-top: 0.2em;
}

.crb-grid-img-text a {
  font-weight: 600;
  text-transform: capitalize;
  font-size: 0.8em;
  color: #FFF;
  margin-top: 0.6em;
}

.crb-grid-img-text a:hover {
  color: var(--main-hover-color);
}



/* MEDIA QUERIES - MEDIUM DEVICES */
@media only screen and (max-width: 1130px) {
    .w-flex-100, .w-flex-33, .w-flex-50, .w-flex-75 {
        flex-basis: 100%;
		max-width: 100%;
    }
}

@media only screen and (min-width: 550px) and (max-width: 1129px) {
    .w-flex-25 {
        flex-basis:50%;
		max-width:50%;
    }
}

@media only screen and (max-width: 740px) {
    .crb-col-outer {
    grid-template-columns: 100%;
    }
}

@media only screen and (max-width: 549px) {
    .w-flex-25 {
        flex-basis:100%;
		max-width: 100%;
    }
}

@media only screen and (max-width: 450px) {

	.img-text-box-lhs .crb-ac-inner, .img-text-box-rhs .crb-ac-inner {
		flex-direction: column;
	}

	.img-text-box-lhs .crb-ac-inner div:nth-child(2), .img-text-box-lhs .crb-ac-inner div:nth-child(3), .img-text-box-rhs .crb-ac-inner div:nth-child(2), .img-text-box-rhs .crb-ac-inner div:nth-child(3) {
		flex:1 1 100%;
		max-width: 100%;
	}

	.img-text-box-lhs .crb-ac-inner div:nth-child(3), .img-text-box-rhs .crb-ac-inner div:nth-child(2) {
		padding:0.5em 0 1em 0;
	}

	.img-text-box-lhs .crb-ac-inner p:has(b), .img-text-box-rhs .crb-ac-inner p:has(b) {
		font-size: 1em;
	}

	.img-text-box-rhs .crb-ac-inner div:nth-child(2) {
		order: 2;
	}

	.img-text-box-rhs .crb-ac-inner div:nth-child(3) {
		order: 1;
	}

}
