.tabs {
    position: relative;
margin:3em 0;
	width: 100%;

}

.tabs input {
	position: absolute;
	z-index: 1000;
	width: 178px;
	height: 40px;
	left: 0px;
	top: 0px;
	opacity: 0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
	cursor: pointer;
}
.tabs input#tab-2{
	left: 205px;
}
.tabs input#tab-3{
	left: 410px;
}
.tabs input#tab-4{
	left: 360px;
}

.tabs label {

	font-size: 17px;
	line-height: 35px;
	height: 35px;
	position: relative;
	padding: 0;
    float: left;
	display: block;
	width: 178px;
	color: #29b0e5;
	letter-spacing: 1px;
	text-transform: uppercase;
	
	text-align: center;
	border:1px solid #29b0e5;
	margin-right:27px;
	font-weight:normal;

}

.tabs label:after {
    content: '';
	background: #29b0e5;
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	
	display: block;
}

.tabs input:hover + label {
	
	color:#29b0e5;
}

.tabs label:first-of-type {
    z-index: 4;
   
}

.tab-label-2 {
    z-index: 3;
}

.tab-label-3 {
    z-index: 2;
}

.tab-label-4 {
    z-index: 1;
}

.tabs input:checked + label {
    background: #29b0e5;
	z-index: 6;
	color:#fff;
}

.clear-shadow {
	clear: both;
}

.content {
    background: #fff;
	position: relative;
    width: 100%;
	height: 370px;
	z-index: 5;
  
}

.content div {
  
	top: 13px;
	left: 0;
	width:100%;
	/*z-index: 1;
    opacity: 0;
	  position: absolute;*/

    -webkit-transition: opacity linear 0.1s;
    -moz-transition: opacity linear 0.1s;
    -o-transition: opacity linear 0.1s;
    -ms-transition: opacity linear 0.1s;
    transition: opacity linear 0.1s;
}

.tabs input.tab-selector-1:checked ~ .content .content-1,
.tabs input.tab-selector-2:checked ~ .content .content-2,
.tabs input.tab-selector-3:checked ~ .content .content-3,
.tabs input.tab-selector-4:checked ~ .content .content-4 {
	z-index: 100;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;

    -webkit-transition: opacity ease-out 0.2s 0.1s;
    -moz-transition: opacity ease-out 0.2s 0.1s;
    -o-transition: opacity ease-out 0.2s 0.1s;
    -ms-transition: opacity ease-out 0.2s 0.1s;
    transition: opacity ease-out 0.2s 0.1s;
}
.content div h2,
.content div h3{
	color: #398080;
}
.content div p {
	font-size: 14px;
	line-height: 22px;
	font-style: italic;
	text-align: left;
	margin: 0;
	color: #777;
	padding-left: 15px;
	
	
}

header .container{
	float: left;
	margin-left: 150px;
}






  .image-wrapper {
	position: relative;
	flex-grow: 1;
	margin: auto;
	margin-top: 210px;
	max-width: 800px;
	max-height: 800px;
	
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-template-rows: repeat(4, 1fr);
	grid-gap: 2vmin;
	justify-items: center;
	align-items: center;
  }
  

  @media only screen and (max-width: 1000px){
	.image-wrapper {
	  margin-top: 170px;
	  max-width: 800px;
	  max-height: 800px;
	  
	  }
	  
  }


  .image-wrapper IMG {
	z-index: 1;
	grid-column: span 2;
	max-width: 100%;
	margin-bottom: -52%;
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	transform: scale(1);
	transition: all .25s;
	
	&:nth-child(7n + 1) {
	  grid-column: 2 / span 2;
	}
	
	&:hover {
	  z-index: 2;
	  transform: scale(2);
	}
  }

  .image-wrapper IMG {
    /* filter: url(filters.svg#grayscale); Firefox 3.5+ */
      filter: gray; /* IE5+ */
      -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
      -webkit-transition: all .8s ease-in-out;  
    }

    IMG:hover {
    filter: none;
      -webkit-filter: grayscale(0);
      -webkit-transform: scale(1.01);
    }
  
	body{
		background-color: #e0f7ff;
		object-fit: cover;
		background-repeat: no-repeat;
		background-position: top;
		width: 100%;
		height: auto;

	}

	@media only screen and (max-width: 1000px){
		body{
			background-image: url();
			object-fit: cover;
			background-repeat: no-repeat;
			background-position: right 0px top 90px;
			width: 100%;
			height: auto;
	
		}
	
		
	}
	
	

	#video{
		margin-top: 20px;
		margin-bottom: 40px;
		padding-left: 380px;
	} 

	#video h2{
		margin-bottom: 5px;
	}




	ul li ul.dropdown li {
		display: block;
		background:rgb(255, 255, 255);
		margin: 20px px;
		padding-top: 10px;
		}

		ul li ul.dropdown li a{
			padding: 0px;
			text-align: left;
			align-items: center;
			}
	

		ul li ul.dropdown {
		width:auto;
		background: rgb(255, 255, 255);
		position: absolute;
		border-radius: 10px;
		z-index: 999;
		display: none;
		}
		ul li:hover ul.dropdown{
		display: block;
		}
	  


		@media only screen and (max-width: 1000px){

			ul li ul.dropdown li {
			display: block;
			background:rgb(255, 255, 255);
			margin: 20px px;
			padding-top: 10px;
			}
	
			ul li ul.dropdown li a{
				padding: 0px;
				text-align: left;
				align-items: center;
				}
		
	
			ul li ul.dropdown {
			width:auto;
			background: rgb(255 255 255);
			position: absolute;
			border-radius: 10px;
			margin-left: -170px;
			padding-left: 0px;
			z-index: 999;
			display: none;
			}
			ul li:hover ul.dropdown{
			display: block;
			}
	
	
		
	}




		@media only screen and (max-width: 1000px) {

			#video{
				margin-top: 20px;
				margin-bottom: 40px;
				padding: 0px;
			} 

			#video iframe{
				width: 100%;
				padding: 5px;
			}

		
			#video h2{
				margin-bottom: 5px;
				padding-left: 10px;
			}
		
			
		}
		

		@media only screen and (max-width: 1850px) {

			#video{
				margin-top: 20px;
				margin-bottom: 40px;
				padding: 0px;
			} 

			#video iframe{
				width: 100%;
				padding: 5px;
			}

		
			#video h2{
				margin-bottom: 5px;
				padding-left: 10px;
			}
		
			
		}


		#templatemo-nav-bar{
			margin-left: 47px;
		}

		@media only screen and (max-width: 1000px){

			#templatemo-nav-bar{
			   margin-left: 0px;
		   }
	   
   }





   .btn {
	background-color: transparent;
	color: white;
	margin-top: -5px;
	padding: 12px 30px;
	font-size: 20px;
   
	
  }


.btn a{
	text-align: center;
	align-items: center;
	padding-left: 160px;
	margin-top: -5px;
	color: #000000;
	cursor: pointer;
}
  
  /* Darker background on mouse-over */
  .btn:hover {
	background-color: transparent;
  }




  @media only screen and (max-width: 1000px){
	.socialfooter img{
		margin-top: -60px;
	}
}