.contain-to-grid {
    background: #fff;
}
#uncw {
    position: relative;
z-index: 200;
}
.featureblock {
    display: block;
    position: relative;
}
#sitemeta {
    background: #fff;
}
.badge{
height: 200px;
width: 200px;
position: absolute;
bottom: 50px;
right: 60px;
z-index: 100;
}
.flex-viewport {
    margin-bottom: -1.5em;
}
.flex-caption {
    bottom: 0;
    font-size: 1.2em;
    font-family: Arial, Helvetica, sans-serif;

    position: static;
/*    max-height: 2.85em;
    overflow: scroll; */
    background-color: #007E79;
    text-align: center;
    margin-bottom: 15px;
}
.flex-caption a {
    color: #fff;
    }
 #slideshow  {
     position: relative;
 }
 #slideshow .flex-control-nav {
display: block;
position: absolute;
bottom: 0;
background: #007E79;
color: white;
z-index: 10;
 }
ul.slides{ background: #007E79;}
#slideshow .flex-control-nav a {
background: #eee;
background: rgba(255, 255, 255, 0.5);
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}
 #slideshow .flex-control-nav li a.flex-active, #slideshow .flex-control-nav li a:hover   {
    color: #fff;
background: #fff;
background: rgba(255,255,255, 0.9);
cursor: pointer;

-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
 }
.flex-video {
    margin-bottom: 0;
}
.accent {
  background: #007E79;
  color: #fff;
  padding: 0;
  text-align: center;
  border-collapse: collapse;
}
.accent h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    font-variant: small-caps;
    font-size: 4em;
    font-weight: 500;
    padding: .3rem 0;
    margin: 0;
    text-shadow: 2px 4px 7px #17434A;
}
.accent p {
  background: #003062;
  border-top: 3px solid #D3A617;
  margin: -.8rem 0 0;
  padding: .5rem;
  font-weight: bold;
  font-style: italic;
  font-size: 1.5em;
}
.accent.secondary {
  background: #003062;
    border-bottom: solid 1px #fff;
}
.accent.border {
  border-bottom: solid 1px #007E79;
  background: none;
  padding: 2rem 0 1rem;
}
.flexslider .slides img {
  margin: 0 auto;
}
#slideshow { 
  margin-bottom: 0;
}
#menu {
  display: none;
  clear: both;
  margin: 0 auto 10px;
}
.uncwhome .portals {
  background: url(https://uncw.edu/home/images/goldbar.jpg) repeat top center;
  margin: 0;
}
.uncwhome .portals ul {
  background-color: ;
  list-style: none;
  color: black;
  font-size: 1.5em;
  margin: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}
.uncwhome .portals a {
  display: block;
  color: #003062;
  font-size: 1.3em;
}
.features {
  padding: 2.5rem 0;
}
.features h3 {
 position: absolute;
 bottom: 0;
 width: 100%;
  background: rgba(0,126,121, .7);
  color: #fff;
  padding: 3px 0;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  z-index: 2;
  margin: 0;
}
.features a:hover {
    text-decoration: none;
}
.features h3 a {
    color: #fff;
}
.features img {
  width: 100%;
}
.features a p {
    display: none;
}
.features a:hover p {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;

    padding: 2.5rem 2rem 2.5rem 1rem;
    background:rgba(255,255,255,0.7);
    z-index: 50;
    color: #000;
    font-size: 1.5em;
}
.stats {
  padding: 1rem 0;
}
.stats h1 {
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: none;
  font-size: 1.5em;
  line-height: 1;
  font-variant: none;
  text-transform: uppercase;
  font-weight: normal;
}
.stats h1 a {
    color: #fff;
    text-decoration:none;
}
.stats h1 span {
  font-size: 3em;
  display: block;
  color: #FCD490;
}
.stats h1 a span {
    color: #FCD490;
    text-decoration:none;
}
.stats div {
  border-right: solid 1px #1EA7A3;
  padding: 0;
}
.stats div:last-child {
  border-right: none;
}
.news {
  padding: 2rem 0;
}
.news h2 {
  text-transform: uppercase;
  color: #000;
  font-size: 2em;
}
.news .story, .news .event {
  padding: 1rem 0;
}
.news .story p, .news .event p {
  margin: 0;
  color: #5e5f61;
  line-height: 1.2;
}
.news .story p a, .news .event p a  {
  color: #003062;
  display: block;
  font-weight: bold;
  margin-bottom: .3rem;
}
p.more a {
  text-transform: uppercase;
  border-top: solid 1px;
  border-bottom: solid 1px;
}
.button.screened {
  background: rgba(255,255,255, 0.25);
  border: solid 1px #fff;
  text-transform: uppercase;
  padding: 1rem;
  border-radius: 10px;
  width: 100%;
  margin: 1.5rem 0 0;
}
.button.screened a {
  display: block;
}
.emergency, .breaking {
  text-align: center;
  font-size: 1.5em;
  padding: .5rem;
  background: red;
  clear: both;
  color: #fff;
}
.breaking {
  background: orange;
}
.emergency a, .breaking a {
  color: #fff;
  border-bottom: solid 1px rgba(255,255,255, 0.6);
}
.emergency a:hover, .breaking a:hover {
  text-decoration: none;
  border-bottom: solid 1px rgba(255,255,255, 1);
}

@media only screen and (max-width: 725px) {
.flex-viewport {
    margin-bottom: -1px; 
}
.badge {
display:none;
}
 #menu {
    display: block;
  }
  #homenav ul {
    list-style: none;
    margin: 0;
    border-bottom: solid 1px black;
  }
  #homenav a {
    border-bottom: solid 1px #ccc;
    padding: .8rem;
  }
  .audience li:first-child {
    padding-top: .8rem;
    border-bottom: solid 1px black;
    color: #555;
  }
  #homenav .audience li:first-child a {
    padding-left: 2rem;
  }
  #homenav #apply {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 130px;
  }
  #homenav #apply a {
    border-bottom: none;
  }
  .row article.row {
    background: url(https://uncw.edu/assets/images/linehorizontal.gif) no-repeat left top;
    padding-left: .5rem;
    margin-left: .5rem;
  }
  article.row:nth-child(2){
    background: none;
  }
  header h1 {
    padding-left: 0.5rem;
  }
  .blockgrid li div {
    margin-left: .5rem;
  }
    .accent h1 {
      font-size: 3em;
      line-height: 1;
      margin: .25em 0;
    }
    .stats h1 {
      font-size: 1.5em;
    }
    .stats h1 span {
      font-size: 3em;
    }
    .featureblock {
    margin: 1rem;
}
    .features {
      padding: 0;
    }
    .features h3 {
      font-size: 2em;
      margin: 1rem 0 0;
      background: rgba(0,126,121, 1);
      color: #fff;
      padding: 3px 0;
      text-align: center;
      text-transform: uppercase;
      line-height: 1;
    }
    .secondary .features h3 {
      font-size: 1.5em;
    }
    .news p {
      font-size: 1.5em;
    }
    .button.screened {
      margin: .25rem 0 ;
    }
}




/*************************************/
@media only screen and (min-width: 641px)  { 

body {
  /* background: url('/home/images/background.jpg') no-repeat center center fixed; */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.flex-caption {
    position: absolute;
    width: 350px;
    max-height: inherit;
    overflow: visible;
    font-size: 2em;
    background-color: rgba(0, 0, 0, 0.4);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1em;
    border-radius: 0 15px 0 0;
    margin-bottom: 0;
}
 #slideshow .flex-control-nav {
 width: 350px;
 background: none;
 }
  #homenav ul {
    margin-bottom: 0;
  }
  #homenav li  {
    display: inline;
  }
  .topic {
    background-color: #FFF;
  }
  .topic ul {
    clear: both;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0;
  }
  .topic li {
    text-transform: uppercase;
    font-size: .85em;
  }
  .topic li:last-child {
    background: url(https://uncw.edu/assets/images/arrowleft.gif) no-repeat right center;
    padding-right: 20px;
  }
  .topic li a {
    color: #000;
  }
  .topic li:last-child a {
    color: #006666;
    font-weight: bold;
  }
  .uncwhome .audience {
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    font-size: 1em;
    width: auto;
    position: absolute;
    z-index: 70;
    width: 100%;
    padding: 0;
  }
  .audience ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 0;
  }
  .audience li {
    display: inline;
    color: #fff;
    border-left: solid 1px;
    font-weight: bold;
    position: relative;
    flex-grow: 1;
    text-align: center;
    padding: 3px 0;
  }
  .audience li:first-child {
    border: none;
    text-align: left;
  }
  .audience li a {
    font-weight: normal;
    color: #fff;
    padding: 0 5px 0;
  }
  #apply {
    border: none;
    background: #00B0B4;
  }
  #slideshow {

    margin-top: -2em;
padding-top: 2em;
background: #fff;
  }
  .sidebar {
    padding-right: 0;
  }
  .uncwhome .portals ul {
    font-size: 1.3em;
    padding: 3px 0;
  }
  .accent.secondary .first  {
    border-right: 1px solid #869BB2; 

    }

  
} 

@media only screen and (min-width: 1024px) { 

  .topic li {
    font-size: 1.0em;
  }
  .uncwhome .audience {
    font-size: 1em;
  }
  .audience li a {
    padding: 0 19.5px;
  }

}

.stats h1 span {
    font-size: 2em;
}
.stats div {
    border-right-color: #F7A900;
}
.flex-container {
	display: flex;
	flex-direction: row; 
	align-items: stretch;
	justify-content: center;
	margin: 2rem auto;
	 flex-wrap: wrap;
}
.accent .flex-item {
	width: 18%;   
	min-width: 180px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	position: relative;
}
.alt .flex-item div {
	width: 100%;
	margin: 0 5px;
	font-size: 15px;
	text-transform: uppercase;
}
.alt h1 {
	border-bottom: solid 1px #F7A900;
	font-size: 1.33em;
}

.banners .flex-item  {
max-width: 190px;
	margin: 0 5px;
	border: none;
	border-top: solid 5px #F7A900;

}
.banners .flex-item div {
	width: 100%;
	height: 100%;
		padding: 0 15px 50px 15px;

  background: url(blueBadge.fw.png) no-repeat center bottom;

}
.banners h1 a {
	color: rgb(252, 212, 144);
}
.banners h1 a span {
	background: url(blueBadgecircle.fw.png) no-repeat center center;
	color: #002B5A;
	padding: 30px 0 40px; 
}
.banners .source {
	text-transform: uppercase;
	font-style: italic;
	font-weight: bold;
}

@media only screen and (max-width: 45.78571em) {
    .banners div:nth-child(2), .banners div:nth-child(5),
    .stats.alt div:nth-child(3), .stats.alt div:nth-child(4)
     {
        display:none;
    }

.flex-container {

     flex-wrap:  nowrap;
}

.accent .flex-item {
    width: 33%;   
    min-width: 1px;

}
.alt, .banners {
    line-height: 1;
}
.alt h1, .stats h1 {
    font-size: 1em;
    
}
.banners .flex-item div {
    padding: 0 3px 40px 3px;
}
.banners h1 span {
    font-size: 2.5em;
}
}