/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 0.03
Description: Divi Child Theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
*/
/*---Global Elements---*/
/* -- START OF COLUMN WIDTHS AND SETTINGS --*/
	.et_pb_row.col_full {
		width: 100%!important;
		max-width: 100%!important;
		margin-left: auto;
		margin-right: auto;
	}

	.et_pb_row.col_1600 {
	    width: 90%;
	    max-width: 1600px;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.col_1400 {
	    width: 90%;
	    max-width: 1400px;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.col_1200 {
	    width: 90%;
	    max-width: 1200px;
	    margin-left: auto;
	    margin-right: auto;
	}

	
	.et_pb_row.col_960 {
		width: 90%;
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.et_pb_row.col_760 {
		width: 90%;
		max-width: 760px;
		margin-left: auto;
		margin-right: auto;
	}
	
/*-- START OF 2 or MORE COLUMN FULL WIDTH SECTION STYLING --*/
/*--2 col--*/
.two-col-full.col_full .et_pb_column {
	padding:6%;	
}

.two-col-full.col_full .et_pb_text_inner h2{
	margin-bottom:12px;
}

/*--3 plus col--*/
.three-plus-col-full.col_full .et_pb_column {
	padding:3%;	
}

.three-plus-col-full.col_full .et_pb_text_inner h2{
	margin-bottom:12px;
}

/* -- adjustments for tablet --*/
@media screen and (max-width: 980px) {
	/*--2 col--*/
	.two-col-full.col_full .et_pb_column {
		padding:10%;	
	}
	/*--3 plus col--*/
	.three-plus-col-full.col_full .et_pb_column {
		padding:4%;	
	}	
}
	
	/* -- END OF COLUMN WIDTHS AND SETTINGS --*/	
	
/*---Policy table lateral scroll on small devices---*/
.et_pb_text.policy-table  {
    overflow-x: scroll;
}

/*---TEST----*
.et_pb_bg_layout_dark p {
    color: #fff;
}

.et_pb_bg_layout_dark p {
    color: #fff;
}

p.secondary-info {
	font-weight:600;
	font-size:15px;
	line-height:1.4em;
}

a.secondary-info-links {
	color:#ffffff;
	font-weight:600;
	text-decoration:none;
}

a:hover.secondary-info-links {
	color:rgba(255,255,255,0.75);
	font-weight:600;
	text-decoration:none;
}

@media (max-width: 767px) {
.et_pb_portfolio_item h2, .et_pb_post h2, .et_pb_title_container h1 {
    font-size: 32px;
}
}
/*---END TEST---*/


/*-- START OF PADDING IN ROWS WITHIN A SECTION --*/
/*--Removing first row padding top of a section---*/
#main-content .et_pb_section .et_pb_row:first-child {
    padding-top: 0 !important;
}

#main-content .et_pb_section_parallax>.et_pb_row {
    padding-top: 0 !important;
}
/*--Removing last row padding bottom of a section---*/
#main-content .et_pb_section .et_pb_row:last-child {
    padding-bottom: 0 !important;
}
/*-- END OF PADDING IN ROWS WITHIN A SECTION --*/

/*-- START OF PADDING IN EACH SECTION --*/
/*-- for default content sections --*/
.et_pb_section {
    padding-top: 100px!important;
    padding-bottom: 100px!important;
}

/*-- to override the above for home page banner section --*/
.et_pb_section.home-banner-section {
    padding-top: 250px!important;
    padding-bottom: 250px!important;
}

/*-- to override the above for inner page banner section --*/
.et_pb_section.inner-banner-section {
    padding-top: 190px!important;
    padding-bottom: 190px!important;
}

.inner-banner-section h1:only-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

/*-- to override the above for footer section --*/
.et_pb_section.footer-section {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

/*-- to override the above for sections and rows with no spacing --*/
.et_pb_section.no-padding-section, .et_pb_row.no-padding-row {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

/*-- to override the above for section with no padding TOP --*/
.et_pb_section.no-padding-section-top {
    padding-top: 0px!important;
}

/*-- to override the above for section with no padding BOTTOM --*/
.et_pb_section.no-padding-section-bottom {
    padding-bottom: 0px!important;
}

/*-- to override the above for section with no padding BOTTOM --*/
.et_pb_row.no-padding-row-top {
    padding-top: 0px!important;
}

.no-padding-row-top .et_pb_column {
    margin-bottom: 0;
}

.no-padding-row-top .et_pb_column:first-child ul {
    padding-bottom: 10px;
}

.no-padding-row-top .et_pb_column:last-child ul {
    padding-bottom: 0;
}

/*-- to override the above for section with shallow padding --*/
.et_pb_section.shallow-padding-section {
    padding-top: 60px!important;
    padding-bottom: 60px!important;
}

/*-- to override the spacing if a title is used --*/
body #main-content .et_pb_module.title-only {
    margin-bottom: 0;
}

/* -- adjustments for tablet --*/
@media screen and (max-width: 980px) {
	
	/*-- for all content --*/
	.et_pb_section {
	    padding-top: 80px!important;
	    padding-bottom: 80px!important;
	}
	
	/*-- for home page banner --*/
	.et_pb_section.home-banner-section {
		padding-top: 170px!important;
    	padding-bottom: 170px!important;
	}
	
	/*-- for inner page banners --*/
	.et_pb_section.inner-banner-section {
	    padding-top: 130px!important;
	    padding-bottom: 130px!important;
	}
	
	/*-- to override the above for section with shallow padding --*/
	.et_pb_section.shallow-padding-section {
	    padding-top: 40px!important;
	    padding-bottom: 40px!important;
	}
}

	/* -- adjustments for mobile --*/
@media screen and (max-width: 550px) {
	
	/*-- for all content --*/
	.et_pb_section {
	    padding-top: 60px!important;
	    padding-bottom: 60px!important;
	}

	/*-- for home page banner --*/
	.et_pb_section.home-banner-section {
	    padding-top: 100px!important;
	    padding-bottom: 100px!important;
	}
	
	/*-- for inner page banners --*/
	.et_pb_section.inner-banner-section {
	    padding-top: 75px!important;
	    padding-bottom: 75px!important;
	}
	
	/*-- to override the above for section with shallow padding --*/
	.et_pb_section.shallow-padding-section {
	    padding-top: 30px!important;
	    padding-bottom: 30px!important;
	}
}

/*-- END OF PADDING IN EACH SECTION --*/

/*-- START OF MOBILE MENU STYLING --*/
.et_mobile_menu {
	border-top: 4px solid;
}

/*padding all round*/
.et_mobile_menu  {
	padding:0px
}

/* 1st level menu item spacing */
.et_mobile_menu li a {
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 5%;
}

/* 2nd level menu item spacing */
.et_mobile_menu li li {
    padding-left: 0px;
}

/*line style and spacing between each menu item*/
.et_mobile_menu li a {
    border-top: 1px solid;
	padding-left:30px;
}

/*font size*/
.et_mobile_menu li a, .nav li li a {
    font-size: 17px;
}

/*Hamburger icon alignnment*/
.mobile_menu_bar:before{
	justify-content: center;
}
/*-- END OF MOBILE MENU STYLING --*/

/*---START OF TABLEPRESS STYLING---*/
.tablepress tr td, .tablepress tr th {
    border: 1px solid rgba(0,0,0,0.4) !important;
}

.tablepress .even td {
    background-color: transparent!important;
}

.tablepress .odd td {
    background-color: rgba(0,0,0,0.1) !important;
}

.tablepress thead th {
    background-color: rgba(0,0,0,0.25) !important;
}

.entry-content thead th, .entry-content tr th {
    line-height: 1.4em;
}


.entry-content .et_pb_bg_layout_dark thead th, .entry-content .et_pb_bg_layout_dark tr th {
	color: #fff;
}

.et_pb_bg_layout_dark .tablepress tr td, .tablepress tr th {
    border: 1px solid rgba(255,255,255,0.4) !important;
}

.et_pb_bg_layout_dark .tablepress .odd td {
    background-color: rgba(255,255,255,0.1) !important;
}

.et_pb_bg_layout_dark .tablepress thead th {
    background-color: rgba(255,255,255,0.25) !important;
}

.entry-content .et_pb_bg_layout_dark thead th, .entry-content .et_pb_bg_layout_dark tr th {
	color: #fff;
}
/*---END OF TABLEPRESS STYLING---*/

/*-- !!!! EVERYTHING BELOW HERE NOT TO BE ADJUSTED UNLESS ABSOLUTELY NECESSARY !!!!  --*/


/* -- switch alignment of elements that are right aligned to left aligned on tablet and mobile --*/

@media screen and (max-width: 980px) {
	.et_pb_text_align_right.footer-links {
	    text-align: left;
	}
		.et_pb_button_module_wrapper.et_pb_button_alignment_right {
	    text-align: left;
	}
}

/* -- Vertically align content in rows --*/

.ds-vertical-align { 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
}

/*-- HIDE BACKGROUND IMAGE --*/

@media only screen and (max-width: 980px) {
div.et_pb_section.pa-hide-background-image-mobile {
background-image: none!important;
}
}

/*-- Remove default line/shadow below the normal DIVI menu  --*/

#main-header {
    box-shadow: none!important;
}

/*-- Fixing the width of the content in full width header(s) --*/

.et_fullwidth_nav #main-header .container {
    width: 90%;
    max-width: 1400px;
	padding-left:0px;
	padding-right:0px;
}

.et_fullwidth_nav #top-header .container {
    width: 90%;
    max-width: 1400px;
	padding-left:0px;
	padding-right:0px;
}


/* -- adjust padding left of social media icons in footer -- */
.et-l--footer ul {
    padding: 0 0 0em 0px!important;
}

/* -- remove excessive margin below project posts -- */
.single .et_pb_post {
    margin-bottom: 0px!important;
}

/*--style sidebar on tablet/mobil---*/
@media screen and (max-width:980px) {
    .bn-sidebar {
        display: grid;
    }    
}

/*--meta spacing---*/
p.et_pb_title_meta_container * {
    padding-left: 10px;
    padding-right: 10px;
}

p.et_pb_title_meta_container *:first-child {
    padding-left: 0;
}

p.et_pb_title_meta_container *:last-child {
    padding-right: 0;
}

/* -- Remove bottom bar and footer menu -- */

#footer-bottom {
	display:none;
}
#main-footer {
	display: none;
}
 

/*-- alignment of footer menu's --*/

.et_pb_menu .et_pb_menu__wrap {
    justify-content: right;
}

.et_pb_menu--style-centered .et_pb_menu__wrap {
	justify-content: center;
}
	/* table settings */
.table .et_pb_text_inner {
    overflow-x: scroll;
    line-height: 1.3;
}

/*---general stuff---*/
/*--Hover for all links---*/
a:hover {
    text-decoration: underline;
}

/*--No hover for buttons and icons---*/ 
.et_pb_button,a.et_pb_button:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, ul.et-social-icons a:hover {
    text-decoration: none !important;
}

/*---fix for padding of OL & UL when it's the last of type in a module (MORE TO BE ADDED BELOW)--*/
p:last-of-type + ul, p:last-of-type + ol {
    padding-top: 1em;
}

/*---spacing between li elements---*/
.entry-content ul:not(.gform_fields) li:not(:last-child), .entry-content ol li:not(:last-child) {
    margin-bottom: 8px;
}

/*---line height of sub menu items within main menu---*/
ul.sub-menu li a {
    line-height: 1.5em;
}

/*---style for subscript---*/
sup {
	font-size: 75%;
	bottom: 0.5em;
}

/*---Width of Top bar container for desktop---*/
@media screen and (min-width:981px) {
    #top-header .container, .container.et_menu_container {
        width: 90%;
    }    
}

/*---Gravity Forms Styling (non-legacy)---*/
.gform_wrapper input, .gform_wrapper textarea, .gform_body select,
.gform_wrapper input:not([type=submit]) {
	background: #eee;
	border: none;
	border-radius: 0;
	padding: 15px !important; /*--change this--*/
}

.gform_wrapper .top_label input.medium.datepicker {
    width: 100% !important;
}

.gfield_time_ampm.ginput_container.ginput_container_time>select {
    height: 50px;
    background-color: #eee;
    border: none;
    border-radius: 0 !important;
}

.gform_wrapper .gform_footer input.button:hover {
	cursor: pointer;
}

.gform_wrapper .gform_footer {
    margin-top: 0;
}

.gform_fields {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

li.gf-disable input:hover {
    cursor: not-allowed;
}

.gform_wrapper li.gf-disable input {
    background-color: #f9f9f9 !important;
    color: #757575 !important;
}

.gform_body select {
    -webkit-appearance: none;
    border: none;
    padding: 15px !important;
    line-height: normal !important;
    background-image: url('images/selectbox-arrow.png');
    background-repeat: no-repeat;
    background-position: right;
}

.gfield_radio {
    margin: 0 !important;
}

body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox, body .gform_wrapper ul li.field_description_below div.ginput_container_radio {
    margin-top: 8px !important
}

.gform_wrapper.gravity-theme .gfield_label {
    /*margin-bottom: 3px;*/
    margin-bottom:8px;
	font-size: inherit;
    font-weight: 700;
}

span.gfield_required.gfield_required_asterisk {
    color: #790000!important;
    margin-left: 4px!important;
    font-size:19px!important;
}

p.gform_required_legend {
    display:none!important;
}

/* Adjust the required asterisk to prevent alignment shift */
.gfield_label .gfield_required {
    position: absolute;
}

.gform_wrapper.gravity-theme input[type=color],
.gform_wrapper.gravity-theme input[type=date], 
.gform_wrapper.gravity-theme input[type=datetime-local], 
.gform_wrapper.gravity-theme input[type=datetime], 
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=month],
.gform_wrapper.gravity-theme input[type=number], 
.gform_wrapper.gravity-theme input[type=password],
.gform_wrapper.gravity-theme input[type=search], 
.gform_wrapper.gravity-theme input[type=tel], 
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=time],
.gform_wrapper.gravity-theme input[type=url],
.gform_wrapper.gravity-theme input[type=week],
.gform_wrapper.gravity-theme select, 
.gform_wrapper.gravity-theme textarea {
    font-family: inherit;
    font-size: inherit;
    letter-spacing: normal; 
}

label.gfield_consent_label {
    font-size: 16px;
    font-weight: 500;
}

h2.gform_submission_error.hide_summary {
    padding-bottom:0;
}

.gform_wrapper.gravity-theme .gfield_description {
   padding-top:0px;
}

.gform_wrapper.gravity-theme .gform_footer button+input,
.gform_wrapper.gravity-theme .gform_footer input+button, 
.gform_wrapper.gravity-theme .gform_footer input+input, 
.gform_wrapper.gravity-theme .gform_page_footer button+input,
.gform_wrapper.gravity-theme .gform_page_footer input+button,
.gform_wrapper.gravity-theme .gform_page_footer input+input {
	margin-left:0!important;
}

.gsection_description {
	margin-top:0!important;
}

.gform_wrapper.gravity-theme .gfield input[type="checkbox"] {
    max-height: 15px;
    padding: 0 !important;
}

/*----NEW MOBILE HEADER WORK----*/
/*Values may need to change, depending on size of logo; menu etc...*/
@media screen and (min-width:768px) {
    div#et-info.mobile-only {display:none}
}

@media screen and (max-width:767px) {
    div#et-info {display:none}
    div#et-info.mobile-only {
	    display:block;
	    float: left;
	    padding: 0;
	    line-height: 2em;
	    margin-right: 20px;
	    margin-top: 1px;
	}
	
	div#et-info a:hover {
	    text-decoration: none;
	}
    
	div#et-info.mobile-only :before {
	    font-size: 19px;
	    top: -3px;
	    position: relative;
	}
	
	div#et-info.mobile-only #et-info-phone:before {
	    top: -4px;
	    margin-right: 0;
	    font-size: 16px;
	}
}
@media screen and (max-width:330px) {
	div#et-info.mobile-only {
	    margin-right: 0;
	    float: right;
	    display: flex;
	    line-height: 2;
	}
}

/*---FOOTER WORKS---*/
/*--Footer---*/
@media (max-width: 980px) {
    footer .et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
        display: flex;
    }

    footer .et_pb_menu .et_mobile_nav_menu, .et_pb_fullwidth_menu .et_mobile_nav_menu {
        display: none;
    }    
}

div#footer-links {
    background-color: transparent;
}

div#footer-links.et_pb_menu .et-menu {
    margin: auto;
}

div#footer-links.et_pb_menu .et-menu>li:last-child {
    padding-right: 0;
}

div#footer-links.et_pb_menu .et-menu > li:last-child:after {
    content: none;
}

footer .et-menu .menu-item-has-children > a:first-child:after {
    content: none;
}

footer .et-menu .menu-item-has-children > a:first-child {
    padding-right: 0;
}

footer .et_pb_menu .nav li ul {
    display: none;
}

@media screen and (min-width:981px) {
    div#footer-links {
        float: right;
    }    
}

/*---New top header - icons for mobile, email and social icons---*/
@media screen and (max-width:767px) {
    div#et-info, #et-secondary-menu {
        display: block !important;
    }   
    div#et-info {
        float: left;
    }

    div#et-secondary-menu {
        float: left;
    }

    #et-secondary-menu .et-social-icons {
        margin-right: 0;
    }
}

@media screen and (max-width:550px) {
    span.desktop-txt {
        display: none;
    }

    div#et-info,div#et-secondary-menu {
        float: none;
        display: inline-block !important;
    }

    div#top-header .container {
        text-align: center;
    }

    div#et-info:after {
        content: '|';
        margin-left: 10px;
    }    
}

/*---module fixing---*/
.et_pb_blurb_content {
    max-width: 100%;
}

/*Gallery Images same size--*/
.et_pb_gallery_image {
    padding-top: 100%;
    display: block;
}

.et_pb_gallery_image img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

/*---Removal of sidebar divider---*/
#main-content .container:before {
    content: none;
}

/*---IE Fixes---*/
body.ie .et-pb-before-scroll-animation, body.ie body .et-script-temporary-measurement {
	opacity: 1;
}

body.ie .ds-vertical-align {
	flex-direction: row;
	display: block;
}

/*---Hide sidebar for 404 page--*/
body.error404 div#sidebar {
    display: none;
}

/*---Buttons---*/
.et_pb_button.CTA-link, .et_pb_button.CTA-link:hover {
    background-color: #196d9e !important;
    border-color: #196d9e !important;
}

.et_pb_button:hover {
    opacity: 0.9;
}

.et_pb_button.inline, .et_pb_button.inline-btn {
    display: inline-block;
}

/*---Remaining bits---*/
p.small-notice {
    font-size: 16px;
}

p.small {
	font-weight:600;
	font-size:14px;
	line-height: 1.5em;
}

p.footer {
	font-weight:400;
	font-size:14px;
	line-height:1.5em;
	color:rgba(256,256,256,0.6);
}

p.signature {
	color:rgba(256,256,256,0.6);
	font-weight:500;
	font-size:12px;
	line-height:1.8em;
}

a.signature {
	color:rgba(256,256,256,0.6)!important;
	font-weight:500;
}

a.signature:hover {
	color:rgba(256,256,256,0.6)!important;
	font-weight:500;
	text-decoration:none;
}

/*---New bits---*/
hr.left-hr {
    width: 24%;
    margin-left: 0;
}

hr.centre-hr {
    width: 24%;
}

@media screen and (max-width:550px) {
     hr.left-hr, hr.centre-hr {
        width: 34%;
    }
}

/*--Dropdown menu styling---*/
.nav li ul {
	padding: 0!important;
}

#top-menu ul {
	padding: 0;
}

#top-menu li li {
	padding: 0!important;
	width:100%;
}

#top-menu li li:not(:last-child) {
	border-bottom: 1px solid;
}

#top-menu li li a {
  font-size:14px;
  padding: 14px 0px;
	width:86%;
	margin-left:auto!important;
	margin-right:auto!important;
}

#top-menu li li a:hover {
	background-color:rgba(0,0,0,0)!important;
}

/*---Fixing container of non-Divi pages to 90%---*/
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    width: 90%;
}

/*--Removal of sidebar for pages---*/
body.page div#sidebar {
    display: none;
}

/*---Fixing colour discrepency---*/
#sidebar .et_pb_widget a, #sidebar .et_pb_widget a:hover {
    color: inherit !important;
}

/*--Fixes for category pages---*/
body.blog #left-area .post-meta, body.category #left-area .post-meta {
    padding-bottom: 0;
}

body.blog #left-area .et_pb_post .entry-featured-image-url, body.category #left-area .et_pb_post .entry-featured-image-url {
    margin-bottom: 10px;
}

/*---New Team Bios Grid---*/
.et_pb_row.team-grid .et_pb_column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

.et_pb_row.team-grid .et_pb_column .et_pb_team_member {
    display: block;
    margin-bottom: 0;
}

.et_pb_row.team-grid .et_pb_team_member_image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    text-align: center !important;
}

@media screen and (max-width:980px) {
 .et_pb_row.team-grid .et_pb_column {
    grid-template-columns: repeat(2, minmax(0, 1fr));  
    grid-column-gap: 40px;
    grid-row-gap: 40px;
 }   
}

@media screen and (max-width:550px) {
 .et_pb_row.team-grid .et_pb_column {
    grid-template-columns: repeat(1, minmax(0, 1fr));

 }   
}

/*--Hover in top bar fix---*/
span#et-info-phone:hover {
    opacity: 0.7;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;    
}

/*--Column Swap---*/
@media all and (max-width: 980px) {
	/*** wrap row in a flex box ***/
	.custom_row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}
	 
	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
	-webkit-order: 1;
	order: 1;
	}
	 
	.second-on-mobile {
	-webkit-order: 2;
	order: 2;
	}
	
	 
	.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}
	 
	.fourth-on-mobile {
	-webkit-order: 4;
	order: 4;
	}
}

/*--GDPR cookies banner styles---*/
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}