* {
  box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0;
}

body {
  font-family: Arial;
  padding: 10px;
  background: #f1f1f1;
  height: 100%;
}

/* Page is a body class and must be at least the full screen height */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Put the footer at the bottom of the screen or text whichever greater */

.page > footer {
    margin-top:auto;
}

blockquote {
    background-color: lightyellow;
}

/*
form {
    grid-row: 1;
    margin: 0;
    position: relative;
    display: flex; !important
}
*/

/* Header Container */
header {
  text-align: center;
  color: white;
  background: black;
	width: 100%;
}

/* Left logo container*/
.headerleft {
	float: left;
}

.headerleft img {
	max-width: 192px;
	height: auto;
}

/*Right Logo container */

.headerright {
	float: right;
}

.headerright img {
	max-width: 192px;
	height: auto;
}

/* Centre logo container */
.headLogo {
  padding: 30px;
  padding-top: 60px;
}

header h1 {
  font-size: 50px;
}

.logoImage {
	height: 48px;
	width: 615px;
}

/* Top navigation bar */
.topnav {
  display: block;
  overflow: hidden;
  background-color: #333;
  min-height:40px;
}

/* Topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Body container */

.row {
    display: flex;
    align-items: flex-start;
    gap: 20px;          /* optional spacing between columns */
    flex: 2;            /* this is the flexible middle area */
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
    flex: 3;
    display: grid;
    grid-template-columns: auto auto
}

.leftcolumn h3 {
  font-size: 10pt;
}

/* Right column */
.rightcolumn {
  flex: 1;
  width: 25%;
  background-color: #f1f1f1;
  padding-left: 20px;
}

.cardimageA {
    height: 200px
}

.cardimageB {
  height: 250px;
  float: right;
}

.cardimageC {
  height: 250px;
  float: left;
}

.cardimageC2 {
  height: 350px;
  float: left;
}


/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

/* Clear floats after the columns */
header:after {
  content: "";
  display: table;
  clear: both;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.spacelist li {
    padding: 10px;
}

/* Divs for example blocks */
.aiexcntnr {
    background-color: lightyellow;
    margin-top:5px;
    border:2px solid black;
    border-radius:25px;
    padding:10px;

}

.aiexgrp {
    margin-top:5px;
    border:2px solid black;
    border-radius:25px;
    padding:10px;

}
.aiexsubgrp {
    margin-top:5px;
    border:2px solid grey;
    border-radius:25px;
    padding:10px;
}

/* Footer */
footer {
  padding: 20px;
  padding-top: 40px;
  text-align: center;
  background: black; /*#ddd;*/
  margin-top: 20px;
}

/* Table Zebra Display */
table.cb-greyzebra {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.cb-greyzebra td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.cbgzwidf1
{
	width:120px;
}

.cbgzwidf2
{
	width:200px;
}

.cb-greyzebra th {
  background-color: #d1e1ff;;
}

.cb-greyzebra tr:nth-child(even) {
  background-color: #f1f1f1; /*#dddddd;*/
}

.cb-bolddesc dt {
	font-weight:bold;
}

/* Main form grid inside leftcolumn */
.enquiry-form {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 12px;
    width: 100%;
}

/* Right-aligned labels */
.enquiry-label {
    text-align: right;
    padding-right: 10px;
    font-weight: 600;
}

/* Inputs stretch nicely */
.enquiry-input {
    width: 100%;
    max-width: 450px;
}

.enquiry-error {
    grid-column: 2;      /* put it under the input column */
    color: red;
    font-size: 0.9em;
    margin-top: -6px;    /* optional: tighten spacing */
}
/* A full-width panel that spans both columns */
.enquiry-panel {
    grid-column: 1 / span 2;
    margin-top: 20px;
}

.enquiry-panel-colleft {
    grid-column: 1 ;
    margin-top: 20px;
}

.enquiry-panel-colright {
    grid-column: 2 ;
    margin-top: 20px;
}

/* Panel headings */
.enquiry-panel h3 {
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 6px;
}

.enquiry-panel-row {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
}

/* Top-right submit button */
.enquiry-submit-top {
    grid-column: 2;
    justify-self: end;
    margin-bottom: 10px;
}

/* Bottom-left submit button */
.enquiry-submit-bottom {
    grid-column: 1;
    margin-top: 20px;
}


/* Responsive layout - when the screen is less than 1100px wide, hide the right hand logo */

@media screen and (max-width: 1150px) {
  .headerright {
  	display: none;
  }

    .cardimageA {
    height: 100px;
}
}

/* Responsive layout - when the screen is less than 900px wide, make the two columns stack on top of each other instead of next to each other
   change logo sizes */
@media screen and (max-width: 950px) {
  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
  }
  .headerright {
  	display: none;
  }

  .headLogo {
  	padding-bottom: 10px;
  }

  .headerleft img {
  	max-width: 96px;
  	height: auto;;
  }

	.logoImage {
	  height: 24px;
	  max-width: 100%;
	}
	.leftcolumn {
  	float: left;
  	width: 100%;
  	display: table;
  	grid-template-columns: auto
	}
	/* Top navigation bar */
    .topnav {
      min-height:80px;
    }


}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 500px) {
  .topnav a {
    float: none;
    width: 100%;
  }

  .cardimageC {
      float: none;
      width: 100%;
  }
  
  /* Top navigation bar */
  .topnav {
      min-height:220px;
  }
}
