/*
Theme Name: Neurotools (UNC)
Theme URI: https://social-ink.net
Description: Architecture, custom code and templating created by Social Ink
Version: 1
Author: Social Ink
Author URI: https://social-ink.net
*/
/*****************
LAYOUT
***********************************************/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.onepage {
    clear: both;
    min-height: 600px;
    min-height: calc(100vh - 510px);

}
.content {}

.page-template-page-short-hero .herospot {
    height:calc(100vh / 5);
}

.page-template-page-short-hero #header {
  background: #1b2a41b8;
 
}

.page-template-page-gray-header .container_inner {
  background: #eaeaea;
}

.page-template-page-gray-header a.headersearch svg,
.page-template-page-lightblue-header a.headersearch svg {
  fill: #fff;
}

.page-template-page-gray-header #header {
    background: url(images/bg-gray-theme.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 2em;
}

.page-template-page-gray-header #header .header_inner {
  background: #1f356a52;
  max-width: 100%;
  padding: 0 1em 1em;
}

.page-template-page-gray-header header.pageinfo,
.page-template-page-gray-header .content {
    background: #eaeaee;
}

.page-template-page-lightblue-header .content,
.page-template-page-lightblue-header header.pageinfo {
    background: #b4cfe9;
}

.page-template-page-lightblue-header .content {
    padding:5em;
}

.page-template-page-lightblue-header #header {
    margin-bottom: 0;
}
.page-template-page-lightblue-header header.pageinfo {
      max-width: none;
  margin-top: -2em;
  margin-bottom: 2em;
  padding-top: 2em;
}

.page-template-page-lightblue-header #header .header_inner {
    background: #4a6381;
}

.page-template-page-lightblue-header .content h4 {
  max-width: 840px;
  margin: auto;
  font-size: 1.45em;
  font-weight: 100;
}

.page-template-page-gray-header header.pageinfo {

  padding: 3em 0 0;
  max-width: none;
  margin-top: -2em;
  margin-bottom: 2em;
}

.page-template-page-blue-header header.pageinfo {
  background: #1b2a41;
  padding: 3em 0 0;
  max-width: none;
  margin-top: -2em;
  margin-bottom: 2em;
}

.page-template-page-blue-header header.pageinfo h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 0;
}

.page-template-page-blue-header .content h1,
.page-template-page-blue-header .content h2,
.page-template-page-blue-header .content h3,
.page-template-page-blue-header .content h4,
.page-template-page-blue-header .content h5 {
    color: #fff;
}

.page-template-page-blue-header .content {
  background: #1b2a41;
  color: #fff;
}


main.singlepage.metadata-exists section.content {
    display: flex;
    margin-bottom: 2em;
    align-items: flex-start;
}
main.singlepage.metadata-exists section.content .main-content {
    width: 63%;
}
main.singlepage.metadata-exists section.content .metadatum {
    width: 35%;
    margin-left: 2%;
    background: #eaeaea;
}
main.singlepage.metadata-exists section.content .metadatum .metadatum-inner {
    padding: 1em;
}
.content .text {}
.content.nosidebar {
    float: none;
    width: 100%;
}

h2.expanding_header::after, .expander_section header a::after {
    float: right;
}
.pageinfo {}
/*****************
EXPANDERS
***********************************************/
.expanding_question,
.expander_section {

}

.onequestion {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #76acc1;
}

.expanding_question .expanding_contents,
.expander_section .expanding_contents {
    margin-bottom: 1em;
}
.expanding_question.opened .expanding_contents,
.expander_section.opened .expanding_contents {
    padding-top: 1em;
}

h2.expanding_header,
.expander_section header a {
margin-bottom: .25em;
  font-size: 1.2em;
  font-weight: 100;
  line-height: 1.1;
}

h2.expanding_header:after,
.expander_section header a:after {}
.expanding_question.opened h2.expanding_header:after,
.expander_section header a.activated:after {}
/*****************
TYPE
***********************************************/
h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
}
h1 {}
h2 {}
h3 {}
h4 {}
h5 {}

h4 {
    text-transform: none;
    line-height: 1.2;
    font-size: 1.25em;
}
p {}
.fancyfont {}
.pageinfo h1 {
    text-align: center;
    font-weight: 900;
    line-height: 1.1;
    font-size: 2.2em;
    margin-bottom: 1em;
}
.text {}
.text p {}
.text p:last-child {}
.text h1 {}
.text h2 {}
.text h3 {}
.text ul {}
.text ul li {
list-style-position: inside;
 }

.module_wys ul li,
.text ul li {
   list-style: disc; 
   margin-left: 0;
   line-height: 1.2;
   margin-bottom: .8em;
}

.module_wys ul li li,
.text ul li li {
    margin-left: 1.5em;
    margin-top: .5em;
}

/*****************
IMAGECOVERS
***********************************************/
.backgrounded_image {}
.backgrounded_image:before {}
.backgrounded_image>div {}
/*****************
FIXES FOR IE
***********************************************/
.ie8,
.ie9 {}
.ie7 {}
/*****************
BASIC INPUT AND FORMS
***********************************************/
input[type=text] {
    padding: .5em;
}
.wpcf7 input[type=submit],
input[type=submit],
.button {
    border: 0 none;
    display: inline-block;
}
input[type=submit]:hover,
.button:hover {
    text-decoration: none;
}
input[type=submit]:active,
.button:active {}
input[type=submit]:focus,
.button:focus {}

.button.button-blue-bg {
    background-color: #fff;
    color: #1b2a41;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.button.button-blue-bg:hover {
    color: #fff;
}

.socialink-module.minimize_margins,
.socialink-module.module-basic-text.minimize_margins {
  margin-bottom: 0;
  margin-top: 0;
}

.socialink-module.module-threecol .module_inner {

    display: flex;
    flex-wrap: wrap;
    width: 95%;
    max-width: 1920px;
    margin:auto;
    
}

.socialink-module.module-threecol .columns_1.module_inner {
    max-width: 1040px;
}

.socialink-module.module-threecol p.button-holder {
    margin-bottom: 0;
}

.socialink-module.module-threecol .module_img {
    margin-bottom:1em;
}

.socialink-module.module-threecol h2 {
    font-size: 1.3em;
}

.textholder.onecolumn {
  
  margin: 0 .5em 1em;
  width: auto;
  background: hsl(218.6, 43.8%, 93.7%);
    padding: 1.5em;
    width:100%;
    min-width: 300px;
    flex:1;
}

.columns_3 .textholder.onecolumn {
    min-width: 45%;
}

.socialink-module {
    clear: both;
}

.socialink-module.module-basic-text {
    margin-bottom: 1em;
    
    padding: 2em;
}

.socialink-module .alignleft {
    margin-right: 4em;
    max-width: 45%;
}

.socialink-module .alignright {
    margin-left: 4em;
    max-width: 45%;
}

.socialink-module:last-child {
    padding-bottom: 7em;
}

.module-heroimage {
    position: relative;
}

.home .module-heroimage {
  max-width: 1400px;
  margin: auto;
}

.home .module-heroimage .slide {
    background-size: contain;
    background-repeat: no-repeat;
}

.module-heroimage header {
  /*  position: absolute;
  bottom: 3em;
  z-index: 999;*/
  width: 100%;
}

.socialink-module .module_inner a {
  text-decoration: underline;
}

.text p a:not(.nf).button {
   
}

.socialink-module .module_inner a.button {
  text-decoration: none;
}

a.button,
.text a .button,
.module_wys p a:not(.nf).button {
    color: #1b2a41;
    text-transform: uppercase;
    font-size: .8em;
    padding:.75em 1.5em;
}

.socialink-module .module_inner .readmore a.button {
    padding:.5em 1em;
    font-size: .7em;
}

a.button:hover,
.text a .button:hover,
.module_wys p a:not(.nf).button:hover {
    color:#fff;
}

.module-title-word {
    margin-right: .25em;
}
/*****************
NAV MENU MARKUP
***********************************************/
.menu_horizontal li {}
/*****************
HEADER
***********************************************/
#header {
    width: 100%;
    min-height: 82px;
    margin-bottom: 2em;
    z-index: 100;
    position: absolute;
}
.header_inner {
    max-width: 100%;
      padding: 0 1em 1em;
      box-shadow: 0 0 10px #081734;
    
}

.home .header_inner {
    box-shadow: none;
}
.logo {
    max-width: 400px;
    width:35%;
    margin-right:1em;
    margin-top: 10px;

}

.header-menu-top .topheader-bottomline {
    margin-top: 25px;
}

.logo img {
    width: 100%;
    /* for ie */
}
.topmenu {}
.topmenu ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.topmenu li {}
.topmenu li:after {}
.topmenu li.last_item {}
.topmenu li a {}
.topmenu li[class*="current"] a,
.topmenu li:hover a {}
.socialmedia {}
.socialmedia a {}
/*****************
SIDEBAR
***********************************************/
.sidebar {}
.sidebar_module {}
.sidebar_module .module_title {}
.sidebar_module .module_content {}
/*****************
BACKGROUNDS
***********************************************/
.herospot {
    /*position: absolute;*/
    top: 0;
    left: 0;
    z-index: 2;

}
.herospot.contained {
    /* use this instead of height if the image is not full bleed; where the first number is the image height and the second number is the image width */
    /* padding-top: calc((460 / 1040) * 100%);*/
}
.herospot.semantic:before {}
.herospot.semantic>div,
.herospot.semantic>article,
.herospot.semantic>section {}
.slides li {
    margin: 0;
    list-style: none
}
.slideshow_area {}
.slideshow_area div.slide {}
#header .slideshow_area {
    top: 0;
    left: 0;
}
#header .slideshow_area div.slide {}
body.hero-none #header {
    position: relative;
}
.slide_nav {}
.slide_nav a:before {}
.home .slide_nav {}
.slide_nav a {}
.slide_nav a:hover,
.slide_nav a:active,
.slide_nav a:focus {}
.slide_nav.left {}
.slide_nav.right {}
/*****************
LISTS
***********************************************/
/* single page view navigation */
div.next-post {}
div.prev-post {}
/* generated by wp_list_cat and wp_list_pages functions */
li.page_item {}
li.current_page_item {}
li.current_page_parent {}
li.cat-item {}
li.current-cat {}
/*****************
FOOTER
***********************************************/
#footer {
    clear: both;
    padding: 2em 0 1em;
    padding-top: 7em;
    margin-top: -7em;
      clip-path: polygon(0px 70px, 25% 4.95%, 100% 97px, 100% 100%, 69.03% 100%, 0px 100%);
}

.prefooter {}
.angle {}

#footer a {
    color: #fff;
    text-decoration: underline;
}

.footer-textual.flexible {
  flex-direction: column;
  border-bottom: 1px solid #fff;
  padding-bottom: 2em;
  margin-bottom: 2em;
}

.footer-textual h1 {
    
    font-size: 1.8em;
      min-width: 500px;
      font-weight: 300;
      margin-bottom: 1em;
}

.footer-textual h3 {
    font-size: 1.3em;
}

.footer-textual p {
    font-size: .9em;
}
.footer-textual>div {
    max-width: 100%;
}
.footer-textual p {
    margin-bottom: .5em;
}
.footer_inner {}
.footermenu {}
.footercredits {}
.footercredits a {}
.sitecredits {}
.sitecredits p {}
.sitecredits a {}
#footer .sinkcredits a {
    text-decoration: none;
}
.sinkcredits {
    text-align: right;
    font-size: .75em;
}
.sinkcredits p {}
.sinkcredits a {
    color: #26608b;
}
/*****************
RELATED
***********************************************/
.related_content {
    text-align: center;
    margin: 2em 0;
}
.related_content .field_divlist {
    display: -ms-flexbox;
    display: flex;
    margin: 2em 0;
}
.related_content .field_divlist>div {
    background: #ccc none repeat scroll 0 0;
    border-right: 1px solid #fff;
    height: 250px;
    min-width: 25%;
    padding: 1em 2%;
}
.metadatum {}
.metadatum .meta_item {}
.metadatum .meta_item .lbl {}
.metadatum .meta_item .val {}
.metadatum .tax_item .lbl:before {}
/*****************
ARCHIVE
***********************************************/
article.archive_post {
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 1em;
    padding-bottom: 1em;
    flex-wrap: nowrap;
}
aside.readmore {
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
article.archive_post.archivepost_last {
    border-bottom: 0;
}
.archive_post .featimg {
    flex-shrink: 0;
    margin-right: 1em;
    width: 200px;
}
.archive_post.thumb_exists .mainpost {
    height: 100%;
}
article.archive_post h2 {
    margin-bottom: .1em;
}
.socialink-module .module_inner article.archive_post h2 a {
    text-decoration: none;
}
article.archive_post p.post_header_meta {}
article.archive_post .post_meta {
    border-top: 1px solid #eaeaea;
    padding-top: 5px;
}
article.archive_post a.readmore {
    font-size: 90%;
    text-transform: uppercase;
}
article.archive_post a.readmore:after {
    content: '>';
    padding-left: 2px;
}
.relatedposts {}
.relatedposts ul {}
.relatedposts li {}
.relatedposts .prev {}
.relatedposts .next {}
.single_relatedposts {}
.archive_relatedposts {}
p.readmore {
    margin-bottom: 0;
}

.hero-overlay {
  color: #fff;
  position: absolute;
  bottom: .5em;
  width:100%;
}

.hero-overlay h1,
.hero-overlay h2,
.hero-overlay h3,
.hero-overlay h4,
.hero-overlay h5,
.hero-overlay h6,
.hero-overlay p {
    padding:0 20px;
    color:#fff;
}

.hero-overlay h2 {
font-size: 2.25em;
  font-weight: 900;
  margin-bottom: .85em;
  letter-spacing: -.02em;
}
.hero-overlay h3 {
    font-size: 1em;
    font-weight: 100;
}

.hero-overlay h4 {}
.hero-overlay h5 {}

.hero-overlay h6 {}

ul.sink_dropdown li.sink_dropdown_top, 
.sink_dropdown li, 
.sink_dropdown_top ul.sub-menu {
    background: transparent;
}

.home .herospot.main {
    height: calc(100vw / 6);
}

.home #header {
    background-color: transparent; 
}

.home .herospot.main {
    background-size: cover;
  background-repeat: no-repeat;
    margin-bottom: 0;
    min-height: 250px;
}

.home .onepage {
  padding-top: 0;
}

.onepage section:not(:has(+ .socialink-module)) {
    padding-bottom: 7em;
}

ul.sink_dropdown {
    border-radius: 5px;
    font-size: .78em;
    margin-top:0;
    align-items: flex-start;
}

.home .onepage > .content {
    background: #1b2a41;
    max-width: none;
    padding:2em;
    color: #fff;
 clip-path: polygon(0px 0px, 100% 0px, 100% 85.99%, 69.03% 100%, 0 95%);
 padding-bottom: 4em;
/* clip-path: none;
   border-bottom-left-radius: 50% 150px;
   border-bottom-right-radius: 50% 150px;*/
}

.home .onepage .content article {
    max-width: 1024px;
    margin:auto;
}

.socialink-module .modheader h1 {
    color:#000;
    font-size: 1.85em;
    margin-bottom: 1em;
}

.socialink-module.module-threecol .modheader h1  {
    text-align: center;
    font-size: 2em;
    margin-bottom: 1.5em;
}

.home .socialink-module.module-threecol {
  background: #f3fbff;
  padding: 4em 4em 10em;
}

.socialink-module:nth-child(even),
.socialink-module:last-child {

}

.home #footer {
    margin-top: -10em;
}

.module-heroimage .modheader h1,
.module-heroimage .module-subheader h3 {
  text-align: center;
}

.module-heroimage .module-subheader h3 {
    font-size: 1.2em;
}

.socialink-module.module-calltoaction .module_inner.centering_box {
  padding: 2em;
  background: #95adcd9e;
}

.socialink-module.module-repeated .centering_box {
    max-width: none;
}

.socialink-module.module-repeated .flexible.nw {
    padding-bottom: 3em;
    margin-bottom: 3em;
    border-bottom: 1px solid #999;
    /*clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); */
}

.socialink-module.module-repeated .flexible.nw:last-child {
    border:none;
}

.socialink-module.module-repeated .flexible.nw > .nshrink {
  margin-right: 2em;
  margin-bottom: 0;
  /*max-width: 450px;*/
}

.socialink-module.module-repeated .flexible.nw {
    display: flex;
    flex-wrap: wrap;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.socialink-module.module-repeated .flexible.nw .module_text,
.socialink-module.module-repeated .flexible.nw .module_img {
    width:45%;
}

.socialink-module.module-repeated .modheader h1 {
    margin-left: 1em;
}

.socialink-module.module-repeated .flexible.nw img {
    clip-path: polygon(0px 0px, 90.44% 0px, 98.89% 83.2%, 69.78% 98.95%, 0px 100%);
}

.socialink-module.module-repeated .flexible.nw:nth-child(2n) img {
    clip-path: polygon(44px 440px, 1.33% 80px, 34.23% 0.35%, 100% 0%, 446px 77.94%);
    clip-path: polygon(45px 504px, 1.33% 80px, 34.23% 0.35%, 100% 0%, 667px 100%);
    clip-path: polygon(5px 701px, 0% 80px, 34.23% 0%, 100% 0%, 598px 100%);
    margin-left: auto;
  display: block;
}

.socialink-module.module-repeated .flexible.nw:nth-child(2n)  {
    margin-top: 3em;
}

.socialink-module.module-repeated .flexible.nw:nth-child(1n) .module_text {
    margin-right: auto;
    margin-left: 2em;
}

.socialink-module.module-repeated .flexible.nw:nth-child(2n) .module_text {
    margin-left: auto;
    margin-right: 0;
}

.socialink-module.module-repeated .flexible.nw:nth-child(2n) > .nshrink {
    margin-right: 0;
    margin-left: 2em;

}

.content a.button,
.socialink-module a.button {
    background: #fff;
    border:2px solid #1b2a41;
    color: #1b2a41;
    padding: 1.25em 2em;
}

.text input.gform_button[type="submit"] {
        background: #fff !important;
      border: 2px solid #1b2a41 !important;
      color: #1b2a41 !important;
      padding: 1.25em 2em;
      border-radius: 0 !important;
      padding: 1em 2em !important;
}

.text input.gform_button[type="submit"]:hover {
        background: #1b2a41 !important;
    color:#fff !important;
    transition: all .3s ease;
}

.content a.button:hover,
.socialink-module a.button:hover {
    background: #1b2a41;
    color:#fff;
    transition: all .3s ease;
}

.socialink-module.module-repeated a.button {
    margin-top: 4em;
   display: inline-block;
}

.sink_dropdown li a:hover {
    color:#fff;
    background-color: #4b9cd3;
}

.wp-caption p.wp-caption-text {
    text-align: left;
    margin-top: .5em;
}

p.caption {
    text-align: center;
    font-size: .7em;
    padding:5px;
    margin-bottom: 0;
}

.slideshow_area div.slide,
.slideshow_area {
    /*height:calc(100vw / 1.5);*/
}

ul li.button a {
  padding: 1em;
  border: 2px solid #fff;
  text-align: center;
  margin-left: .5em;
  margin-top: -5px;
}

li.sink_dropdown_top, .sink_dropdown li, .sink_dropdown_top ul.sub-menu {
  background: rgba(27, 42, 65, 0.68);
}


.socialink-module.module-addcontent.view-grid .archive_post .featimg {
  width: 100%;
  max-width: none;
  margin-bottom: .75em;
}

.socialink-module.module-addcontent.view-grid .archive_post .postinfo h2,
.socialink-module.module-addcontent.view-list .archive_post .postinfo h2 {
    margin-bottom: .25em;
    font-size: 1.25em;
}


.socialink-module.module-addcontent.view-grid .archive_post .text .excerpt,
.socialink-module.module-addcontent.view-list .archive_post .text .excerpt {
    font-size: .8em;
}


.socialink-module.module-addcontent.view-grid .archive_post .readmore {
    display: none;
}

@media (min-width: 769px) and (max-width: 1040px) {
  .onepage {
    padding: 0;
  }

  .sink_dropdown_container {
    margin-right: 0;
  }

  .logo {
  width: 20%;
    }

.socialink-module {
        padding: 2em;
    }

    .socialink-module.module-repeated {
        padding:inherit;
    }

     .socialink-module.module-repeated:last-child {
        padding-bottom: 7em;
     }
}