/* Quick tweaks - to be merged later with SCSS.  */

/* Square Eye styles ___________________________________ */

.wp-template {
  position: fixed;
  right: 10px;
  top: 250px;
  z-index: 11;
  font-weight: bold;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #000;
  color: #fff;
}

.wp-template span {
  display: block;	
}

.wp-template span.title {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.callout.sqe {
  background: #f7ecdb url(https://squareeye.com/wp-content/sqerepo/images/sqe.avatar.48x.png) no-repeat;
  background-size: 32px 32px;
  background-position: 0.5em center;
  padding: 0.5em 1em 0.5em 3.5em;
  color: #222;
  min-height: 48px;
}

/* Globals  ________________________________________________________ */

body {
	font-size: 16px;
	overflow-x: hidden;
}

.alignright { float: right; }
.alignleft { float: left; }

img.alignright { margin: 0 0 1.5rem 1.5rem; }
img.alignleft { margin: 0 1.5rem 1.5rem 0; }

h1, .h1 {  font-weight: 700;  color: #0D3C6C; }
h1, .single h1 { line-height: 1.2; }
h2, .single h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
.share h3 { font-size: 1.6rem; }
h4 { font-size: 2rem; }

h5, li, p { font-size: 1.6rem; }

a:hover { opacity: 0.8; }

a:focus {
	outline: none;
}

.greybg {
  background: #f2f5f7;
}

button, button.button, a.button,
input[type="button"],
input[type="submit"],
.gform_wrapper .gform_footer input.button {
  background: #be256c;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.4rem !important;
  padding: 1rem;
  border-radius: 3px;
  border: none;
  margin: 0 !important;
}

a.button.large { font-size: 1.8rem !important; }
a.button.small { font-size: 1.2rem !important; }
a.button.tiny { font-size: 1rem !important; }

/*

.content a[href^="http://"]:not([href*="bovill.com"]):after,
.content a[href^="https://"]:not([href*="bovill.com"]):after {
	content: '\f360';  
    font-family: FontAwesome;
	padding-left:5px;
}

*/

button.close-button { color: white; }

img.round {
  border-radius: 50%;
}

.card .cardInner .cardText.text-center {
  text-align: center;
}

.signup a.button { display: inline-block; }

.share { margin: 0; font-size: 1.6rem; }

.single img { margin-bottom: 0; }

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.single.single-person h1:after { content: none; }

.error404 .close { display: none; }


/*
 * CHECKBOXES
 */
.checkbox {
    display: inline-grid;
    grid-template-columns: min-content auto;
    grid-gap: 0.5em;
	color: var(--color);
}
.checkbox * {
	cursor: pointer !important;
}
.checkbox__input {
	display: grid;
	grid-template-areas: "checkbox";
	align-items: center;
}
.checkbox__input input {
	opacity: 0;
	width: 1em;
	height: 1em;
	margin: 0;
	padding: 0;
}
.checkbox__control {
	display: inline-grid;
	width: 1em;
	height: 1em;
	border-radius: 0.25em;
	border: 2px solid currentColor;
}
.checkbox__input > * {
	grid-area: checkbox;
}
.checkbox__control svg {
  transition: transform 0.1s ease-in 25ms;
	transform: scale(0);
	transform-origin: bottom left;
}
.checkbox__input input:checked
+ .checkbox__control svg {
	transform: scale(1);
}
.checkbox__input input:focus
+ .checkbox__control {
	box-shadow: 0 0 0 0.05em #fff, 0 0 0.15em 0.1em currentColor;
}



/* Filters & archives  ________________________________________________________ */


.filters form { margin: 0 ; }
.filters .searchkw-wrapper {
	position: relative;
}
.filters form input[type=checkbox] { margin-right: 0.8rem;  padding: 0; height: auto;  }

.loading { height: 32px; background: url(../images/ajax-loader.gif) no-repeat center center; }


/* Top banner  ________________________________________________________ */



.region-selector li a {
  padding: 0.5rem;
  line-height: 1;
  display: inline-block;
}


.main-menu-wrapper { position: relative; } /* To control width of unbounded submenus */

.ubermenu .ubermenu-item-type-column>.ubermenu-submenu-type-stack>.ubermenu-item-normal:first-child {
    margin-top: 0px !important;
}
.ubermenu .ubermenu-row {
	margin-bottom: 0px !important;
}

.ubermenu-sub-indicators .ubermenu-tabs.ubermenu-tab-layout-left>.ubermenu-tabs-group>.ubermenu-has-submenu-drop>.ubermenu-target>.ubermenu-sub-indicator { display: none; }
.ubermenu-sub-indicators .ubermenu-has-submenu-drop>.ubermenu-target>.ubermenu-sub-indicator { top: 42%;  margin-bottom: 0; }

.ubermenu-main.ubermenu-sub-indicators .ubermenu-submenu :not(.ubermenu-tabs-layout-right)  .ubermenu-target { padding-right: 25px; }

.ubermenu-item-type-custom a.ubermenu-target {  padding-right: 0; }
.ubermenu.ubermenu-main .ubermenu-submenu .ubermenu-tab.ubermenu-active > .ubermenu-target { display: inline-block;  float: right; }

.ubermenu .ubermenu-target-text { font-weight: normal; }

.ubermenu .ubermenu-tab-layout-left>.ubermenu-tabs-group { padding-top: 15px; padding-bottom: 15px; }
.ubermenu-tabs { padding: 1rem; }
.ubermenu .ubermenu-tabs-group, .ubermenu .ubermenu-tab-layout-left>.ubermenu-tabs-group { border: none; }
.ubermenu-tabs-group > li > a { text-align: right; }
 
/* .ubermenu-main .ubermenu-submenu  { padding: 2rem !important; }  */

.ubermenu-main .ubermenu-submenu .ubermenu-custom-content h3 { position: relative;  margin-bottom: 3rem; }
.ubermenu-main .ubermenu-submenu .ubermenu-custom-content h3 a { color: #0D3C6C; }

.ubermenu-sub-indicators.ubermenu-sub-indicators-align-text .ubermenu-has-submenu-drop> a.ubermenu-target:hover >.ubermenu-sub-indicator {
	transform: rotate(180deg);
}

.ubermenu .ubermenu-tab-layout-left>.ubermenu-tabs-group>.ubermenu-tab>.ubermenu-tab-content-panel { padding: 4.5rem 7.5rem; }

ul.ubermenu-nav button {
   color: #0D3C6C;
   margin-left: 0.2rem !important;
   transform: translateY(0.1rem);
   cursor: pointer;
   transition: color 0.3s ease;
   background: transparent;
   padding: 0;
   font-size: 1em !important;
   border-radius: 0;
 }
 
 ul.ubermenu-nav button:active, ul.ubermenu-nav button:hover { color: #bd256c; }
 
.shiftnav ul.shiftnav-menu { border-bottom: solid 1px #ec008c; margin-bottom: 0.75rem; }  
 
.shiftnav .shiftnav-menu-image-padded { padding: 3rem 10rem; }

.shiftnav ul.shiftnav-menu li.menu-item > .shiftnav-submenu-activation { padding-top: 20px; }


/* WPML language switcher  ________________________________________________________ */


.lang-switcher-wrapper { padding-top: 1.5rem; }
.wpml-ls-legacy-dropdown { float: right; width: 10em;   }
.wpml-ls-legacy-dropdown  ul { border-radius: .8rem; }

.wpml-ls-legacy-dropdown a { display: inline-block; padding: 1rem; min-width: 120px;  }
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu { border-top: 0; }

.wpml-ls-first-item.wpml-ls-last-item {
    display: none;
}




/* Main content area  ________________________________________________________ */

.main-campaign { margin-bottom: 0;  padding-bottom: 3rem; }

.single { padding-bottom: 3rem; background: #f2f5f7; }

body.single {
	padding-bottom: 0 !important;
}


.breadcrumbs { font-size: 1.4rem; margin: 0;  }
.breadcrumbs a { color: #bd256c; }

.share h3 , .addthis_inline_share_toolbox { display: inline-block; vertical-align: top;  }
.share h3 { margin-right: 1rem; }

section.main { background: white; }

.main .grid-container > .grid-x { margin-left: 0; margin-right: 0; }

.single img { width: auto;  }


.campaign-form-wrapper { padding: 1rem; }




/* Footer  ________________________________________________________ */



footer.main { margin-top: 6rem; }





.main-footer ul.menu { }
.main-footer ul.menu li { display: block;  width: 100%; margin: 0; }
.main-footer ul.menu li a { color: white; }

.main-footer .social { margin-bottom: 1.5rem; }
.main-footer .social h3 { color: white; margin: 0.25rem; }
.main-footer .social ul li { display: inline-block; }  
.main-footer .social ul li a { width: 3rem; height: 3rem; color: white; 
	background-color: #bd256c;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 100%;
	display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: all .3s ease;
}


footer.main .footerBottom ul li a:after { content: " | ";  margin: 0 1rem;  color: #999; }

footer.main .footerBottom .copyright p { line-height: 1.3; color: white;  }
footer.main .footerBottom .copyright a { color: white; text-decoration: underline; }


/* Related / featured pages */

.grid-padding-x>.cell.content .related-pages ul li a span, .grid-padding-x>.cell.form .related-pages ul li a span, .grid-padding-x>.cell.related .related-pages ul li a span {
	margin-right: 3rem;
	display: inline-block;
}

/* Connect with Bovill  ________________________________________________________ */

.connect .connectBox { padding: 2rem 0; display: inherit; }
.connect .connectBox .grid-padding-x { margin-left: 0; margin-right: 0; }
.connect .connectBox img { border-radius: 100%;  }
.connect .connectBox .details { padding-right: inherit; margin-right: inherit; display: block; }
.connect .connectBox .details div { display: inline-block; }
.connect .connectBox .details .connectDetails h4 { }
.connect .connectBox .strapline { font-size: 1.6rem; color: #0D3C6C; font-weight: 300; }




/* Sections  ________________________________________________________ */

.simple-curve {
	/*background-image: radial-gradient(120% 120px at 50% -30px, #000 75%, transparent 75%);
    
    height:50px;
    */
    /* 
	    background-color:white;
	border-bottom-left-radius:50%;
    border-bottom-right-radius:50%;
    */
}

section.text_image, section.greybg {
  padding-top: 3em;
  padding-bottom: 3em;
}

.section.hero h2, .section.cta_form h2 {
  margin-bottom: 1em;
  position: relative;
  font-size: 3.8rem;
  line-height: 1.1;
}

.section.text_image .text-center h2 {  margin-bottom: 0; }





section.hero .cell:not(.text-center) h2::after,
section.text_image .cell:not(.text-center) h2::after, section.cta_form h2::after,
.ubermenu-main .ubermenu-submenu .ubermenu-custom-content h3::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -0.7em;
  height: 0.6rem;
  width: 5rem;
  background-color: #bd256c;
  display: block;
}

section.text_image p:last-child { margin-bottom: 0; }  
section.text_image blockquote { padding: 0;  margin: 0 0 1em;  }
section.text_image blockquote, .section.text_image blockquote  p { font-size: 2.4rem; font-weight: 300;  line-height: 1.3;  color: #0D3C6C;  }


section.hero, section.banner {
	overflow: hidden;
}

section.hero .cell, section.banner .cell {

	display: flex;
  align-items: center;
}

section.hero .heroBg, , section.banner .heroBg { background-size: cover; background-repeat: no-repeat;  }
.home.hero .heroBg { background-size: 100% auto; }

section.hero .imgWrap img, section.banner .imgWrap img { width: 100%; }

section.hero .heroBg .heroText p.footnote { position: relative; }

section.hero .heroBg .heroText h2.large, section.banner .heroBg .heroText h2.large { margin-bottom: 1.25rem; }

section.hero .heroBg .heroText.panel:after, section.banner .heroBg .heroText.panel:after {
	width: 10rem;
}





section.testimonials .heading {
  margin-bottom: 1.5rem;
}
section.testimonials .testimonial {
  font-size: 1.6rem;
}
section.testimonials .testimonial h3 {
  font-size: 1.6rem;
}
section.testimonials .testimonial img {
  margin-bottom: 3rem;
}

section.cta_form .boxWrapper { background-size: cover; padding: 0; }
section.cta_form .grid-x { display: flex;
  align-items: center; }
section.cta_form .cell { padding: 3rem; }


section.featured_boxes .boxWrapper { padding-bottom: 4rem; }

section.featured_boxes .iconBox h3 i, section.featured_boxes .iconBox h3 svg  { color: #bd256c; margin-right: 1rem;  }    


section.timeline_carousel .timelineSliderContainer .timelineSlider .slide h3 { margin-bottom: 3rem; }


.signup {
	background: #f2f5f7;
}

.signup * { color: #0D3C6C; }


.contact-panel { width: 33%; float: right; margin: 0 0 1rem 1rem; }
.contact-panel img { width: 64px; float: right; margin: 0 0 1rem 1rem;  }

.section.text_image .callout h2 { font-size: 2.8rem; } 



/* Home  ________________________________________________________ */

#regiondetector { outline: none; }
#regiondetector img { width: 800px; height: auto; margin-bottom: 1.5rem; }
#regiondetector h2 { font-size: 3rem; }

.reveal-overlay { z-index: 500001; }


/* Cards  ________________________________________________________ */

.card img { width: 100%; }



/* Posts  ________________________________________________________ */

.titleBanner {
  height: auto;
}

.single .content img.wp-post-image {
  width: 33%;
  float: right;
  margin: 0 0 1.5rem 1.5rem;
}


/* Profiles  ________________________________________________________ */

.page-template-people .card {
	height: 100%;
	padding-bottom: 3rem;
	margin-bottom: 0;
}

.page-template-people .cardInner {
	height: 100%;
}

.page-template-people .card .cardInner .cardText {
	display: flex;
	justify-content: space-between;
}

.page-template-people .card .cardInner .cardText svg, .page-template-people .card .cardInner .cardText svg {
    position: relative;
    margin-left: 0.5rem;
    color: #036;
    font-size: 20px;
}

.page-template-people .card .cardInner .cartText__socials {
	display: flex;
}

.page-template-people .card .cardInner .cardText svg {
  display: inline-block;
  border-radius: 48px;
  box-shadow: 0px 0px 2px #888;
  padding: 0.25em;
  background: #0D3C6C;
  color: white; 
  width: 24px;
  height: 24px;

}  



.single-person .profile { background: white; }


/* Cards  ________________________________________________________ */


.page-template-people .card .cardInner .cardText h3 { padding-right: 0; }

.page-template-people  .card .cardInner .cardText h2 svg, .page-template-people  .card .cardInner .cardText h3 svg { 
	position: relative; margin-left: 0.5rem; color: #036; font-size: 20px; 
}


/* Services & sectors  ________________________________________________________ */

.single-service .grid-padding-x>.cell.related .related-pages, 
	.single-sector .grid-padding-x>.cell.related .related-pages { margin-top: 0; }




/* Vacancies  ________________________________________________________ */

.vacancies {
}
.grid-padding-x .vacancies .grid-padding-x {
  margin-left: 0;
  margin-right: 0;
}

.vacancies a.vacancy {
  border-bottom: 0.5rem solid #bd256c;
  color: #0D3C6C;
  display: block;
  background-color: #f5f8f9;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.2rem 0.4rem 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.vacancies .vacancy .title {
  color: #bd256c;
  font-weight: 700;
}
.vacancies .vacancy .details {
  position: relative;
}
.vacancies .vacancy span {
  display: block;
  font-size: 1.8rem;
}
.vacancies .vacancy svg {
  position: absolute;
  right: 2rem;
  top: 1.5rem;
  font-weight: 700;
  color: #bd256c;
  font-size: 1.8rem;
}

.single-vacancy .bodyWrap {
  padding-bottom: 3rem;
}

.single-vacancy .greybg {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Vacancies: Cezanne HR version  ________________________________________________________ */


.vacancies {
	padding-top: 2rem;
}

.vacancies-item {
	border-bottom: 3px solid #bd256c;
    padding-bottom: 3rem;
	margin-bottom: 3rem;
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.vacancies .vacancies-item:first-of-type {
	border-top: 3px solid #bd256c;
	padding-top: 3rem;
}

.vacancies-item__content {
	margin-bottom: 0;
	margin-right: 3rem;
}

.vacancies-item__info {
	list-style: none;
    padding: 0;
    margin: 0;
}

.vacancies-item__info li {
	display: flex;
	align-items: center;
}

.vacancies-item__info li::before {
	content: '';
	display: inline-block;
	width: .5rem;
	height: .5rem;
	border-radius: 100%;
	background-color: #bd256c;
	margin-right: 1rem;
}




/* Banners  ________________________________________________________ */

.bannerad {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.grid-x .grid-x.bannerad { margin: 0 0 1.5em; }

.bannerad.simple {
	border: solid 1px #002856;
	padding: 0.5rem 1rem;
	text-align: center;
	margin-bottom: 1.5rem;
}

.bannerad.leaderboard {
	border: solid 1px #002856;
	padding-top: 1em;
}
.bannerad.leaderboard .titles {
	background: url(../images/bovill.watermark.o.png) no-repeat left top;
	background-size: auto 150px;
	padding-bottom: 0.5em;
}

.bannerad.leaderboard .titles-left {
	padding-left: 150px;
}

.bannerad.leaderboard .titles-right {
	padding-right: 150px;
	background: url(../images/bovill.watermark.o.right.png) no-repeat right top;
	background-size: auto 150px;
}

.bannerad.leaderboard .button-wrapper a.button {
	position: relative;
	top: 60%;
	transform: translateY(-40%);
}

.bannerad.leaderboard.small .button-wrapper a.button { top: auto; transform: none; }

.bannerad.leaderboard.blue {
	border-color: #BD256C;
	
}
.bannerad.leaderboard.blue a.button { background: #002856; }



.bannerad.skyscraper {}

.bannerad span { display: block; }
.bannerad .title { color: #BD256C; font-weight: 700; font-size: 2.8em; }
.bannerad .subtitle { color: #002856; font-size: 2.4em; }



/* WPML  ________________________________________________________ */

.wpml-banner { 
	background: #002856;
	font-size: 1.4rem;
	font-weight: bold;
}

.wpml-banner, .wpml-banner a { color: white; }

.wpml-banner img { height: 24px; margin-right: 5px; }


/* Forms  ________________________________________________________ */


.gform_confirmation_message { font-size: 1.8rem; } 

.hbspt-form form fieldset { max-width: 100%; }

.hbspt-form ul.inputs-list { list-style: none;  margin: 0 0 1.5rem;  }

.hbspt-form .hs-recaptcha { margin: 0 0 1.5rem; }

.hbspt-form form fieldset.form-columns-1 .hs-input { width: 100%; }

.hbspt-form textarea {
	min-height: 12rem;
}

/* Search  ________________________________________________________ */


 
	
.result a { color: #0D3C6C; }
	
.result .title { font-size: 2.4rem;  color: #be256c; }
	
.result .excerpt { font-size: 1.4rem; } 

/**
 * RELATED INSIGHTS (CARDS)
 */
.card {
	height: 100%;
	margin-bottom: 0!important;
	padding-bottom: 30px;
}
.cardInner {
	height: 100%;
}


/**
 * LOAD MORE BUTTON
 */
#load-more {
	cursor: pointer;
}
#load-more.btn-loading {
	cursor: wait;
}

/*
 * GEO MODAL WINDOW
 */

.reveal-overlay { z-index: 500001; }

#geo-modal {
	padding: 0;
	top: 60px !important;
	border-width: 0;
	outline: none;
	border-radius: 10px;
}

#geo-modal img { 
	width:100%; height: auto;
}

.geo-modal__content {
	padding: 20px
}

.geo-modal__title,
.geo-modal__desc,
.geo-modal__buttons,
.geo-modal__remember {
	text-align: center;
}
.geo-modal__title {
	font-size: 3rem;
}
.geo-modal__buttons {
	margin-bottom: 1rem;
}
.geo-modal__button {
    color: #ffffff;
	background-color: #be256c !important;
    border: 3px solid #be256c !important;
    border-radius: 8px !important;	
	text-transform: none !important;
	-webkit-transition: all .3s ease-in-out !important;
    -moz-transition:    all .3s ease-in-out !important;
    -o-transition:      all .3s ease-in-out !important;
    -ms-transition:     all .3s ease-in-out !important;
    transition:         all .3s ease-in-out !important;
}
a.geo-modal__button {
	margin-right: 5px!important;
    margin-left: 5px!important;
	margin-bottom: 1rem !important;
}
.geo-modal__button.button__outline {
	background-color: transparent !important;
	color: #be256c !important;
}
.geo-modal__button:hover,
.geo-modal__button.button__outline:hover{
	background-color: #14679e !important;
	border-color: #14679e !important;
	color: #ffffff !important;
}

/*
 * PERSON CONTACT FORM MODAL
 */
#person-form-modal {
	padding: 30px !important;
	border: 0 !important;
	border-radius: 10px;
}
#person-form-modal .close-button {
	top: 0;
	right: 0;
	color: #ffffff;
	border-radius: 0 0 0 5px;
}

/* MEDIA QUERIES _____________________ */


/* Small __________________ */

@media only screen { 
	
	.home section.hero .heroBg .heroText h1:after, .rule:after, .single h1:after, .titleBanner .title .titleBox h1:after, .titleBar h1:after, section .contentSection .textContainer h2:after {
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	
	.logo-wrapper img { max-width: 100%; }
	
	section.narrow .grid-container, .titleBanner .grid-container, section.main .grid-container, section.main .cta_banner .grid-container 
		{ max-width: 100%; }
	
	section.wide .grid-container, /*section.posts .grid-container, */ section.timeline_carousel .grid-container, footer .grid-container 
	{ max-width: 100%; }

	
	.titleBanner .grid-container { padding: 0 1rem; }
	
	.titleBanner .title .titleBox {
		/* padding-left: 1rem; padding-right: 1rem;  */
		padding-top: 3rem; 
	}
	
	.titleBanner .title .titleBox h1 { margin-bottom: 2rem; }
	
	section.main { padding-top: 3rem;  }
	
	.grid-padding-x>.cell.content, .grid-padding-x>.cell.form, .grid-padding-x>.cell.related {
		padding-left: 1rem; padding-right: 1rem; 
	}
		
	
	section.hero.bovill-banner .heroBg { 
		background-size:  cover;
	}

	.home section.hero .heroBg .heroText { padding: 0; }

	.reveal-overlay { text-align: center; }
	
	
	
	/* section.hero .heroBg, section.hero .grid-container, section.hero .grid-x  { min-height: 300px; }	 */
	
	
	
	.text-light h1, .text-light h2, .text-light p, .text-light label {
		color: #0D3C6C;
	}
	
	.section.cta_form .text-light h1, .section.cta_form .text-light h2, .section.cta_form .text-light p {
		color: white; 
	}
	
	section.posts { margin-top: 1.5rem; }
	.posts.wrap { padding-left: 0;  padding-right: 0; }
	.grid-padding-x>.cell.related .connect { margin-bottom: 3rem; }
	
	.footer-logo img { max-width: 150px !important; margin-bottom: 3rem; display: inline-block;  }
	
	footer.social { padding-top: 3rem; }
	
	
} /* Define mobile styles */

@media only screen and (max-width: 40.063em) {

	.home section.hero .heroBg { padding: 0; }
	.home section.hero .heroBg .imgWrap { margin-bottom: 1.5rem; }

}



/* Medium __________________ */

@media only screen and (min-width: 40.063em) {
	
	.home section.hero .heroBg .heroText h1:after, .rule:after, .single h1:after, .titleBanner .title .titleBox h1:after, .titleBar h1:after, section .contentSection .textContainer h2:after {
		left: 0;
		-webkit-transform: inherit;
		transform: inherit;
	}
	
	.grid-padding-x.narrow { padding-left: 5.75rem; padding-right: 5.75rem; }
	
	section.narrow .grid-container, .titleBanner .grid-container, .peopleBanner .grid-container, 
	.single-person .profile .grid-container,
	section.main .grid-container, section.main .cta_banner .grid-container,
	.campaign-form-wrapper .grid-container 
		{ max-width: 100rem; }  
	
	section.wide .grid-container, /*section.posts .grid-container, */ section.timeline_carousel .grid-container, footer .grid-container 
	{ max-width: 130rem; }
	
	.titleBanner .title .titleBox h1 { margin-bottom: 0; }
	.titleBanner .grid-container { padding: 0 3rem; }
	
	.logo-wrapper img { max-width: 100%; }
	
	section.main { padding-top: 0;  }
	
	.reveal-overlay { text-align: left; }
	
	
	.grid-padding-x>.cell.content, .grid-padding-x>.cell.form, .grid-padding-x>.cell.related {
		padding-left: 7.5rem; padding-right: 7.5rem; 
	}
	
	section.hero.bovill-banner .heroBg { 
		background-size:  cover;
		background-position: top right;
	}
	

	section.hero.bovill-banner .grid-container, section.hero .grid-x  { 
		min-height: 460px; 
		position: relative; 
	}
		
	section.hero.bovill-banner .grid-x .cell { 
		
		bottom: 1rem;
		left: 0;
	}
		

	section.hero h1, section.hero .h1 {
	font-size: 3.2rem;
	line-height: 1.1;
	margin-bottom: 2rem;
	}
		
	section.hero p {
		font-size: 1.6rem;
	}
		

	section.hero.bovill-banner .grid-x>.medium-5 { 
	width: 100%;  
	background: rgb(255,255,255,0.5); 
	} 		
		
	section.hero .heroBg .heroText {  padding: 3rem; }
	
	
	.text-light h1, .text-light h2, .text-light p, .text-light label {
		color: white !important;
	}
	
	section.posts  { margin-top: 0; } 
	.posts.wrap { padding-left: 5rem;  padding-right: 5rem; }
	/* .grid-padding-x>.cell.related .connect { margin-bottom: 1rem; } */
	
	/* .titleBanner { min-height: 350px; } */
	
	.footer-logo img { max-width: 100% !important; margin-bottom: 3rem; }
	
	footer.social { padding-top: 0; }
	
	

	
	 } /* min-width 641px, medium screens */
	 
	 

	 
	 

/* Small & medium  ________________________________________________________ */


@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	
	
	
	 } /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

/* Large __________________ */

@media only screen and (min-width: 64.063em) { 
	
	

	
	section.hero.bovill-banner .heroBg { 
	background-size: 100%;
	background-position: top right;
	border-bottom-left-radius: 50% 40px; 
	border-bottom-right-radius: 50% 40px;
	}	
	
section.hero.bovill-banner .grid-container, section.hero .grid-x  { 
	min-height: 475px; 
	position: relative;
}

section.hero.bovill-banner .grid-x>.medium-5 { 
	width: 41.66667%; 
	background: none;
	position: relative;
	
	} 
	

section.hero h1, section.hero .h1 {
  font-size: 4.6rem;
  line-height: 1.1;
  margin-bottom: 4rem;
}
section.hero p {
  font-size: 2rem;
}	

	
.newsletter section .boxWrapper { padding-top: 1rem; padding-bottom: 1rem; }
	
.newsletter section .grid-container {
	padding-left: 8.75rem; padding-right: 8.75rem; 
}



	
} /* min-width 1025px, large screens */



@media only screen and (min-width: 75em) { 
	
	section.hero.bovill-banner .grid-container, section.hero .grid-x  { 
		min-height: 525px; 
	}
}

@media only screen and (min-width: 80em) { 
	
	section.hero.bovill-banner .grid-container, section.hero .grid-x  { 
		min-height: 560px; 
	}
}

@media only screen and (min-width: 64.063em) and (max-width: 90em) { } /* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */

/* X Large __________________ */

@media only screen and (min-width: 90.063em) { 
	
section.hero.bovill-banner .heroBg { 
	background-size: cover;
	background-position: right bottom;
}	
	
section.hero.bovill-banner .grid-container, section.hero .grid-x  { 
	min-height: 700px; 
	max-width: 150rem; 
}

section.hero.bovill-banner .grid-x>.medium-5 { width: 33%; }
	
	
} /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) { } /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

/* XX Large __________________ */

@media only screen and (min-width: 120.063em) { } /* min-width 1921px, xxlarge screens */

