/*  =================================================================================
 *	Project specific styles !!!	Don't edit styles.css !!!
 *	
 *	Rename File to project-style.css and insert project specific styles here.
 *  =================================================================================
 */
 

/*
General styles
================================================== */
/* Note: Add new css that you want to effect the page, no matter on which device displayed */


/* The flip box container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-box {
  background-color: transparent;
  width: 100%;
  height: 300px;
  border: none;
  vertical-align: middle;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  background-size: cover;
  background-position: center;
}

/* Style the front side */
.flip-box-front {
  text-transform: uppercase;
  font-size: 2em;
  line-height: 2.2em;
  font-weight: bold;
}

/* Style the back side */
.flip-box-back {
  transform: rotateY(180deg);
}

.flip-box-bg-blue{
  background-color: #0071c2;
  color: white;
}

.flip-box-bg-white{
  background-color: #ffffff;
}
.flip-box-bg-grey{
  background-color: #3c4448;
  color: white;
}

.flip-box-content{
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.flip-box-img{
	max-width: 100%;
	max-height: 300px;
}

.flip-box-img-fit{
	object-size: cover;
	height: auto;
	width: auto;
	max-width: 100%;
	max-height: none;
}


.flip-info{
	/*display: none;	Enabled for all screens */
	display: block;
	text-align: center;
}

	
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}

@media only screen and (min-width: 768px) and (max-width: 1037px) {
  /* Add your Desktop Styles here */
  
  .header-double-line-height{
	  min-height: 4em;
}
}


/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 989px) and (orientation : portrait) {
  .flip-box-back {
	  font-size: 0.8em !important;
	  line-height: 1.4em !important;
  }
  
  .flip-info{
	font-size: 0.8em !important;
	line-height: 1.4em !important;
  }
}

@media (pointer: coarse){
 /*   Enabled for all Screens
  *
  *
  .flip-info{
	display: block;
  }*/
}