/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */

.list_group_toggle {
    height: auto;
    max-height: 200px;
    overflow-y: hidden;
    transition: max-height 0.2s ease-in-out;
}

.max_height {
    max-height: 10000px;
}

.nav-animate-color.bg-white {
    background-image: none;
}

.nav-animate-color {
    transition: background-color 0.2s;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,ffffff+100&1+0,0+75 */
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.44) 0%, transparent 75%,transparent 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.navbar-dark .navbar-collapse.collapse.show {
    z-index: 1;
    box-shadow: 0 0 20px 13px rgba(0,0,0,0.8);
    background-color: rgba(0, 0, 0, 0.8);
}

#search-results > div.container.bg-white.rounded > div > form > div:nth-child(2) > div > ul > li > a > span {
    max-width: 100%;
}

.apply_link {
    position: sticky;
    bottom: .5rem;
}

    .apply_link > a:after {
        position: absolute;
        top: 100%;
        left: 0;
        height: 0.5rem;
        width: 100%;
        background: white;
        content: '';
    }

.search-body.home .header-container .shrinker {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.shrinker .counter {
    max-height: 300px;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(0, 1, 0, 1);
}

.shrinker .title > :first-child {
    max-height: 600px;
    transition: max-height .35s ease;
}

.shrinker {
    transition: padding-top .35s ease;
}

@media (min-width: 766px) {
    .shrunk .shrinker {
        padding-top: 0 !important;
    }

        .shrunk .shrinker .title {
            padding-bottom: 0 !important;
        }

            .shrunk .shrinker .title > :first-child {
                max-height: 0px;
                padding: 0 !important;
                overflow: hidden;
            }

        .shrunk .shrinker .counter {
            max-height: 0;
            padding: 0 !important;
        }
}

.search-body {
    padding-top: unset !important;
}

#header {
    display: block !important;
    overflow: unset !important;
    transition: height .35s ease, top.35s ease;
}

    #header.collapse {
        display: block !important;
        overflow: unset !important;
        transition: height .35s ease, top.35s ease;
    }

.home > .search-container {
    margin-top: 0;
}

.search-container {
    margin-top: .5rem !important;
    top: 40%;
    flex-basis: 12%;
}

.header-container {
    /*height: 299px;*/
    top: 0px;
    position: -webkit-sticky !important;
    position: sticky !important;
    z-index: 999999;
}

    .header-container.collapsing {
        height: auto !important;
    }

.home .header-container {
    height: 100vh !important;
    top: -84vh !important;
}

@media (max-width: 767px) {
    .home .header-container {
        height: auto !important;
        top: 0 !important;
    }
}

.search-header {
    top: 0;
    left: unset;
    width: unset;
    max-height: unset;
    background-position: unset;
    background-size: unset;
}


.search-container-mobile {
    position: sticky;
    top: 5rem;
    z-index: 99;
    overflow: hidden;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.20);
    touch-action: none;
    background: white;
    max-height: 400px;

    opacity: 1;
    transform: rotateX(0);
    transform-style: preserve-3d;

    -webkit-transform-style: preserve-3d;
    transform-origin: top;

    -webkit-transition: transform 0.3s, opacity 0.1s ease-in, height 0.3s ease-in 0.5s, z-index 0.3s ease-in 0.5s;
    -moz-transition: transform 0.3s, opacity 0.1s ease-in, height 0.3s ease-in 0.5s, z-index 0.3s ease-in 0.5s;
    -ms-transition: transform 0.3s, opacity 0.1s ease-in, height 0.3s ease-in 0.5s, z-index 0.3s ease-in 0.5s;
    -o-transition: transform 0.3s, opacity 0.1s ease-in, height 0.3s ease-in 0.5s, z-index 0.3s ease-in 0.5s;
    transition: transform 0.3s, opacity 0.1s ease-in, height 0.3s ease-in 0.5s, z-index 0.3s ease-in 0.5s;
    
}


.search-hide {
    /*position: absolute !important;*/
    opacity: 0;
    transform: rotateX(90deg);
    z-index: -500 !important;
}

.search-container-mobile-home {
    top: 6rem;
}

.overflow-visible {
    overflow: visible;
}