html {
	height:100%;
}
  
body {
	height:100%;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
}
  
section {
	height: 100%;
}
  
.page {
	min-height: 100%; 
	display: grid; 
	grid-template-rows: auto 1fr auto;
}

.under-menu {
	height: 0px;
}

.page-header {
	background-color: black;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	position: fixed;
	width: 100%;
	z-index: 100;
}

.page-footer {
	color: #666;
	font-size: 12px;
	background-color: black;
	padding: 20px;
	text-align: center;
}

.nowrap {
	white-space: nowrap;
}

/* Menu and Navigation */

nav {
	background-color: black;
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

.logo {
	width: 100px;
}

.menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}
  
.menu li {
	margin: 0 10px;
}
  
.menu a {
	display: block;
	color: white;
	text-align: center;
	text-decoration: none;
	padding: 14px 16px;
	font-size: 18px;
	font-weight: bold;
	transition: background-color 0.3s ease;
	border-radius: 10px;
}
  
.menu a:hover {
	background-color: rgb(45, 210, 111);
	color: black;
	border-radius: 10px;
}
  
.hamburger {
	display: none;
}
  
.line {
	width: 25px;
	height: 3px;
	background-color: white;
	margin: 5px;
}


/* Section 1 */

.s1 {
	background-image: url('../images/tires.jpg');
	padding-bottom: 40vw;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: multiply;
}

.s1-title {
	position: absolute;
	width: 100%;
	margin-top: 10vw;
	font-size: 5vw;
	font-weight: bold;
	color: #ffffff;
}

.s1-title, .about-title, .equipment-title, .products-title, .contacts-title, .center {
	justify-content: center;
	text-align: center;
}

.s1-subtitle1 {
	font-size: 2vw;
	font-weight: normal;
}

.s1-subtitle2 {
	font-size: 1.5vw;
	font-weight: normal;
}

.s1-subtitle2 a, .s1-subtitle2 a:visited {
	color: rgb(244, 62, 62);
	text-decoration: none;
	border-bottom: 1px dotted rgb(181, 87, 87);
}


/* Tire oil */

.tire-oil-section {
	padding-top: 40px;
}

.title {
	font-size: 4vw;
	text-align: center;
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: 90%;
	margin: auto;
  }
  
.flex-item-left {
	flex: 30%;
	box-sizing: border-box;
}

.flex-item-right {
	flex: 70%;
	box-sizing: border-box;
}

.flex-item-left img{
	width: 90%;
}

.b {
	font-weight: bold;
}


/* Carbon black */
.carbon-black {
	margin-top: 0px;
	padding-top: 40px;
}

/* Particle size distribution images */
.img-container {
	margin-top: 40px;
	margin-bottom: 60px;
}

.rCB {
	text-align: center;
}

/* Steel wire */
.steel-wire {
	padding-top: 40px;
	padding-bottom: 60px;
}

.table {
	display: grid;
	padding-left: 5px;
	padding-right: 5px;
}

.table-to {
	/* grid-template-columns: repeat(6, 1fr); */
	grid-template-columns: 30% 10% 15% 15% 15% 15%;
}

.table-cb {
	/* grid-template-columns: repeat(4, 1fr); */
	grid-template-columns: 40% 10% 20% 30%;
}

.table-sw {
	grid-template-columns: repeat(2, 1fr);
}

.cell, .cell-l {
	border: 0.5px solid #ddd;
	padding: 5px;
	display: flex;
	align-items: center;
}

.cell {
	justify-content: center;
}

.sw-merged-cell {
	grid-column: span 2;
	background-color: #eee;
	color: #7d7d7d;
	display: flex;
	justify-content: center;
}

.rCB-img {
	width: 90%;
	max-width: 500px;
}

/* Contacts */

.contacts {
	background-color: #f8f8f8;
	padding: 40px 20vw 40px 20vw;
}


/* Small screen */

@media only screen and (max-width: 900px) {
	.menu {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		background-color: #333;
	}

	.menu li {
		margin: 10px;
	}
	
	.hamburger {
		display: block;
		cursor: pointer;
	}
	
	.hamburger:hover .line {
		background-color: #ddd;
	}
	
	.menu.active {
		display: flex;
	}

	.s1 {
		padding-bottom: 75%;
	}

	.s1-title {
		margin-top: 25vw;
		font-size: 6vw;
	}

	.s1-subtitle1 {
		font-size: 5vw;
	}
	
	.s1-subtitle2 {
		font-size: 4vw;
	}

	.title {
		font-size: 10vw;
	}

	.flex-container {
		width: 95%;
	}

	.flex-item-left, .flex-item-right {
		flex: 100%;
		box-sizing: border-box;
	}

	.img {
		width: 90%;
	}

	.table {
		font-size: 3vw;
	}

	.contacts {
		padding: 40px 40px 40px 40px;
	}

}

.red {border: 1px solid red;}