/*
Theme Name: reagent22
Theme URI: https://www.portotheme.com/wordpress/porto
Author: Daz
Author URI: https://www.reagent.co.uk
Description: Bootstrap Responsive WordPres Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: corporate, responsive, blue, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
*/

/*************** ADD CSS HERE  ***************/

/*-----------------------------------------------*/
/*  ReAgent CSS Colours                          */
/*  #2497d3 - Light Blue						 */
/*  #006092 - Dark Blue							 */
/*  #f7980a - CTA Orange						 */
/*  #37db3d - Sale Green                         */
/*  #f7f7f7 - Light Grey                         */
/*  #ebebeb - dark Grey                          */
/*-----------------------------------------------*/

/* Mainbutton (hover) */
#mainbutton:hover{
	background-color:#223269;
}

/* Link (hover) */
.elementor-element-b63d2f3 .elementor-widget-button a:hover{
	background-color:#223269 !important;
}

/* Button (hover) */
#gform_submit_button_1:hover{
	background-color:#223269;
}

/* Button */
#gform_submit_button_1{
	border-style:none !important;
}

/* MAIN HEADER */
.header-main {
	position: fixed !important;
	width: 100%;
	z-index: 1000;
	height: 85px;
	background: #fff;
}

/* HEADER NUMBER */
#headnumber{
	height:50% !important;
}


/* Main banner top and bottom pading on mobile */
@media (max-width:989px){

	/* Top column */
	.banner_header .elementor-top-column{
		margin-top:-50px;
		margin-bottom:-50px;
	}
	
}

/* MAIN BANNER TABLET SIZING */
@media (max-width:989px){

	/* Inner column */
	.banner_inner_container .elementor-inner-column{
		width:100%;
	}
	
}

/* MAIN BANNER LOGOS PADDING */
@media (max-width:989px){

	/* Widget wrap */
	.banner_header .elementor-container .elementor-top-column > .elementor-widget-wrap{
		margin-bottom:30px;
		
	}
	
}

/* Breadcrumbs Styling */
.breadcrumbs-wrap .breadcrumb li{
	text-transform:none !important;
	font-size:14px;
	padding-bottom:10px;
}

/* SIDEBAR - 989px and smaller screen sizes */
@media (max-width:989px){

	/* Sidebar content */
	.sidebar div .sidebar-content{
		padding-top:25px;
	}
	
}

/* SIDEBAR - -MAIN CONTENT SPACING - 768px and larger screen sizes */
@media (min-width:989px){

	/* Sidebar content */
	.pin-wrapper div .sidebar-content{
		padding-left:45px !important;
	}
	
}

/* BANNER HEADER TITLE 989px and smaller screen sizes */
@media (max-width:989px){

	/* Heading */
	.elementor-element .elementor-widget-heading h1{
		text-align:left;
		
	}
	
}

/* MOBILE HEADER - 960px and smaller screen sizes */
@media (max-width:960px){

	/* Header main */
	#header .header-main{
		height:60px;
		
	}
	
}

/* MOBILE NAV TP */
/* Sub Menu */
.menu > .menu-item > .sub-menu{
	padding-left:25px;
}

/* Grand Sub Menu */
.menu .sub-menu .sub-menu a{
	padding-left:25px;
}

.taptap-image{
	text-align: left;
	margin: 0;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
}

/* MOBILE NAV Widget wrap */
	.mobnav .elementor-widget-wrap{
		padding-right:20px !important;
		padding-left:15px !important;
}

/* MOBILE MENU SUPPORT */
@media screen and (max-width: 760px) and (min-width: 380px){
	
	/* Mobilelogo */
	.page-wrapper .header-wrapper #header .elementor-location-header .mobnav .elementor-container .elementor-top-column .elementor-widget-wrap .mobilelogo{
		width:34px !important;
		margin-top: 15px !important;
	}
	
}

/* 760px and larger screen sizes */

@media (min-width:760px){

	/* Taptap menu button wrapper */
	.taptap-menu-button-wrapper{
		display:none;
	}
	
}

/* Taptap menu button wrapper */
	.taptap-menu-button-wrapper{
		z-index:1099;
}
/* MOBILE MENU SUPPORT END */

/* MOBILE MENU SUPPORT */
@media screen and (max-width: 760px) and (min-width: 380px){

	/* Header */
	#header{
		width:100%;
		transform:translatex(0px) translatey(0px);
	}
	
	/* Mobilelogo */
	.page-wrapper .header-wrapper #header .elementor-location-header .elementor-element .elementor-container .elementor-top-column .elementor-widget-wrap .mobilelogo{
		width:34px !important;
	}
	
}

/* 760px and larger screen sizes */

@media (min-width:760px){

	/* Taptap menu button wrapper */
	.taptap-menu-button-wrapper{
		display:none;
	}
	
}

/* Taptap menu button wrapper */
	.taptap-menu-button-wrapper{
		z-index:1099;
}
/* MOBILE MENU SUPPORT END */


/* MOBILE MENU FONT CONTROLLER SIZE */
@media (max-width:750px){

	/* IMain item */
	.elementor-location-header .elementor-element .elementor-item{
		font-size:16px;
	}
	
	/* Sub item */
	.elementor-element .elementor-container .elementor-top-column .elementor-widget-wrap .elementor-widget-nav-menu .elementor-widget-container .elementor-nav-menu__container .elementor-nav-menu > .menu-item > .sub-menu > .menu-item > .elementor-sub-item{
		font-size:16px;
	}
	
	/* Sub Sub item */
	.elementor-element .elementor-container .elementor-top-column .elementor-widget-wrap .elementor-widget-nav-menu .elementor-widget-container .elementor-nav-menu__container .elementor-nav-menu .menu-item .sub-menu .menu-item .sub-menu .menu-item .elementor-sub-item{
		font-size:16px;
	}
	
}

/* Footer Country List*/
@media (max-width:750px){

	/* Foot list country */
	#footer_info .foot_list_country{
		width:100%;
	}
	
}

/* BREADCRUMBS ON MOBILE FONT SIZE */
@media (max-width:750px){

	/* Span Tag */
	.breadcrumbs-wrap .yoast-breadcrumbs > span{
		font-size:16px;
		margin-left:0px;
	}
	
}

/* MOBILE HEADER LIGHTBOX POSITION */
@media (max-width:750px){

	/* Element 21dbefd */
	#header .elementor-location-header .elementor-element-21dbefd:nth-child(4){
		z-index:550;
	}
	
}

/* MOBILE FOOTER COPY ALIGN CENTER - 750px and smaller screen sizes */
@media (max-width:750px){

	/* Widget wrap */
	#footer_info .elementor-widget-wrap{
		text-align:center;
	}
	
	/* Widget wrap */
	#footer_copywrite .elementor-widget-wrap{
		text-align:center;
	}

	/* Paragraph */
	#footer_copywrite .elementor-widget-text-editor p{
		text-align:center;
		
	}
	
}

/* Z Index Start */
#contact_us{
	z-index:1100;
}

#google_reviews{
	z-index:1100;
}

#reagent_quotes_responsive{
	z-index:1100;
}

#footer_logos{
	z-index:1100;
}

#reagent_footer_logo{
	z-index:1100;
}

#footer_info{
	z-index:1100;
}

#footer_line{
	z-index:1100;
}

#footer_copywrite{
	z-index:1100;
}

/* Z Index End */

/* Main menu wrap */
#header .main-menu-wrap{
	padding-top:85px;
}

/* Main menu sub item width */
.inner > .sub-menu > .menu-item > a{
	width:265px;
}

/* TOOL TIP */
.porto-tooltip-wrap {
    font-family: inherit;
    display: none;
}

/* TWO COLUMN OVERIDE */
@media (min-width:990px){

.reagent-column-list {
  column-count: 2;
  margin-right:-50px;
}
}

/* COUNTRY TWO COLUMN OVERIDE TABLET */
@media (max-width:990px){

.reagent-country-column-list {
  column-count: 1;
  margin-right:-50px;
  padding-left:15px;
  padding-right:15px;
  text-align: center;
}
}

/* COUNTRY TWO COLUMN OVERIDE MOBILE */
@media (min-width:768px){

.reagent-country-column-list {
  column-count: 4;
  margin-right:-50px;
}
}

/* FOOTER TWO COLUMN OVERIDE TABLET */
@media (max-width:990px){

.reagent-footer-column-list {
  column-count: 1;
  margin-right:-50px;
  padding-left:15px;
  padding-right:15px;
  text-align: center;
}
}

/* FOOTER TWO COLUMN OVERIDE MOBILE */
@media (min-width:768px){

.reagent-footer-column-list {
  column-count: 2;
  margin-right:-50px;
}
}

/* TWO COLUMN OVERIDE - COLUMN MARGIN */
.elementor-list-item-link-inline .elementor-icon-list-item .elementor-icon-list-text{
	margin-right:-10px;
	
}

/* MANAGEMENT FIRST PIC SPACE FIX */
@media (min-width:990px){

	/* Thumbnail Image */
	.hentry .team-member:nth-child(1) .attachment-thumbnail{
		margin-bottom:30px;
	}
}

/* PAGE WITH SIDEBAR 992px and larger screen sizes */
@media (min-width: 992px){

	.col-lg-9{
		flex: 0 0 auto;
		width: 65%;
	}
	
	.col-lg-3{
		flex: 0 0 auto;
		width: 35%;
	}
	
}

/* Top and Bottom Padding - MAIN */
#main .main-content{
	padding-top:0px;
	padding-bottom:0px;
}

/* Top and Bottom Padding - SIDEBAR */
#main .sidebar{
	padding-top:0px;
	padding-bottom:0px;
}

/* PAGE TITLE - Letter spacing */
.page-top .page-title {
    letter-spacing: 0;
}

/* ALL CONTENT IMAGES ROUNDED BORDER*/
img {
    border-radius: 8px !important;
    overflow:hidden;
}

/* ALL CONTENT IMAGES ROUNDED BORDER*/
.single-post img {
    border-radius: 8px !important;
    overflow:hidden;
}

/* LEFT ALIGNED CONTENT IMAGES ROUNDED BORDER*/
.wp-caption.alignright img, .wp-caption.alignright .wp-caption-dd {
    padding-left: 0px;
}

/* RIGHT ALIGNED CONTENT IMAGES ROUNDED BORDER*/
.wp-caption.alignleft img, .wp-caption.alignleft .wp-caption-dd {
    padding-left: 0px;
}

/* PAGE TITLE */
.page-top .page-title {
    font-size: 35px;
    font-weight: 700;
}

/* Page sub title */
.page-top .page-title-wrap p{
	font-weight:700;
	
}

/* 768px and larger screen sizes */
@media (min-width:768px){

	/* Page sub title */
	.page-top .page-title-wrap p{
		font-size:24px;
	}
	
}

/* TO TOP CONTROL */
html #topcontrol {
    background: #404040;
    background: rgba(64,64,64,0.75);
    color: #FFF;
    width: 49px;
    height: 48px;
    display: none;
    right: 10px;
    text-align: center;
    text-decoration: none;
    z-index: 1040;
    transition: background 0.3s ease-out;
}

/* Page Featured image */
#content .hentry .page-image{
	display:none;
}

/* Content Block image spacing */
.hentry .wp-block-image{
	padding-bottom:20px;
	padding-top:20px;
}

/* Content Quotes */
.hentry blockquote strong{
	font-weight:600;
	font-size:16px;
	font-style:italic;
}

/* Quote line colour */
.hentry blockquote{
	border-left-color:#2497d3;
	background-color:#f6f6f6;
}

/* Figcaption */
.hentry .size-large figcaption{
	font-style:italic;
	padding-top:5px;
	padding-bottom:5px;
	margin-bottom:20px;
}

/* Figcaption */
.hentry figure figcaption{
	font-style:italic;
	padding-top:5px;
	padding-bottom:5px;
	margin-bottom:20px;	
}

/* POSTS - Table of contents */
#ez-toc-container{
	border-left-color:#2497d3 !important;
	border-left-width:5px !important;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	border-bottom-left-radius:8px;
	border-bottom-right-radius:8px;
	padding-left:20px;
	padding-top:20px;
	padding-bottom:20px;
}

/* blog read more button */
#main .d-block a{
	background-color:#2497d3;
	color:#ffffff;
	font-size:14px !important;
	border-top-width:0px;
	border-right-width:0px;
	border-bottom-width:0px;
	border-left-width:0px;
	padding-left:20px;
	padding-right:20px;
	padding-top:8px;
	padding-bottom:8px;
}

/* Related posts Sub title */
#content .related-posts .sub-title{
	text-transform:none;
	line-height:1em;
	padding-bottom:20px;
	letter-spacing:0px;
}

/* Blog Post gap */
#content .hentry .post-gap{
	display:none;
}

/* 1200px and larger screen sizes */
@media (min-width:1200px){

	/* Sub title */
	#content .related-posts .sub-title{
		font-size:24px;
	}
	
}

/* SUB MENU Link */
.inner > .sub-menu > .menu-item > a{
	color:#666666 !important;
}

/* GRAND SUB MENU Link */
#menu-main .sub-menu .sub-menu a{
	color:#666666 !important;
}

/* blog read more button 480px and larger screen sizes */
@media (min-width:480px){

	#main .wp-post-image .wp-post-image{
		margin-right:0px;
		margin-bottom:0px;
	}
	
}


/* HEADER SEARCH FORM */

/* 768px and larger screen sizes */
@media (min-width:768px){


	/* Input */
	.searchform-popup .text input[type=text]{
		width:270px !important;
	}

	
}

/* Input */
.header-main .searchform .text input[type=text]{
	font-size:16px !important;
}

/* Input */
.searchform-popup .text input[type=text]{
	background-color:#f6f6f6 !important;
}

/* Button */
.searchform-popup .searchform .btn-special{
	background-color:#2497d3 !important;
	border-top-color:#2497d3 !important;
	border-right-color:#2497d3 !important;
	border-bottom-color:#2497d3 !important;
	border-left-color:#2497d3 !important;
	color:#ffffff !important;
}

/* Form Division */
.header-center .searchform-popup form{
	border-top-width:0px !important;
	border-right-width:0px !important;
	border-bottom-width:0px !important;
	border-left-width:0px !important;
}

/* Input */
.searchform-popup .text input[type=text]{
	border-top-left-radius:4px !important;
	border-bottom-left-radius:4px !important;
}

/* Button */
.searchform-popup .searchform .btn-special{
	border-top-right-radius:4px !important;
	border-bottom-right-radius:4px !important;
}

/* DISPLAY NAV EARLY */
.elementor-nav-menu--main .menu-item.sm-nowrap .elementor-sub-item :hover .elementor-nav-menu--dropdown{
	display: flex-box !important;
}

/* NAV SUB ITEM FADE FX */
.sm-nowrap .menu-item .elementor-sub-item{
	transition-duration:0s;
}


/* MAIN MENU BACKGROUND */
#header .main-menu-wrap .container{
	background-color:#f6f6f6;
}

/* QUESTIONAIRE FORM BUTTON */
#gform_submit_button_2{
	padding-top:12px;
	padding-bottom:12px;
	padding-left:32px;
	padding-right:32px;
	font-size:32px;
	font-weight:600;
	background-color:#f7980a;
	border-top-style:solid;
	border-right-style:solid;
	border-bottom-style:solid;
	border-left-style:solid;
	border-top-color:#f7980a;
	border-right-color:#f7980a;
	border-left-color:#c87b07;
	border-bottom-color:#c87b07;
}

/* CONTACT FORM BUTTON */
#gform_submit_button_1{
	padding-top:12px;
	padding-bottom:12px;
	padding-left:32px;
	padding-right:32px;
	font-size:32px;
	font-weight:600;
	background-color:#f7980a;
	border-top-style:solid;
	border-right-style:solid;
	border-bottom-style:solid;
	border-left-style:solid;
	border-top-color:#f7980a;
	border-right-color:#f7980a;
	border-left-color:#c87b07;
	border-bottom-color:#c87b07;
	width:100% !important;
}

/* CONTACT FORM BUTTON 989px and smaller screen sizes */
@media (max-width:989px){

	/* Button */
	#gform_submit_button_1{
		font-size:25px;
		width:100% !important;
	}
	
}

/* Contact quotes */
#contact-quote .swiper-slide .elementor-testimonial__cite{
	margin-top:0px;
}

/* Link */
.nav-pills .header_number a{
	color:#2497d3 !important;
    font-size: 23px;
    font-weight: 600;
}

/* Font Icon */
.header_envelope a i{
	color:#f7980a;
	font-size:26px !important;
    font-weight: 600;
}

/* Search form container */
/* 990px and larger screen sizes */
@media (min-width:990px){
.elementor-location-header .elementor-element-b63d2f3 .elementor-search-form__container{
	width:300px
}
}

/* MOBILE SEARCH - 960px and smaller screen sizes */
@media (max-width:960px){

	/* Button */
	#side-nav-panel .searchform .btn-special{
		background-color:#f7980a;
		border-top-left-radius:0px;
		border-bottom-left-radius:0px;
	}
	
	/* Searchform fields */
	#side-nav-panel .searchform .searchform-fields{
		background-color:#ffffff;
		border-top-left-radius:4px;
		border-top-right-radius:6px;
		border-bottom-left-radius:4px;
		border-bottom-right-radius:6px;
	}
	
}


/* Casestudymainlogo */
#casestudymainlogo{
	width:30% !important;
}

/* CASE STUDY LOGO IN MAIN CONTENT */
.case-study-image-before-content{
	width:250px;
	padding-bottom:30px;
	padding-top:10px;
	pointer-events:none !important;
}

/* Blog post meta links */
.elementor-widget-post-info ul{
	pointer-events:none;
}

/* Description lists
============================*/

dt {
	font-weight: bold;
}

dd {
	margin: 0;
}

.box-out { /*--Appears at the bottom of landing pages "Why use ReAgent"--*/
	margin-bottom: 0;
}

.box-out dt,
.box-out dd {
	background: #f7f7f7;
	border-left: 5px solid #0498e4;
}

.box-out dt {
	border-radius: 2px 2px 0 0;
	color: #223269;
	padding: 0.75em 1.61em 0 1.61em;
}

.box-out dd {
	border-radius: 0 0 2px 2px ;
	margin-bottom: 0.25em;
	padding: 0 1.61em 0.75em 1.61em;
}

.glossary dt{
	border-top: 1px solid #eee;
	color: #223269;
	font-size: 1.5em;
	margin-top: 1.5em;
	padding-top: 1.5em;
}

.box-out .regular-action-call p{
	color:#ffffff;
}

/* Call to action
================================================================================*/

.bar-alert,
.bar-info {
	color: #fff;
	overflow: hidden;
	padding-bottom: 1.61em;
	padding-top: 1.61em;
}

.bar-info { /*--Full width blue bar--*/
	background-image:none;
	background-color:#2497d3;
}

.bar-alert { /*--Full width orange bar--*/
	background: #f7980a;
}

.bar-info p,
.bar-alert p {
	margin-bottom: 0;
}

.large-action-call,
.regular-action-call {
	border-radius: 2px;
	padding-left: 1.61em;
	padding-right: 1.61em
}

.large-action-call {
	margin: 3em 0;
}

.regular-action-call {
	margin: 0;
}

.regular-action-call p a{
	margin-right:15px;
}

.regular-action-call .button {
	margin-right: 0.5em;
}

/* Regular action call mobile view edits */
@media (max-width:748px){

	/* Button */
	.regular-action-call p a{
		width:100% !important;
		font-weight:700;
	}
	
	/* Paragraph */
	.box-out .regular-action-call p{
		text-align:center;
		padding-top:0px;
	}
	
}

.call-to-action-message,
.call-to-action-button {
	color: #fff;
	float: left;
}

.call-to-action-message { /*--Text to the left of .call-to-action --*/
	margin-right: 2%;
	width: 64%;
}

.call-to-action-button { /*--Button to right of .call-to-action --*/
	width: 34%;
}

.heading,
.info {
	margin-bottom: 0;
}

.heading { /*--Heading text inside /.callt-to-action--*/
	font-size: 1.25em;
	font-weight: bold;
	margin-top: 0.5em;
}

.info { /*--Body text inside /.callt-to-action--*/
	font-size: 1.125em;
}

.important { /*--Telephone number inside .call-to-action - don't break onto 2 lines--*/
	font-weight: bold;
	white-space: nowrap;
}

/* Case Studies
================================================================================*/

.page-template-page-templatespage_casestudy-php .wp-post-image {
	margin-bottom: 2em;
}

.info-card {
	background: #f7f7f7;
	border-left: 5px solid #f7980a;
	border-radius: 2px;
	color: #666;
	overflow: hidden;
	padding: 1.75em;
}

.entry .info-card {
	margin: 2em 0;
}

.info-card-data,
.info-card-img {
	float: left;
}

.info-card-data {
	width: 70%;
}

.info-card-detail {
	list-style-type: none;
	margin: 0;
}

.info-card-detail li {
	margin-bottom: 0;
}

#content .info-card h2{
	line-height:30px;
}

.info-card-img {
	margin-left: 5%;
	text-align: right;
	width: 25%;
}

.info-card-img img {
	max-height: 150px;
	width: auto;
}

.info-card-img .attachment-thumbnail {
	margin: 0;
}

/* List */
#content .info-card ul{
    margin-top:-10px;
	padding-left:0px;
}

/* Info card */
#content .info-card{
	margin-bottom:20px;
}

/* 748px and smaller screen sizes */
@media (max-width:748px){

	/* Info card img */
	#content .info-card .info-card-img{
		display:none;
	}
	
	/* Info card data */
	.page-wrapper #main .container .main-content-wrap .main-content #content .info-card .info-card-data{
		width:100% !important;
	}

}


/* Meet the team Page
================================================================================*/

.team-member {
	border-bottom: 1px solid #fff;
	margin-bottom: 2em;
}

.team-member .attachment-thumbnail {
	margin-top: 0.5em;
	float: left;
	margin: 0 1em 1em 0;
    border-radius: 8px;
}

.member-name {
	margin-bottom: 0;
}

.job-title {
	color: #223269;
	font-weight: bold;
	margin-bottom: -4px;
}

.start-date {
	color: #223269;
	font-size: 16px;
	margin-bottom: 0.5em;
}

/* Related Posts
================================================================================*/


/* Paragraph */
#myRelatedPosts li img{
	float:left;
	margin-right: 15px;
	margin-bottom: 25px;
	width: 245px;
	height: 145px;
	object-fit: cover;
}

/* Related posts */
#myRelatedPosts{
	list-style:none;
	margin: 0px;
	padding-left:0px;
}

#myRelatedPosts li{
	padding-left:0px;
	margin-top: 25px;
	margin-bottom: 25px;
	clear:both;
}

/* Paragraph */
#myRelatedPosts li p{
	margin: 0px;
	width:100%;
}

/* Heading */
.elementor-element-1a6f5fd .elementor-shortcode h3{
	
}

/* 768px and smaller screen sizes */
@media (max-width:768px){

	/* Paragraph */
	#myRelatedPosts li img{
		width: 100%;
		height: 220px;
		margin-bottom: 25px;
		object-fit: cover;
	}
	
}



/* PART 1 - Before Lazy Load */
img[data-lazyloaded]{
    opacity: 0;
}

/* PART 2 - Upon Lazy Load */
img.litespeed-loaded{
    -webkit-transition: opacity .1s linear 0.1s;
    -moz-transition: opacity .1s linear 0.1s;
    transition: opacity .1s linear 0.1s;
    opacity: 1;
}

/* History Timeline
================================================================================*/


#content .timeline{
	margin-top:0px;
}

.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  background: #006092;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline .timeline-item p{
	padding-bottom:25px;
}
.timeline .timeline-item a{
	position:relative;
	top:-41px;
	margin-bottom:-42px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}

.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #eee;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #006092;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

.timeline a {
  background: #2e93d1;
  color: #FFFFFF;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 10px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.6);
}
.timeline a:hover {
  background: #006092;
  color: #FFFFFF;
  text-decoration: none;
}

.timeline h2 {
    line-height: 0px;
}

.timeline-card {
  padding: 0 !important;
  border-radius: 8px;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

.timeline-item:nth-child(1) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/Derek_and_Norma_Millard.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(2) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/factory-1979.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(3) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/History_Factory-Floor-O-990x720.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(4) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/ReAgent_Chemicals_Staff_Photo_1993.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(5) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/reagent_recieving_ISO9001.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(6) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/young_richard_hudson.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(7) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/reagent-logos.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(8) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/ReAgent-Chemicals-being-awarded-Investors-in-People.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(9) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/profit-reagent-screen.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(10) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/ISO-14001.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(11) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/ReAgent_chemicals_product_range_online.png") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(12) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/ReAgent-factory-aerial-drone-shot-2020.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(13) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/ISO-13485.jpg") center center no-repeat;
  background-size: cover;
}
.timeline-item:nth-child(14) .timeline-img-header {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)), url("/wp-content/themes/reagent22/imgs/Derek-Steve-and-Rich-in-the-reagent-factory.jpg") center center no-repeat;
  background-size: cover;
}

.timeline-img-header {
  height: 300px;
  position: relative;
  margin-bottom: 20px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.timeline-img-header h2 {
  color: #FFFFFF;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

.date {
  background: #2e93d1;
  display: inline-block;
  color: #FFFFFF;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
  border-top-left-radius:4px;
  border-top-right-radius:4px;
  border-bottom-left-radius:4px;
  border-bottom-right-radius:4px;
  margin-top:8px;
  margin-right:8px;
  margin-left:8px;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}

section.timeline:after {
    background: #fff0;
}

#content .timeline{
	padding-bottom:0px;
}

/* START CONTACT FORM ERROR MESSAGE STYLING */
/* Changing background and border color of top error message div */
body .gform_wrapper .gform_validation_errors {
    background: #f5dddd;
    border: 1.5px solid #cb6565;
    box-shadow: 0 0px 0px rgb(0 0 0 / 0%), 0 0 0px rgb(18 25 97 / 0%);
    padding: 10px 10px 10px 10px;
}

.gform-icon {
    display: none;
}

.gform_submission_error.hide_summary {
    font-size: 20px;
	color: #9b3434;
    line-height: inherit;
    clear: both;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: normal;
    width: 100%;
	margin: 0 0 0 0 !important;
}

.gform_submission_error.hide_summary p {
    margin: 0 !important;
}

.alert-danger {
    color: #f5dddd;
    background-color: #f5dddd;
    border-color: #f5dddd;
}

.alert {
    position: relative;
    padding: 0px 10px 0px 0px !important;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

/* Changing font color of top error message */
body .gform_wrapper .gform_validation_errors>h2 {
    color: #9b3434;
}

/* Changing font color of error texts in form fields */
body .gform_wrapper .gfield_error .gfield_repeater_cell label, 
body .gform_wrapper .gfield_error label, 
body .gform_wrapper .gfield_error legend, 
body .gform_wrapper .gfield_validation_message, 
body .gform_wrapper .validation_message, 
body .gform_wrapper [aria-invalid=true]+label, .gform_wrapper label+[aria-invalid=true] {
    color: #9b3434;
}

.gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction {
    font-size: 16px !important;
    line-height: inherit;
    clear: both;
    font-family: inherit;
    letter-spacing: normal;
	font-weight: 700;
    width: 100%;
}

/* Changing background and border of error div under field */
body .gform_wrapper .gfield_validation_message, 
body .gform_wrapper .validation_message {
    background: #f5dddd;
    border: 1px solid #cb6565;
}

.gform_wrapper .gfield_validation_message, .gform_wrapper .validation_message {
    background: #f5dddd;
    border: 1px solid #cb6565;
    font-size: 16px;
    margin-top: 8px;
    padding: 10px 10px 10px 10px !important;
}

/* Change border of active field error */
.gform_wrapper .gfield_error [aria-invalid=true] {
    border: 1px solid #cb6565 !important;
}
/* END CONTACT FORM ERROR MESSAGE STYLING */