﻿/*background-color: #F5E8D8; removed page background...it made the bottom of the page look like a big fat footer*/
html { 
    margin: 0;
    padding: 0;
}

body {
    border-top: solid 5px #961760;
}

header, footer, hgroup, section { display: block; }

/*Commented out this anchor style to use the default style from bootstrap.*/ 
/*a, a:link, a:visited, a:active, a:hover {
    color: #333;
    text-decoration: underline;
}*/


a.k-link {
    color: #2e2e2e;
    font-size: .85em;
    text-decoration: none;
}

/*
label {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    vertical-align: top;
    width: 190px;
}
*/

label.twoLine {
    height: 40px;
    line-height: 19px;
    vertical-align: top;
}

label.auto-width-label {
    margin-right: 15px;
    vertical-align: top;
    width: auto;
}

label.radioButton {
    margin-right: 15px;
    vertical-align: top;
    width: auto;
}

label.checkBox {
    height: 26px;
    line-height: 26px;
    margin-right: 15px;
    vertical-align: top;
    width: auto;
}

fieldset {
    margin-bottom: 15px;
    margin-top: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    vertical-align: top;
}

/*
h3 { margin-bottom: 2px; }
*/

.field-row .field-container {
    display: inline-block;
    margin: 5px 10px 6px 0;
    vertical-align: top;
}

.field-row .field-container > * { vertical-align: top; }

.field-row label {
    margin-bottom: 5px;
    margin-top: 5px;
}

.field-row .field-container label {
    margin-bottom: 0;
    margin-top: 0;
}

fieldset .field-row {
    margin-left: 10px;
    vertical-align: top;
}

button[disabled], button[disabled]:hover {
    background-color: #e3e3e3;
    border-color: #c5c5c5;
    color: #9f9e9e;
}

/* main layout
----------------------------------------------------------*/

#main-content {
    
    clear: both;
    overflow: auto;
    padding-bottom: 35px;
    padding-top: 5px;
    border-radius: 5px;
    margin: 1px 0px 1px 0px;
}

.tabPanel { min-height: 400px; }

.main-content {
    padding-left: 10px;
    padding-top: 30px;
}

header .site-title {
    color: #961760;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.3em;
    margin: 0;
    padding-bottom: 2px;
    padding-top: 2px;
}

header .site-menu {
    clear: both;
    text-align: center;
}

header .site-menu .submenu { text-align: left; }

header .site-menu a {
    color: #961760;
    font-size: 1em;
}

header .loginInfo {
    float: right;
    font-size: .8em;
    padding-bottom: 28px;
    padding-top: 5px;
    text-align: right;
}

footer {
    background-color: #5D6D7D;
    clear: both;
    font-size: .8em;
    min-height: 35px;
    margin: 0;
    padding: 15px;
    border-radius: 5px;
    color: #eaedf0;
}

#copyright-info {
    display: inline-block;
    width: 50%
}

.version-info {
    display: inline-block;
    float: right;
}

.legendHeader {
    color: #870057;
    font-size: 18px;
    font-weight: bold;
}

.button_name_inline{
    color: #127ca0;
    font-size: 18px;
    font-weight: bold;
}

.section-container-left {
    display: inline-block;
    margin-right: 15px;
    width: 49%;
}

.section-container-right {
    display: inline-block;
    width: 49%;
}

/* styles from aglc.ca */

h1, h2, h3, h4, h5, h6 {
    font-family: univers,"Helvetica Neue",helvetica,Arial,sans-serif;
    font-weight: 600;
}

.h2, h1, h2 {
    color: #870057;
}

.paragraph-popular-links h2 {
    color: #5d6d7d;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 0.9;
    margin-bottom: 2.25rem;
    position: relative;
    width: 100%;
}

.btn, .button, a.button, button, input[type=submit] {
    background: #fff;
    color: #127ca1;   
    line-height: 1;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 3px;
    border: 2px solid #127CA1;
    font-weight: 600;
}


input[type='submit']:hover, a.button:hover, .button:hover, .btn:hover, button:hover, a.btn:hover {
    background: #127CA1;
    color: white;
}

.btn, .btn--ghost, .btn-signIn, .button, .charity-stories-grid > div > div, .contact-form input:not([type=submit]), .contact-form textarea, .document-file-icon a svg path, .document-file-title a, .explore-box, .explore-box .explore-image, .feedback-form .form-item-please-let-us-know-how-we-can-improve-this-page--value div textarea, .feedback-form input[type=radio] + label, .feedback-form input[type=radio] + label::before, .header #navigation, .header #navigation nav .primary-menu-main .menu-main__item a, .header #navigation nav .primary-menu-main .menu-main__item a + .menu-trigger, .header #navigation nav .primary-menu-main .menu-main__item a:hover, .header #navigation nav .primary-menu-main .menu-main__item ul .menu-main__item .menu-trigger, .header #navigation nav .primary-menu-main .menu-main__item ul .menu-main__item a:hover, .header .menu-utility-navigation__item a, .home-news-item, .icon svg, .in-this-section-basic-page .in-this-section-bp-row, [aria-expanded=true].js-accordion__header::after, [aria-expanded=false].js-accordion__header::after, .menu-top-bar-menu__item a, .process-guide-section-content, .share-list-item, .share-list-item-link, .share-list-item-link--email, .slick-next, .slick-next::before, .slick-prev, .slick-prev::before, .tabs ul.tab-list li.tab-item a, .user-login-form input:not([type=submit]), .user-login-form textarea, .wf-loading, a.button, button, form div.fancy-select div.trigger, form div.fancy-select div.trigger::before, form div.fancy-select ul.options, form div.fancy-select ul.options li, form div.fancy-select ul.open.options, form div.fancy-select ul.overflowing.options, form div.fancy-select ul.open.overflowing.options, form input:not([type=submit]), form textarea, h1, input[type=submit], ul.primary li a, ul.primary li.tabs__tab--active a {
    transition: all .25s ease-out;
}





/* shadow box link elements */
a.box-link, a.box-link:hover, a.box-link:visited, a.box-link:link, a:active
{
    color: #2e2e2e;
    text-decoration: none;
}
.box-link-content {
    padding: 15px 20px 15px 20px;
    height: 100%;
}

.box-link-border {
    border-top: 5px solid #870057;
}

.sb {
  border-radius: 2px;
  margin: 1rem;
  float: left;
  height: 220px;
  width: 225px;
}

.sb-1 {
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.sb-1:hover {
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  -ms-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  -o-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.sb-2 {
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 9px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 9px rgba(0, 0, 0, 0.23);
  -ms-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 9px rgba(0, 0, 0, 0.23);
  -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 9px rgba(0, 0, 0, 0.23);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 9px rgba(0, 0, 0, 0.23);
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.sb-2:hover {
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  -ms-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  -o-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}


/* input elements */

/*
    font-size: 1.2em;
    padding: 5px;
    width: 250px;

*/
/*
input {
    background: #fff;
    border: 1px solid #e2e2e2;
    color: #333;
}
*/
/*
input:focus { border: 1px solid #7ac0da; }


input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="radio"] {
    margin-right: 5px;
    width: 10px;
}

input[type="submit"], input[type="button"], button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    margin-right: 8px;
    padding: 7px;
    width: auto;
}
*/

.file-attachment {
    margin-right: 10px;
    width: 262px;
}

/*This is for Kendo Upload control to limit display of long filenames*/

.k-upload .k-filename { max-width: 200px; }

/* info and errors */

.message-info {
    border: 1px solid;
    clear: both;
    line-height: 20px;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #AB0534;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error { color: #AB0534; }

/* validation */

.field-validation-error {
    color: #AB0534;
    font-weight: bold;
}

.field-validation-error a { color: #AB0534; }

.field-validation-valid { display: none; }

input.input-validation-error { border: 1px solid #AB0534; }

.field-container input + div, .field-container span + div {
    margin-top: 6px;
    width: 262px;
}

.field-container input.wide-input + div, .field-container span.wide-input + div { width: 720px; }

/*This is for Kendo controls to have validation error*/

span.input-validation-error { border: 1px solid #AB0534; }

input[type="checkbox"].input-validation-error { border: 0 none; }

.validation-summary-errors {
    color: #AB0534;
    font-size: 1.1em;
    font-weight: bold;
}

.validation-summary-valid { display: none; }

.field-container img {
    display: inline-block;
    margin: 0;
    padding: 3px 1px;
}

.field-row .field-container label + img {
    margin: 0;
    padding: 0;
}

/* dialogs
----------------------------------------------------------*/

.dialog-text-input { width: 500px; }

.ui-autocomplete {
    max-height: 200px;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    overflow-y: auto;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

/* Z-index of #mask must be lower than of #popupPanel */

#mask {
    background-color: #FCF8F3;
    display: none;
    opacity: 0.8;
    position: absolute;
    z-index: 9000;
}

.popupPanel {
    background-color: #efe0e0;
    border: solid 3px #961760;
    border-radius: 20px/20px;
    color: #000000;
    display: none;
    height: 100px;
    padding: 2px;
    position: absolute;
    position: fixed;
    text-align: left;
    top: 100px;
    width: 400px;
    z-index: 9999;
}

#popupClose {
    cursor: pointer;
    height: 20px;
    padding-right: 3px;
    padding-top: 3px;
    width: 20px;
}

/* Download Upload Area */

.downloadUploadArea {
    float: left;
    padding: 20px;
    text-align: center;
    width: 45%;
}

.downloadUploadArea .k-button { margin: 0.8em !important; }

/* Search box */

.searchAreaLeft {
    float: left;
    height: 170px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 0;
    width: 30%;
}

.searchAreaMiddle {
    float: left;
    width: 3%;
}

.or {
    position: absolute;
    width: 5%;
}

.or-line {
    border-right: 1px dotted #aaa;
    float: left;
    height: 160px;
    
    margin-top: 20px;
    width: 50%;
}

.or-label {
    background: #FCF8F3;
    color: #aaa;
    height: 1em;
    left: 50%;
    margin-left: -1.25em;
    margin-top: 50px;
    padding: .5em;
    position: absolute;
    text-transform: uppercase;
    width: 1em;
}

.searchAreaRight {
    float: right;
    height: 170px;
    margin-top: 10px;
    position: relative;
    width: 58%;
}

.searchfield-row .searchfield-container {
    display: inline-block;
    margin-left: -60px;
    vertical-align: top;
}

.searchfield-row + button { margin-top: 10px; }

fieldset .searchfield-row {
    margin-top: 10px;
    vertical-align: top;
}

.required { color: red }

.highlight-editable-grid-cell {
    color: blue;
    text-align: center;
}

.hide { display: none; }

#price-change-section { position: relative; }

#price-change-section #grid input[type=text] {
    text-align: right;
    width: 50px;
}

.pull-right { text-align: right; }

#price-change-section .pull-right { margin: -30px 0 10px 0; }

.invalid-format, .calc-failed { border: 2px solid red; }

.calc-succeeded { border: 2px solid green; }

.align-right { text-align: right; }

.pull-up { margin-top: -40px; }

.align-center { text-align: center; }

#price-change-section .pull-right .k-dropdown { width: 180px; }

#notification {
    background-color: #FF4C4C;
    color: white;
    padding: 10px;
}

#datepicker[aria-invalid] { border: 1px solid #f00; }

/* ******************************************************************************* */
/* Custom BootStrap Navbar styles                                                  */
/* Generated using http://bootstrapdesigntools.com/tools/bootstrap-menu-builder    */
/* ******************************************************************************* */
#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: rgba(119, 119, 119, 1);
}
#custom-bootstrap-menu.navbar-default {
    font-size: 14px;
    background-color: rgba(227, 227, 227, 1);
    background: -webkit-linear-gradient(top, rgba(250, 250, 250, 1) 0%, rgba(227, 227, 227, 1) 100%);
    background: linear-gradient(to bottom, rgba(250, 250, 250, 1) 0%, rgba(227, 227, 227, 1) 100%);
    border-width: 1px;
    border-radius: 4px;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
    color: rgba(51, 51, 51, 1);
    background-color: rgba(227, 227, 227, 1);
    background: -webkit-linear-gradient(top, rgba(250, 250, 250, 1) 0%, rgba(227, 227, 227, 1) 100%);
    background: linear-gradient(to bottom, rgba(250, 250, 250, 1) 0%, rgba(227, 227, 227, 1) 100%);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:focus {
    color: rgba(119, 119, 119, 1);
    background-color: rgba(192, 192, 192, 1);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:focus {
    color: rgba(85, 85, 85, 1);
    background-color: rgba(192, 192, 192, 1);
    background: -webkit-linear-gradient(top, rgba(224, 224, 224, 1) 0%, rgba(192, 192, 192, 1) 100%);
    background: linear-gradient(to bottom, rgba(224, 224, 224, 1) 0%, rgba(192, 192, 192, 1) 100%);
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #c0c0c0;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
    background-color: #c0c0c0;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: #c0c0c0;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #e3e3e3;
}

/* Extra BootStrap Navbar styles   */
/* Add menu item separator */
/* Add underline for rollover, remove underline for default state */
#custom-bootstrap-menu.navbar-default .navbar-nav> li:last-child > a {
  border-right: 1px solid #e0e0e0;
}
#custom-bootstrap-menu.navbar-default .navbar-nav> li > a {
  border-left: 1px solid #e0e0e0;
  text-decoration: none;
}
#custom-bootstrap-menu.navbar-default .navbar-nav> li > a:hover {
  text-decoration: underline;
}

/* Reduce default navbar height (was 50px) */
.navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;}
.navbar {min-height:32px !important}

/* Align items left when collapsed */
.navbar .navbar-collapse {
    text-align: left;
}