
/* ************************************ */
/* ROOT LEVEL STUFF */
html, body {
    text-shadow : none;
    margin: 0;
    border:0;
    padding:0;
    box-sizing: border-box;
}

/*after upgrade*/
a:hover, a:focus, .link:hover, .link:focus {
    color: #055a8e;
}

/* FONT SIZES */
.node__content {
  font-size:1.0em;
}

/*after upgrade*/
.views-view-grid--horizontal .view-content > div{
    border-bottom: 1px solid #d3d7d9;
}

/* ************************************ */
/* LINKS AND ANCHORS */
a:focus{
  outline: none; /*after upgrade*/
}
a, a.link {
  border-bottom:none;
  text-decoration:none; /*after upgrade*/
  background-color: transparent;
  cursor: pointer /*till here*/
}
.content a:hover, 
.content a:hover,
.content a:active,
.content a:focus,
.content a:visited,
.content a.link:hover,
.content a.link:active,
.content a.link:focus,
.content a.link:visited {
  border-bottom:none;
}

/* ************************************ */
/* GENERAL LAYOUT 

body
  div.dialog-off-canvas-main-canvas
    #page-wrapper
      #page
        #header
        (header stuff goes here)
        #featured Top
        #main-wrapper
          #main
            #content
            (main content stuff here)
            #sidebar-first
            (sidebar blocks here)
        #footer
        (footer stuff here - optional)

*/
#page{
    width:100%;
    /* height:100vh; */
    position:absolute;
    /* background: cornflowerblue; */
    z-index:100;
}


/* 
*
*
* Header Setting 
*
*
*/

#header {
    position: fixed;
    left:0px;
    /* top:0px; */
    /* make sure content is scrolled behind header */
    z-index:-100; 
    font-family:"Helvetica Neue",Arial,sans-serif;  
    /* background: transparent url("../images/nav_bg_v1.png") repeat-x scroll left top; */
    background: url("../images/nav_bg_v1.png") repeat-x scroll left top;
    background-size: 1920px 100px;
    height: 100px;
    width: 100%;
    margin-bottom:0px;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 3px 0px;
}

#header > .header-container {
    position:relative;
    height: 100%; /*after upgrade*/
    display:flex; 
    justify-content: space-between; 
    /*  */
    /* border:2px solid black; */
    margin-bottom:2px;
}

/*after upgrade*/
.left-header{
    align-items:center;
    width: 60vw;
}

#block-svic-branding{ /*after upgrade*/
  background-image: none;
  min-height: auto;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: center;
}

/*after upgrade*/
.site-branding__text{
  font-weight: unset;
  padding: 10px 0 0 0;
}

/*after upgrade*/
.site-branding__inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.right-header-container{
    /* border:3px solid red; */
    position:absolute;
    right:0;
    height:100%;
    /* justify-content: flex-end; */
}

.right-header{
    /* border:3px solid red; */
    position:relative;
    display:flex;
    height:100%;
    flex-direction: column;
    justify-content: space-between;
    
}



.region-primary-menu{
    /* border:1px solid red; */
    position:relative;
    margin-bottom:10px;
}

/* .region-secondary-menu{ */
.region--secondary-menu{ /*after upgrade*/
    display: flex;
    position : relative;
    justify-content: end;
    flex-direction: column;
    /* border : 2px solid tan; */
    padding-right : 4px;
}
/* .region-secondary-menu  .block-my-show-user{ */
.region--secondary-menu  .block-my-show-user{ /*after upgrade*/
    /* padding-right : 4px; */
    margin-right:20px; 
    /* border : 2px solid green ; */
    position: relative;
    align-items: flex-end;
    text-align: end;
    justify-content: end;
}
.region--secondary-menu .menu-item a{/*after upgrade*/
    color:black;
}

.not-header-not-footer{
    position:relative;
    width:100%;
    margin-top:100px;
    margin-bottom:15px;
    /* border:5px solid green; */
    padding:0;
    z-index:-1;
}
/*after upgrade*/
h3{
  margin: 1em 0 0.5em;
  font-size: 1.092em;
  font-weight: inherit;
}
/*after upgrade*/
h4, .heading-d {
    margin: 1em 0 0.5em;
    font-size: 1.05em;
    font-weight: inherit;
}
/*after upgrade*/
@supports (box-shadow: none) {
    .text-content a:where(:not(.button)), .cke_editable a:where(:not(.button)) {
        box-shadow: none;
    }
  }
/*after upgrade*/
.item-list ul {
    margin: 0 0 0.25em 0;
    padding: 0;
    list-style: none;
}
/*after upgrade*/
.item-list ul li {
    margin: 0;
    padding: 0.2em 0.5em 0 0;
}
/*after upgrade*/
ul.menu, .dropdown-menu{
  list-style-type: none;
}

/*after upgrade*/
li.menu__item--has-children {
  list-style-type: circle;
  list-style-image: url(../../../core/misc/menu-expanded.png);
}

/* 
*
*
* Breadcrumb Region  
*
*
*/

.page-breadcrumb{
    width:100%;
    position:relative;
    min-height:25px;
    /* border:2px solid red; */
    /* margin-top:10px; */
    /* padding-top:2px; */
}

/* 
*
*
* main-content-sidebar Region  
*
*
*/


.main-wrapper-container{
    position:relative;
    width:100%;
    /* border:3px solid black; */
}

.layout-main{
    position:relative;
    width:100%;
    display:flex;
    flex-direction: row; 
    flex-wrap: nowrap;
}
#sidebar-first{
    position:relative;
    margin-left:0%;
    width:20%;
    /* border : 2px solid blue; */
}

#dragMe, #dragMe2{
    /* height:100%; */
    width:2px;
    background-color: #cbd5e0;
    cursor: ew-resize;
}

.expand-drag{
    width : 4px;
    background-color: #b6c5d4;
}

/*after upgrade*/
p{
      margin: 0 0 1.2em;
}

/*after upgrade*/
.text-content p:last-child, .cke_editable p:last-child{
  margin: 0 0 1.2em;
}

#content{
    position:relative;
    /*after upgrade*/
    /* width : 60%; */
    flex: 1 1 auto;
    margin:0;
    padding:0;
    /* border : 2px solid green; */
}

/*after upgrade*/
.section #content{
  width : auto;
}


.uicontrol {
  font-weight: bold;
}

#sidebar-second{
    position:relative;
    margin-left:0%;
    /* width:20%; */
    flex: 0 0 21% /*after upgrade*/
    /* border : 2px solid blue; */
}

h2{
  margin: 1em 0 0.5em;
}

/* page title and block headers */
.page-title, .main-content h2 {
    text-shadow: none;
    /* padding:6px 15px; */ /*after upgdrade*/
    font-size:1.33em;
    line-height:1.4em;
    font-weight: inherit; /*after upgrade*/
  }

.messages{
    min-height:30px;
    overflow-y:scroll;
    margin:0;
}
.messages:last-child,  .messages:first-child{
    margin-top:2px;
    margin-bottom:2px;
}

.user-logged-in .region--content {
  /*max-width:900px;*/
  /*max-width:initial;*/
  /* DEBUG ONLY */
    background-color:#fff;
}

article .node__content {
  margin-top:30px;
}
/* limit the line length in articles and add some padding */
.node__content {
  /* max-width:860px; */
  padding-left:0.5em;
}
.node__content p {
  /* clear:both; */
}

/* page title and block headers */
.page-title .block__title, .main-content h2 {
  text-shadow: none;
  padding:6px 15px; 
  font-size:1.33em;
  line-height:1.4em;
}

/* add a prefix to newsflash type articles */
.page-node-type-newsflash .main-content h2 span:before {
  content:"NEWS: ";
  color:#ff8;
}


/* fields and labels below content */
.field--type-entity-reference {
  padding:0.5em 1em 0 1em;
  margin-bottom:0;
}
.field--type-entity-reference:last-of-type {
  padding-bottom:0.5em;
  margin-bottom:10px;
}
.field--type-entity-reference .field__label, 
.field--type-entity-reference .field__item {
  font-size:0.85em;
}


.layout-region-node-footer__content {
  padding:1em!important;
  border-bottom:1px solid #bbb;
}




/* ************************************ */
/* FORMS AND STUFF */
/* .path-contact #content,
.path-search #content,
.path-user #content {
  float:inherit;
  margin-top:100px;
  margin-left:auto;
  margin-right:auto;
  max-width:900px;
  padding:10px 20px;
} */
#search-form {
  max-width:800px;
  padding: 10px 20px;
  margin-top:20px;
  margin-left:auto;
  margin-right:auto;
}
.path-contact .spacer_v,
.path-search .spacer_v,
.path-user .spacer_v {
  display:none;
}




/* ************************************ */
/* MISC STYLING */
/* .messages__wrapper {
  max-width:1000px;
} */

.spacer_v {
  min-height:220px;
}

.arrow-right {
  float:right;
}
.arrow-right:after {
  /* content:"\9658"; */
  content:"\25ba";
  color:#fff;
}

.statistics-counter {
  color:#ccc;
  display:none!important; /* TEMP DISABLED */
}
.sv-explanation {
  font-size:0.9em;
  padding:15px;
  border:1px solid #eaeaea;
}

/* the 'thanks for your feedback' popup */
#sv-feedback-thanks {
  padding:8px 27px;
  border:1px solid #eaeaea;
  background:#f8fff3;
}

.sv-moderation-page ul.dropbutton {
  min-width:80px;
  text-align:left;
}

/* ************************************ */
/* PUBLIC FRONT PAGE STUFF */

#block-slogan {
  position:fixed;
  top:100px;
  left:0;
  min-width:1920px;
  min-height:500px;
  background: transparent url("../images/resources_banner.jpg") repeat-x scroll left top;
}

#block-slogan .content {
  margin-top:0;
}

/* welcome message */
.sv-slogan-block {
  position:relative;
  left:96px; 
   top:92px;
}

#sv-slogan {
  color:rgb(68, 65, 65);
  font-size:1.8em;
  text-align:center;
  top:92px;
}

/* ************************************ */
/* LOGIN */
#block-userlogin {
  /*margin-top:auto;*/
  margin-top:130px;
  margin-bottom:auto;
}
/* .user-login-form {
  max-width:420px; */
  /* padding:10px 20px; */
  /*margin-top:120px;*/
  /* margin-left:auto;
  margin-right:auto;
  background: #eee;
  opacity: 0.95; */
  /* padding:30px; */
/* } */

.user-login-form #edit-name,
.user-login-form #edit-pass {
  width:200px;
}
.request-password-link {
  display:none;
}

/* ************************************ */
/* FLAG MODULE */
div.flag {
  margin-bottom:1em;
}
div.flag a {
  float:right;
}
.flag-bookmarks a,
.flag-feedback a {
  margin-top:0px;
  margin-left:12px;
  padding:4px 15px 8px 15px;
  font-size:0.8em;
  color:#fff;
}
.flag-bookmarks a {
  background:#019F92;    
}
.flag-bookmarks a:hover, 
.flag-bookmarks a:active, 
.flag-bookmarks a:focus {
  border-bottom:none!important;
  color:#fff!important;
  filter: saturate(0.30);
  filter: brightness(1.15);
} 
.flag-bookmarks a:before {
  content: url("../images/love-16.png");
  position:relative;
  top:4px;
  margin-right:6px;
}
.flag-feedback a {
  background:#D87F3A;    
}
.block-views-blockfavorites-block-1 h2 {
  background:#019F92!important;
}


/* ************************************ */
/* FILTER PAGE HACKS */
.sv-product-filter {
  /*padding-left:15px;*/
}
.sv-product-filter .form-item label {
  margin-bottom:0.3em;
}
.sv-product-filter nav.pager {
  border-top:1px solid #a0a1a2;
  padding-top:4px;
  max-width:500px;
}
.sv-product-filter .pager__items {
  text-align:left;
}
.sv-product-filter .form-actions {
}









/* ************************************ */
/* ************************************ */
/* ************************************ */
/* TEMPORARY HACKS JUST FOR DEMO PURPOSES - 
   THIS SHOULD BE FIXED IN TWIGS - NOT CSS */

.views-field-field-product a,
.views-field-field-document-type a,
.views-field-field-release a,
.views-field-field-date a,
.view-compatibility-matrix table a {
  pointer-events: none;
  text-decoration: none;
}
/* contributor editable pages */
.dialog-off-canvas-main-canvas #block-emptyblock {
  display:none;
}
/* disable error messages during demo */
.messages--error {
  display:none;
}

/* hide the language field set in the search form */
#search-form #edit-lang-fieldset {
  display:none;
}

/* featured-top */
.featured-top {
    margin: 0;
    padding: 20px 10px 10px;
    text-align: center;
    border-bottom: 1px solid #e7e7e7;
    /* background: #f0f0f0; */
    background: rgba(30,50,10,0.08);/*after upgarade*/
    text-shadow: 1px 1px #fff;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.4;
}

.featured-top p{ /*after upgrade*/
    margin: 0;
    padding: 0;
}


/*after upgrade*/
body:not(.is-always-mobile-nav)
.secondary-nav__menu-link:focus::before{
    border: none;
}
/*after upgrade*/
.secondary-nav__menu-link::after {
  border: none;
}

