/* CSS Document */

.header-section h2.h1-style::after {
    content: "";
    display: block;
    max-width: 130px;
    height: 3px;
    background-color: #FFC107;
    margin: 13px auto 0;
  }

  .main-materials-grid {
	width: 100%;
	position: relative;
	overflow: hidden;
	opacity: 1;
}
.main-materials-grid.ready { 
	opacity: 1;
	animation: fadeInUp .4s both; 
}
.main-materials-grid .plants {
	background: #fff;
	border-left: solid 6px #fece07;
	border-right: solid 6px #fece07;
	padding: 5px 15px;
	width: 100%;
	max-width: 600px;
	margin-left: -300px;
	position: absolute;
	z-index: 2;
	top: 5px;
	left: 50%;
	text-align: center;
}
.main-materials-grid .plants h2 .icon {
	display: block;
	font-size: 25px;
}
.main-materials-grid .grid {
    display: grid;
    border: solid 3px #fff;
    grid-template-columns: 25% 25% 25%;
}
.main-materials-grid .grid.x2 {
	grid-template-columns: 1fr 1fr  1fr;
}
@media (max-width: 991px){
	.main-materials-grid .grid.x2 {
    grid-template-columns: 1fr;
}
}
.main-materials-grid .grid.x3 {
	grid-template-columns: 33.3333% 33.3333% 33.3333%;
}
.main-materials-grid .grid > div {
    border: solid 3px #fff;
}
.main-materials-grid .grid > div .item {
    background: #282828;
    position: relative;
    height: 100%;
    padding: 200px 15px 170px;
}
.main-materials-grid .grid > div .item .bnn {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .3;
}
.main-materials-grid .grid > div .item .item-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
}
.main-materials-grid .grid > div .item .item-content > .icon {
    display: block;
    color: #f9c72a;
    font-size: 30px;
    margin: 0 0 30px;
}
.main-materials-grid .grid > div .item .item-content h2 {
    color: #fff;
    margin: 0 0 30px;
    font-size: 40px;
}
.main-materials-grid .grid > div .item .item-content h2 small {
	display: block;
	font-size: 16px
}
.main-materials-grid .grid > div .item .item-content h2 > .icon {
	display: block;
	font-size: 20px;
	margin: 0 0 10px
}
.main-materials-grid .grid > div .item .item-content p {
    margin: 0 0 33px;
    color: #fff;
}
.main-materials-grid .grid > div .item .item-content .btns {
	display: flex;
	column-gap: 20px;
	row-gap: 20px;
}
.main-materials-grid .grid > div .item .item-content .btn {
    font-size: 14px;
    padding: 14px 20px;
}
@media (max-width: 1300px) and (min-width: 769px) {
	.main-materials-grid .grid,
	.main-materials-grid .grid.x2,
	.main-materials-grid .grid.x3 {
		/* grid-template-columns: 50% 50%; */
	}
	.main-materials-grid .grid.x3.special > div:nth-child(1) { grid-area: first }
	.main-materials-grid .grid.x3.special > div:nth-child(2) { grid-area: second }
	.main-materials-grid .grid.x3.special > div:nth-child(3) { grid-area: third }
	.main-materials-grid .grid.x3.special {
		grid-template-areas: 'first first'
					         'second third';
	}
}


  .main-materials-grid.wedo {
	background: #202020;
	text-align: center;
}
.main-materials-grid.wedo > h2 {
	display: inline-block;
	color: #fff;
	border-bottom: solid 2px #fcd200;
	font-size: 24px;
	text-transform: capitalize;
	font-weight: 700;
	margin: 30px 0;
}
.main-materials-grid.wedo .grid {}
.main-materials-grid.wedo .grid > div .item {
	position: relative;
	display: flex;
	/* padding: 0 0 52%; */
	justify-content: center;
	align-items: center;
}
.main-materials-grid.wedo .grid > div .item.block-video-cta .bnn {
	padding: 0;
	opacity: 1;
}
.main-materials-grid.wedo .grid > div .item.fresco .bnn {
	opacity: 1;
}
.main-materials-grid.wedo .grid > div .item .bnn {
	transition: all .3s ease;
}
.main-materials-grid.wedo .grid > div .item {
	/
}
.main-materials-grid.wedo .grid > div .item:hover {
	background-image: var(--hover-bg);
	background-size: cover;
	background-position: center;
	opacity: 1;
	background-color: #fff;
}

.main-materials-grid.wedo .grid > div .item:hover .bnn {
	opacity: 0;
}
.main-materials-grid.wedo .grid > div .item .item-content {
    position: relative;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    padding-bottom: -10px;
}
.main-materials-grid.wedo .grid > div .item .item-content h2 {
    margin: 0;
    text-align: left;
    transition: all .3s ease;
    color: #FFF;
    text-align: center;
    /* font-family: Montserrat; */
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    padding-bottom: 7px;
    line-height: 30px; /* 125% */
    border-bottom: 4px solid #FFC107;
}
.main-materials-grid.wedo .grid > div .item:hover .item-content h2 {
	font-size: 28px;
	color: #2F2A28;
}
.main-materials-grid.wedo .grid > div .item .item-content h2 span {
    display: block;
    font-size: 22px;
    font-weight: 400;
    text-transform: capitalize;
    color: #f1f1f1;
}
.main-materials-grid.wedo .grid > div .item .item-content .more {
	min-width: 105px;
	display: flex;
	gap: 5px;
	transition: all .3s ease;
}
.main-materials-grid.wedo .grid > div .item:hover .item-content .more {
	color: #f1f1f1;
}
.main-materials-grid.wedo .grid > div .item .item-content .more:after {
	content: '\f178';
	font-family: "Font Awesome 6 Pro";
	font-size: .7em;
	padding-top: 1px;
}

/* @media (min-width: 767px) {
	.main-materials-grid.wedo .grid > div:last-child:nth-child(odd) .item {
		/* padding: 0 0 27%; */
	/* } */
	/*.main-materials-grid.wedo .grid > div:last-child:nth-child(odd) {
		/* grid-column: span 2; */
	/* }
	.main-materials-grid.wedo .grid > div:last-child:nth-child(odd) .item .item-content h2 {
		font-size: 80px
	}
	.main-materials-grid.wedo .grid > div:last-child:nth-child(odd) .item:hover .item-content h2 {
		font-size: 90px
	} */
/*} */

