/*
 Theme Name:   JSG Foundation 6 Group
 Template:     jsg-f6
 Author:	   Brian Zavala
 Version:      1.0
 Text Domain:  jsg-f6-group
*/


html{visibility: hidden;opacity:0;}

.main-nav .menu-item:nth-last-child(2) .sub-menu, .main-nav .menu-item:nth-last-child(3) .sub-menu {
	left: 30px;
}

.main-nav .menu-item:last-child .sub-menu {
	left: inherit;
}

.color-bar div {
  height: 35px; }

.color-bar .tx-logo {
  max-width: 75rem;
  margin: 0 auto;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem; }
  @media screen and (max-width: 59.375em) {
    .color-bar .tx-logo {
      padding-left: 0; } }

.color-bar .jsg-logo {
  margin-top: 8px;
  display: inline-block; }

.color-bar .texas-logo {
  float: right;
  padding-top: 4px; }

.header-overlay {
  position: absolute;
  top: 35px;
  left: 0;
  height: 6.25rem;
  width: 100%;
  z-index: 2;
  zoom: 1;
  background: rgba(0, 0, 0, 0.5); }
  @media screen and (max-width: 59.375em) {
    .header-overlay {
      height: 4.25rem; } }

@media screen and (min-width: 40em) {
  .logo {
    position: absolute;
    top: 20px;
    left: 0;
    height: 0; } }

@media screen and (max-width: 59.375em) {
  .logo {
    top: 10px; } }

@media screen and (max-width: 59.375em) {
  .logo img {
    padding-right: 2rem; } }

.story .img {
  display: block;
  overflow: hidden;
  position: relative;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
  max-height: 600px;
  min-height: 425px;
  max-width: 100%; }
  .story .img:before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 48%; }

@media only screen and (max-width: 40em) {
  .story .img {
    min-height: 275px; } }

.story h2 {
  color: #bf5700;
  line-height: 1.125; }

@media only screen and (max-width: 40em) {
  .story h2 {
    font-size: 1.875rem;
    line-height: 1.25; } }

.story .button {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8125rem; }

.story i {
  margin-left: 5px; }

.view-more-posts {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase; }
  .view-more-posts i {
    font-size: 18px;
    margin: 0 3px; }

@media only screen and (max-width: 40em) {
  .view-more-posts .button {
    font-size: 1rem; }
  .view-more-posts i {
    font-size: 15px; } }

.main-top {
  position: relative; }
  .main-top .hangover {
    position: absolute;
    top: -105px;
    left: 0;
    z-index: 10000;
    width: 100%;
    background: #ebe8e2;
    background-clip: padding-box;
    zoom: 1; }
    @media screen and (max-width: 63.9375em) {
      .main-top .hangover {
        position: relative;
        top: 15px; } }
    .main-top .hangover p {
      padding: 20px 30px;
      font-size: 1.15rem;
      line-height: 1.75;
      font-weight: 300;
      margin-bottom: 0; }
      @media screen and (max-width: 39.9375em) {
        .main-top .hangover p {
          font-size: 1rem;
          line-height: 1.5; } }
    .main-top .hangover .student-buttons {
      padding-bottom: 15px; }

@media screen and (max-width: 59.375em) {
  .dgs-menu {
    display: none !important; } }

.dgs-menu .container-nav .nav {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0; }

@media screen and (min-width: 40em) {
  .container-footer {
    padding-bottom: 0; } }

.container-copyright {
  background: #fff;
  padding: 0 0 20px 0; }
  
  @media screen and (max-width: 39.9375em) {
	  .container-copyright {
		  padding-top: 20px; } }
  .container-copyright .copyright {
    text-align: center; }

.home .jumbotron.feature-carousel {
  min-height: 575px;
  max-height: 575px;
  height: 575px; }
  .home .jumbotron.feature-carousel .carousel-cell-image {
    height: 575px; }
    .home .jumbotron.feature-carousel .carousel-cell-image .text {
      min-height: 575px;
      max-height: 575px;
      height: 575px; }
      @media screen and (max-width: 63.9375em) {
        .home .jumbotron.feature-carousel .carousel-cell-image .text .title {
          bottom: 30px;
          margin-right: 20%; } }
      @media screen and (max-width: 39.9375em) {
        .home .jumbotron.feature-carousel .carousel-cell-image .text .title {
          bottom: 0;
          margin-right: 0; } }
      .home .jumbotron.feature-carousel .carousel-cell-image .text .title h1 {
        font-size: 3rem; }
        @media screen and (max-width: 63.9375em) {
          .home .jumbotron.feature-carousel .carousel-cell-image .text .title h1 {
            font-size: 2rem; } }
            
      .home .feature-carousel .carousel-cell-image .title {
          position: absolute;
          bottom: 185px;
          left: 0;
          z-index: 2;
          color: #fff;
          text-align: center;
          margin-right: 0;
          width: 100%;
      }
      .home .jumbotron.feature-carousel .carousel-cell-image .text .title h5 {
          font-size: 1.5rem;
          font-weight: 500;
          margin-bottom: 40px;
      }

.home .home-main {
  background: #fff !important;
  top: 0; }
  .home .home-main .story {
    margin-top: 90px; }
  .home .home-main .intro {
    margin-top: 120px; }
    @media screen and (max-width: 63.9375em) {
      .home .home-main .intro {
        margin-top: 35px; } }
  .home .home-main .intro.news-events {
	  margin-top: 60px; }
	  @media screen and (max-width: 63.9375em) {
      .home .home-main .intro.news-events {
        margin-top: 35px; } } 
    .home .home-main .intro p {
      margin: 0 0 1rem 0; }
    .home .home-main .intro .button {
      width: auto; }
    .home .home-main .intro .three-why {
      margin: 50px auto 0; }
    .home .home-main .intro .intro-description {
      border-left: 1px solid #ebe8e2;
      padding-left: 35px; }
      @media screen and (max-width: 63.9375em) {
        .home .home-main .intro .intro-description {
          border: 0;
          padding-left: 0; } }
  .home .home-main .research-areas {
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    width: 100%; }
    .home .home-main .research-areas .intro {
      margin: 0; }
      .home .home-main .research-areas .intro h2 {
        color: #fff; }
      .home .home-main .research-areas .intro h4 {
        font-size: 1.625rem !important; }
      .home .home-main .research-areas .intro a {
        color: #fff; }
      .home .home-main .research-areas .intro .description {
        margin: 0 15% 1rem 15%; }
        @media screen and (max-width: 39.9375em) {
          .home .home-main .research-areas .intro .description {
            margin: 0 0 1rem 0; } }

.page .jumbotron .img {
  min-height: 450px;
  max-height: 450px;
  height: 450px; }
  .page .jumbotron .img .text {
    min-height: 450px;
    max-height: 450px;
    height: 450px; }
    .page .jumbotron .img .text .text-block {
      bottom: 30px; }
      @media screen and (max-width: 39.9375em) {
        .page .jumbotron .img .text .text-block h1 {
          font-size: 2.5rem; } }

.page .stories {
  background: #fff; }
  .page .stories .story {
    margin-top: 0; }
    .page .stories .story .row:last-child .story-info {
      padding-bottom: 0; }

.page .jumbotron .text, .archive .jumbotron .text {
  min-height: 450px;
  max-height: 450px;
  height: 450px; }

.home .home-main .stories .story {
	margin-top: 140px;
}

.single .jumbotron .img {
	min-height: 100px;
    max-height: 100px;
    height: 100px;
}
.single .jumbotron .text {
    min-height: 100px;
    max-height: 100px;
    height: 100px;
}
.single .stories .story {
	top: 20px;
	z-index: auto;
}

.category-list .events {
	margin-top: 15px;
	padding-left: 15px;
}

.page .stories .story .story-text.no-border, 
.archive .stories .story .story-text.no-border {
	border: 0 !important;
}

.page .stories .story .story-text, 
.archive .stories .story .story-text {
	padding-left: 0;
	padding-right: 0;
}

.container-footer .footer-column-primary {
	border:0;
	padding-left: 35px;
}

@media screen and (max-width: 39.9375em) {
	.container-footer .footer-column-primary {
		padding-left: 0;
	}
	
	.container-footer .footer-secondary {
		margin-bottom: 25px;
	}	
}