/* GRIDS */

.grid-container {
    display: -ms-grid;
    display: grid;
    grid-gap: 2rem;
}

.grid-container.grid-footer-main-layout {
    grid-template-columns: 1fr;
    grid-row-gap: 2rem;
    grid-column-gap: 4rem;
}

.grid-container.grid-pilgrimages-main-layout {
    grid-template-columns: 1fr;
    grid-gap: 0;
    max-width: 100vw;
}

.grid-container.grid-pilgrimage-location-layout {
    grid-template-columns: 1fr;
    grid-gap: 0;
    max-width: 100vw;
    width: 100vw;
}

.grid-container.grid-pilgrimage-location-layout>.cell-item {
    width: inherit;
}

@media screen and (min-width: 768px) {
    .grid-container.grid-about-desc-2-layout {
        grid-template-columns:
                [full-start] minmax(0rem, 1fr) [main-start] repeat(2, minmax(384px, 1fr)) [main-end] minmax(0rem, 1fr) [full-end];
        grid-template-rows: 1fr;
        grid-gap: 0;
    }

    .grid-about-desc-2-layout>.cell-item.cell-desc {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-about-desc-2-layout>.cell-item.cell-img {
        grid-area: 1 / 3 / 2 / 5;
    }

    .grid-container.grid-footer-main-layout {
        grid-template-columns: 1fr 1fr;
    }

    .grid-container.grid-pilgrimage-location-layout {
        grid-template-columns: [firstCol] 1fr [secondCol] 1fr;
        grid-template-rows: 1fr;
        width: initial;
    }

    .grid-footer-main-layout>.cell-item.cell-contact-info {
        grid-area: 1 / 1 / 2 / 2;
    }

    .grid-footer-main-layout>.cell-item.cell-newsletter {
        grid-area: 3 / 1 / 4 / 3;
    }

    .grid-pilgrimages-main-layout>.cell-item.grid-pilgrimage-location-layout:nth-child(even)>.cell-item.cell-img {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-pilgrimages-main-layout>.cell-item.grid-pilgrimage-location-layout:nth-child(even)>.cell-item.cell-desc {
        grid-area: 1 / 1 / 2 / 2;
    }
}

@media screen and (min-width: 1024px) {
    .grid-container.grid-about-desc-2-layout {
        grid-template-columns:
                [full-start] minmax(0rem, 1fr) [main-start] repeat(2, minmax(488px, 1fr)) [main-end] minmax(0rem, 1fr) [full-end];
    }

    .grid-footer-main-layout>.cell-item.cell-affiliates {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-footer-main-layout>.cell-item.cell-newsletter {
        grid-area: 2 / 2 / 3 / 3;
    }
}

@media screen and (min-width: 1280px) {
    .grid-container.grid-about-desc-2-layout {
        grid-template-columns:
                [full-start] minmax(0, 1fr) [main-start] repeat(2, minmax(616px, 1fr)) [main-end] minmax(0, 1fr) [full-end];
    }

    .grid-container.grid-footer-main-layout {
        grid-template-columns: 1fr 1.25fr auto 1.25fr;
    }

    .grid-footer-main-layout>.cell-item.cell-contact-info {
        grid-area: 1 / 1 / 2 / 2;
    }

    .grid-footer-main-layout>.cell-item.cell-footer-links {
        grid-area: 1 / 2 / 2 / 3;
    }

    .grid-footer-main-layout>.cell-item.cell-affiliates {
        grid-area: 1 / 3 / 2 / 4;
    }

    .grid-footer-main-layout>.cell-item.cell-newsletter {
        grid-area: 1 / 4 / 2 / 5;
    }
}

@media screen and (min-width: 1440px) {
    .grid-container.grid-about-desc-2-layout {
        grid-template-columns:
                [full-start] minmax(0, 1fr) [main-start] repeat(2, minmax(696px, 1fr)) [main-end] minmax(0, 1fr) [full-end];
    }
}

/* CAROUSEL */
#heroCarousel.carousel>div.carousel-inner,
#heroCarousel.carousel>div.carousel-inner>div.carousel-item>img {
    height: 35rem;
}

.carousel-item-text-content {
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* SLICK & FANCYBOX */
.slick-slide,
.slick-slide:focus {
    outline: none;
}

button.slick-prev.slick-arrow,
button.slick-next.slick-arrow,
button .fancybox-prev
button .fancybox-next {
    position: absolute;
    font-family: "Font Awesome\ 5 Free";
    z-index: 1;
}

button.slick-prev.slick-arrow,
button .fancybox-prev {
    left: -1rem;
    border-radius: 0 10rem 10rem 0;
}

button.slick-prev.slick-arrow>div.arrow-icon-container {
    left: -1px;
}

button.slick-next.slick-arrow,
button .fancybox-next {
    right: -1rem;
    border-radius: 10rem 0 0 10rem;
}

button.slick-next.slick-arrow>div.arrow-icon-container {
    right: -1px;
}

.partners-slick>div.slick-list.draggable {
    position: relative;
}

.partners-slick>div.slick-list.draggable::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 3%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 80%, rgba(255,255,255,1) 97%);
    z-index: 2;
}

.places-to-visit-slick-4>button.slick-prev,
.places-to-visit-slick-3>button.slick-prev,
.places-to-visit-slick-2>button.slick-prev,
.places-to-visit-slick-1>button.slick-prev,
.places-to-visit-slick-4>button.slick-next,
.places-to-visit-slick-3>button.slick-next,
.places-to-visit-slick-2>button.slick-next,
.places-to-visit-slick-1>button.slick-next {
    top: 9rem;
}

.fancybox-navigation .fancybox-button {
    width: unset;
    height: unset;
    background: none;
    top: 50%;
    transform: translateY(-50%);
}

.fancybox-navigation .fancybox-button:disabled .btn.btn-primary {
    cursor: default;
    background: #400;
    border-color: #5e0000;
}

.fancybox-navigation .fancybox-button div {
    height: unset;
    padding: 0;
}

@media screen and (min-width: 512px) {
    button.slick-prev.slick-arrow {
        left: -1.5rem;
        border-radius: 10rem;
    }

    button.slick-next.slick-arrow {
        right: -1.5rem;
        border-radius: 10rem;
    }
}

@media screen and (min-width: 1024px) {
    .fancybox-navigation .fancybox-button--arrow_left {
        left: 5rem;
        border-radius: 10rem;
    }

    .fancybox-navigation .fancybox-button--arrow_right {
        right: 5rem;
        border-radius: 10rem;
    }

    button .fancybox-prev,
    button .fancybox-next {
        border-radius: 10rem;
    }
}

@media screen and (min-width: 1280px) {
    .fancybox-navigation .fancybox-button--arrow_left {
        left: 6.5rem;
    }

    .fancybox-navigation .fancybox-button--arrow_right {
        right: 6.5rem;
    }
}

@media screen and (min-width: 1440px) {
    .fancybox-navigation .fancybox-button--arrow_left {
        left: 10rem;
    }

    .fancybox-navigation .fancybox-button--arrow_right {
        right: 10rem;
    }
}

/* NAVIGATION BAR */
.navbar-container {
    top: 0;
    z-index: 1001;
    transform: translateY(0);
    transition: 0.4s ease-in-out;
}

.nav-up {
    transform: translateY(-1000px);
}

.nav-shadow {
    box-shadow: 0 0.25rem 0.25rem rgba(30,30,30,0.1);
}

.navbar,
.navbar-main {
	z-index: 1001;
}

.navbar-brand {
	height: 3.25rem;
}

.burger-menu {
	width: 3rem;
	height: 3rem;
}

.burger-menu>span {
	height: 2px;
	width: 60%;
	position: absolute;
	left: 50%;
	background-color: #9b0000;
	transform: translate(-50%, -50%) rotate(0deg);
	transition: .25s ease-in-out;
}

.burger-menu>span:nth-child(1) {
	top: calc(50% - 0.5rem);
	transform-origin: left center;
}

.burger-menu>span:nth-child(2) {
	top: 50%;
	transform-origin: left center;
}

.burger-menu>span:nth-child(3) {
	top: calc(50% + 0.5rem);
	transform-origin: left center;
}

.burger-menu.open span:nth-child(1) {
	top: 27%;
	left: 30%;
	transform: rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
	width: 0%;
	opacity: 0;
}

.burger-menu.open span:nth-child(3) {
	top: 69%;
	left: 30%;
	transform: rotate(-45deg);
}

.nav-dropdown-menu {
	display: none;
}

@media screen and (min-width: 512px) {
    .navbar-brand {
        height: 3.5rem;
    }
}

@media screen and (min-width: 768px) {
	.navbar-brand {
		height: 4rem;
	}
}

@media screen and (min-width: 1024px) {
    	.navbar-brand {
    		height: 4.25rem;
    	}

}

/* CUSTOM */
.accordion-faq {
    border: 1px solid #b0b0b0;
    border-radius: 0.5rem;
}

.accordion-faq>div.card:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.accordion-faq>div.card:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.accordion-faq>div.card:not(:last-child) {
    border-bottom: 1px solid #b0b0b0 !important;
}

.accordion-category-content {
    border-left: 0.25rem solid #f7c156;
    border-radius: 0.25rem;
}

.accordion-category-content>div.card:not(:last-child) {
    border-bottom: none;
}

.accordion-category-content>div.card>div.card-header {
    border-bottom: none;
}

.accordion-category-content>div.card>div[data-parent*="#faqCategoryContent"] {
    padding: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 0;
}

.accordion-category-content>div.card>div[data-parent*="#faqCategoryContent"]>div.card-body {
    border: 1px solid #b0b0b0;
    border-radius: 0.25rem;
}

.arrow-icon-container {
    width: 1.5rem;
    height: 1.5rem !important;
}

.card {
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.card-bestseller,
.card-plan-other-trips {
    height: 25rem;
}

.card-img {
    border-radius: 0;
}

.card-img-gallery,
.card-img-pilgrimage-category {
    transform: scale(1.075);
    transition: 0.25s cubic-bezier(0.25, 0.1, 0.16, 2.1)
}

.card-img-place-to-visit {
    height: 20rem;
    border-radius: 0;
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease-in-out;
}

.card-img-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.card-img-overlay:hover+.card-img.card-img-gallery,
.card-img-overlay:hover+.card-img.card-img-pilgrimage-category {
    transform: scale(1.25);
}

.card-departure-dates,
.card-pilgrimage-main-category {
    transition: box-shadow 0.3s ease-out;
}

.card-departure-dates:hover,
.card-pilgrimage-main-category:hover {
    box-shadow: 0 0 0 0.25rem #f7c156, 0 0.5rem 0.75rem 0.25rem rgba(0,0,0,0.2);
}

.card-departure-dates .card-img-overlay,
.card-pilgrimage-main-category .card-img-overlay {
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 70%);
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 70%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
    transition: 0.2s ease-in-out;
}

.card-departure-dates .card-img-overlay:hover,
.card-pilgrimage-main-category .card-img-overlay:hover {
    background: rgb(247, 193, 86);
    background: -moz-linear-gradient(0deg, rgba(247, 193, 86, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
    background: -webkit-linear-gradient(0deg, rgba(247, 193, 86, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
    background: linear-gradient(0deg, rgba(247, 193, 86, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7c156", endColorstr="#ffffff", GradientType=1);
}

.contact-info span {
    font-size: 0.8rem;
	letter-spacing: 0.25px;
}

div.img-home-gallery-list>div.gallery-div-item {
    margin-bottom: 2rem;
}

div.img-home-gallery-list>div.gallery-div-item:last-child {
    display: block;
    margin-bottom: 1rem;
}

.embed-map {
    height: 10rem;
}

footer .footer-affiliate-logo {
    max-height: 8rem;
}

footer.footer-text {
    font-size: 1rem;
}

footer hr {
    border-top-color: rgba(255, 255, 255, 0.2);
}

footer .footer-newsletter-input input.form-control {
    border: 0;
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

footer .footer-newsletter-input div.input-group-append>.btn {
    border-radius: 0;
}

footer .footer-developer {
    font-size: 0.75rem;
}

.gallery-album-title {
    font-family: "Rubik";
}

.icon-video-play {
    font-size: 4rem;
}

.inclusion-icon {
    height: 2rem;
}

.inclusion-icon-container {
    width: 2.5rem;
    height: 2.5rem;
}

.inclusion-list>div.row:not(:last-child) {
    margin-bottom: 0.5rem;
}

.img-1by1 {
    object-fit: cover;
}

.img-nav-logo {
    max-width: 100%;
    height: 3.5rem;
}

.img-client-feedback-avatar {
    max-width: 5rem;
    width: 5rem;
}

.img-partners-logo {
    width: auto;
    max-height: 5rem;
}


.object-fit-cover {
    object-fit: cover;
}

.pagination>li.page-item {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.pilgrimage-title {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

.press-article-timestamp-socmed-links p {
    font-size: 0.85rem;
}

.press-article-timestamp-socmed-links .press-article-timestamp {
    margin-right: 2rem;
}

.press-article-other-entries-list {
    padding: 0.5rem;
    transition: background 0.2s ease-in;
}

.press-article-other-entries-list:hover {
    background: #f0f0f0;
}

.press-article-other-entries-list a:hover {
    text-decoration: none;
}

.press-list>div.press-item {
    margin-bottom: 3rem;
}

.press-list>div.press-item:last-child {
    margin-bottom: 0;
}

.press-list>div.press-item>a.press-article-link:hover {
    text-decoration: none;
}

.search-box-group {
    border-radius: 10rem;
    box-shadow: 0 0rem 1rem rgba(0, 0, 0, .15);
}

.search-box-group>input.search-box {
    padding-right: 5rem !important;
    background: white;
    border-radius: 10rem;
    z-index: 2;
}

.search-box-group button.search-box-btn {
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    box-shadow: none;
}

.search-icon-container {
    width: 41px;
}

.section-banner {
    position: relative;
}

.section-banner>picture.bg-banner-img {
    position: absolute;
    top: 0;
    height: 100%;
}

.section-banner>picture.bg-banner-img>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section-banner h1.section-title {
    font-size: 2.25rem;
}

h1.section-title {
    margin-bottom: 2rem;
}

h1.section-title,
h3.section-title {
    position: relative;
}

h1.section-title::after,
h3.section-title::after,
h3.title-inquiry::after {
    content: url(../static/divider-line.svg);
    width: 10rem;
    height: auto;
    position: absolute;
    left: 50%;
    bottom: -2.25rem;
    display: block;
    transform: translateX(-50%);
}

h1.display-4.section-title::after {
    bottom: 0.5rem;
}

h3.section-title {
    margin-bottom: 3.5rem;
}

.custom-section-title-2 {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

.custom-section-title::after{
    content: url(../static/divider_line_white.svg) !important;
}

.custom-section-title-2::after{
    content: url(../static/divider_line_white.svg) !important;
    /* top: 50%; */
}
.section-subtitle {
    font-family: "Rubik";
}

/* BACKGROUND ILLUSTRATIONS */
#homeAbout {
    background: #f8f9fa url(../static/bg-illustrations/tiled-img.svg);
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: 100%;
}

#homeBestsellers {
    background: url(../static/bg-illustrations/plane.svg) no-repeat;
    background-position: top 25% right -3rem;
    background-size: auto 40%;
}

#homeInquire {
    background: url(../static/bg-illustrations/private-customized-tours.svg) no-repeat;
    background-position: 99% bottom;
    background-size: auto 90%;
}

#faqParentContainer {
    background: url(../static/bg-illustrations/faq-testimonial-red.svg) no-repeat;
    background-position: 108% 4rem;
    background-size: 25%;
}

#planInterested {
    background: url(../static/bg-illustrations/ticket-slant.svg) no-repeat;
    background-position: right -3rem bottom -3rem;
    background-size: auto 80%;
}

#planNeedHelp {
    background: url(../static/bg-illustrations/faq-testimonial-red.svg) no-repeat;
    background-position: left -3rem bottom -3.5rem;
    background-size: 55%;
}

#whyJourneysClientFeedback {
    background: url(../static/bg-illustrations/needhelp_testimonial_white.svg) no-repeat, url(../static/bg-illustrations/needhelp_testimonial_white.svg) no-repeat;
    background-position: top -6rem left -6rem, bottom -6rem right -6rem;
    background-size: 15rem, 15rem;
    background-color: #FCFAF7 !important;
}

.custom-h6{
    font-family: Rubik,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.custom-box{
    box-shadow: none;
}

/* MEDIA QUERIES */
@media screen and (min-width: 512px) {
    div.img-home-gallery-list>div.gallery-div-item:last-child {
        display: none;
    }

    .icon-video-play {
        font-size: 5rem;
    }

    .press-list>div.press-item:nth-last-child(1):nth-child(even),
    .press-list>div.press-item:last-child {
        margin-bottom: 0;
    }

    .section-banner h1.section-title {
        font-size: 2.5rem;
    }

    #homeAbout {
        background-size: 80%;
    }

    #planNeedHelp {
        background-size: 60%;
    }
}

@media screen and (min-width: 768px) {
    div.img-home-gallery-list>div.gallery-div-item:last-child {
        display: block;
    }

    .icon-video-play {
        font-size: 6rem;
    }

    .section-banner h1.section-title {
        font-size: 3rem;
    }


    #homeAbout {
        background-size: 60%;

    }

    #planNeedHelp {
        background-size: 30%;
    }
}

@media screen and (min-width: 1024px) {
    .img-nav-logo {
        height: 4rem;
    }

    .icon-video-play {
        font-size: 7rem;
    }

    .section-banner h1.section-title {
        font-size: 3.25rem;
    }

    h1.display-4.section-title::after {
        bottom: 2rem;
    }

    #homeAbout {
        background-size: 50%;
    }

    #planNeedHelp {
        background-size: 25%;
    }
}

@media screen and (min-width: 1280px) {
    #homeAbout {
        background-size: 40%;
    }

    #planNeedHelp {
        background-size: 20%;
    }

    .pilgrimage-category>div.col-xl-3 {
        flex: 0 0 25.1%;
        max-width: 25.1%;
    }
}

@media screen and (min-width: 1440px) {
    #homeAbout {
        background-size: 30%;
    }
}

div.accordion div.card-header[aria-expanded="false"]>div.row div.icon-accordion-container>i {
    transition: 0.25s ease-in-out;
}

div.accordion div.card-header[aria-expanded="true"]>div.row div.icon-accordion-container>i {
    transition: 0.25s ease-in-out;
    transform: rotateX(180deg);
}

div.div-playback-button {
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
}

.icon-container {
    width: 8rem;
    height: 8rem;
}

.icon-contact-container,
.icon-footer-container {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-object{
    max-height: 30rem !important;
}

#contactMap iframe{
    width: 100%;
}

.section-banner>div.dark-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.5);
}

.custom-solution{
    max-height: 15rem;
}

#persistentLinks {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

#persistentLinks .icon-persistent-link-container {
    width: 3rem;
    height: 3rem;
}

#persistentLinks #btn-socmed-share {
    transition: 0.2s cubic-bezier(0.54, 0, 0.41, 1.25);
    transform: translateX(-113px);
}

#persistentLinks #btn-socmed-share.active {
    transform: translateX(0);
}

#persistentLinks #btn-newsletter-subs {
    transition: 0.3s cubic-bezier(0.54, 0, 0.41, 1.25);
    transform: translateX(-20rem);
}

#persistentLinks #btn-newsletter-subs.active {
    transform: translateX(0);
}

#persistentLinks #btn-socmed-share>div.icon-persistent-link-container:hover,
#persistentLinks #btn-newsletter-subs>div.icon-persistent-link-container:hover {
    cursor: pointer
}

@media only screen and (max-width: 425px) {
    .custom-sm-header{
        justify-content: center !important;
    }
    .custom-sm-column-header{
        width: auto !important;
    }
    .mr-sm-2{
        margin-right: 0.5rem !important;
    }
    .custom-sm-chaplain-img{
        width: 100% !important;
    }
    .pilgrim-chaplain-title {
        font-size: 2.1rem;
    }
}

@media only screen and (max-width: 768px){
    .icon-container{
        width: auto !important;
        height: auto !important;
    }
}