/*
Theme Name: Calvary Albuquerque
Theme URI: www.calvaryabq.org
Description: Visual Composer Starter child theme
Author: Calvary Albuquerque
Author URI: www.calvaryabq.org
Template: visual-composer-starter
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: calvaryabq
*/

:root {
	--shadow: 0 .5rem 1.2rem rgba(0,0,0,.2);
}

@media (min-width: 1200px) {
  .vcv-layout-wrapper {
    grid-template-columns: 1fr 960px 1fr;
  }
}

.vce-button--style-basic {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}

/* image switcher */
.entry-content .img_switch_image {
  width: auto;
  margin: 0 auto;
}

/* cross site links in the header */
#cross-ref {
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 1rem;
  line-height: 55px;
  letter-spacing: 1px;
  color: #ffffff;
}

#cross-ref > div {
	width: 20%;
}

@media (max-width: 991px) {
  #cross-ref {
    font-size: 0.7rem;
    line-height: 45px;
  }
}

/*
@media (max-width: 480px) {
  #cross-ref {
    font-size: 0.8em;
    line-height: 33px;
  }
}
*/

@media (max-width: 543px) {
  #cross-ref {
    font-size: 0.8em;
    line-height: 33px;
	display: flex;
	  flex-wrap: wrap;
  }

  #cross-ref > div {
	flex-basis: 33.333%;
	width: auto;
	padding-left: 3px;
	padding-right: 3px;
  }

  #cross-ref div.site-3,
  #cross-ref div.site-5 {
	flex-basis: 50%;
  }
}

/* campus button active background color */
#cross-ref div.active.site-1 {
	background: #d61b23;
}

#cross-ref div.active.site-2 {
	background: #445281;
}

#cross-ref div.active.site-3 {
	background: #0c7880;
}

#cross-ref div.active.site-4 {
	background: #800263;
}

#cross-ref div.active.site-5 {
	background: #c17c32;
}

#cross-ref a {
  color: #1A1818;
  text-decoration: none;
  display: block;
}

/* primary menu in header */
header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul {
  padding: 0;
  margin: 0;
}

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item a {
  font-family: 'Oswald', serif;
  font-weight: normal;
  padding: 0 28px;
}

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container > ul.menu > .menu-item > a {
  border-right: 1px solid #d61b23;
}

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container > ul.menu > .menu-item:last-child > a {
  border-right: 0;
}

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu {
  border: 0;
  top: 195%;
  left: 0;
}

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu:before {
  position: absolute;
  top: -19px;
  left: 45px;
}

  .site-id-1 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu:before {
    content: url('/wp-content/uploads/2019/02/menu-arrow-up.png');
  }

  .site-id-2 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu:before {
    content: url('/santa-fe/wp-content/uploads/sites/2/2018/11/menu-arrow-up.png');
  }

  .site-id-3 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu:before {
    content: url('/santa-fe/wp-content/uploads/sites/3/2018/11/menu-arrow-up.png');
  }

  .site-id-4 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu:before {
    content: url('/westside/wp-content/uploads/sites/4/2019/02/menu-arrow-up.png');
  }

  .site-id-5 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu:before {
    content: url('/espanol/wp-content/uploads/sites/5/2021/10/menu-arrow-up.png');
  }

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .sub-menu a {
  font-size: 1em;
}

header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item:hover > .sub-menu > li > a {
  padding: 16px 32px;
  border: 0;
  overflow: hidden;
}

  .site-id-1 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item:hover > .sub-menu > li > a {
    border-bottom: 1px solid #D61B23;
  }

  .site-id-2 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item:hover > .sub-menu > li > a {
    border-bottom: 1px solid #445281;
  }

  .site-id-3 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item:hover > .sub-menu > li > a {
    border-bottom: 1px solid #0c7880;
  }

  .site-id-4 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item:hover > .sub-menu > li > a {
    border-bottom: 1px solid #800263;
  }

  .site-id-5 header .vce-basic-menu-container .vce-basic-menu .menu-primary-menu-container ul .menu-item:hover > .sub-menu > li > a {
    border-bottom: 1px solid #DE9F5C;
  }

header .vce-basic-menu-sandwich-container .vce-sandwich-menu-wrapper {
  margin-bottom: 0;
}

header .vce-sandwich-menu-inner {
  text-align: left;
}

header .vce-sandwich-menu-inner nav .menu-item-has-children > ul {
  margin-left: 1.5em;
  margin-top: 0;
}

#hidden-search-form {
  position: absolute;
  top: 0;
  right: 25px;
  background: #1a1818;
  padding: 10px;
  z-index: 2;
}
@media (max-width: 575px) {
  #hidden-search-form {
    top: 100%;
  }
}

@media (max-width: 575px) {
  .entry-content .vce-row-content .vce-col-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .entry-content .vce-row-no-paddings .vce-row-content .vce-col-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

/*
Fix: 20221103
Logo Stretched Height of Header
*/
header.vcv-header .vce-row-content {
    padding: 0 !important;
}
.vce-logo-widget {
    height: auto !important;
}
.vce-logo-widget .custom-logo-link {
    height: auto !important;
}
.vce-logo-widget .custom-logo-link img {
    height: auto !important;
}

.vce-row-full-height.vce-row-columns--stretch .vce-section {
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vce-row-full-height.vce-row-columns--stretch .vce-section-inner {
  width: 100%;
}

.vce-row-full-height.vce-row-columns--stretch .vce-hero-section--content {
  padding-top: 20px;
  padding-bottom: 20px;
}

.vce-row-full-height.vce-row-columns--stretch .scroll-to-here.vce-features--size-medium {
    position: absolute;
    bottom: 0%;
    left: 50%;
    margin-left: -46.3px;
}

/* temp style; will be replaced with MP data */
#el-41a3eb1f .vce-single-image-wrapper,
#el-41a3eb1f .vce-single-image-inner,
#el-8d2cc704 .vce-single-image-wrapper,
#el-8d2cc704 .vce-single-image-inner {
  display: block;
}

#el-41a3eb1f .vce-single-image,
#el-8d2cc704 .vce-single-image {
  width: 100%;
}

/* podcast / RSS links */
.vce-basic-menu .menu-subscribe-to-the-podcast-container > .menu > li {
  background: #d1d1d1;
  margin: 0 10px;
  flex-grow: 1;
  text-align: center;
}

.vce-basic-menu .menu-subscribe-to-the-podcast-container > .menu > li:hover {
  background: #d61b23;
}

.vce-basic-menu .menu-subscribe-to-the-podcast-container > .menu .sub-menu {
  border: 0;
  left: 50%;
  right: 0;
  display: block;
  text-align: center;
}

.vce-basic-menu .menu-subscribe-to-the-podcast-container > .menu .menu-item:hover > .sub-menu > li a {
  width: 100%;
  display: block;
}

/* sub menu on some of the pages */
.site-id-1 .vce-basic-menu .menu-about-container li.current-menu-item a,
.site-id-1 .vce-basic-menu .menu-events-container li.current-menu-item a {
  color: #d61b23;
}

.site-id-2 .vce-basic-menu .menu-about-container li.current-menu-item a,
.site-id-2 .vce-basic-menu .menu-events-container li.current-menu-item a {
  color: #445281;
}

.site-id-3 .vce-basic-menu .menu-about-container li.current-menu-item a,
.site-id-3 .vce-basic-menu .menu-events-container li.current-menu-item a {
  color: #0c7880;
}

.site-id-4 .vce-basic-menu .menu-about-container li.current-menu-item a,
.site-id-4 .vce-basic-menu .menu-events-container li.current-menu-item a {
  color: #800263;
}

.site-id-5 .vce-basic-menu .menu-about-container li.current-menu-item a,
.site-id-5 .vce-basic-menu .menu-events-container li.current-menu-item a {
  color: #c17c32;
}

#gallery-buttons,
#share-buttons {
  font-weight: bold;
}

#gallery-buttons .col {
  text-align: center;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  #gallery-buttons .col {
    text-align: right;
  }

  #gallery-buttons .col + .col {
    text-align: left;
  }
}

#gallery-buttons .col:first-child > span {
  margin: 0 6px;
  display: inline-block;
}

#gallery-buttons #gallery-prev,
#gallery-buttons #gallery-next {
  background: #949191;
  color: #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  font-family: Oswald;
  font-size: 25px;
  margin: 0 4px;
}

.site-id-1 #gallery-buttons #gallery-prev:hover,
.site-id-1 #gallery-buttons #gallery-next:hover {
  background: #d71b23;
}

.site-id-2 #gallery-buttons #gallery-prev:hover,
.site-id-2 #gallery-buttons #gallery-next:hover {
  background: #445281;
}

.site-id-3 #gallery-buttons #gallery-prev:hover,
.site-id-3 #gallery-buttons #gallery-next:hover {
  background: #0c7880;
}

.site-id-4 #gallery-buttons #gallery-prev:hover,
.site-id-4 #gallery-buttons #gallery-next:hover {
  background: #800263;
}

.site-id-5 #gallery-buttons #gallery-prev:hover,
.site-id-5 #gallery-buttons #gallery-next:hover {
  background: #c17c32;
}


a.button, a:link.button, a:visited.button {
	display: inline-block !important;
	border: 0 none !important;
	padding: 20px 56px;
	margin-bottom: 1.5rem;
	background:#e51c24;
	font-size: 1.2rem;
	text-align: center;
	color: #ffffff;
	border-radius:10rem;
}
a.button:hover, a.button:active {
	background: #ce1920;
	color: #ffffff !important;
}
a.button + a.button {
	margin-left: 1rem;
}
@media all and (min-width: 0) and (max-width: 768px) {
	a.button + a.button {
		margin-left: 0;
	}
}


.ssba-modern-2 {
  vertical-align: middle;
}

.ssba-modern-2 .ssbp-list li {
  padding: 0;
  margin: 0 4px !important;
}

.ssba-modern-2 .ssbp-list li a {
  border-color: #6a737b;
  color: #6a737b;
}

.ssba-modern-2 .ssbp-list li a:hover {
  background: none;
}

.site-id-1 .ssba-modern-2 .ssbp-list li a:hover {
  color: #d71b23;
}

.site-id-2 .ssba-modern-2 .ssbp-list li a:hover {
  color: #445281;
}

.site-id-3 .ssba-modern-2 .ssbp-list li a:hover {
  color: #0c7880;
}

.site-id-4 .ssba-modern-2 .ssbp-list li a:hover {
  color: #800263;
}

.site-id-5 .ssba-modern-2 .ssbp-list li a:hover {
  color: #c17c32;
}

#photo-gallery-grid .vce-post-description--full .vce-post-description--content {
  background: #2d2d2d;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  min-height: 350px;
}

.site-id-1 #photo-gallery-grid .vce-post-description--full a.vce-post-description-link:hover + div + .vce-post-description--content,
.site-id-1 #photo-gallery-grid .vce-post-description--full .vce-post-description--content:hover {
  background: #d71b23;
}

.site-id-2 #photo-gallery-grid .vce-post-description--full a.vce-post-description-link:hover + div + .vce-post-description--content,
.site-id-2 #photo-gallery-grid .vce-post-description--full .vce-post-description--content:hover {
  background: #445281;
}

.site-id-3 #photo-gallery-grid .vce-post-description--full a.vce-post-description-link:hover + div + .vce-post-description--content,
.site-id-3 #photo-gallery-grid .vce-post-description--full .vce-post-description--content:hover {
  background: #0c7880;
}

.site-id-4 #photo-gallery-grid .vce-post-description--full a.vce-post-description-link:hover + div + .vce-post-description--content,
.site-id-4 #photo-gallery-grid .vce-post-description--full .vce-post-description--content:hover {
  background: #800263;
}

.site-id-5 #photo-gallery-grid .vce-post-description--full a.vce-post-description-link:hover + div + .vce-post-description--content,
.site-id-5 #photo-gallery-grid .vce-post-description--full .vce-post-description--content:hover {
  background: #c17c32;
}

#photo-gallery-grid .vce-post-description--full .vce-post-description--content:after {
  content: "View Slideshow";
  font-size:0.8em;
  font-weight: bold;
  color: #ffffff;
  position: absolute;
  bottom: 30px;
}

#photo-gallery-grid .vce-post-description--title a,
#photo-gallery-grid .vce-post-description--excerpt {
  color: #ffffff;
}

#photo-gallery-grid .vce-post-description--excerpt {
  font-size: 0.9em;
  margin-top: 20px;
}

.vce-faq-toggle {
  border-top: 1px solid #d71b23;
}

.vce-faq-toggle:last-child {
  margin-bottom: 40px;
  border-bottom: 1px solid #d71b23;
}

.vce-faq-toggle .vce-faq-toggle-wrapper {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0 10px;
}

.vce-faq-toggle .vce-faq-toggle-title {
  padding-left: 0;
  padding-right: 33px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.vce-faq-toggle .vce-faq-toggle-title.vce-faq-toggle-state--opened {
  color: #d71b23;
}

.vce-faq-toggle .vce-faq-toggle-icon {
  right: -33px;
  left: auto;
}

.vce-faq-toggle .vce-faq-toggle-icon:before {
  content: url('/wp-content/uploads/2018/11/faq-arrow-down.png');
  width: 22px;
  height: 22px;
}

.vce-faq-toggle .vce-faq-toggle-state--opened .vce-faq-toggle-icon:before {
  content: url('/wp-content/uploads/2018/11/faq-arrow-up.png');
}

.vce-faq-toggle .vce-faq-toggle-icon:after {
  display: none;
}

.vce-faq-toggle .vce-faq-toggle-text-block {
  padding: 20px 33px 30px 0;
}

.header-social-icons i {
	font-size: 1.5rem !important;
}

#footer-copyright {
  font-size: 0.8rem;
}

#footer-links-secondary a:hover {
  color: #ffffff;
}

.footer-social-icons {
  color: #6a737b;
}

.footer-social-icons a {
  color: #6a737b;
  margin: 0 5px;
}

.footer-social-icons a:hover {
  color: #ffffff;
}

.footer-social-icons i {
	font-size: 1.5rem !important;
}

@media (max-width: 767px) {
  .social-media-icons {
    margin: 20px 0;
    text-align: center;
  }
}

.social-media-icons .vce-features--style-outlined-circle .vce-features--icon {
  border-width: 2px;
  width: 2.1em;
  height: 2.1em;
}

.social-media-icons .vce-features--style-outlined-circle .vce-features--icon .vce-icon-container {
  transition: color 0s;
}

.social-media-icons .vce-features--style-outlined-circle .vce-features--icon .vcv-ui-icon-monosocial:before {
  font-size: 2.3em;
}

.social-media-icons .vce-features--style-outlined-circle .vce-features--icon .fa:before {
  font-size: 1.2em;
}

@media (min-width: 768px) {
  .vcv-footer .social-media-icons .vce-icon-group {
    justify-content: start;
    -ms-flex-pack: start;
    -webkit-box-pack: start;
  }
}

/*
  Add Padding to left and right margins of VC boxed content - 20231019
  Doesn't work everywhere...
*/
.vce-row-container[data-vce-boxed-width=true] {
	padding: 0 1.5rem !important;
}
/*
  Remove padding if same container style is contained within. So padding isn't doubled up.
*/
.vce-row-container[data-vce-boxed-width=true] .vce-row-container[data-vce-boxed-width=true] {
	padding: 0 !important;
}

footer .vce-row-container[data-vce-boxed-width=true] {
	padding: 0 !important;
}

.rounded .vce-text-block-wrapper,
.vce-single-image--border-rounded,
.rounded figure {
	border-radius: 1rem !important;
	overflow: hidden;
}

/* 
  Card Style
  add "card" class to a COLUMN (not ROW)
  add "card empty" to a COLUMN that has NO content
*/
.vce-row-content .vce-col.card {
	background: #fff;
	/*border: 2px solid #ccd0d2;*/
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 2rem;
	padding: 1.5rem;
	-webkit-box-shadow: var(--shadow);
			box-shadow: var(--shadow);
}
.vce-row-content .vce-col.card.empty {
	background: transparent;
	/*border: 2px solid transparent;*/
	-webkit-box-shadow: none;
			box-shadow: none;
}
@media (min-width: 0) and (max-width: 768px) {
	.vce-row-content .vce-col.card.empty {
		margin-bottom: 0;
		padding: 0;
	}
}
.vce-row-content .vce-col.card .vce-button--style-underline-wrapper:last-of-type {
	margin-bottom: .5rem;
}
.vce-row-content .vce-col.card .vce-single-image-container {
	margin-top: -1.5rem;
	margin-right: -1.5rem;
	margin-left: -1.5rem;
}


