﻿/*CanadianCRC - Changes to standard W3.CSS file - LOAD LAST TO OVERWRITE*/

/*  google.github.io/material-design-icons/#getting-icons google.github.io/material-design-icons/#icon-font-for-the-web */
/*   Used below for self hosting Material Icons  Version 3.01  4.0 not downloadable  Feb 23, 2021*/
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://CanadianCRC.com/Material-Icons/material-design-icons-3.0.1/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'), local('MaterialIcons-Regular'),
        url(https://CanadianCRC.com/Material-Icons/material-design-icons-3.0.1/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
        url(https://CanadianCRC.com/Material-Icons/material-design-icons-3.0.1/iconfont/MaterialIcons-Regular.woff) format('woff'),
        url(https://CanadianCRC.com/Material-Icons/material-design-icons-3.0.1/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

h1 {
    /* W3.css standard is 64px*/
    font-size: 24px;
    line-height: 125%;
}

h2 {
    /* W3.css standard is 48px*/
    font-size: 22px;
    line-height: 125%;
}

h3 {
    /* W3.css standard is 36px*/
    font-size: 20px;
    line-height: 125%;
}

h4 {
    /* W3.css standard is 24px*/
    font-size: 20px;
    line-height: 125%;
}

h5 {
    /* W3.css standard is 20px*/
    font-size: 18px;
    line-height: 125%;
}

h6 {
    /* W3.css standard is 18px*/
    font-size: 17px;
    line-height: 125%;
}

/* .menus {*/
/* used on sdMenu and not sure if elsewhere */
/*    font: normal normal normal 12px "Roboto", Arial, Helvetica, sans-serif;*/
/*    line-height: 125%;*/
/* }   commented output nov 21, 2021 */

/***** myMenu  sdMenu css below  *****/
#my_menu {
    /*width: 180px;
    width: 100%;*/
    width: 100%;
    margin-top: 0px;
}

div.sdmenu {
    /*width: 180px;
    width: 100%;*/
    width: 100%;
    font: normal normal normal 16px "Roboto", Arial, Helvetica, sans-serif;
    /*padding-bottom: 10px;*/
    color: #FFFFFF;
    margin-top: 0px; /*  added 21oct08*/
    border-bottom: 2px solid #c7c7c7;
}

    div.sdmenu div {
        background-color: #FFFFFF;
        overflow: hidden;
        margin-top: 0px; /*  added 21oct08*/
    }

        div.sdmenu div:first-child {
            background-color: #FFFFFF;
        }

        div.sdmenu div.collapsed {
            /*height: 35px;  prior 2020 April 1*/
            height: 48px;
        }
        /*******  Below is the major category box ****/
        div.sdmenu div span {
            border-top: 1px #c7c7c7 solid; /* was #808080  */
            display: block;
            padding: 3px 3px 3px 22px;
            /*  font-weight: bold;*/
            color: #000000;
            cursor: default;
            /* replaced colour Feb 21-2021    background: #d0d0d0 url('https://canadiancrc.com/layout/Menu-Minus-11x11-clear-background.png') no-repeat 5px center;  */
            background: #faf7f7 url('https://canadiancrc.com/layout/Menu-Minus-11x11-Dec2021.gif') no-repeat 5px center;
            height: 48px;
        }

        div.sdmenu div.collapsed span {
            background: #faf7f7 url('https://canadiancrc.com/layout/Menu-Plus-11x11-Dec2021.gif') no-repeat 5px center;
            /* replaced colour Feb 21-2021 background: #d0d0d0 url('https://canadiancrc.com/layout/Menu-Plus-11x11-clear-background.png') no-repeat 5px center;*/
            /* height: 35px; added August 2014 **/
            height: 48px; /* added April 1, 2020 **/
        }

        div.sdmenu div a {
            padding: 5px 7px;
            display: block;
            border-top: 1px #c7c7c7 solid; /* was #808080  */
            font: normal normal normal 16px "Roboto", Arial, Helvetica, sans-serif;
            color: #990000;
            background-color: #FFFFFF;
            text-decoration: none;
        }

            div.sdmenu div a.current {
                background: #990000;
                font: normal normal normal 16px "Roboto", Arial, Helvetica, sans-serif;
                color: #FFFFFF;
                text-decoration: none;
            }

            div.sdmenu div a:hover {
                background: #990000;
                font: normal normal normal 16px "Roboto", Arial, Helvetica, sans-serif;
                color: #FFFFFF;
                text-decoration: none;
            }

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
    background-color: #808080;
}
#ButtonToTop {
    display: none;
    /* position: fixed; */
    position: absolute;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #990000;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 22px;
}
 #ButtonToTop:hover {
        background-color: #e00000;
    }

a:link {
    color: #990000;
    font-weight: bold;
    text-decoration: none
}

a:visited {
    color: #990000;
    font-weight: bold;
    text-decoration: none
}

a:hover {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

a:active {
    color: #990000;
    font-weight: bold;
    text-decoration: none
}

/*  css below is from w3.css  */
.w3-red-990000, .w3-hover-red-990000:hover {
    color: #fff !important;white-type-on-bright-red-background
    background-color: #990000 !important;
}

.w3-text-red, .w3-hover-text-red:hover {
    color: #990000 !important;
}

.w3-border-red, .w3-hover-border-red:hover {
    border-color: #990000 !important
}

blockquote {
    border-left: 5px solid gray;
    padding-left: 16px;
    font-style: italic;
}

.highlight_body {
    background-color: yellow;
}

.CanadianCRC-editor-comment {
    /*background: #FCC9D1;*/
    background-color: #F4E5E5; /*Tints of #990000 https://color-hex.org/color/990000 */
    /* border: 2px #990000 solid;*/
    border-left: 10px #990000 solid;
    padding:  1px 16px 1px 16px; /* there is spacing from using p */
    margin: 10px 20px 10px 20px;
}


.editor_comments {
    /* This is white type on bright red background
        replaced by CanadianCRC-editor-comment
    */
    background: #E10000;
    color: #FFFFFF;
    padding: 5px;
}
.white-type-on-bright-red-background{
/* This is white type on bright red background*/
color: #FFFFFF;
background-color: #E10000;
}
.editor_comments_span {
    /* This is white type on bright red background
        replace by white-type-on-bright-red-background
    */
    color: #FFFFFF;
    background-color: #E10000;
}

.new_window {
    padding-right: 18px;
    background: transparent url('https://canadiancrc.com/layout/icon_ExternalLink.gif') no-repeat right;
}

.sidebar {
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 3px solid gray;
}
.w3-container, .w3-panel {
    /*  original is padding: 0.01em 16px   */
    padding: 16px;
}
    .bar-gray {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    line-height: 135%;
    background-color: #666666;
    padding: 10px;
    text-align: center;
    /*margin-bottom:16px;*/
}

.material-icons {
    font-size: -14%;
}

html, body, h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

html, body {
    font-size: 18px; /*   It was prior to Nov 20, 2021    18.5px   */
    line-height: 1.5;
    background-color: #FFFFFF; /*  added by GW    Nov 2021  */
}

.w3-sidebar {
    z-index: 3;
    width: 270px; /*  note: w3-sidebar is the container the menu and width with the up-down-bar is 20px wider = 250px */
    top: 0;
    bottom: 0;
    height: inherit;
}

.left-menu-width {
    width: 250px; /*  note: the width with the up-down-bar is 20px wider = 250px   ...  see w3-sidebar is the container */
}

video {
    max-width: 100%;
    height: auto;
}

body {
    max-width: 1920px;
    margin: auto;
}

.w3-red-990000, .w3-hover-red-990000:hover {
    color: #fff !important;
    background-color: #990000 !important;
}

.w3-button:hover {
    /* the default in w3.css is:
        color: #000 !important;
        background-color: #ccc !important  */
    color: #fff !important;
    background-color: #e00000 !important
}

figure {
    margin: 0px; /* w3.css specifies  margin: 1em 40px  */
}

figcaption {
    text-align: center;
}

myFooter {
    margin-top: 16px;
}

/*  CUSTOM THEME BASED on #990000    GENERATED www.w3schools.com/w3css/w3css_color_generator.asp    */
.w3-theme-l5 {
    color: #000 !important;
    background-color: #ffeaea !important
}

.w3-theme-l4 {
    color: #000 !important;
    background-color: #ffb8b8 !important
}

.w3-theme-l3 {
    color: #fff !important;
    background-color: #ff7070 !important
}

.w3-theme-l2 {
    color: #fff !important;
    background-color: #ff2929 !important
}

.w3-theme-l1 {
    color: #fff !important;
    background-color: #e00000 !important
}

.w3-theme-d1 {
    color: #fff !important;
    background-color: #8a0000 !important
}

.w3-theme-d2 {
    color: #fff !important;
    background-color: #7a0000 !important
}

.w3-theme-d3 {
    color: #fff !important;
    background-color: #6b0000 !important
}

.w3-theme-d4 {
    color: #fff !important;
    background-color: #5c0000 !important
}

.w3-theme-d5 {
    color: #fff !important;
    background-color: #4d0000 !important
}

.w3-theme-light {
    color: #000 !important;
    background-color: #ffeaea !important
}

.w3-theme-dark {
    color: #fff !important;
    background-color: #4d0000 !important
}

.w3-theme-action {
    color: #fff !important;
    background-color: #4d0000 !important
}

.w3-theme {
    color: #fff !important;
    background-color: #990000 !important
}

.w3-text-theme {
    color: #990000 !important
}

.w3-border-theme {
    border-color: #990000 !important
}

.w3-hover-theme:hover {
    color: #fff !important;
    background-color: #990000 !important
}

.w3-hover-text-theme:hover {
    color: #990000 !important
}

.w3-hover-border-theme:hover {
    border-color: #990000 !important
}
.w3-button:hover {
    /*  w3.css defaults
        color: #000 !important;
        background-color: #ccc !important*/
    color: #ffffff !important;
    background-color: #e00000 !important
}