/* ---- GENERAL ---- */

/* Colors */
html {
    --primary-color: #058192;
    --primary-light-color:#058192; 
    --primary-color-alpha08: rgba(5, 99, 219, 0.08);
    --extra-light-gray-color: #f4f4f4;
    --active-btn-text-color: var(--background-color);
    --dark-gray-color: #333;
    
    --warning: #d13438;
    --warningLight: #fcf2f3;
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
    line-height: 1.7;
    font-size: 16px;
}

a:hover[href^="http"]::after {
    text-decoration: none;
}


::-webkit-scrollbar {
    width: 6px;
}

/* Track */

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #C1C1C1;
    -webkit-border-radius: 0;
}

/* Handle */

::-webkit-scrollbar-thumb {
    background: var(--gray-color);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 0;
}

::-webkit-scrollbar-thumb:window-inactive {
    --background: #212121;
}


.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus {
    outline-width: 1px!important;
    outline-offset: -5px;
    outline-style: solid;
    outline-color: var(--active-btn-text-color)
    box-shadow: none;
}

/* remove nav, header icons, and footer bar */
.footer, .footer.has_footer {
    display: none;
}

/* Set header color */
header#ipad > div.container-fluid > div.row,
header#desktop > div.container-fluid > div.row {
background-color: #fff; 
/*SAG_2023-09-05: Elevation / Depth8 */
box-shadow: 0px 3.200000047683716px 7.199999809265137px 0px rgba(0, 0, 0, 0.13), 0px 0.6000000238418579px 1.7999999523162842px 0px rgba(0, 0, 0, 0.10);
}

/* SAG_2023-10-09: Remove primary color from header in mobile view */
.bg_orange {
     background-color: transparent !important;
}

header#ipad .inner_logo,
header#desktop .inner_logo {
    min-height: 35px;
    padding: 0;
}

header#ipad logo-component {
    padding-left: 15px;
}

header#ipad > div.container-fluid > div.row {
    padding: 10px 5px 10px 5px;
}

header#desktop > div.container-fluid > div.row {
    padding: 10px 5px 10px 5px;
}

header#ipad .top_icons .top_icons_menu,
header#desktop .top_icons .top_icons_menu {
fill: var(--primary-color);
}

header.inner_top_bar .top_icons > li > a {
    color: var(--background-color);
}

header#ipad ul.m_top_icons {
    padding: 0;
}

header#ipad .m_top_icons > li {
    height: 28px;
}

header#ipad li.m_top_menu {
    float: right
}

header#ipad > div > div > div {
    min-height: 30px;
}

header#ipad.inner_top_bar .m_top_icons > li > a,
header#desktop.inner_top_bar .top_icons > li > a {
border: 1px solid var(--background-color);
}

header#ipad.inner_top_bar .m_top_icons > li > a:hover,
header#desktop.inner_top_bar .top_icons > li > a:hover {
background-color:  transparent;
border: 1px solid var(--primary-color); 
box-shadow: none;
}

header#ipad.inner_top_bar .m_top_icons > li > a:focus,
header#ipad.inner_top_bar .m_top_icons > li > a:active,
header#desktop.inner_top_bar .top_icons > li > a:focus,
header#desktop.inner_top_bar .top_icons > li > a:active{
    background-color:  transparent;
}

/* SAG_2023-10-09: Re-color icons */
header#ipad .m_top_icons > li > a > svg {
     fill: var(--primary-color) !important;
}

/* hide icons/actions in header */
header#desktop.inner_top_bar .top_icons > li:nth-child(2),
header#desktop.inner_top_bar .top_icons > li:nth-child(3),
header#desktop.inner_top_bar .top_icons > li:nth-child(4),
header#desktop.inner_top_bar .top_icons > li:nth-child(5){
    display: none;
}

/* hide icons/actions in mobile header */
header#ipad.inner_top_bar .m_top_icons > li.dropdown,
header#ipad.inner_top_bar .m_top_icons > li:nth-child(3),
header#ipad.inner_top_bar .m_top_icons > li:nth-child(4),
header#ipad.inner_top_bar .m_top_icons > li:nth-child(5){
    display: none;
}

.top_search_block > form > .input-group > .input-group-addon:hover {
    background: var(--extra-light-gray-color);
    fill: var(--primary-color);
}

/* SAG_2024-03-12: Hide search field info button in topic view */
.top_search_block > form > .input-group > .input-group-addon:nth-child(3) {
    display: none;
}

/* change footer colour */
.footer {
    background-color: var(--high-gray-color);
}


/* ---- LANDING PAGE ---- */

app-index header#ipad .m_top_icons > li,
app-index header .top_icons > li {
    display: none;    
}

/* Search Field */
.mainpage_block > .search_block > form > .input-group > .input-group-addon:hover {
     background-color: var(--extra-light-gray-color);
     border: 1px solid var(--light-gray-color);
     fill: var(--primary-color);
}

/* SAG_2024-03-12: Hide search field info button on landing page */
.mainpage_block > .search_block > form > .input-group > .input-group-addon:nth-child(3) {
     display: none;
}

/* Change color of placeholder text in search field for better accessibility SAG_2023-09-05 */
.form-control::placeholder {
 	color: var(--dark-gray-color);
 }

/* change size of landing container*/
.landing_container > section:first-of-type {
    /* SAG_2023-09-05: When svg as BG background-color: var(--primary-color); */
    margin: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
/* Set background image SAG_2023-09-05 */
.landing_bg {
     background-image: url(../images/landing_bg.svg); 
     
 }

/* make search box smaller and add modern look*/
.landing_container > .search_block {
    width: 60%;
}

.mainpage_block.jumbotron {
    color: var(--title-color);
    padding: 0;
    margin: 0 0;
}

.mainpage_block.jumbotron > h1 {
    color: var(--dark-gray-color);
	font-size: 32px;
    line-height: 1.3em;
    text-align: left;
    max-width: 66%;
    text-shadow: none;
}

/* arrange child items of the search box */
.mainpage_block.jumbotron > p {
    margin-top: 16px;
    color: var(--dark-gray-color);
	font-size: 24px;
    text-align: left;
    max-width: 66%;
    text-shadow: none;
    font-weight: 300;
}

.mainpage_block > .search_block {
    margin: 32px 0;
}

.landing_container > section:first-of-type > .container {
    width: 90%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}


/* change look and feel of landing-page items */
.landing_container > section.content_root_section {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 24px 0;
	background: none; 
}

.landing_content_box {
    position: relative;
    width: calc(50% - 21px);
    height: 192px;
    background-color: var(--landing-bg-color);
    padding: 16px 24px 16px 16px;
    text-align: left;
    max-height: 320px;
}

.landing_content_box > h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 88px;
    line-height: 1.6em;
    background: none;
    text-align: left;
}

.landing_content_box .descriptiontext {
    margin-left: 80px;
}

/* TODO delete later */
.landing_content_box .descriptiontext:nth-child(3) {
    display: none;
}

.landing_content_box .descriptiontext:first-child {
    display: flex;
    justify-content: center;
    align-content: flex-start;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 88px;
    margin-left: 0;
}

.landing_content_box .descriptiontext:first-child img {
    margin-top: 20px;
    width: 48px;
    height: 48px;
}

.landing_content_box:hover {
    box-shadow: 0 0 3px var(--primary-color);
}

/* center parent container of landing items */
.landing_container > div, .landing_container > section {
    width: 90%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1024px) and (min-width: 320px)  {
    .landing_content_box {
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 425px) and (min-width: 320px)  {
    .landing_container > section.content_root_section {
        margin-top: 0;
        padding-top: 48px;
		background: none; 
    }

    .landing_container > section {
        width: 100%;
    }
}

@media (min-width: 1025px) {
   .landing_container{
     height: calc(100vh - 55px);
   }

   .header_navigation .landing_container,  .landing_container.has_footer {
     height: calc(100vh - 55px);
   }

   .header_navigation .landing_container.has_footer {
     height: calc(100vh - 135px);
   }
}

@media (min-width: 801px) and (max-width: 1024px) {
    .landing_container{
        height: calc(100vh - 40px);
    }
    
    .header_navigation .landing_container{
        height: calc(100vh - 80px);
    }
    
    .landing_container.has_footer {
    height: calc(100vh - 55px);
    }
    
    .header_navigation .landing_container.has_footer {
        height: calc(100vh - 120px);
    }
}

@media (min-width: 641px) and (max-width: 800px) {
    .landing_container{
        height: calc(100vh - 40px);
    }
    
    .landing_container.has_footer {
        height: calc(100vh - 55px);
    }
    
    .header_navigation .landing_container.has_footer {
        height: calc(100vh - 80px);
    }
}

/* change height of complete main section */
.header_navigation .landing_container.has_footer {
    height: calc(100vh - 45px);
}

/* ---- CONTENT PAGES ---- */

@media (min-width: 1025px) {
     /* set content height */
    .content_container {
        height: calc(100vh - 95px) !important;
    }
    
    .header_navigation .content_container {
        height: calc(100vh - 95px) !important;
    }
    
    /* set content height with footer*/
    .content_container.has_footer {
        height: calc(100vh - 150px) !important;
    }
    
    .header_navigation .content_container.has_footer {
        height: calc(100vh - 190px) !important;
    }    
    
    /* show  and resize RIGHTNAV*/
    section.content_block > .right_block {
        height: calc(100vh - 95px) !important;
    }
    
    /* show and resize  LEFTNAV*/
    section.content_block > .left_block {
        width: 30%;
        max-width: 500px;
        height: calc(100vh - 55px) !important;
    }
    
    .header_navigation section.content_block > .left_block {
        height: calc(100vh - 55px) !important;
    }
    
    .header_navigation section.content_block > .left_block.has_footer {
        height: calc(100vh - 135px) !important;
    }
}

@media  (max-width: 1024px) {
    /* set content height */
    .content_container {
        height: calc(100vh - 95px) !important;
    }
    
    .header_navigation  .content_container {
        height: calc(100vh - 95px) !important;
    }
    
    .header_navigation  .content_container.has_footer {
        height: calc(100vh - 175px)  !important;
    }
    
    /* show  and resize RIGHTNAV*/
    section.content_block > .right_block {
        height: calc(100vh - 80px) !important;
    }
    
    .right_block.move_right {
        margin-right: -30%;
    }
    
    /* show and resize  LEFTNAV*/
    section.content_block > .left_block {
        height: calc(100vh - 95px);
    }
    
    .left_block.move_left {
        margin-left: -30%;
    }
}

/* -- Breadcrumbs -- */

ol.breadcrumb {
    padding: 10px 15px 10px 15px;
    line-height: 20px;
    margin-bottom: 0;
    border-radius: 0;
}

.breadcrumb > li > a {
    border: none;
}

.breadcrumb > li > a:hover {
    padding: 2px 4px 2px 4px;
    border: none;
    border-radius: var(--border-radius-small);
    box-shadow: none;
}

/* -- Menu Section -- */

/* Hide menu in footer */
#menusection > div.panel-footer .menu_bot_btn {
    display: none;
}

/* Hide grey bottom line in navigation panel */
#menusection > div.panel-footer {
    border-top: none;
}

/* -- Tree navigation */


ul.jqtree-tree .jqtree-element {
    display: flex;
    border: none;
    padding: 2px 5px;
    align-items: baseline;
}

#left-res-tree .jqtree-element {
        padding: 2px 5px;
}

ul.jqtree-tree li.jqtree-selected > .jqtree-element > .jqtree-title {
    font-weight: 600;
	color: #201F1E !important;
}

ul.jqtree-tree .jqtree-element:hover {
    box-shadow: none;
    border: none;
}

ul.jqtree-tree ul.jqtree_common {
    margin-left: 20px;
}

ul.jqtree-tree ul.jqtree_common span {
    display: inline-block;
    margin-left: 0;
    /* color: var(--gray-color); */
}

ul.jqtree-tree span.jqtree-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    /* color: var(--gray-color); */
    white-space: normal;
}

ul.jqtree-tree .jqtree-title.jqtree-title-folder {
    color: var(--text-color);
    /* color: var(--gray-color); */
}

ul.jqtree-tree li {
    margin-top: 12px;
    margin-bottom: 12px;
}

ul.jqtree-tree > li > .jqtree-element span.jqtree-title {
    font-weight: 400;
}

ul.jqtree-tree li.jqtree-folder,
ul.jqtree-tree > li {
    margin-top: 25px
}

ul.jqtree-tree li.jqtree-folder > .jqtree-element:first-child {
    /* text-transform: uppercase; */
}

ul.jqtree-tree li.jqtree-folder li.jqtree-folder {
    margin-top: 12px;
    margin-bottom: 12px;
}


ul.jqtree-tree ul[role=group] {
    margin-bottom: 20px;
}

ul.jqtree-tree .jqtree-toggler.jqtree-toggler-left {
}

ul.jqtree-tree .jqtree-toggler::before {
    font-size: 18px;
    color: var(--gray-color);
}

/* -- Search Panel -- */

#shortened_search_result {
    max-width: 600px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.7); 
}

#shortened_search_result .btn.submit_btn:first-of-type {
    display: none;
}

#shortened_search_result > div:nth-child(1) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}


#shortened_search_result > div:nth-child(2) > table {
    word-break: break-word;
}

#shortened_search_result > div >h2 {
    font-size: 24px;
    background: transparent;
    border: none;
    flex: 1;
    padding-bottom: 15px;
    padding-top: 13px;
}

#shortened_search_result > div td a:hover {
    border: none;
    box-shadow: none;
    color: var(--text-color);
}

#shortened_search_result > div td a {
    font-weight: 400;
    display: block;
    border: none;
    margin-bottom: 4px;
}

#shortened_search_result > div td a > span {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 18px
}


#shortened_search_result > div td a b {
    background: transparent;
}

#shortened_search_result b {
    --background: var(--extra-light-gray-color);
}

#shortened_search_result .badge {
    background: none;
    color: var(--text-color);
    font-size: 14px;
}

#shortened_search_result .progress {
    height: 3px
}


#left_block_collapse:hover p::before {
    color: var(--background-color);    
}

/* -- Content Block -- */
	
	/* SAG_2023-09-05 */
section.content_block{
	box-shadow: 0px 1.600000023841858px 3.5999999046325684px 0px rgba(0, 0, 0, 0.13), 0px 0.30000001192092896px 0.8999999761581421px 0px rgba(0, 0, 0, 0.10);
	margin-top: 2px;
}

section.content_block > .left_block #accordion3 > .panel-default{
    padding: 0;
}

section.content_block > .left_block #accordion3 > .panel-default,
section.content_block > .left_block #menusection,
section.content_block > .left_block {
    background: var(--extra-light-gray-color);
}

section.content_block > .left_block #menusection > div.panel-footer {
    background-color: var(--high-gray-color) !important;
    display: none;
}

.header_navigation #menusection > .panel-body,
#menusection > .panel-body {
    height: calc(100vh - 55px) !important;
    padding: 30px 0px 20px 30px;
}

section.content_block > .right_block,
section.content_block > div.right_block{
    border-left: none;
    display: none!important;
}

section.content_block > .center_block > .center_content > .content_container > div > *  {
    max-width: 720px;
    margin-right: 20px;
    margin-left: 20px;
    overflow: visible;
}

.content_block .right-box-menu {
    display: none!important;
}

section.content_block h1::before {
    content: " ";
    display: block;
}

/* SEARCH PANEL */

/* Set search result bar color*/
.progress .progress-bar {
    background-color: var(--light-gray-color);
}