/** INDUSTRY DISCOUNTS **/

#purple-box {
	background-color: #A836A2;
	color: #ffffff;
}

#purple-interior {
	max-width: 700px;
	padding: 60px 0;
	margin: 0 auto;
	text-align: center;
}

#purple-interior h1 {
	font-size: 50px;
	letter-spacing: 1.5px;
}

#purple-interior h2 {
	font-size: 18px;
	letter-spacing: 3px;
	font-family: Radikal, sans-serif;
	margin-top: 0;
}

#purple-interior .tagline {
	font-size: 16px;
}

#white-box {
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom: 50px;
}

#white-box h2 {
	text-align: center;
	font-size: 50px;
}

#white-boxes {
	display: flex;
	justify-content: space-between;
}

#white-boxes h5 {
	text-align: center;
	font-size: 14px;
	font-family: Radikal, sans-serif;
	letter-spacing: 3px;
	font-weight: normal;
	text-transform: uppercase;
}

#white-boxes img {
	display: block;
	margin: 0 auto;
}

#black-box {
	padding: 50px 0;
	color: #ffffff;
	background-color: #000;
}

#black-box h2 {
	text-align: center;
	font-size: 14px;
	font-family: Radikal, sans-serif;
	letter-spacing: 3px;
	font-weight: normal;
	text-transform: uppercase;
	margin-bottom: 30px;
}

#black-boxes {
	text-align: center;
	max-width: 1400px;
	margin: 0 auto;
}

#orange-box {
	padding: 60px 0;
	color: #fff;
	background-color: #ff7300;
}

#orange-box h2 {
	text-align: center;
	font-size: 50px;
	margin-top: 0;
	margin-bottom: 10px;
}

#orange-box .tagline {
	text-align: center;
	font-size: 14px;
	font-family: Radikal, sans-serif;
	letter-spacing: 3px;
	font-weight: normal;
	text-transform: uppercase;
}

#brands-slider {
	max-width: 1140px;
	margin: 40px auto;
}

#brands-slider .brand {
	padding: 10px;
	text-align: center;
	cursor: pointer;
}

#brands-slider .brand h5 {
	font-size: 13px;
	font-family: Radikal, sans-serif;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: normal;
}

#brands-slider .slick-prev {
	background: url('img/sprites.png') no-repeat;
	/* background-size: 40px; */
	height: 30px;
	width: 30px;
	/* left: -20px; */
	background-position: 0 -110px;
	zoom: 0.5;
	-moz-transform: scale(0.5);
	-moz-transform-origin: 0 0;
	top: 35%;
}

#brands-slider .slick-next {
	background: url('img/sprites.png') no-repeat;
	/* background-size: 20px; */
	height: 30px;
	width: 30px;
	background-position: -20px -110px;
	zoom: 0.5;
	-moz-transform: scale(0.5);
	-moz-transform-origin: 0 0;
	right: -40px;
	top: 35%;
}

#brands-slider .slick-dots li {
	margin: 0;
}

#black-box .container {
  position: relative;
  float: left;
  width: 23%;
  height: 400px;
  margin: 1%;
  background: #fff;
  
  
  /* Set the depth of the elements */
  -webkit-perspective: 800px;
  -moz-perspective: 800px;
  -o-perspective: 800px;
  perspective: 800px;
}

#black-box .card {
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
  
  
  /* Set the transition effects */
  transition: transform 0.4s;
  transform-style: preserve-3d;
}

/*#black-box .card:hover {
  transform: rotateY( 180deg);
}*/


#black-box .card.flipped {
  -webkit-transform: rotateY( 180deg );
  -moz-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
 
}

#black-box .card .front,
#black-box .card .back {
  display: block;
  height: 100%;
  width: 100%;
  text-align: center;
  position: absolute;

	display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  
  box-shadow: 3px 5px 20px 2px rgba(0, 0, 0, 0.25);
}

#black-box .card .front h3 {
	font-size: 30px;
}

#black-box .card .back p {
	height: 75px;
}

#black-box .card .front .card-text {
	padding: 0 25px;
	height: 100px;
}

#black-box .card .back {
  width: 100%;
  padding-left: 3%;
  padding-right: 3%;
  font-size: 16px;
  text-align: left;
  line-height: 25px;
  background-color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
}

#black-box .card .back {
  -webkit-transform: rotateY( 180deg );
  -moz-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}

#black-box .card p a {
	color: #ffffff !important;
}

#black-box .card .apply-link {
	text-decoration: none;
	background-color: #fff;
	color: #000;
	padding: 8px 20px;
}

#black-box .card .back h3 {
	font-size: 24px;
}


@media only screen and (max-width: 1024px) {

	/** INDUSTRY DISCOUNTS **/

	.page-template-page-industry #white-box, .page-template-page-industry #black-box, .page-template-page-industry #orange-box {
		padding-left: 30px;
		padding-right: 30px;
	}

	#white-boxes .box {
		flex-basis: 25%;
	}

	#purple-interior .tagline {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media only screen and (max-width: 768px) {

/** INDUSTRY DISCOUNTS **/

	#white-boxes {
		flex-wrap: wrap;
	}

	#white-boxes .box {
		flex-basis: 50%;
	}
	
}

@media only screen and (max-width: 680px) {

	/** INDUSTRY DISCOUNTS **/

	#black-box .container {
		width: 99%;
		margin-bottom: 10px;
		height: 420px;
	}

	#black-box .card .front, #black-box .card .back {
		display: block !important;
		box-shadow: none;
		position: static;
		-webkit-backface-visibility: visible;
  -moz-backface-visibility: visible;
  -o-backface-visibility: visible;
		backface-visibility: visible;
		height: auto;
	}

	#black-box .card .back {
		transform: none;
		-webkit-transform: none;
		  -moz-transform: none;
		  -o-transform: none;
		background-color: transparent !important;
	}

	#black-box .card .front .card-text {
		height: auto;
	}

	.quick_view_button {
		display: none !important;
	}
}