/*
Theme Name:     Divi Child Theme
Theme URI:      http://dt1-com.stackstaging.com
Description:    Divi Child Theme created by DiviUltimate Plugin
Author:         ed
Author URI:     http://dt1-com.stackstaging.com
Template:       Divi
Version:        1.0.0
Text Domain:    divi-child
*/
@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-Regular.woff2') format('woff2'),
        url('fonts/Graphie-Regular.woff') format('woff'),
        url('fonts/Graphie-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-Bold.woff2') format('woff2'),
        url('fonts/Graphie-Bold.woff') format('woff'),
        url('fonts/Graphie-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-Light.woff2') format('woff2'),
        url('fonts/Graphie-Light.woff') format('woff'),
        url('fonts/Graphie-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-ExtraBold.woff2') format('woff2'),
        url('fonts/Graphie-ExtraBold.woff') format('woff'),
        url('fonts/Graphie-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie Book';
    src: url('fonts/Graphie-Book.woff2') format('woff2'),
        url('fonts/Graphie-Book.woff') format('woff'),
        url('fonts/Graphie-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-Thin.woff2') format('woff2'),
        url('fonts/Graphie-Thin.woff') format('woff'),
        url('fonts/Graphie-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-ExtraLight.woff2') format('woff2'),
        url('fonts/Graphie-ExtraLight.woff') format('woff'),
        url('fonts/Graphie-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Graphie';
    src: url('fonts/Graphie-SemiBold.woff2') format('woff2'),
        url('fonts/Graphie-SemiBold.woff') format('woff'),
        url('fonts/Graphie-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/wp-content/uploads/fonts/Quicksand-Medium.woff2') format('woff2'),
        url('/wp-content/uploads/fonts/Quicksand-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/wp-content/uploads/fonts/Quicksand-Bold.woff2') format('woff2'),
        url('/wp-content/uploads/fonts/Quicksand-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/wp-content/uploads/fonts/Quicksand-Regular.woff2') format('woff2'),
        url('/wp-content/uploads/fonts/Quicksand-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/wp-content/uploads/fonts/Quicksand-Light.woff2') format('woff2'),
        url('/wp-content/uploads/fonts/Quicksand-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}



.single .entry-content a {
  color: #CB9B51!important;
}


/* Rotating Hue animation */
.hue_rotate {
	transition: all 0.4s ease;
	animation: rotatehue 10s infinite;
}

.hue_rotate_top_divider .et_pb_top_inside_divider {
	transition: all 0.4s ease;
	animation: rotatehue 10s infinite;
}
.hue_rotate_bottom_divider .et_pb_bottom_inside_divider {
	transition: all 0.4s ease;
	animation: rotatehue 10s infinite;
}

@-webkit-keyframes rotatehue {
  0% {
    -webkit-filter: hue-rotate(0deg);
  }

  50% {
    -webkit-filter: hue-rotate(180deg);
  }

  100% {
    -webkit-filter: hue-rotate(360deg);
  }
}

@keyframes rotatehue {
  0% {
    -webkit-filter: hue-rotate(0deg);
  }

  50% {
    -webkit-filter: hue-rotate(180deg);
  }

  100% {
    -webkit-filter: hue-rotate(360deg);
  }
}

/* Slow down button animations for shadows etc. */
.et_pb_button {
	transition: all 0.4s ease;
}

/* ACCORDION STYLE 2 */
.dh_accordion_style2 .et_pb_toggle {
  transition: 0.5s all;
	margin-bottom: 10px!important;
}

/* remove box-shadow on closing the accordion items */
.dh_accordion_style2 .et_pb_toggle_close {
	box-shadow: none!important;
}

/* ACCORDION ICON STYLE 2 */

.dh_accordion_icon_style2 h5.et_pb_toggle_title:before {
  transition: 0.5s all;
	content: 'L';
	font-size: 30px;
	opacity: 0.5;
}

.dh_accordion_icon_style2 .et_pb_toggle:not(.et_pb_toggle_open):hover h5:before {
  color: inherit;
	animation: dh_icon_zoom_in_out 0.5s ease-in;
	opacity: 1;
}

.dh_accordion_icon_style2 .et_pb_toggle_open h5:before {
  display: block !important;
  margin-top: -16px;
  color: inherit;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	opacity: 1;
}

@keyframes dh_icon_zoom_in_out {
	0%   {transform: scale(1);}
  50%  {transform: scale(1.5);}
  100% {transform: scale(1);}
}

/*  Hide the footer */
#main-footer {
	display: none!important;
}

/* Unordered lists */
ul.es_ul {
	list-style: none;
}

.es_ul li:before {
    content: "\5a";
    display: inline-block;
    font-family: ETModules;
    color: #cb9b51;
    margin-left: -14px;
    font-size: 20px;
    vertical-align: middle;
    padding-right: 5px;
}

.es_ul strong {
	  color: #cb9b51;

}

.es_ul a {
	  color: #cb9b51;
  text-decoration:underline;
}

#top-menu li:not(.menu-item-has-children)>a:after {
	content: "";
  display: block;
	position: absolute;
	bottom: 0;
	background: white;
  height: 0px;
  width: 100%;
	transition: all 0.4s ease;
	left: 0px;
  z-index: -1;
}

#main-header.et-fixed-header #top-menu li:not(.menu-item-has-children)>a:after {
    margin-top: 6px;
}

#top-menu>li>a:hover:after, #top-menu>li:not(.menu-item-has-children).current_page_item>a:after {
	height: 10px;
}

#top-menu>li>ul>li>a:hover:after, #top-menu>li>ul>li.current_page_item>a:after {
	height: 5px;
}

#top-menu-nav>ul>li>a:hover {
	opacity: 1!important;
}

.goldtext h1, .goldtext h2, .goldtext h3, .goldtext h4 {
	background: linear-gradient(to right, rgba(70,37,35,1) 0%,rgba(203,155,81,1) 23.52%,rgba(246,226,122,1)  45.56%, rgba(246,242,192,1) 50%, rgba(246,226,122,1) 54.07%, rgba(203,155,81,1) 76.48%, rgba(70,37,35,1) 100% );
	background: -webkit-linear-gradient(to right, rgba(70,37,35,1) 0%,rgba(203,155,81,1) 23.52%,rgba(246,226,122,1)  45.56%, rgba(246,242,192,1) 50%, rgba(246,226,122,1) 54.07%, rgba(203,155,81,1) 76.48%, rgba(70,37,35,1) 100% );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.et_pb_social_media_follow.goldsocial li a.icon {
	/* background: linear-gradient(to right, rgba(70,37,35,1) 0%,rgba(203,155,81,1) 23.52%,rgba(246,226,122,1)  45.56%, rgba(246,242,192,1) 50%, rgba(246,226,122,1) 54.07%, rgba(203,155,81,1) 76.48%, rgba(70,37,35,1) 100% );
	background: -webkit-linear-gradient(to right, rgba(70,37,35,1) 0%,rgba(203,155,81,1) 23.52%,rgba(246,226,122,1)  45.56%, rgba(246,242,192,1) 50%, rgba(246,226,122,1) 54.07%, rgba(203,155,81,1) 76.48%, rgba(70,37,35,1) 100% ); */
  background-color: #2e3740!important;
  transition: all 0.6s ease;
}
.et_pb_social_media_follow.goldsocial li a.icon:hover {
  background-color: #cb9b51!important;
}

.et_pb_social_media_follow.goldsocial li a.icon:before {
	color: white;
}

body, h1, h2, h3, h4, h5, h6 {
	font-family: Graphie, Arial, sans-serif!important;
	font-weight: 300!important;
}

/*  SLick slide adjustments */

.slick-slide {
	margin-bottom: -1px;
}

.du_slick_slider:after {
	content: "";
	display: block;
	background: linear-gradient(to right, rgba(70,37,35,1) 0%,rgba(203,155,81,1) 23.52%,rgba(246,226,122,1)  45.56%, rgba(246,242,192,1) 50%, rgba(246,226,122,1) 54.07%, rgba(203,155,81,1) 76.48%, rgba(70,37,35,1) 100% );
	width: 100%;
	height: 2px;
}

.slick-slide img {
	border-radius: 25% 5px;
}
.slick-prev:before, .slick-next:before {
    color: #cb9b51;
}


/*  Ultimate Parallax testing */
.parallax__container {
	clip: rect(0, auto, auto, 0);
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -100;
}

.parallax {
	position: fixed;
	top: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	width: 100%;

	/* BG behaviour */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}


/*  Scroll to top icon */
.et_pb_scroll_top.et-pb-icon {
	/* background: linear-gradient(to right, rgba(70,37,35,1) 0%,rgba(203,155,81,1) 23.52%,rgba(246,226,122,1)  45.56%, rgba(246,242,192,1) 50%, rgba(246,226,122,1) 54.07%, rgba(203,155,81,1) 76.48%, rgba(70,37,35,1) 100% )!important; */
	/* color: #212121!important; */
color: white!important;
background: #2e3740!important;
border: 1px #cb9b51 solid;
}


@media (max-width: 568px) {
  .home .et_pb_fullwidth_header {
    max-width: 90%!important;
    padding: 0!important;
  }

.et_pb_section_parallax.et_pb_fullwidth_section {
  /* padding-top: 200px; */
    /* padding-bottom: 200px; */
}

.home #eq_home_cta_section .et_pb_fullwidth_header, .home #eq_home_cta_section .et_pb_fullwidth_header_container {
  max-width: 100%!important;
  width: 100%!important;
  padding: 0!important;
}

}

#main-header #top-menu .menu-cta a {
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background: #cb9b51;
    color: white!important;
}

li.menu-cta:hover>a {
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.4);
}


/* top header restyle as left hand app menu (relies on some Divi Ultimate menu options) */
@media (max-width: 980px) {

	#page-container {
		padding-top:60px!important;
	}
	#main-header {
		height: 60px!important;
	}

	.et_header_style_left .et_menu_container {
		width:100%;
	}

  	.et_header_style_left .logo_container {
		width: 100%;
		text-align: center;
	}

	.et_header_style_left .logo_container #logo {
		height: 50px;
		max-width: 100%;
		max-height: 100%;
	}


	div#et-top-navigation {
		margin-top: -10px;
		margin-left: 20px;
		float: left;
		padding-left: 0!important;
	}

	.et_header_style_left .mobile_menu_bar.du_hamburger {
	  margin-bottom: 16px!important;
	}

	body.du_custom_hamburger .du_hamburger.hamburger_style4 {
		border: none!important;
	}
}


/* HYPERSLIDER TESTING */

#homepage_services .hyperslider-slide {
  background-color: white;
}

#homepage_services .hyperslider-pagination-bullet {
    background: black;
    border: 2px white solid;
    padding: 4px 15px;
}
#homepage_services .hyperslider-pagination-bullet-active {
  background: white;

}


 .hyperslider-container.coverflow {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }
 .hyperslider-container.coverflow .hyperslider-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
  }

 .hyperslider-container[data-slidertype='coverflow'] {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }
 .hyperslider-container[data-slidertype='coverflow'] .hyperslider-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    height: auto;
    min-width: 300px;
  }



 .hyperslider-container.threedflip{
    width: 600px;
    height: 600px;
    padding: 50px;
  }

 .hyperslider-container.threedflip.hyperslider-slide {
    background-position: center;
    background-size: cover;
    width: 600px;
    height: 600px;
  }


      .hyperslider-container.threedcube {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
/*      margin-top: -150px;*/
  }
 .hyperslider-container.threedcube .hyperslider-slide {
    background-position: center;
    background-size: cover;
  }

.hyperslider-slide .slide-title {
    font-size: 30px;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    color: black;
}

.hyperslider-slide {
  margin-bottom:0!important;
  padding: 20px;
}

.hyperslider-slide .et_pb_button_wrapper {
  text-align: center;
  margin: -10px 0 10px 0;
}

.hyperslider-slide .slide-subtitle {
    max-width: 300px;
    text-align: center;
    padding-bottom: 50px;
    /* background: none; */
    /* -webkit-text-fill-color: white; */
    color: #212121;
}

@media(max-width: 767px) {
     .home .et_pb_fullwidth_header p {
         line-height: 1.2em;
         padding-bottom: 10px;
         font-size: 16px;
     }

     .dh_hyperslider {
        margin-left: -10%;
         margin-right: -10%;
    }

     .hyperslider-slide .slide-title {
         font-size: 24px;
     }
     .hyperslider-slide .slide-subtitle {
         font-size: 18px;
         max-width: 250px;
         padding-left: 20px;
         padding-right: 20px;
     }

     .hyperslider-button-next {
        margin-right: -10px;
     }
     .hyperslider-button-prev {
       margin-left: -10px;
     }
     .dh_hyperslider .hyperslider-pagination-bullet {
         width: 40px!important;
         height: 20px!important;
     }

}

.et_fixed_nav #main-header {
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.4)!important;
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.4)!important;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.4)!important;
}

/* DESKTOP MENU RESTYLE */
@media (min-width: 981px) {
    .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
        padding: 0!important;
    }

    #logo {
        max-height: 100%!important;
        padding-left: 0px!important;
        margin-top: 0px;
    }

    #page-container {
      padding-top: 94px!important;
    }
}

ul#menu-homepage-secondary-menu {
    padding-top:10px!important;
}

ul#menu-homepage-secondary-menu .menu-item>a:before {
    font-family: ETModules;
    padding-right: 5px;
    position: relative;
    top: 2px;
}

ul#menu-homepage-secondary-menu .menu-item.menu-tel>a:before {
    content: "\e090";

}
ul#menu-homepage-secondary-menu .menu-item.menu-email>a:before {
    content: "\e076";

}

/* @media (max-width: 980px) {
#homepage-secondary-nav.et_pb_fullwidth_menu .fullwidth-menu-nav {
    display: block!important;
}
#homepage-secondary-nav.et_pb_fullwidth_menu .et_mobile_nav_menu {
    display: none!important;
}



} */


/* PARTICLES STYLING */
div#particles-js {
    position: relative;
    left: 0;
    top: 0;
    z-index: 1;
}

canvas.particles-js-canvas-el {
    left: 0;
    position: absolute;
    top: 0;
    z-index: -1;
}

body:not(.et-fb) div#particles-js .et_pb_row {
  z-index: -2;
}

body.blog div#particles-js .et_pb_row, body.search div#particles-js .et_pb_row,body.archive div#particles-js .et_pb_row {
  z-index: 0;
}


/* Page Header styling */

#particles-js.standard-page-header, #particles-js.blog-page-header {
  background: #2e3740!important;
}

@media (min-width: 981px) {
    .standard-page-header .et_pb_module.et_pb_text h1, .blog-page-header .et_pb_module.et_pb_text h1 {
      float: left;
      width: 28%;
      text-align: left;
      color: #212121!important;
      background: linear-gradient(270deg, #212121, #CB9B51 70%);
      border-radius: 0 10px 10px 0;
      padding: 20px 20px 20px 2%;
    }
    .standard-page-header p, .blog-page-header p {
      float:right;
      width:68%;
      text-align: left;
      padding: 30px 20px 20px 20px;
      /* margin-left: 20px;
      margin-right: -20px; */
    }

    .standard-page-header .et_pb_row, .blog-page-header .et_pb_row {
      width: 100%;
      max-width: 100%;
    }
}

#services_grid .et_pb_module.et_pb_blurb {
 background: transparent;
}
#services_grid .et_pb_module.et_pb_blurb:hover {
  background: white;
}

p.blurb_button {
    background: transparent;
    border-radius: 2px;
    padding: 10px 0!important;
    vertical-align: middle;
    margin-top: 10px;
    margin-bottom: -30px;
    transition: all 1s ease;
}
p.blurb_button a {
    color: white;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    transition: all 1s ease;
    text-transform: uppercase;
}

p.blurb_button:before {
    content: "";
    background: #2e3740;
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 50px;
    transition: all 0.6s ease;
    z-index: -1;
}

#services_grid .et_pb_module.et_pb_blurb:hover p.blurb_button:before {
    left: 0%;
    right: 0%;
}

#services_grid .et_pb_module.et_pb_blurb .et-pb-icon {
   color: #2e3740;
   transition: all 0.6s ease;
}
#services_grid .et_pb_module.et_pb_blurb:hover .et-pb-icon {
  color: #cb9b51;
}


#services_grid .et_pb_module.et_pb_blurb {
  /* filter: grayscale(100%); */
}
#services_grid .et_pb_module.et_pb_blurb:hover {
  /* filter: grayscale(0%); */
}
#services_grid .et_pb_module.et_pb_blurb:hover p.blurb_button {
  /* background: #212121; */
}
#services_grid_mobile  p.blurb_button {
  background: #212121;
}

#et-top-navigation ul.sub-menu::before {
    top: -8px!important;
    left: 0;
}

@media(max-width: 768px) {

    #homepage_design_process .et_pb_module.et_pb_blurb {
        /* box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3); */
        margin-left: 0!important;
    }
    #homepage_design_process .et_pb_module.et_pb_image .et_pb_image_wrap {
      box-shadow: none;
    }
    #homepage_design_process .et_pb_module.et_pb_image {
      float: left;
      margin-left: -14px!important;
      margin-top: -14px!important;
      padding-right: 12px;
      padding-left: 10px;
      margin-right: 10px;
    }

    #homepage_design_process .et_pb_module.et_pb_blurb .et_pb_module_header {
        margin-top: -7px;
    }



}



/*********************************************************************/
/* Style Gravity Forms like Divi Form                                */
/*********************************************************************/

/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
 display: none;
}
/*** FIELD STYLING ***/
input[type=text],
textarea {
 background: #eee;
 border: none;
 border-radius: 0;
 color: #999 !important;
 padding: 15px !important;
}


/*** BUTTON STYLING ***/
/*HERE*/

.gform_wrapper .gform_footer input.button {
float: right;
	background: #fff;
	border: 2px solid #FF006E;
    font-size: 24px!important;
    color: #FF006E;
    padding: 20px 40px;
    letter-spacing: 2px;
    cursor: pointer;
	-moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover {
 background: #FF006E;
 color: #fff;
}

/************************************************/
/* ENQORE TOOLTIPS */
/************************************************/
/* Tooltip container */

.eqtooltip {
    position: relative!important;
    color: #00395E;
	width: 0;
	float: right;
  transition: all 0.3s ease;
}

.eqtooltip:hover:before  {
  color: white;
  background-color: #2E3740;
}


/* Tooltip text */
.eqtooltip .eqtooltiptext {
  visibility: hidden;
    width: 200px;
    background-color: #2E3740;
    color: #fff;
    border: 3px white solid;
    padding: 5px;
    border-radius: 6px;
    font-size: 14px;
    position: absolute;
    z-index: 99999;
    bottom: 131%;
    left: 50%;
    margin-left: -92px;
    opacity: 0;
    transition: all 0.3s;
    text-align: center;
    margin-left: -165px!important;
}

.eqtooltip:hover .eqtooltiptext {
  bottom: 111%;
}
/* Tooltip arrow */
.eqtooltip .eqtooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 8px;
    border-style: solid;
    border-color: #2E3740 transparent transparent transparent;
    left: 88%!important;
    margin-left: -6px!important;
}

/* Info icon for tooltip */
.eqtooltip:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f129";
    color: #2E3740;
    font-weight: 900;
    transition: all 0.3s ease;
    background-color: white;
    /* border-radius: 50px; */
    border: 2px solid black;
    padding: 2px 6px;
    font-size: 12px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.eqtooltip:hover .eqtooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Move tooltip on mobile so it displays on the screen */
/* @media(max-width:767px) {
.eqtooltip .eqtooltiptext {
    margin-left: -165px!important;
}
.eqtooltip .eqtooltiptext::after {
    left: 88%!important;
    margin-left: -6px!important;
}

} */

/* Hide the tooltip text when you hover over it or click it on mobile */
 .eqtooltiptext:hover {
    visibility: hidden;
    opacity: 0;
}

/* Add checkmark before package list items */
.eqchecktoggle .eqtooltip:before {
 content: "\4e";
}

/* Homepage Extra Benefits section text styling */
#homepage_extra_benefits .top_section h2 {
    font-size: 32px;
    color: #fff;
    background: #2E3740;
    text-align: center;
    padding-top: 5px;
}

#homepage_extra_benefits .top_section h3 {
	font-size: 34px!important;
    color: #fff;
    background: #212121;
    padding-top: 10px;
    text-align: center;
}

#homepage_extra_benefits .top_section p {
    color: #2E3740;
    font-weight: 400;
    font-size: 16px;
    padding: 20px 0;
    text-align: center;
}

#homepage_extra_benefits .eq_text {
    padding: 0 10px 10px 10px;
    background: white;
}

#homepage_extra_benefits .top_section {
    box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.3);
}

@media(min-width: 769px) {
    #homepage_extra_benefits .eq_text {
        min-height: 250px;
    }
}


#homepage_extra_benefits em {
	font-weight: bold;
}
#homepage_extra_benefits a {
	color: black;
  text-decoration: underline;
}
/* #homepage_extra_benefits a:hover {
	text-decoration: underline;
} */

/* Prevents tooltips fading behind other content */
#homepage_extra_benefits .et_pb_row.et_pb_equal_columns .et_pb_column.et_pb_column_1 {
  z-index: 2;
}
#homepage_extra_benefits .et_pb_row.et_pb_equal_columns .et_pb_column.et_pb_column_2 {
  z-index: 1;
}
#homepage_extra_benefits .et_pb_row.et_pb_equal_columns .et_pb_column.et_pb_column_3 {
  z-index: 0;
}

/* #homepage_extra_benefits .et_pb_module.et_pb_text {
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.4);
} */

#homepage_extra_benefits .et_pb_row.et_pb_equal_columns .et_pb_column {
  display: flex;
  align-items: stretch;
  background: #f6f6f6;
}


/* Custome checklists */
.eq_checklist_container {
    font-weight: 300;
    padding: 0 10px 0 15px;
}

.eq_checklist {
	   list-style: none!important;
     margin: 25px 25px 25px -9px;
	   font-size: 18px;
}

.eq_checklist_item {
  color: #212121;

}

.eq_checklist_item:before {
font-family: 'Font Awesome 5 Free';
content: '\f00c';
margin:0 5px 0 -15px;
color: #cb9b51;
font-weight: 900;
}

/* MOBILE ACTIONS BAR STYLING - DIVI Section added in functions.php using shortcode */
@media(min-width:769px) {
  #mobile_actions_bar {
    display: none;
  }
}

@media(max-width:768px) {
  #mobile_actions_bar {
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 10;
    /* width: calc(100% - 48px); */
    width: 100%;
    height: 60px;
  }
}

#mobile_actions_bar {
  background-color: #2e3740;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.4);
}

#mobile_actions_phone:before {
  font-family: 'Font Awesome 5 Free';
  content: '\f095';
  font-size: 26px;
  color: white;
  font-weight: 900;
  display: inline-block;
}
#mobile_actions_email:before {
  font-family: 'Font Awesome 5 Free';
  content: '\f0e0';
  font-size: 28px;
  color: white;
  font-weight: 900;
  display: inline-block;
}
/* #mobile_actions_quote:before {
  font-family: 'Font Awesome 5 Free';
  content: '\f651';
  font-size: 32px;
  color:white;
  font-weight: 900;
  display: inline-block;
} */

#mobile_actions_phone .content, #mobile_actions_email .content {
  display: none;
}

#mobile_actions_phone, #mobile_actions_email, #mobile_actions_quote {
    width: 100%;
    margin: auto;
    text-align: center;
}

#mobile_actions_bar .et_pb_column {
    display: flex;
    margin: 0;
    padding: 15px;
}
#mobile_actions_bar #mobile_actions_email_col.et_pb_column {
  width:25%!important;
}

#mobile_actions_bar #mobile_actions_quote_col.et_pb_column {
  width:50%!important;
  padding:0!important;
}
@media(max-width:767px) {
  #front-chat-container [role='button'] {
    bottom: 5px!important;
    right:19px!important;
  }
  #front-chat-container [role='button'] div[class^="fc-"] {
    width:50px;
    height:50px;
  }
}
#mobile_actions_bar .et_pb_column.et_pb_column_1_4 {
  width: 20%!important;
}
#mobile_actions_bar .et_pb_column.et_pb_column_1_2 {
  width: 46%!important;
  padding: 0 10px;
}

#mobile_actions_quote .et_pb_text_inner {
  font-size: 20px;
  color:black;
}
#mobile_actions_quote {
    background-color: white;
    margin: 0;
    padding-top: 17px;
    padding-bottom: 20px;
}


/* BLOG CODE DISPLAY STYLING */
code, pre {
    margin-bottom: 10px;
    font-family: Courier New,monospace;
    font-size: 16px;
}
pre {
    overflow-x: scroll;
}
pre {
    border-top: 30px solid #CB9B51;
    background: #212121;
    color: #fff;
    padding: 20px 10px;
    margin: 0 10px;
    border-radius: 6px;
    -moz-box-shadow: inset 0 0 6px #000000;
    -webkit-box-shadow: inset 0 0 6px #000000;
    box-shadow: inset 0 0 6px #000000;
    margin-bottom: 24px;
}

pre:before {
    position: absolute;
    content: "</> CODE";
    margin-top: -46px;
    margin-left: 0px;
    color: #fff;
    font-weight: 500;
    font-family: Graphie;
}

/*Smaller version for use where there's not as much space */
.page-id-30665 a.cta-button-small {
    display: block;
    margin-bottom: 10px;
    margin-top: -10px;
  }
a.cta-button-small {
  line-height: 45px;
  font-size: 20px;
  background-color: #fff;    /*Button Background Colour*/
  color: #CB9B51;            /*Button Foreground Colour*/
  border: 2px solid #CB9B51; /*Button Border Colour*/
  padding: 5px 10px;
  -moz-transition: all 0.7s;
  -webkit-transition: all 0.7s;
  transition: all 0.7s;
}

a.cta-button-small:hover {
  color: #fff;               /*Button Foreground Colour on Hover*/
  background-color: #CB9B51; /*Button Background Colour on Hover*/
  border: 2px solid #CB9B51; /*Button Border Colour on Hover*/
  cursor:pointer;
}

/*  Menu Contact details area */
div#eq_contact_area {
  display: inline-block;
  padding: 0 20px;
  margin-left: 20px;
  border-left: 1px solid #cb9b51;
  border-right: 1px solid #cb9b51;
  background: black;
  height: 100%;
  position: relative;
  top: 0px;
}

div#eq_contact_area a {
    display: flex;
    list-style: none;
    font-size: 16px;
    color: white;
    line-height: 47px;
    padding-top: 26px;
        height: 100%;
}

.desktop-menu-phone,.desktop-menu-email {
  display: none!important;
}

@media(max-width: 980px) {
  div#eq_contact_area {
    display: none;
  }
}

/* div#eq_contact_area a:nth-child(1):before, div#eq_contact_area a:nth-child(2):before {
  font-family: 'Font Awesome 5 Free';
  font-size: 20px;
  color: white;
  font-weight: 900;
  display: inline-block;
}

div#eq_contact_area a:nth-child(1):before {
    content: '\f095';
    transform: rotate(140deg);
    margin-right: 2px;
    margin-left: 1px;
} */
div#eq_contact_area a:nth-child(1):before {
  font-family: 'Font Awesome 5 Free';
    content: '\f0e0';
    padding-right: 5px;
}


/* ALTERNATIVE COLORING */

/* div#eq_contact_area {
    border-left: 1px solid white;
    border-right: 1px solid white;
    background: black;
}

div#eq_contact_area a:nth-child(1):before {
    color: white;
}
div#eq_contact_area a:nth-child(2):before {
    color: white;
}

#main-header #top-menu .menu-cta a {
    background: white!important;
    color: #212121!important;
}
#main-header #top-menu .menu-cta a:hover {
    background: black!important;
    color: white!important;
}

#top-menu li:not(.menu-item-has-children)>a:after {
    background: white!important;
}

#main-header #top-menu>li>a {
    padding-top: 40px;
    color: white!important;
}

#main-content .et_pb_fullwidth_header_overlay {
  background: white;
} */



@media only screen and (min-width: 981px) {
    #main-header #et-top-navigation nav#top-menu-nav>ul#top-menu>li>a {
        padding-bottom: 40px;
        min-width: 100px;
        text-align: center;
    }
    #main-header #et-top-navigation nav#top-menu-nav>ul#top-menu>li:not(.menu-item-has-children)>a:after {
        background: white;
    }

    #main-header #et-top-navigation nav#top-menu-nav>ul#top-menu>li:not(.current-menu-item):not(.menu-item-has-children)>a:hover:after {
      height: 10px;
      color: white!important;
    }

    #main-header #et-top-navigation #top-menu-nav #top-menu>li.current-menu-item:not(.menu-item-has-children)>a {
      color: white!important;
    }


    #main-header #et-top-navigation nav#top-menu-nav>ul#top-menu>li:not(.current-menu-item):not(.menu-item-has-children)>a:hover, #main-header #et-top-navigation nav#top-menu-nav>ul#top-menu>li.current-menu-item:not(.menu-item-has-children)>a:hover {
        color: white!important;
    }
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
  opacity: 1!important;
}

@media(max-width:768px) {
.et_pb_row {
  width: 90%;
}
}

/* Sorty Acordion Title and icon */
#homepage_services .et_pb_toggle_open h5.et_pb_toggle_title, #homepage_services .et_pb_toggle_open h5.et_pb_toggle_title:before {
  color: #000!important;
}

#homepage_services .et_pb_accordion .et_pb_accordion_item {
  border-color: white;
}


/* Sticky footer reveal */
div#global_footer {
    position: fixed;
    bottom:0;
    width: 100%;
    z-index: 0;
}

@media (max-width: 767px) {
div#global_footer {
    bottom:30px;
}
}


div#main-content {
    margin-bottom:200px;
}


/* Full width header mobile sections on homepage */
@media (max-width: 767px) {
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left {
  width: 90%;
  margin-left: 0;
}

}


/* Mobile Menu animations */


#et_mobile_nav_menu .mobile_nav #mobile_menu,  #et_mobile_nav_menu .mobile_nav.opened #mobile_menu {
 position: fixed;
 display: flex;
 flex-direction: column;
 justify-content: center;
 /* min-height: 100%;
 max-height: 100%; */
 z-index: 10;
 /* top: 0; */
 border: none;
 overflow-y: auto;
 max-width: 100%;
 float: left;
 transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
 }

.et_mobile_nav_menu .mobile_nav #mobile_menu .sub-menu,  #et_mobile_nav_menu .mobile_nav.opened #mobile_menu .sub-menu {
 transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;

}

.opened #mobile_menu {
 transform: none;
}
.opened #mobile_menu a {
 transform: none;
 opacity: 1;
}
/* .opened #mobile_menu>.menu-item:nth-child(1)>a, .opened #mobile_menu>.menu-item>ul.sub-menu>li:nth-child(1)>a, .closed #mobile_menu .menu-item:nth-last-child(1) a {
 transition-delay: 100ms;
}

.opened #mobile_menu>.menu-item:nth-child(2)>a, .opened #mobile_menu>.menu-item>ul.sub-menu>li:nth-child(2)>a, .closed #mobile_menu .menu-item:nth-last-child(2) a {
 transition-delay: 200ms;
}

.opened #mobile_menu>.menu-item:nth-child(3)>a, .opened #mobile_menu>.menu-item>ul.sub-menu>li:nth-child(3)>a, .closed #mobile_menu .menu-item:nth-last-child(3) a {
 transition-delay: 300ms;
}

.opened #mobile_menu>.menu-item:nth-child(4)>a, .opened #mobile_menu>.menu-item>ul.sub-menu>li:nth-child(4)>a, .closed #mobile_menu .menu-item:nth-last-child(4) a {
 transition-delay: 400ms;
}

.opened #mobile_menu>.menu-item:nth-child(5)>a, .opened #mobile_menu>.menu-item>ul.sub-menu>li:nth-child(5)>a, .closed #mobile_menu .menu-item:nth-last-child(5) a {
 transition-delay: 500ms;
}

.opened #mobile_menu>.menu-item:nth-child(6)>a, .opened #mobile_menu>.menu-item>ul.sub-menu>li:nth-child(6)>a, .closed #mobile_menu .menu-item:nth-last-child(6) a {
 transition-delay: 600ms;
} */
.mobile_nav.opened .mobile_menu_bar:before {
 content: '\4d';
 color: #fff;
 transition: all ease-in-out 300ms;
}
.mobile_nav.closed .mobile_menu_bar:before {
 transition: all ease-in-out 300ms;
}

#mobile_menu a {
 transform: translatex(-90px);
 opacity: 0;
 transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
 text-align: left !important;
}


/* STANDARD BUTTON */


body:not(.home) #page-container .et_pb_section .et_pb_module a.et_pb_button {
    color: #ffffff!important;
    border-width: 2px!important;
    border-color: #2e3740;
    border-radius: 2px;
    font-size: 20px;
    background-color: #2e3740;
    padding: 0.3em 1em!important
}
body:not(.home) #page-container .et_pb_section .et_pb_module a.et_pb_button:hover {
  border-color: #cb9b51!important;
  padding-left: 0.7em;
  padding-right: 2em;
  background-color: #cb9b51!important;
}


/* MIGRATED FROM ENQORESTUDIO SITE */

/* Style back to top button */
.et_pb_scroll_top.et-pb-icon {
    right: 5px!important;
    bottom: 65px!important;
    padding: 3px 0px 0px 3px!important;
    border-radius: 5px!important;
	-moz-border-radius: 5px!important;
    background: #cb9b51!important;
    font-size: 43px!important;
    text-align: left!important;
    width: 52px;
    height: 52px;
}

/* GDPR Compliance popup move slightly to avoid clash with top menu */
.lity-container {
    margin-top: 60px;
}

/* Sort reveal footer z-index */
.et_pb_section {
	z-index: 1;
}

.blog #main-content .container, .single #main-content .container, .search #main-content .container, .archive #main-content .container {
  z-index: 1;
  background: white;
}

#blog_header_search {
  width: 30%;
  margin-left: 35%;
}

@media(max-width: 767px) {
#blog_header_search {
  width: 90%;
  margin-left: 5%;
}
}

@media(max-width: 767px) {
  iframe#drift-widget {
      bottom:-8px!important;
      right:-8px!important;
  }
}


@media(max-width: 767px) {
  .et_pb_scroll_top {
     display: none!important;
  }
}

.wp-admin #drift-widget-container {
  display: none!important;
}

.single p>a:hover, .single li>a:hover {
  text-decoration: underline;
}

.sw:before,span.swp_share {
  color: white;
}

#page-container {
  padding-top: 94px;
}
@media(max-width: 767px) {
  #page-container {
    margin-bottom: 60px;
    padding-top: 59px;
  }

}

body {
  padding-top: 0px; padding-bottom: 0px; overflow-x: hidden;
}

.et_header_style_left #et-top-navigation .mobile_menu_bar, .et_header_style_split #et-top-navigation .mobile_menu_bar {
  padding-bottom: 4px!important;
}

.login-menu-item > a:before {
  font-family: 'Font Awesome 5 Free';
  font-size: 20px;
  color: #fff;
  font-weight: 900;
  display: inline-block;
  content: '\f007';
  margin-right: 10px;
  margin-left: 1px;

}
@media(min-width:980px) {
  #top-menu .login-menu-item .sub-menu {
    right: -25px;
  }
  #top-menu .login-menu-item .sub-menu:before {
    left: 50%;
  }
}

.login-menu-item .control-panel>a:before {
  font-family: 'Font Awesome 5 Free';
  font-size: 20px;
  color: #fff;
  font-weight: 900;
  display: inline-block;
  content: '\f013';
  margin-right: 10px;
  margin-left: 1px;

}
.login-menu-item .web-mail>a:before {
  font-family: 'Font Awesome 5 Free';
  font-size: 20px;
  color: #fff;
  font-weight: 900;
  display: inline-block;
  content: '\f0e0';
  margin-right: 10px;
  margin-left: 1px;

}


#eq-websites-slider .et_pb_slide_description { float:left !important; top: 0; }
#eq-websites-slider .et_pb_slide_image { right:0px; }

/* AJAX CSS FROM DIVIULTIMATE PLUGIN */

				@media (max-width: 980px) {
					.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
						position: fixed;
					}
				}





      #mobile_menu {
        height: 100vh!important;
        width: 100vw!important;
      }

				/* Slide in mobile menu */
				#mobile_menu {
						display: block !important;
						position: fixed;
						overflow: auto;
						-webkit-transition: -webkit-transform 0.4s ease-in-out;
						-moz-transition: -moz-transform 0.4s ease-in-out;
						transition: transform 0.4s ease-in-out;
						-overflow-scrolling: touch!important;
						-webkit-overflow-scrolling: touch!important;
						padding: 5%!important;
				}
				.mobile_nav.opened #mobile_menu {
						-webkit-transform: translateX(0);
						-moz-transform: translateX(0);
						-ms-transform: translateX(0);
						-o-transform: translateX(0);
						transform: translateX(0);
				}

												#et-main-area {
									-webkit-transition: margin-left 0.4s ease-in-out, margin-right 0.4s ease-in-out;
									-moz-transition: margin-left 0.4s ease-in-out, margin-right 0.4s ease-in-out;
									transition: margin-left 0.4s ease-in-out, margin-right 0.4s ease-in-out;
									margin-left: 0;
									margin-right: 0;
								}


										.mobile_nav.closed #mobile_menu {
									-webkit-transform: translateX(-100%);
									-moz-transform: translateX(-100%);
									-ms-transform: translateX(-100%);
									-o-transform: translateX(-100%);
									transform: translateX(-100%);
							}


                              #et-main-area.slide {
                  margin-left: 100%;
                  margin-right: -100%;
                }







	.du_hamburger {transform: scale(1.2,1.2); background: rgba(255,255,255,0); border:1px solid #ffffff; border-radius: 0px; position:relative; display:block; width:1.275rem!important; height:1.275rem; box-sizing:content-box; cursor:pointer; padding:0.25rem; clear:both; z-index:9999;}
  .et_header_style_split .mobile_menu_bar.du_hamburger, .et_header_style_left .mobile_menu_bar.du_hamburger {padding-bottom: 4px; margin-bottom: 24px;}
	.du_hamburger .du_bar {background:#ffffff; width:100%; height:0.125rem; margin:0.25rem auto; border-radius:10px; transition:0.3s cubic-bezier(0.28, 0.55, 0.385, 1.65);
	transition-timing-function:cubic-bezier(0.28, 0.55, 0.385, 1.65); transform-origin:center;}




			.du_hamburger.hamburger_style4.active {
			border: 1px solid transparent!important;
		}

		.du_hamburger.hamburger_style4 .du_menu {
		  overflow: hidden;
		}
		.du_hamburger.hamburger_style4 .du_menu:after {
		  content: '';
		  width: 90%;
		  height: 90%;
		  left: -1px;
		  top: 1px;
		  position: absolute;
		  border: 1px solid transparent;
		  -moz-border-radius: 100%;
		  -webkit-border-radius: 100%;
		  border-radius: 100%;
		}
		.du_hamburger.hamburger_style4.active .du_menu:after {
		  -moz-animation: circle-creation 1s forwards;
		  -webkit-animation: circle-creation 1s forwards;
		  animation: circle-creation 1s forwards;
		}
		.du_hamburger.hamburger_style4.active .du_bar:nth-of-type(1) {
		  -moz-transform: translateY(6px) translateX(-1px) rotate(45deg) ;
		  -ms-transform: translateY(6px) translateX(-1px) rotate(45deg) ;
		  -webkit-transform: translateY(6px) translateX(-1px) rotate(45deg) ;
		  transform: translateY(6px) translateX(-1px) rotate(45deg) ;
		}
		.du_hamburger.hamburger_style4.active .du_bar:nth-of-type(2) {
		  -moz-transform: translateX(100%) ;
		  -ms-transform: translateX(100%) ;
		  -webkit-transform: translateX(100%) ;
		  transform: translateX(100%) ;
		  -moz-transition: 0.6s;
		  -o-transition: 0.6s;
		  -webkit-transition: 0.6s;
		  transition: 0.6s;
		}
		.du_hamburger.hamburger_style4.active .du_bar:nth-of-type(3) {
		  -moz-transform: translateY(-6px) translateX(-1px) rotate(-45deg) ;
		  -ms-transform: translateY(-6px) translateX(-1px) rotate(-45deg) ;
		  -webkit-transform: translateY(-6px) translateX(-1px) rotate(-45deg) ;
		  transform: translateY(-6px) translateX(-1px) rotate(-45deg) ;
		}

		@-moz-keyframes circle-creation {
			0% {
				border-color: transparent;
				-moz-transform: rotate(0deg);
				transform: rotate(0deg);
			}
			25% {
				border-color: transparent #ffffff transparent transparent;
				-moz-transform: rotate(-35deg);
				transform: rotate(-35deg);
			}
			50% {
				border-color: transparent #ffffff  #ffffff transparent;
			}
			75% {
				border-color: transparent #ffffff #ffffff #ffffff;
			}
			100% {
				border-color: #ffffff;
				-moz-transform: rotate(-300deg);
				transform: rotate(-300deg);
			}
		}
		@-webkit-keyframes circle-creation {
			0% {
				border-color: transparent;
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}
			25% {
				border-color: transparent #ffffff transparent transparent;
				-webkit-transform: rotate(-35deg);
				transform: rotate(-35deg);
			}
			50% {
				border-color: transparent #ffffff  #ffffff transparent;
			}
			75% {
				border-color: transparent #ffffff #ffffff #ffffff;
			}
			100% {
				border-color: #ffffff;
				-webkit-transform: rotate(-300deg);
				transform: rotate(-300deg);
			}
		}
		@keyframes circle-creation {
			0% {
				border-color: transparent;
				-moz-transform: rotate(0deg);
				-ms-transform: rotate(0deg);
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}
			25% {
				border-color: transparent #ffffff transparent transparent;
				-moz-transform: rotate(-35deg);
				-ms-transform: rotate(-35deg);
				-webkit-transform: rotate(-35deg);
				transform: rotate(-35deg);
			}
			50% {
				border-color: transparent #ffffff  #ffffff transparent;
			}
			75% {
				border-color: transparent #ffffff #ffffff #ffffff;
			}
			100% {
				border-color: #ffffff;
				-moz-transform: rotate(-300deg);
				-ms-transform: rotate(-300deg);
				-webkit-transform: rotate(-300deg);
				transform: rotate(-300deg);
			}
		}





	.du_hamburger.active {background: rgba(255,255,255,0); border:1px solid #ffffff; border-radius: 0px; }
	.du_hamburger.active .du_bar {background: #ffffff; width:100%; animation-duration:0.6s; animation-timing-function:cubic-bezier(0.28, 0.55, 0.385, 1.65);}
	.du_hamburger.active .du_bar:after, .du_hamburger.active .du_bar:before {width:100%;}
	.du_hamburger.active .du_bar:first-child {transform:translateY(0.375rem) rotate(45deg);}
	.du_hamburger.active .du_bar:not(:first-child):not(:last-child) {opacity:0;}
	.du_hamburger.active .du_bar:last-child {transform:translateY(-0.375rem) rotate(-45deg);}
	.du_custom_hamburger .mobile_menu_bar:before, .du_custom_hamburger .mobile_menu_bar:after {display:none;}



/* GALLERY IMAGE EFFECTS */
.et_pb_gallery_item.du_image_hover .et_pb_gallery_title {
	transition: all 0.5s ease;
	transition-delay: 0.2s;
	transform: translateY(20px);
}

.et_pb_gallery_item.du_image_hover .et_pb_gallery_caption {
	transition: all 0.5s ease;
	transition-delay: 0.3s;
	transform: translateY(20px);
}

.et_pb_gallery_item.du_image_hover .et_pb_gallery_image:hover .et_pb_gallery_title {
	transform: translateY(0px);
}
.et_pb_gallery_item.du_image_hover .et_pb_gallery_image:hover .et_pb_gallery_caption {
	transform: translateY(0px);
}

.et_pb_gallery_item.du_image_hover .et_overlay {
	text-align: center;
	transition: all 0.5s ease;
	transform-origin: bottom;
	background: rgba(202,34,183,0.7);   /* allow users to choose this color */
	transform: scale(1,0);
	border: none;
}

.et_pb_gallery_item.du_image_hover .et_pb_gallery_image:hover .et_overlay {
	transform: scale(1,1);
}

/* Hide the icon */
.et_pb_gallery_item.du_image_hover .et_overlay:before {
	display: none;
}

/* From Josh Hall's blog post: https://joshhall.co/how-to-customize-the-divi-gallery-like-a-boss/ */
/* .et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_image img {
    transform: scale(1.03);
    transition: transform 0.5s, opacity 0.5s;
}  .et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_image:hover img {
    transform: scale(1.15);
    opacity: 1;
} */

.et_pb_gallery_grid .et_pb_gallery_item {
    padding: 2px;
    clear: right!important;
}

/*Need to turn this off for gallery overlay effects */
.et_overlay:before {
	display: none;
}


.et_pb_gallery[class*=du_direction] {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
		flex-wrap: wrap;
}


.et_pb_gallery[class*=du_direction] .et_pb_gallery_item {
	display: flex;
	margin-right: 0;
	margin-bottom: 0;
	padding: 0;
}

@media (max-width: 576px) {
	.et_pb_gallery[class*=du_direction] .et_pb_gallery_item {
	-webkit-box-flex: 0!important;
			-ms-flex: 0 0 100%!important;
					flex: 0 0 100%!important;
	max-width: 100%!important;
	width: 100%!important;
	}
}

@media (min-width: 961px) {
  .et_pb_gallery[class*=du_direction] .et_pb_gallery_item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333333333%;
            flex: 0 0 33.333333333333%;
    max-width: 33.333333333333%;
		width: 33.333333333333%;
  }
}

@media (max-width: 960px) {
  .et_pb_gallery[class*=du_direction] .et_pb_gallery_item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    max-width: 50%;
		width: 50%;
  }
}




.et_pb_gallery[class*="du_direction"] .et_overlay {
	opacity: 1;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: none;
		transform: none;
		  padding: 15px;
}

.et_pb_gallery[class*=du_direction] .et_overlay h3 {
	color: white;
	font-size: 24px;
}

.et_pb_gallery[class*=du_direction_reveal] .et_pb_gallery_item {
	border: 10px solid transparent;
}

/* Display overflow for the flip animation */
.et_pb_gallery[class*=du_direction_reveal_flip] .et_pb_gallery_item, .et_pb_gallery[class*=du_direction_reveal_flip] .et_pb_gallery_image {
	overflow: visible!important;
}

/* Basic effect for the text elements */

.et_pb_gallery[class*=du_direction] .et_overlay h3 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

.et_pb_gallery[class*=du_direction] .et_overlay p {
	color: rgba(255,255,255,0.8);
	opacity: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
}

.et_pb_gallery[class*=du_direction] .et_pb_gallery_item:hover p {
	opacity: 1;
}

.et_pb_gallery[class*=du_direction] .et_pb_gallery_item:hover h3,
.et_pb_gallery[class*=du_direction] .et_pb_gallery_item:hover p {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.et_pb_gallery[class*=du_direction] .et_pb_gallery_item:hover p {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}





	/* one show the effect on desktop */
	@media(min-width: 961px) {


           ul.sub-menu {
 		   margin-top: 0px!important;
 		   transform: translateY(20px)!important;
 		   transition: translateY 1s ease-in-out;
 		   border-top: none;
      }


		  li.menu-item-has-children:hover > ul.sub-menu {
		   transform: translateY(0px)!important;
		  }


		  ul.sub-menu::before {
		      content: '';
		      width: 0;
		      height: 0;
		      border-style: solid;
		      border-width: 0 10px 10px 10px;
		      border-color: transparent transparent #000000 transparent;
		      position: absolute;
		      left:10%;
		      top: -5px;
		      -webkit-transform: translate(0%, -50%);
		      -moz-transform: translate(0%, -50%);
		      -ms-transform: translate(0%, -50%);
		      -o-transform: translate(0%, -50%);
		      transform: translate(52%, -50%);
		      -webkit-transition: all .5s ease-in-out;
		      -moz-transition: all .5s ease-in-out;
		      -ms-transition: all .5s ease-in-out;
		      -o-transition: all .5s ease-in-out;
		      transition: all .5s ease-in-out;
		  }



	}

@media(max-width: 767px) {
  .promo-slide-in {
    display: none;
  }
}

div#footer-buttons p {
 display: inline-block;
    margin-top: 5px;
}
div#footer-buttons p a {
    background: black;
    padding: 5px 10px;
    border-radius: 4px;
    color:white;
}
