﻿.grid-panel-holder{
    margin-bottom: 10px;
}
.grid-panel-holder h2.section-title{
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
    margin-bottom:8px;
    color: rgb(56, 57, 59);
}
.section-seo{
    color: dimgrey;
}
ul.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.checklist li {
    position: relative;
    line-height: 1.4;
    margin: 0 0 15px 0;
    padding-left: 1.5em;
    color:#3f3f3f;
}
ul.checklist li:before {
    content: '';
    position: absolute;
    left: 0;
    width: 1.5em;
    height: 1em;
    background: url("data:image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg width='18' height='18' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'><path d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/></svg>") no-repeat;
}

/* BASIC LAYOUT THEME */
.basic-grid .title{
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-weight:700;
    color: #323232;
}
.basic-grid .grid-photo {
    margin-bottom: 10px;
}
.basic-grid .grid-photo img{
    transition: 0.4s all;
}
.basic-grid .grid-photo:hover img{
    opacity: .8;
}
.basic-grid .grid-video {
    margin-bottom: 10px;
}
.basic-grid .grid-video iframe{
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .basic-grid .grid-video {
        max-height: 375px;
        overflow: hidden;
    }
    .basic-grid .grid-video iframe {
        height: 375px;
    }
}
.basic-grid .desc p{
    font-size:14px;
    color: #424242;
}
.basic-grid a.details-btn{
    display:inline-block;
    padding: 10px 25px;
    border-radius: 3px;
    background-color: #424242;
    text-align: center;
    color:#fff;
}
.basic-grid a.details-btn:hover{
    background-color: #303030;
}

/* TABLE STYLE LAYOUT THEME */

.table-grid .tabular{
    padding: 15px;
    border:solid 1px silver;
}
.table-grid .tabular .grid-photo {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom:10px;
}
.table-grid .tabular .grid-photo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}
.table-grid .tabular .grid-video {
    margin-bottom: 10px;
}
.table-grid .tabular .grid-video iframe{
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .table-grid .tabular .grid-video {
        max-height: 375px;
        overflow: hidden;
    }
    .table-grid .tabular .grid-video iframe {
        height: 375px;
    }
}
.table-grid .tabular .title{
    font-size: 1.375rem;
    font-weight:700;
    color: #424242;
}
.table-grid .tabular .desc p{
    font-size:14px;
    color: #424242;
}
.table-grid .tabular a.details-btn{
    display:inline-block;
    padding: 10px 25px;
    border-radius: 3px;
    background-color: #424242;
    text-align: center;
    color:#fff;
}
.table-grid .tabular a.details-btn:hover{
    background-color: #303030;
}

/* STACKED LAYOUT THEME */
.stacked-grid .stacked{
    padding: 15px;
    text-align: center;
    -webkit-transition: box-shadow .3s ease;
    -o-transition: box-shadow .3s ease;
    transition: box-shadow .3s ease;
    -webkit-box-shadow: 1px 1px 10px rgb(24 23 23 / 30%);
    box-shadow: 1px 1px 10px rgb(24 23 23 / 30%);   
}
.stacked-grid .stacked:hover{
    -webkit-box-shadow: 1px 1px 15px rgb(24 23 23 / 60%);
    box-shadow: 1px 1px 15px rgb(24 23 23 / 60%);    
}
.stacked-grid .stacked .grid-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom:10px;
}
.stacked-grid .stacked .grid-photo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s all;
}
.stacked-grid .stacked .grid-photo:hover img {
    opacity:0.8;
}
.stacked-grid .stacked .grid-video {
    margin-bottom: 10px;
}
.stacked-grid .stacked .grid-video iframe{
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .stacked-grid .stacked .grid-video {
        max-height: 375px;
        overflow: hidden;
    }
    .stacked-grid .stacked .grid-video iframe {
        height: 375px;
    }
}
.stacked-grid .stacked .title{
    font-size: 1.375rem;
    color: #323232;
    text-align: center;
    margin-bottom: 10px;
}
.stacked-grid .stacked .title a{
    font-size: 1.375rem;
    color: #323232;
}
.stacked-grid .stacked .title a:hover{
    text-decoration: underline;
}
.stacked-grid .stacked .desc p{
    font-size:14px;
    color: #424242;
}
.stacked-grid .stacked a.details-btn{
    background: #181717;
    color: #fff;
    font-size: 1.125rem;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: underline;
    text-align: center;
    margin: 0;
    padding: 12px 60px;
    -webkit-transition: .3s background-color ease;
    -o-transition: .3s background-color ease;
    transition: .3s background-color ease;
}
.stacked-grid .stacked a.details-btn:hover{
    background-color: #303030;
    text-decoration: none;
}
.link-text {
    -webkit-transition: text-shadow .3s ease;
    -o-transition: text-shadow .3s ease;
    transition: text-shadow .3s ease;
    color: #181717;
    font-size:1.375rem;
    font-weight: 600;
    text-align: center;
    text-decoration: overline;
}
.link-text:hover {
    color: #181717;
    text-shadow: 1px 1px 10px rgb(53 53 53 / 50%);  
    text-decoration: none;     
}

/* BACKGROUND IMAGE THEME */
.background-grid .background {
    position: relative;
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.background-grid .background::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark transparent overlay */
    z-index: 1;
}
.background-grid .background > * {
    position: relative;
    z-index: 2;
    max-width: 90%;
}
.background-grid .title.position {
    font-size: 1.375rem;
    font-weight:700;
    margin-bottom: 10px;
}
.background-grid .background p {
    margin-bottom: 1rem;
    font-size: 1rem;
}
.background-grid .details-btn,
.background-grid .brochure_button {
    background-color: #ffffff;
    color: #000;
    padding: 10px 25px;
    border: none;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.background-grid .details-btn:hover,
.background-grid .brochure_button:hover {
    background-color: #eee;
}

/* BANNER STYLES */
.custom-banner {
    position: relative;
    height: 250px;
    max-height: 300px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    overflow: hidden;
}
.custom-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.custom-banner__content {
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 90%;
    animation: fadeInUp 1s ease both;
}
.custom-banner__content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.custom-banner__text {
    font-size: 1.2rem;
}
.custom-banner__fallback {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Block Styles */
#content_block_panel{
	padding:15px 0 15px 0;
}
#content_block_panel .match-height-holder{
	display: table; /* Make the container element behave like a table */
	width: 100%; /* Set full-width to expand the whole page */
	clear:both;
}
#content_block_panel .match-height{
	display: table-cell; /* Make elements inside the container behave like table cells */
	width:50%;
	vertical-align:top;
}
#content_block_panel .match-height-holder .match-height .grey_panel{
	padding:30px;
}
#content_block_panel .match-height-holder .match-height .grey_panel h4{
	font-size: 28px;
	line-height: 1.4;
	margin: 0 0 10px 0;
    font-weight:bold;
    color:#222;
}
#content_block_panel .match-height-holder .match-height .block_image_container{
	width:100%;
	min-height:425px;
	max-height:475px;
	height:auto;
	overflow:hidden;
	position:relative;
	text-align:center;
	background-repeat:no-repeat;
	background-position:center top;
}
#content_block_panel .match-height-holder .match-height .block_image_container p{
	margin: 0;
	font-size:16px;
	color:#fff;
	padding:10px 30px;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.5);
}
#content_block_panel .block_image_container{
	width:100%;
	min-height:425px;
	max-height:475px;
	height:auto;
	overflow:hidden;
	position:relative;
	text-align:center;
	background-repeat:no-repeat;
	background-position:center top;
}
#content_block_panel .block_image_container p{
	margin: 0;
	font-size:16px;
	color:#fff;
	padding:10px 30px;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.5);
}
#content_block_panel .grey_panel{
	padding:20px 10px 20px 10px;
}
#content_block_panel .grey_panel h4{
	font-size: 28px;
	line-height: 1.4;
	margin: 0 0 10px 0;
    font-weight:bold;
    color:#222;
}
.full-green{
    display: block;
    padding: 15px 10px;
    background-color: #497637;
    text-align: center;
    color: #fff;
}
.full-green:hover{
    background-color: #2f6325;
    color: #fff;
}

/* Media Queries */
@media only screen and (max-width: 1024px) {
	#mfg_banner {
	    min-height: 200px;
	    max-height: 225px;
	}
	#mfg_banner .vertical_center h3 {
	    font-size: 28px;
	}
	#mfg_banner .vertical_center h2 {
	    font-size: 28px;
	}	
	h3.section_title {
	    font-size: 24px;
	    line-height:1.4;
	}
	h3.leftalign_section_title {
	    font-size: 24px;
	    line-height:1.4;
	}	
	#content_block_panel .match-height-holder .match-height .grey_panel h4{
		font-size: 24px;
	}
	#content_block_panel .grey_panel h4{
		font-size: 24px;
	}		
}
@media only screen and (max-width: 768px) {
	#mfg_banner {
	    padding:20px;
	}	
	#mfg_banner .vertical_center h3 {
	    font-size: 24px;
	}	
	#mfg_banner .vertical_center h2 {
	    font-size: 24px;
	}		
	#content_block_panel .match-height-holder {
	    display: block;
	}
	#content_block_panel .match-height {
	    display: block;
	    width: 100%;
	}
	#content_block_panel .match-height-holder .match-height .block_image_container{
		min-height:300px;
		max-height:350px;
	}
	#content_block_panel .block_image_container{
		min-height:300px;
		max-height:350px;
	}	
	.ce_link_area ul li{
		display:block;
		width:100%;
	}
}
@media only screen and (max-width: 640px) {
    #MfgCats_Section h2.dyn-mfg-heading {
        font-size: 1.375rem;
    }    
	#mfg_banner {
	    min-height: 150px;
	    max-height: 200px;
	    padding:10px;
	}
	#mfg_banner .vertical_center h3 {
	    font-size: 22px;
	    line-height:1.2;
	}
	#mfg_banner .vertical_center h2 {
	    font-size: 22px;
	    line-height:1.2;
	}	
	#mfg_banner .vertical_center .banner_content{
		font-size:14px;
	}
	#mfg_banner .vertical_center .banner_content p{
		font-size:14px;
		line-height:1.2;
	}
	h3.section_title {
	    font-size: 22px;
	}
	h3.leftalign_section_title {
	    font-size: 22px;
	}	
	#content_block_panel .match-height-holder .match-height .grey_panel h4{
		font-size: 22px;
	}
	#content_block_panel .grey_panel h4{
		font-size: 22px;
	}
	.grid_mfg_links_panel #mfg-landing-cats .mfg-landing-category .mfg-landing-category_holder {
	    padding: 20px;
	}	
	.gridcarouselmfglinks .slick-prev:before {
		content: '←';
	}
	.gridcarouselmfglinks [dir=rtl] .slick-prev:before {
		content: '←';
	}
	.gridcarouselmfglinks .slick-next:before {
		content: '→';
	}
	.gridcarouselmfglinks [dir=rtl] .slick-next:before {
		content: '→';
	}
	.gridcarouselmfglinks .slick-next, 
	.gridcarouselmfglinks .slick-prev {
		top:50%;
	}
	.gridcarouselmfglinks button {
	    width: 35px;
	    height: 35px;
	}
	.gridcarouselmfglinks .slick-prev {
		right: auto;
		left:-20px;
	}
	.gridcarouselmfglinks [dir=rtl] .slick-prev {
		right: auto;
		left:-20px;
	}
	.gridcarouselmfglinks .slick-next {
		right: -20px;
		left:auto;
	}
	.gridcarouselmfglinks [dir=rtl] .slick-next {
		right: -20px;
	}	
	#content_block_panel .grey_panel{
		padding:0px;
	}
	.dark-grey-panel {
	    padding: 20px;
	}	
    .custom-banner {
        height: 200px;
        max-height: 250px;
    }
    .custom-banner__content {
        padding: 15px;
        max-width: 100%;
    }
    .custom-banner__content h3 {
        font-size: 1.5rem;
    }
    .custom-banner__text {
        font-size: 1rem;
    }			
}