﻿/* CLF3.01 Fixes for SharePoint */
BODY {
    font-size: 80%;
    margin: 0px !important;
    padding: 0px !important;
    border: 0 !important;
}

h2, h3, .ms-h2, .ms-h3, .ms-headerFont {
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

#wb-main h1, #wb-main h2, #wb-main h3, #wb-main h4, #wb-main h5, #wb-main h6 {
    font-family: sans-serif
}

#gcwu-sft, #gcwu-gcft, #gcwu-gcft-ca, .gcwu-col-head {
    font-family: Arial,Helvetica,sans-serif;
}

/* Correct the font color back to black... sharepoint likes grey */
#wb-main-in {
    color: #000000;
}

/* IMG margin-left and margin-right 10p in theme-ie-min.css adds padding to the ribbon images - this corrects it*/
.ms-cui-ribbon IMG {
    margin-left: 0;
    margin-right: 0;
}

.ms-dlgBorder IMG /* Fix for images in popup menus */ {
    margin-left: 0;
    margin-right: 0;
}

.ms-cui-menu IMG /* Fix for images in the drop down menu's of the ribbon */ {
    margin-left: 0;
    margin-right: 0;
}

.ms-cui-tooltip /* Expects 1em line height for calculating height */ {
    line-height: 1em;
}

    .ms-cui-tooltip IMG /* Fix for images in the popups off the ribbon when a drop down element is disabled */ {
        margin-left: 0;
        margin-right: 0;
    }

.ms-cui-tabBody /* Fix for ribbon rendering too far to the left */ {
    margin-left: 10px;
}

/* FORM Fixes - the form tag was meant to be embeded in the content zone.  SharePoint requires FORM to be whole page so this is no longer valid */
/* FORM has margins and padding by default from CLF: adds strange spacing to the page - remove the padding and margin */
FORM {
    margin: 0;
    padding: 0;
}

/* FORM H3 in util-ie-min.css adds a border under the mega-menu - this style corrects it */
/* FORM H3 in UTIL-IE-MIN.css overrides the H3 style of the menu - default has a left and right margin of 0px - right margin gets resized after */
.mb-menu LI H3 {
    border-bottom: none;
    margin-left: 0px;
    margin-right: 0px;
}
/* Correct the Header sizes when contained within a web part class=ms-WPBody inserted by SharePoint */
.ms-WPBody H1 {
    font-size: 140%
}

.ms-WPBody H2 {
    font-size: 125%
}

.ms-WPBody H3 {
    font-size: 120%
}

.ms-WPBody H4 {
    font-size: 115%
}

.ms-WPBody H5 {
    font-size: 110%
}

.ms-WPBody H6 {
    font-size: 100%
}

/* General form Fixes - related to our never having a form tag inside our content - correct things back to what CLF is expecting */
FORM H1, FORM H2, FORM H3, FORM H4, FORM H5, FORM H6 {
    margin-left: 10px;
    margin-right: 10px;
    border-bottom: none;
}

FORM H2, FORM H5 {
    color: #555 !important;
}

FORM H3 {
    color: #666 !important;
}
/* fix the H1 for the page title - gets overridden by the above style */
#wb-cont {
    margin-left: 10px;
    margin-right: 10px;
    border-bottom: #333 1px solid;
    margin-top: 0px;
    margin-bottom: 10px !important;
    font-size: 1.8em;
    font-weight: 400;
}
/* Search Box Fixes */
.srch-gosearchimg {
    margin: 0; /* correct TABLE IMG 0 0 10px in Util-ie-min.css which adds 10 px margin top bottom to search box */
}

.clfSearchResultImg {
    width: auto !important; /* keeps image from getting width 100% from CLF styles */
    margin-left: 10px;
}

TABLE.s4-search {
    margin: 0;
}

    TABLE.s4-search > TBODY > TR > TD /* remove the border and padding from util-ie-min.css */ {
        border: none;
        padding: 0px;
    }

#gcwu-srchbx input[type='text'] {
    width: 218px;
    color: #444;
    padding: 2px 0 2px 0;
    border: 1px solid #ccc;
    box-shadow: none;
    background-color: #fff;
}

    #gcwu-srchbx input[type='text']:focus, #gcwu-srchbx input[type='text']:active {
        background: #f0fcff;
    }

#gcwu-srchbx input[type='button'] {
    color: #333;
    padding: 2px 6px 2px 6px;
    border-top: #fff 1px solid;
    border-right: #999 1px solid;
    border-bottom: #999 1px solid;
    border-left: #fff 1px solid;
    display: inline !important;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: 0 1px 0 #eee;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-appearance: none;
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YwZjBmMCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==")
}

#gcwu-srchbx input[type='button'] {
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YwZjBmMCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==")
}

    #gcwu-srchbx input[type='button']:focus, #gcwu-srchbx input[type='button']:hover {
        background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==")
    }

.ie8 #gcwu-srchbx input[type='button'] {
    top: 1px;
    padding: 2px 5px 2px 5px;
    position: relative;
    background-color: #cecece !important;
}

.ie7 #gcwu-srchbx {
    padding-bottom: 6px !important;
}

    .ie7 #gcwu-srchbx input[type='button'] {
        top: 1px;
        padding: 2px 0px 2px 0px !important;
        position: relative;
        border-top-color: #c8c8c8 !important;
        border-right-color: #c8c8c8 !important;
        border-bottom-color: #c8c8c8 !important;
        border-left-color: #c8c8c8 !important;
        background-color: #cecece !important;
    }

/* search result fixes */

.ms-sbtable-ex /* corrects the search result web part floating left and having the errors and no result messages appear beside it */ {
    float: none;
}

.srch-WPBody {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #000000;
}

.ms-srch-sbLarge-navImg {
    margin-left: 0px !important;
}

.ms-srch-sbLarge-searchImg {
    margin-left: 0px !important;
}

.ms-srch-result {
    margin-left: 10px !important;
}

.ms-srch-sb-borderFocused {
    border: none !important;
}

.ms-srch-sb-border {
    border: none !important;
}

.ms-srch-item {
    width: auto !important;
}

#SearchBox {
    margin-left: 10px !important;
}

input {
    font-size: 13px !important;
}

/* Table Fixes around webparts */
.s4-wpTopTable {
    border: none; /* corrects the s4-wpTopTable where thiem-ie-min.css and util-ie-min that added border and margin to tables */
    margin: 0;
    width: 100%;
}

TABLE.s4-wpTopTable > TBODY > TR > TD /* corrects the s4-wpTopTable where thiem-ie-min.css and util-ie-min that added border and margin to tables */ {
    border: none;
    padding: 0;
}

td.s4-wpcell-plain /* Removes the border and additional padding added by util-ie-min.css */ {
    border: none;
    padding: 0;
}

td.s4-wpcell /* removes the padding added around the wb-cell when editing */ {
    padding: 0;
}

.ms-rtestate-notify > TABLE /* corrects the tables wrapped around web parts so they don't get the margins pushed to them by thiem-ie-min and util-ie-min */ {
    margin: 0;
}

div[id$="TreeNavigation"] div.background-light {
    margin-left: 10px !important;
    margin-right: -8px !important;
}

    div[id$="TreeNavigation"] div.background-light p {
        margin-left: 0px !important;
    }

div[id$="TreeNavigation"] table {
    width: 99.9% !important;
}

.ms-rte-wpbox /* remove the sharepoint style around fonts for text - enforce the CLF 13px and black text */ {
    font-size: 13px;
    color: #000000;
    font: normal normal normal 13px/1.5em Verdana, Arial, Helvetica, sans-serif;
}

DIV.ms-WPBody {
    font-size: 13px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

DIV.ms-WPBody P /* corrects the margins of P tags inside a WebPart ... sharepoint adds top and bottom margins but removes the left and right - our grid was ripping it out as well since sharepoint wraps everything in tables */ {
    margin: 10px;
}

DIV.ms-WPBody TD /* corrects the font size of text within Table TD's */ {
    font-size: 13px;
}

/* Remove vertical scrollbar on FINDAT pages */
DIV[data-url$='FINDAT.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-fb.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-tc.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-lc.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-ra.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-li.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-frb.aspx'] DIV.ms-WPBody,
DIV[data-url$='FINDAT-pc.aspx'] DIV.ms-WPBody {
    overflow-y: hidden !important
}

/* Edit Fixes */
TR.ms-WPHeader > TD /* Remove the border and padding added by util-ie-min.css from the edit headers */ {
    border: transparent 1px solid;
    padding: 0;
}

SPAN.ms-WPHeaderTdSelSpan > INPUT /* remove the border around the checkboxes in the edit header */ {
    border: none;
}
/* Dialog Fixes */
.ms-dlgContent INPUT[type='button'] {
    display: inline;
}

#checkincomments /* because we have CLF Styles bleeding into the dialogs - these make them fit the existing screen */ {
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}

#statechangedialog_okbutton, #statechangedialog_cancelbutton /* because we have CLF Styles bleeding into the dialogs - these make them fit the existing screen */ {
    margin-top: 0 !important;
}
/* Scrollbar Fixes
/* hide body scrolling (SharePoint will handle) */
body {
    overflow: visible;
}

    body #s4-workspace {
        overflow: visible !important;
    }

/* Anchor Fixes */
/* Correct the links in the Main content section to include Anchors Corev4.css sets them to none */
#wb-main-in a:link:focus, #wb-main-in a:focus {
    text-decoration: underline;
}

#wb-main-in a:link {
    text-decoration: underline;
}

#wb-main-in a:hover, #wb-main-in a:visited:hover {
    text-decoration: underline;
}

#wb-main-in a:active, #wb-main-in a:visited:active {
    text-decoration: underline;
}

#wb-main-in a:visited {
    text-decoration: underline;
}

/* Language Links on Splash Page - remove underline */
#gcwu-lang a:link:focus, #wb-main-in a:focus {
    text-decoration: none;
}

#gcwu-lang a:link {
    text-decoration: none;
}

#gcwu-lang a:hover, #wb-main-in a:visited:hover {
    text-decoration: none;
}

#gcwu-lang a:active, #wb-main-in a:visited:active {
    text-decoration: none;
}

#gcwu-lang a:visited {
    text-decoration: none;
}

/* get rid of underline on mouse over */
.ms-cui-ribbon a:hover {
    text-decoration: none;
}

.ms-siteactions-root a:hover {
    text-decoration: none;
}

.ms-siteactions-root a:focus {
    text-decoration: none;
}

/* General Mobile Fixes */
#s4-bodyContainer {
    min-width: 0px !important;
}
/* corev4.css adds min-width 760px to s4-bodyContainer */

/* Suite bar fixes*/

/* 2016 nav header height/display adjustment */
#O365_NavHeader {
    display: none !important;
}

#suiteBar {
    height: 30px !important;
}

#suiteBarTop {
    display: none !important;
}
/* END 2016 nav header height/display adjustment */


/* Hide text until jQuery function deletes the 'SharePoint' label and restores visiblity to avoid flashing 'SharePoint' label. */
.ms-core-brandingText {
    display: none;
}

#suiteBarLeft div.ms-tableCell.ms-verticalAlignMiddle {
    padding-left: 20px;
}

    #suiteBarLeft div.ms-tableCell.ms-verticalAlignMiddle:after {
        content: "Welcome to the OSFI Public Internet Site";
    }

#welcomeMenuBox {
}

.ms-core-brandingText {
    margin-left: 0px;
}

.ms-core-menu-buttonIcon {
    margin-left: 0px;
    margin-right: 0px;
}

.ms-core-deltaSuiteLinks {
    display: none;
}

.ms-core-menu-link a:hover {
    text-decoration: none !important;
}

#suiteBarLeft {
    background-color: gainsboro;
    color: #333;
}

/* GNJ */
.ms-cui-tt-span {
    padding: 3px 10px 0px 10px;
}

#site_follow_button {
    display: none !important;
}

#ctl00_fullscreenmodeBtn {
    display: none !important;
}

span.s4-clust.ms-viewselector-arrow.ms-menu-stdarw.ms-core-menu-arrow {
    width: 8px !important;
}

/* GNJ: various fixes from Nik's */
#contentBox {
    margin-left: 0px;
}

#RibbonContainer-TabRowRight img {
}

body {
    margin-left: -10px;
}

#ms-designer-ribbon {
    margin-right: -10px;
}

#zz12_SiteActionsMenu img {
    left: -261px;
}

#ctl00_TopHelpLink > span {
    padding-bottom: 0px !important;
}

/*
#ms-help {
    display: none;
}
*/
#RibbonContainer-TabRowRight {
    display: none;
}

/* print updates */
@media print {
    /* CLF3 Overrides */
    #gcwu-sig img {
        position: relative;
        top: 10px;
        left: 0;
        float: left;
    }
    /* made relative and added float  */
    #gcwu-wmms img {
        position: relative;
        top: 10px;
        right: 0;
        float: right;
    }
    /* made relative and added float */
    #gcwu-title, #gcwu-title a {
        font-size: 18pt;
        text-decoration: none;
        color: #000;
        width: 100%;
        position: relative;
        top: 9px;
    }

    #gcwu-title {
        clear: left;
    }
    /* added clear left so floating SIG and WMMS would not interfere */
    #wb-cont {
        border-bottom: none;
    }
    /* removed bottom border */
    #gcwu-bc li {
        background: 0;
        padding: 0;
        font-size: 9pt;
    }

    /* SharePoint print style overrides */
    DIV.ms-rtestate-notify > TABLE {
        border: none;
        padding: 0;
    }
    /* remove the border put around web parts when printing */
}


/*
    h2, h3, .ms-h2, .ms-h3, .ms-headerFont {
        font-family: Verdana,Arial,Helvetica,sans-serif !important;
    }
*/

.ui-mobile [data-role=page], .ui-mobile [data-role=dialog], .ui-page {
    position: inherit;
    width: 100%;
    min-height: 100%;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ui-mobile body {
    height: auto !important;
}

#ms-help {
    border-right: 1px solid transparent;
}

    #ms-help:hover {
        background-color: #fff;
        border-right: 1px solid #d1d1d1;
    }

.ms-cui-dd-text, input.ms-cui-cb-input {
    padding: 0px 7px 1px;
    border-radius: 0;
    box-shadow: none;
}

.ms-rtestate-field p, p.ms-rteElement-P {
    margin-left: 10px;
    margin-right: 10px;
}

.ms-rtestate-field div[class^="span-"] p {
    margin-left: 0px;
    margin-right: 0px;
}

div.mb-mega h4 a {
    font-family: Verdana,Arial,Helvetica,sans-serif !important;
}

#imgPrefetch {
    display: none;
    visibility: hidden;
}

#srch-submit {
    float: right;
}

.ms-srch-pagingPrev {
    position: absolute;
    left: -67px;
    top: -74px;
}

.ms-srch-pagingNext {
    position: absolute;
    left: -86px;
    top: -74px;
}

/* Hide the Google reCAPTCHA badge by default. */
.grecaptcha-badge {
    visibility: hidden;
}

span.form-error:not([style*="none"]) {
    display: block !Important;
    background-color: Yellow;
    border: 1px solid #cccccc;
    font-size: .9em;
}