/**
 *
 * @package LandingPage
 *
 * @wordpress-plugin
 * Plugin Name:       LandingPage
 * Version:           1.0
 * Author:            Florian Weber
 *
 */

.zoomBOut {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 90vh;
    background-color: black;
    z-index: 500;
    overflow: hidden;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    will-change: top;
}
@media (max-width: 767px) {
    .zoomBOut {
        height: 80vh;
    }
}
.zoomBIn {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: transform ease-in-out 2s;
    transition: transform ease-in-out 2s;
    will-change: height, transform;
    display: block;
}

/* body {
    overflow: hidden;
} */
#grid-content {
    margin: 0;
    padding: 0;
}

.bootstrap-select .dropdown-menu {
    outline: 0 !important;
    z-index: 1600 !important;
}

.zoomBIn > .zoomContent {
    width: 100%;
    height: 100%;
    transform: scale(1);
    -webkit-transition: transform ease-in-out 2s;
    transition: transform ease-in-out 2s;
}
.zoomBIn:hover {
    transform: scale(1.2);
}
.zoomBIn:hover > .zoomContent {
    transform: scale(0.833);
}
.active.nav-link {
    position: relative;
}
.active.nav-link:after {
    position: absolute;
    background-color: #f0dc87;
    left: 5%;
    bottom: 3px;
    width: 90%;
    height: 4px;
    content: '';
    border-radius: 2px;
}
.nav-tabs-landing-search {
    border-top-left-radius: .75rem !important;
    border-top-right-radius: .75rem !important;
    transition: all .15s ease-in-out;
}
.desktop .nav-tabs-landing-search li button,
.desktop .nav-tabs-landing-search .tab-pane input,
.desktop .nav-tabs-landing-search .tab-pane button,
.desktop .nav-tabs-landing-search .tab-pane select {
    border-radius: 0 !important;
    transition: all .15s ease-in-out;
}
.desktop .nav-tabs-landing-search li button {
    padding-bottom: .75rem !important;
    transition: all .15s ease-in-out;
}
.desktop .nav-tabs-landing-search li:first-of-type button {
    border-top-left-radius: .75rem !important;
    transition: all .15s ease-in-out;
}
.desktop .nav-tabs-landing-search li:last-of-type button {
    border-top-right-radius: .75rem !important;
    transition: all .15s ease-in-out;
}
.desktop .nav-tabs-landing-search li button.active {
    /* border-top-left-radius: .75rem !important;
    border-top-right-radius: .75rem !important; */
    -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.35)) !important;
	-moz-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.35)) !important;
	filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.35)) !important;
    z-index: 2 !important;
    font-weight: 600 !important;
    transition: all .15s ease-in-out;
}
.desktop .carousel-focus {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile .carousel-focus {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}
.desktop .carousel-capacity-focus {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile .carousel-capacity-focus {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.desktop .search-result-entry-focus {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile .search-result-entry-focus {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

#carousel-news .desktop .card-body {
    padding-right: 15% !important;
}

@media (max-width: 767px) {
    .long-card {
        max-width: 18rem;
    }
    .desktop {
        display: none !important;
    }
    /* #carousel-news .carousel-inner {
        min-height: 500px;
    } */
    .autocomplete-items {
        z-index: 1500 !important;
    }
}
@media (min-width: 767px) {
    .long-card {
        max-width: 80rem;
    }
    /* #carousel-news .carousel-inner {
        min-height: 300px;
    } */
}

.back-button {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
}

.list-group-flush .list-group-item {
    background-color: transparent !important;
}

/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    /* border: 1px solid #d4d4d4; */
    border-bottom: none;
    background-color: #f8f9fa;
    border-top: none;
    z-index: 1600;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    border-radius: .25rem;
    overflow-y: auto;
    max-height: 300px;
}
.autocomplete-items div {
    /* padding: 10px; */
    padding: 0.25rem 1rem;
    cursor: pointer;
}
.autocomplete-items div:first-child {
    border-top-right-radius: .25rem !important;
    border-top-left-radius: .25rem !important;
}
.autocomplete-items div:last-child {
    border-bottom-right-radius: .25rem !important;
    border-bottom-left-radius: .25rem !important;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: #4a8bb8 !important;
    color: #ffffff;
}

.search-element input {
    padding-right: 2rem;
}

.search-element input:not(:focus) {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.search-container {
    background-color: rgba(248, 249, 250, .9) !important;
    box-shadow: none !important;
    z-index: 3 !important;
    transition: all .25s ease-in-out;
}
.search-container.isSticky {
    background-color: rgba(248, 249, 250, 1) !important;
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 35%) !important;
    z-index: 3 !important;
    transition: all .25s ease-in-out;
}

.mobile.logged-out-account-dropdown {
    overflow-x: hidden;
    overflow-y: auto;
}

.title-badge {
    cursor: pointer !important;
    box-shadow: none !important;
    will-change: box-shadow;
    transition: all .25s ease-in-out;
}
.title-badge:hover {
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 35%) !important;
    transition: all .25s ease-in-out;
}

/* #carousel-news {
    z-index: 999 !important;
    right: 1rem !important;
    top: 6rem !important;
    width: 400px !important;
    max-width: 400px !important;
} */

/* #news-bar {
    padding: 0 !important;
} */
/* @media (min-width: 576px) {
    #news-bar > div:first-child > div:first-child {
        max-width: 540px !important;
    }
}
@media (min-width: 768px) {
    #news-bar > div:first-child > div:first-child {
        max-width: 720px !important;
    }
}
@media (min-width: 992px) {
    #news-bar > div:first-child > div:first-child {
        max-width: 960px !important;
    }
}
@media (min-width: 1200px) {
    #news-bar > div:first-child > div:first-child {
        max-width: 1140px !important;
    }
}
@media (min-width: 1400px) {
    #news-bar > div:first-child > div:first-child {
        max-width: 1320px !important;
    }
}
#news-bar > div:first-child > div:first-child {
    width: 100% !important;
    padding-right: var(--bs-gutter-x, .75rem) !important;
    padding-left: var(--bs-gutter-x, .75rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

#news-bar > div:first-child {
    padding-left: 9rem !important;
} */

#carousel-news > .carousel-indicators {
    margin-bottom: 0 !important;
}

#news-bar > div:first-child > div:first-child {
    position: absolute !important;
    top: 90px !important;
    height: 120px !important;
    opacity: 1 !important;
    /* z-index: 999 !important; */
    padding-left: 200px !important;
    background: radial-gradient(circle at top 10px left 106px, transparent 110px, rgba(74, 139, 184, .5) 70px) !important;
    /* background-color: #f8f9fa !important; */
    will-change: opacity, height;
    transition: all .75s ease-in-out;
}

#news-bar > div:first-child > div.fadeOut:first-child {
    opacity: 0 !important;
    height: 0 !important;
    transition: all .1s ease-in-out;
}

#news-bar > div:first-child > div:first-child > div:first-child {
    padding: .5rem;
    padding-left: 30px !important;
}

#img-container {
    overflow: visible !important;
}

/* .mobile-search-container {
    overflow: hidden !important;
} */

#search-mobile-modal-button, #search-mobile-delete-button {
    display: inline-block;
    right: -4%;
    transition: all .25s ease-in-out;
}
#search-mobile-modal-button {
    top: 3vh;
}
#search-mobile-delete-button {
    top: 77vh;
}
#search-mobile-modal-button.hidden, #search-mobile-delete-button.hidden {
    display: inline-block;
    right: -30%;
    transition: all .25s ease-in-out;
}

.search-element .tab-content .tab-pane:not(:hover) {
    overflow: hidden;
    max-height: 38px;
    transition: all .25s ease-in-out;
}
.search-element .tab-content .tab-pane:hover {
    overflow: visible;
    max-height: 30rem;
    transition: all .25s ease-in-out;
    transition-delay: 1s;
}
.search-element .tab-content .tab-pane:focus-within {
    overflow: visible;
    max-height: 30rem;
    transition: all .25s ease-in-out;
}

.search-element .tab-content .tab-pane:focus-within,
.search-element .tab-content .tab-pane.extended-search-permanent {
    overflow: visible;
    max-height: 30rem;
    transition-delay: 0s;
}
.search-element .tab-content .tab-pane:not(.extended-search-permanent) .extended-search {
    opacity: 0;
    transition: all .5s ease-in-out;
}
.search-element .tab-content .tab-pane:focus-within .extended-search {
    opacity: 1;
    transition: all .5s ease-in-out;
    transition-delay: 0s;
}
.search-element .tab-content .tab-pane:hover .extended-search {
    opacity: 1;
    transition: all .5s ease-in-out;
    transition-delay: 1s;
}

.list-group-item {
    transition: all .25s ease-in-out;
}

.desktop .search-result-entry.list-group-item-action, .desktop .capacity-entry.list-group-item-action {
    opacity: 0.75;
    -webkit-box-shadow: 0px 5px 7px -5px rgba(0,0,0,0.35) !important;
	-moz-box-shadow: 0px 5px 7px -5px rgba(0,0,0,0.35) !important;
	box-shadow: 0px 5px 7px -5px rgba(0,0,0,0.35) !important;
    transition: all .25s ease-in-out;
}
.search-result-entry.list-group-item-action:hover, .search-result-entry.list-group-item-action:focus,
.capacity-entry.list-group-item-action:hover, .capacity-entry.list-group-item-action:focus {
    opacity: 1;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.35) !important;
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.35) !important;
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.35) !important;
    transition: all .25s ease-in-out;
}

.alternate-rows > :not(.alternate-row-color),
.alternate-rows-custom .alternate-row-custom:not(.alternate-row-color) {
	background-color: #f8f9fa;
	transition: all .25s ease-in-out;
}
.alternate-rows > .alternate-row-color,
.alternate-rows-custom .alternate-row-color {
	/* background-color: #e9eff4 !important; */
	background-color: #4a8ab817;
	transition: all .25s ease-in-out;
}
.alternate-rows > .alternate-row-color .alternate-row-color,
.alternate-rows-custom .alternate-row-color .alternate-row-color {
	background-color: initial;
	transition: all .25s ease-in-out;
}

#news-bar .carousel-inner .carousel-item a {
    color: white !important;
    text-shadow: rgba(0,0,0,0.35) 0px 0px 5px, rgba(0,0,0,0.35) 0px 0px 5px, rgba(0,0,0,0.35) 0px 0px 5px;
}
#news-bar .carousel-inner .carousel-item-job,
#news-bar .carousel-inner .carousel-item-member,
#news-bar .carousel-inner .carousel-item-capacity {
    position: absolute;
    z-index: -2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    border-radius: .25rem;
    transition: all .25s ease-in-out;
}
#news-bar .carousel-inner .carousel-item-job {
    background-image: linear-gradient(rgba(255, 255, 255, .85), transparent);
    transition: all .25s ease-in-out;
}
#news-bar .carousel-inner .carousel-item-member {
    background-image: linear-gradient(rgba(255, 255, 255, .85), transparent);
    transition: all .25s ease-in-out;
}
#news-bar .carousel-inner .carousel-item-capacity {
    background-image: linear-gradient(rgba(74, 139, 184, .85), transparent);
    transition: all .25s ease-in-out;
}
#news-bar .carousel-inner .active:not(.carousel-item-start):not(.carousel-item-end) .carousel-item-job,
#news-bar .carousel-inner :not(.active).carousel-item-start .carousel-item-job,
#news-bar .carousel-inner :not(.active).carousel-item-end .carousel-item-job,
#news-bar .carousel-inner .active:not(.carousel-item-start):not(.carousel-item-end) .carousel-item-member,
#news-bar .carousel-inner :not(.active).carousel-item-start .carousel-item-member,
#news-bar .carousel-inner :not(.active).carousel-item-end .carousel-item-member,
#news-bar .carousel-inner .active:not(.carousel-item-start):not(.carousel-item-end) .carousel-item-capacity,
#news-bar .carousel-inner :not(.active).carousel-item-start .carousel-item-capacity,
#news-bar .carousel-inner :not(.active).carousel-item-end .carousel-item-capacity {
    /* background-color: rgba(255, 255, 255, 0.33) !important; */
    opacity: 1;
    transition: all 1s ease-in-out;
}