/*
Theme Name: Advo News
Theme URI: https://www.advogroup.co.uk/
Template: Divi
Author: Advo Group
Author URI: https://www.advogroup.co.uk/
Description: Advo News
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 4.8.1.1611247776
Updated: 2021-01-21 16:49:36

*/

.et_pb_section {
    padding: 54px 0;
	box-shadow: 0 0px 0px 0px rgb(0 0 0 / 77%), 0 0px 0px 0px rgb(0 0 0 / 77%), 10px 0px 12px -16px rgb(0 0 0 / 77%), -10px 0px 12px -16px rgb(0 0 0 / 77%);
}

.et_pb_menu_inner_container
{
   margin-left: -30px;
}

body {
    background-color: #f4f4f4 !important;
	font-weight: 400;
    line-height: 1.5;
    color: #21254b;
    text-align: left;
    background-color: #fff;
}

/*For the Blurb Description in the Blog Page */
/*.et_pb_blurb_0_tb_body.et_pb_blurb .et_pb_module_header, .et_pb_blurb_0_tb_body.et_pb_blurb .h1 {
    font-family: 'Saira Extra Condensed',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 80px !important;
    color: #FFFFFF!important;
}*/

/* For the Header pulling up the overflow */
.et_pb_row_2_tb_header.et_pb_row {
    margin-left: auto!important;
    margin-right: 0px!important;
    margin-bottom: -60px;
	z-index: unset;
}

/*.et_builder_inner_content {
    position: relative;
    z-index: 2;
}*/

.blog-header
{
	color: #fff;
}

.et_pb_text_1_tb_body h1
{
	color: #fff;
}

.et_pb_text_1_tb_body h1
{
	color: #fff;
}

.et_pb_blurb_0_tb_body.et_pb_blurb .et_pb_blurb_description {
    text-align: left;
    z-index: 2;
    position: relative;
	font-size: 0.9375rem;
	font-weight: 600;
}

#main-content
{
	background-color: #F4F4F4;
}

.published:before{
	content:"Posted On ";
}

.blog_grid .column.size-1of5:nth-child(1) .blog_grid-text .post-meta{
	
}

h2, .h2 {
    font-size: 2.375rem;
	margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #21254b;
}

a {
    color: #59bbc3;
    text-decoration: none;
    background-color: transparent;
}

.hide-header {
opacity: 0;
margin-top: -200px !important;
}
 
.show-header {
opacity: 1;
margin-top: 0px !important;
}
 
/*#global-header-advo {
-webkit-transition: all 0.5s ease !important;
-moz-transition: all 0.5s ease !important;
-o-transition: all 0.5s ease !important;
-ms-transition: all 0.5s ease !important;
transition: all 0.5s ease !important;
}*/

#footer-contact a
{
	color: white;
	text-decoration: underline;
}

#footer-contact a:hover
{
	color: white;
	text-decoration: none;
}

#footer-office a
{
	color: #59bbc3;
    text-decoration: none;
    background-color: transparent;
}

#footer-office a:hover {
    color: #379198 !important;
    text-decoration: underline !important;
}

#menu-item-15111 a:hover, #menu-item-15112 a:hover{
	text-decoration: underline !important;
}

/* Read more blog button */

.more-link {
	display: inline-block !important;
    font-weight: bold;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #59BBC3;
    border: 2px solid #59BBC3;;
    padding: 5px 15px;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 18px;
	text-transform: uppercase;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.more-link:hover {
    background-color: #41acb5;
}

/*Mobile Menu */
.et_mobile_menu
{
	border-top: none;
}

/* Pagination buttons */

.pagination .alignleft a,
.pagination .alignright a {
	display: inline-block !important;
    font-weight: bold;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #59BBC3;
    border: 2px solid #59BBC3;;
    padding: 5px 15px;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 18px;
	text-transform: uppercase;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pagination .alignleft a:hover,
.pagination .alignright a:hover {
    background-color: #41acb5;
}

/*Blog*/

/*Equalize Blog Columns*/

.blog_grid article {
	overflow: hidden;
}

.blog_grid .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}

.blog_grid .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*.blog_grid .et_pb_ajax_pagination_container .et_pb_post:nth-child(5) {
    grid-column: span 2;
	background: red;
}*/

.blog_grid .et_pb_salvattore_content[data-columns]::before{
	content: '5 .column.size-1of5' !important;
}

@media only screen and ( min-width: 981px ) {
	
	/*For Active Link */

	.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a{
		border-bottom: 2px solid #dd5a5c;
		content: ' ';
		display: block;
		height: 2px;
	}
	
	.et_pb_section:before, .et_pb_section:after {
	  content: " ";
	  height: 100%;
	  position: absolute;
	  top: 0;
	  width: 15px;
	}
	.et_pb_section:before {
	  box-shadow: 1px 6px 39px -16px rgb(0 0 0 / 77%);
	  left: -15px;
	}
	.et_pb_section:after {
	  box-shadow: 1px 6px 39px -16px rgb(0 0 0 / 77%);
	  right: -15px;
	}
	
	/*.et_pb_section {
    padding-top: 0px;
    box-shadow: 1px 6px 39px -16px rgb(0 0 0 / 77%);
	}*/
	
	/*Box Shadow*/
	.et_pb_section_0.et_pb_section {
    padding-top: 0px;
    /*box-shadow: 1px 6px 39px -16px rgb(0 0 0 / 77%);*/
	}
	
	/*For every other blog Post */
	.blog_grid .column.size-1of5 {
	    width: 30%!important;
	    margin-right: 2%;
		height: 450px;
	}
	
	/*For the first Blog Post */
	.blog_grid .column.size-1of5:nth-child(1)
	{
		width: 50% !important;
		margin-right: 12%;
	}
	
	/*Setting the css of blog post 1 below*/
	
	.blog_grid .column.size-1of5:nth-child(1) .blog_grid-text{
		position: absolute;
		top: 28%;
		left: 54%;
		transform: translate(-75%, -50%);
		width: 422px;
    	height: 359px;
		padding: 30px;
		z-index: 9999;
	}
	
	.blog_grid .column.size-1of5:nth-child(1) .blog_grid-text .post-content-inner, .flubber-title{	    
		font-size: 3.5625rem !important;
		font-weight: 800 !important;
    	max-height: 3.8rem;
		color: #fff !important;
		font-family: 'Saira Extra Condensed', sans-serif;
		font-stretch: extra-condensed;
		letter-spacing: normal;
		/*overflow: hidden;*/
		line-height: 1.5em !important;
		margin-bottom: 0;
		padding-right: 5%;
		margin-top: -26%;
    	margin-bottom: 25%;
	}
	
	.blog_grid .column.size-1of5:nth-child(1) .blog_grid-text .post-meta{
		font-size: 0.9375rem;
    	font-weight: 600;
		color: #fff !important;		
		margin-top: -22%;
	}
	
	.blog_grid .column.size-1of5:nth-child(1) .blog_grid-text .entry-title{
		overflow: hidden;
		color: #fff !important;		
		padding-right: 5%;
		margin-top: 15%;
    	margin-bottom: -5px;
		height: 2.5em;		
		/*font-size: 0.9375rem;
    	font-weight: 600;*/
	}
	
    .blog_grid .column.size-1of5:nth-child(1) .blog_grid-text .more-link{
		background-color: #fff;
	    border-color: #fff;
		color:#59bbc3;	
	}
	
	.blog_grid .column.size-1of5:nth-child(1) .blog_grid-text .more-link:hover{
		color: #212529;
		background-color: #e6e6e6;
		border-color: #dfdfdf;
	}

	.blog_grid .column.size-1of5:nth-child(1) .blog_grid-background{
		position: absolute;
		top: 20%;
		left: 50%;
		transform: translate(-75%, -50%);
		width: 40%;
		padding: 30px;
		z-index: 9999;
		background: url(/wp-content/uploads/2021/02/overlay-shape.png) no-repeat center;
		background-size: contain;
    	opacity: .8;
		width: 422px;
    	height: 359px;
	}
	
	/*Spacing blog post 3 to make the 2 - 3 row setup*/
	.blog_grid .column.size-1of5:nth-child(3)
	{
		clear: both;
	}

		/*remove spacing around entire blog post*/

		.et_pb_blog_grid .et_pb_post {
			padding: 0px;
			margin: 0px;
		}
	
	/* Fixing padding for section links */
	.et_pb_gutters3 .et_pb_column_1_4 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_1_4 .et_pb_module {
    margin-bottom: 10%;
	}

}

/* For Blog Page */

/* For the Text on the Post Flubber */

/* General Size */
#main-heading-post
{
	font-size: 3rem;
	line-height: 1;
	overflow: none;
	top: 66%;
	text-align: center;
	height: 100px;
	overflow: hidden;
}
#publish-date-post
{
	top: 62%;
	width: 25%;
	left: 22%;
}
#sub-heading-post
{
	top: 80%;
	left: 22%;
	width: 20%;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
	#main-heading-post
	{
		left: 10%;
		width: 40% !important;
	}
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1404px) {
 	#main-heading-post
	{
		left: 15%;
		width: 32% !important;
	}
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (min-width: 980px) and (max-width: 1099px) {
 	 #main-heading-post
	{
		left: 18%;
		width: 42% !important;		
	}
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 767px) and (max-width: 979px) {
 	#main-heading-post
	{
		left: 10%;
		width: 50% !important;
		font-size: 2.5rem;		
	}
	#publish-date-post
	{
		top: 60%;
		width: 30%;
		left: 22%;
	}
	#sub-heading-post
	{
		top: 95%;
		left: 22%;
		width: 30%;
	}
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (min-width: 480px) and (max-width: 767px) {
 	#main-heading-post
	{
		left: 15%;
		width: 62% !important;
		font-size: 2rem;
		top: 38%;
		height: 2em;
	}
	#publish-date-post
	{
		top: 30%;
		width: 60%;
		left: 22%;
		font-size: 0.9rem;
	}
	#sub-heading-post
	{
		top: 80%;
		left: 25%;
		width: 45%;
		font-size: 16px;
	}
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
  	#main-heading-post
	{
		left: 15%;
		width: 65% !important;
		font-size: 1.5rem;
		top: 40%;
		height: 2em;
	}
	#publish-date-post
	{
		top: 30%;
		width: 100%;
		left: 22%;
		font-size: 0.9rem;
	}
	#sub-heading-post
	{
		top: 80%;
		left: 25%;
		width: 50%;
		font-size: 16px;
	}
}

/* For Top Buttons */
.et-db #et-boc .et-l .et_pb_button_0_tb_header {
    display: inline-block !important;    
}

.et-db #et-boc .et-l .et_pb_button_1_tb_header {
	display: inline-block !important;    
}

.et-db #et-boc .et-l .et_pb_button_0_tb_footer {
	display: inline-block !important;
}

.et-db #et-boc .et-l .et_pb_button_1_tb_footer
{
	display: inline-block !important;
}

.et-db #et-boc .et-l .et_pb_button_2_tb_footer
{
	display: inline-block !important;
}

/*style the Divi Post Navigation buttons*/

.et_pb_posts_nav .nav-previous a,
.et_pb_posts_nav .nav-next a {
	color: #ffffff;
	background: #59BBC3;
	border: 2px solid #59BBC3;
	padding: .7em 1.3em;
	border-radius: 50px;
	transition: all 0.3s ease-in-out;
	font-size: 0.9375rem;
	font-weight: bold;
}


/*style the Divi Post Navigation buttons on hover*/

.et_pb_posts_nav .nav-previous a:hover,
.et_pb_posts_nav .nav-next a:hover {
	color: #ffffff;
	background: #41ACB5;
	border: 2px solid #41ACB5;
	transition: all 0.3s ease-in-out;
}

/* For Section Links */
.et_pb_bg_layout_light .et_pb_widget li a {    
	color: #59bbc3 !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

.et_pb_bg_layout_light .et_pb_widget li a:hover {    	
    text-decoration: underline !important;    
}

/* Cookie Bar */
/*#cookie-law-info-bar[data-cli-style="cli-style-v2"]*/
.cky-consent-bar
{
	z-index: 1050;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.79) !important;
    padding: 30px 0 25px 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

/*.cli_messagebar_head*/
.cky-title
{
	padding-left: 15px !important;
    padding-right: 15px !important;
    margin-right: 5% !important;
    margin-left: 5% !important;
	
	font-size: 16px !important;		    
    line-height: 1em !important;
    font-weight: 500 !important;
}

.cli-bar-message
{
	width: 80% !important;
    text-align: left !important;
	line-height: 18px !important;
}

/*.cli-style-v2 */
.cky-notice-group
{
    font-size: 11pt;
    line-height: 18px;
    font-weight: normal;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 5%;
    margin-right: 5%;
}

/*li-bar-btn_container a */
.cky-notice-group a
{
    white-space: nowrap;
    border-radius: 15px;    
    font-size: 0.875rem;
    line-height: 1.5;    
}

.cky-btn-accept
{
    border-radius: 15px !important;
    line-height: 10px !important;
	font-size: 13px !important;
}

.cookie_link:hover
{
	color: #379198;
    text-decoration: underline;
}

/* For Mobile Menu */ 
@media (max-width: 980px)
{
    .et_pb_section {
		padding: 0px;
	}
}

.et_mobile_menu li a {
    padding: 10px 0%;
}

.mob_menu_prim {
	/*padding: 0!important;*/
	border: solid 2px #ee7d00;
	transition: 0.3s;
	background: #ee7d00;
	color: #fff!important;
	padding: 0.2rem 0.5rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    border-radius: 15px !important;
	width: fit-content !important;
}

.mob_menu_prim a{
	color: #fff!important;
	padding: 15px 30px 15px 30px!important;
	padding: 0.3094rem 1.1rem;
	border: 2px solid transparent;
}

#top-menu-nav .mob_menu_prim a:hover {
	opacity: 1;
}

.mob_menu_prim:hover {
	border: solid 2px #c86900 !important;
	background: #c86900 !important;
	color: #fff!important;
}

.mob_menu_prim li a:hover {
    background-color: default !important;
    opacity: unset !important;
}

.mob_menu_sec {
	/*padding: 0!important;*/
	border: solid 2px #59BBC3;
	transition: 0.3s;
	background: #59BBC3;
	color: #fff!important;
	padding: 0.2rem 0.5rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    border-radius: 15px !important;
	width: fit-content !important;
}

.mob_menu_sec a{
	color: #fff!important;
	padding: 15px 30px 15px 30px!important;
	padding: 0.3094rem 1.1rem;
	border: 2px solid transparent;
}

#top-menu-nav .mob_menu_sec a:hover {
	opacity: 1;
}

.mob_menu_sec:hover {
	border: solid 2px #41ACB5 !important;
	background: #41ACB5 !important;
	color: #fff!important;
}

.mob_menu_sec li a:hover {
    background-color: default !important;
    opacity: unset !important;
}

.et_pb_menu_1_tb_header.et_pb_menu ul li:hover>a {
    color: #fff !important;
}

.et_pb_menu_1_tb_header.et_pb_menu ul li:a {
    color: #fff !important;
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: default !important;
    opacity: unset !important;
}

.mob-menu-email
{
	color: #59bbc3 !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

.mob-menu-email:hover
{
	color: #59bbc3 !important;
    text-decoration: underline !important;
    background-color: transparent !important;
}

#menu-item-15973 a:first-child
{
	display: none;
}

#menu-item-15974 a:first-child, #menu-item-15931 a:first-child {
	pointer-events: none;
	cursor: default;
}

/*.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    border: 2px solid transparent;
    padding: 10px;
    width: 25%;
}

.et_pb_button, .et_pb_module .et_pb_button {
    border: 2px solid transparent;
    padding: 10px;
    width: 25%;
}*/

/* for postal size */
/*.blog_grid .column:first-child article:nth-child(odd){
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	padding: 30px;
	z-index: 1;
	background-color: red;
}*/
