body {
	font-family: "Barlow", sans-serif;
}

h2, h5 {
	color: #417DC0;
}

a {
	color: #000;
	text-decoration: none;
}

hr {
	border:none;
	height: 20px;
	height: 100px;
	margin-top: 0;
	border-bottom: 1px solid #1f1209;
	box-shadow: 0 20px 20px -20px #333;
	margin: -75px auto 25px; 
}

label:has(+ input:required):after, label:has(+ textarea:required):after {
  content: ' *';
  color: red;
}

.orange {
	color: #F09100;
}

.navigation {
	padding-top: 50px;
	position: relative;
}

.navigation .container {
	position: relative;
	z-index: 3;
}

.navigation:after {
	content: '';
    width: 100%;
    height: 215px;
    background-color: #FFF;
    position: absolute;
    bottom: -130px;
    left: 0;
    transform: skewY(5deg);
    background-size: 200% 200%;
    z-index: 2;
}

.navigation .col-12 {
	position: relative;
}

.image-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color:#4178BE;
	color: #FFF;
	font-weight: bold;
	font-size: 30px;
	text-transform: uppercase;
	width: fit-content;
	text-align: center;
	padding: 5px 20px;
	line-height: 30px;
	
}

section.news, section.case-studies, section.vacancies {
	background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	padding-top: 100px;
	position: relative;
}

section.news .container, section.case-studies .container, section.vacancies .container {
	position: relative;
	z-index: 3;
}

section.news:after, section.case-studies:after, section.vacancies:after {
	background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	content: '';
    width: 100%;
    height: 175px;
    background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	background-position: bottom;
	background-size: cover;
    position: absolute;
    bottom: -40px;
    left: 0;
    transform: skewY(-2deg);
    z-index: 2;
}

section.vision img {
	position: relative;
}

section.vision img:before {
	content: '';
	background-color: #FFF;
    width: 100%;
    height: 175px;
    position: absolute;
    top: -40px;
    left: 0;
    transform: skewY(-2deg);
    z-index: 0;
}

section.vision .banner-overlay {
	top: 40%;
	width: 30%;
}

section.vision .banner-overlay p {
	font-size: 20px;
}

section.values {
	background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	padding-top: 100px;
	position: relative;
}

section.values:before {
	background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	content: '';
    width: 100%;
    height: 175px;
    background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	background-position: top;
	background-size: cover;
    position: absolute;
    top: -40px;
    left: 0;
    transform: skewY(2deg);
    z-index: 2;
}

section.values .container {
	position: relative;
	z-index: 3;
}

section.values:after {
	background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	content: '';
    width: 100%;
    height: 175px;
    background-image: url('../img/trent-refractories-footer-concrete-min.jpg');
	background-position: bottom;
	background-size: cover;
    position: absolute;
    bottom: -40px;
    left: 0;
    transform: skewY(-2deg);
    z-index: 2;
}

section.team {
	padding-top: 100px;
}

.section-title {
	text-align: center;
	font-weight: bold;
	color: #FFF;
	padding: 10px;
	background-color: #4178BE;
	width: fit-content;
	margin-bottom: 100px;
	z-index: 2;
}

.section-title h2 {
	color: #FFF;
}

.section-footer {
	padding: 20px;
	margin: 50px 0 100px;
}

.orange-button {
	text-align: center;
	font-weight: bold;
	color: #FFF;
	padding: 20px;
	background-color: #F09100;
	width: fit-content;
	text-decoration: none;
}

footer h4, footer ul {
	color: #FFF;
}

footer h4 {
	font-size: 20px;
	margin-bottom: 15px;
}

footer ul {
	list-style: none;
	padding-left: 0;
}

.footer-background {
	background-color: #F09100;
	padding-bottom: 420px;
	position: relative;
	padding-top: 100px;
	overflow: hidden;
}

footer .experts {
	z-index: 1;
	position: relative;
}

footer .experts:before {
	content: '';
	position: absolute;
	background-image: url('../img/trent-refractories-footer-speak-to-the-experts.png');
	width: 100%;
	height: 100%;
	z-index: 2;
	background-size: contain;
    transform: skewY(-2deg);
    bottom: -47px;
}

footer .experts:after {
	content: '';
    width: 100%;
    height: 75px;
    background-color: #F09100;
    position: absolute;
    bottom: -40px;
	left: 0;
    transform: skewY(-2deg);
    background-size: 200% 200%;
}

footer .experts .experts-overlay {
	position: absolute;
	top: 40%;
	left: 5%;
	z-index: 2;
}

footer .experts .experts-overlay h2 {
	font-size: 2em;
	padding: 10px;
	margin-bottom: 15px;
	background-color: #FFF;
	width: fit-content;
	font-weight: bold;
	color: #417CBE;
}

footer .experts .experts-overlay p {
	font-size: 1.2em;
	color: #FFF;
	width: 55%;
	margin-bottom: 20px;
}

.footer-background:after {
	position: absolute;
	bottom: -60px;
	content: '';
	height: 400px;
	width: 100%;
	background-image: url('../img/trent-refractories-footer-base-image.png');
	background-size: cover;
	background-repeat: no-repeat;
}

.socials {
	padding-top: 20px;
	color: #FFF;
	display: flex;
	justify-content: space-between;
}

.socials a{
	color: #FFF;
}

.news-info {
	color: #000;
	font-weight: bold;
}

.read-more {
	color: #E88E02;
	font-weight: bold;
}

.card-text {
	font-weight: bold;
	font-size: 1.5em;
}

.banner-overlay {
	position: absolute;
	left: 100px;
	top: 60%;
    transform: translateY(-50%);
}

.home.banner-overlay {
	top: 50%;
}

.banner-overlay h1 {
	background: rgba(65, 120, 190, 0.7);
	color: #FFF;
	font-weight: bold;
	width: fit-content;
	padding: 10px;
	font-size: 3em;
	line-height: 1.5em;
}

.banner-overlay p {
	margin-bottom: 0;
}

.home.banner-overlay p {
	font-size: 1.5em;
	width: 45%;
}

@media (max-width: 767.98px) {
	.banner-overlay {
		position: relative;
		transform: none;
		left: 0;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.banner-overlay h1 {
		background: none;
		color: #527BC1;
		font-size: 1.8rem;
		padding: 0;
	}
	
	.home.banner-overlay p {
		font-size: 1rem;
		width: 100%;
	}
}



.nav-link {
	font-weight: bold;
}

.nav-link:after {
	content: '+';
	color: #F09100;
	padding-left: 5px;
	margin-right: 10px;
	font-weight: bold;
}

form.search {
	margin-bottom: 0;
	height: 100%;
}

.search input {
    left: unset;
    padding-right: 0px !important;
	position: static;
}

.search .control {
    padding: 0px !important;
}

.search input {
    height: 20px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #F09100;
    color: #646363;
}

@media (min-width: 1200px) {
    .search input {
        width: 0px;
        padding: 0;
        transition: width .5s, padding .5s;
    }

    .search:hover input, .search input:focus {
        width: 150px;
        margin-right: 10px;
        padding: 0 9px;
    }
}

.navbar .logo {
	width: 300px;
	position: absolute;
	top: 150px;
	left: 100px;
	z-index: 1;
}

@media (max-width: 767.98px) {
	.navbar .logo {
		width: 130px;
		top: 7px;
		left: 25px;
	}
}

.pagination {
	justify-content:center;
}

.pagination li {
	border: 2px solid #457BC1;
	min-width: 40px;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	margin-left: 10px;
	margin-right: 10px;
}

.pagination li.prev, .pagination li.next {
	border: 2px solid #D8903A;
}

.pagination li.active {
	color: #FFF;
	background-color: #457BC1;
}

.pagination li a {
	font-weight: bold;
}

.pagination li.active a {
	color: #FFF;
}

.pagination li.prev a, .pagination li.next a {
	color: #D8903A;
}

.article h4 {
	margin-top: 10px;
	margin-bottom: unset;
}

.article-link {
	color: #D8903A;
	font-weight: 600;
}

.article-link:after {
	content: ' >';
}

.breadcrumb {
	padding: 0 12px;
}

.breadcrumb span:not(:last-child):after {
	content: '>';
	color: #C3C3C3;
	margin: 0 10px; 
}

.breadcrumb span:last-child {
	font-weight: 600;
}

.breadcrumb a {
	color: #C3C3C3;
}

.articles h2 {
	font-size: 1.6rem;
}


.case-study:first-of-type {
	position: relative;
}


.case-study .intro{
	bottom: 0;
	width: 100%;
}

.case-study .intro .article-link {
	bottom: 30px;
	right: 30px;
}

.case-study:first-of-type .intro {
	position: absolute;
	color: #FFF;
	padding: 20px;
}

.case-study:first-of-type .intro .article-link {
	position: absolute;
	bottom: 30px;
	right: 30px;
	background-color: #D8903A;
	color: #FFF;
	padding: 10px 20px;
}

.case-study:first-of-type .intro .article-link:after {
	content: unset;
}

.casestudy-content .col-12 p:first-of-type {
	color: #417DC0;
	font-size: 1.4em;
	font-weight: 500;
}

.casestudy-content .testimonial {
	position: relative;
}

.casestudy-content .testimonial i {
	position: absolute;
	color: #F39200;
}

.casestudy-content .testimonial i:first-of-type {
	left: -20px;
	top: -10px;
}

.casestudy-content .testimonial i:last-of-type {
	bottom: -10px;
}


.team-member {
	position: relative;
	margin: 12px 0;
}

.team-member .intro {
	position: absolute;
	color: #FFF;
	bottom: 10px;
	left: 30px;
	padding: 10px 0px;
}

.team-member p, .team-member h3 {
	margin-bottom: 0;
}

.team-member .orange-button {
	position: absolute;
	right: 0;
	bottom: -10px;
	padding: 5px 12px;
	z-index: 1;
}

.map {
	height: 600px;
}

.contact-form {
	margin-bottom: 2rem;
}

.contact-form input {
	border: 0;
}

.contact-form label {
	display: block;
	text-transform: uppercase;
}

.contact-form input:not([type="submit"]), .contact-form textarea {
	background-color: #F2F2F1;
	width: 100%;
	padding: 10px;
}

.carousel {
	width: 90%;
}

.carousel-control-prev {
	left: -10%;
}

.carousel-control-next {
	right: -10%;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
	background-color: #F09100;
}

.carousel-indicators [data-bs-target] {
	border: 1px solid #000;
	width: 10px;
	height: 10px;
}

.carousel-indicators .active {
	background-color: #000;
}

.key-benefits {
	list-style: none;
}

.key-benefits li {
	background-color: #4178BE;
	color: #FFF;
	padding: 10px;
	width: 100%;
	margin-bottom: 10px;
	position: relative;
}

.key-benefits li:before {
	font-family: 'Font Awesome 6 Free';
    content: '\2b';
    position: absolute;
    left: -32px;
    color: black;
    background: #F09100;
    color: #FFF;
    font-weight: bold;
    padding: 10px 9px;
    top: 0;
}

.related-products {
	list-style: none;
	padding: 0;
}

.related-products li {
	background-color: #F0F0F0;
	margin-bottom: 5px;
	padding: 5px 20px;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.related-products li.active {
	background-color: #FFF;
	color: #4178BE;
}

.related-products li.active a {
	color: #4178BE;
	font-weight: 700;
}

.dropdown-hover {
	position: static;
}
.dropdown-hover:hover>.dropdown-menu {
	display: inline-block;
}

.dropdown-toggle::after {
	border: none;
	vertical-align: unset;
}

.dropdown-menu {
	top: 100%;
    width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	left: 0;
}

.dropdown {
	position: static;
}

.dropdown .dropdown-menu {
	transition: all 0.5s;
    transition-delay: 0.5s;
    max-height: 0;
	display: block;
	overflow: hidden;
	opacity: 0;
	padding: 0;
}

.dropdown:hover .dropdown-menu {
    max-height: 500px;
	opacity: 1;
	border-top: 4px solid #F09100;
	border-bottom: 4px solid #F09100;
}

.dropdown-item {
	font-size: 16px;
	font-weight: 700;
	padding-left: 0px;
	white-space: normal;
}

@media screen and (min-width: 1200px) {
	.dropdown:hover .dropdown-menu {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	
	.dropdown-item {
		min-height: 75px;
	}
}

.dropdown-menu .sub-description {
	font-size: 14px;
	white-space: normal;
}

#faqs .accordion-item {
	margin-bottom: 10px;
	border-radius: 0;
}

#faqs .accordion-button {
	background-color: #4178BE;
	color: #FFF;
	padding: 0;
	border-radius: 0;
}

#faqs .accordion-button span {
	padding: 10px;
}

#faqs .accordion-button::before {
	font-family: 'Font Awesome 6 Free';
    content: '\2b';
    color: black;
    background: #F09100;
    color: #FFF;
    font-weight: bold;
    padding: 10px 9px;
	margin-right: 10px;
}

#faqs .accordion-button:not(.collapsed)::before {
	content: '\f068';
}

#faqs .accordion-button::after {
	content: unset;
}