/*
COLOR PALETTE
https://coolors.co/f7fff7-343434-2f3061-ffe66d-a1c6d7
#F7FFF7 - almost white
#343434 - dark gray - almost black
#2F3061 - blue dark
#FFE66D - yellow
#A1C6D7 - blue light
*/


/* Global styles
------------------------------------*/
/* 
https://www.paulirish.com/2012/box-sizing-border-box-ftw/ 
https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
*/
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 0px; /* height of sticky header */
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* -----------------------------------------*/

header {
	top: 0;
	width: 100%;
	position: fixed;
	z-index: 100;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: #343434;
  margin: 0;
  padding: 0;
}
img {
  width: 140px;
}
a {
  color: #FFE66D;
 }
a:hover {
  text-decoration: none;
}

a:visited {
  color: #FFE66D;
 }

li {
	padding-top: 3px;
}

h4 {
	padding-top: 6px;
}

.content-wrap {
  width: 94%;
  margin: 0 auto;
  padding: 14px 30px 17px;
}


.content-wrap h2{
	margin-top: 14px;
}

.content-wrap h4{
	margin-top: 12px;
}



.tc {
  width: 94%;
  margin: 0 auto;
  padding: 14px 30px 17px;
}

.tc h4{
	margin-top: 12px;
	margin-bottom: 16px;
	text-align: center;
}

.unc-logo img{
	margin-top: 0px;
	width: 300px;
	padding-bottom: 11px;
}


.btn {
	margin-bottom: 12px;
}

.btn-exit {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 8px 24px;
  align: center;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  
}

.btn-exit a{
	 color: white;
}

.btn-exit a:visited{
	 color: white;
}

:target {
  display: block;
  position: relative;
  top: -120px; 
  visibility: hidden;
}


main {
  position: relative;
  top: 100px;
	
	
}

/* Flickity ------------------------------------*/

* { box-sizing: border-box; }

/*body { font-family: sans-serif; }*/

.carousel {
  background: #EEE;
  top: 100px; /*allows header to be visible */
}

.flicknav{
	padding-top: 7px;
}

.carousel-cell {
/*  width: 66%;*/
  width: 300px;
  height: 200px;
  margin-right: 10px;
  background: #2F3061; /*#8C8*/
  border-radius: 7px;
  counter-increment: carousel-cell;
  /* center images in cells with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
  
}

/* cell number 
.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(carousel-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

*/

.carousel-cell.is-selected {
  background: #000;
  border: medium;
  border-color: yellow;
}

.carousel-cell-image {
  display: block;
  width: 300px;
  border-radius: 7px;
}


/* Profile ------------------------------------*/
header {
  background: #2F3061;
  color: #F7FFF7;
}

.tagline{
	font-size: 15px;
	display: block;
	font-style: italic;
	padding-top: 2px;
	padding-left: 6px;
	
}

.tagline_sup{
	font-size: 8px;
}

.title-bar a{
	color: #FFFFFF;
}

/* Summary
------------------------------------*/
.summary {
  background: #F7FFF7;	
/*  position: relative;*/
/*  top: 100px;*/
  display: block;
}

.summary h4 {
	font-size: 15pt;
	font-weight: bold;
}

.summary h5 {
	font-size: 13pt;
	font-weight: bold;
}

.summary h6 {
	font-size: 13pt;
	font-weight: bold;
	text-decoration: underline;
}

.summary a {
  color: #3333ff;
 }
.summary a:hover {
  text-decoration: none;
}

a.anchor {
    display: block;
 	visibility: hidden;
}

.summary .btn a {
  color: #3B2222;
 }

.summary .btn {
  color: #3B2222;
  font-weight: bold;
  text-decoration: none;
  padding: 8px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 4px;
}

.summary .btn:hover {
  background: rgba(59, 34, 34, 80%);
}
/* Reference
------------------------------------*/
.reference {
  background: #F7FFF7;	
/*  position: relative;*/
/*  top: 100px;*/
  display: block;
}

.reference h4 {
	font-size: 14pt;
	font-weight: bold;
}

.reference .btn {
  color: #F7FFF7;
  background: #2F3061;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
}

.reference a {
  color: #3333ff;
 }
.reference a:hover {
  text-decoration: none;
}

.reference .citation {
	font-size: 12pt;
}

.reference .citedate {
	color:dimgray; 
	font-size:13px
}

/* Videos
------------------------------------*/
.videos {
	background: #A1C6D7;
	display: block;
	position: relative;
}

.yt-container {
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}

.yt-container iframe, .yt-container object, .yt-container embed {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.keymessage {
/*	display: inline;*/
	margin: 0px;
}


/* Checklist
------------------------------------*/
.checklist {
  background: #F3EDEC;
/*  position: relative;*/
}

.checklist a {
  color: #2F3061;
}

.checklist .btn {
  color: #F7FFF7;
  background: #2F3061;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
}

.checklist .btn:hover {
  background: rgba(47, 48, 97, 80%);
}


.prompt h4 {
	font-size: 14pt;
	font-weight: bold;
}
.prompt li{
  font-size: 15px;
  padding:0 0 0.5em 0em;
}

.prompt ul{
  padding:0 0 0 2em;
}

/* Contact Info
------------------------------------*/
footer {
  background: #343434;
  color: #F7FFF7;
  font-size: 12px;
  margin-top: 100px;
}
