/* xxxx Global xxxx */

label { font-weight: normal; }

.obit-header {
   width: 100%;
   min-width: 200px !important;
   max-width: 230px !important;
}
.obit-name { position: relative; }

/* --- Services --- */
.scheduled article.service {
	border: 1px solid rgba(0,0,0,.1);
	padding: 2em 1em;
	background-color: rgba(255,255,255,.1);
	margin-bottom: 10px;
}

/* --- Shortcut icon list --- */
.shortcuts li {
	line-height: 2em; padding: .5em; 
	border-bottom: 1px solid rgba(0,0,0,.1);
}
.shortcuts li:hover { background: rgba(255,255,255,.2); } 
.shortcuts li i.fa-chevron-right { float: right; line-height: 2.7; }

.service-notes p { display: inline; font-size: 1em; }

.obit-profile { position: relative; }
.obit-profile .obit-img > a { display: block; }
.obit-profile .obit-img img  { width: auto; height: auto; }

.obit-services, .obit-guestbook {
	margin-top: 2rem;
}

/* xxxx Desktop Only xxxx */

@media only screen and (min-width: 769px) {

	.obit-links a { max-width: 100% !important; }

	/* --- Profile Area --- */
	.obit-profile .obit-img { 
		background: rgba(255,255,255,.1);
		border: 1px solid rgba(0,0,0,.1);
		margin-bottom: .7em;
	}

	.obit-profile .obit-img img { 
		width: 100%; 
	}
	.obit-profile .obit-name-text { 
		margin-top: 80px;
	}

	/* --- Shortcut icon list --- */
	.shortcuts li span { font-size: 1rem; }
	.shortcuts li i.fa-chevron-right { font-size: .8rem }
	.shortcuts li .icon-b-card { font-size: .8rem }

	/* --- Services --- */
	.scheduled {
		min-width: 100%  !important;
		flex-wrap: wrap;
	}
	.scheduled article address { margin-bottom: 0; }
	.scheduled article.service {
		display: flex; display: -ms-flex;
		flex: 1; flex-wrap: wrap;
		padding: 2rem 1rem;
		width: 100%;
	}
	.scheduled article.service .col-title { flex: 1; }
	.scheduled article.service .directions { flex: 1; text-align: right;}
	.scheduled article.service .service-list {
		flex: 2; min-width: 300px;
		margin-bottom: 0;
		padding-left: 1.5rem;
	}
	.scheduled .service-list .fa { min-width: 15px; }
	.scheduled .service-list li { padding-bottom: 10px; }

	.scheduled article.service .service-list {
		border-left: 1px solid rgba(0,0,0,.25);
	}

	.scheduled article.service .col-title { padding-right: 10px; min-width:200px }
}

/* xxxx Normal Devices xxxx */

@media only screen and (max-width: 768px) {

	.obit-profile > .holder > .-row { flex-direction: column; }
	.obit-header {
	   min-width: 100% !important;
	   max-width: 100% !important;
	}
	.obit-mobile-header {
	   max-width: 280px;
	   min-width: 230px;
	   padding-left: 10px; 
	   flex: 1;
	}

	/* --- Profile Area --- */
	.obit-profile .obit-img {
		display: flex; -ms-display: flex;
		text-align: left;
		align-items: center;
		margin: 0; margin-bottom: 10px;
		justify-content: center;
	}
	.obit-profile .obit-img img { 
		background: rgba(255,255,255,.1);
		border: 1px solid rgba(0,0,0,.1);
		padding: 10px;
	}
	.obit-profile h2 {
		font-size: 2rem;
	}

	/* --- Vendor Buttons --- */
	.obit-links { max-width: 400px; }
	.obit-links .subtitle br { display: none; }

	/* --- Shortcut icon list --- */
	.shortcuts {
		width: 100%;
		max-width: 390px;
		margin-left: auto;
		margin-right: auto;
	}

	/* --- Services --- */
	.scheduled { margin-left: auto !important; margin-right: auto !important; }
	.scheduled article.service { 
		display: flex; display: -ms-flex;
		flex-direction: column;
		width: 100%;
	}
	.scheduled .service-list { min-width: 90%; }
}


/* xxxx Small Devices xxxx */
@media only screen and (max-width: 460px) {

	/* --- Profile Area --- */
	.obit-profile .obit-img {
		flex-direction: column;
		text-align: center;
	}
	.obit-profile .obit-img img {
		width: auto;
		float: none;
		padding: 10px;
		margin-bottom: 1rem;
	}
	.obit-mobile-header {
	   max-width: 100%;
	   min-width: 100%;
	   padding-left: 10px;
	}

	.scheduled article.service { 
		align-items: center;
	}

	/* --- Shortcut icon list --- */
	.shortcuts { width: 100%; }

	/* --- Vendor Buttons --- */
	.obit-links .subtitle br { display: block; }
}


/* xxxx iPad Portrait only xxxx */
@media only screen and (device-width: 768px) and (orientation: portrait) {

	/* --- Services --- */
    .scheduled article.service {
    	padding: 3em 3em 0;
    	width: 100%;
    }
}
/* --- Flex No Theme Gallery --- */
#lightbox { height: 80vh; display: grid; place-content: center; }
#ugallery { padding-bottom: 2rem; padding-top: 1rem; text-align: center; }
#ugallery > a {  display: inline-block; }
#ugallery img {
    border-radius: 4px;
    border: 3px solid #FFF;
    box-shadow: 0 0 5px #000;
    margin: 3px;
}
@media screen and (max-width: 440px) {
   .lb-nav a.lb-next, .lb-nav a.lb-prev {
      background-size: 40px  !important;
      opacity: 1 !important; 
   }
   .lb-nav { left: -2%; width: 104%; }
}
.lb-data .lb-close { display: none !important; }