/**********************
* Created Feb. 11, 2021 by GSL
* Intended for small cosmetic changes, mostly in colour scheme
*
* McMaster brand for web: https://brand.mcmaster.ca/web-development/
* McMaster colour palette: https://brand.mcmaster.ca/element/colour-palette/
* 
* #7a003c: McMaster heritage maroon
* #fec458: Close to McMaster heritage gold (#fdbf57), nav internal state
* #91d9e4: Close to Brighter World sky blue (#8bd3e6), nav internally published state
* #7a4901: Related to McMaster heritage gold (#fdbf57), internal state against white background
* #32596c: Related to Brighter World sky blue (#8bd3e6), internally published state against white background
* #07486d: Dark blue, to use against #ec9C8d background (error box)
* #56002a: McMaster dark maroon
*
**********************/

/****** general ******/

a {
    color: #7a003c;
}

/****** top navigation ******/

.plone-navbar {
  background-color: #7a003c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.17);
}

.plone-nav li ul li a {
  font-size: 16px;
  background-color: #7a003c;
}

.plone-navbar-nav .current > a,
.plone-navbar-nav .selected > a,
.plone-navbar-nav .current > a:hover,
.plone-navbar-nav .selected > a:hover,
.plone-navbar-nav .current > a:focus,
.plone-navbar-nav .selected > a:focus {
    background-color: black;
}

.plone-nav li a:hover, .plone-nav li a:focus {
    background-color: black;
}

.plone-navbar-nav li a:hover,
.plone-navbar-nav li a:focus {
    background-color: white !important;
    color: black !important;
}

.plone-navbar .state-internal {
    color: #fec458 !important;
}

.plone-navbar .state-internally_published {
    color: #91d9e4 !important;
}

/****** side and top elements  ******/

.plone-breadcrumb ol a,
.portlet .portletHeader > a,
.portletNavigationTree .portletContent > ul > li a,
.portletNavigationTree .portletContent > ul > li a:hover,
.portletNavigationTree .portletContent > ul > li a:hover::before {
    color: #7a003c;
}

/****** tables  ******/

/* cellpadding */
th, td { padding: 0.3em; }

/****** message boxes  ******/

.portalMessage.error a {
    color: #07486d;
}

/****** buttons  ******/

.context,
.plone-btn-primary {
    color: #ffffff;
    background-color: #7a003c;
    border-color: #7a003c;
}

.context:hover,
.context:focus,
.context:active,
.context.active,
.open > .dropdown-toggle.context,
.plone-btn-primary:hover
{
    color: ffffff;
    background-color: #56002a;
    border-color: #56002a;
}

/****** workflow state body colours  ******/

.state-internal {
    color: #7a4901 !important;
}

.state-internally_published {
    color: #32596c !important;
}

/****** site comments  ******/

#commenting fieldset legend,
#commenting fieldset p {
    visibility: hidden;
    position: relative;
}

#commenting fieldset legend:after {
    content:'Feedback'; 
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 1px solid #e5e5e5;
}

#commenting fieldset p:after {
    content:'Do you have suggestions for additional content? Is the content wrong or confusing? Please provide us with feedback.'; 
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}

/****** footer  ******/

#portal-footer-wrapper a,
#portal-footer-wrapper a:hover {
    color: white;
}