﻿/* ------------------------------------- */
/* ------------------------------------- */
/* CSS from loyaltyincloud.crm.comping.hr:8200 */
/* ------------------------------------- */
/* ------------------------------------- */
#modalContainer {
  position: absolute;
  left: 5%;
  top: 5%;
  width: 90%;
  height: 90%;
  z-index: 100;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: stretch;
}

.banner-wrapper {
  border: 2px solid #87AB31;
  border-radius: 10px;
  background-color: white;
  left: 25%;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 900px;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: 'NeoSansPro-Regular', Arial, sans-serif;
  max-height: 630px;
}

.close-button-container {
  float: right;
  margin-right: 10px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .close-button-container img {
    max-width: 77%;
    float: right;
  }
}

/* ------------------------------------- */
/* ------------------------------------- */
/* new CSS */
/* ------------------------------------- */
/* ------------------------------------- */
.banner-wrapper {
  max-width: 900px;
}

.banner-wrapper p {
  margin: 0;
}

.logo-container {
  margin-top: 45px;
  text-align: center;
}

.instructions-container {
  width: 77%;
  margin: 0 auto;
}

.top-text-container {
  padding-top: 55px;
  padding-bottom: 65px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.banner-title,
.bottom-text {
  text-align: center;
}

.banner-title {
  font-size: 40px;
}

.bottom-text-container {
  margin-left: -2%;
  margin-right: -2%;
  overflow: hidden;
  font-family: 'FrugalSans-Light', Helvetica, sans-serif;
  font-size: 20px;
  color: #858587;
}

.bottom-text {
  margin-bottom: 35px;
}

.activity-container {
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 35px;
  float: left;
}

.activity-container.first {
  width: 20%;
}

.activity-container.second {
  width: 25%;
}

.activity-container.third {
  width: 20%;
}

.activity-container.fourth {
  width: 18%;
}

.emphasize {
  font-family: 'FrugalSans-Bold', Helvetica, sans-serif;
  color: #87AB31;
}

.text-nowrap {
  white-space: nowrap;
}

/* ------------------------------------- */
/* ------------------------------------- */
/* media queries */
/* ------------------------------------- */
/* ------------------------------------- */
@media (min-width: 700px) and (max-width: 1000px) {
  .activity-container {
    font-size: 18px;
  }
}

@media (max-width: 699px) {
  .instructions-container {
    width: 90%;
  }

  .bottom-text-container .activity-container {
    width: 46%;
  }
}

@media (min-width: 400px) and (max-width: 699px) {
  .logo-container img {
    width: 140px;
  }

  .banner-title {
    font-size: 35px;
  }

  .bottom-text-container {
    font-size: 16px;
  }
}

@media (max-width: 1100px) and (orientation: landscape),
       (max-height: 600px) and (orientation: portrait) {
  #modalContainer.banner {
    overflow-y: scroll;
  }
}

@media (max-width: 1100px) and (orientation: landscape) {
  .banner .banner-wrapper {
    margin-top: 180px;
  }
}

@media (max-height: 600px) and (orientation: portrait) {
  .banner .banner-wrapper {
    /*margin-top: 70px;*/
  }
}

@media (max-width: 399px),
       (max-width: 650px) and (orientation: landscape) {
  .logo-container img {
    width: 105px;
  }

  .top-text-container {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .banner-title {
    font-size: 30px;
  }

  .bottom-text-container {
    font-size: 14px;
  }

  .bottom-text {
    margin-bottom: 25px;
  }

  .activity-container {
    margin-bottom: 20px;
  }
}