/* University Template over-ride
   Launched: 2018-07-13
   Author: Aaron Greene, Shawn Maust
   
   Colors Used:
   Blue  - #0c2340
   Green - #51c798
   ----------------------------------------------------*/

/* Global Styles go outside the @media screen */


/* News 
--------------------------------------------------*/
.news-item { display:flex; flex-flow:row wrap; }
.entry-image,
.entry-details { width:100%; }
.events .date-string { display:inline-block; }
.events .date-string { display:inline-block; }
.events .vevent { margin-left:0; }

/* Personnel
--------------------------------------------------*/
.personnel-list { display:flex; flex-flow:row wrap; margin-right:-1rem;}  
  .personnel-item { padding:0 1rem 0 0; margin:0 0 1rem; }  
  .filters-types ul { padding:0; margin:2rem 0; list-style:none; display:flex; flex-flow:row wrap; }
  .filters-types li { margin:0 0 0.5rem; line-height:1.2; padding:0.5rem 1rem; width:100%; border:1px dotted #35a478; cursor:pointer; }
  .filters-types li.active { border:1px solid; background:#35a478; color:#fff; }
  .is-hidden { display:none; }
  
/* Students 
--------------------------------------------------*/
.student-group-school { display:none; }
.personnel-item-details { padding:1rem; }
.personnel-item-summary { margin:-1rem; cursor:pointer; font-size:1rem; background:#35a478; color:#fff; border-radius:0.125rem; }
.personnel-item-summary::before { content:'+'; width:1rem; text-align:center; display:inline-block; color:#fff; margin:0 0.25rem; }
[open] .personnel-item-summary::before { content:'-'; }
.personnel-item-summary::-webkit-details-marker { display:none; }
.personnel-item-details p { margin-bottom:0; }
.personnel-item-details dl { margin:2em 0 1em; }
.personnel-item-details dt { font-weight:700; }
.personnel-item-details dd { margin:0 0 1rem 0.75rem; line-height:1.25  ; }

/* University Logos
--------------------------------------------------*/
.university-list ul { display:flex; flex-flow:row wrap; margin:3em 0 0; padding:0; align-items:center; }
.university-list li { width:50%; list-style:none; margin:0 1.5em 2em; font-size:0; }
.university-list li .image-default { margin:0; padding:0 1.25em; }
.university-list li img { border:none; box-shadow:none; }

/* Sponsors
--------------------------------------------------*/
.sponsors-list ul { display:flex; flex-flow:row wrap; margin:3em 0 0; padding:0; align-items:center; }
.sponsors-list li { width:50%; list-style:none; margin:0 2em 3em; font-size:0; }
.sponsors-list li .image-default { margin:0; padding:0 2em 1em; }
.sponsors-list li img { border:none; box-shadow:none; }
  
/* Home 
--------------------------------------------------*/
.home-title { margin-top:0; margin-bottom:0.75em; }
.home-areas { text-align:center; }
.home-areas-list { list-style:none; padding:0; margin:0; display:flex; flex-flow:row wrap; justify-content:center; }
.home-areas-list li { padding:2rem; }

/* Contact 
--------------------------------------------------*/
.contact-list ul { margin:0; padding:0; display:flex; flex-flow:row wrap; }
.contact-list li { width:calc(50% - 2em); list-style:none; margin:0 2em 2em 0; }

.visually-hidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap;}
.visually-hidden.focusable:active, .visually-hidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; white-space: inherit; }

@media screen,projection {
  html { background:none; }
  body { line-height:1.75em; font-family: 'Roboto', sans-serif; color:#555; }
  h1,h2,h3,h4,h5,h6 { font-family: 'Jura', sans-serif; }
  h3 { color:#35a478; font-style:normal; font-weight:600; font-size:1.25rem; }
  .embed-inner {position:relative; padding:0;}
  .embed-inner iframe,
  .embed-inner object,
  .embed-inner embed {position:absolute; top:0; left:0; width:100%; height:100%;}
    a { color:#35a478; }
  h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited, a:visited { color:#25845e; } 
  .btn, .more, .excerpt_continuation { box-shadow:none; border-radius:0; margin:1em 0 0; }
  .btn:hover, .more:hover, .excerpt_continuation:hover { top:0; box-shadow:none; }
  a.btn[href$=".pdf"] { background-color:#0c2340; padding:0.725em 1.25em 0.6em 2.5em; background-position:1em center; color:#fff; }
  .image-default, .image-right, .image-left { float:none; }
  .image-default img, .image-right img, .image-left img { border:none; box-shadow:none; }
  .btn-students { margin:0 0 1rem; }
  .btn .icon { font-size:1.2em; margin:0 0.25em -0.25em 0.25em;}
  
  /* Header
  --------------------------------------------------*/  
  .brandbar.theme-bb-blue { background:#0c2340;}
  .titlebar { background: linear-gradient(to right, rgba(255,255,255,1) 20%,rgba(255,255,255,0.6) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ccffffff',GradientType=1 ); } 
  .site-title a { background:url('images/logo.svg') center center no-repeat; background-size:contain; text-indent:-100vw; width:7em; height:2.25em; margin:0.25rem 0; }
  .site-subtitle { clear:none; float:none; font-size:1.125rem; color:#666; font-style:italic; margin-left:2rem; }
  .site-header { background: linear-gradient(to right, rgba(8,21,36,1) 40%,rgba(21,50,87,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#081524', endColorstr='#153257',GradientType=1 ); position:relative; color:#fff; }
  .site-header::after { content:''; display:block; position:absolute; left:0; right:0; top:0; bottom:0; background:url('images/site-hero-small.jpg') center center / cover no-repeat; z-index:1; opacity:0.6; }
    .home .site-header::after { opacity:0.3; }
    .research .site-header::after { background-image:url('images/ascent-research-sm.jpg'); }
    .news .site-header::after { background-image:url('images/ascent-news-sm.jpg'); }
    .sponsors .site-header::after { background-image:url('images/ascent-sponsors-sm.jpg'); }
    .events .site-header::after { background-image:url('images/ascent-events-sm.jpg'); }
    .about-the-study .site-header::after { background-image:url('images/ascent-about-sm.jpg'); }
    .contact .site-header::after { background-image:url('images/ascent-contact-sm.jpg'); }
  .site-header > * { position:relative; z-index:2; }
  .search-form { border-color:#0c2340; box-shadow:none; border-radius:0; }
  .search-button { border-radius:0; background:#35a478; border:0; }
    .search-button:hover { background:#0c2340; border:0; }
    .search-button .icon { fill:#fff; padding:0.125em; }
  .btn-nav-mobile { top:1.65rem; right:1.2rem; }
  .elevator { line-height:1.5em; margin:3em auto; text-align:center; }
  .elevator h2 { font-size:1.5em; color:#c7ebdd; text-shadow:none; margin-top:0; margin-bottom:0.75em; line-height:1.125em; }
  .elevator strong { color:#a2dfc7; letter-spacing:0.075rem; }
  
  /* Navigation
  --------------------------------------------------*/
  .nav-top { background: linear-gradient(to right, rgba(255,255,255,1) 20%,rgba(255,255,255,0.8) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ccffffff',GradientType=1 ); border-top-color:#0c2340; box-shadow:none; border-bottom-color:#0c2340; text-align:left; }
    .nav-top li a { color:#0c2340; text-shadow:none; }
    .nav-top li.active a { background-color:#0c2340; color:#fff; box-shadow:none; }
      .nav-top li.active a:hover { background-color:#0c2340; color:#fff; }
      .nav-top li a:hover {  background-color:transparent; color:#35a478; text-shadow:none; box-shadow:none; border-color:transparent; }
    
    .nav-site ul a { font-size:1.3rem; }
    .nav-site ul > .active > a { border-bottom-color:#35a478; border-bottom-width:1px; }
    
  /* General
  --------------------------------------------------*/
  .page-title { border-bottom-color:#35a478; border-bottom-style:double; border-bottom-width:0.1em; margin-bottom:1em; }
  .site-content { position:relative; }
  .alpha, .beta { position:relative; z-index:2; }
  .btn, .more, .excerpt_continuation { background-color:#0c2340; }

  .aside {padding: 1rem; text-shadow:none; color:#fff; font-family: 'Jura', sans-serif; font-size: 1.25em; line-height:1.5; background:#3d4766; } 
  
  /* Home 
  --------------------------------------------------*/
  .home-primary h2 { margin-bottom:0.75em; }
  .home-areas { padding:2em 0; margin:2em 0; position:relative; color:#fff; }
    .home-areas h2, .home-areas h3, .home-areas h4 { color:#fff; text-shadow:0 1px rgba(12,35,64,0.9);}
    .home-areas::before { position:absolute; content:''; display:block; background:url('images/ascent-home-areas-sm.jpg') center center no-repeat #eee; background-size:cover; left:-100vw; right:-100vw; top:0; bottom:0; z-index:-1; }
    .home-areas::after { background-color:#0c2340; content:''; display:block; position:absolute; left:-100vw; right:-100vw; bottom:0; top:0; opacity:0.8; z-index:-1; }
    
  .home-areas-list li { padding-top:8rem; position:relative; width:50%; font-family: 'Jura', sans-serif; font-weight:600; font-size:1.125em; color:#c7ebdd; }
  .home-areas-list li::before { content:''; display:block; position:absolute; top:1rem; left:calc(50% - 3rem); width:6rem; height:6rem; background:transparent 50% 50% / contain no-repeat;  }
  .home-areas-list .icon-ml::before { background-image:url('images/icon-ml.svg'); }  
  .home-areas-list .icon-ai::before { background-image:url('images/icon-ai.svg'); }  
  .home-areas-list .icon-bd::before { background-image:url('images/icon-bd.svg'); }  
  .home-areas-list .icon-ne::before { background-image:url('images/icon-ne.svg'); }  
  .home-areas-list .icon-hi::before { background-image:url('images/icon-hi.svg'); }
  .home-areas-list .icon-st::before { background-image:url('images/icon-st.svg'); }
    
  /* Personnel
  --------------------------------------------------*/
  .personnel-item { width:100%; }  
  .personnel-item-name { margin:0.75em 0 0.25em; }
  .personnel-item-school { color:#35a478; font-style:italic; }
  .student-group .personnel-item { padding:0.5rem; border:1px solid #eee; }
  
  /* Research
  --------------------------------------------------*/
  .research-theme-item { margin-top:2rem; margin-bottom:1rem; }  
  .research-theme-name { margin:0.5rem 0; }  
  
  /* Content
  --------------------------------------------------*/
  .site-content { overflow:hidden; }
  .home-region { padding:4em 0; line-height:1.5em; }
  .home-region > h2 { margin:0.25em 0 1em; }
  
  .home-primary { margin:0; }
  .home-feature-image { height:40vh; position:relative; }
  .home-feature-image::after { content:''; display:block; position:absolute; left:calc(-100vw + 100%); right:calc(-100vw + 100%); top:0; height:100%; background:url(images/feature-image-small.jpg) center center no-repeat / cover; }
  .home-feature-image-two::after { background-image:url(images/feature-image-two-small.jpg);}
  .home-feature-image-three::after { background-image:url(images/feature-image-three-small.jpg);}
  
  /* News 
  --------------------------------------------------*/
  .additional-links { margin-bottom:3rem; }
  .additional-links li a { margin:0 0 .25em; } 
  .additional-links li.alternate-link { display:block; }
  
  .entry-image { width:30%; margin-bottom:1rem; overflow:hidden; }
  .entry-image img { transition:-webkit-transform 0.25s ease-in-out; transition:transform 0.25s ease-in-out; transition:transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out; }
  .entry-details { width:70%; padding-left:1rem; position:relative; z-index:3;}
  
  .news-item { position:relative; }
  .news-item:hover .entry-image img { -webkit-transform:scale(1.05); transform:scale(1.05); }
  .news-item .publish-info { display:block; }
  .news-item .publish-info .pubdate { padding:0.5em 0.75em; background:#0c2340; color:#fff; }
  
  .news-item .entry-title { margin-top:1rem; }
    .news-item .entry-title a { color:#0c2340; }
  .home-news { margin-bottom:2rem; padding-bottom:2rem; border-bottom:1px dotted #0c2340; }
    .home-news .column:last-child .news-item { margin-bottom:0; }
    .home-news .news-item .publish-info { margin-top:-2rem; margin-left:1rem; }
    .home-news .news-item .entry-title { margin-left:1rem; }
  .home .entry-image,
  .home .entry-details { width:100%; padding:0; }
  
  .spotlight .section-title { margin-top: 0; margin-bottom: 1em; font-size: 1.75rem; font-weight:600; }
  .spotlight .entry-image { width: 100%; }
  .spotlight .entry-details { width: 100%; padding-left:0;}
  .spotlight .meta { display: none; }
  .spotlight .entry-title { font-size: 1.5rem; }
  .spotlight article { margin-bottom: 1.625em; }
  
  /* Events 
  --------------------------------------------------*/
  .event-item .meta-item b { display:none; }
  .event-item .meta-item abbr { text-decoration:none; }
  
  /* Sponsors
  --------------------------------------------------*/
  .home-sponsors + .home-events { margin-top:2rem; padding-top:2rem; border-top:1px dotted #0c2340; }
  .home-sponsors::after, .sponsorships-content::after { content:''; display:block; clear:both; }
  .home-sponsors .sponsors-list { clear:both; margin-top:2rem; }
    .home-sponsors .sponsors-list ul { display:inline; }
    .home-sponsors .sponsors-list ul li { float:left; }
    .home-sponsors .sponsors-list ul li img { width:100%; height:5rem; -o-object-fit:contain; object-fit:contain; -o-object-position:center center; object-position:center center; }
}

/* 480px
----------------------------------------------------*/
@media only screen and (min-width:30em) {
  
  /* Personnel
  --------------------------------------------------*/
  .personnel-item { width:50%; margin-bottom:2rem;}  
  .student-group .personnel-list { margin-right:-1rem;  }
  .student-group .personnel-item { width:calc(50% - 1rem); margin-right:1rem;  }
  
  /* News 
  --------------------------------------------------*/
  .spotlight .entry-image { width: 50%; }
  .spotlight .entry-details { width: 50%; padding-left:1rem; }
}

/* 700px
----------------------------------------------------*/
@media only screen and (min-width:43.75em) {
  .dept-nd, .brandbar li, .brandbar li a { margin:0; }
  h3 { font-size:1.5rem; }
  .image-left { float:left; }
  .image-right { float:right; }
  .site-header { padding-bottom:15rem; }
    .home .site-header { padding-bottom:8rem; }
  .site-header::after { background-image:url(images/site-hero-medium.jpg); }
      .research .site-header::after { background-image:url('images/ascent-research-md.jpg'); }
    .news .site-header::after { background-image:url('images/ascent-news-md.jpg'); }
    .sponsors .site-header::after { background-image:url('images/ascent-sponsors-md.jpg'); }
    .events .site-header::after { background-image:url('images/ascent-events-md.jpg'); }
    .about-the-study .site-header::after { background-image:url('images/ascent-about-md.jpg'); }
    .contact .site-header::after { background-image:url('images/ascent-contact-md.jpg'); }
  .subtitled { float:none; display:flex; align-items:center; justify-content:space-between; }
  .elevator { margin:10rem 0 2rem; font-size:1.5em; }
   .elevator h2 { font-size:2em; }
  .nav-top li a { font-size:0.85em; padding:0.5em 0.75em;}
  .site-content::after { content:''; display:block; position:absolute; top:0; left:0; right:0; height:37em; background:url('images/ascent-graphic.svg') top right no-repeat; opacity:0.15; z-index:-1; }
  .home-primary { font-size:1.125em; }
  .home-feature-image { height:40vh; }
  .home-feature-image::after { background-image:url(images/feature-image-medium.jpg);}
  .home-feature-image-two::after { background-image:url(images/feature-image-two-medium.jpg);}
  .home-feature-image-three::after { background-image:url(images/feature-image-three-medium.jpg);}
  .university-list li { width:25%;}
  .sponsors-list li { width:25%;}
  .contact-list li { width:calc(33.3% - 2em); }
  .contact-list h3 { font-size:1.325rem; }
  
  .personnel-item-name { font-size:1.65em; }
  .personnel-list-item-link { margin-top:auto; }
  .filters-types li { margin:0 1rem 0.5rem 0; padding:0.5rem 1rem; width:calc(25% - 1rem); display:inline-flex; text-align:center; justify-content:center ;align-items:center;}
  
  .aside { max-width:50%; float:right; font-size:1.5em; line-height:1.4;padding-left:1.5rem; margin-left:1.5rem; } 
  
  /* Students 
--------------------------------------------------*/
  
  /* Home 
  --------------------------------------------------*/
  .home-areas { padding:4em 0; margin:4em 0; }
    .home-areas::before { background-image:url('images/ascent-home-areas-md.jpg'); background-attachment:fixed; }
  .home-areas-list li { width:33%; }
  .home-news, .home-sponsors { margin-bottom:4em; }
  .home-sponsors .sponsorships-content .image-right { margin-left:3rem; }
  
  /* News
  --------------------------------------------------*/
  .additional-links li.alternate-link { float: right; display:inline-block; }
  .spotlight .entry-image { width: 100%; }
  .spotlight .entry-details { width: 100%; padding-left:0rem; }
}

/* 1024px
----------------------------------------------------*/
@media only screen and (min-width:64em) {
  .nav-top li a { font-size:1em; padding:0.5em 1em;}
  .site-header::after { background-image:url(images/site-hero-large.jpg); }
    .research .site-header::after { background-image:url('images/ascent-research-lg.jpg'); }
    .news .site-header::after { background-image:url('images/ascent-news-lg.jpg'); }
    .sponsors .site-header::after { background-image:url('images/ascent-sponsors-lg.jpg'); }
    .events .site-header::after { background-image:url('images/ascent-events-lg.jpg'); }
    .about-the-study .site-header::after { background-image:url('images/ascent-about-lg.jpg'); }
    .contact .site-header::after { background-image:url('images/ascent-contact-lg.jpg'); }
  .home-feature-image { height:60vh; }
  .home-feature-image::after { background-image:url(images/feature-image-large.jpg);}
  .home-feature-image-two::after { background-image:url(images/feature-image-two-large.jpg);}
  .home-feature-image-three::after { background-image:url(images/feature-image-three-large.jpg);}
  .university-list li,
  .sponsors-list li { width:20%; }
  .university-list li img { padding-bottom:2rem; }
  .contact-list li { width:calc(20% - 2em); }
  
  /* Home 
  --------------------------------------------------*/
  .home-areas-list li { width:20%; }
  
  /* Personnel
  --------------------------------------------------*/
  .personnel-item { width:33.33%; }  
  .student-group .personnel-item { width:calc(33.33% - 1rem); }
  .btn-students { float:right; margin-top:-5rem; margin-right:0rem; }
  .filters-types li { width:auto; }
  
  /* news 
  --------------------------------------------------*/
  .spotlight .entry-image { width: 40%; }
  .spotlight .entry-details { width: 60%; padding-left:1rem; }
  
}

/* 1200px
----------------------------------------------------*/
@media only screen and (min-width:75em) {
  .site-header { padding-bottom:22rem; }
  .home .site-header { padding-bottom:8rem; }
  .site-header::after,
  .home-feature-image::after { background-attachment:fixed; }
  
    /* Home 
  --------------------------------------------------*/
  .home-areas { padding:6em 0; }
    .home-areas::before { background-image:url('images/ascent-home-areas-lg.jpg'); }
  .home-sponsors { max-width:80%; margin-left:auto; margin-right:auto; }
  
  /* Personnel
  --------------------------------------------------*/
  .personnel-item { width:25%; }  
  .student-group .personnel-item { width:calc(25% - 1rem); }
}

/* Print
----------------------------------------------------*/
@media print {
  .nav-top { display:none; }
  
  .site-title { margin:1.25em 0 0; }
  .site-title a { background:url(images/logo.svg) center center no-repeat; background-size:contain; text-indent:-100vw; width:7em; height:2.25em; margin:0.25rem 0; display:block; }
  .image-default img, .image-right img, .image-left img,
  .image-default, .image-right, .image-left { float:none; }
  
  .home-news > .row,
  .home-events > .row,
  .research-themes { flex-flow:row wrap; }
  
  .home-news .medium-4,
  .home-events .medium-4 { width:33.3%; }
  .research-theme-item { width:50%; margin-bottom:2rem; }
  
  .contact-list li { width:calc(33.3% - 2em); }
  
  .news .entry-image { width:25%; } 
  .news .entry-details { width:75%; padding-left:2rem; } 
  .university-logo-list { padding:0; margin:2em 0 0; }
  .university-logo-list li { list-style:none; width:20%; float:left; margin:0 5% 2em 0; }
  .university-logo-list li:nth-child(4n+1) { clear:left; }
  .university-logo-list li img {}
  
    /* Personnel
  --------------------------------------------------*/
  .personnel-item { width:25%; }  
}