
/* ADD TO CALENDAR CSS OVERRIDES */
.jBox-overlay .jBox-closeButton {
  top: 17% !important;
  right: 49% !important;
  height: 0% !important;
}

/* ORIGINAL MODAL OVERRIDE */
.jBox-Modal .jBox-content {
  padding: 50px 20px !important;
}

/* ADD TO CALENDAR CARD MODAL AND BANNER STYLING */
/* NOTE: you need to target a higher level parent id or class before drilling down to the key element you want to effect the styling - james */
/* NOTE: below is a prime example as to why SASS is critical for large scale styling */

.jBox-container > .jBox-content > div ul {
  display: block;
  width: 92%;
  margin: 0 auto;
  height: 100px;
}
[id^="addCalBanner"] > ul > li,
[id^="addCal-card"] > ul > li {
  height: 100px;
  width: 100px;
  float: left !important;
  position: initial !important;
  z-index: 3;
  padding-right: 0!important;
  margin-right: 2% !important;
  margin-left: 2% !important;
}
.jBox-container > .jBox-content > div > ul > li > a:hover {
  text-decoration: none;
}
a:hover {
  /*color: black !important;*/
  text-decoration: none !important;
}
a.icon-google, a.icon-yahoo, a.icon-ical, a.icon-outlook {
  display: block;
  height: 50px;
  padding: 55px 0 0 0;
  position: relative;
  top: 40%;
  text-decoration: none;
  margin: 0 auto;
  text-align: center;
  vertical-align: bottom;
  font-size: 13px;
  font-style: normal;
  font-weight: initial;
  line-height: initial;
  color: black;
  width: 100% !important;
}
a[id^="google-cal-"] > i, a[id^="yahoo-cal-"] > i, a[id^="outlook-ics-"] > i, a[id^="ical-ics-"] > i {
  color: #FFFFFF;
  font-size: 13px;
  font-style: normal;
  font-weight: initial;
  line-height: initial;
  position: relative;
  top: 100%;
  color: black;
}

/* MEDIA QUERY FOR ADD TO CALENDAR CARD MODAL AND BANNER STYLING */
@media (max-width: 480px) {
  .jBox-container > .jBox-content > div ul {
    display: block;
    width: 92%;
    margin: 0 4% 0 0;
    height: 100px;
    padding-left: 14%;
  }
  [id^="addCalBanner"] > ul > li,
  [id^="addCal-card"] > ul > li {
    height: 100px;
    width: 100px;
    float: left !important;
    position: initial !important;
    z-index: 3;
    padding-right: 0!important;
    margin-left: 0!important;
    margin-right: 10%;
  }
  a:hover {
    /*color: black !important;*/
    text-decoration: none !important;
  }
  a.icon-google, a.icon-yahoo, a.icon-ical, a.icon-outlook {
    display: block;
    height: 50px;
    padding: 55px 0 0 0;
    position: relative;
    top: 40%;
    text-decoration: none;
    margin: 0 auto;
    text-align: center;
    vertical-align: bottom;
    font-size: 13px;
    font-style: normal;
    font-weight: initial;
    line-height: initial;
    color: black;
    width: 100% !important;
  }
  a[id^="google-cal-"] > i, a[id^="yahoo-cal-"] > i, a[id^="outlook-ics-"] > i, a[id^="ical-ics-"] > i {
    color: #FFFFFF;
    font-size: 13px;
    font-style: normal;
    font-weight: initial;
    line-height: initial;
    position: relative;
    top: 100%;
    color: black;
  }
}

/* ADD TO CALENDAR ICONS */
.icon-google {
  background-image: url("../assets/goo-cal.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon-yahoo {
  background-image: url("../assets/yah-cal.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon-outlook {
  background-image: url("../assets/mic-cal.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon-ical {
  background-image: url("../assets/mac-cal.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
