/*
Theme Name: Twenty Twenty-One Child
Theme URI: http://irenegodfrey.uk/
Template: twentytwentyone
Author: GGKnight web design


*/

:root {

/* colors */
--global--color-gold: #174075;
--global--color-hkred: #ffffff;
	/* Spacing */
--global--spacing-vertical: 2px;
	/* Font size */

	/* Primary Nav */
--primary-nav--font-size: var(--global--font-size-sm);
--primary-nav--color-link: var(--global--color-gold);
	/* button */

	/* Form */
--form--border-color: var(--global--color-white);
	/* Footer */
--footer--color-link: var(--global--color-gray);
--footer--font-size: var(--global--font-size-xs);
	/* header */
--branding--title--font-size: var(--global--font-size-xl);
/* Font Size */
--global--font-size-base: 18px;
--global--font-size-xs: 16px;
--global--font-size-sm: 17px;
--global--font-size-md: 17px;
--global--font-size-lg: 26px;
--global--font-size-xl: 30px;
--global--font-size-xxl: 36px;
--global--font-size-xxxl: 36px;
--global--font-size-page-title: var(--global--font-size-xxl);
--global--letter-spacing: normal;
--heading--font-size-h3: var(--global--font-size-lg);
--heading--font-size-h2: var(--global--font-size-xl);
}
.site-header {
	max-width:100%;
	padding-left:10px;
	padding-right:10px;
}
.site-footer {
	background-color:#ffffff;
	max-width:100%;
	padding-left:10px;
	padding-right:10px;
	border-top: #174075 1px solid;
}
.widget-area {
	background-color:#b2ddf1;
	max-width:100%;
	padding-left:10px;
	padding-right:10px;
	border-top: #174075 1px solid;
}
.widget-area {
	margin-top:0px;
}
.site-info {
 --global--color-border:#000 3px solid;
}
.site-info a:link {
	font-size:12px;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a {
	color:#174075;
	background-color: #b2ddf1;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a:hover {
	color:#174075;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a + .sub-menu-toggle {
	display: none;
}
.primary-navigation > div > .menu-wrapper > li > .sub-menu {
	background-color: #b2ddf1;
 }
a:hover {
	color:#174075;
	text-decoration: underline;
}
.more-link:hover {
	text-decoration:underline;
}
p {
	padding-top:10px;
	padding-bottom:10px;
}
/* Lists ------------------------------------- */
  /* --- Image Zoom start --- */
.container {
  position: relative;
  width: 300px;
  margin: 10px;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
/*  background-color: #405b6c;*/
  overflow: hidden;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: .9s ease;
  -o-transition: .9s ease;
  transition: .9s ease;
}

.container:hover .overlay {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.text {
  color: #174075;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.linkbuttonzoom {
	display:block;
	width:300px;
	height:300px;
	background-color:#b2ddf1;
	color:#333;
	border:#fff double 6px;
	border-radius:180px;
	padding:20px 5px 20px 5px;
}
.linkbuttonzoom:hover {
	color: #174075;
	text-decoration:underline;
}
  /* --- Image Zoom end --- */
/* ---My header--- */
.top {
	width:100%;
	background-color:#b2ddf1;
}
.center {
	display: block;
	margin-left: 10px;
  }
.primary-navigation {
	margin-left:auto;
	margin-right:20px;
}
.menu-button-container .button.button .dropdown-icon {
	display: flex;
	align-items: center;
	margin-top: 10px;
	background-color: #b2ddf1;
	border:#000000 solid 1px;
	z-index:9999;
}
/* ---My header end--- */
/* ---my footer --*/
.site-footer > .site-info .site-name {
	display:none;
}
.site-footer > .site-info .powered-by {
	margin-left:auto;
	margin-right:auto;
}
/* ---my footer end--*/
/* --- table ---*/
.eael-data-table tbody tr td {
	padding:1px 15px;
}
.pi-1 {
	padding:0px;
}
#bi {
	font-weight:500;
}
.pi {
	padding:0px;
}
#tdi {
	vertical-align: top;
}
.flex-container {
	display: -mox-flex;
	display: -webkit-flex;
	display: -webkit-flex; /* Safari */
	-webkit-justify-content: center; /* Safari 6.1+ */
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
#row {
	width:280px;
	margin: auto;
}
/* Contack form 7 columns */
.colA {
	width:400px;
	position: relative;
	margin-right: 10px;
	margin-bottom: 35px;
	margin:auto;
}
.colB {
	width:550px;
	position: relative;
	margin-right: 4%;
	margin-bottom: 20px;
	margin:auto;
}
.colC {
	width:270px;
	position: relative;
	margin-right: 4%;
	margin-bottom: 20px;
	margin:auto;
}
/*  Make nav menu sticky  */
#masthead {
	background-color:#b2ddf1;
	border-bottom: #174075 1px solid;
	margin-left:auto;
	margin-right:auto;
	width:100%;
}
*/ div.sticky {
 position: -webkit-sticky; /* firefox */
 position: sticky;
 top: 0;
 margin-left:auto;
 margin-right:auto;
 width:100%;
 z-index:300;
}
div.sticky {
	position: -webkit-sticky; /* microsoft edge */
	position: sticky;
	top: 0;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	z-index:300;
}
div.sticky {
	position: -webkit-sticky; /* safari */
	position: sticky;
	top: 0;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	z-index:300;
}
/* tempsgrid */
p.regionName{
    font-size: 22px;
	clear: both;
	color: #174075;
	font-weight:bold;
}
div.townblock {
	height:auto;
	width: 100%;
	overflow:hidden;
	padding-left:10px;
	padding-right:10px;
	margin:auto;
}
.buttonH {
	width:210px;
	margin-left:auto;
	margin-right:auto;
}
p.townname {
	width: 200px;
    height: 31px;
	text-align: center;
	border: 1px solid #000000;
	border-radius: 3px;
    width: 200px;
    height: 35px;
	padding: 3px; 
	background-color: #b2ddf1;
	box-shadow: #333 2px 3px;
	margin-top:5px;
	margin-bottom:5px;
}
p.townname a {
    color: #174075;
    text-decoration: none; /*to lose underline */
    display: block; /*so whole element becomes the link instead of just the text*/
}
p.townname a:hover {
    color: #174075;
	text-decoration:underline;
}
/* tempsgrid end */
@media only screen and (max-width: 767px) {
.eael-data-table .td-content {
	-webkit-box-align:left;
	align-items:left;
}
}

