﻿.image-and-text.push-both {
	margin: 40px 0;
}

.image-and-text.push-bottom {
	margin-bottom: 40px;
}

.image-and-text.push-top {
	margin-top: 40px;
}

.image-and-text .text {
	padding: 20px;
}

	.image-and-text .text *:first-child {
		margin-top: 0;
	}

/*
	.image-and-text .border-bg-primary *:first-child {
		border-right: 10px solid; // new
		border-right-color: #00308F; // 
	}
*/

.image-and-text .image img {
	margin: 0 auto;
}

@media (min-width: 992px) {

	.image-and-text .text, .image-and-text .image {
		width: 50%;
		position: relative;
		display: table-cell;
	}

	.image-and-text .text {
		vertical-align: middle;
	}

	.image-and-text .text {
		padding: 20px 20px 20px 30px;
	}


	.image-and-text .border-bg-primary {
		border-right: 1px solid; // 
		border-right-color: #00308F; // 
	}

	.image-and-text.image-right .border-bg-primary {
		border-right: 1px solid; // 
		border-right-color: #00308F; // 
	}

	.image-and-text .border-bg-success {
		border-right: 1px solid; // 
		border-right-color: #17a468; // 
	}

	.image-and-text .border-bg-red {
		border-right: 1px solid; // 
		border-right-color: #dc3545; // 
	}

	.image-and-text .border-bg-reddish {
		border-right: 1px solid; // 
		border-right-color: #9a1750; // 
	}


	.image-and-text.image-right .text {
		padding: 20px 30px 20px 20px;
		right: 50%;
	}

	.image-and-text.image-right .image {
		left: 50%;
	}

	.image-and-text.full-wide {
		padding: 0;
	}

	.image-and-text.full-wide .text {
		padding: 15px 30px;
	}
	
	
//new 7-13
//.image-and-text-ratio

	.image-and-text-ratio .image {
		width: 35%;
		position: relative;
		display: table-cell;
		border-left: 15px solid; // 
		//border-left-color: #00308F; // 
	}
	.image-and-text-ratio .border-bg-primary {
		border-left-color: #00308F; // 
	}
	.image-and-text-ratio .border-bg-success {
		border-left-color: #17a468; // 
	}
	.image-and-text-ratio .border-bg-red {
		border-left-color: #dc3545; // 
	}
	.image-and-text-ratio .border-bg-reddish {
		border-left-color: #9a1750; // 
	}

	

	.image-and-text-ratio .text {
		width: 65%;
		position: relative;
		display: table-cell;
	}	
	
	.image-and-text-ratio.image-right .image {
		padding: 20px 30px 20px 20px;
		right: 35%;
	}
	
	.image-and-text-ratio.image-right .text {
		padding: 20px 30px 20px 20px;
		right: 65%;
	}
	
	
}

.container .image-and-text .container {
	width: auto;
	padding: 0;
}




// 7-10 ImageTextTeaserSideBorder



/* ---------------------------------------------------
ImageTextBarTeaser with top border! Only one color for now!

*/

.image-text-primary-bar.push-both {
	margin: 40px 0;
}

.image-text-primary-bar.push-bottom {
	margin-bottom: 40px;
}

.image-text-primary-bar.push-top {
	margin-top: 40px;
}

.image-text-primary-bar .text {
	padding: 20px;
}

	.image-text-primary-bar .text *:first-child {
		margin-top: 0;
	}

.image-text-primary-bar .image img {
	margin: 0 auto;
}


@media (min-width: 992px) {
.image-text-primary-bar {
	width: auto;
  position: relative;
  margin: 20px 0;
  -webkit-transition: box-shadow 0.2s, transform 0.2s;
  transition: box-shadow 0.2s, transform 0.2s;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
	border-radius: 5px;
	}


// new 7-8
	.top-bar {
	border-top: 8px solid; // 
	border-top-color: #00308F; // 
	border-top-left-radius: 1px;
    border-top-right-radius: 1px;
	//border-bottom: 1px solid; // 
	//border-bottom-color: #00308F; // 
	//border-radius: 5px;
	}


.teaser-card {
  position: relative;
  margin: 20px 0;
  -webkit-transition: box-shadow 0.2s, transform 0.2s;
  transition: box-shadow 0.2s, transform 0.2s;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.teaser-card:hover {
  -ms-transform: translate(0, -4px);
  -webkit-transform: translate(0, -4px);
  transform: translate(0, -4px);
  -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}


.image-text-primary-bar:hover {
	//box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  -ms-transform: translate(0, -4px);
  -webkit-transform: translate(0, -4px);
  transform: translate(0, -4px);
  -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
	}


.image-text-primary-bar .image-text-head-primary-bar {
	width: 100%;
	color: #fff;
	background-color: #ee4c7c; //primary? no?!?
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;

  display: inline-block;
  font-weight: bold;
  text-align: center;
  vertical-align: top;
  background-image: none;
  line-height: 1.8;
  //-webkit-user-select: none;
  //-moz-user-select: none;
  //-ms-user-select: none;
  //user-select: none;
}


.image-text-red-bar .text {
	width: 50%;
	position: relative;
	display: table-cell;
	background-color: #ee4c7c;
}



.image-text-primary-bar .text, .image-text-primary-bar .image {
	width: 50%;
	position: relative;
	display: table-cell;
	background-color: #fff;
}

.image-text-primary-bar .text {
	vertical-align: middle;
}

.image-text-primary-bar .text {
	padding: 10px 20px 10px 20px;
}

.image-text-primary-bar.image-right .text {
	padding: 20px 30px 20px 20px;
	right: 50%;
}

.image-text-primary-bar.image-right .image {
	left: 50%;
}

.image-text-primary-bar.full-wide {
	padding: 0;
}

.image-text-primary-bar.full-wide .text {
	padding: 15px 30px;
}

}

.container .image-text-primary-bar .content-container {
	width: auto;
	padding: 0;
}


