:root {
	--codeface-blue: #297EF4;          /* origin */
	--codeface-blue-light: #5AA5F7;    /* 20% lighter */
	--codeface-blue-lighter: #8BCBFA;  /* 40% lighter */
	--codeface-blue-lightest: #BCE6FD; /* 60% lighter */
	--codeface-blue-dark: #1E63C3;     /* 20% darker */
	--codeface-blue-darker: #154A93;   /* 40% darker */
	--codeface-blue-darkest: #0B3162;  /* 60% darker */
}

		body{
			text-align:center;
			padding:0px;
			margin:0px;
			background:url(images/banner-bg.gif) repeat-x top left;			
		}

		div.header{

			height:145px;
			text-align:left;
			margin-top:0px;

		}
		
		div.header, div.navbar ul.menu, div.headline-banner ul, div.main {
			width:800px;
			margin:0em auto;
			position:relative;
		}
		
		div.header a.logo{
			position:absolute;
			left:10px;
			top:15px;
		}
		
		div.header div.coverflow{
			position:absolute;
			right:0px;
			top:0px;
			width:174px;
			height:145px;
			background:url(images/coverflow.jpg) top right no-repeat;
		}
		div.navbar{
			width:100%;
			height:36px;
			background:url(images/nav-bg.gif) repeat-x top left;			
			color:white;
			font:13px/18px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;
			margin:0px;
			font-weight:normal;
			overflow:hidden;
		}
		
		div.navbar ul.menu{
			display:block;
			padding:4px 0 0 10px;
			text-align:left;
		}
		
		div.navbar ul.menu li{
			float:left;
			list-style:none;
			height:20px;
			padding:0 5px 0px 5px;
			margin-right:20px;
			vertical-align:text-top		
		}	

		div.navbar a, ul.navbar span{
			
		}
		
		div.navbar a{
			color:#91b7ff;
			text-decoration:none;
		}

		div.navbar span em{
			color:#91b7ff;
			font-style:normal;
		}
		
		div.navbar span{
			color:white;			
		}
		
		div.navbar a:hover{
			text-decoration:underline;		
		}

		div.headline-banner{
			background-color:#ffd7d7;
			width:100%;
			height:80px;
			margin:0px;
		}
		
		div.headline-banner ul{
			margin-top:0px;
			text-align:left;
			color:#808080;
			font:24px/30px times-new-roman, serif;
			font-style:italic;
			list-style:url(images/bullet.gif);
			padding:10px 0 0 70px;
		}
		
		div.headline-banner li{
			padding-left:10px;
			padding-top:0px;
			margin-left:20px;
		}


		div.main{
			text-align:left;
			padding-left:10px;
			margin-top:21px;
			padding-bottom:30px;
			overflow: hidden;
		}
		
		div.main h2{
			color:#0a63ca;
			font:18px/30px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;

		}
		
		div.main h2 em{
			color:#666666;
			font-style:normal;
		}
		
		div.main-heading{
			position:relative;
			height:61px;
			background:url(images/title-speaker.gif) no-repeat top left;
			margin-left:7px;
		}
		
		div.main-heading h1{
			font:normal 20px/42px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;
			position:absolute;
			left:58px;
			background:url(images/speech-bubble-bg.gif) top right no-repeat;
			height:50px;
			margin:0px;
			padding:0 20px 0 0;
			color:#0a63ca;
		}
		
		div.main p, div.main ul, div.main dt, div.main blockquote{
			font:13px/18px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;
			color:#666666;
		}
		
		div.col1{
			width:500px;
			float:left;
		}

		/*div.col1 p, div.col1 li{
			xxxtext-align:justify;
		}*/

		div.col1 li{
			margin-bottom:7px;
		}
		
		div.col2{
			float:right;
			width: 250px;
		}
		
		
		div.main a{
			color:#167ff7;
			text-decoration:none;
			font-weight:normal;
		}
		
		div.main a:hover{
			text-decoration:underline;
		}
		
		div.main a[href^="http://"] {
    		background: url(/images/external.png) center right no-repeat;
    		padding-right: 13px;
		}
		
		
		div.main h3{
			font:16px/18px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;
			color:#0a63ca;
		}
		
		div.main div.col2 div.section{
			margin-bottom:20px;
		}
		
		div.main div.col2 h2{
			font-size:18px;
			line-height:42px;
			width:238px;
			height:46px;
			text-align:center;
			margin:0 0 16px 0;
			padding:0px;
			background:url(images/col2h1bg.gif) top left no-repeat;
		}
		
		div.main div#news h2{
			background:url(images/col2news.gif) top left no-repeat;
		}
		
		div.main div#clients h2{
			background:url(images/col2casestudies.gif) top left no-repeat;
		}

		div.main div#technotes h2{
			background:url(images/col2casestudies.gif) top left no-repeat;
		}
		
		div.main div#contactus h2{
			background:url(images/col2contact.gif) top left no-repeat;
		}

		div.main div#latestarticles h2 {
			background:url(images/col2antena.gif) top left no-repeat;
		}

		div.main div#furtherreading h2 {
			background:url(images/col2reading.gif) top left no-repeat;
			padding-left:29px;
		}
		
		
		div.main div.col2 h2 a{
			color:#0a63ca;
		}
		
		div.main div.col2 a.rhs_link{
				font:normal 13px/18px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;
				display:inline-block;
				padding-bottom:10px;
				color:#666666;
		}
		
		div.main div.col2 a.rhs_link strong, div.main div.col2 a.rhs_link span{
			font:normal 13px/15px Lucida Sans, Lucida Grande, verdana, arial, sans-serif;
			color:#167ff7;
			display:block;
			margin-bottom:5px;	
		}
		
		div.main div.col2 a.rhs_link:hover{
			text-decoration:none;
		}
		
		div.main div.col2 a.rhs_link:hover strong, div.main div.col2 a.rhs_link:hover span{
			text-decoration:underline;
		}
		
		div.main div.col2 a.rhs_link{
			margin:0px;
		}
		
		div.main div.col2 a:hover{
			text-decoration:none;
		}
		
		div.main div.col2 a.rhs_link img{
			margin-top:4px;
		}
		
		img.screenshot{
			border:1px solid #cccccc;
		}
		
		div.Feature{
			position:relative;
			background: url(/images/dropshadow.gif) no-repeat bottom right;
			margin: 15px -10px 10px 25px;
			float:right;
		}
		
		
		
		div.Feature div.Content{
			position:relative;
			border: solid #CCCCCC 1px;
			background-color: white;
			width: 252px;
			padding:5px 5px 10px 5px ;
			text-align:center;
			 margin: -6px 7px 6px -7px;
		}
		
		div.mugshot div.Content{
			width:160px;
		}
		
		div.Feature img{
			border: solid #f2f2f2 1px;
		}
		
		div.Feature a{
			color:black;
			font-family:Comic Sans MS, Comic Sans MS5, cursive;
		}
		
		div.Feature a[href^="http://"]{
			background:none;
			padding-right:0px;
		}
		
		p.tick{
			background:url('/images/tick.gif') no-repeat 0px 5px;
			padding-left:50px;
			margin-left:10px;
		}
/*
		div.newsitem{
			padding-left:40px;
			background:url('/images/news.gif') no-repeat 0px 5px;
		}
*/

.snowfall {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}

.snowfall .snowflake {
  position: absolute;
  opacity: 0.5;
  animation: snowfall var(--duration, 15s) linear infinite;
  animation-delay: var(--delay, 0s);
  transform-origin: center;
}

.snowfall .snowflake svg {
  width: 40px;
  height: 40px;
}

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

	.snowfall .snowflake svg {
		width: 30px;
		height: 30px;
	}

}

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

	.snowfall .snowflake svg {
		width: 20px;
		height: 20px;
	}

}

@keyframes snowfall {
  from {
    transform:
      translate3d(0, -10vh, 0)
      scale(var(--scale, 0.7))
      rotate(0deg);
  }
  to {
    transform:
      translate3d(var(--drift, 0), 110vh, 0)
      scale(var(--scale, 0.7))
      rotate(360deg);
  }
}

.footer .fairy-lights {
	position: absolute;
	left: 50%;
	top: -100px;
	width: 100%;
	transform: translate(-50%);
	pointer-events: none;
}

.footer .fairy-lights .bulb path:first-child {
	filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
	transition: fill 0.25s ease, opacity 0.25s ease;
}

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

	.footer .fairy-lights {
		top: -80px;
		scale: 2;
		left: calc(50% * 2);
	}

}

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

	.footer .fairy-lights {
		top: -40px;
		scale: 2;
		left: calc(50% * 2);
	}

}

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

	.footer .fairy-lights {
		top: -50px;
		scale: 4;
		left: calc(50% * 4);
	}

}

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

	.footer .fairy-lights {
		top: -40px;
		scale: 5;
		left: calc(50% * 5);
	}

}

.footer {
	position: relative;
	overflow: hidden;
	border-top: 4px solid var(--codeface-blue-light);
	padding: 50px 0 94px;
	background-color: var(--codeface-blue-darker);
	background-image: url(images/footer/codeface-logo.png);
	background-position: -10% 50%;
	background-repeat: no-repeat;
	background-size: auto 200%;
	color: var(--codeface-blue-lightest);
	font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
}
.footer-links {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 10px;
	text-align: left;
}
.footer-links span {
	display: block;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--codeface-blue-light);
	padding-bottom: 4px;
	font-size: 24px;
	line-height: 32px;
}
.footer-links a {
	color: var(--codeface-blue-lightest);
	text-decoration: none;
}
.footer-links a:hover {
	color: var(--codeface-blue-light);
}
.footer-links > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.footer-copyright {
	margin: 50px 0;
	color: var(--codeface-blue-light);
	font-family: monospace;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-align: center;
}

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

	div.header {
		padding: 1em 5%;
		width: 90%;
		height: auto;
	}
	div.header a.logo {
		position: initial;
		display: block;
		margin: 0 auto;
		max-width: 100%;
		width:  378px;
		height: 113px;
	}
	div.header a.logo img {
		width: 100% !important;
	}

	div.navbar {
		height: auto;
		background:var(--codeface-blue-dark);
	}
	div.navbar ul.menu {
		padding: 0;
		width: 100%;
		text-align: center;
	}
	div.navbar ul.menu:after {
		display: block;
		visibility: hidden;
		clear: both;
		height: 0;
		content: ".";
	}
	div.navbar ul.menu li {
		display: inline-block;
		float: none;
		margin: auto .5em;
		padding: 1em 0;
		height: auto;
		line-height: 1;
	}
	div.navbar ul.menu li a {
		text-shadow: 1px 1px 1px #153F7A;
	}
	div.navbar ul.menu li span.selected {
		text-shadow: 1px 1px 1px #0C2649;
	}

	div.main {
		margin: 0;
		padding: 2.5em 10% 1em;
		width: 80%;
		border-bottom: 0;
	}
	div.main > div {
		margin-bottom:  20px;
		padding-bottom: 20px;
		border-bottom: 1px dotted #CCC;
	}
	div.main > div:last-of-type {
		margin:  0;
		padding: 0;
		border:  0;
	}
	div.main div.col1 {
		float: none;
		width: 100%;
	}
	div.main div.col1 div#map_canvas {
		width: 100% !important;
	}
	div.main div.col1 dd {
		margin: 0;
		margin-bottom: 10px;
	}
	div.main div.col1 dd input,
	div.main div.col1 dd textarea {
		padding: 1%;
		width: 98%;
	}
	div.main div.col1 input[type="submit"] {
		padding: .5em;
		width: 50px;
		border: 0;
		background: #297EF4;
		color: #FAFAFA;
		text-shadow: 1px 1px 1px #153F7A;
		line-height: 2em;
		-webkit-appearance: none;
		   -moz-appearance: none;
	}
	div.main div.col2 {
		float: none;
		width: 100%;
		text-align: center;
	}
	div.main div.col2 div.section {
		padding-bottom: 20px;
		border-bottom: 1px dotted #CCC;
	}
	div.main div.col2 div.section:last-of-type {
		margin:  0;
		padding: 0;
		border:  0;
	}
	div.main div.col2 div.section h2 {
		margin: 0;
		width: 100%;
		background-position: 50% !important;
	}
	div.main div.col2 div.section div.newsitem {
		margin: 1em 0;
	}
	div.main div.col2 div.section div.newsitem:last-of-type {
		margin-bottom: 0;
	}
	div.main div.col2 > p {
		display: none;
	}
	div.main div.col2 a {
		padding-bottom: 0;
	}

	.footer {
		background-image: none;
		background-position: initial;
		background-repeat: initial;
		background-size: initial;
	}
	.footer-links {
		flex-direction: column;
		justify-content: initial;
		text-align: center;
		gap: 20px;
	}
	.footer-links span {
		border-bottom: none;
	}

}

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

	div.main {
		padding: 1.5em 5% 1em;
		width: 90%;
	}
	div.main-heading {
		position: initial;
		margin: 0;
		height: auto;
		background: none;
	}
	div.main-heading h1 {
		position: initial;
		margin: 0;
		padding: 0;
		height: auto;
		background: none;
		line-height: 1.5;
	}

}

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

	div.header a.logo {
		width: 288px;
	}
	div.header a.logo img {
		margin-top: 1em;
	}

}

