body {
	background-color: #f3f3f3;
}

.fundraisingPage .title {
	font-size: 1.8rem;
	font-weight: 600;
}
.page-content {
	background-color: #ffffff;
	border-radius: 8px;
	padding-bottom: 20px !important;
}

@media (min-width: 767px) {
	.page-content {
		padding: 0 2%;
	}
}

.page-content.panel {
	border-bottom: none !important;
}

.no-padding {
	padding: 0 !important;
}

.top-banner {
	position: relative;
	width: 100%;
	margin-bottom: 2rem;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.top-banner > .img-responsive {
	width: 100%;
}

.banner-overlay {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	height: 0;
	opacity: 0;
	background: rgba(34,34,34,0.7);
	color: white;
	overflow: hidden;
	text-align: center;
	transition: all 0.5 ease-in-out;
}

.banner-overlay a {
	color: white !important;
}

.top-banner:hover .banner-overlay {
	opacity: 1;
	height: 2rem;
}

/* Note: we cannot use ".customized .nav-tabs>li>a" as selector bellow */
/* in order for the standard .nav-tabs>li.active>a to take precedence. */
.page-controls .nav-tabs a {
	/* Have more visual tabs with a darker background on inactive ones */
	background-color: #d3d3d3;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
}

.tab-controls {
	padding-left: 10px;
	padding-right: 10px;
}

.nav-controls {
	border-bottom-width: 0px;
}

.alvarum-tab {
	float: right !important;
}

@media (max-width: 767px) {
	.nav-controls {
		font-size: 70%;
	}
	.nav-controls a {
		padding: 6px 6px !important;
	}
}

.nav-controls a {
	color: inherit;
	text-decoration: none;
}

/* FRP MAIN INFO - FRP HEADER */
@media (min-width: 768px) {
	.frp-header {
		margin-bottom: 15px;
		padding-bottom: 0;
		padding-left: 0;
	}

	h1.frp-title {
		font-size: 32px;
		margin-bottom: 24px;
	}
}

.frp-header {
	margin-top: 20px;
}

.section-title {
	font-size: 18px;
	font-weight: normal;
}

.title-xs {
	padding-left: 40px;
}

.frp-main-picture-container.thumbnail {
	margin-bottom: 0;
	cursor: pointer;
}

.picture-super-container.thumbnail {
	max-width: none;
	display: inline-block;
}

@media (min-width: 768px) {
	.picture-container {
		overflow: hidden;
		height: 265px;
		width: 265px;
	}
}

@media (min-width: 992px) {
	.picture-container {
		overflow: hidden;
		width: 222px;
		height: 222px;
	}
}

@media (min-width: 1200px) {
	.picture-container {
		overflow: hidden;
		width: 277px;
		height: 277px;
	}
}

@media (max-width: 767px) {
	.picture-container {
		overflow: visible;
		width: 100%;
		max-height: 300px;
	}
}

.picture-container {
	overflow: hidden;
}

.picture-container img[squared-image] {
	position: relative; /* This is required by the 'squared-image' Angular directive */
	border-radius: 6px;
	max-width: none !important;
}

@media (max-width: 767px) {
	.picture-container img[squared-image] {
		border-radius: 0;
	}
	
	.picture-container {
		margin-bottom: 10px;
	}
}

.frp-title-container {
	min-height: 20px;
	line-height: 85px;
}

.frp-title-container .frp-title {
	display: inline-block;
	line-height: 35px;
	vertical-align: middle;
}

.frp-title {
	margin-top: 0px;
	margin-bottom: 5px;
}

.frp-short-desc {
	color: #999999;
	font-size: 1.3rem;
	border-bottom: 1px solid #ddd;
	padding-bottom: 1rem;
}

/* SHARING BUTTONS */

.social-share-mobile {
	text-align: center;
	padding: 2rem 15px;
}
.social-share-mobile svg {
	background-color: #A6ADB4;
	border-radius: 50%;
	padding: 10px;
	width: 50px;
	height: 50px;
	margin: 0 10px;
}

.addthis_button_email img {
	margin-top: -1px;
}

.share-dropdown {
	width: 100%; /* set in order to keep inline-block display and so have dropdown menu display below the button */
}

.share-dropdown h4 {
	margin-left: 10px;
}

/* FUNDRAISING STATISTICS */
.fundraising-statistics-container {
	background-color: #f8f8f8;
}

.fundraising-statistics {
	text-align: center;
	border: 1px solid lightgray;
	border-radius: 4px;
	font-size: 130%;
	margin-top: 20px;
	margin-bottom: 10px;
}

.raised {
	margin-bottom: 10px;
}
.raised-text {
	font-size: 1.8rem;
	text-align: left;
}

.easyPieChart {
	position: relative;
	text-align: center;
	display: inline-block;
	margin-bottom: 10px;
}
.easyPieChart > .easyPieChart {
	transform: scale(0.5);
	position: absolute;
	left: 0;
	top: 0;
}

.easyPieChart canvas {
	position: absolute;
	top: 0;
	left: 0;
}

.frp-reach {
	font-size: 25px;
	font-style: italic;
	font-weight: bold;
}

.fundraising-reach {
	font-size: 140%;
	display: inline;
	vertical-align: middle;
	height: 100%;
	line-height: 160%;
}

@media (max-width: 768px) {
	.fundraising-statistics .fundraising-reach {
		padding-top: 5px;
		font-size: 105%;
	}
}

.frp-target-amount {
	border-right: 1px solid lightgray;
	border-left: 1px solid lightgray;
}

.amount {
	font-size: 4rem;
	font-weight: bold;
}

.meter {
	margin-bottom: 5px;
}

.target-amount {
	font-size: 1.1em;
	font-weight: bold;
}

/* CALL-TO-ACTION */
.donate {
	background-color: #fff;
	padding: 2rem 1rem;
	margin-bottom: 1rem;
	border-radius: 10px;
}
@media (min-width: 768px) and (max-width: 1024px) {
	.donate {
		height: 270px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}
.donate svg {
	width: 40px;
	margin-bottom: 1.5rem;
}
.donate .title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 2rem;
}
.donate .button {
	background-image: none;
	border-radius: 2rem;
	max-width: 220px;
	margin: 0 auto;
	display: block;
}
.call-to-action {
	text-align: center;
	padding-top: 0px;
}

.call-to-action-xs {
	text-align: center;
}

.small-sticky-section-col {
	padding-right: 5px;
	padding-left: 5px;
}

.alva-logo-container {
	margin-left: 8px;
}

.small-alva-logo {
	padding-top: 10px;
	width: 80px;
}

@media (max-width: 767px) {
	.small-alva-logo {
		width: 70px;
	}
}

.btn-donate {
	font-size: 1.7rem;
	border-radius: 2.4rem;
}

.btn-link {
	font-weight: 600;
	padding: 1rem 0;
	background-color: transparent;
	border-color: transparent;
	white-space: normal;
	text-align: left;
	box-shadow: none !important;
}

.secured-by {
	padding: 5px 0;
	text-align: center;
	color: #999999;
	font-weight: bold;
	font-size: 12px;
}

.secured-by img {
	width: 70px;
	padding-bottom: 6px;
}

.deductible-note {
	margin-bottom: 0;
	color: #999999;
	font-size: 85%;
}

#donate {
	line-height: 30.4px; /* set in order to have donate and share buttons with the same height */
}

/* DESCRIPTIONS */

.frp-content {
	border-bottom: none;
	box-shadow: none; /* remove the default (downwards-only) shadow */
	border-bottom-right-radius: inherit;
	border-bottom-left-radius: inherit;
	margin-bottom: 0;
}
@media (max-width: 767px) {
	.frp-content {
		border: none;
	}
}

@media (min-width: 768px) {
	.frp-content .frp-content-main {
		padding-left: 25px;
		padding-right: 35px;
	}
}

.occasion {
	font-size: 85%;
	color: #999999;
}

.description {
	text-align: justify;
	font-size: 1.2rem;
}
@media (max-width: 767px) {
	.description {
		overflow: auto;
	}
}

.desc-content {
	margin: 0px;
	box-shadow: none;
	/* border-bottom: 1px solid #ddd; */
	padding-bottom: 1rem;
}

.shorten-description {
	overflow: hidden;
}

.full-width-table {
	display: table;
	width: 100%;
}
.table-cell {
	display: table-cell;
}

/* DONATIONS LIST */
.donations > ul {
	max-height: 400px;
	margin: 0;
	margin-right: -15px;
	padding-right: 15px;
	overflow: auto;
}

@media (max-width: 767px) {
	.donations > ul {
		max-height: none;
		overflow: unset;
	}
}

#donations-list .list-group,
#news-list .list-group {
	margin-bottom: 0px;
}

.news-row img {
	max-width: 120px;
	max-height: 120px;
	float: left;
	margin: 0 1rem 1rem 0;
}

.list-group-item {
	border-left: 0px;
	border-right: 0px;
	border-radius: 0px;
	padding-left: 0px;
	padding-right: 0px;
}

.list-group-item:first-child {
	border-top: 0px;
}

.donation-comment {
	/* word-break: break-word; */
	font-size: 1.1rem;
	font-weight: 600;
}
.donations .list-group-item small {
	font-size: 1rem;
	font-weight: 600;
	color: rgb(0 0 0 / 30%);
}
.donations .list-group .more {
	background-color: #ebeded;
	padding: 1rem;
	display: block;
	text-align: center;
	color: black;
	font-weight: 600;
}

.donation-amount {
	font-size: 1.2em;
	font-style: italic;
}

.table-cell.donation-amount {
	padding-left: 2ex;
}

.total-donation {
	text-align: right;
	font-style: italic;
	border-bottom: none;
	font-size: 1.2em;
}

.logo {
	max-height: 150px;
	max-width: 100%;
}

.frp-content-aside > div {
	margin-top: 35px;
}

#charity-section .name {
	margin-top: 10px;
}

.charity-section-element {
	padding-left: 15px;
	padding-right: 15px;
}
.charity-buttons {
	margin: -5px 0;
}
@media (max-width: 767px) {
	.charity-buttons {
		margin-top: 20px;
	}
}
.charity-buttons > .btn {
	background: #ebeded;
	border: none;
	padding: 1rem;
	display: block;
	text-align: center;
	color: black !important;
	font-weight: 600;
	max-width: 300px;
	margin: auto;
}

#affix-wrapper {
	margin-bottom: 10px;
}

#large-affix-wrapper {
	margin-bottom: 10px;
}

.customized .affix {
	top: 0;
	z-index: 10;
	width: 100%;
	border-bottom: 1px solid #ddd;
}

.call-to-action-xs.affix {
	left: 0;
	margin-left: 0px;
	margin-right: 0px;
	background-color: #F3F3F3;
	background-color: #F3F3F3EA;
	padding: 10px 0;
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
}

.call-to-action-lg.affix {
	padding-top: 10px;
	width: 100%;
	background-color: #ffffff;
}

.desktop-version-link a {
	color: #aaaaaa;
}

/* DESCRIPTIONS */

.about-page-section {
	padding-left: 15px;
	padding-right: 15px;
}

/*------------------------- NEWS LIST CUSTOMIZATION -------------------------*/
.news > .title {
	margin-bottom: 1rem;
}
.news-row {
	margin-bottom: 1rem;
	border-top: 1px solid #ddd;
	padding: 1rem;
}
.news-title {
	font-weight: 500;
}
.news-date {
	font-size: 1rem;
	font-weight: 600;
	color: rgb(0 0 0 / 30%);
}
.modal-news .modal-header {
	height: 45px;
}

.modal-news {
	padding-top: 100px;
}
.modal-news .modal-body {
	text-align: center;
	margin: 30px 0;
}
.modal-news .img-lg {
	max-height: 90%;
	max-width: 90%;
}

/*New class added in recent Bootstrap version*/
@media (min-width: 992px) {
	modal-lg {
		width: 900px;
	}
}

.news-list {
	margin-bottom: 20px;
}

.news-list .img-sm {
	float: left;
	margin: 0 15px 15px 0;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.25s ease-in-out;
	-moz-transition: opacity 0.25s ease-in-out;
	-webkit-transition: opacity 0.25s ease-in-out;
	max-width: 150px;
}

.news-list .img-sm:hover {
	opacity: 0.7;
	transition: opacity 0.25s ease-in-out;
	-moz-transition: opacity 0.25s ease-in-out;
	-webkit-transition: opacity 0.25s ease-in-out;
}

.news-list .list-group {
	margin-bottom: 0px;
}

.news-content {
	word-wrap: break-word;
}

@media (max-width: 767px) {
	.news-content {
		clear: both;
	}
	.news-image {
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: 10px;
		float: none !important;
	}
}

.news-list li {
	border-left: 0px;
	border-right: 0px;
	border-radius: 0px;
	padding-left: 0px;
	padding-right: 0px;
}

.news-list .news-meta {
	margin-bottom: 0;
}

.news-list .list-group-item:last-child {
	border-bottom: none;
}

.news-list .donate-link {
	margin-top: 5px;
}

#afterPageCreationDialog,
.modal-news {
	padding-top: 8%;
}

.share-dropdown .dropdown-menu > li > a {
	line-height: 63px; /* this enables the user to click on the whole surface of the context-menu entry */
	text-align: left; /* instead of the default of 'center' */
	font-weight: bold;
	font-size: 16px;
}

/*------------------------- END OF NEWS LIST CUSTOMIZATION -------------------------*/

/*------------------------------GLYPHICONS-------------------------------------------*/
/* Customized CSS for glyphicons in order to have the same CSS as bottstrap's icons */
.customized .glyphicons {
	color: inherit;
	top: -2px;
	padding-left: 0px;
}

.customized .glyphicons:before {
	color: inherit;
	position: relative;
	font-size: inherit;
	margin-right: 0px;
}

/*------------------------------END OF GLYPHICONS---------------------------------*/

/* Remove the scroll bar from gallery */
#blueimp-gallery div.modal {
	overflow: visible;
}

#blueimp-gallery .donate-link {
	margin-top: -10px;
	display: block;
	text-align: center;
	font-size: 16px;
}

#blueimp-gallery .modal-title {
	word-wrap: break-word;
}
.together {
	overflow: hidden;
	position: relative;
	background-repeat: no-repeat;
	background-size: 28% auto;
	background-position: left center;
	padding: 3rem 2rem;
}

.together-logo {
	position: absolute;
	top: 5%;
	bottom: 5%;
	left: 2%;
	height: 90%;
	width: 26%;
}

@media (max-width:767px) {
	.together {
		background-image: none !important;	
		padding: 2rem;
	}
	.together-logo {
		display: none;
	}
}

.together-title {
	font-size: 1.8rem;
	margin-bottom: 3rem;
}
.together-title strong {
	font-size: 2.4rem;
}
.together-button {
	background-color: white;
	padding: 0.8rem 2rem;
	display: block;
	border-radius: 2rem;
	font-size: 1.5rem;
	font-weight: 600;
	text-align: center;
	max-width: 320px;
}
@media (min-width: 768px) {
	.col-sm-5.event-buttons {
	    padding-top: 25px;
	}
}

.modal-content a {
	color: black;
	text-decoration: underline;
}

.modal-content ol {
	list-style: none;
	text-align: center;
	margin-bottom: 2rem;
}

@media (min-width:992px) {
	.float-md-right {
		float: right;
	}
}

#sticky-section-small .btn {
	padding: 0.5rem 1.6rem;
}

#readMoreFrpDiv, #readLessFrpDiv, #readMoreCharityDiv, #readLessCharityDiv {
  color: black !important;	
  font-weight: bold;
}

.frp-title {
	margin: 5px 0;
}