@import url('//fonts.googleapis.com/css?family=Cinzel|Lato:400,400i,700,700i&display=swap');

/************ 

TEMPLATE NOTES

Red: #4c0f0f; rgba(76,15,15,1)
Gold: #e7b36a; rgba(231,179,106,1)
Light Yellow: #fcddb8; rgba(252,221,184,1) - button background, quicklink left border

************/

body {color: #333; font-size: 1.1rem; font-family: 'Lato', sans-serif; }

h1, h2, h3, h4, h5, h6 { margin: .75rem 0; line-height: 1.3; font-weight: normal;}
.homelayout p {margin-bottom: 0.25rem;}
p { line-height: 1.3; font-size: 1.1rem; font-family: 'Lato', sans-serif; }

h1 {color: #4c0f0f; font-size: 2.5rem;}
h2, .page-header h2 { color: #4c0f0f; font-size: 2rem; border-bottom: 1px solid #777;  line-height: 1.3; margin: 0; padding: 0;}
.homelayout h3 {font-size: 2.5vw; margin-bottom: 0;}
h3 {color: #4c0f0f; font-size: 1.5rem;}
h4 {background: #fcddb8; font-size: 1.75rem; color: #4c0f0f; border-radius: .2rem; padding: .1rem .4rem;}
h5 {color: #e7b36a; font-size: 1.5rem; text-transform: uppercase;}
h6 {color: #4c0f0f; font-size: 1.6rem; font-style: italic;}
a { color: #e7b36a; }
a:hover { color: #4c0f0f; }

#g-footer a{ color: white;  }
#g-footer a:hover{ color: #e7b36a;  }

blockquote {
	color: #333;     
	padding: 0 0 0 15px;
	margin: 0 0 20px;
	border-left: 5px solid #d5d5d5;
	font: italic 16px/22px Georgia, Serif;
	line-height: 1.2;
	font-size: 1.3rem;
}

address {
	font-style: italic;
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1.2;
}

/************ BUTTONS  ************/
.readon, .button, .btn, p.readmore .btn   { 
  color: #4c0f0f; 
  font-size: 1.1rem;
  text-transform: none;
  font-weight: normal;
  background: #fcddb8; 
  padding: .7rem 1.3rem; 
  border-radius: .5rem; 
  margin: 0;
  display: inline-block;
  font-weight: 500;
  line-height: 1.125rem;
  border: none;
  transition: all .2s ease-in;
}

.readon:hover, .button:hover, .btn:hover,  p.readmore .btn:hover {background: #4c0f0f; color: white;}

.btn .icon-chevron-right { display: none;}

/************ TABLES  ************/
.fancytable th {color: white; background: #4c0f0f; border: 1px solid #4c0f0f;}
.fancytable td { border: 1px solid #4c0f0f;}

/************ ALERT ************/
.alert .g-content {padding: 0; margin: 0;}
.alert {border: none; padding: 0; margin: 0; background-color: #FFCFCF; color: #FF0000;}
.alert h1, .alert h2, .alert h3, .alert h4, .alert h5, .alert h6, .alert p { margin-left: 20px; color: red; background: transparent;}

/************ HOMELAYOUT ************/
.homelayout .hiddenhome { display: none; }
p.buttonheading { margin: 0; }
#g-feature:before { border: none; }

/************ HEADER  ************/
#g-top { 
	background: 
	url(../images/template/church.png) 0% 0% no-repeat,
	url(../images/template/statue.png) 100% 0% no-repeat,
	url(../images/template/background.jpg) 50% 100% no-repeat;
	background-size: contain;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.g-logo img { width: 60%; }
}

@media only screen and (max-width: 767px) {
	.g-logo img { width: 80%; }
	#g-top { 
	border-bottom: 2px #4c0f0f solid;
	background: 
	url(../images/template/church-mobile.png) 0% 0% no-repeat,
	url(../images/template/statue-mobile.png) 100% 0% no-repeat,
	url(../images/template/background.jpg) 50% 100% no-repeat;
	background-size: contain;
	}	
	.homelayout h3{	
		font-size: 5vw !important;
		margin-bottom: 0 !important;}
	#masstimesblock p {font-size: 1rem;}
}

@media only screen and (max-width: 767px) {
	 }
}

.newslayout .pull-right.item-image img {
    max-width: 25vw;
}

.sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span {
    background: transparent;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #4c0f0f;
    transition: all .2s ease-in-out;
	border: 1px solid #4c0f0f;
}

.sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span:hover {
    background: #4c0f0f;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: white;
    transition: all .2s ease-in-out;
	border: 1px solid #4c0f0f;
}


/************ MENU  ************/
#g-navigation .g-content { margin: 0; padding: 0;}
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-toplevel > li:hover > .g-menu-item-container, .g-main-nav .g-toplevel > li.active > .g-menu-item-container { color: white; }
.g-main-nav .g-standard > .g-dropdown, .g-main-nav .g-fullwidth > .g-dropdown { margin-top: 0px;}
.g-main-nav .g-toplevel > li:hover, .g-main-nav .g-toplevel > li.active {   background: rgba(0,0,0,.25); }
.g-main-nav .g-sublevel > li:hover, .g-main-nav .g-sublevel > li.active {   background: rgba(0,0,0,.25); }
#g-navigation { padding-bottom: 0px; }
.g-main-nav .g-toplevel > li > .g-menu-item-container { text-align: center;  padding: 0.625rem 0.75rem;  }
.g-main-nav .g-toplevel > li.g-parent .g-menu-parent-indicator {display: none; }
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-sublevel > li > .g-menu-item-container {font-size: 1rem; }
#main-menu .g-content  { margin: 0; padding: 0;}

.g-main-nav ul.g-toplevel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}
.g-main-nav .g-standard .g-fade.g-dropdown { z-index: 10;}
.g-main-nav .g-dropdown { border-radius: 0 0 6px 6px;}

.g-main-nav .g-standard > .g-dropdown.g-dropdown-right, .g-main-nav .g-fullwidth > .g-dropdown.g-dropdown-right { left: 0; }

@media only screen and (max-width: 767px) { 
	.g-offcanvas-toggle {
		top: 20px;
		left: 20px;
	}
}

/************ SIDE MENU  ************/
#g-aside .moduletable[class*="box"] { padding: 0; }
#g-aside .g-content { padding-left: 0; padding-right: 0px;}
.moduletable .nav.menu li a { width: 100%; border-radius: 0; padding: 10px 20px; color: #4c0f0f; font-weight: normal;}
.moduletable .nav.menu li{ transition: all .2s ease-in; border-radius: 3px; width: 100%; padding: 0; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.75);}
.moduletable .nav.menu, .moduletable .unstyled { border: none; padding: 0; margin: 0; display: block;  background: #fcddb8;  border-radius: 0; }
.moduletable .nav.menu li:last-child {  padding-bottom: 0;  margin-bottom: 30px;}
.moduletable .nav.menu .nav-child li:last-child {  margin-bottom: 0px;}
.moduletable .nav .nav-child { margin-top: 0px;}
.moduletable .nav.menu .nav-child li { border: none; margin-left: 20px; padding-right: 20px;}

.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover { 
	color: white;
	background: #4c0f0f;
	font-weight: normal;
}

/************ OFFCANVAS MENU  ************/
.g-offcanvas-toggle {color: #4c0f0f; }
#g-offcanvas #g-mobilemenu-container .g-toplevel > li > .g-menu-item-container > .g-menu-item-content, #g-offcanvas #g-mobilemenu-container .g-sublevel > li > .g-menu-item-container > .g-menu-item-content {font-weight: normal; }
#g-offcanvas .g-menu-item-title {color: #4c0f0f; }
#g-offcanvas #g-mobilemenu-container ul > li > a.g-menu-item-container:hover {background: rgba(0,0,0,0.1); }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator {border: none; background: none; }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator:hover {border: none; background: none; }

/************ ROTATOR FULL WIDTH  ************/
#g-showcase .g-content { padding: 0; margin: 0; }
#g-showcase { background: url(../images/template/pattern.jpg) 0% 100% no-repeat !important; background-size: contain !important; }
.masstimesblock {overflow: auto; height: 37vw;}
.masstimesblock p {font-size: 1.5vw;}
@media only screen and (min-width: 767px) {
#g-showcase .layout-slideshow .sprocket-features-img-container img { float: none; width: 100%;  height: 37vw !important; object-fit: cover; object-position: center; }
}
@media only screen and (max-width: 767px) {
	#g-showcase .g-block:first-child  { order: 2; }
	#g-showcase .g-block:last-child { order: 1; }
	#g-showcase .layout-slideshow .sprocket-features-img-container img { float: none; width: 100%;  height: 56vw !important; object-fit: cover; object-position: center;}
}

/************ BIGGER ARROWS ON SLIDESHOW ************/
.layout-slideshow .sprocket-features-arrows .arrow span { font-size: 6rem; line-height: 0px; width: 25px;}

.sprocket-features.layout-slideshow.arrows-onhover .sprocket-features-arrows .arrow { background: none; box-shadow: none; color: white; text-shadow: 2px 2px 5px rgba(0,0,0,0.75);}
.sprocket-features.layout-slideshow.arrows-onhover .sprocket-features-arrows .arrow { font-size: 5rem; }
.arrows-active .sprocket-features-img-list {margin: 0px; }
.arrows-onhover .sprocket-features-arrows .arrow.prev span { margin-left: 0;}
.arrows-onhover .sprocket-features-arrows .arrow.next span { margin-right: 0;}


@media only screen and (max-width: 767px) {
	.sprocket-features-pagination, .sprocket-features-arrows { display: none;}
}

/************ WELCOME ************/
#g-utility h1 { font-size: 5vw; letter-spacing: 3px; }
#g-utility h3 { font-size: 2.25vw; letter-spacing: 1px; }
#g-utility .welcome .g-content { margin: 0.3125rem 0 0 0; padding: 0.75rem 0 0 0; }
#g-utility .g-grid:nth-child(2) .g-content { margin: 0 0.5rem 0.3125rem 0.5rem; padding: 0 0.5rem 0.75rem 1rem; }
#g-utility .mod_placehere_leading.even { overflow: visible !important; }

@media only screen and (min-width: 768px) and (max-width: 959px) {
	#g-utility h1 { font-size: 6vw; }
	#g-utility h3 { font-size: 3vw; }
}

@media only screen and (max-width: 767px) {
	#g-utility h1 { font-size: 8vw; }
	#g-utility h3 { font-size: 4.5vw; }
}

/************ QUICKILINKS ************/
#g-feature .g-content { margin: 0.625rem 0; padding: 1.5rem 0; }
.g-iconmenu {display: flex; width: 100%;  margin: 0 0 0 auto;}
.g-iconmenu > a  { flex: 1; border-left: 1px #fcddb8 solid; padding: 10px; }
.g-iconmenu > a:hover.g-iconmenu-item { background: rgba(252,221,184,0.25); }
.g-iconmenu > a:first-child { border-left: none;}
.g-iconmenu span { display: block; text-align: center; }
.g-iconmenu .g-iconmenu-text { color: #4c0f0f; line-height: 1.1; font-size: 1.3vw; }
.g-iconmenu .g-iconmenu-icon { color: #e7b36a; font-size: 2.75rem; padding-bottom: 10px; }
.g-iconmenu img { height: 4vw; padding-bottom: 20px;}

@media only screen and (max-width: 767px) { 
	.g-iconmenu {width: 100%; }
	.g-iconmenu img { height: 10vw;}
	.g-iconmenu .g-iconmenu-icon { font-size: 2.1rem; } 
	.g-iconmenu .g-iconmenu-text {  font-size: 2.5vw; }
}

/************ HOME MODULES ************/
h3.g-title { background: #4c0f0f; font-size: 1.75rem; color: white; border-radius: .2rem; padding: .1rem 1rem;}
#g-expanded .g-block:nth-child(2) h3.g-title { text-align: center; }
#g-expanded { background: url(../images/template/pattern.jpg) 0% 100% no-repeat !important; background-size: contain !important; }
#g-expanded .g-block:first-child .g-content { margin-right: 2rem; }

@media only screen and (max-width: 767px) {
	#g-expanded { background: url(../images/template/pattern-mobile.jpg) 0% 100% no-repeat !important; background-size: contain !important; }
}

/************ HEADLINES  ************/
h4.sprocket-lists-portrait-title { background: none; font-size: 1.65rem !important; color: #4c0f0f; margin-top: 0px; margin-bottom: 0px; line-height: 40px !important;}
.active h4.sprocket-lists-portrait-title { margin-bottom: 10px; line-height: 1.3 !important;}
.portrait-image img {height: 40px;}
.active .portrait-image img {   object-fit: cover;  object-position: center;  height: 200px;}
.active .portrait-image { width: 40%;}
.sprocket-lists-portrait-container li {  border-bottom: 2px solid rgba(76,15,15,0.25); }

#g-expanded .platform-content:first-child {margin-bottom: 0px; padding-bottom: 0px;}
#g-expanded .platform-content:last-child { margin-top: 0px; padding-top: 0px;}

/************ CATHOLIC NEWS ************/
.homelayout ul.newsfeed { margin: 0.75rem; list-style-type: none; }
.homelayout .newsfeed li:first-child { padding-top: 0;}
.homelayout .newsfeed li { border-bottom: 2px solid rgba(76,15,15,0.25); padding: 12px 0; line-height: 1.25;}
.homelayout .newsfeed li span h3 a { font-family: 'Lato', sans-serif; font-size: 1.1rem; }
.homelayout .newsfeed li span h3 { line-height: 0.7 !important; margin: 0 !important; }

/************ FOOTER ************/
#g-footer h2 { border-bottom: none; }
#g-footer a .fa.fa-lock { color: #e7b36a; }
#g-footer a:hover .fa.fa-lock { color: #777; }

/************ MINISTRY PAGE  ************/
.ministrypage .items-row { 
	display: flex; 
	align-items: stretch;
}
.ministrypage .items-row > div { 
	display: flex; 
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2); 
	border-radius: 0 0 4px 4px; 
	background: rgba(252, 221, 184,0.2); 
	margin: 20px;
	
}
.ministrypage .items-row .item  {
	display: flex; flex-direction: column; width: 100%; 
}
.ministrypage .items-row .item .readmore { flex:1;}
.ministrypage .item .pull-left.item-image { order: 1; }
.ministrypage .item .pull-left.item-image img { border-radius: 4px 4px 0 0; width: 100%;}
.ministrypage .item .page-header { order: 2; padding: 0 5px 0 20px; }
.ministrypage .item table { order: 3; margin: 5px 0 20px 0;  padding: 0 20px; }
.ministrypage .item p { order: 4;  padding: 0 20px; }
.ministrypage .pull-left.item-image { margin: 0; padding: 0;}

.ministrypage .page-header h2 {
	line-height: 1.2;
    font-size: 1.8rem;
    border-bottom: 0px;
    margin: 3px 0 0 0;
    padding: 0;
}

.ministrypage a { word-break: break-all; }
.ministrypage h2 a { word-break: normal; }

.btn [class^="icon-"] { display: none; }


@media only screen and (max-width: 767px) {
	.ministrypage .item { /*padding-bottom: 30px;*/ margin: 30px 8px;}
	.ministrypage .item .pull-left.item-image img  { width: 100%;}
	.ministrypage .items-row { display: block; }
	.ministrypage .items-row > div { margin-left: 0; margin-right: 0;}
}

/*************Flocknote embed****************/
.flocknoteform input[type="text"] {max-width: max-content; margin: 0.25rem 0;}
.flocknoteform input[type="email"], .flocknoteform input[type="tel"] { max-width: fit-content; margin-bottom: 0;}
.flocknoteform button {background: #e7b36a; color: white; padding: 0.5rem; border: 1px solid #e7b36a;}
.flocknoteform button:hover {background: transparent; color: #e7b36a; padding: 0.5rem; border: 1px solid #e7b36a;}
.flocknotebackground {background-color: #e5e5e5; padding: 0.5rem;}
