
.portal-header::after {
    filter: none;
}
.portal-header .logo {
    height: 60px;
    margin-bottom: 0;
}
.portal-header h1 {
    margin-top: 4.6em;
    position: relative;
}
.portal-header h1::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.5em);
    transform: translateX(-50%);
    background: url('https://www.invertekdrives.com/img/common/logos/optidrive-elevator-core-stacked-white-orange-highlight.svg') center center / contain no-repeat;
    height: 2.5em;
    width: auto;
    aspect-ratio: 1 / 0.45340699815;
}
@media (min-width: 768px) {
    .portal-header h1 {
        margin-top: 3.6em;
    }
    .portal-header .logo {
        margin-bottom:0;
        height: 80px
    }
}
@media (min-width: 992px) {
    main article {
        margin-left: 5%;
    }
}
p, pre {
    margin: 0 0 0.75em;
}
.topic-content table td, .topic-content table th {
    padding: 0.5em;
}
.site-sidebar .logo {
    height: 100px;
}

/* Primary color for links, buttons, portal header, titles  */
a,.text-primary,.btn-primary .badge,.btn-link,.pagination>li>a,.pagination>li>span,.nav-site-sidebar .active>a,.portal-single-publication .publication-icon i,.portal-single-publication .publication-icon .fa,.publication-contents a:hover,.publication-contents h4 a,.titlepage h1.title,.titlepage h2.title,.titlepage h3.title {
    color: #535486;
}

.bg-primary,.btn-primary,.publications-condensed .portal-single-publication a,.toolbar,.tool-search-form .search-field,.pager li>a:hover,.pager li>span:hover,.colored-top .site-sidebar-header {
    background-color: #535486;
}

.btn-primary,.nav .open>a,.nav .open>a:hover,.nav .open>a:focus,.colored-top .site-sidebar-header {
    border-color: #535486;
}

/* Hover primary color */
a:hover,a:focus,a.text-primary:hover,a.text-primary:focus,.btn-link:hover,.btn-link:focus,.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus {
    color: #593696;
}

a.bg-primary:hover,a.bg-primary:focus,.btn-primary:hover,.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus,.portal-header .portal-search button:hover {
    background-color: #593696;    
}

.nav-site-sidebar li a:focus{
    background-color: transparent;
}

.btn-primary:hover,.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus {
    border-color: #593696;    
}

/* Secondary color - For portal search button, publication count */
.portal-header .portal-search button {
    background-color:#535486;    
}

.publication-contents h4 span {
    background-color: transparent;  
}


/* Other colors */
.portal-footer {
    background: #535486;
    color: #fff;
}

.cat-panel-1:before {
    content: "\f0ce";
}
.cat-panel-2:before {
    content: "\f1cd";
}
.cat-panel-3:before {
    content: "\f1cd";
}
.cat-panel-4:before {
    content: "\f1cd";
}
@media (min-width: 992px) {
    .portal-single-publication .publication-icon {
        width: 80px;
    }
}
.cat-panel-5:before {
    content: "";
    width: 2em;
    background: url(https://www.invertekdrives.com/img/common/fieldbus-logos/can.svg) center center / contain no-repeat;
    height: 1em;
    display: block;
}
.cat-panel-6:before {
    content: "\f00c";
}
