.cbp-rfgrid {
	margin: 35px 0 0 0;
	padding: 0;
	list-style: none;
	position: relative;
	max-width: 100%;
}

.cbp-rfgrid li {
	position: relative;
	float: left;
	overflow: hidden;
	width: 25%; /* Fallback */
	width: -webkit-calc(100% / 4);
	width: calc(100% / 4);
}

.cbp-rfgrid li a,
.cbp-rfgrid li a img {
	display: block;
	width: 100%;
	cursor: pointer;
}

.cbp-rfgrid li a img {
	max-width: 100%;
}

/* Flexbox is used for centering the heading */
.cbp-rfgrid li a div {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(180,46,50,0.8);
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items:baseline;
    text-align: center;
    opacity: 0;
	z-index: 100;
		-webkit-transition: all 500ms ease-out;
		-moz-transition: all 500ms ease-out;
		-o-transition: all 500ms ease-out;
		-ms-transition: all 500ms ease-out;	
		transition: all 500ms ease-out;
}

.cbp-rfgrid li a:hover div {
	opacity: 1;
}

.cbp-rfgrid li a div h3 {
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	line-height: 1;
	margin-top: 10%;
	width: 100%;
	color: white;
	text-transform: uppercase;
	font-size: 1.8em;
	letter-spacing: 0.6em;
	padding: 0 10px;
	opacity: 3;
}
.cbp-rfgrid li a div p {
	padding-top: 50%;
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	line-height: 2.5;
	margin-left: 10%;
	margin-right: 10%;
	width: 100%;
	color: #fff;
	font-size: 1em;
	letter-spacing: 2px;

}

/* Sliding Grid
-------------------------------------------------- */
section.module.parallax {
	height: auto;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	-moz-background-size: cover;
	-o-background-size: cover;
	-webkit-background-size: cover; 
	background-size: cover;
	text-align: center;
	margin: 0 auto 0 auto;
}
section.module.parallax-1 {
  background-image: url("../../../template/template/slider/Body_Image_Clot.jpg");
}
section.module.parallaxTwo {
  height: auto;
  background-position: 50% 50%;
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  text-align: center;
  margin: 0 auto 0 auto;
}
section.module.parallaxTwo-2 {
  background-image: url("../../../template/template/slider/Pattern_Image.gif");
}
section.module.parallax-SM {
  background-image: url("../../../template/template/slider/Social-Media.png");
}
section.module.parallax-SM1 {
  background-image: url("../../../template/template/slider/SM_i-am-an-advocate.png");
}
section.module.parallax-SM2 {
  background-image: url("../../../template/template/slider/SM_i-am-on-a-mission.png");
}
section.module.parallax-SM3 {
  		background-image: url("../../../template/template/slider/SM_pfft-whatever-blood-clot.png");
}
section.module.parallax-SM4 {
  		background-image: url("../../../template/template/slider/SM_awareness-ribbon.png");
}
section.module.parallax-MRL {
  		background-image: url("../../../template/template/slider/Martin_Lemieux.jpg");
}
section.module.parallax-MRL_SM {
  		background-image: url("../../../template/template/slider/Martin_Lemieux_connect.jpg");
}
section.module.parallax-Funding {
  		background-image: url("../../../template/template/slider/Sponsors.png");
}
section.module.parallax-News {
  		background-image: url("../../../template/template/slider/News.jpg");
}
section.module.parallax-Bmembers {
  		background-image: url("../../../template/template/slider/Board.jpg");
}

/* LEARNING MODULES
----------------------------------------------------- */
section.module.parallax-Learning {
  		background-image: url("../../../template/template/slider/Learning.jpg");
}
section.module.parallax-BloodClots {
  		background-image: url("../../../template/template/slider/Blood-Clots.jpg");
}
section.module.parallax-Thrombosis {
  		background-image: url("../../../template/template/slider/Thrombosis.jpg");
}
section.module.parallax-Pregnant {
  		background-image: url("../../../template/template/slider/Pregnantcy.jpg");
}
section.module.parallax-Cancer {
  		background-image: url("../../../template/template/slider/Cancer.jpg");
}
section.module.parallax-Varicose {
  		background-image: url("../../../template/template/slider/Varicose-Veins.png");
}
section.module.parallax-PTS {
  		background-image: url("../../../template/template/slider/Post-Thrombotic-Syndrome.jpg");
}
section.module.parallax-DVT {
  		background-image: url("../../../template/template/slider/Deep-Vein-Thrombosis.jpg");
}
section.module.parallax-PE {
  		background-image: url("../../../template/template/slider/Pulmonary-Embolism.jpg");
}
section.module.parallax-IschemicStroke {
  		background-image: url("../../../template/template/slider/Ischemic-Stroke.jpg");
}
section.module.parallax-HeartAttack {
  		background-image: url("../../../template/template/slider/Heart-Attack.jpg");
}
section.module.parallax-Patients {
  		background-image: url("../../../template/template/slider/Patients.jpg");
}
section.module.parallax-Programs {
  		background-image: url("../../../template/template/slider/Programs.jpg");
}

/* CONTENT PATTERNS
--------------------------------------------------- */
.content-wrap {
  	background-image: url("../../../template/template/slider/Content_Pattern_Image.png");
}

/* Fade In Right
---------------------------------------------------- */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}
@-webkit-keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRightBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig;
}
@-webkit-keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDownBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDownBig {
  -webkit-animation-name: fadeInDownBig;
  animation-name: fadeInDownBig;
}


/* Bar TABS
----------------------------------------- */

.tabs-style-bar nav {
	background: rgba(255,172,177,1);
	padding: 10px 0 10px 0;
	border-bottom: 1px solid #9C5861;
}

.tabs-style-bar nav ul {
	border: 4px solid transparent;
}

.tabs-style-bar nav ul li a {
	margin: 0 2px;
	background-color: #FFACB1;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#eaeaea));
	background-image: -webkit-linear-gradient(top, #f6f6f6, #eaeaea);
	background-image: -moz-linear-gradient(top, #f6f6f6, #eaeaea); 
	background-image: -ms-linear-gradient(top, #f6f6f6, #eaeaea); 
	background-image: -o-linear-gradient(top, #f6f6f6, #eaeaea);
	background-image: linear-gradient(top, #f6f6f6, #eaeaea);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .1);
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .1);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 2px 3px rgba(0, 0, 0, .1);
}

.tabs-style-bar nav ul li a:hover,
.tabs-style-bar nav ul li a:focus {
	color: #F0DDDE;
}

.tabs-style-bar nav ul li a span {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
	font-size: 0.6em;
}

.tabs-style-bar nav ul li.tab-current a {
	background: #F2A6A6;
	color: #fff;
	border-left: 3px solid #C04F53;
	border-right: 3px solid #C04F53;
}

@media screen and (max-width: 1190px) {
	.cbp-rfgrid li {
		margin: 0 0 0 0;
		width: 30%; /* Fallback */
		width: -webkit-calc(100% / 4);
		width: calc(100% / 4);
	}
	.cbp-rfgrid li a div h3 {
		font-size: 1.3em;
	}
	.cbp-rfgrid li a div p {
		padding-top: 50%;
		font-size: 0.8em;
		line-height: 1.5;
	}
	
	section.module.parallax-1 {
		background-image: url("../../../template/template/slider/Body_Image_Clot_1200.jpg");
	}
	section.module.parallaxTwo-2 {
  		background-image: url("../../../template/template/slider/Pattern_Image_1200.gif");
	}
	section.module.parallax-SM {
  		background-image: url("../../../template/template/slider/Social-Media_1200.png");
	}
	section.module.parallax-SM1 {
		background-image: url("../../../template/template/slider/SM_i-am-an-advocate_1200.png");
	}
	section.module.parallax-SM2 {
  		background-image: url("../../../template/template/slider/SM_i-am-on-a-mission_1200.png");
	}
	section.module.parallax-SM3 {
  		background-image: url("../../../template/template/slider/SM_pfft-whatever-blood-clot_1200.png");
	}
	section.module.parallax-SM4 {
  		background-image: url("../../../template/template/slider/SM_awareness-ribbon_1200.png");
	}
}
@media screen and (max-width: 945px) {
	.cbp-rfgrid li {
		width: 25%; /* Fallback */
		width: -webkit-calc(100% / 4);
		width: calc(100% / 4);
	}
	section.module.parallax {
		height: auto;
	}
	section.module.parallaxTwo {
		height: auto;
	}
}
@media screen and (max-width: 900px) {
	section.module.parallax-1 {
		background-image: url("../../../template/template/slider/Body_Image_Clot_700.jpg");
	}
	section.module.parallaxTwo-2 {
  		background-image: url("../../../template/template/slider/Pattern_Image_700.gif");
	}
	section.module.parallax-SM {
  		background-image: url("../../../template/template/slider/Social-Media_700.png");
	}
	section.module.parallax-SM1 {
		background-image: url("../../../template/template/slider/SM_i-am-an-advocate_900.png");
	}
	section.module.parallax-SM2 {
  		background-image: url("../../../template/template/slider/SM_i-am-on-a-mission_900.png");
	}
	section.module.parallax-SM3 {
  		background-image: url("../../../template/template/slider/SM_pfft-whatever-blood-clot_900.png");
	}
	section.module.parallax-SM4 {
  		background-image: url("../../../template/template/slider/SM_awareness-ribbon_900.png");
	}
}
@media screen and (max-width: 750px) {
	section.module.parallaxTwo,
	section.module.parallax {
		margin-top: -15px;
	}
	section.module.parallax-SM1 {
		background-image: url("../../../template/template/slider/SM_i-am-an-advocate_700.png");
	}
	section.module.parallax-SM2 {
  		background-image: url("../../../template/template/slider/SM_i-am-on-a-mission_700.png");
	}
	section.module.parallax-SM3 {
  		background-image: url("../../../template/template/slider/SM_pfft-whatever-blood-clot_700.png");
	}
	section.module.parallax-SM4 {
  		background-image: url("../../../template/template/slider/SM_awareness-ribbon_700.png");
	}

}
@media screen and (max-width: 660px) {
	.cbp-rfgrid li {
		width: 50%; /* Fallback */
		width: -webkit-calc(100% / 2);
		width: calc(100% / 2);
	}
	.cbp-rfgrid li a div {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	}
	.cbp-rfgrid li a div h3 {
		font-size: 1em;
	}
	.cbp-rfgrid li a div p {
		padding-top: 30%;
		font-size: 0.7em;
	}
	section.module.parallax-1 {
		background-image: url("../../../template/template/slider/Body_Image_Clot_500.jpg");
	}
	section.module.parallaxTwo-2 {
  		background-image: url("../../../template/template/slider/Pattern_Image_500.gif");
	}
	section.module.parallax-SM {
  		background-image: url("../../../template/template/slider/Social-Media_500.png");
	}
}

@media screen and (max-width: 400px) {
	.cbp-rfgrid li {
		width: 50%; /* Fallback */
		width: -webkit-calc(100% / 2);
		width: calc(100% / 2);
	}
	section.module.parallax-SM1 {
		background-image: url("../../../template/template/slider/SM_i-am-an-advocate_400.png");
	}
}

@media screen and (max-width: 300px) {
	.cbp-rfgrid li {
		width: 100%;
	}
	section.module.parallax-1,
	section.module.parallax-2,
	section.module.parallax-SM,
	section.module.parallax-SM1,
	section.module.parallax-SM2,
	section.module.parallax-SM3,
	section.module.parallax-SM4 {
		background-image: url("../../../template/template/slider/Body_Image_Clot_none.jpg");
	}
}