/* 
 Theme Name:     Renovate Pro
 Author:         Mark Hendriksen
 Author URI:     https://markhendriksen.com
 Template:       Divi
 Version:        1.0
 Description:    A Divi Child Theme 
*/ 

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* ########################### */
/* ###### CHANGE COLORS ###### */
/* ########################### */
 
/* #### Dropdown menu #### */

.nav li li a { 
  border-bottom: 1px solid #e5e5e5; /* Dropdown border bottom */ 
  font-weight: 600 !important; /* Dropdown font weight */ 
  font-size: 16px !important; /* Dropdown font size */ 
}
  
.et-menu > .menu-item-has-children > .sub-menu:before {
  border-bottom: 12px #ab0a19 solid; /* Dropdown arrow color */
}  

/* #### Collapsing mobile menu #### */

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon::after {
	color: #ffffff; /* Collapsing mobile icon color */
	background: #ab0a19; /* Collapsing mobile icon background color */
}

.et_mobile_menu .menu-item-has-children>a {
  font-weight: 600 !important;
}

/* #### Menu v2 #### */

.custom-header-v2-bottom .et_pb_menu_1_tb_header.et_pb_menu ul li.current-menu-item a,
.custom-header-v4-menu.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
	color: #000000 !important; /* Color header / menu V2 mobile menu active color */
}

/* #### Inset border color yellow #### */

.inset-border-yellow {
	outline: 1px solid #ffffff; /* Border color */
	outline-offset: -15px; /* Offset distance border */
}

/* #### Inset border color red #### */

.inset-border-red {
	outline: 1px solid #000; /* Border color */
	outline-offset: -15px; /* Offset distance border */
}

/* Button with arrow */

body #page-container .et_pb_section .et_pb_button.custom-button-arrow:before {
    background-color: #dfd555 !important; /* background color behind arrow */
	color: #000000  !important; /* Arrow color */
}

/* #### Discount ribbon #### */

.ribbon span {
  color: #ffffff; /* Text color */
  background: #ab0a19; /* background color color - fallback */
  background: linear-gradient(#ab0a19 0%, #870a16 100%); /* Gradient background color */
}

.ribbon span::before {
  border-left: 3px solid #ab0a19; /* Border left background color */
  border-top: 3px solid #ab0a19; /* Border top background color */
}

.ribbon span::after {
  border-right: 3px solid #ab0a19; /* Border right background color */
  border-top: 3px solid #ab0a19; /* Border top background color */
}

/* #### Project section home page #### */

.projects-row-home-column.et_pb_column:before {
    content: "Read More"; /* Read more text on hover */
    background-color: rgba(0,0,0,.4); /* background color on hover */
    color: #fff; /* Text color on hover */
}

/* #### home page bg title #### */

@media (min-width: 981px) {
.bg-before-text::before {
    background: #f2f2f2; /* background color */
}}

/* ### END COLORS ### */

/* ### General ### */

@media screen and (min-width: 1151px) and (max-width: 1450px){
.custom-row-width-981.et_pb_row,
.custom-row-special-width-981 .et_pb_row	{
	width: 90% !important;
	max-width: 90% !important;
}}

@media screen and (min-width: 981px) and (max-width: 1150px){
.custom-row-width-981.et_pb_row,
.custom-row-special-width-981 .et_pb_row	{
	width: 98% !important;
	max-width: 98% !important;
}}

/* ### Header V1 ### */

.custom-header-v1-top-column.et_pb_column {
	display: flex;
    justify-content: flex-end;	
	align-items: center;
}

@media screen and (min-width: 981px) {
.custom-header-v1-bottom-column.et_pb_column {
	display: flex;
    justify-content: flex-end;	
	align-items: center;
}}

@media screen and (min-width: 981px) {
.custom-header-v1-bottom-column .et_pb_menu__logo img {
	display: none;
}}

@media screen and (max-width: 980px) {
.custom-header-v1-top-column.et_pb_column {
    justify-content: space-between;
}}

.custom-header-v1.et_pb_section_2_tb_header.et_pb_sticky_module:not(.et_pb_sticky--editing) {
    width: 100%;
}


/* ###### Header services dropdown menu ###### */
.custom-menu-hws-v4 ul {
  	flex-direction: column;
}

.custom-menu-hws-v4-row {
	overflow: auto;
  	transform: translateY(-100%);
  	transition: all .3s ease;
	opacity:0;
}

.custom-menu-hws-v4-row.active-menu-hws-v4 {
  	overflow: auto;
  	transform: translateY(0%);
  	transition: all .3s ease;
	opacity:1;
}

.header-services-tab-blurb .et_pb_blurb_description {
	margin-top: 8px;
}

.header-slide-services-cta-row {
	display: flex;
    align-items: center;
}

.header-slide-services-cta-row .header-slide-services-cta-row-column-1 {
	width: 65% !important;
}

.header-slide-services-cta-row .header-slide-services-cta-row-column-2 {
	width: 35% !important;
}

/* ### Header V2 ### */

.custom-header-v2-top {
	display: flex;
    justify-content: flex-end;
	align-items: center;
}

@media screen and (max-width: 980px) {
.custom-header-v2-top {
    justify-content: space-between;
}}

.custom-header-v2-bottom {
	display: flex;
	align-items: center;	
}

@media screen and (min-width: 981px) and (max-width: 1700px){
.header-v2-blurb-services {
	width: 100%;
}}

@media screen and (min-width: 981px) and (max-width: 1400px){
.header-v2-blurb-services.et_pb_blurb_position_left .et_pb_module_header {
	font-size: 14px !important;
}

.header-v2-blurb-services.et_pb_blurb_position_left .et_pb_blurb_container {
	padding-left: 5px !important;	
}

.header-v2-blurb-services.et_pb_blurb_3_tb_header .et_pb_main_blurb_image .et-pb-icon {
    margin-left: 0px!important;
}

.header-v2-blurb-services.et_pb_blurb_position_left .et_pb_main_blurb_image {
	width: 22px;
}}

/* ### Header V3 ### */

.header-v3-top {
	display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 980px) {
.header-v3-top {
    justify-content: center;
}}

@media screen and (min-width: 981px) {
.custom-header-v1 .et_pb_row {
	display: flex;
    align-items: center;
}}

@media screen and (min-width: 981px) and (max-width: 1250px) {
.custom-header-v3-menu.et_pb_menu ul li a {
	font-size: 15px !important;
}

a.custom-header-v3-button {
	font-size: 15px !important;
}}

/* ### Header V4 ### */

.header-v4-top {
	display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 980px) {
.header-v4-top {
    justify-content: center;
}}

@media screen and (min-width: 981px) {
.header-v4-top-row {
	display: flex;
    align-items: center;	
}}

@media screen and (max-width: 980px) {
.header-v4-blurb-services .et_pb_blurb_content {
	display: flex;
    justify-content: center;
}}

@media screen and (min-width: 981px) {
.custom-header-v4-menu .et_pb_menu__logo-wrap {
	display: none;	
}

.custom-header-v4-menu.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a{
	padding-top: 14px;
	padding-bottom: 22px;
}}

.custom-header-v4-menu .et-menu .menu-item-has-children>a:first-child:after {
    top: 20px !important;
}

.custom-header-v4-menu ul.sub-menu .menu-item-has-children>a:first-child:after {
    top: 10px !important;
}

@media (max-width: 980px) {
.custom-header-v4-menu.et_pb_menu--style-left_aligned.et_pb_text_align_center .et_pb_menu__wrap {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
}}

/* Homepage */

@media screen and (min-width: 981px) {
.hp-v1-buttons-hero-header {
	display: flex;
}

.hero-header-v1-column-1::before {
content: '';
    position: absolute;
    -webkit-transform: skew(-10deg);
    transform: skew(-10deg);
    width: calc(100% + 9px);
    height: 40px;
    bottom: 0;
    background-color: #fff;
    left: -5px;
}
.hero-header-v1-column-1::after {
	content: '';
    position: absolute;
    -webkit-transform: skew(-10deg);
    transform: skew(-10deg);
    width: 120px;
    height: calc(100% - 40px);
    top: 0px;
    background-color: #000;
    right: -70px;
}}


@media screen and (min-width: 981px) and (max-width: 1350px){
.hero-header-v1-column-1 {
	padding-top: 4% !important;
    padding-bottom: 10% !important;
    padding-left: 7% !important;		
}}

@media (min-width: 981px) {
.projects-row-home.et_pb_gutters1 .et_pb_column, .projects-row-home.et_pb_gutters1.et_pb_row .et_pb_column {
    margin-right: 5px;
}

.projects-row-home .project-text-column {
	display: flex;
    flex-direction: column;
    justify-content: center;	
	
}}

.projects-row-home-column.et_pb_column:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform .25s cubic-bezier(.77,0,.175,1),opacity .25s cubic-bezier(.77,0,.175,1);
    z-index: 0;
	display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.projects-row-home-column.et_pb_column:hover:before {
    opacity: 1;
}

/* Button with arrow */
body #page-container .et_pb_section .et_pb_button.custom-button-arrow:before {
    height: 100%;
    top: 0;
    width: 45px;
    font-size: 30px !important;
    align-items: center;
    display: flex !important;
    justify-content: center;
	margin-left: -65px !important;
}

@media (min-width: 981px) {
.bg-before-text::before {
    content: "";
    position: absolute;
    left: -60px;
    top: 0;
    width: 100px;
    height: 100%;
	left: -3000px;
    width: 3000px;
}}

/* ###### ABOUT US ###### */

@media screen and (min-width: 981px) and (max-width: 1450px){
.about-column {
	padding-left: 0px !important;
}}

/* ###### BLOG GRID ###### */

.blog_grid .post-meta {
	border-bottom: 1px solid #e0e0e0;
    padding-bottom: 16px!important;
}

.blog_grid .post-content-inner {
    padding-top: 10px!important;	
}

/* ###### SINGLE POST ###### */

.single .et_pb_post_content h2 {
	padding-top: 25px;
    padding-bottom: 15px !important;
}

/* Footer */
.footer-blurb.et_pb_blurb_position_left .et_pb_blurb_container {
	padding-left: 0px !important; 	
}

/* ###### DISCOUNT RIBBON ###### */

.ribbon-box {
  	position: absolute;
  	right: -5px; 
	top: -5px;	
}

.ribbon {
  	position: absolute;
  	right: 0px; 
	top: 0px;
  	z-index: 1;
  	overflow: hidden;
  	width: 150px; 
	height: 150px;
  	text-align: right;
}

.ribbon span {
  	font-size: 13px;
  	font-weight: bold;
  	letter-spacing: 1px;
  	text-transform: uppercase;
  	text-align: center;
  	line-height: 30px;
  	transform: rotate(45deg);
  	-webkit-transform: rotate(45deg);
  	width: 167px;
  	display: block;
 	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  	position: absolute;
  	top: 35px; 
	right: -34px;
}

.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* #### Dropdown Menu #### */  
  
.nav li li:last-child a {
  border-bottom: 0px solid #e5e5e5; 
}  
  
.nav li ul.sub-menu {
	padding: 0px !important;
  border-radius: 5px;
  box-shadow: 0 5px 17px 0px rgb(0 0 0 / 25%);
  -moz-box-shadow: 0 5px 17px 0px rgba(0,0,0,.25);
  -webkit-box-shadow: 0 5px 17px 0px rgb(0 0 0 / 25%);
}
  
.nav li li {
  padding: 0 0px !important;
  width: 100%;
}
  
.et-menu li li a {
  padding: 10px 20px;
  width: 100% !important;
}
  
.et-menu > .menu-item-has-children > .sub-menu:before {
	content: '';
  display: block;
  position: absolute;
  left: 20px;
  top: -20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
  z-index: 1;
}
  
.nav li ul {
    right: 0!important;
}
  
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 20px;
}  

.nav li li ul {
    top: -4px !important;
}
  
/* #### Collaping Mobile Menu #### */

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon::after {
	top: 10px;
    position: relative;
    font-family: "ETModules";
    content: '\33';
    border-radius: 50%;
    padding: 3px;
	font-size: 19px;
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle-icon {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle-icon {
	text-align: center;
	opacity: 1;
}


/* Hide elements in Theme Builder */

.et-fb .custom-menu-hws-v4-row {
	display: none !important;
}





