.hero-clip{
   -webkit-clip-path: polygon(0% 0%, 100% 0%, 81% 100%, 0% 100%);
clip-path: polygon(0% 0%, 100% 0%, 81% 100%, 0% 100%);

 }

.maincontent {
max-width:100%;
}

.header-bg {
  background-image:linear-gradient(to bottom, rgb(35, 125, 198), rgb(255,255,255) );
  width:100%;
  padding:30px 0;
  text-align:center;
  margin:0;
}

.header-bg p {
  max-width:1000px;
}

.videoWrapper {
	position: relative;
	padding-top: 25px;
        padding-bottom: 56.25%;
	max-width:560px;
        max-height:500px;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
        max-width:560px;
        max-height:315px;
}

.myButton {
	box-shadow: 0px 0px 0px 2px #9fb4f2;
	background-color:transparent;
	border-radius:10px;
	border:1px solid #4e6096;
	display:inline-block;
	cursor:pointer;
	color:#000;
	font-family:Arial;
	font-size:18px;
	padding:10px 26px;
	text-decoration:none;
	text-shadow:0px 1px 0px #283966;
}
.myButton:hover {
	background-color:#0078C1;
        color:white;
}
.myButton:active {
	position:relative;
	top:1px;
}


.container1 {
  position: relative;
  color: black;
  
}

.centered {
  position:absolute;
  bottom:0; 
  background-color:rgba(255,255,255,0.9);  
  padding:10px 20px;
  width:100% !important;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  padding-bottom:20px;
  transition: 0.3s;
  max-width:330px;
  position:relative;
  margin:0 auto;
  margin-bottom:20px;
  min-height:550px;
  text-align:center;
  
}

.card p {
  min-height:150px;
  font-size:18px;
}


.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}


.card-container {
  padding: 2px 16px;
}

.overlay {
  position: relative;
  width:100%;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.overlay:hover .image {
  opacity: 0.6;
}

.overlay:hover .middle {
  opacity: 1;
}

.text {
  font-size: 16px;
  padding: 16px 32px;
}

.flex-row {
    display: flex;
    flex-wrap:wrap;
    margin-bottom:50px;
  }
  
  .column {
    flex: 50%;
    text-align:center;
  }

  .column-text {
    padding:0 10px 10px 10px;
    font-size:16px;
}
  
.card-box { 
 position:relative;
 max-width:800px;
-webkit-box-shadow: 2px 5px 15px 1px rgba(0,0,0,0.41); 
box-shadow: 2px 5px 15px 1px rgba(0,0,0,0.41);
}

.card-box p {
  min-height:115px;
  position:relative;
}

.palette-btn {
  
}

.image {
  width:100%;
}

@media only screen and (max-width: 992px) {
  .hero-clip {
     -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
     clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}


@media only screen and (max-width: 400px) {
  .container1 {
     min-height:200px;
  }
}