/*--------------HOME GRID CONTAINER-------------------*/
/*----------------------------------------------------*/
header.redesign .mobile-nav .container-fluid {
    border: 0px !important; /*--hides grey bottom border under nav bar--*/
}
.home-grid-container {
  display: none;
}
@media (min-width: 701px) { 
.home-grid-container {
  margin-left: 5%;
  margin-right: 5%;
  display: grid;
  width: 100%;
  height: 100%;
  align-content: start;
  grid-template-columns: 8.33% 8.33% 8.33% 8.33% 8.33% 8.33% 8.33% 8.33% 8.33% 8.33% 8.33% 8.33%;
  grid-template-rows: 100px 100px 100px 100px 100px 100px 100px 100px;
  gap: 10px;
  background-color: #ffffff;
  padding: 10px;
}
}

/*--show/hide mobile carousel--*/
@media (max-width: 700px) { 
    .mobile {
        display: block;
    }
}
@media (min-width: 701px) {
    .mobile {
        display: none;
    }
}

/*------- FOUR PICS --------*/


.home-grid-container .one {
  display: block;
  border-radius: 3px;
  grid-column: 2 / span 6; 
  grid-row: 1 / 5; 
  -webkit-animation: slide 0.5s forwards;
  -webkit-animation-delay: 2s;
  animation: slide 0.5s forwards;
  animation-delay: 2s;
  }
.home-grid-container .two {
  grid-column: 1 / 4;
  grid-row: 4 / 7;
  z-index: 2;
  border-radius: 3px;
  background: url('https://www.indwes.edu/_img/_new-site/_home/video_shoot.png');
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
}
.home-grid-container .three {
  grid-column: 5 / span 3;
  grid-row: 5 / span 3;
  z-index: 3;
  border-radius: 3px;
  margin-top: -50px;
  margin-left: -60px;
  background: url('https://www.indwes.edu/_img/_new-site/_home/professor_at_whiteboard.png');
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
}
.home-grid-container .four {
  grid-column: 8 / span 3;
  grid-row: 4 / span 3;
  z-index: 4;
  border-radius: 3px;
 /*--margin-top: -50px;--*/
  margin-left: -60px;
  margin-right: 30px;
  background: url('https://www.indwes.edu/_img/_new-site/_home/flags_at_football_game.png');
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  animation: 2s ease-out 0s 1 slideInFromRight;
}

/*------- TEXT BOXES ----------*/
/*-----------------------------*/
@media (max-width: 760px) {
.text-box-mobile { /*--XS only--*/
  z-index: 6;
  background: rgba(244, 244, 244, 0.9);
  padding: 30px;
  margin-top: -70px;
  width: 100%;
  text-align: center;
  font-size: 2.0rem;
  }
}
@media (min-width: 760px) { /*-- SM and larger --*/
  .home-grid-container .transparent-text-box {
  display: block;
  grid-column: 7 / span 4;
  grid-row: 2 / span 2;
  z-index: 6;
  border-radius: 3px;
  text-align: left;
  background: rgba(244, 244, 244, 0.9);
  z-index: 2;
  padding: 30px;
  margin-top: 0;
  }
}
.home-grid-container .transparent-text-box .discover-text {
  font-size: 2.3rem;
  font-family: Surveyor;
}


.item {
  border: 10px solid #ffffff;
  font-size: 50px;
  color: aqua;
}

/*------ HOME GRID ANIMATIONS ---------*/
/*-------------------------------------*/
/***** Global Slide *****/
.home-grid-container .slide-right, .slide-left {
  width: 100%;
}

/***** Slide Right *****/
.home-grid-container .slide-right {
  animation: 3s slide-right;
}
@keyframes slide-right {
  from {
    margin-left: -100%;
  }
  to {
    margin-left: 0%;
  }
}

/***** Slide Left *****/
.home-grid-container .slide-left {
  animation: 3s slide-left;
}
@keyframes slide-left {
  from {
    margin-left: 100%;
  }
  to {
    margin-left: 0%;
  }
}

/*---only display #1 picture on XS ---*/
/*----Hide starting at `min-width: 0`, and then show at the `sm` breakpoint---*/
.display-starting-small {
  display: none;
}
@media (min-width: 576px) { /*-- 576 is small break --*/
  .home-grid-container .display-starting-small {
    display: block;
  }
}


/*----------- GREY WE ARE WILDCATS ROW -------------*/
/*--------------------------------------------------*/
.grey-dot {
    background-image: url('https://www.indwes.edu/_img/_new-site/_home/grey-dots.gif');
    background-position: 0 100%;
    background-size: auto;
    background-repeat: repeat-x;
    padding: 3vw 0 3vw;
}
.align-full {
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw);
    position: relative;
}
.grey-dot p {
  font-size: 1rem;
  color: #ffffff;
  font-family: Gotham Narrow;
  font-style: italic;
}
.grey-dot h1 {
  font-size: 1.8rem;
  font-family: Surveyor;
}
.wildcat-head {
    filter: drop-shadow(0 0 0.75rem white);
    height: 75px;
    margin-top: 20px;
}
@media (min-width: 576px) {
.wildcat-head {
    height: 120px;
    }
}


/*---------------- LIGHT GREY BOXES ----------------*/
/*--------------------------------------------------*/


/*------------ BECOME A WILDCAT ROW--------------*/
/*-----------------------------------------------*/
.become-wildcat {  
  background: 
    linear-gradient(to bottom, rgba(255, 255, 255, 1.0), rgba(255, 255, 255,0.65)),
    url('https://www.indwes.edu/_img/_new-site/_home/flags_at_football_game.png');
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  min-height: 600px;
}
@media (max-width: 576px) {
    .become-wildcat .xl-text { /*--- become a wildcat title MOBILE ---*/
        display: block;
        width: 100%;
        text-align: center;
        margin: auto;
        margin-top: -30px;
        font-size: 2.5rem;
    }
}
.become-wildcat .xl-text {
  font-family: 'Surveyor';
  font-size: 3rem;
  line-height: 4rem;
  color: #4d4d4d;
}
.become-wildcat .video-placeholder {
  max-width: 100%;
}

/*------------- NEWS GRID - RED BACKGROUND --------------*/
/*-------------------------------------------------------*/
.red-background-row {
  background: url(https://www.indwes.edu/_img/_new-site/advancement/red-angles-background.jpeg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  padding: 90px 0px;
}
.red-background-row h2 {
  color: #ffffff;
  margin-bottom: 45px;
}
@media (max-width: 576px) {
    .news-box__container.card, .news-box__container.card.home {
        margin-bottom: 30px;
    }
}
.news-box__container.card.home {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/*-- CARDS --*/

.news-box__container.card {
    border-radius: 6px;
    position: relative;
    padding-bottom: 0;
    overflow: auto;
    background-color: transparent;
}
/*--IMAGES--*/
@media (max-width: 576px) { /*keep cards landscape on mobile*/
    .news-box__container.card.home .news-box__image {
    max-height: 260px; 
    }
}
.news-box__container.card.home .news-box__image {
    width:100%;
    height:100%;
    object-fit: cover;
    overflow: hidden;
    position: relative;
    z-index: 3;
    border-radius: 6px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/*-- ARTICLE OVERLAY TEXT --*/
.news-box__container.card.home .news-box__title {
    position: absolute;
    bottom: 0px;
    background-color: rgba(243, 118, 85, 0.75); /*rgba(152, 40, 50, 0.75)*/
    padding: 20px;
    padding-bottom: 30px;
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    z-index: 4;
    border-radius: 0 0 6px 6px;
    left: 0;
    right: 0;
}

/*-- ARTICLE PILL TAG --*/
 .news-box__title:after {
    background-color: #006685;
    content: "IWU NEWS";
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: .65rem;
    padding: 5px 12px 5px 12px;
    border-radius: 0 6px 0 6px;
}


/*----------- 5050 ACADEMIC PROGRAMS ROW---------*/
/*-----------------------------------------------*/
.fifty .left50 {
  padding: 50px 40px;
}
@media screen and (min-width: 992px) {
    .fifty .left50 {
    padding-left: 200px;
    padding-top: 140px;
    }   
}

@media (max-width: 991px) {
    .fifty .right50 {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.9)),
    url('/render/file.act?path=/_img/index/drawing-chapel.png');
    }
}

.fifty .right50 {
  opacity: 0.4;
  min-height: 600px; /* keeps image big when stacked on mobile */
  background: url('/render/file.act?path=/_img/index/drawing-chapel.png');
  background-position: center; /* Center the image */
  background-repeat: no-repeat; 
  background-size: cover; /* image to cover the entire container */
}
.fifty li a {
  line-height: 2.5em;
 }
.fifty li {
  list-style-type: none; /* removes bullets */
}


/*-------------- EVENT CALENDAR ----------------*/
/*----------------------------------------------*/
#event-calendar-app .bottom-navigation button  {
    display: none !important;
}   

/*----------- RED HOVER BOXES ROW --------------*/
/*----------------------------------------------*/

/*--STYLING RED BOXES AS LINKS--*/
#red-cards-row .flex-container-small-cards a {
  width: 100%;
  height: 100%;
  display: block;
  color: #ffffff;
  text-decoration: none;
}
#red-cards-row .flex-container-small-cards a:hover {
  color: #ffffff; /* Keep text white */
}

/*-- RED BOX LAYOUT AS FLEX --*/
#red-cards-row .flex-container-small-cards {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 600px) {
    #red-cards-row .flex-item {
        width: 47% !important;  /*-- make red cards 2 wide on mobile --*/
        margin-top: 0px !important;
    }
     #red-cards-row .row1 {
         margin-bottom: 20px;
         margin-top: 50px;
     }
}

#red-cards-row .flex-item {
  padding: 5px;
  padding-top: 30px;
  width: 23%;
  height: 150px;
  margin-top: 20px;
  line-height: 1.5em;
  border-radius: 3px;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  -webkit-transition: background-color 1s ease-out;
  -moz-transition: background-color 1s ease-out;
  -o-transition: background-color 1s ease-out;
  transition: background-color 1s ease-out;
}

/*--Background colors for red boxes--*/
#red-cards-row .row1 {
  background: #982832; /* IWU red */
}
#red-cards-row .row1:hover {
  background: #701d29; /* Dark red */
}
#red-cards-row .row2 {
  background: #701d29; /* Dark red */
}
#red-cards-row .row2:hover {
  background: #982832; /* IWU red */
}
