/*****************************************************************************************************************
  /$$$$$$  /$$   /$$ /$$$$$$  /$$$$$$  /$$   /$$        /$$$$$$  /$$$$$$$$  /$$$$$$  /$$$$$$$   /$$$$$$  /$$   /$$
 /$$__  $$| $$  | $$|_  $$_/ /$$__  $$| $$  /$$/       /$$__  $$| $$_____/ /$$__  $$| $$__  $$ /$$__  $$| $$  | $$
| $$  \ $$| $$  | $$  | $$  | $$  \__/| $$ /$$/       | $$  \__/| $$      | $$  \ $$| $$  \ $$| $$  \__/| $$  | $$
| $$  | $$| $$  | $$  | $$  | $$      | $$$$$/        |  $$$$$$ | $$$$$   | $$$$$$$$| $$$$$$$/| $$      | $$$$$$$$
| $$  | $$| $$  | $$  | $$  | $$      | $$  $$         \____  $$| $$__/   | $$__  $$| $$__  $$| $$      | $$__  $$
| $$/$$ $$| $$  | $$  | $$  | $$    $$| $$\  $$        /$$  \ $$| $$      | $$  | $$| $$  \ $$| $$    $$| $$  | $$
|  $$$$$$/|  $$$$$$/ /$$$$$$|  $$$$$$/| $$ \  $$      |  $$$$$$/| $$$$$$$$| $$  | $$| $$  | $$|  $$$$$$/| $$  | $$
 \____ $$$ \______/ |______/ \______/ |__/  \__/       \______/ |________/|__/  |__/|__/  |__/ \______/ |__/  |__/
      \__/
*****************************************************************************************************************/
@keyframes background-pulsing
{
    0%
    {
        background-position: -100px;
    }

    40%, 100%
    {
        background-position: 370px;
    }
}

#quick_search_container
{
    position: absolute;
    z-index: -1;
    display: flex;
    flex-flow: column nowrap;
    background-color: #ffffff;
	width: 800px;
    right: 0;
    top: 45px;
    box-shadow: 0 5px 9px rgba(0,0,0,0.2);
    border: 1px solid #bbbbbb;
    opacity: 0;
    height: 0;
    overflow-y: auto;
    max-height: 90vh;
    transition: opacity 200ms;
}

#quick_search_container.allow-overflow
{
    overflow: visible;
}

@media screen and (max-width:1200px)
{
    #quick_search_container
    {
        width: calc(100vw - 45px);
		max-height: calc(100vh - 120px);
		border: none;
	}

	#quick_search_container.visible
	{
		padding-bottom: 40px;
	}
}

#quick_search_container.visible
{
    opacity: 1;
    z-index: 9999;
    height: auto;
}

#quick_search_container.invisible
{
    opacity: 0;
    z-index: -1;
    height: 0;
}

#quick_search_container .quick-search-header
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 15px 15px 15px;
}

@media screen and (max-width:1200px)
{
    #quick_search_container .quick-search-header
    {
        flex-flow: column nowrap;
    }
}

#quick_search_container .quick-search-header .title
{
    font-size: 18pt;
    font-weight: bold;
    color: #444444;
}

#quick_search_container .quick-search-header .details
{
    display: inline-flex;
    flex-flow: column nowrap;
    font-weight: normal;
    color: #444444;
    text-align: right;
    font-size: 12pt;
}

#quick_search_container .quick-search-header .details a:link,
#quick_search_container .quick-search-header .details a:active,
#quick_search_container .quick-search-header .details a:visited
{
    font-size: 11pt;
    font-weight: bold;
    text-decoration: none;
    transition: color 150ms;
}

@media screen and (max-width:1200px)
{
    #quick_search_container .quick-search-header .details a:link,
    #quick_search_container .quick-search-header .details a:active,
    #quick_search_container .quick-search-header .details a:visited
    {
        position: absolute;
        right: 15px;
        top: 25px;
    }
}

#quick_search_container > .loading-message
{
	text-align: center;
    font-size: 14pt;
    color: #444444;
    padding: 16px;
}

#quick_search_container .to-top-button
{
    position: absolute;
    bottom: 10px;
    right: 0;
    left: 0;
    margin: 0 auto 25px auto;
    display: inline-block;
    opacity: 0;
    z-index: -1;
    height: 0;
	text-align: center;
	text-decoration: none;
    padding: 0;
    color: #2B2B2B !important;
    background-color: #eeeeee;
    width: 120px;
    box-shadow: 0 0 5px rgba(0,0,0,0.8);
    transition: opacity 200ms;
}

#quick_search_container .to-top-button.visible
{
	position: sticky;
	z-index: 10;
    opacity: 1;
    height: 32px;
    padding: 5px;
}

#quick_search_container .to-top-button.invisible
{
	position: absolute;
	z-index: -1;
    opacity: 0;
    height: 0;
    padding: 0;
}

#quick_search_container > .loading-message img
{
	padding-left: 10px;
}

#quick_search_container .result-module-heading,
#quick_search_container a.result-module-heading:link,
#quick_search_container a.result-module-heading:active,
#quick_search_container a.result-module-heading:visited
{
    position: relative;
    font-size: 12pt;
    font-weight: bold;
    color: #444444;
	padding: 12px 16px;
	text-decoration: none;
    margin-top: 15px;
    transition: color 200ms;
}

#quick_search_container .result-module-heading::before
{
    content: '';
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #444444;
    transition: all 400ms;
}

#quick_search_container a.result-module-heading > span
{
	position: relative;
}

#quick_search_container a.result-module-heading > span::after
{
	content: '\f138';
	position: absolute;
	top: 0;
	right: -20px;
	display: block;
	width: 10px;
	height: 10px;
	font-family: font_awesome;
	opacity: 0;
	transform: translateX(-5px);
	transition: all 250ms;
}

#quick_search_container a.result-module-heading:hover > span::after
{
	opacity: 1;
	transform: translateX(0);
}

#quick_search_container .result-module-heading:first-of-type
{
	margin-top: 0;
}

#quick_search_container a.result:link,
#quick_search_container a.result:active,
#quick_search_container a.result:visited
{
    position: relative;
	display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    line-height: 50px;
    padding: 0 16px;
    background-color: #ffffff;
}

#quick_search_container a.result:hover
{
    background-color: #F2F2F2;
}

@media screen and (max-width:1200px)
{
    #quick_search_container a.result:link,
    #quick_search_container a.result:active,
    #quick_search_container a.result:visited
    {
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 12px 16px;
    }
}

#quick_search_container a.result span.result-name
{
    font-size: 11pt;
    color: #444444;
}

@media screen and (max-width:1200px)
{
    #quick_search_container a.result span.result-name
    {
        line-height: 1;
        margin-bottom: 5px;
    }
}

#quick_search_container a.result span.result-date
{
	font-size: 10pt;
	color: #636363;
}

@media screen and (max-width:1200px)
{
    #quick_search_container a.result span.result-date
    {
        line-height: 1;
    }
}

#quick_search_container a.result:last-of-type
{
	margin-bottom: 15px;
}

#quick_search_container .quick-search-preview
{
    display: none;
}

@media screen and (min-width:1200px)
{
    #quick_search_container .quick-search-preview
    {
        position: absolute;
        display: block;
        z-index: 99;
        top: 0;
        left: -320px;
        width: 320px;
        height: 0;
        transform: scaleX(0);
        opacity: 0;
        border: none;
        background: #ffffff;
        overflow: hidden;
        transition: all 150ms;
        transform-origin: top right;
    }

    #quick_search_container .quick-search-preview.visible
    {
        transform: scaleX(1);
        height: 180px;
        opacity: 1;
        border: 1px solid #9E9E9E;
        background: #ffffff;
    }

    #quick_search_container .quick-search-preview.invisible
    {
        display: none;
        transform: scaleX(0);
        height: 0;
        opacity: 0;
        border: none;
        background: transparent;
    }

    #quick_search_container .quick-search-preview iframe
    {
        position: absolute;
        top: -270px;
        left: -481px;
        transform: scale(0.25);
        pointer-events: none;
    }

    #quick_search_container .quick-search-preview .loading-message
    {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 12pt;
        color: #444444;
        background-image: linear-gradient(90deg, #ffffff 0px, #E8E8E8 40px, #ffffff 80px);
        background-position: -100px;
        background-size: 600px;
    }

    #quick_search_container .quick-search-preview .loading-message.active
    {
        animation: background-pulsing 1.6s infinite linear;
    }
}