.main {
	font-family: Arial, sans-serif;
	display: grid;
	grid-template: repeat(3, minmax(100px, max-content)) repeat(5, minmax(min-content, max-content)) / repeat(6, 1fr);
	grid-gap: 10px;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
}

.mainimg {
	grid-area: 1 / 1 /4 / 7;
	float: none;
	overflow: hidden;
}

.mainimg img {
  width: 100%;
	max-height: 50vw;
	align-self: stretch;

}

.toptxt {
	grid-area: 2 / 3 / 3 / 5;
	color: white;
	text-align: center;
	z-index: 10;
	font-size: calc(0.4em + 1.1vw);
	overflow: hidden;
  }

.bottomtxt {
  color: white;
  font-stretch: ultra-condensed;
  letter-spacing: 0.05em;
}

.maintxt {
	position: relative;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
	grid-area: 4 / 2 / 7 / 6;
	text-align: center;	
	z-index: 5;
	font-size: calc(0.4em + 1vw);
	margin-top: 70px;
	margin-bottom: 70px;
}

.maintxt:before {
	grid-area: 4 / 2 / 7 / 6;
	content: ' ';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.25;
	background-image: url('../images/RJWCLogo.png');
	background-position: center;
	background-size: 35vw 35vw;
	background-repeat: no-repeat;
	z-index: -1;
	}
	
.container {
	grid-area: 7 /1 /8 /7;
}

.carousel-caption {
	font-size: calc(0.4em + 1.1vw) !important;
	overflow: hidden;
	-webkit-text-stroke: 1px white !important;
}

.item img {
	width: 100% !important;
	max-height: 50vw !important;
	align-self: stretch !important;
}

.mainsmltxt {
	font-size: calc(0.3em + 0.7vw);
	color: dimgray;
}

@media screen and (max-width:1000px) {
	  .toptxt {
		grid-area: 4 / 2 / 5 / 6;
		color: black;
		text-align: center;
		z-index: 10;
		font-size: calc(0.4em + 1.1vw);
		overflow: hidden;
		-webkit-text-stroke: 0px black;
	  }
	  
	  .bottomtxt {
		color: black;
		font-stretch: normal;
		-webkit-text-stroke: 0px black;
		letter-spacing: normal;
	  }
	  
	  .mainimg img {
		max-height: 60vw;
	  }
	  
	  .maintxt {
		  grid-area: 5 / 2 /7 /6;
		  margin-top: 20px;
		  margin-bottom: 20px;
	  }
	}

.footer {
  grid-area: 8 / 1 / 9 / 7; 
  font-size: calc(-0.4em + 1.1vw);  
  text-align: center;
    padding: 3px;
    background-color: #333;
    color: white;
}

.footul {
  list-style-type: none;
  display: inline;
}

.footul li {
  float: right;
  padding: 16px;
}

.copy {
  color: silver;
  font-size: calc(-0.2em + 0.9vw);
}

.mail a {
  color: white;
}

.aws img {
	  grid-area: 7 / 1 / 8 / 2;
	  max-height: 3vw;
	  justify-self: left;
	  align-self: center
	}