@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Oswald');


@media screen {
/*****************************************************
  PAGE SETUP
*****************************************************/

iframe {
  border:0;
  width:100%;
  height:33vh;
}

/* "correct" a default bootstrap behavior that doesn't work with UNM code */
.navbar-nav {
  flex-direction: row;
}

.nav-justified>li {
  display: table-cell;
}


@media (min-width: 768px) {
  .nav-justified>li {
    display: table-cell;
    width: auto;
  }
}


#sheetrock {
    display:none;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  line-height: 1.4em;
  background-color: #fefefe;
  width:100%;
}

.xan-container {
  max-width:80rem;
  margin: 0 auto;
  clear:both;
}


.right {
  float: right;
  margin-left: 1rem;
  }

.left {
  float:left;
  left:0;
  margin-right: 1rem;
  }

/*****************************************************
TYPOGRAPHY
*****************************************************/

h1, h2, h3, h4, h5 {
  text-align:left;
  margin: 3rem 0 .4rem 0;
  clear:both;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.4rem;
  clear:both
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size:1.2rem;
}

h5 {
  text-transform:uppercase;
  font-size:1rem;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #999;
  clear:both;
}

p {
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6em;
  margin-bottom: 1.5em;
}


p.abstract {
  border:1px solid gray;
  background-color: #e5d3bb;
  padding:2em;
  font-size: 90%;
  margin: 3em 0 4em 0em;
}

p.author {
  margin: .5em 0 0em 0;
  text-align: center;
  text-transform: uppercase;
  color:#666;
}

blockquote {
  margin: -1em 4em 1em 4em;
  font-size: 90%;
  border:none;
}

ul {
  margin-bottom:1rem;
}

li {
  margin-bottom:.4rem;
}

li ul li {
  color:#666666;
  list-style: none;
  margin-bottom:1em;
}

.full-width {
  margin-bottom:2rem;
}

.full-width p {
  width:100%;
  padding: 0 15%;
  margin:0;
  font-style: italic;
}

.highlight {
  background-color:#ccc;
}


/*****************************************************
JUMBOTRON
*****************************************************/

.xan-jumbotron {
  position: relative;
  text-align: center;
  display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    align-items: center; /* horizontal centering */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.xan-jumbotron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
}

.xan-jumbotron h1,
.xan-jumbotron p {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: right;
}


.xan-jumbotron h1 {
  font-size: 4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.page-header-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  background: rgba(0,0,0,0.7); /* semi-transparent black */
  display: flex;
  align-items: center; /* vertical centering */
  text-align:right;
  justify-content: flex-end; /* right justify */
  padding-right: 2rem;
  padding-left: 0;
}


.header-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 0.5em 0.7em;
  border-radius: 50%;
  z-index: 10;
  text-decoration: none;
  transition: background 0.2s;
}
.header-arrow-left {
  left: 1rem;
}
.header-arrow-right {
  right: 1rem;
}
.header-arrow:hover {
  background: rgba(0,0,0,0.6);
}

/*****************************************************
PULLQUOTES
*****************************************************/


aside {
  border-top: 2px solid darkgrey;
  border-bottom: 2px solid darkgrey;
  margin: 1rem 0 1rem 0;

  p{
    font-size: 120%;
    line-height: 120%;
    text-align: justify;
    padding:0;
    margin:0;
  }

}

/* mobile-first design css */
.pullquote {
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  color: #486B76;
  margin: 1em auto;
  padding: 1em 0 1em 0;
}

/* tablet styles */
@media screen and (min-width: 34em) {
  .pullquote {
      float: left;
      width: 50%;
      padding: 1.2em 0 1.2em 0;
      margin: .8em 2em .8em 0;
  }
}
  
/* desktop styles */
@media screen and (min-width: 58em) {
  .pullquote {
      margin-left: -15%;
  }

aside.right {
  margin-left:0;
  left:0;
  width:100%;
}

aside p{
  margin:0;
}

}

/*****************************************************
IMAGES
*****************************************************/


figure {
  margin-bottom:2rem;
  clear:none;
}

.img-right {
  float:right;
  padding:0;
  text-align:left;
  margin: 0 0 1em 2%;
}

.img-left {
  float:left;
  padding:0;
  margin: 0 2% 1em 0;
}

.img-center {
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

figcaption {
  font-size: .8rem;
  color:#888;
  font-family: 'Oxygen', sans-serif;
  display:block;
  margin:.4em 0 0 0;
  clear:both;
  line-height: 1.1em;
}

figcaption.img-right {
  text-align: justify;
  padding:0;
}

figcaption.img-left {
  text-align: justify;
  padding:0;
}

figcaption.img-center {
  text-align:justify;
  padding:0;
}

figcaption p {
  margin:0;
  padding:0;
  font-size: 13px;
  line-height: 1.4em;
}

figcaption a {
  opacity:.5;
  font-weight:normal;
}


.carousel-caption {
  position: absolute;
  width:100%;
  left: 0;
  right:0;
  bottom:0;
  z-index: 10;
  padding: 0 1rem 0 1rem;
  color: #fff;
  background-color: black;
  opacity: .7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  text-align: left;

  h5 {
    font-size: 1rem;
    margin: 0;
    padding-top: .5rem;
    color:#fff;
  }
  }
}


/*****************************************************
DIRECTORY CARDS
*****************************************************/

.card {
  min-height: 40rem;
  opacity: .8;
  transition: transform 0.3s ease, opacity 0.3s ease;
  /* Smooth transition */
}


.card:hover {
  background: #eee;
  opacity: 1;
  transform: scale(1.05);
  /* Slightly enlarge the card */
}

.card-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
  max-height: 20rem;
}

.card-img-top {
  height: 15rem;
    border-radius: 0.75rem;
}

.card h3 {
  font-family: 'Open Sans';
  font-size: 2rem;
  font-weight: bold;
  margin: .5rem 0 1rem 0;
}

.card-text {
  font-size: 1.5rem;
  font-weight: normal;
}

.card a {
  opacity: 1;
  color: #000;
  text-decoration: none;
  border-bottom: 0px
}






@media (max-width: 576px) {
  .card {
    width:100%;
  }

  .card-img-top {
    height:auto;
  }

/*****************************************************
IMAGE CAROUSEL
*****************************************************/
.slick-slide img {
padding:0 2rem;
}

.slick-prev:before, .slick-next:before { font-family: FontAwesome; font-size: 40px; line-height: 1; color: gray; opacity: 0.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.slick-prev:before { content: "\f053"; margin-right:5rem;}
[dir="rtl"] .slick-prev:before { content: "\f054"; }

[dir="rtl"] .slick-next { left: -10px; top: 70px; right: auto; }
.slick-next:before { content: "\f054"; }
[dir="rtl"] .slick-next:before { content: "\f053"; }

.carousel img{
max-width:100%;
}

p.carousel-caption {
color:black;
text-align:left;
font-face:'Open Sans';
font-size:1.4rem;
text-shadow:none;
border:0px solid black;
line-height:1.8rem;
bottom: 0;
left: 0;
position: relative;
width: 100%;
z-index: 2;
color:#666;
padding:0;
margin:.5rem 0 0 2rem;
}

} /* end media screen */


/*****************************************************************************/
/*
/* SMALL SCREEN
/*
/*****************************************************************************/

  @media (max-width: 992px) {

figure.img-right-col {
  position:relative;
  width: 100%;
  margin: 1rem 0 1rem 0;
}

}