header {
    background-color: #44687d;
    color: #fff;
}

header h1 {
    color: #fff;
}

a, a:link, a:visited, a:active, a:hover
{
    text-decoration: underline;
}

@media screen and (min-width:992px) {
    header {
        margin-bottom: 32px;
    }
}

#topbar
{
    background-color: #002147;
    color: #fff;
    min-height: 65px;
}

#wrapper-footer-bottom
{
    background-color: #002147;
    color: #fff;
    min-height: 65px;
    width: 100%;
    max-width: 100%;
    margin: 0; 
}

#footer-bottom
{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#footer-bottom a, #footer-bottom a:link, #footer-bottom a:visited, #footer-bottom a:active 
{
    color: #ffffff;
}

#footer-bottom p
{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#footer-bottom ul
{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
    list-style: none;
    text-align: right;
}

#footer-bottom li
{
    float: left;
    margin-left: 1.5rem;
}


img#itslogo,
img#oxlogo {
    width: 177px;
    height: 55px;
    padding: 0px;
    background-color: #002147;
    margin: 10px 16px 10px 0;
}

header .container {
    position: relative;
}

div.seeAlso {
    display: none;
    text-align: center;
}

@media only screen and (min-width:992px) {
    div.seeAlso {
        position: absolute;
        display: block;
        right: 0px;
        top: 16px;
    }
}

div.seeAlso a {
    display: block;
    padding: 0;
    margin: 2px 0 0 0;
}

img#itslogo {
    margin: 0;
    width: 96px;
    height: 96px;
    padding: 8px;
    background-color: #1A385A;
    background-color: transparent;
}

a:hover img#itslogo,
a:focus img#itslogo {
    background-color: #002147;
}

header h1 {
    padding: 8px 0px;
    font-family: PT Sans Narrow, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    font-style: normal;
}

@media only screen and (min-width:992px) {
    header h1 {
        padding: 48px 0;
    }
}

header a,
header a:link,
header a:visited,
header a:hover,
header a:active {
    color: #fff;
}

header ul,
header ul li {
}

    header ul li {
        font-family: PT Sans Narrow, sans-serif;
        font-size: 1.1875rem;
        margin-left: 16px;
    }

@media only screen and (max-width:992px) {
    header ul {
        text-align: right;
    }
}

#footer-related-second
{
    padding-top: 2.5rem;
}

.bg-dark {
    background-color: #002147 !important;
}

#breadcrumb 
{
    margin: 0 15px;
    font-size: 0.95rem;
    color: #444;
}

ol.breadcrumb,
ol.breadcrumb li {
    display: inline;
}

#breadcrumb .breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item.active {
    font-weight: bold;
    color: #000;
}

.breadcrumb-item::before {
    content: "\f105";
    display: inline-block;
    font-family: "Font Awesome 5 Free Solid", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900;
}

.breadcrumb-symbol
{
    color: #6C757D;
    display: inline-block;
    font-family: "Font Awesome 5 Free Solid", "Font Awesome 5 Free", "FontAwesome" !important;
    font-size: 0.8rem;
    font-weight: 900;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

#content {
    margin: 32px auto;
}

footer {
    background-color: #f2f2f2;
    color: #555;
    padding: 32px 0 16px;
}

    footer ul {
        padding: 0;
        list-style: none;
    }

    footer h2 {
        font-size: 1.4rem;
    }

body,
html {
    font-size: 16px;
    font-family: PT Sans, sans-serif;
    background-color: #fff;
    color: #444;
    padding-bottom: 0;
}

a,
a:link,
a:visited,
a:active {
    color: #002147
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: PT Sans Narrow, sans-serif;
    margin-bottom: 1.0rem;
}

label {
    font-family: PT Sans Narrow, sans-serif;
    font-weight: bold;
}

.status-info-label {
    display: inline-block;
    display: block;
}

.tooltip-wrapper {
    display: inline-block;
    display: block;
    float: right;
    padding-left: 5px;
    min-height: 30px;
}

    .tooltip-wrapper .tooltip-inner {
        position: relative;
        font-weight: bold;
        background-color: transparent;
    }

        .tooltip-wrapper .tooltip-inner:hover,
        .tooltip-wrapper .tooltip-inner:focus {
            color: #666;
            text-decoration: none
        }

    .tooltip-wrapper .tooltip-icon {
        background-color: #44687d;
        background-color: #ffffff;
        margin: 0 0 0 0;
        padding: 0 3px 5px 8px;
        overflow: hidden;
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .tooltip-wrapper .tooltip-inner:hover .tooltip-icon,
    .tooltip-wrapper .tooltip-inner:focus .tooltip-icon {
        color: #fff;
        background-color: #c8193e;
        background-color: #44687d;
    }

    .tooltip-wrapper .tooltip-icon .tooltip-icontext {
        position: absolute;
        top: -90020px;
    }

    .tooltip-wrapper .tooltip-icon .tooltip-iconQmark {
        padding: 0 4px 0 0
    }

    .tooltip-wrapper .tooltip-text {
        display: none;
    }

    .tooltip-wrapper .tooltip-inner:hover .tooltip-text {
        display: block;
        position: absolute;
        left: -10px;
        width: 200px;
        top: 25px;
        padding: 5px 10px;
        margin: 10px;
        z-index: 100;
        color: #575757;
        background-color: #f0f4f8;
        font-size: .85rem;
        text-align: left;
        box-shadow: 0 0 85px 5px rgba(0, 0, 0, .2);
    }


/* business criticality table styles start */

table.business-critcality {
    border-collapse: collapse;
    border: none;
    margin: 0 auto;
    /* max-width: 1000px;
     */
    font-size: 0.9rem;
}

    table.business-critcality td,
    table.business-critcality th {
        background-color: white;
        border: none;
        vertical-align: bottom;
    }

    table.business-critcality th,
    table.business-critcality tr.restricted-change td {
        padding: 8px;
        background-color: #f2f2f2;
    }

    table.business-critcality tr.criticality td {
        padding: 8px 0 0 0;
        margin: 0;
        width: 6%;
        border-left: 1px solid transparent;
    }

        table.business-critcality tr.criticality td div {
            background-color: #44687d;
            color: #fff;
            height: 50px;
            width: 100%;
            margin: 0 0 0 0px;
            padding: 8px;
            border-right: 1px solid green;
        }

            table.business-critcality tr.criticality td div.medium {
                height: 100px;
            }

            table.business-critcality tr.criticality td div.high {
                height: 150px;
            }

            table.business-critcality tr.criticality td div.critical {
                height: 200px;
            }


/* business criticality table styles end */

fieldset.filter {
    background-color: #fbfbfb;
}

legend {
    width: inherit;
}

div.service-details h2 {
    border-bottom: 1px solid #ddd;
}

div.service-details table th,
div.service-details table td {
    vertical-align: text-top;
    padding: 8px 0.5em;
}

div.service-details table th {
    text-align: right;
    padding-right: 1em;
    vertical-align: text-top;
}

.roleListStyle 
{
    font-family: PT Sans Narrow, sans-serif;  
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.0rem;
}

@media only screen {
    #search label {
        font-size: 1.6rem;
        font-weight: 400;
    }

    #search .fa-search {
        font-size: 1.2rem;
    }

    #search input,
    #search button {
        display: inline-block;
        border-radius: 0;
        margin: 0;
    }

    #search button {
        background-color: #44687d;
        color: #fff;
        border: 0px;
        height: 40px;
     /*   margin-top: -5px;  */
        float: right;
    }

    #search input[type='text'],
    #search-form input[type='text'] {
        font-size: 1.2rem;
        font-weight: 300;
        font-style: normal;
    }

    #search input[type='text'] {
        height: 40px;
        width: calc(100% - 44px);
        padding: 6px 12px;
    }
    /* pull up the browse by cay div on the homepage on desktop */
    /*@media only screen and (min-width:992px) {
        .browse-by-cat {
            margin-top: -105px;
        }
    }*/
    /* standard transition setting from Mosaic */
    a,
    a *,
    a:after,
    button {
        transition: all 0.5s;
    }
    /*service teaser styles start*/
    article.node-service.node-teaser a {
        background-color: #f2f2f2;
        display: block;
        min-height: 112px;
        padding: 8px 56px 8px 16px;
    }

        article.node-service.node-teaser a:hover,
        article.node-service.node-teaser a:focus {
            background-color: #fbfbfb;
            text-decoration: underline;
        }

        article.node-service.node-teaser a:after {
            background-color: #444;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f138";
            font-size: 32px;
            color: #fff;
            text-decoration: none;
            transition: color 0.7s;
            float: right;
            position: absolute;
            right: 16px;
            top: 0px;
            width: 48px;
            height: 100%;
            padding: 32px 0 0 8px;
        }

        article.node-service.node-teaser a .teaser-field.title {
            font-family: PT Sans Narrow, sans-serif;
            font-size: 1.6rem;
            padding-top: 8px;
        }

        article.node-service.node-teaser a .teaser-field.teaser-text {
            font-size: 1.1rem;
        }

    .browse-by-role ul,
    .show-all ul {
        list-style: none;
        padding: 0;
    }

    .show-all ul {
        padding: 32px 0 0 0;
    }
    /*service teaser styles end*/
    nav.staff-login a,
    .browse-by-role a,
    .show-all a {
        background-color: #f2f2f2;
        display: block;
        min-height: 56px;
        padding: 18px 56px 8px 16px;
        margin-bottom: 8px;
        position: relative;
    }

    .browse-by-role-row
    {
        background-color: #f2f2f2;
        display: flex;   
        padding: 10px 0px 8px 8px;
        margin-bottom: 12px;
        position: relative;
    }

    #roleForm .col-md-10,
    #roleForm .col-md-2
    {
        max-height: 24px;
        padding-right: 0px
    }

    #roleForm .col-md-10
    {
        padding-left: 0px;
    }

    #roleForm label
    {
        margin: 0px;
    }

    nav.staff-login a:hover,
    browse-by-role a:hover,
    .browse-by-role a:focus,
    .show-all a:hover,
    .show-all a:focus 
    {
        background-color: #fbfbfb;
        text-decoration: none;
    }

    #browse-by-role-submit
    {
        background-color: #44687d;
        font-weight: 700;
    }

    #browse-by-role-label-all
    {
        font-weight: normal;
        font-style: italic;
    }

    nav.staff-login {
        margin-bottom: 32px;
        text-align: right;
    }

        nav.staff-login a {
            display: block;
            text-align: right;
            text-transform: uppercase;
            background-color: #44687d;
            color: #fff;
        }

            nav.staff-login a:hover,
            nav.staff-login a:focus {
                background-color: #2C4D61;
            }

            nav.staff-login a:after,
            browse-by-role a:after,
            .show-all a:after {
                text-align: left;
                background-color: #666;
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                content: "\f138";
                font-size: 24px;
                color: #fff;
                text-decoration: none;
                transition: color 0.7s;
                float: right;
                position: absolute;
                right: 0px;
                top: 0px;
                width: 48px;
                height: 100%;
                padding: 10px 0 0 12px;
            }

            nav.staff-login a:after {
                background-color: #002147;
            }

    div.service-details div.details-wrapper {
        background-color: #fbfbfb;
        padding: 16px;
        margin-bottom: 16px;
        word-break: break-word;
    }

    .col-form-label {
        padding-top: calc(.375rem + 1px);
        padding-bottom: calc(.375rem + 1px);
        margin-bottom: 0;
        font-size: inherit;
        line-height: 1.5;
        text-align: left;
    }

    .searchRow
    {
        margin-bottom: 1.0rem;
    }

    .extra-details h2
    {
        margin-bottom: .75rem;
    }

    .extra-details h3
    {
        font-size: 1.75rem;
        font-weight: 500;
        margin-top: 0.75rem;
        margin-bottom: .25rem;
        line-height: 1.2;
    }

    .table-responsive 
    {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
      
    .table-responsive > .table-bordered 
    {
        border: 0;
    }

    .private-mode-text>img {
        width: 20px;
        max-width: 20px;
        height: 20px;
    }

    #roleForm input[type='checkbox']
    {
        transform: scale(1.5);
    }

    #search-submit
    {
        display: block;
        margin-top: 2.4rem;
        padding: .23rem .75rem;
        font-weight: 700;
    }

    #login_div
    {
        text-align: center;
        font-size: 0.8rem;
        font-style: bold;
    }

    #login_button
    {
        display: block;
        padding: .23rem .75rem;
        font-size: 1.0rem;
        font-weight: 700; 
        border-radius: 5px;
    }

    @media only screen and (min-width:768px) {
        div.service-details div.details-wrapper {
            height: 100%;
            min-height: 100%;
            max-height: 100%;
        }

        div.service-details {
            margin-bottom: 32px;
        }
    }
    /* service status colours */
    table.status-table td.planned {
        background-color: #595959
        /* grey (dull inactivity?) */
        ;
        color: #fff;
    }
    /* green - EVERYTHING'S F I I I I NE */
    table.status-table td.maintenance-window-inactive,
    table.status-table td.business-activity-level-low,
    table.status-table td.restricted-change-period-no,
    table.status-table td.lifecycle-status-default,
    table.status-table td.business-impact-status-low,
    table.status-table td.new {
        background-color: #97E982;
        color: #000;
    }
    /* orange - MOSTLY HARMLESS */
    table.status-table td.restricted-change-period-yes,
    table.status-table td.maintenance-window-active,
    table.status-table td.business-activity-level-high,
    table.status-table td.business-activity-level-medium,
    table.status-table td.lifecycle-status-notice,
    table.status-table td.business-impact-status-high,
    table.status-table td.business-impact-status-med,
    table.status-table td.notice,
    table.status-table td.restricted-change-period-true,
    table.status-table td.in_service_window {
        background-color: #FFC04E;
        color: #000;
    }
    /* red - DON'T PANIC (okay, maybe panic a liiiitle bit... ) */
    table.status-table td.business-activity-level-critical,
    table.status-table td.business-impact-status-critical,
    table.status-table td.closed {
        background-color: #FF7067;
        color: #000;
    }

    div.service-item-row div.service-item-field-group.status-info {
    }

    table.status-table {
        background-color: #f2f2f2
        /* dark blue */
        ;
        color: #444;
        min-height: 0px;
        padding: 0px;
    }

    table.status-table {
        border: none;
        border-collapse: collapse;
        margin: 0;
        width: 100%;
    }

        table.status-table tr {
            width: 100%;
        }

        table.status-table th,
        table.status-table td {
            vertical-align: middle;
            display: table-cell;
            width: 55%;
            background-color: transparent;
            border: none;
            padding: 5px;
        }

        table.status-table td {
            font-weight: 800;
            vertical-align: middle;
            padding: 8px;
        }
        /* table.status-table th */
        table.status-table th {
            width: 45%;
            text-align: right;
        }

        table.status-table th,
        table.status-table td {
            border: 1px solid #fff;
        }

    #services-catalogue-browse-by-category .views-row {
        display: inline-block;
        position: relative;
        overflow: hidden;
        margin: 0 15px 16px 15px;
        padding: 0;
        width: 100%;
        min-height: 220px;
    }

        #services-catalogue-browse-by-category .views-row a {
            display: block
        }

            #services-catalogue-browse-by-category .views-row a .img {
                max-width: none;
                width: 100%;
                height: auto
            }

            #services-catalogue-browse-by-category .views-row a .cat-name {
                background-color: #f2f2f2;
                color: #444;
                font-size: 1.4rem;
                display: block;
                width: 100%;
                margin: 0 15px;
                margin: 0;
                padding: 16px;
                position: absolute;
                top: 114px;
                text-align: center;
                height: 120px
            }

            #services-catalogue-browse-by-category .views-row a .cat-image {
                width: 96%
            }

            #services-catalogue-browse-by-category .views-row a .cat-teaser {
                position: absolute;
                top: 220px;
                display: block;
                width: 100%;
                padding: 2%;
                margin: 0 0 0 0;
                min-height: 160px;
                background-color: #44687d;
                color: #fff;
                font-size: 1.1rem
            }

            #services-catalogue-browse-by-category .views-row a .cat-name,
            #services-catalogue-browse-by-category .views-row a .cat-teaser {
                transition: top .75s
            }

            #services-catalogue-browse-by-category .views-row a:hover .cat-teaser,
            #services-catalogue-browse-by-category .views-row a:focus .cat-teaser {
                top: 80px
            }

            #services-catalogue-browse-by-category .views-row a:hover .cat-name,
            #services-catalogue-browse-by-category .views-row a:focus .cat-name {
                top: 0 ;
                opacity: .9
            }

        #services-catalogue-browse-by-category .views-row a {
            text-decoration: none;
            margin-bottom: 32px;
        }

            #services-catalogue-browse-by-category .views-row a .cat-image img {
                height: auto;
                width: 100%
            }


    @media only screen and (min-width:768px) {
        #services-catalogue-browse-by-category .views-row a .cat-name {
            margin: 0px;
            width: 96%;
            padding: 2%;
        }

        #services-catalogue-browse-by-category .views-row {
            margin: 0 0 16px 0;
        }

            #services-catalogue-browse-by-category .views-row a .cat-teaser {
                width: 96%;
            }
    }

    @media (min-width: 1400px) 
    {
        .container 
        {
            max-width: 1320px;
        }
    }

    @media only screen and (min-width:1600px) {
    }
}

@media only print {
}
