/*
 Theme Name:  Tag Child Theme
 Theme URI:    https://tagdesignco.ca
 Description:  Child Theme for Divi
 Author:       Tag Design Co.
 Author URI:   https://tagdesignco.ca
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

#footer-bottom {
    display: none;
}

/*Divi Dropdown Menu Width fix*/
@media screen and (min-width: 981px) {
    #page-container .sub-menu, #page-container .sub-menu a {
        width: auto!important;
    }
    #page-container .sub-menu a {
        white-space: nowrap;
    }
}

/*header background image*/
#main-header {
	background-position: center !important;
	z-index: 99;
	background-image: url(https://cura-eng.ca/wp-content/uploads/Cura-Engineering-bgtop.png);
	background-size: 1920px auto;
}

/* checkmark li */
.entry-content .check ul {
	list-style-type: none;
	padding-left: 20px;
}

.entry-content .check li {
	position: relative;
	padding-left: 20px;
}

.entry-content .check li:before {
	position: absolute;
	left: -4px;
	line-height: initial;
	font-size: 1.15em;
	content: "✓";
	color: #b5111b !important;
}

/*limit section width*/
div.et_pb_section {
	max-width: 1920px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {

	.three-column-grid .et_pb_grid_item {
	width: 29.95% !important;
	margin: 0 5% 5% 0 !important;
	}
	 
	.three-column-grid .et_pb_grid_item:nth-child(3n) {
	margin-right: 0 !important;
	}
	
	.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
	clear: left;
	}
	
	.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
	clear: unset !important;
	}
	
	}

	/*close toggle css*/
.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "\e04f" !important;
}

::marker {
	margin-left: -20px !important;
}

/*project gallery arrows*/
.et-pb-arrow-prev:before {
    color: #ffffff;
}

.et-pb-arrow-next:before {
    color: #ffffff;
}

.services a {
	display: inline-block
	color: #fff !important;
	background-color: #0194d3;
	padding: 9px 10px 7px;
    font-size: 13px;
    min-width: 80px;
	margin:3px;
	border-radius:3px;
}

/*filterable portfolio navigation*/
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    padding: 10px 12px !important;
}

/* Setting the breakpoint of the mobile menu */
@media (max-width: 1085px) {
	#et_mobile_nav_menu {
		display: block;
	}

	#top-menu {
		display: none;
	}
}

/* accordian closed tab height */
@media (min-width: 981px) {
.et_pb_gutters2 .et_pb_column_1_3 .et_pb_module, .et_pb_gutters2.et_pb_row .et_pb_column_1_3 .et_pb_module {
    min-height: 84px;
}
}

/* light-box image width limit */
img.mfp-img {
    max-width: 900px;
}