/*****************************************************************************
Flickity Hero Section Start
*****************************************************************************/

@media only screen and (min-width:300px) and (max-width: 369px) {
    #content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
        background-position: center top !important;
        background-color: rgba(255, 255, 255, 1) !important;
        background-size: 125% !important;
        height: auto!important;
        min-height: 116vw !important;
    }
   .box {
        background: url(//www.mldcmu.ai/images/backgrounds/bg-seal.png) right bottom !important;
        background-size: 45% !important;
        background-repeat: no-repeat !important;
    }
}

@media only screen and (min-width:370px) and (max-width: 425px) {
    #content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
        background-position: center top;
        background-color: rgba(255, 255, 255, 1) !important;
        background-size: 125% !important;
        height: auto!important;
        min-height: 109vw !important;
    }
    .box {
        background: url(//www.mldcmu.ai/images/backgrounds/bg-seal.png) right bottom !important;
        background-size: 40% !important;
        background-repeat: no-repeat !important;
    }
}

@media only screen and (min-width:426px) and (max-width: 470px) {
    #content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
        background-position: center top !important;
        background-color: rgba(255, 255, 255, 1) !important;
        background-size: 125% !important;
        height: auto!important;
        min-height: 100vw !important;
    }
    .box {
        background: url(//www.mldcmu.ai/images/backgrounds/bg-seal.png) right bottom !important;
        background-size: 35% !important;
        background-repeat: no-repeat !important;
    }
}

@media only screen and (min-width: 471px) and (max-width: 767px) {
    #content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
    background-position: bottom;
    background-color: rgba(255, 255, 255, 1) !important;
    background-size: 125% !important;
    height: auto!important;
    min-height: 70vw !important;
    }
    .box {
        background: url(/images/bg-seal.png) right bottom !important;
        background-size: 18% !important;
        background-repeat: no-repeat !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    #content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
    background-position: bottom;
    background-color: rgba(255, 255, 255, 1) !important;
    background-size: 125% !important;
    height: auto!important;
    min-height: 69vw !important;
    }
.flickity-viewport {
    height: 100% !important;
}
}

@media only screen and (min-width: 1280px) and (max-width: 1600px) {
#content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
    background-position: center bottom;
    background-color: rgba(255, 255, 255, 1) !important;
    background-size: 100% !important;
    height: auto!important;
    min-height: 47vw !important;
}
.flickity-viewport {
    height: 100% !important;
}
}

@media only screen and (min-width: 1601px) and (max-width: 2000px) {
#content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
    background-position: center bottom;
    background-color: rgba(255, 255, 255, 1) !important;
    background-size: 100% !important;
    height: auto!important;
    min-height: 47.5vw !important;
}
.flickity-viewport {
    height: 100% !important;
}
}

@media only screen and (min-width: 2500px) {
#content .hero, #content>.js-flickityCustom.tall:first-child, #content>.js-flickityCustom:first-child, #content>.js-flickityCustom:first-child .flickity-viewport, #content>.js-flickityCustom:first-child .hero, #content>.tall, header.float+#content, header.float+#content .hero, header.float+#content>.js-flickityCustom:first-child {
    background-position: center bottom;
    background-color: rgba(255, 255, 255, 1) !important;
    background-size: cover;
    height: auto!important;
    min-height: 44vw !important;
}
.flickity-viewport {
    height: 100% !important;
}
}
.center-top {
    background-position: center top !important;
}

.top-left {
    background-position: top left !important;
}

/*****************************************************************************
Flickity Hero Section End
*****************************************************************************/

/*****************************************************************************
Index Page Only
*****************************************************************************/
#events h3 {
    color: rgba(187, 0, 0, 1);
    font-weight: 400;
    font-size: 36px;
    text-align: center;
}

#events.content>div:first-child {
    width: 100%;
    margin-bottom: 2em;
}

#tockify.sidebar {
    margin: auto;
    width: 100% !important;
    margin-left: unset !important;
    text-align: center !important;
} 

ul li {
    margin-left: 0px !important;
}

@media only screen and (max-width: 767px) {
    .search {
        width: 85% !important;
        padding-top: 2% !important;
        text-align: left;
    }
    .wordmark {
        display: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .search {
        width: 85% !important;
        min-height: 30px !important;
        text-align: left;
    }
    .wordmark {
        background: transparent !important;
        min-height: 0px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #sitename {
        border: 0 !important;
    }
    .content {
        /*
        margin: auto !important;
        text-align: center !important;
        */
    }
    #tockify.sidebar {
        margin: auto;
        width: 100%;
    }
    .content>div:first-child {
        width: 100% !important;
    }
}

@media only screen and (min-width: 1025px) {
    .search {
        width: 85% !important;
        min-height: 30px !important;
        text-align: left;
    }
    .wordmark {
        background: transparent !important;
        min-height: 0px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #tockify.sidebar {
        /*margin-left: 3% !important;
        margin: auto;
        width: 33%;*/
    }
}

@media only screen and (min-width: 1600px) and (max-width: 1920px) {
    .content {
        padding: 2em 9% !important;
    }
}

.grid>h2 {
    font-size: 2.15em;
    font-weight: 300;
    -webkit-box-flex: 0 0 100%;
    -moz-box-flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    line-height: 1.15em;
}

#content .hero .box h2 {
    font-size: 2.15em;
    color: #2d2d2d;
    font-weight: 400;
    line-height: 1.25em;
    margin: 0;
    padding: 0;
    border-bottom-color: transparent;
}

@media screen and (max-width: 767px) {
    #content .hero .box h2 {
        font-size: 1.5em
    }
    #news h2 {        
        font-size: 1.5em;
        color: #000;
        font-weight: 350;
    }
}

/*****************************************************************************
Index Page Only
*****************************************************************************/

/****************************************************************************
Banner Animation Start
*****************************************************************************/
.flickity-prev-next-button {
	width: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,.5);
}

.flickity-prev-next-button svg {
	height: 45%;
	top: 25%;
}

.absolute-banner {
    display: none;
}

.absolute-banner {
  position: absolute;
  margin-top: -40%;
  width: auto;
  max-width: 70%;
  min-width: 33.3%;
  height: 250px;
  background: 
    /*-webkit-linear-gradient(0deg, rgba(187, 0, 0, 0.65) 10%, rgba(204, 0, 0, 0.8) 100%);*/
    -webkit-linear-gradient(rgba(230, 100, 101, 0.9), rgba(145, 152, 229, 0.9));
  z-index: 1;
  border: 0px solid rgba(204, 0, 0, 0.5);
  border-radius: 0px;
}

.absolute-banner p, .absolute-banner h9, .absolute-banner h2 {
  color: rgba(255, 255, 255, 0.95);
  margin-left: 35px !important;
  margin: auto;
  font-size: 1.5em;  
  letter-spacing: 0.1em;
  margin-right: 1em;
}

.absolute-banner h9 {
  color: rgb(255, 255, 255, 0.9);
  font-size: 3em;
  text-transform: uppercase;
}

.absolute-banner h2 {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  font-size: 3em;
  text-transform: uppercase;
  padding-top: 0.6em !important;
  padding-bottom: 0.1em;
}

.absolute-banner span {
  border-right: .05em solid;
  animation: caret 1s steps(1) infinite;
}

div.absolute-banner {
    padding-top: 0em !important;
}

@media screen and (max-width: 767px) {
  .absolute-banner {
    position: relative;
    margin: 0;
    width: 100%;
    padding: 0;
    background-size: cover !important;
    background-repeat: no-repeat;
    max-width: 100%;
    height: auto;
    text-align: center;
    background: -webkit-linear-gradient(#e66465, #9198e5);
  }
  .absolute-banner h9, .absolute-banner h2 {
    font-size: 2em;
    font-weight: 400;
  }
  .absolute-banner h2 {
    padding-top: 0.6em !important;
  }
  .absolute-banner p {
    font-weight: 300;
  }
}

@media screen and (min-width: 768px) and (max-width: 960px) {
  .absolute-banner {
    margin-top: -65%;
    width: 50%;
    height: 280px;
  }
  .absolute-banner h9, .absolute-banner h2 {
    font-size: 2em;
    font-weight: 500;
  }
  .absolute-banner p {
    font-weight: 300;
  }
}

@media screen and (min-width: 960px) and (max-width: 1200px) {
  .absolute-banner {
    margin-top: -65%;
    width: 50%;
  }
  .absolute-banner h9, .absolute-banner h2 {
    font-size: xx-large;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1600px) {
  .absolute-banner {
    margin-top: -45%;
    width: 45%;
  }
  .absolute-banner h9, .absolute-banner h2 {
    font-size: 2.5em;
  }
}

@media screen and (min-width: 1601px) and (max-width: 1800px) {
  .absolute-banner {
    margin-top: -45%;
  }
}

@media screen and (min-width: 1801px) and (max-width: 1920px) {
  .absolute-banner {
    margin-top: -45% !important;
  }
}

@media screen and (min-width: 1921px) and (max-width: 2560px) {
  .absolute-banner {
    margin-top: -40%;
  }
}

@media screen and (min-width: 2561px) and (max-width: 3860px) {
  .absolute-banner {
      margin-top: -40%;
  }
}

/****************************************************************************
Banner Animation End
*****************************************************************************/