/* 
  Sandvine brand colors should always be used for the elements in the front end. 
  For elements tha are only visible to admins/moderators we can allow exceptions.  

  GREY        BLUE        GREEN       PURPLE
  #A0A1A2     #6DC7DC     #95C11F     #C57EB4
  #505857     #38ACD2     #74A04C     #8B5E8F
  #2E2D2C     #287993     #517235     #634365

  Main element colors 
  Green:   #74A04C
  Blue:    #287993
  Purple:  #8B5E8F


*/

html,
body {
  background: #fff;
}

/* header and menu colors */
/* .region-header, 
.region-header a, 
.region-header li a.is-active, 
.region-header .site-branding__text, 
.region-header .site-branding, 
.region-header .site-branding__text a, 
.region-header .site-branding a, 
.region-secondary-menu .menu-item a, 
.region-secondary-menu .menu-item a.is-active {
  color: #287993;
} */
/* after upgrade - replaced region-header with header*/
/* .header a, */
/* .header li a.is-active, */ /*aftr upgrade*/
.header .site-branding__text,
.header .site-branding,
.header .site-branding__text a,
.header .site-branding a,
.region--secondary-menu .secondary-nav__menu-item a,
.region--secondary-menu .secondary-nav__menu-item a.is-active {
  color: #287993;
}

.path-contact #content,
.path-search #content,
.path-user #content {
  background: none;
}

#block-svic-main-menu a:hover{
  text-decoration: none !important;
  color: black !important;
  border: none !important;
  filter: brightness(2.0);
}


#block-svic-main-menu .menu .a:hover,
#block-svic-main-menu .menu .a:active,
#block-svic-main-menu .menu .a:focus{
  border: none !important;
  filter: brightness(2.0);
}


/* search form in header */
#search-form {
  background: #fff;
}


/* search block in content */
.region-content .search-block-form h2 {
  background: #287993;
  color: #fff;
}


/* default content block headers */
/*.page-title, .main-content h2 {*/
.page-title {
  /* background: #287993; */
  color: #fff;
}

.main-content h2:first-child {
  /*.page-title {*/
  background: #287993;
  color: #fff;
}

.page-node-type-book .main-content h2 {
  background: none !important;
  color: #0a0b0c;
}


/* book block header */
.page-node-type-book .page-title {
  background: #8b5e8f !important;
}


/* default sidebar blocks */
.sidebar .block {
  background: #f8f8f8;
}

.sidebar .block h2 {
  background: #287993;
  color: #fff;
}



/* book table of contents blocks */
.block-book-navigation {
  /*background:#f3f3f3!important;*/
}

.block-book-navigation h2 {
  background: #8b5e8f !important;
}

.book-blocks-toc h2 {
  background: #8b5e8f !important;
}

/* toc entry for the active page  */
/* .book-blocks-toc ul li.menu-item--active-trail>a { */
.book-blocks-toc ul li.book-blocks-active>a {
  color: #8b5e8f;
}



/* metadata fields and labels below content */
.field--type-entity-reference {
  background: #f8f8f8;
}



/* custom sidebar blocks  
   using IDs is risky but OK for now */
#block-updateproducts h2,
#block-updateproductdata h2 {
  background: #D87F3A;
}

#block-links p,
#block-more p {
  background: #287993;
}

#block-moderate p {
  background: #38acd2;
}


/* table color */

table tr th {
  background: #e2f1f7;
  color: #287993;
  border: 1px solid;

}

table,
td,
th {
  /*display: table;*/
  border-collapse: collapse;
  border: 1px solid;
  box-sizing: border-box;
  text-indent: initial;
  /*border-spacing: 2px;*/
  border-color: grey;
}


/*after upgrade*/
#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
  background: #fff;
}


/*after upgrade*/
.primary-nav__menu-link {
  font-weight: normal;
  color: #333;
}