
/****************************************

*** Hide edit navigation item from ribbon page tab ***

*****************************************/

ul.ms-cui-menusection-items16 li a[id*="EditTermProperties"] {display:none;}

/****************************************

*** Site header fixes ***

*****************************************/
@media only screen and (min-width: 661px) and (max-width: 768px) {
    #header .title-container-container {
        top: 93px;
    }
    #Logo {
        top: 90px;
    }
        
    #header .header-top {
        height: 130px;
    }
        
    #header .searchbox {
        top: 138px;
    }
}

@media only screen and (max-width: 660px) {
    .ms-siteicon-img {
        width: 100%;
    }

    #header .header-top {
        height: auto;
        position: relative;
    }

    #header .title-container-container #titleContainer img {
        right: 0;
    }


    #Logo.dynamic-logo-extended {
        position: relative !important;
        margin-bottom:0;
        margin-top:0.5em;
    }

    #Logo {
        left: 0;
        top:0 !important;
    }

    #Logo.dynamic-logo-extended .dynamic-title {
        font-size: 1.2em;
    }

    #Logo.dynamic-logo-extended #siteIcon, #Logo.dynamic-logo-extended #siteIcon .icon-display {
        height: auto;
        }

    #header .title-container-container {
        position:relative;
        top:0;
        margin-bottom:15px;
    }

    #header .searchbox {
        top: auto;
        bottom: -48px;
    }

    .site-utilities-container {
        float:none;
        position:relative;
    }
    
}

/* End of site header fix */

/****************************************

*** General styling ***

*****************************************/

/*** Global Overides - PPR ***/
html.edit-mode .edit-mode-only.edit-info.label {
    float: initial;
    width: initial;
}

.edit-mode #mainbody .band-1a #SearchBox {
    display: none;
}

#sideNavBox li.static.father ul.dynamic li.dynamic a.menu-item:before {
    content: "\f068";
}

#sideNavBox li.static a.menu-item:before {
    content: "\f068";
}

#sideNavBox li.static.selected a.menu-item.selected:before {
    color: #333;
}

/*#sideNavBox li.static.selected a.menu-item.selected, #sideNavBox li.static.father a.menu-item.selected {
    background-color: #82BAE3;
    color: #333;
}*/

#sideNavBox li.static.dynamic-children.selected.father button.sideNavBoxExpandCollapse {
    background-color: #82BAE3;
    color: #333;
}

#sideNavBox .navSiteNameContainer h2 {
    border-bottom: 3px solid #517591;
}

.ms-rteTable-default .ms-rteTableOddRow-default td a, .ms-rteTable-default .ms-rteTableEvenRow-default td a {
    color: #0068b3;
}

ul.dfwp-column.dfwp-list {
    font-size: 12px;
}

.ms-rteTable-0 > tbody > tr > th {
    color: #333
}

/* Glossary CSS */
#pprGlossary tbody tr th.ms-rteTableFirstCol-1 {
    color: rgb(51, 51, 51);
}
/* End of Glossary CSS */

/* End Global Overides PPR */

/*** Mobile in this section PPR ***/
#sideNavBox .nav-accordion-title button {
    font-size: 0.8em;
    background-color: #ececec;
}

@media only screen and (max-width: 768px) {
    #sideNavBox .nav-accordion-content {
        border-bottom: 1px dashed #777;
    }
}

/* End mobile in this section PPR */

/**** SOCIAL MEDIA ***/

/* Social media */
.social-media-links .social-media-links-list .social-media-links-link[title="Facebook"]:hover, .social-media-links .social-media-links-list .social-media-links-link[title="Facebook"]:focus {
    background-color: #415ca3;
}

.social-media-links .social-media-links-list .social-media-links-link[title="Twitter"]:hover, .social-media-links .social-media-links-list .social-media-links-link[title="Twitter"]:focus {
    background-color: #1da1f2;
}

.social-media-links .social-media-links-list .social-media-links-link[title="YouTube"]:hover, .social-media-links .social-media-links-list .social-media-links-link[title="YouTube"]:focus {
    background-color: #FF0000;
}

.social-media-links .social-media-links-list .social-media-links-link[title="LinkedIn"]:hover, .social-media-links .social-media-links-list .social-media-links-link[title="LinkedIn"]:focus {
    background-color: #0072b1;
}

.social-media-links .social-media-links-list .social-media-links-link[title="Instagram"]:hover, .social-media-links .social-media-links-list .social-media-links-link[title="Instagram"]:focus {
    background-color: #DD2A7B;
}

/* Hide social media links except on home page */

html:not(.homepage-outer) .social-media-links {display:none;}


/* Print and email buttons */

@media screen and (min-width: 769px) { 
    .page-title-controls {
        margin-top: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .page-title-controls {
        margin-bottom: 10px;
    }
}

/* Site-wide heading style adjustments */

#pageTitle {
    line-height: 1.2em;
    font-size: 2.15em;
    margin-top: 20px !important;
}

.ms-rtestate-field h2 {
font-size: 1.7em;
}
h2, #mainbody h2 {font-size: 1.7em;} /* Apply heading 2 size adjustment to web parts also */

h2 a, h3 a, h3 a, h4 a {font-family: inherit !important;}

@media only screen and (max-width: 768px) {
    h1, .ms-rtestate-field h1, h1.ms-rteElement-H1 {
        font-size: 1.7em;
    }
}

/*** Side Navigation ***/

/* Fix for first child indentation in side nav */

#sideNavBox .nav-accordion-item .father ul.dynamic {
    margin-top: 1px;
}

/* Styling for lists */
.ms-rtestate-field li {
    padding-bottom: 0.5em;
}
    
/* style for a list within a list */
    .ms-rtestate-field ul li ul {
    margin-top: 10px;
}

/* Custom focus style */
a:focus, .footer-container a:focus, .composite-footer-container a:focus {
	outline: 2px solid #000000 !important;
	outline-offset: 1px;
}

.global-nav-container a:focus {outline: 2px solid #FFFFFF !important;}

.global-nav-container a:focus {outline-offset: 0;}

/* End focus style */

/* To top button adjust */

a.cd-top.back-to-top:before, button.cd-top.back-to-top:before {
    line-height: 1em;
}
    
a.cd-top.back-to-top.cd-fade-out, button.cd-top.back-to-top.cd-fade-out {
    max-width: 8vmin;
    max-height: 6vmin;
}

@media screen and (max-width: 768px) {
    a.cd-top:before, button.cd-top:before {
        line-height: 1em;
        font-size:1em;
    }   
}
/* End to top button adjust */

/* External link smaller size */

.fa-external-link {
    font-size: 0.9em;
}

/* Introduction paragraph larger text */

.wdp-intro {
    font-size:1.2em;
}

/*** Table styling ***/

.ms-rteTable-default td {
    font-size: 1em;
    padding: 10px;
}
    
.ms-rteTable-default > tbody > tr > td, .ms-rteTable-default th  {
    padding: 10px;
}

.ms-rteTable-default {
margin-bottom: 20px;
margin-top: 10px;
}


/* Aside stylings */

#right-aside-content h2, #right-aside-content h2 a {
    font-size: 1.3em !important;
}

#right-aside-content ul {
padding-left: 20px;
}

/****************************************

*** SEARCH STYLING ***

*****************************************/

/*** Search page - PPR ***/
.ms-srch-siteSearchResults #SearchBox .ms-srch-sb-navLink {
    display: none;
}

#SearchBox input[type="text"] {
    /*height: 45px;*/
    line-height: 30px;
}

/*.ms-srch-siteSearchResults .ms-srch-sb-searchLink {
    height: 45px;
}*/

.ms-srch-result #UpScopeLinkTop {
    display: none !important;
}

#mainbody .ms-srch-sb-searchLink {
    background-position: 50%;
    background-color: #3f5b71;
    border-color: #3f5b71;
}

/* end Search Page PPR */

.search-results-page-outer .article-app .articles.list.list.list-ppr {
    width: 100%;
}

.search-results-page-outer .ms-srch-item-body {
    word-break: break-word;
}


/*.ms-qSuggest-container {
    top: 53px;
}*/


/****************************************

*** SOCIAL SHARE AND FEEDBACK STYLING ***

*****************************************/

/*******************
PageLayout webparts - PPR
*******************/

.socialFeedback {
    position: relative;
    min-height: 80px;
}

/*Feedback webpart */
/*.socialFeedback .widget-feedback {
    position: absolute;
    bottom: 0;
}*/

#moreFeedback #rbtPageUseful input:focus {
    outline: 2px dotted #2e5e86 !important;
    outline-offset: 1px;
    outline-width: 1px;
    outline-style: dotted;
}

.socialFeedback .widget-feedback, .widget-feedback {
    padding-bottom: 5px;
    padding-left: 0px;
    width:100%;
}

.socialFeedback #pageFeedback .list-unstyled, #pageFeedback .list-unstyled {
    margin-top: 10px;
}

/* TEMPORARY FIX FOR SOCIAL MEDIA EMPTY COLUMN WIDTH */
.row.socialFeedback > .col-md-8::after,
.row.socialFeedback > .col-xs-6::after {    
        content: '\00a0';
        visibility: hidden;
}

/*** Share Webpart ***/

.social-media-links .social-media-links-list .social-media-links-link {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.socialFeedback .socialmedia h2, .socialmedia h2 {
    font-size: 1em !important;
    margin-bottom: 5px;
    color: #333;
    font-weight: normal;
    font-family: "Open Sans",sans-serif;
}

.socialFeedback .socialmedia {
    float:right !important;
}

@media screen and (max-width:500px) {
    .socialFeedback .socialmedia {
        float:none !important;
        margin-top:10px;
    }
    .socialFeedback > div {
        width:100%;
    }
}

.socialFeedback .socialmedia ul.socialList {
    padding-bottom: 0;
    margin-bottom: 0;
}

.socialFeedback .socialmedia .socialList li {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.socialFeedback .socialmedia .socialList li.socialItem {
    margin-right: 5px;
}

.socialFeedback .socialmedia .socialList .socialItem p {
    display: none;
}

.socialFeedback .socialmedia .socialList li.google, .socialFeedback .socialmedia .socialList li.pinterest {
    display: none;
}

/* End PageLayout webaparts */


/****************************************

*** FOOTER STYLING ***

*****************************************/

/***  Footer -PPR ***/

.above-outer-footer-container.footer-padding {
    padding: 10px 0;
}

.social-media-links .social-media-links-title {
    display: none;
}

/* Dividers for footer links on desktop only */

@media screen and (min-width: 660px) { 
    #footer .footerlinks ul.footerlevel:nth-of-type(1) li.footeritem { margin-bottom:10px;}
}

@media screen and (min-width: 501px) { 
    #footer .footerlinks ul.footerlevel:nth-of-type(1) li.footeritem {margin-right:0; }
    #footer ul.footerlevel:nth-of-type(1) li.footeritem a {padding-right:15px; margin-right: 15px; border-right: 1px solid #ccc;}
    #footer ul.footerlevel:nth-of-type(1) li.footeritem:last-of-type a {border-right: 0; padding-right:0; margin-right: 0;}

}

@media screen and (max-width: 500px) { 
    #footer .footerlinks ul.footerlevel:nth-of-type(1) li.footeritem {display:block;}
    #footer .footerlinks ul.footerlevel:nth-of-type(1) li.footeritem a {
        border-bottom: 1px dashed rgba(255,255,255,.3); 
        padding-bottom: 12px; 
        margin-bottom: 12px;
        display:block;
        margin-left:15%;
        margin-right:15%;
        line-height:25px;
    }

    #footer .footerlinks ul.footerlevel:nth-of-type(1) li.footeritem:last-of-type a {border-bottom:0;}
    #footer .footerlinks ul.footerlevel:nth-of-type(1) {margin-top:30px; margin-bottom: 30px;}
}



/****************************************

*** Site map styling ***

*****************************************/

.sitemap .area ul {
    list-style-type: none;
}

.sitemap .levelHeader + div > ul{
    padding: 0px;
    padding-left: 5px;
}

div.sitemap .expandarrow, div.sitemap .expandarrow-empty, div.sitemap .expandarrow + a,  div.sitemap .expandarrow-empty + a {
    background-color: #f2f2f2;
}

div.sitemap .expandarrow:hover, div.sitemap .expandarrow-empty:hover, div.sitemap .expandarrow + a:hover, div.sitemap .expandarrow-empty + a:hover {
    background-color: #f2f2f2;
}

div.sitemap .levelHeader {
    font-size: 16px;
    font-weight: bold;
}

.sitemap .levelHeader + div > ul > li > a:before {
    content: "\f068";
    font-family: FontAwesome;
    margin-right: 10px;
    margin-left: -5px;
    color: #333;
    font-weight: 300px;
    font-size: inherit;
    display: inline-block;
}

.sitemap .area ul .area ul li {
    list-style-type: disc;
}

div.sitemap > ul li {
    list-style-type: none;
}

div.sitemap .levelHeader + div ul li {
	line-height: 2.2em !important;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: circle;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul {
    padding: 0 0 0 40px;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: none;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > a:before {
    content: "\f068";
    font-family: FontAwesome;
    margin-right: 10px;
    margin-left: -20px;
    color: #333;
    font-weight: 300px;
    font-size: inherit;
    display: inline-block;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: disc;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: circle;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul {
    padding: 0 0 0 40px;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: none;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > a:before {
    content: "\f068";
    font-family: FontAwesome;
    margin-right: 10px;
    margin-left: -20px;
    color: #333;
    font-weight: 300px;
    font-size: inherit;
    display: inline-block;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: disc;
}

.sitemap > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area > div > ul > li.area {
    list-style-type: circle;
}

/* End of site map styling */

/* Aside stylings */

#right-aside-content h2, #right-aside-content h2 a {
        font-size: 1.3em !important;
}

#right-aside-content ul {
    padding-left: 20px;
}

/****************************************

*** Home page styling ***

*****************************************/

/*************
  Homepage - PPR 
**************/
.homepage .band-1a {
    height: 300px;
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/homepage-banner.jpg);
}

.homepage .band-1a .container {
    height: 100%;
    width: 40%;
    position: relative;
}

html.edit-mode .band-1a .container {
    width: 100%;
}

.homepage button.btnppr {
    height: 75px;
    width: auto;
    margin: 10px 0 0 0;
    font-weight: 600;
    font-size: 1.7em;
    padding: 15px 25px;
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ccc;
    /*box-shadow: 0px 0px 5px 0 rgba(0,0,0,0.6);*/
    font-family: "Roboto",sans-serif;
    text-align:center;
    float:right;
}

.homepage button.btnppr:hover {
    border-color: #ececec;
    background-color: #eaeaea;
    color: #333333;
}


.homepage button.btnppr:focus {
    outline: 2px solid #000 !important;
}

.homepage button.btnppr img {
    /*padding-left: 15px;*/
    padding-right: 10px;
}


/* Home page button responsive styles */

@media only screen and (max-width: 768px) {
    .homepage button.btnppr {
        margin: 15px 0 0 0;
        float:none;
    }
}

@media screen and (max-width: 579px) {
    .homepage button.btnppr {
        width:100%;
        height:auto;
        font-size:1.5em;
        padding: 15px 10px;
    }
}

@media screen and (max-width: 300px) {
    .homepage button.btnppr {
        width:100%;
        height:auto;
        font-size:1.2em;
        padding: 15px 0;
    }
}

/* End home page button responsive styles */

/*** Home page search - PPR ***/

.homepage .band-1a .ms-srch-sb-searchLink {
    padding: 0 15px;
    background-color: transparent;
    text-align: right;
}

#mainbody .band-1a #SearchBox {
    max-width: 100%;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:10;
}

#mainbody .band-1a #SearchBox input[type="text"] {
    background: transparent;
    border-radius: 20px 20px 0;
    height: 50px;
}

#mainbody .band-1a #SearchBox input[type="text"]:focus {
    border-color: #0070af;
    border-radius: 20px 20px 0;
    height: 50px;
}

#mainbody .band-1a .ms-srch-sb-borderFocused {
    border-radius: 20px;
}

#mainbody .band-1a .ms-srch-sb-searchLink {
    background: #fff;
    border-radius: 0 20px 20px 0;
    height: 50px;
}

#mainbody .band-1a #SearchBox:before {
    content: "What are you looking for?";
    font-size: 30px;
    font-weight: 600;
    line-height:1.45em;
    padding-left: 10px;
    position:absolute;
    bottom:60px;
    font-family: 'Roboto', sans-serif;
}

#mainbody .band-1a .ms-srch-sb-searchLink:after {
    color: #717171;
    line-height: 45px;
    font-size: 25px;
    padding-top: 3px;
}

#mainbody .band-1a .ms-srch-sb-searchLink:hover:after, .band-1a .ms-srch-sb-searchLink:focus:after {
    text-decoration: none;
    color: #777777;
    padding-top: 3px;
}

#mainbody .band-1a .ms-srch-sb-border {
    border: 1px solid #ababab;
    border-radius: 20px;
}

#mainbody .band-1a .ms-srch-sb-searchLink:hover {
    background-color: transparent;
}

@media only screen and (max-width: 768px) {
    #mainbody .band-1a #SearchBox:before {
        font-size: 25px;
    }
}

/*** End home page search PPR ****/

/* Home page and search page predictive search */

.ms-qSuggest-list {
    line-height: 1.45em;
    font-size: 1em;
    background-color: #fff;
    padding:10px 5px;
    width:auto !important;
    white-space: normal !important;
    overflow:visible !important;
}

.ms-qSuggest-listItem {
    width:auto !important;
}

.homepage .ms-qSuggest-container {
    top: 53px;
}



@media only screen and (max-width: 768px) {
    .homepage #mainbody .band-1a .ms-srch-sb-searchLink:after {
        font-size: 35px;
        line-height: 40px;
        /*padding: 0;*/
    }

    .homepage #mainbody .band-1a .ms-srch-sb-border {
        border: 1px solid #ababab;
        border-radius: 20px;
    }
}
/* End home page predictive search PPR*/


.homepage .band-2a .wbp .ms-webpart-zone {
    padding: 0;
}

@media only screen and (max-width: 1024px) {
    .homepage .band-1a .container {
        width: 70%;
    }

}

@media only screen and (max-width: 768px) {
    
    .homepage .band-2a {
        margin-bottom: 20px;
        padding: 20px 0;

    }

    .homepage .band-1a .container {
        width: 90%;
    }

    .topicsppr h2 {
        font-size: 1.5em;
    }
}


@media only screen and (max-width: 444px) {
    .homepage #mainbody .band-1a .container {
        width: 90%;
    }

    .homepage #mainbody .band-1a {
        height: 250px;
    }

    .homepage .MP1_3 .wbp .ms-webpart-zone {
        padding: 0;
    }
}

/* End Homepage PPR*/

/* Homepage fix */
#mainbody #band-1 .band-1a #SearchBox:before {
    padding-left: 0px;
}

/* Hide search in header on home page */

.homepage-outer .search-area-container {
    display:none;
}

/* Introductory text on homepage and updates button */
.band-2a {padding: 40px 0;}
.band-2a .wdp-intro {padding-top:10px;}


/* Centre social icons on home page */

.homepage-outer ul.social-media-links-list {
    text-align: center !important;
}

/* Home page tile styling */

.article-app .category-list-container {
	margin-right: -20px;
}

.article-app .category-list-container .category-tile .category-content-container .category-header .category-title {
    font-size: 1.25em;
    line-height:1.35em;
    min-height:60px;
    margin-right:5px; 
}

.article-app .category-list-container .category-tile .category-content-container .category-header .category-icon>img {
    width: 60px;
    height: 60px;
    margin-top:-5px;
}

.article-app .category-list-container .category-tile .category-content-container .category-header .category-icon {
    width: 60px;
}

.article-app .category-list-container .category-tile {
    border: 1px solid #ccc;
    background-color:#fff;
    margin-right:20px;
}

.article-app .category-list-container .category-tile:hover {
    border: 1px solid #000;
}

.homepage #band-3 .bg-color {
    background-color: #f2f2f2;
}


.homepage .article-app .category-list-container {
	margin-right:-10px;
	margin-left: -10px;
}

.homepage .article-app .category-list-container .category-tile {
    min-width: 20%;
    flex: 1;
    margin-right: 10px;
	margin-left: 10px;
}

@media screen and (min-width: 554px) and (max-width: 814px) { 
    .homepage .article-app .category-list-container .category-tile {
        min-width: 40%;
    }
}

@media screen and (max-width: 553px) { 
    .homepage .article-app .category-list-container .category-tile {
        position:relative;
        min-width: 60%;
    }
}

/****************************************

*** CONTACT PAGE ***

*****************************************/

.contact-icon {
    width: auto;
    text-align: center;
}

.contact-icon img {
    width: 75px;
}


/****************************************

*** Article rollups and search results (share the same styles on this site) ***

*****************************************/

/* Article rollup border - category pages */


.article-app .articles.list.list.list-ppr {
    box-shadow: none !important; 
    -webkit-box-shadow: none !important;
    box-shadow:none;
    border: #eee 1px solid;
    border-top: #eee 5px solid;
}

/* PPR category search results */

.article-app .articles.list.list.list-ppr .article .article-text-container {
    padding: 15px 15px 18px 15px !important;
}

.article-app .articles.list.list.list-ppr .article:nth-child(even) .article-text-container {
    background: #f7f7f7 !important;
}

.article-app .articles.list.list.list-ppr .article .article-text-container .article-inner-text-container .ppr-type-indicator-container .ppr-type-indicator {
    border-bottom-width: 2px;
    border-bottom-style: solid;
    font-size: 1em !important;
}

.article-app .articles.list.list.list-ppr .article .article-text-container .article-inner-text-container .ppr-type-indicator-container {margin-bottom:10px;}

.article-app .articles.list.list.list-ppr .article .article-text-container .article-inner-text-container .title {
    font-weight: 600;
    Font-size: 1.25em;
}

.article-app .articles.list .article {
    padding-bottom: 0;
}

.article-app .article .article-inner-misc-info, .article-app .article .article-inner-misc-info a, .article-app .article .article-inner-misc-info .time { font-size:0.95em;}

.article-app .articles .article .article-inner-misc-info {margin-top:5px;}

.article-app .category-list-container .category-tile .category-content-container .category-header .category-title {
    font-size: 1.45em;
    line-height:1.25em;
}

.article-app .category-list-container .category-tile .category-content-container .category-header .category-title {
    width: calc(100% - 60px);
}


/****************************************

*** Standard search page  ***

*****************************************/

.search-results-page-outer .ms-srch-item-link {font-weight:600;}

.search-results-page-outer .article-app .article h3.title {height:auto; min-height:0;margin-bottom:5px; margin-top:3px;}

.search-results-page-outer .article-app .articles.list.list.list-ppr .article .article-text-container .article-inner-text-container .ppr-type-indicator-container {margin-bottom:10px;}

.search-results-page-outer .article-app .articles.list .article {
    padding-bottom: 0;
}
.search-results-page-outer .article-app .articles.list.list.list-ppr .article .article-text-container {
    padding: 15px 15px 18px 15px !important;
}

/* Add focus style for search preview popup close button */

.ms-srch-hover-outerContainer .ms-srch-hover-close {
    padding-bottom: 4px;
}

.ms-srch-hover-outerContainer .ms-srch-hover-close a:focus {
    width: auto;
    height:inherit;
    display: block;
    border:2px solid #000;
}

/* Search page - break URL for mobile screens */

.ms-srch-result-groups .ms-srch-item-path {word-break: break-word;}
.article-inner-misc-info a {word-break: break-word;}

/****************************************

*** Article rollups - general ***

*****************************************/


/* Article rollup pagination - to match search page */

dir-pagination-controls .controls .paging-container a { border-radius:0; -webkit-border-radius:0; -moz-border-radius:0; -ms-border-radius:0; -o-border-radius:0;
}

dir-pagination-controls .controls .paging-container .previous.multiple a:before {
    font-family: FontAwesome;
   content: "\f100";
}

dir-pagination-controls .controls .paging-container .previous a:before {
    font-family: FontAwesome;
    content: "\f104";
}

dir-pagination-controls .controls .paging-container .next a:before {
    font-family: FontAwesome;
    content: "\f105";
}

dir-pagination-controls .controls .paging-container .next.multiple a:before {
    font-family: FontAwesome;
    content: "\f101";
}

dir-pagination-controls .controls .paging-container li a {
    padding: 2px;
}

dir-pagination-controls .controls .paging-container li.paging.current a {
    font-weight:bold;;
}


/****************************************

*** Policy and procedure page styles ***

*****************************************/

/* Additional styles phase 3 */

.ppr-supporting-links {padding:0 !important}

.ppr-supporting-links h2 { margin-top:0; padding:12px 50px 12px 15px; background-color:#c3ebf3; position:relative;}

.policy-page-outer .ppr-supporting-links h2 {background-color:#dedeee;}

.ppr-supporting-links h2:after {
	content: url('/Style%20Library/Design/images/icon-useful-links.svg'); 
	height: 30px;
    width: 30px;
    margin-right: 10px;
    padding: 0;
    position: absolute;
    top: 8px;
    right: 5px;
}

.ppr-supporting-links p {
   list-style: none;
    overflow-wrap: break-word;
    background-size: 8px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
    margin: 0 15px 15px 15px;
    padding: 0;
}

.ppr-supporting-links p:not(:last-child) {
    background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
	margin: 10px 15px 10px 15px;
	padding: 0 0 13px 0;
}

.ppr-supporting-links p:first-of-type {margin-top:15px;}

.procedure-page-outer table td,  .policy-page-outer table td {border:1px solid #ccc; 
padding:10px; vertical-align:top;}

.procedure-page-outer table th,  .policy-page-outer table th {border:1px solid #ccc; 
padding:10px; vertical-align:top; background-color:#f0f0f0;}

.procedure-page-outer table th p,  .policy-page-outer table th p {margin-bottom:0;}

/* third and fourth level bullet lists */
ul>li>ul>li>ul>li {list-style-type:disc;}
ul>li>ul>li>ul>li>ul>li {list-style-type:circle}

/* Remove indent from ordered lists */
.procedure-page ol, .policy-page ol {padding-left:15px;}

.PPR_H3_Process_heading {
    border-top: 1px #aaa solid;
    padding-left: 10px;
    padding-top: 10px;
    border-left: 6px solid #aaa;
    font-size: 1.3em !important;
}

.PPR_Caption {font-style: italic; font-size: 0.9em;}
.PPR_H3_Sub_heading {font-size: 1.3em !important;} /* Smaller H3 for policy and procedure pages */

/* Keep version label and number together */
.ppr-header.ppr-versions-container .ppr-version-number, .ppr-header.ppr-versions-container .ppr-version-effective {
    white-space: nowrap;
}

/********************
Policy and Procedure page layout - PPR
*********************/
.policy-right-header, .procedure-right-header, .hierarchy-header {
    padding-bottom: 2px;
    border-bottom: 1px solid white;
}

.ppr-version-number-label, .ppr-version-effective-label, .ppr-version-separator {
    font-weight: bold;
    color: #000;
}

.policy-right-content, .procedure-right-content, .hierarchy-content {
    padding-bottom: 15px;
    padding-top:12px;
    font-size:inherit !important;
    border-bottom: 15px solid white;
}

.policy-right-header, .hierarchy-header {
    background-color: #dedeee;
}

.policy-right-content, .hierarchy-content {
    background-color: #eeeef6;
}

.procedure-right-header {
    background-color: #c3ebf3;
}

.procedure-right-content {
    background-color: #E5F7FA;
}

.policy-right-title, .procedure-right-title, .hierarchy-title {
    position: relative;
    text-align: left;
    padding: 5px 0px 5px 15px;
}

.ppr-notice-label {
    padding: 0 15px;
    margin-bottom:10px;
}

.ppr-notice-label .ms-rtestate-field {
    padding: 5px 10px;
    border: 1px solid #000;
}

.ppr-notice-label .ms-rtestate-field p {margin:0;}

.ppr-attachment-item {
    list-style: none;
    overflow-wrap: break-word;
    background-size: 8px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
    margin: 0px 15px 10px 15px;
    padding: 0 0 13px 0;
}

.ppr-attachment-item:last-child {
    margin: 0px 15px 0 15px;
    padding: 0 !important;
}

.ppr-attachment-item:not(:last-child) {
        background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
}

.hierarchy-content ul:not(:last-child) {
    background-size: 8px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
    background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
    padding-bottom: 10px;
}
.hierarchy-root-page::before {
    content: none !important;
    padding: 0px !important;
}

.hierarchy-root-page {
    font-weight: 600;
}

.hierarchy-page::before {
    content: '\f105';
    font-family: 'FontAwesome';
    font-weight:bolder;
    position: absolute;
    margin-left:-15px;
}

.hierarchy-page {
    padding-left: 15px;
    list-style-type: none;
}

.hierarchy-current-page {
    font-style: italic;
}

.hierarchy-attachment-item {
    list-style-type: none;
    padding-left: 15px;
}

.banner-procedure-container, .banner-policy-container {
    margin-top: 20px;
    /*padding-left: 15px;
    padding-right: 15px;  */
}

.policy-page #left-main-content .CreativeCommonsLicense,
.procedure-page #left-main-content .CreativeCommonsLicense {
    margin-bottom: 15px;
}

.policy-page #left-main-content .ppr-header, .procedure-page #left-main-content .ppr-header {
    margin-bottom: 15px;
}

.procedure-page .ppr-header h2, .policy-page .ppr-header h2 {
    /*color: #333333;*/
    /*font-size: 1.5em;*/
    margin-bottom: 5px;
}

.procedure-page .ppr-header .hierarchy-title h2, .policy-page .ppr-header .hierarchy-title h2 {
    margin-bottom: 0;
}

.ppr-hierarchy {margin-top:2em;}

.ppr-contact-info-content{
    padding: 12px 15px 7px 15px;
}

.procedure-page .ppr-header h3, .policy-page .ppr-header h3 {
    font-size: 1.3em;
}

@media only screen and (max-width: 768px) {
    .banner-procedure-container div {
        padding-left: 0;
    }

    .procedure-page .ppr-header h2 {
        /*color: #333333;*/
        font-size: 1.4em;
        margin-bottom: 5px;
    }

    .banner-procedure-container {
        margin-top: 0;
        margin-bottom: 15px;
    }

}

/* End Procedure page layout -PPR */


/* Hide page last modified on procedure and policy pages */

.procedure-page-outer #pagelastmodified, .policy-page-outer #pagelastmodified  {display:none;}




/* Heirarchy styling */

.hierarchy-header {background-color: #e6e6e6 !important;}
.hierarchy-content {background-color: #f5f5f5 !important;}
.hierarchy-content ul {padding-left:20px;}


/* Categories, keywords and review date */

.ppr-review-date h2 , /*.ppr-categories h2,*/ .ppr-keywords h2 { 
    margin-top:20px !important;
}

.ppr-header.ppr-categories .ppr-categories-content .ppr-categories, .ppr-header.ppr-keywords .ppr-keywords-content .ppr-keywords {color:#666666;}

/* Categories styling - new */

.ppr-header.ppr-categories h2, .ppr-header.ppr-categories .ppr-categories-content .ppr-categories, .ppr-header.ppr-categories .ppr-categories-content, .ppr-header.ppr-categories, .ppr-header.ppr-categories .ppr-categories-content .ppr-categories a {
    display: inline;
}

.ppr-header.ppr-keywords h2, .ppr-header.ppr-keywords .ppr-keywords-content .ppr-keywords, .ppr-header.ppr-keywords .ppr-keywords-content, .ppr-header.ppr-keywords, .ppr-header.ppr-keywords .ppr-keywords-content .ppr-keywords a {
    display: inline;
}

.ppr-categories-content .ppr-categories a, .ppr-keywords-content .ppr-keywords a {

    /* border: 1px solid #000; */
    padding: 2px 5px;
    line-height: 1.8em;
    white-space: nowrap;
    background-color: #eee;
}

/* Categories area styling */




.ppr-header.ppr-categories h2:after, .ppr-header.ppr-keywords h2:after {
    content: ':';
}

.ppr-header.ppr-categories h2, .ppr-header.ppr-keywords h2 {
    font-size: 1.2em !important;
}

.ppr-categories, .ppr-keywords {
    color: #000;
}


/* End categories styling */

.ppc.ppr-ppc {
    background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
    padding-bottom:15px;
}

/* POLICY AND PROCEDURE ASIDE STYLING */

/* Aside box heading styles - policy and procedure pages */

.procedure-right-title h2, .policy-right-title h2  {
    color: #000; 
    margin-top:5px !important; 
    margin-right:50px ;
    display:inline-block;
}

/*** Aside icons on policy and procedure pages ***/

.procedure-right-title .ppr-icon, .policy-right-title .ppr-icon {
    height: 30px;
    width: 30px;
    margin-right: 10px;
    padding: 0;
    position: absolute;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top:8px;
    right:5px;
}

.procedure-right-title .ppr-icon.ppr-icon-download {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-download.svg);
}

.procedure-right-title .ppr-icon.ppr-icon-info {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-supporting-info.svg);
}

.procedure-right-title .ppr-icon.ppr-icon-contact {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-contact.svg);
}

.procedure-right-title .ppr-icon.ppr-icon-calendar {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-calendar.svg);
}

.policy-right-title .ppr-icon.ppr-icon-download {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-download.svg);
}

.policy-right-title .ppr-icon.ppr-icon-info {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-supporting-info.svg);
}

.policy-right-title .ppr-icon.ppr-icon-contact {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-contact.svg);
}

.policy-right-title .ppr-icon.ppr-icon-calendar {
    background-image: url(/Style%20Library/Z1/Skins/PPR/Images/icon-calendar.svg);
}

@media screen and (max-width: 219px) { 
    .procedure-right-title .ppr-icon, .policy-right-title .ppr-icon {display:none !important;}
}

/*** End - Styles for icons on policy and procedure pages ***/




/****************************************

*** Print styles ***

*****************************************/


/* PRINT STYLES - PPR */

@media print {
    
    ul.ms-breadcrumb {
        display: none;
    }

    #Logo.dynamic-logo-extended .icon-display {
        height: auto !important;
    }

    #Logo.dynamic-logo-extended .dynamic-motto-title .dynamic-title {
        display: none;
    }

    .quick-links.row.noindex {
        display: none;
    }

    .social-media-links.noindex {
        display: none;
    }

    .above-outer-footer-container {
        display: none;
    }

    .composite-footer-container {
        display: none;
    }

    .ppr-print-disclosure {
        display: block !important;
        border-top: 1px dashed #777;
        padding: 15px;
        margin: 20px 0 0 0 !important;
        border-bottom: 1px dashed #777;
    }

    h1, h2, h3, h4 {
        color: #1a3363 !important;
    }
}

/* Print styles - policy and procedure pages */
@media print {
    
    @page {margin: 20mm 15mm;}

    .ppr-categories-content a[href]:after, .ppr-keywords-content a[href]:after { 
        content: none !important; 
    }
        
    .ppr-categories, .ppr-keywords {
        break-inside: avoid;
    }

    #right-aside-content {
        margin-left:0; 
        float:none;
    }

    #right-aside-content .procedure-right-title, #right-aside-content .procedure-right-content {
        margin-left:-20px;
    }

    .article-app .category-list-container .category-tile {
        width: 25%; 
    }

    .ppr-header.ppr-categories {
        background: #fff;
        padding: 0;
    }

    .procedure-right-title h2, .policy-right-title h2, .hierarchy-title h2 {
        font-size:1.7em !important; 
        padding-left:0 !important;
    }

    .ppr-attachment-item {
        padding-left: 0 !important;
    }

    #Logo.dynamic-logo-extended .dynamic-motto-title .dynamic-title {
        display: block !important;
    }

}

/** END PRINT STYLES **/

/* TEMP FIX - list webpart causing text above to not be selectable */
/*#main .ppc {
    position: relative;
    z-index: 1;
}*/

/* Fix for <i> tags inside <a> tags*/

a.external-link i {
    font-size: 1em;
 }
 
 a.external-link i.fa-external-link {
    font-size: .8em;
 }