@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,600,700|Poppins:300,400,500,600,700,900');
@import url('https://fonts.googleapis.com/css?family=Teko:400,500');

body {
	color: #000;
	font: 400 18px/1.67 'Poppins', sans-serif;
}
.clearfix:before {
	content: "";
	display: table;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.div-center-align {
	margin: 0 auto;
	display: table;
}
.div-left-align {
	margin: 0 0;
}
.btn-danger {
    background-color: #ed1c24;
}
.btn-read-more {
	color: #ed1c24;
}
.color-highlight {
	color: #ed1c24;
}

/*override bootstrap classes*/
.navbar-light .navbar-toggler-icon {
    background-image: url('../images/icons/menu.svg') !important;
}
.navbar {
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5);
}
.navbar-brand img {
	height: 55px;
	width: auto;
	transition: 0.5s height;
}
.nav-link {
	padding-right: 1rem !important;
    padding-left: 1rem !important;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}
.nav-link.btn {
	margin: 0 1rem;
}

/**********HEADER, TEXT STYLES STARTS HERE************/
h1.page-title {
    color: #fefefe;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.35);
    font: 600 60px/1.2 'Poppins', sans-serif;
    font-variant: small-caps;
    letter-spacing: 2px;
}
h2 {
	font: 700 30px/1.3 'Poppins', sans-serif;
	text-transform: uppercase;
	margin: 0 0 1em;
}
h2 span, .red-txt {
	color: #ed1c24;
	display: block;
	font: 500 16px/1.3 'Poppins', sans-serif;
}
span.color-red {
	display: inline-block;
	color: #ed1c24;
	font: 700 30px/1.3 'Poppins', sans-serif;
	text-transform: uppercase;
}
p {
	margin: 0 0 1em;
}
a {
	color: #000;
	font-weight: 500;
}
a:hover, a:focus, a:active {
	color: #ed1c24;
	text-decoration: underline;
}
.txt-white {
	color: #fff;
}
.txt-lg {
	font-size: 24px;
	font-weight: 400;
}
.txt-md {
	font-weight: 500;
}
.txt-sm {
	font-size: 16px;
}
.txt-xs {
	font-size: 14px !important;
}
.txt-xss {
	font-size: 12px;
}
.campaign-heading {
	font-size: 36px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 1px;
}
.campaign-heading span {
	font-size: 16px;
	font-weight: 500;
	color: #fff;	
}
.day-countdown {
	color: #fff;
}
.day-countdown span {
	font-size: 14px;
	color: #fff;
}
.day-countdown p {
	font-size: 36px;
}
/**********HEADER STYLES ENDS HERE************/

/**********BACKGROUND, BORDER STYLES STARTS HERE************/
.bg-grey {
	background: #f2f2f2;
}
.bg-dark-grey {
   background-color: rgba(0, 0, 0, 0.6);
}
.bg-footer-light {
	background: #424242
}
.bg-footer {
	background: #1a1a1a;
}
.bg-white {
	background: #fff;
}
.bg-red {
	background: #ed1c24;
}
.box-shadow-grey {
	box-shadow: 0px 0px 5px rgba(119,119,119,0.3)
}
.border-grey {
	border: 1px solid #c7c7c7;
}
/**********BACKGROUND, BORDER STYLES ENDS HERE************/

/**********MARGIN,PADDING STYLES STARTS HERE************/
.m-0{
	margin: 0;
}
.m-1{
	margin: 1em 0;
}
.mb-4{
	margin-bottom: 4rem;
}
.mt-4{
	margin-top: 4rem !important;
}
.mt-2{
	margin-top: 2rem !important;
}
.mb-2{
	margin-bottom: 2rem;
}
.mr-2{
	margin-right: 2rem;
}
.ptb-4{
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.plr-4{
	padding-left: 4rem;
	padding-right: 4rem;
}
.pt-1{
	padding-top: 1em;
}
.pb-1{
	padding-bottom: 1em;
}
.p-all{
	padding: 0.5em 1em;
}
/**********MARGIN,PADDING STYLES ENDS HERE************/
/***cta***/
.cta-mail-wrap{
	background: #ed1c24;
	padding: 0.5rem 0;
}
.cta-mail-list{
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.cta-mail-list li{
	float: left;
	margin-right: 1.5rem;
}
.white-link{
	text-decoration: none;
	color: #fff;
}
.white-link:hover,
.white-link:focus,
.white-link:active{
	color: #fff;
	text-decoration: none;
}
.cta-mail-list .fa{
	color: #fff;
	margin-right: 7px;
	vertical-align: middle;
}

/*top-header*/
.top-header {
	background: #ed1c24;
}
.top-header ul.right-link {
	text-align: right;
}
.top-header ul.left-link,
.top-header ul.right-link {
	list-style: none;
	margin: 0;
	padding: 0;
}
.top-header ul.left-link li {
	display: inline-block;
	padding-right: 1rem;
}
.top-header ul.right-link li {
	display: inline-block;
	padding-left: 1rem;
}
.top-header ul.right-link li .ico,
.top-header ul.left-link li .ico {
	color: #fff;
	margin-right: 7px;
	vertical-align: -webkit-baseline-middle;
}

/***banner campaign***/
/* .banner-wrap{
	background: url('../images/banner-1.jpg') no-repeat center/cover;
	background-attachment: fixed;
	padding: 12rem 0 2rem;
} */
.banner-wrap {
	min-height: 60vh;
}
.tp-caption {
	font-size: 48px !important;
	line-height: 52px !important;
	font-weight: 600 !important;
	color: #fff;
}
.tp-caption span {
	color: #ed1c24;
}

.day-countdown{
	display: inline-block;
	margin-right: 1rem !important;
}
.day-countdown p{
	margin: 0;
}
/**causes**/
.causes-desc {
	text-align: center;
}
.container-causes .img-wrap, .future-campaign-wrap .img-wrap {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	overflow: hidden;
	margin: auto;
}
.container-causes .img-wrap img, .future-campaign-wrap .img-wrap img {
	position: absolute;
	/* top: -25px; */
}
.container-causes .img-wrap .overlay{
	height: 100%;
	background: rgba(0,0,0,0.3);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.container-causes .count, .container-causes .counted {
	position: absolute;
	font: 600 48px/1.3 'Poppins', sans-serif;
	bottom: 1rem;
	right: 0;
	left: 0;
	text-align: center;
	color: #fff;
	z-index: 99;
}
.be-volunteer {
	background-image: url('../images/bg-volunteer.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}
/***future campaign***/
.img-wrap {
	position: relative;
}
.img-wrap img {
	width: 100%;
}

.team-wrap .img-wrap {
	border-radius: 50%;
	overflow: hidden;
}
.team-wrap .img-desc {
	bottom: 15%;
	text-align: center !important;
	z-index: 4;
}
.team-wrap .img-author-quote {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
	border: 1px solid #424242;
	border-radius: 50%;

	background: #424242;
	color: #FFF;
	
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1rem;
}
.team-wrap .img-author-quote p {
	margin: 0;
}

.team-wrap .img-wrap:hover > .img-author-quote {
	display: flex;
}

.img-desc {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 30%;
	background: rgba(255,255,255,0.6);
}
.future-campaign-wrap .future-camp-info {
	height: 80px;
}
.future-camp-info .txt-sm {
	color: #000;
}
.future-camp-date {
	height: 100%;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.5em;
}
.future-camp-date sup {
	font-weight: 300;
}
/***past campaign***/
.event-desc .fa{
	margin-right: 1rem;
}
.past-camp-date{
	position: absolute;
	top: 0;
	right: -11px;
	color: #fff;
}
.past-camp-date:before{
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 9px solid #b61218;
    position: absolute;
    bottom: -7px;
    right: 1px;
    content: '';
    transform: rotate(-46.4deg);
}
.past-camp-date sup{
	font-weight: 300;
}

.about-wrap .read-more {
	margin-top: 30px;
}

.new-banner {
	padding: 150px 0;
	position: relative;
}
.new-banner .bg-mask {
	background: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 1;
}
.new-banner .banner-content {
	position: relative;
	color: #fff;
	z-index: 2;
}
/* .new-banner h2, 
.new-banner h4 {
	color: #fff;
} */

/*** Owl carousel **/
.owl-carousel .item{
  margin: 0 2rem;
}
.owl-carousel .item img{
  display: block;
  width: 100%;
  height: auto;
}
/*** Footer ***/
.social{
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.social li{
	float: left;
	margin-right: 1rem;
}
.social li a.white-link:hover{
	color: #ed1c24;
}
.bg-footer .form-control {
	background: transparent;
	border: 2px solid #fff;
	color: #ffffff !important;
}
.modal-header{
	padding: 0.5rem 1rem;
}
.footer-links ul{
	list-style-type: none;
	padding: 0;
}

.footer-links .color-highlight {
	color: #ed1c24;
}

.volunteer-box {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
	position: relative; /* If you want text inside of it */
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 1rem;
}
.volunteer-box img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.volunteer-box .overlay {
	background: rgba(255,255,255,0.5);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-content: center;
	opacity: 1;
	transition: opacity 0.5s;
}
.volunteer-box .overlay p {
	font-size: 14px;
	align-self: center;
	margin: 0;
}
/* No images present so names will be visible */
/* .volunteer-box:hover .overlay {
	opacity: 1;
	transition: opacity 0.5s;
} */
.patient-card {
	margin-bottom: 2rem;
}
.patient-inner-card {
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 1rem;
}
.patient-card-sample {
	display: none;
}
.patient-card .patient-img {
	position: relative;
}
.patient-card .patient-img img {
	min-width: 100%;
	height: 140px;
}
.patient-card .patient-img .label {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	background: #FFF;
	font-weight: bold;
	font-size: 14px;
	text-align: center;
}
.patient-card .patient-details {
	padding: 0.5rem;
}
.patient-card .patient-details h4 small {
	font-size: 65%;
}
.patient-card .patient-details h5 {
	font-size: 18px;
	margin-bottom: 1rem;
}
.patient-card .patient-details p {
	font-size: 16px;
	margin-bottom: 0;
}


.student-card {
	margin-bottom: 2rem;
}
.student-inner-card {
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 1rem;
}
.student-card-sample {
	display: none;
}
.student-card .student-img {
	position: relative;
}
.student-card .student-img img {
	min-width: 100%;
	height: 140px;
}
.student-card .student-img .label {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	background: #FFF;
	font-weight: bold;
	font-size: 14px;
	text-align: center;
}
.student-card .student-details {
	padding: 0.5rem;
}
.student-card .student-details h4 small {
	font-size: 65%;
}
.student-card .student-details h5 {
	font-size: 18px;
	margin-bottom: 1rem;
}
.student-card .student-details p {
	font-size: 16px;
	margin-bottom: 0;
}


.masonry-grid {
    column-count: 3;
    column-gap: 0.5em;
}

.item {
    display: inline-block;
    margin: 0 0 0.5em;
    width: 100%;
}

.gallery-image {
	position: relative;
}
.gallery-image img {
	transition: 0.5s opacity;
}
.gallery-image:hover img {
	opacity: 0.25;
	transition: 0.5s opacity;
}
.gallery-image:after {
	content: 'j';
	font-family: "vsngo";
	position: absolute;
	top: calc(50% - 15px);
	left: 0;
	right: 0;
	text-align: center;
	opacity: 0;
}
.gallery-image:hover:after {
	opacity: 1;
}