html, body {
  height: 100%;
  
}

 /* Styles for the overlay */
 .overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6); /* Background opacity set to 0.6 */
	align-items: center;
	justify-content: center;
	transition: background 0.8s; /* Transition duration set to 0.8s */
	z-index:99999;
}

/* Styles for the popup */
.popup {
	background: #fff;
	max-width: 400px;
	padding: 20px;
	text-align: center;
	border-radius: 5px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	position: relative;
	transition: opacity 0.8s; /* Transition duration set to 0.8s */
}

/* Style for the close button */
.close {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

.bg {
  /* The image used */
  background-image: url("../img/malta2.jpg");
  /* Full height */
  height: 200px;
	color: white;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.search_box_margin {
	margin-top: 30px;
}

.text-gray {
	color: #7F7F7F;
}

.bg .addNoticeButton {
	background-color: #62487c;
	margin-top: 40px;
	height: 50px;
	line-height: 35px;
	padding: 8px 10%;
	color: #fff !important;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	font-size: 20px;
}

.bg .addNoticeButton:hover {
	background-color: #4d3a61;
	color: #fff;
}

.bg h1 {
	font-size: 35px;
	
	text-shadow: 1px 1px #333;
}

.bg p {
	font-size: 15px;
	color: #eaeaea;
}

.light {
	background-color: #afafaf !important;
}

.bg input {
	padding: 6px;
	border: 0;
	border-radius: 4px;
	height: 50px;
	width: 100%;
	text-align: center;
	color: #333;
}

.badge_font_size .badge {
	font-size: 15px !important;
}

.admin-menu {
	margin-top: 0 !important;
	background-color:#62487c !important;
	margin-bottom: 10px;
}

.btn-rippurple {
	background-color: #62487c !important;
	color: white !important;
}

a .btn-rippurple:hover {
	color: white !important;
	text-decoration: none !important;
}

.btn-rippurple:hover {
	text-decoration: none;
	background-color: #62487c !important;
	 filter: brightness(120%);
	 color: white !important;
}


.rip-bgcolor {
	background-color: #62487c !important;
}

.rip-color {
	color: #fff !important;
}

.admin-menu .badge {
	background-color: #fff;
	color: #000;
}

.admin-menu a {
    color: #D8D8D8 !important;
}

.admin-menu .navbar-text {
	color: #eaeaea !important;
}

.admin-menu .icon-bar {
	background-color: #fff !important;
}

.admin-menu .navbar-toggle {
	border-color: transparent !important;
}

.admin-menu a:hover {
	color: #fff !important;
}

body {
	background-color: #f2f2f2;
	font-family: Helvetica, 'Rokkitt', serif;
	display: table;
	width: 100%;
	
}

.margin { margin-top: 10px; }

.content-wrapper {
	padding: 0;
}

.page-row {
  display: table-row;
  height: 1px;
}

.page-row-expanded { height: 100%; }

a {
	-webkit-transition: .3s ease;
	transition: .3s ease;
}

.navbar-inverse {
	background-color: #62487c !important;
	border: none;
}


.navbar {
	margin-bottom: 0 !important;
}

.navbar-brand {
	height: 70px;
	width: auto;
	padding-top: 0;
	padding-bottom: 0;
}

.navbar-brand img {
	height: 60px;
	width: auto;
}


#rip_logo {
	color: #fff;
	float:left;
	font-size: 37px;
	font-weight: 500;
	font-family: 'Yantramanav', sans-serif !important;
}

#rip_commt {
	float: left; 
	margin-top: 5px; 
	font-weight: 500; 
	margin-left: -3px; 
	color: #eaeaea;
	font-family: 'Yantramanav', sans-serif !important;
}

.navbar-inverse .navbar-toggle {
	border: 0;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
	border: 0;
}

.navbar-inverse .navbar-nav > li > a {
	color: #fff; /*Change active text color here*/
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
	color: #fff; /*Change active text color here*/
}

.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
	background-color: #8c8b8b;
}

#search_mid_bar {
	position: relative; 
	width: 90%; 
	margin: 0 auto;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
	color: #d2d1c7; /*BACKGROUND color for active*/
	background-color: transparent;
}

.nav > li > a:hover,
.nav > li > a:focus {
	text-decoration: none;
	color: white !important; /*Change active text color here*/
}

.admin-menu .nav > li > a:hover, .admin-menu .nav > li > a:focus  {
	text-decoration: none;
	color: #fff !important; /*Change active text color here*/
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
	color: #d2d1c7;  /*Sets the text hover color on navbar*/
}

.paypal:link, .paypal:visited {
	cursor: pointer;
}

.paypal:hover {
	cursor: pointer;
	opacity: 0.7;
}

footer {
	background-color: #62487c;
	color: #fff;
	text-align: left;
	font-size: 14px;
	width: 100%;
	height: auto !Important;
	text-align: center;
}

footer li {
	text-align: center;
	list-style-type: none;
}

.footer-row {
}

footer ul {
	margin: 0;
	padding:0;
}

footer h3 {
	color: #D8D8D8;
	font-size: 16px;
}

.footer-text {
	color: #D8D8D8;
	margin-bottom: 30px;
}


.info {
	margin-top: 8px;
	font-size: 1em;
	margin-bottom: 20px;
	text-align: center;
}

.info_obituary {
	margin-top: 8px;
	text-align: center;
	font-size: 1em;
	margin-bottom: 30px;
	box-shadow: 0 2px 3px rgba(0,0,0,0.15);
	transition: 0.3s;
}

.info_obituary:hover {
	text-decoration: none;
	
	box-shadow: 3px 6px 6px rgba(0,0,0,0.15);
}

.name_home {
	font-weight: bold;
	font-size: 1.3em;
	min-height: 80px;
}

hr.thin {
	margin-bottom: 5px !important;
	margin-top: 5px !important;
}

#obituaries .row {
	margin-bottom: 20px;
}

.footer-row {
	margin-bottom: 40px;
	padding: 20px;
}

body > .container {

	padding-bottom: 20px;
}

/* centered columns styles */
#obituaries {
	margin: auto;
	max-width: 1000px;
	margin-top: 20px;
}

#obituaries .picture img {
	max-width: 100%;
	width: 80%;
	margin: 0 auto;
	height: auto;
/*	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray;
	-webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.picture img {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	height: auto;
}

.picture_main img {
	width: 50% !important;
	
}

#obituaries .picture img:hover {
  filter: none;
  -webkit-filter: grayscale(0%);
}

main {
	margin-top:20px;
	margin-bottom: 20px;
}

/*.col-sm-3 {
	text-align: center !important;
}*/

.btn-add {
	background-color: #727272;
	color: white;
}

.btn-add:hover {
		color: #727272;
		background-color: white;
}

/* Removed: .form-control border-radius:0 and focus:gray — modern_2026.css handles BS5 form styling */

.day-class, .month-class, .year-class {
	width: 33.3% !important;
	float: left;
}


.time-class {
	width: 50% !important;
	float: left;
}

.date .control-label {
	margin-bottom: 10px;
}

.clear {
	clear: both;
}

hr {
	border-top: 1px solid #EAE9DF !Important;
}

.btn-rip {
	color: white;
	background-color: gray;
	opacity: 0.8;
}

.btn-rip:hover {
	color: white;
	background-color: gray;
	opacity: 1;
}

.btn-dark {
	color: white;
	background-color: #333;
	opacity: 0.8;
}

.btn-dark:hover {
	color: white;
	background-color: #333;
	opacity: 1;
}

.advert {
	background-color: #333;
	color: white;
	text-align: center;
	width: 100%;
	height: 30px;
	padding:50px;
	border: 1px solid red;
	float: left;
}

.date_d {
	font-size: 1.1em;
}


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

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

.help-block {
	font-size: 12px;
	text-align: left;
	margin-bottom: -5px;
}

.ch_short_desc {
	font-size: 18px;
}

.ch_social_icons i {
	margin-right: 14px;
	font-size: 20px;
}

.ch_permission_no {
	font-weight: bold;
	font-size: 14px;
	color: gray;
	margin-top: 6px;
}
	
#controls  {  
	padding:2px;
	width:25px;
	top: 10%;
	background:#333;
	position:fixed;
	right: 0;
	z-index: 1;
	text-align:center;
	transition:.25s ease-out;}

#controls a {  
	font-size:24px;
	color:#aaa;
	display:block;
	font-weight:bold;
	padding: 5px;
}

#controls a:hover {  
	color:#fff;
	background:#000;
	transition:.25s ease-out;
}

a.selectedA {  
	background:#000;
	color:#fff !important;
}

.info-view {
	text-align: center;
}

.info-view p {
	margin: 0;
}

a.no-color {
	color: #333;
}
.btn-readmore {
	background-color: #7f7f7f;
	color: #fff;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn-readmore:hover {
	background-color: #333 !important;
	color: #fff;
	
}

.text-light {
	color: #fff !important;
}

#small {  font-size:10px !important;}
#medium {  font-size:14px !important;}
#large {  font-size:18px  !important;}


.view_details .row {
	margin-bottom: 4px;
}

.form-group a, .footer a, footer a, footer a:hover, footer a:active, footer a:link, footer a:visited {
	color: inherit;
}

.pagination > li > a, .pagination > li > span {
	background-color: transparent;
	border: none;
	color: #333;
}

.pagination {
	margin-top: 40px;
	margin-bottom: 5px;
}

.pagination > li > a:hover {
	
	background-color:#D8D8D8;
	color: #333;
	border-radius: 6px;
	border: none;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
	color: #c7c7c7;
    cursor: not-allowed;
    background-color: transparent;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
	background-color:#D8D8D8;
	color: #333;
	border-radius: 6px;
	border: none;
}

@media print {
	a[href]:after {
		content: "" !important;
	}
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
}
div.mce-primary button span {
	display: none;
}

div.mce-primary button:after {
	content: "Edit";
}

.info-view .gray_admin_only {
	color: #333 !important;
}

.page_content {
		font-size: 15px;
		line-height: 23px;
}


.charity_list .name {
	padding-left: 10%;
	padding-right: 10%;
	font-size: 1.1em;
	min-height: 45px;
	font-weight: bold;
}

.donations_collected {

	font-size: 12px !important;
}

.charity_list .donations_collected {
	margin-bottom: 10px;
	display: inline-block;
}
.contact_us .form-control {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid gray;
	background-color: transparent;
	box-shadow: none;
}

ol.features {
	margin: 0 !important;
	padding: 0 !important;
}

.features li {
	width: 100%;
	list-style-type: none;
	background-color: white;
	box-shadow: 0 2px 3px rgba(0,0,0,0.15);
	font-size: 18px;
	height: 140px;
	color: #333;
	margin-bottom: 10px;
	text-align: center;
	display: flex;
    justify-content:center;
    align-content:center;
    flex-direction:column;
}

.tariffOfCharges {
	text-align: center;
}

.service {
	background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
	border-radius: 6px;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.service_col {
	background-color: white;
	padding: 3%;
	box-shadow: 0 2px 3px rgba(0,0,0,0.15);
    color: #333;
    padding: 10px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 6px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
	font-size: 1.2em;
}

.modal-link-text {
	cursor: pointer;
}

.modal-link-text:hover {
	text-decoration: underline;
}

.service_col:hover {
	background-color: #eaeaea;
}

.mb {
	margin-bottom: 20px;
}

.mb-2 {
	margin-bottom: 40px;
}

.service_list .col-sm-4 {
	margin-bottom: 15px;
}

.service_link {
	color: white;
	display: block;
	text-decoration: none;
}
.service_link:hover  {
	color: white;
	text-decoration: none;
}

.service:hover {
		background-color: #444;
}

.alert-warning {
    background-color: #7F7F7F !important;
	color: #fff;
	text-align: center;
}

.alert-rip {
	background-color: #62487c !important;
	color: #fff;
	text-align: center;
}

ol.features2 {
	list-style: none;
	padding: 0;
	margin-top: 20px;
}

.features2 li {
	padding-left: 1.3em;

}

.features2 li:before {
	content: "\f00c"; /* FontAwesome Unicode */
	font-family: FontAwesome;
	display: inline-block;
	color: #629632 !important;
	margin-left: -1.3em; /* same as padding-left set on li */
	width: 1.3em; /* same as padding-left set on li */
}

/* tablet only */
@media only screen and (min-width: 500px) and (max-width: 768px) {
	.picture img {
		width: 50%;
	}
	
	.features li {
		float: left;
		width: 50%;
	}
}

.user_buttons .col-md-2 {
	margin-bottom: 8px;
}

.alert-danger {
	text-align: center;
	color: #333;
	background-color: #fff !important;
}

.alert-success {
	background-color: #fff !important;
	border-color: #62487c !important;
	text-align: center;
	color: #333;
}

.rip-color-perm {
	color: #62487c !important;
}

.no-border {
	border: none !important;
}

.stripe-card-group { width: 100%; }

/* desktops and up */
@media only screen and (min-width: 768px) {

	.name_home {
		min-height: 0px;
	}
	.picture img {
		width: 20%;
	}

	.footer-margin {
		margin-top: 20px;
	}

	body {
		border-top: 10px solid #62487c;
	}

	.navbar {
		margin-top: 0;
		border: none;
	}

	.bg {
		height: 350px;
	}

	#search_mid_bar {
		width: 60% !important;
	}

	.search_box_margin {
		margin-top: 120px;
	}

	.rip-color {
		color: #62487c !important;
	}

	.navbar-brand img {
		height: 70px;
		margin-top: 0;
		width:auto; 
	}
	
	
	#rip_logo { color: #5C6266 }

	#rip_commt {
		color: #676E73;
	}

	.info_obituary {
		margin-top: 8px;
		text-align: left;
	}
	
	.features li {
		float: left;
		list-style-type: none;
		background-color: white;
		padding: 3%;
		box-shadow: 0 2px 3px rgba(0,0,0,0.15);
		font-size: 18px;
		width: 23%;
		height: 200px;
		color: #333;
		margin: 1%;
	}
		.Pages {
		text-align: left;
	}
	
	.picture img {
		height: auto;
		width: 100%;
	}
	
	.picture_main img {
		width: 100% !important;
	}
	
	.navbar-inverse {
		font-size: 15px;
	}
	
	#navbar_main {
		margin-top: 15px;
	}

	.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
		color: #000;  /*Sets the text hover color on navbar*/
		
	}


	.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
		color: #222; /*BACKGROUND color for active*/
		background-color: transparent;
		border-bottom: 2px solid #62487c;
	}

	.navbar-inverse {
		background-color: transparent !important;
		border: none;
	}

	.dropdown-menu > li > a:hover,
	.dropdown-menu > li > a:focus {
		color: #222;
		text-decoration: none;
	}

	.nav > li > a:hover,
		.nav > li > a:focus {
			text-decoration: none;
			color: #62487c !important; /*Change active text color here*/

			
		border-bottom: 2px solid #62487c;

		}

	.navbar-inverse .navbar-nav > li > a {
		color: #333; /*Change active text color here*/
	}

	.navbar-brand {
		color: #727272 !important;
		font-size: 17px;
		font-weight: bold;
	}

	.navbar-brand:hover {
		color: #3F3F3F !important;
	}
	
	.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
		color: #333; /*Change active text color here*/
	}

	.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
		background-color: #e5e5e5;
	}
	
	.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
		background-color: #fff;
		color: black !important;

		
	}

	
}
