.table,
.table thead>tr,
.table tbody>tr,
.table tfoot>tr{
	width:100%;
}

.table thead>tr>th.first, 
.table tbody>tr>th.first, 
.table tfoot>tr>th.first, 
.table thead>tr>td.first, 
.table tbody>tr>td.first, 
.table tfoot>tr>td.first {
	width:25%;
}

.table thead>tr>th.second, 
.table tbody>tr>th.second, 
.table tfoot>tr>th.second, 
.table thead>tr>td.second, 
.table tbody>tr>td.second, 
.table tfoot>tr>td.second {
	width:25%;
}

.table thead>tr>th.third, 
.table tbody>tr>th.third, 
.table tfoot>tr>th.third, 
.table thead>tr>td.third, 
.table tbody>tr>td.third, 
.table tfoot>tr>td.third {
	width:50%;
}


@media (max-width: 768px) {
	.profile-logo-image{
		width:50px;
		height:50px;
	}
		
	.table thead>tr>th.first, 
	.table tbody>tr>th.first, 
	.table tfoot>tr>th.first, 
	.table thead>tr>td.first, 
	.table tbody>tr>td.first, 
	.table tfoot>tr>td.first {
		width:15%;
	}
		
	.table thead>tr>th.second, 
	.table tbody>tr>th.second, 
	.table tfoot>tr>th.second, 
	.table thead>tr>td.second, 
	.table tbody>tr>td.second, 
	.table tfoot>tr>td.second {
		width:35%;
	}
	
}

@media (max-width: 500px) {
	.profile-logo-image{
		width:40px;
		height:40px;
	}
	
	.table thead>tr>th.first, 
	.table tbody>tr>th.first, 
	.table tfoot>tr>th.first, 
	.table thead>tr>td.first, 
	.table tbody>tr>td.first, 
	.table tfoot>tr>td.first {
		width:10%;
	}
	
	.table thead>tr>th.second, 
	.table tbody>tr>th.second, 
	.table tfoot>tr>th.second, 
	.table thead>tr>td.second, 
	.table tbody>tr>td.second, 
	.table tfoot>tr>td.second {
		width:40%;
	}
}


.table thead>tr>th>div.big-icon, 
.table tbody>tr>th>div.big-icon, 
.table tfoot>tr>th>div.big-icon, 
.table thead>tr>td>div.big-icon, 
.table tbody>tr>td>div.big-icon, 
.table tfoot>tr>td>div.big-icon {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-border-radius: 99em;
	-moz-border-radius: 99em;
	border-radius: 99em;
	border: 4px solid black;
	box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
	width: 78px;
	height: 78px;
}

.table thead>tr>th>div.big-icon>img, 
.table tbody>tr>th>div.big-icon>img, 
.table tfoot>tr>th>div.big-icon>img, 
.table thead>tr>td>div.big-icon>img, 
.table tbody>tr>td>div.big-icon>img, 
.table tfoot>tr>td>div.big-icon>img {
	width: 70px;
	height: 70px;
}

.intro-deceased {
	font-style: italic;
	text-indent: 50px;
}

.profile-emblem{
	max-height: 125px;
}

.profile-emblem img{
	max-width:200px;
}

.tombstone-quote {
	text-align:center;
	margin: 0px 15%;
}


.biography{
	text-indent: 50px;
}

.biography p{
	text-indent: 0px;
}

#map-canvas {
	margin-top: 5px;
	height: 200px;
}

#profile-openlayers-map {
	margin-top: 5px;
	height: 200px;
	max-height:200px;
}
/*
.ol-overlaycontainer-stopevent{
	display:none;
}
*/
.container-button-publish
{
	display:inline-block; 
	margin-bottom: 8px;
}

.condolences {
}

.condolence {
	width: 100%;
	margin-bottom: 10px;
}

.condolence-image {
	padding-right:10px;

}

.condolence-content {
	padding:0px;
	margin-top:-50px;
	padding-left:60px;
}

.condolence-like{

}
.condolence-like-in-modal{
	margin-left:auto;margin-right:auto;
	text-align:center;
}
.condolence-head {
	margin-bottom: 0px;
	font-size: 12px;
}

.condolence-author {
	font-weight: bold;
}

.time-ago {
	font-weight:bold;
}

.condolence-body {
	font-size: 15px;
}

textarea {
  margin-bottom: 5px;
  resize: vertical;
}

#imgPanelPreview{
	margin-top:20px; 
	margin-bottom:20px; 
	text-align:center;
}
#imgLoadingWheel {
	margin-top:20px;
	margin-bottom:20px;
	text-align: center;
}

.image-preview
{
	max-width: 250px; 
	max-height: 250px; 
	width: auto;
	height: auto;
	margin-bottom:20px;
}

.condolence-content-not-log{
	border: 1px solid #cccccc;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px; 	
	border-radius: 8px;
	padding:8px;
	margin-bottom:10px;
}

.container-profile-left{
	min-width: 75%;
	max-width: 75%;
	float: left;
}

@media (max-width: 600px)
{
	.container-profile-left{
		min-width: 100%;
		max-width: 100%;
		float: left;
	}
}



.container-profile-left .container,
.container-profile-left .panel,
.container-profile-left .panel-default
{
	margin-right:0px !important;
	margin-left:0px !important;
	padding-left:0px  !important;
	padding-right:0px  !important;
}

.container-profile-left .panel{
	margin-right: 5px !important;
	margin-left: auto !important;
	/*margin: auto 5px auto auto !important;*/
}

#qeepr-fields {
	max-width: 25%;
	float: right;
	margin-top: -33px;
}

#guest-fields {
	max-width: 28%;
	float: right;
	margin-top: -23px;
}

#qeepr-fields input,
#guest-fields input {
	width: 100%;
	margin-bottom: 5px;
}

/*#guest-fullname {
	float: right;
}

#guest-email{
	float: right;
}*/



#container-qeepr-fields input,
#container-guest-fields input {
	width: 100%;
}

/*#container-button-guest {
	float: right;
}*/

#error-field , #qeepr-error{
	color: red;
}

#tabs {
	margin: 0 auto;
	overflow: hidden;
	padding-top: 5px;
	margin-top: 10px;
	margin-bottom: -28px;
	margin-left: 74px;
}

#tabs-bar {
	white-space:nowrap;
}

#tabs-bar li {
	display: inline-block;
	cursor:pointer;
	margin-right: 5px;
}

#tabs-bar li.active img {
	/*box-shadow:0 3px 2px rgba(0, 0, 0, 0.3); */

	border: 2px solid #5bc0de;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #5bc0de;
}

#tabs-bar li img {
	box-shadow:none; 
}

#guest-email,
#guest-fullname {
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
}

#send-as-qeepr,
#send-as-guest {
	font-size: 15px;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin-bottom: 2px;
}

#condolence {
	margin-top: -10px;
}

.container-condolence-input/*,
#guest-condolence */{
	width: 70%;
	float: left;
}

@media (max-width: 1000px) {
	
	#tabs {
		margin-bottom: 0;
		margin-left: 42px;
	}
	
	.container-condolence-input/*,
	#guest-condolence*/ {
		width: 100%;
		float: inherit;
	}
	
	#qeepr-fields,
	#guest-fields {
		max-width: 100%;
		float: inherit;
		margin-top: 0;
	}
}

@media (max-width: 4200px) {
	
	/* Facebook social box */
	#fb-root {
		display: none;
	}
	
	/* To fill the container and nothing else */
	.fb_iframe_widget, 
	.fb_iframe_widget span, 
	.fb_iframe_widget iframe,
	.fb_iframe_widget span iframe[style], 
	.fb_iframe_widget > span[style] {
		min-width: 100% !important;
		width: 100% !important;
	}

	#bodySocialFeed .second{
		width: 100%;
	}

}


@media (max-width: 767px)
{
	.profile-th-responsive-title{}
	.profile-th-responsive-title h3{margin-left:-45%;}
	.profile-th-responsive-title-img{}
	.profile-th-responsive-title-img img{margin-bottom:5px;}
	
	.profile-th-responsive-title-img .glyphicon-bullhorn{font-size:48px;color:#000;}
}

@media (max-width: 400px)
{
	.profile-th-responsive-title{}
	.profile-th-responsive-title h3{margin-left:0%;}
	.profile-th-responsive-title-img{}
	.profile-th-responsive-title-img img{}
	
	.profile-th-responsive-title-img .glyphicon-bullhorn{font-size:32px;}
	
}

.img-profile-memorial{
    background-color: #FFFFFF;
	/*border: 3px solid #EEEEEE;*/
    /*border-radius: 50%;*/
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
	max-width:200px;
}

@media (max-width: 400px) {
	.img-profile-memorial{
		max-width:100%;
	}
}

.iframe-version #profileContentGrey{
	/*min-height: 900px;*/
}

/******************
	Error, guest
******************/
#errors-containers{
	margin-top: 20px;
}
#btn-guest-publish{
	margin-top: 5px;
}

/******************
Mausoleum lightbox
******************/
.is-cemetery-view  .fancybox-overlay{
	height:100%;width:100%;
}

.is-cemetery-view  .fancybox-overlay{

	overflow-y:auto !important;
}

.profile-fancybox{	
/*	
	left: 0px !important;
	width: 100% !important;

*/
	text-align:center;margin: 0 auto;
}
.profile-fancybox .fancybox-skin{

	text-align:center;margin: 0 auto;
/*
	background: #fff;
*/
}

.profile-fancybox .fancybox-outer{
	text-align:center;margin: 0 auto;
}
.profile-fancybox .fancybox-inner{
	text-align:center;margin: 0 auto;
	background: #fff;
}

#mausoleumContainer{
	margin:0 auto;text-align:center;
	padding-top:15px;
	/*overflow-x:auto;*/
	height: 100%;width:100%;
	background: #fff;
	margin-left:5px;
}
#mausoleumSide{margin:0 auto;text-align:center;}
.mausoleum-menu-title{margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px;background:#fff;padding-top:10px;}
.cell-facade-presentation{}

.cell-facade-presentation-user{text-align:center;margin: 0 auto;position:relative;margin-bottom:10px;}
	.cfpu-img-container{position:absolute;bottom:50px;left:0%;width: 100%;}
	.cfpu-img-container a{}
	.cfpu-img-container img{
		width: 66%;
		text-align:center;margin: 0 auto;
		background-color: white;
		border: 3px solid #eee;
		border-radius: 50%;
		box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);		
	}
	
	
	.cfpu-w-2-h-1{}
	.cfpu-w-2-h-1 img{width: 58px;}

	.cfpu-w-2-h-2{bottom:120px;}
	.cfpu-w-2-h-2 img{width: 49%;}

	.cfpu-w-3-h-1{}
	.cfpu-w-3-h-1 img{width: 58px;}

	.cfpu-w-4-h-1{}
	.cfpu-w-4-h-1 img{width: 58px;}

	.cfpu-w-4-h-2{bottom:56px;}
	.cfpu-w-4-h-2 img{width: 169px;}
	
	.cfpu-text-container{
		height:40px;
		padding-bottom:15px;padding-top:10px;
		margin: 0 auto;text-align:center;
		position:absolute;bottom:0px;left:0px;
		/* #c4c3c3 with 50% opacity */
		background: rgb(196, 195, 195);
		background: rgba(196, 195, 195, 0.5);
		width: 100%;
		
	}
	.cfpu-text-container a{font-size:15px;color:#222;font-family:'Raleway', sans-serif; font-weight:500;}

	/*
	.cfpu-text-w-2-h-2{height:85px;padding-bottom:40px;padding-top:30px;}
	.cfpu-text-w-2-h-2 a{}
	*/
.cell-facade-presentation-default{background: rgba(230, 231, 232, 1);margin-bottom:10px;}
	.cfpd-img-container{}
	/*.cfpd-img-container img{width: 100%;text-align:center;margin: 0 auto;}*/
	.cfpd-cell-decoration-img{}
	.cfpd-cell-decoration-img .cfpd-img-container{width:100%;height:100%;}
	.cfpd-cell-decoration-img img{width:100%;height:100%;}	
	
	
/*********************
	Report
***********************/
.container-condolence-report{ position:relative;right: 10px;}
	.container-condolence-report .btn-report-open-modal{opacity: 0.2;color: #000;}
	.container-condolence-report .btn-report-open-modal:hover{cursor:pointer;color: #428bca;opacity: 1;text-decoration:none;}
	.container-condolence-report-open-modal{position:absolute;top:100%; right:0%;display:none;opacity: 0.8;color: #000;}
	.container-condolence-report-open-modal:hover{cursor:none;}
	.modal-report-content{border-radius: 0px;}

/*********************
	Alert
***********************/	
.alert-sign-up-by-qeepr-request{
	background-color: #c2e5a6;
	color: #fff;
	overflow:hidden;
	font-size:24px;
}
.alert-sign-up-by-qeepr-request .close{color: #fff; opacity: 0.5;}
.alert-sign-up-by-qeepr-request .col-sign-up-by-qeepr-request-btn {text-align: right;}
.container-message-profile {padding-right:5px;}

/*********************
	Tukios
***********************/
.container-iframe-tukios-video{
	text-align:center;margin:0 auto;
	margin-top:25px;
	padding-bottom: 41.67% !important;
}
	.iframe-tukios-video{
		text-align:center;margin:0 auto;
		height:100% !important;
		width:75% !important;
		left:17.5% !important;
	}
		.iframe-tukios-video a{display:none !important;}
		

.profile-memorial-col-first{}
/* xs */ 
@media (max-width : 767px) {
	.profile-memorial-col-first{vertical-align:bottom !important;}
}


/*********************
	Comment read more
***********************/
.condolence-body-close{max-height: 100px;overflow:hidden;}
.condolence-body-open{}
#modalProfileTributeImages .condolence-body-close{}
#modalProfileTributeImages .condolence-body-open{}
	#modalProfileTributeImages .comment-show-more{
		font-size:14px;
		text-align:center;margin-left:auto;margin-right:auto;
		
	}
	.characters-count-gc{/*text-align:left !important;*/}

/*********************
	Countdown
***********************/	
.container-characters-count{display:none;}
/*.container-comment-characters-count{display:none;}*/
.grecaptcha-badge { display: none; }


.btn-profile-event-right-side{word-break: break-all;white-space: normal;overflow-wrap:break-word;width:100%;max-width:100%;margin-top:25px;}
.profile-img-enterprise-mobile{
	padding-bottom:20px;
	margin: 0 auto;text-align:center;
}

@media (max-width: 400px)
{
	td.third, td.second{
		word-break: break-all;white-space: normal;overflow-wrap:break-word;width:100%;max-width:100%;
	}
}

/*** Comment */
.mtc-comment {
	margin: 0 auto;
	overflow: hidden;
	padding-top: 5px;	
	/*
	margin-top: 10px;
	margin-bottom: -28px;
	margin-left: 74px;
	*/
}

.mtc-list-comment {
	white-space:nowrap;
    list-style: outside none none;
    padding-left: 0px;	
	margin-bottom:5px;
	font-size: 14px;
}

.mtc-list-comment:first-child{margin-left: 5px;}

.mtc-list-comment li {
	display: inline-block;
	cursor:pointer;
	margin-right: 5px;

}

.mtc-list-comment li.active img {
	border: 2px solid #5bc0de;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #5bc0de;
}

.mtc-list-comment li img {
	box-shadow:none; 
}

.mc-container .td-first,
.mc-container .td-second{
	border-top:none;
}

.mc-section-title{
	font-size: 15px;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin-bottom: 2px;
}

.mc-row-tabs .td-first,
.mc-row-tabs .td-second{padding-bottom:0px;}


.mc-row-fields input{margin-top:0px;max-width:100%;margin-bottom: 5px;}
.mc-row-fields{display:none;}

.mc-error-container{color: red;font-size:14px;}
.mc-error-container .alert{border-top:0px;}
.mc-error-container .td-first{border-top:0px;}

.mc-qeepr-condolence-terms-container{
	font-size: 14px;
	padding-left:0px !important;padding-right:0px !important;
}

.mc-guest-condolence-terms-container, 
.mc-qeepr-login-condolence-terms-container{
	font-size: 14px;
}	

.mc-comment-table-container{
}

.mc-comment-table-container .td-first-img{width:60px;}
.mc-guest-container-validation-msg, .mc-guest-container-validation-msg td{border-bottom:0px !important;border-top:0px !important;}
#guest-condolence{}

/*  Widget Mementos Keeper Plus */
.profile-widget-mementos-kp-more{
	float: left;
	margin-right: 7px;
	margin-bottom: 7px;
	overflow: hidden;
	border: 3px solid #eee;
	box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
	background: #d7d8dc;
	vertical-align: middle;
	color:#fff;
	font-weight:bolder;
	text-align:center;	
	width:70px;
	height:70px;
	font-size: 16px;
}
.profile-widget-mementos-kp-more a{
	color:#fff;	
	text-decoration:none;
	width:100%;
	height:100%;
	display: inline-block;
}


.profile-widget-mementos-kp-more-last{
	margin-right: 0px;	
}
.profile-widget-mementos-kp-more-text{
	padding-top:30%;
	color:#fff;	
}

@media (max-width: 1200px)
{
	.container-right-all .profile-widget-mementos-kp-more
	{
		width:50px !important;
		height:50px !important;
	}
	
}

@media (max-width: 1000px)
{
	.container-right-all .profile-widget-mementos-kp-more
	{
		width:40px !important;
		height:40px !important;
		font-size: 14px;
	}
	.profile-widget-mementos-kp-more-text{
		padding-top:25%;	
	}	
	
}

@media (max-width: 750px)
{
	.container-right-all .profile-widget-mementos-kp-more
	{
		width:30px !important;
		height:30px !important;
	}
	.profile-widget-mementos-kp-more-text{
		padding-top:15%;	
	}
}

/* Carousel */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
#profile-carousel-image {
	/* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
	margin: 0px;

}

/* Declare heights because of positioning of img element */
#profile-carousel-image .item {
	margin:0px auto;
	/*background-color: #777; */
}

#profile-carousel-image .condolence-photo {
	margin:0px auto;
	/*width: 420px;
	height: 420px;
	border:10px solid #eee;*/
	/*box-shadow:0 3px 2px rgba(0, 0, 0, 0.3);*/
	max-width:400px;
	max-height:400px;
	text-align:center;
}
/*
#profile-carousel-image  > .item > .image-carousel-tribute > img {
	position: absolute;
	top: 0;
	left: 0;
	width: 400px;
	height: 400px;
}
*/
@media (max-width: 600px) {	
	#profile-carousel-image .condolence-photo {
		width: 210px;
		height: auto;
		border:5px solid #eee;
	}
	

	#profile-carousel-image .condolence-photo img{
		width: 200px;
		height: auto;
	}
}

#profile-carousel-image .right.carousel-control{
	text-align:center;
	height: 300px;
	/*height: 100%;*/
	width: 30px;
	background-image:none;
}

#profile-carousel-image .left.carousel-control{
	text-align:center;
	height: 300px;
	/*height: 100%;*/
	width: 30px;
	background-image:none;
}

@media (max-width: 600px) {	

	#profile-carousel-image .right.carousel-control{
		height: 210px;
		width: 20px;
		display:none;
	}

	#profile-carousel-image .left.carousel-control{
		height: 210px;
		width: 20px;
		display:none;
	}
	
}


#profile-carousel-image .carousel-control .glyphicon-chevron-left{
	position: absolute;
	top: 50%;
	left: 0%;
	right:0%;
	z-index: 5;
	display: inline-block;
	color:#444;
}

#profile-carousel-image .carousel-control .glyphicon-chevron-right{
	position: absolute;
	top: 50%;
	right: 0%;
	left:0%;
	z-index: 5;
	display: inline-block;
	color:#444;
}

#profile-carousel-image .condolence-comment-container{
	margin-left:5px !important;	
}

#profile-carousel-image.is-not-premium .carousel-control{
	/**/display:none;
}

#profile-carousel-image .panel{
	border:0px;
}

#profile-carousel-image .panel-body{
	padding:0px;	
}
#profile-carousel-image .condolence-body{
	margin: 0 auto;
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
}

#profile-carousel-image .condolence-comment-container .condolence-body{
	text-align:left;
}

#profile-carousel-image .condolence-content-first{padding-left:0px;}
#modalConfirmDelete, #modalReport{
	z-index:1041;
}

#profile-carousel-image .condolence-photo{
	margin-top: 20px;
	max-width: 90%;
}
.condolence-photo{}

.condolence-photo img{
	max-width: 100%;
}

/*************************
	Printing
**************************/
@media print { 

	
	#profileContentGrey{
		background-color:#fff;
	}
	
	#condolences-container, 
	.mc-comment-table-container,
	.container-condolence-report,
	.container-profile-left .panel-footer
	{
		display:none;
	}

	.forcepagebreak{
        clear: both;
        page-break-after: always;
    }
	
	* {
		transition: none !important;
		-webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
		color-adjust: exact !important;                 /*Firefox*/		
	}
	
	* {
		-webkit-box-shadow: none !important;		
	}
	
	* {
		-moz-box-shadow:    none !important; 		
	}

	* {
		box-shadow:         none !important; 		
	}	
	thead{
		display: table-row;
	}
	.table thead > tr > th{
		border-bottom: none;
	}
	.profile-th-responsive-title h3{
		margin-left: 0px !important;
	}
	#profile-top-image,
	.img-profile-50x50 img,
	.condolence-photo img,
	.img-profile-30x30 img{
		background: none !important;
		background-color: none !important;
	}
}

/* Modal Logged Store */
#modalWPStorePromo .modal-body{
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	
}
#modalWPStorePromoBodyMain img{}
#modalWPStorePromo .modal-body:hover{
	cursor: pointer;
}


#modalWPStorePromoClose .modal-body{
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	
}
#modalWPStorePromoBodyMainClose img{}
#modalWPStorePromoClose .modal-body:hover{
	cursor: pointer;
}
@media screen and (min-width:768px) {
	#modalWPStorePromo .modal-dialog {
		width:800px;
	}
	#modalWPStorePromoClose .modal-dialog {
		width:800px;
	}	
}

/* Modal Guest Store */
#modalWPStorePromoGuest .modal-body{
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	
}
#modalWPStorePromoGuestBodyMain img{}
#modalWPStorePromoGuest .modal-body:hover{
	cursor: pointer;
}
@media screen and (min-width:768px) {
	#modalWPStorePromoGuest .modal-dialog {
		width:800px;
	}
}

/****************************
	Widget Keepsake
*****************************/
#containerProfileWidgetRightHideKeepsakeMain{}
#containerProfileWidgetRightHideKeepsakeInner{}
	#containerProfileWidgetRightHideKeepsakeBtnDown{}
	#containerProfileWidgetRightHideKeepsakeBtnDown:hover{cursor:pointer;}
	#containerProfileWidgetRightHideKeepsakeBtnHideThis{}
		#btnProfileWidgetRightHideKeepsakeHideThis{}
		

/****************************
	Floweers
*****************************/		
@media (min-width: 600px)
{
	#containerProfileWidgetFlowers{}
	#containerProfileWidgetFlowersCondolences{display:none;}
}