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


*/

:root {
	/* Font Family */
	--global--font-primary: var(--font-headings, -apple-system, BlinkMacSystemFont, "Baskerville", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Baskerville", sans-serif);
	--global--font-secondary: var(--font-base, -apple-system, BlinkMacSystemFont, "Baskerville", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Baskerville", sans-serif);
	
	/* Font Size */
	

/* colors */

	/* Spacing */
	--global--spacing-vertical: 1px;
	
	/* Footer */
	--footer--color-link: var(--global--color-black);
	/* Primary Nav */
	--primary-nav--color-link-hover: var(--global--color-black);
	--primary-nav--color-text: var(--global--color-black);
	--primary-nav--font-size: var(--global--font-size-xl);
	--primary-nav--font-size-sub-menu: var(--global--font-size-lg);
	--primary-nav--padding: 8px;
	/* button */
	--button--color-background: var(--global--color-white);
	--button--border-radius: 8px;
	--button--padding-vertical:5px;
	/* Form */
	--form--border-color: var(--global--color-white);

}
.site-header {
background-color: transparent;
	max-width:100%;
	padding-left:10px;
	padding-right:10px;	
}
.site-footer {
	max-width:100%;
	padding-left:10px;
	padding-right:10px;
	
}
.widget-area {
	background-color:#ffffff;
	max-width:100%;
	padding-left:10px;
	padding-right:10px;
	border-top: #FFF 1px solid;
	color:#FFF;
}
.site-info {
	background-color: transparent;
	color:#000000;
	max-width:100%;
}
.site-footer > .site-info a:link {
	color:#000000;
}
.widget-area {
	margin-top:0px;
}
.powered-by {
	margin-left:auto;
	margin-right:auto;
}
.site-info {
	--global--color-border:#FFF 3px solid;
	margin-top:10px;
}
.site-footer > .site-info a:link {
	font-size:12px;
}
.menu-item > a {
	background-color: transparent;
	margin-left: 30px;
	margin-right: 30px;
}
a {
	color:#00F;
	text-decoration:underline;
}
a:hover {
	text-decoration:none;
}
h1, h2, h3, h4 {
	color:#000000;
}
p {
	padding-top:10px;
	padding-bottom:10px;
	font-size:24px;
}
/* My header */
.primary-navigation {
	margin-left:auto;
	margin-right:auto;
	background-color: #ffffff;
	padding-left:15px;
	padding-right: 15px;
	border-radius: 5px;
}
.primary-menu-container {
	background-color:rgba(255, 255, 255, 0.5);
}
.top {
	width:100%;
	background-color: transparent;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width:1260px;
}

.primary-navigation .primary-menu-container > ul > .menu-item > a + .sub-menu-toggle {
	display:none;
}

.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;
}
.flex-container > .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;
}
/* --- image hover start ---*/
.IH {
	width:400px;
	height:480px;
	margin:10px;
}
.topheading {
	background-color: #ffffff;
	color:#ffffff;
	text-align:center;
	border-radius: 5px;

}
.container {
  position: relative;
  width: 100%;
}

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

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(000, 000, 000, 0.55);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.container:hover .overlay {
  height: 100%;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 30%;
  left: 25%;
  -webkit-transform: translate(-15%, -15%);
  -moz-transform: translate(-15%, -15%);
  -ms-transform: translate(-15%, -15%);
  -o-transform: translate(-15%, -15%);
  transform: translate(-15%, -15%);
  text-align: center;
}
.buttonIH {
	width:70px;
	font-size:22px;
	padding:5px;
	border:1px #00f solid;
	border-radius: 5px;
	color:#000000;
	background-color:#FFF;
}
.buttonIH:hover {
	text-decoration:underline;
}
.buttonIB {
	width:70px;
	font-size:18px;
	padding:5px;
	border:1px #000000 solid;
	background-color:#ffffff;
	border-radius: 5px;
	color:#000000;
	margin-left: 40%;
	
}
/* --- image hover end ---*/

.metaslider .nivo-caption {
	background:#174075;
	text-align:center;
}
/* buttons */
/* Locations page */
p.regionName{
    font-size: 22px;
	line-height: 1.0909090909;
	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:#174075 1px solid;
	border-radius: 3px;
    width: 200px;
    height: 35px;
	padding: 2px; 
	background-color: #ffffff;
	margin-top:5px;
	margin-bottom:5px;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.4), 0 3px 5px 0 rgba(0, 0, 0, 0.5);
}
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;
}
/*  buttons ens*/
/* widget area */
.linkbutton-footer {
	padding: 5px 5px;
	text-decoration: none;
}
.widget-area a:link {
	color:#FFF;
}
.footer-div {
	margin-left: auto;
	margin-right:auto;
	text-align:center;
}
.spfoot {
	background-color:#174075;
	color:#ffffff;
	padding-left:30px;
	display:inline-block;
	width:100%;
}
.foolist {
	font-size:12px;
	padding-left:10px;
}
/*  Make nav menu sticky  */

#masthead {
	background-color: #FFF;
	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;
  
}
@media only screen and (min-width: 1024px) {
}
.widget {
	margin-top:5px;
	margin-bottom:5px;
	border:#CCC 1px solid;
}

.menu-button-container #primary-mobile-menu .dropdown-icon.open .svg-icon {
	position: relative;
	top: -1px;
	background-color:#FFF;
}
.menu-button-container #primary-mobile-menu {
	position: relative;
	top: -40px;
	background-color:#FFF;
}
