/*******************************************************************************
 ****   Associated Information
 ******************************************************************************/
.sliph-assiated-information th{
    background: transparent;
    text-align: left;
    border: 0;
    font-size: 1.3em;
    padding-bottom: 0.5em;
    padding-top: 1em;
}
.sliph-assiated-information th.first{
    padding-top: 0;
}
.sliph-assiated-information td{
    border-top: 0;
    border-left: 0;
    border-right: 0;
}
.sliph-assiated-information .icon{
    width: 20px;
    background: center center no-repeat;
}
.browse-list.sliph-assiated-information .icon{
    height: 20px;
    float: left;
    margin-right: 1em;
}
.sliph-assiated-information .icon.link      { background-image: url(images/link.png); }
.sliph-assiated-information .icon.document  { background-image: url(images/document.png); }
.sliph-assiated-information .icon.website   { background-image: url(images/world.png); }
.sliph-assiated-information .icon.book      { background-image: url(images/book.png); }
.sliph-assiated-information .icon.file      { background-image: url(images/page.png); }
.sliph-assiated-information .icon.file_excel{ background-image: url(images/page_white_excel.png); }
.sliph-assiated-information .icon.file_word { background-image: url(images/page_white_word.png); }
.sliph-assiated-information .icon.file_text { background-image: url(images/page_white_text.png); }
.sliph-assiated-information .icon.file_vcard{ background-image: url(images/vcard.png); }
.sliph-assiated-information .icon.file_image{ background-image: url(images/page_white_picture.png); }
.sliph-assiated-information .icon.file_pdf  { background-image: url(images/file_pdf.png); }

div.icon.file_pdf  {
    background-image: url(images/file_pdf.png);
    display:inline;
    display:inline-block;
    margin-bottom: -3px;
    margin-left: 3px;
    width: 16px;
    height: 16px;
}

.sliph-ai-historic{
    font-size: 1.1em;
}

/*******************************************************************************
 ****   Document Navigation
 ******************************************************************************/
#sliph-document-navigation{
    float: left;
    width: 250px;
    font-family: 'Open Sans', tahoma, arial, serif;
    font-size: 0.9em;
    overflow: auto;
    border-top: 1px solid #e5e5e5;
}
#sliph-document-navigation ul{
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}
#sliph-document-navigation li{
    list-style-type: none;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
    background: #fff;
    line-height: 1.4em;
}
#sliph-document-navigation li.part{
    margin-left: 1em;
}
#sliph-document-navigation li.major{
    margin-left: 2em;
}
#sliph-document-navigation li.minor{
    margin-left: 3em;
}
#sliph-document-navigation li a{
    text-decoration: none;
    display: block;
    padding: 0.3em 0.6em;
}
#sliph-document-navigation li:hover{
    background: #e5e5e5;
}

/* Sub Navigation */
#sliph-document-sub-navigation{
    margin: -20px -20px 20px -20px;
    background: #e5e5e5;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
}
#sliph-document-sub-navigation ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#sliph-document-sub-navigation li{
    float: left;
    border-right: 1px solid #fff;
}
#sliph-document-sub-navigation a{
    font-size: 0.9em;
    padding: 12px;
    text-decoration: none;
    color: #333;
}

/*******************************************************************************
 ****   Document Content
 ******************************************************************************/
.document-frame{
    border: 3px solid #e5e5e5;
    padding: 10px;
}
.document-frame.current { border-color: #090; }
.document-frame.future  { border-color: #009; }
.document-frame.historic{ border-color: #900; }
#sliph-document-content{
    position: relative;
    padding: 0 15px;
    border-top: 1px solid #e5e5e5;
    font-family: 'Open Sans', tahoma, arial, serif;
    overflow: auto;
    border-left: 1px solid #e5e5e5;
}
#sliph-document-content ul,
#sliph-document-content ol,
#comment-content ol{
    margin-left: 3em;
}
.document-label{
    margin-left: 0.75em;
}
.document-label.expired{
    color: #900;
}
.document-label.future{
    color: #009;
}
.sliph-document-status{
    font-size: 0.8em;
    padding: 0 5px;
    border: 1px solid #ccc;
    background: #e5e5e5;
    margin: 1em 0;
    color: #fff;
}
.sliph-document-status.current{
    background: #090;
    border-color: #060;
}
.sliph-document-status.future{
    background: #009;
    border-color: #006;
}
.sliph-document-status.historic{
    background: #900;
    border-color: #600;
}

#sliph-document-content > ul,
#sliph-document-content > ol,
#comment-content > ol{
    margin-left: 3em;
}
#sliph-document-content > ol,
#comment-content > ol{
    list-style-type: lower-alpha;
}
#sliph-document-content > ol > li > ol,
#comment-content > ol > li > ol{
    list-style-type: lower-roman;
}
#sliph-document-content ol li ol li ol,
#comment-content ol li ol li ol{
    list-style-type: disc;
}

#sliph-document-content p{
    margin: 0 0 1em 0;
    padding-left: 3em;
}
#sliph-document-content ol,
#sliph-document-content ul{
    margin: 0 0 1em 5em;
}
#sliph-document-content ol ol,
#sliph-document-content ul ul,
#comment-content ul ul,
#comment-content ol ol{
    margin: 0.5em 0 0 3em;
}
#sliph-document-content li{
    margin-bottom: 0.5em;
}
#sliph-document-content h1,
#sliph-document-content h2,
#sliph-document-content h3,
#sliph-document-content h4{
    margin: 0.7em 0 0.7em 0;
}
#sliph-document-content h1:first-child{
    margin-top: 0;
}

#sliph-document-content .top-link{
    display: block;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 1em;
}
#sliph-document-content .top-link a{
    float: right;
    font-size: 0.8em;
    color: #669;
    margin-top: 5px;
}
#sliph-document-content .normal{
    margin-bottom: 1em;
}
#sliph-document-content .blockquote,
blockquote{
    margin: 2em 1em;
    padding: 1em;
    border: 1px dotted #e5e5e5;
    background: #fefefe;
    border-radius: 10px;
}
#sliph-document-content .enumerate{
    float: left;
    margin-left: -3em;
}
#sliph-document-content .comment{
    color: #c00;
    font-weight: bold;
    margin: 2em 1em;
}

/*******************************************************************************
 ****   Document Status Table
 ******************************************************************************/
#sliph-document-status{
    width: 35%;
    margin-right: 4%;
    float: left;
    font-size: 0.9em;
    border: 0;
    font-family: 'Open Sans', tahoma, arial, serif;
    letter-spacing: 0.05em;
}
#sliph-document-status th,
#sliph-document-status td{
    text-align: left;
    border: 0;
    background: #fff;
    padding: 2px;
    border-bottom: 1px solid #efefef;
}
#sliph-document-status th{
    white-space: nowrap;
    width: 1%;
    padding-right: 2em;
}
#sliph-document-status span{
    display: inline;
    display: inline-block;
    width: 50px;
}

#sliph-document-status-amendments-frame{
    float: left;
    width: 60%;
    font-family: 'Open Sans', tahoma, arial, serif;
    letter-spacing: 0.05em;
}
#sliph-document-status-amendments-frame div{
    margin: 0 0 1em 0;
    padding: 1em;
    border: 1px solid #efefef;
}
#sliph-document-status-amendments-frame div span{
    display: block;
    font-weight: bold;
    border-bottom: 1px dotted #efefef;
    padding-bottom: 3px;
    margin-bottom: 3px;
}

/*******************************************************************************
 ****   View Future/Historic Versions Table
 ******************************************************************************/
#sliph-document-view-table{
    font-family: 'Open Sans', tahoma, arial, serif;
}
#sliph-document-view-table th,
#sliph-document-view-table td{
    border: 1px solid #f5f5f5;
    padding: 0.5em 1em;
    letter-spacing: 0.05em;
}
#sliph-document-view-table th{
    background: #f5f5f5;
    font-weight: bold;
    text-align: left;
}
#sliph-document-view-table td{
    background: #fff;
}

/*******************************************************************************
 ****   Bulletin Board
 ******************************************************************************/
.bulletin-icon-protected,
.bulletin-icon-placeholder{
    margin: 3px 10px 0 3px;
    float: left;
}
.bulletin-icon-placeholder{
    width: 13px;
    height: 15px;
}
#sliph-document-content.bulletin{
    padding-top: 1em;
}
#sliph-document-content.bulletin p{
    padding-left: 5em;
}
#sliph-document-content.bulletin .enumerate{
    float: left;
    margin-left: -5em;
}
.bulletin-comment{
    width: 24px;
    height: 24px;
    display: block;
    float: left;
    background: url(images/comment-inactive.png) center center no-repeat;
    margin-right: 10px;
    border: 0;
    text-decoration: none;
}
.bulletin-comment.applied{
    background-image: url(images/comment.png);
}
#bulletin-comment{
    width: 662px;
    height: 254px;
    margin-top: 10px;
}
#comment-content{
    padding: 5px;
    height: 90px;
    font-size: 0.9em;
    line-height: 1.2em;
    border: 1px solid #ccc;
    background: #fff;
    overflow: auto;
}
#comment-content .bulletin-comment{
    display: none;
}
#sliph-form-bulletin{
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}
h3.bulletin{
    margin-top: 0.5em;
}

/* Questionaire */

.buletin-questionnaire th{
    text-align: left;
    background-color: #fafafa;
    vertical-align: top;
}
.buletin-questionnaire th.heading{
    background-color: #e5e5e5;
}
.buletin-questionnaire td.notes .rule{
    color: #900;
    display: block;
}
.buletin-questionnaire td.notes{
    font-size: 0.9em;
    width: 40%;
}
.buletin-questionnaire td.intro{
    border-left: 0;
    border-right: 0;
    padding-top: 1em;
    padding-bottom: 1em;
}
.buletin-questionnaire textarea,
.buletin-questionnaire select,
.buletin-questionnaire input[type=text]{
    width: 99%;
}

/*******************************************************************************
 ****   Document Search Form
 ******************************************************************************/
.document-search-from{
    width: auto;
    font-size: 0.8em;
}
.document-search-from th{
    text-align: left;
    white-space: nowrap;
}
.document-search-from select{
    width: 350px;
}
.document-search-from input{
    width: 99%;
}
.document-search-from input.checkbox{
    width: auto;
}

/*******************************************************************************
 ****   Document Navigation Collapse
 ******************************************************************************/
.sliph-navigation-collapse{
    font-size: 0.9em;
    padding: 0.25em;
    padding-left: 26px;
    background: url(images/arrow_left.png) 5px 5px no-repeat;
    cursor: pointer;
    border-left: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}
.sliph-navigation-collapse.collapsed{
    background-image: url(images/arrow_right.png);
}

/*******************************************************************************
 ****   Media Queries
 ******************************************************************************/
@media (max-width: 1380px) {
  #sliph-document-sub-navigation{
      margin: -10px -10px 20px -10px;
  }
}

.document-protected{
    display: inline-block;
    width: 13px;
    height: 15px;
    background: url(images/shield.gif) center center no-repeat;
    margin-left: 0.5em;
    margin-bottom: -3px;
}

/*******************************************************************************
 * New homepage layout for Policies
 * Responsive grid layout - targeted for Homepage 
 ******************************************************************************/
.homepage.grid-layout {
    display: grid;
    padding: 0;
    margin: 40px auto 25px;
    grid-template-columns: repeat(1,minmax(0,1fr)); 
    column-gap: 0;
    row-gap: 25px;
}

.homepage.grid-layout .tile {
    display: flex;
    padding: 10px;
    height: 150px;
    flex-direction: column;
    border: solid 1px #000;
    transition: background-color .7s;
}

.homepage.grid-layout .tile:hover {
    background-color: #F6F6F6;
    cursor: pointer;
}

.homepage.grid-layout .tile {
    display: flex;
    flex-direction: column;
    border: solid 1px #000;
    text-decoration: none;
}

.homepage.grid-layout .tile .title {
    display: flex;
    padding: 15px 0 15px 70px;
    line-height: 1.4em;
    letter-spacing: 1.88px;
    font-size: 18.7px;
    font-weight: 700;
    color: #000;
}

.homepage.grid-layout .tile .title a {
    text-decoration: none;
    color: #000;
}

.homepage.grid-layout .tile .tile-content {
    display: flex;
}

.homepage.grid-layout .tile .tile-content a:not(.link) {
    text-decoration: none;
    color: #000;
}

.homepage.grid-layout .tile .tile-content div:first-child {
    display: flex;
    width: 70px;
    justify-content: center;
    align-items: flex-start;
}
.homepage.grid-layout .tile .tile-content div:first-child img {
    width: 48px;
    height: 48px;
}

.homepage.grid-layout .tile .tile-content div:last-child {
    flex: 1;
    color: #000;
    font-size: 13px;
}

.footer {
    position: relative;
    margin: 0 !important;
    padding-top: 60px; // to offset the height of the footer bar (below))
}

.footer .footer-bar {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 0 !important;
    margin: 0 !important;
    height: 60px;
    justify-content: center;
    align-items: center;
}

.footer .footer-bar a {
    margin: 10px 0 0 25px !important;
}

@media only screen and (min-width: 576px){
    .homepage.grid-layout {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 25px;
    }
    
    .footer .footer-bar {
        padding: 0 !important;
        flex-direction: row;
    }

    .footer .footer-bar a {
        margin-top: 0 !important;
    }    
    
    
}

@media only screen and (min-width: 1024px){
    .homepage.grid-layout {
        margin: 25px auto 40px;
        max-width: 100%;
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 25px;     
    }  
}

@media only screen and (min-width: 1240px){
    .homepage.grid-layout {
        max-width: 80%;
    }  
}
