/**
Theme Name: Astra Rosary advisory
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-rosary-advisory
Template: astra
*/

.services-header {
	margin-left: -100px;
}

@media (max-width: 800px) {
	.services-header {
		margin-left: 0px;
	}
}	

.image-services img {
	margin-top: -100px;
}


.copyright-text {
	font-size: 15px;
}

@media (min-width: 1060px) {		
	.founder-header {
		position: absolute;
		top: -14%;
	}
}	

@media (max-width: 921px) {		
	.image-of-founder {
		float: none!important;
		margin-inline-end: 0!important;
		margin-right: 0;
	}
}	

@media (max-width: 767px) {
	.copyright-text {
	font-size: 13px;
	}
}

.uagb-faq-child__outer-wrap {
    margin-bottom: 0px!important;
}

/* add a border to the bottom on the last faq item */ 
.uagb-faq-item:last-child {
    border-bottom-width: 1px;
    border-color: #D2D2D2;
    border-style: solid;
}
/* set font size on faq items */
.uagb-question {
	font-size: 20px;
    font-weight: 500;
}

@media (max-width: 767px) {
	.uagb-question {
		font-size: 16px;
	}
}



.site-primary-header-wrap .ast-builder-grid-row {
	border-style: solid;
    border-width: 0px;
    border-bottom-width: 1px;
	border-color: #D2D2D2;
}

.main-header-menu .menu-link, .main-header-menu>a {
	padding-right: 0px!important;
}

.wp-container-core-columns-is-layout-74e2db4f {
	gap: 0px!important;
}

.site-footer p {
	margin-bottom: 0px!important;
	font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

  
.site-footer .widget {
	margin-bottom: 0.25em!important;
}

.site-primary-footer-inner-wrap {
    max-width: 1230px!important;	
}

.site-primary-footer-wrap .ast-builder-footer-grid-columns {
	border-style: solid;
    border-width: 0px;
    border-top-width: 1px;
}

@media (min-width: 922px) {
.site-primary-footer-wrap .site-footer-section-1 {
	padding-top: 20px;
	padding-left: 50px;
}
.site-primary-footer-wrap .site-footer-section-2 {
	padding-top: 20px;
	padding-left: 50px;
}
}
@media (max-width: 921px) {
	
	.site-primary-footer-wrap .site-footer-section-1 {
		padding-top: 20px;
		padding-left: 20px;
}
	.site-primary-footer-wrap .site-footer-section-2 {
		padding-top: 20px;
		padding-left: 20px;
	}
}

@media (max-width: 544px) {
	.site-primary-footer-wrap .site-footer-section-1 {
		padding-top: 20px;
		padding-left: 0px;
}
	.site-primary-footer-wrap .site-footer-section-2 {
		padding-top: 20px;
		padding-left: 0px;
	}
}

.site-below-footer-wrap {
	padding-bottom: 0px!important;
}

.site-below-footer-inner-wrap {
    max-width: 1230px!important;	
}

.ast-builder-footer-grid-columns  {
    grid-column-gap: 0px;
}

	.site-below-footer-wrap .ast-builder-footer-grid-columns {
		border-style: solid;
   	 	border-width: 0px;
   		border-top-width: 1px;
	}

@media (min-width: 922px) {

	.site-below-footer-wrap .site-footer-section-1 {
		border-style: solid;
    	border-width: 0px;
    	border-right-width: 1px;
		padding-left: 50px;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.site-below-footer-wrap .site-footer-section-2 {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 50px;
	}
}

@media (max-width: 921px) {
	.site-below-footer-wrap .site-footer-section-1 {
		padding-top: 40px;
		padding-left: 20px;
	}
	.site-below-footer-wrap .site-footer-section-2 {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 20px;
	}
}

@media (max-width: 544px) {
	.site-below-footer-wrap .site-footer-section-1 {
		padding-top: 40px;
		padding-left: 0px;
	}
	.site-below-footer-wrap .site-footer-section-2 {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 0px;
	}
}

@media (max-width: 782px) {
    .right-col-first {
        flex-direction: column-reverse;
    }
}  

/* Desktop: tryck bilden helt till höger i högra kolumnen */
@media (min-width: 782px) {

  .two-col-img-edge .wp-block-column:nth-child(2) .wp-block-image {
    /* Gör paketet "lagom" och skjut det till höger */
    max-width: 100%;
    margin-inline-start: auto;  /* ersätter "margin-left: auto" med logiskt värde */
    margin-inline-end: 0;
    width: max-content;          /* så att paketet krymper till bildens bredd */
  }
  /* Säkerställ att själva bilden skalar fint */
  .two-col-img-edge .wp-block-column:nth-child(2) .wp-block-image img {
    height: auto;
    max-width: 100%;
    display: block;
  }
}

/* Mobil: centrera paketet */
@media (max-width: 781.98px) {
  .two-col-img-edge .wp-block-column:nth-child(2) .wp-block-image {
    margin-inline: auto;   /* centrera */
    width: max-content;    /* behåll tajt bredd kring bilden */
    text-align: center;    /* centrera ev. caption */
  }
  .two-col-img-edge .wp-block-column:nth-child(2) .wp-block-image {
    /* WP sätter ibland egna margins via align; nollställ för säkerhets skull */
    margin-top: 0;
    margin-bottom: 0;
  }
}


/* Desktop: bilden ska ligga kloss an vänster i vänstra kolumnen */
@media (min-width: 782px) {
  .two-col-img-edge-left .wp-block-column:first-child .img-wrap,
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image {
    max-width: 100%;
    width: max-content;         /* tajt runt bilden/caption */
    margin-inline-start: 0;     /* vänsterkant */
    margin-inline-end: auto;    /* tryck bortåt höger */
    text-align: left;
    max-width: 70%;
  }
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image img {
    display: block;
    height: auto;
    max-width: 100%;            /* skala ned i kolumnen vid behov */
  }
}

/* Mobil: centrera paketet */
@media (max-width: 781.98px) {
  .two-col-img-edge-left .wp-block-column:first-child .img-wrap,
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image {
    margin-inline: auto;        /* centrera */
    width: max-content;         /* behåll naturlig bredd (skalas ned av img-regeln) */
    text-align: center;         /* centrera ev. caption */
    max-width: 90%;
  }
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image img {
    display: block;
    max-width: 100%;            /* hindra overflow */
    height: auto;
  }

  /* Om Image-blocket har inline-bredd (is-resized), neutralisera så att det kan centreras */
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image[style*="width"],
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image.is-resized {
    width: auto !important;
    max-width: 100% !important;
  }
  .two-col-img-edge-left .wp-block-column:first-child .wp-block-image.is-resized img {
    width: auto !important;     /* låt bilden styra, inte figuren */
    max-width: 100% !important;
  }
}



/* Desktop ≥ 782px: centrera bilden i högra kolumnen */
@media (min-width: 782px) {
  .two-col-img-center-desktop .wp-block-column:nth-child(2) .wp-block-image {
    margin-inline: auto;   /* centrerar horisontellt */
    width: max-content;    /* "tight" box runt bilden */
    max-width: 100%;
    text-align: center;    /* centrerar ev. caption */
  }
  .two-col-img-center-desktop .wp-block-column:nth-child(2) .wp-block-image img {
    display: block;
    height: auto;
    max-width: 100%;
  }
}

/* Mobil < 782px: vänsterställ bilden */
@media (max-width: 781.98px) {
  .two-col-img-center-desktop .wp-block-column:nth-child(2) .wp-block-image {
    margin-inline-start: 0;   /* vänsterkant */
    margin-inline-end: auto;
    width: 100%;
    text-align: left;         /* vänsterställa caption */
  }

  .two-col-img-center-desktop .wp-block-column:nth-child(2) .wp-block-image img {
    display: block;
    width: 100%;             /* krymp till förälderns bredd */
    height: auto;            /* behåll proportioner */
    max-width: 100%;
  }

  /* Nollställ ev. align-marginaler från blocket */
  .two-col-img-center-desktop .wp-block-column:nth-child(2) .wp-block-image {
    margin-top: 0;
    margin-bottom: 0;
  }
}

:root {

--wp--custom--carousel-block--navigation-size: 30px;
--wp--custom--carousel-block--navigation-sides-offset: 0px;
--wp--custom--carousel-block--navigation-color: Arrow color
--wp--custom--carousel-block--navigation-hover-color: #fff;
--wp--custom--carousel-block--navigation-alignfull-color: #fff;

}
/*
.swiper-horizontal {
  padding-left: 40px!important;
  padding-right: 40px!important;
}
*/




.wp-block-cb-carousel-v2 .cb-button-next::after,
.wp-block-cb-carousel-v2 .cb-button-prev::after {
    content: "";
    display: block;
    width: 1.5em;
    height: 1.5em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Högerpil – vit */
.wp-block-cb-carousel-v2 .cb-button-next::after {
    background-image: url("data:image/svg+xml;utf8,<svg width='18' height='37' viewBox='0 0 18 37' fill='none' xmlns='http://www.w3.org/2000/svg'><line y1='-0.5' x2='25' y2='-0.5' transform='matrix(-0.690476 0.723356 0.723356 0.690476 17.9852 18)' stroke='%23ffffff'/><line x1='17.6236' y1='18.4291' x2='0.361658' y2='0.345212' stroke='%23ffffff'/></svg>");
}

/* Vänsterpil – vit */
.wp-block-cb-carousel-v2 .cb-button-prev::after {
    background-image: url("data:image/svg+xml;utf8,<svg width='18' height='37' viewBox='0 0 18 37' fill='none' xmlns='http://www.w3.org/2000/svg'><line x1='0.361678' y1='17.6548' x2='17.6236' y2='35.7387' stroke='%23ffffff'/><line y1='-0.5' x2='25' y2='-0.5' transform='matrix(0.690476 -0.723356 -0.723356 -0.690476 0 18.0839)' stroke='%23ffffff'/></svg>");
}

.logo-grid {
  justify-items: center;
  align-items: center;  
}


body {
  background-image: url("/wp-content/uploads/2026/01/rosary-watermark-2.png")!important;
  background-repeat: repeat-y;
  background-position: right top;
  background-attachment: scroll;


}