/*
 Theme Name:  Global Trellis
 Theme URI:    https://globaltrellis.com
 Description:  Child Theme based on Divi
 Author:       Contemplate Design
 Author URI:   https://contemplatedesign.com
 Template:     Divi
 Version:      1.1.5
*/

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

.highlight,
.highlight2 {
	position: relative;
}
.highlight:before,
.highlight2:before{
    background: #b9db87;
    position: absolute;
	opacity: 0.8;
    content: '';
    display: block;
    bottom: 0;
    left: -3%;
    height: 50%;
    width: 106%;
    z-index: -1;
}
.highlight2:before {
	background: #218266;
}
.labels-black .et_pb_portfolio_item h2 a {
	color: #000 !important;
}

/* ---- Header ----*/
.et_fullwidth_nav #main-header .container.et_search_form_container {
	background: rgba(255,255,255,0.6) !important;
	max-width: 100% !important;
}

#main-header .et_mobile_menu {
	background-color: #fff !important;
}

/* --- Footer ---*/
.bottom-nav {
	text-align: center;
}

/*-- Remove Sidebar ---*/
/* Remove sidebar */
#sidebar {
	display:none;
}

/* Remove thin line */
#main-content .container:before {
	background: none;
}

/* Make content 100% width */
@media (min-width: 981px){
#left-area {
	width: 100%;
	padding-right: 0px !important;
}}

/* ---- WOOCOMMERCE ----*/
.woocommerce div.product form.cart {
	display: inline-block !important;
	margin: 0 !important;
}
li.woocommerce-MyAccount-navigation-link {
	list-style: none;
}
li.woocommerce-MyAccount-navigation-link a {
	color: rgba(255,255,255,0.96);
	background-color: #218266;
    border-color: #218266;
    border-radius: 25px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
	font-size: 20px;
	position: relative;
    padding: .3em 1em;
    border: 2px solid;
	display: block;
    text-align: center;
	-webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}
li.woocommerce-MyAccount-navigation-link a:hover {
	color: #218266;
	background: #fff;
}

/* --- PORFOLIO ---- */
.et_pb_portfolio_filters {
  text-align: center;
}
.et_pb_portfolio_filters ul {
  display: inline-block;
}

/* --- Widget Boxes ---- */
.authorbox,
.categorybox,
.productbox,
.mks_author_widget {
	text-align: center;
}
.categorybox {
   background: #eee;
   padding: 20px;
   border-radius: 6px;
}
.productbox ul.product_list_widget li img {
	float: none !important;
	width: 100% !important;
}
.authorbox .widgettitle,
.mks_author_widget .widgettitle,
.categorybox .widgettitle,
.productbox .widgettitle {
	text-transform: uppercase;
}
.authorbox .avatar,
.mks_author_widget .avatar {
	border-radius: 50%;
	border: 8px solid #fff;
	margin: 0 auto;
	float: none;
}
.authorbox p,
.mks_author_widget p {
	background-color: #eee;
    padding: 50px 10px 20px !important;
    margin-top: -50px;
	border-radius: 0 0 6px 6px;
}

/* ---- MISC ---- */
.sb_cpt_term_list a {
	background: #cbd4c2;
	border-radius: 6px;
	color: #fff;
	text-transform: uppercase;
	padding: 5px 10px;
	margin: 5px;
}
.sb_cpt_term_list a:hover {
	background: #008564;
}

/*--- Clean Grid ---*/
.cleangrid .et_pb_post {
	padding: 0 !important;
	border: 0 !important;
}
.cleangrid .et_pb_post  .et_pb_image_container,
.cleangrid .et_pb_post .entry-featured-image-url {
	margin: 0 !important;
}

/* THREE COLUMN PORTFOLIO GRID LAYOUT */
@media only screen and ( min-width: 981px ) {

	
	.three-column-grid .et_pb_grid_item {
		width: 29.666% !important;
	}
	.et_pb_gutters2 .et_pb_column_4_4 .three-column-grid .et_pb_grid_item {
		width: 31.333% !important;
	}
 
	.three-column-grid .et_pb_grid_item:nth-child(3n),
	.et_pb_gutters2 .et_pb_column_4_4 .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),
	.et_pb_gutters2 .et_pb_column_4_4 .three-column-grid .et_pb_grid_item:nth-child(3n+1) {
		clear: left;
	}
 
	.three-column-grid .et_pb_grid_item:nth-child(4n+1),
	.et_pb_gutters2 .et_pb_column_4_4 .three-column-grid .et_pb_grid_item:nth-child(4n+1) {
		clear: unset !important;
	}
	
	.et_pb_gutters3 .et_pb_column_4_4 .three-column-grid .et_pb_grid_item:nth-child(4n) {
		    margin-right: 5.5% !important;
	}
	.et_pb_gutters2 .et_pb_column_4_4 .three-column-grid .et_pb_grid_item:nth-child(4n) {
			margin-right: 3% !important;
	}
 
}

/* --- RESPONSIVE --- */
@media only screen and (min-width: 980px) {
	.cta-nav a {
		background: #218266 !important;
        padding: 15px !important;
        margin-top: -15px;
		color: #fff !important;
		border-radius: 30px;
	}
}

@media only screen and (max-width: 980px) {
	body.et_bloom .et_bloom_form_header .et_bloom_form_text h2 {
	      font-size: 28px !important;
	}
	#ldnt-shortcode table tr td, #ldnt-shortcode table tr th {
        padding: 10px !important;
    }
	.wp-block-embed {
        margin: 10px 0 !important;
    }
}