/*
 * Theme Name: Stack - Diocese
 * Description: Stack Child Theme for Diocese
 * Template: stack
 * */

.breadcrumbs + hr { display: none; }

#wpadminbar { opacity: 0.6; margin-top: -14px; }
#wpadminbar:hover { opacity: 1; margin-top: 0; }

.article__body.post-content ul { list-style: disc; margin-left: 25px; }

.main-container .container img {
	max-width: 100%;
	height: auto;
}

@media (min-width: 992px) {
	.header--top-bar .col-md-6 { float: right; }
}
.nav-container .container .row {
	color: white;
}

footer .logo { max-height: 100px; }

.single-crb_parish {}
.single-crb_parish .article__title {}
.single-crb_parish .article__title span { display: none; }
.single-crb_parish section.unpad { display: none; }

#google_translate_element { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 999; }
#google_translate_element img { margin-bottom: 0; }

.goog-te-banner-frame { min-height: 0; }

.parish { overflow: hidden; /* width: 150px; */ border-radius: 6px; }

.parish p { color: #666 !important; }
.feature-post-loop .feature > a.block,
.parish > a  { padding-top: 65%; border-radius: 6px 6px 0 0; background: no-repeat center center; background-size: cover; }
.parish h4 a { color: #986e22 !important; }

.parish__content { background-color: #fff; padding: 10px 10px 20px 10px; }
.parish__title { margin-bottom: 5px; }
.parish__meta { margin-bottom: 3px; }

form.parishes-page-search-form .btn { vertical-align: top; }
.parishes-page-search-form input#parish-search { padding: 1.464286em; width: 100%; height: 45px; }
.parishes-page-search-form button { max-width: 150px; margin-left: 15px; height: 45px; }

.parishes-page-sort-form { display: inline-block; }
.parishes-page-sort-form button.btn-sort { width: auto !important; color: #986e22; border-radius: 5px; border: none; background: #fcfcfc url(assets/images/icon-sort.png) no-repeat right center; padding: 0 30px 0 15px; }
.parishes-page-sort-form button.btn-sort.sort-asc { background: #fcfcfc url(assets/images/icon-sort-asc.png) no-repeat right center; }
.parishes-page-sort-form button.btn-sort.sort-desc { background: #fcfcfc url(assets/images/icon-sort-desc.png) no-repeat right center; }

.filters { display: flex; justify-content: space-between; }
.filters form + form { margin: 0; }
.filters .parishes-page-search-form { width: 100%; display: flex; justify-content: space-between; }
.filters .parishes-page-search-form > label { flex: 1; }

.filters .filters__right {max-width: 100%; flex: 0 0 100%; }

.filters input[type] + input[type], input[type] + .input-checkbox,
.filters input[type] + button, input[type] + .input-select { margin: 0; }

@media(max-width: 991px){
	.filters { flex-wrap: wrap; }

	.filters .parishes-page-search-form,
	.parishes-page-search-form input#parish-search  {  width: 100%; }

	.filters .parishes-page-search-form label {width: calc(100% - 168px); }

}

@media(max-width: 767px) {
	.feature-post-loop { width: 100%; }

	.feature-post-loop > a,
	.parish > a  { padding-top: 65%; border-radius: 6px 6px 0 0; background: no-repeat center center; background-size: cover; }

	.bar.bar--mobile-sticky[data-scroll-class*='fixed'].pos-fixed { top: 0; margin-top: 0; }
	.bar.bar--mobile-sticky[data-scroll-class*='fixed'] + .bar.pos-fixed { top: 105px; }

	/*  Navigation Scroll  */
	.dropdown > .dropdown__container > .container > .row > .dropdown__content div.col-md-6 { width: 100%; }
	.nav-container ul.menu-horizontal.text-left { max-height: 65vh; overflow-y: auto; background-color: #fff; }
}

.feature img { height: auto; }
.pagination a,
.feature a,
.feature-large a,
.feature .feature__body.boxed a,
body.single-post article .article__body.post-content a:not(.btn) { font-size: 1em; font-weight: normal; text-decoration: underline; line-height: 1.85714286em; }
.feature a.btn,
.feature-large a.btn,
.feature .feature__body.boxed a.btn,
.feature-large .feature__body.boxed a.btn { text-decoration: none; }


.crb_stack_career_shortcode .feature { min-height: 12em; }
.crb_stack_career_shortcode .feature h5 { margin-top: 10px; }

.menu-horizontal > li:not(:hover) > a,
.menu-horizontal > li:not(:hover) > span,
.menu-horizontal > li:not(:hover) > .modal-instance > .modal-trigger { opacity: inherit; }

.menu-horizontal > li:hover > a,
.menu-horizontal > li:hover > span,
.menu-horizontal > li:hover > .modal-instance > .modal-trigger { opacity: 0.7; }

.bar .menu-horizontal > li > .dropdown__trigger,
.bar .menu-horizontal > li > a { font-size: 0.8957142857142857em; }

.header--top-bar .menu-horizontal > li > .dropdown__trigger,
.header--top-bar .menu-horizontal > li > a { font-size: 1.1em; }

.dropdown .dropdown__content {
	display: -webkit-box;
		display: -ms-flexbox;
		display: flex;

	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
}
.dropdown .dropdown__content > .pos-absolute[class*='col-'] { position: relative !important; height: auto; align-self: stretch; }
.dropdown .dropdown__content > * { margin: 0; }
.dropdown .dropdown__content > div:last-child { padding-top: 10px; padding-bottom: 10px; }

.dropdown .dropdown__content.dropdown__content--lg { padding: 0; }

.menu-item section { padding-top: 0; padding-bottom: 0; }

.dropdown > .dropdown__container > .container  { -webkit-transform: none; transform: none; }
.dropdown > .dropdown__container > .container > .row {
	max-width: 800px; margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	max-height: 75vh;
}
.dropdown > .dropdown__container > .container > .row > .dropdown__content .col-md-5 { width: 60%; }
.dropdown > .dropdown__container > .container > .row > .dropdown__content .col-md-6 { width: 40%; max-height: 100%; }
.dropdown > .dropdown__container > .container > .row > .dropdown__content .col-md-6.overflow-y-scroll { overflow-y: scroll;  }
.dropdown > .dropdown__container > .container > .row > .dropdown__content .background-image-holder { opacity: .5; }

.helpmenu { position: relative; }
.helpmenu:before { content: ''; position: absolute; top: 20px; right: 20px; border: solid; border-width: 6px 3px 0; border-color: #000 transparent; }
.crb-form--horizontal .helpmenu { display: inline-block; width: auto; }
.crb-form--horizontal .helpmenu select { width: auto; color: #fff; background: #0052a8; border-color: #0052a8; }
.crb-form--horizontal .helpmenu:before { border-color: #fff transparent; }

.team .team-background-image-holder {
	display: inline-block;
	max-width: 400px;
	height: auto;
	margin-bottom: 10px;
	position: static;
	top: 0;
	left: 0;
	background-size: cover !important;
	background-position: 50% 50% !important;
	z-index: 0;
	transition: opacity .3s linear;
	-webkit-transition: opacity .3s linear;
	border-radius: 5px;
}
.team .team-background-image-holder img {
	width: 100%;
	height: auto;
	max-height: 100%;
}
.team .team-background-image-holder:not([class*='col-']) {
	width: 100%;
}

/*  Team Priests  */
.team--priests { margin: 0 -100px; }

@media (max-width: 1363px) {
	.team--priests { margin: 0 -40px; }
	.team--priests .team { width: 33%; }
}

@media (max-width: 991px) {
	.team--priests { margin: 0 -100px; }
}

@media (max-width: 768px) {
	.team--priests { margin: 0; }
	.team--priests .team { float: left; width: 50%; }
}

@media(max-width: 480px){
	.team--priests .team { float: none; margin: 0 auto; width: 100%; }
}

.nav-container .container .row { margin-bottom: 15px; }
@media (max-width: 480px) {
	.nav-container .container .row .logo { max-width: 100%; }
}

.crb-posts-filter { position: relative; max-width: 400px; margin: 0 auto; }
.crb-posts-filter:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 9px;
	margin-top: -12px;
	background: url(assets/images/icon-magnifier.png) 0 0 no-repeat;
	display: block;
	width: 25px;
	height: 25px;
	background-size: contain;
}
.crb-posts-filter input { position: relative; display: block; padding-right: 40px; }

.single-crb_priest .article__title span,
.single-crb_priest .unpad,
.single-crb_deacons .article__title span,
.single-crb_deacons .unpad { display: none; }

.team-template-default.single.single-team .article__title span,
.team-template-default.single.single-team .unpad,
.team-template-default.single.single-team .article__title span,
.team-template-default.single.single-team .unpad { display: none; }

/*  Tabs Overwrite  */
.tabs li {  }
.tabs .tab__title p { margin-left: 25px; }

@media(max-width: 1023px){
	.tabs li { display: block !important; }
	.tabs li i.icon { display: block !important; margin: 0 auto !important; width: auto !important; }
	.tabs .tab__title p { margin-left: 0 !important; }
	.tabs li:not(:last-child) {	border-bottom: 1px solid #ECECEC !important; border-right: none !important; }
}
@media(min-width: 1200px){
	#menu1 .col-md-11 {
		padding-top: 40px;
	}
}

/*  Homepage Category Filter  */

body.home .masonry-filter-container { display: none; }
body.home #blog-cards-detailed-boxes-for-blogs + section.space--xxs { padding-top: 0; margin-top: -45px; }

/*  Blog Post Title  */

body.single-post .article .article__title h1 { font-size: 4em; }

/*  Mobile Navigation Overlap Fix  */

@media(max-width: 767px){
	.menu-vertical { width: 80vw; overflow-y: auto; }
}

/*  Latest News Buttons Mobile Fix */

@media(max-width: 767px) {
	.cta.cta--horizontal .btn { margin-bottom: 0 !important; }
}

/*  Blog Post Font-Size  */

article .article__body p, article .article__body ul { font-size: 1em; }

/*  Jobs  */

.boxed.feature { padding: 50px 20px 25px; }

/*  Blog Post Thumbnails  */

.featured-image-holder { width: 400px; }

/* Nav Logo */

@media (min-width: 768px) and (max-width: 1200px) {
	nav#menu1 .col-md-11 { width: 100%; }
	nav#menu1 .col-md-1 { width: 100%; text-align: center; margin-bottom: 20px; }
}

@media (max-width: 767px) {
	.menu-vertical { max-height: 196px; }
}

section a {
	font-weight: 400;
}
p + a:not(.btn) {
	font-size: 100%;
	line-height: inherit;
}