@import url("NRJStyle1.css");

main {
  background-color: #efefef;
}

section.Banner {
  height: 600px;
  background: #111111;
  color: white;
  display: none;
  position: relative;
  padding: 0;
}
section.Banner > div.Main {
  display: flex;
  justify-content: space-between;
  margin: auto;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0 10px;
}
section.Banner > div.Main > * {
  margin: auto;
}
section.Banner > div.Main div.Info {
  width: 640px;
}
section.Banner > div.Main div.Info > *:not(.Sign) {
  margin: 5px 0;
  text-align: center;
}
section.Banner > div.Main div.Info > h2 {
  font: bold 30px sans-serif;
  margin: 0;
}
section.Banner > div.Main div.Info > h1 {
  font: bold 40px sans-serif;
  color: #ffcc00;
}
section.Banner > div.Main div.Info > p {
  font: 20px sans-serif;
}
section.Banner > div.Main div.Info > div.Sign {
  margin-top: 10px;
}
section.Banner > div.Main div.Info > a.Sign {
  display: inline-block;
  color: #000;
  background-color: #ffcc00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}
section.Banner > div.Main div.Info > a.Sign:hover {
  background-color: #e6b800;
}
section.Banner > div.Main div.Pointer {
  width: 32px;
  height: 51px;
  cursor: pointer;
}
section.Banner > div.Main div.Pointer > i {
  font-size: 50px;
}
section.Banner > div.Rounds {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 40px;
  left: calc(50% - 56px);
}
section.Banner > div.Rounds > div {
  height: 10px;
  width: 10px;
  border: 4px solid white;
  border-radius: 50%;
  background: transparent;
  margin: 0 5px;
}
section.Banner > div.Rounds > div.active {
  background: #ffcc00;
}

section.Banner:nth-of-type(1) {
  background: url("../Images/Banner/New3.jpg") no-repeat 50% 0%;
  background-size: cover;
}

section.Banner:nth-of-type(2) {
  background: url("../Images/130.jpg") no-repeat 50% 50%;
  background-size: cover;
}

section.Banner:nth-of-type(3) {
  background: url("../Images/131.jpg") no-repeat 50% 50%;
  background-size: cover;
}

section.Banner:nth-of-type(4) {
  background: url("../Images/127.jpg") no-repeat 50% 50%;
  background-size: cover;
}

section.Banner:nth-of-type(5) {
  background: url("../Images/Jessica/JessicaExit.jpg") no-repeat 50% 70%;
  background-size: cover;
}

section.Banner.active {
  display: block;
}

section.Offer {
  font: 20px "mft", sans-serif;
  padding-bottom: 30px;
}
section.Offer div.Start > h2 {
  font-weight: bold;
  font-size: 28px;
  padding: 40px 0 20px;
}
section.Offer div.Start > p > a {
  color: #ffcc00;
}
section.Offer div.Start > p:first-of-type {
  padding-top: 10px;
}
section.Offer > div.Photos {
  display: flex;
  justify-content: space-around;
  padding: 15px 0;
}
section.Offer > div.Photos > figure {
  flex-basis: 45%;
  padding: 5px;
  border-radius: 8px;
}
section.Offer > div.Photos > figure > img {
  width: 100%;
  height: auto;
  margin-bottom: -5px;
}
section.Offer > div.Photos > div {
  display: none;
}
section.Offer > div.Photos:first-of-type {
  padding-top: 40px;
}
section.Offer > div.Photos:last-of-type {
  padding-bottom: 30px;
}
section.Offer div.Safety {
  font-family: sans-serif;
  padding: 10px;
}
section.Offer div.Safety > ul {
  margin: 10px 0;
}
section.Offer div.Safety > ul > li {
  margin: 20px 0;
  font-size: 16px;
}
section.Offer div.Safety > ul > li > i {
  margin-right: 5px;
}
section.Offer div.Safety > ul > li span {
  font-weight: bold;
}

section.Events {
  background: #e8e8e8;
  padding-bottom: 60px;
}
section.Events > h1 {
  padding: 50px 0;
  font-size: 32px;
  text-align: center;
  margin: 0;
}
section.Events > menu {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}
section.Events > menu > div {
  background: white;
  border-radius: 8px;
  padding: 15px;
}
section.Events > menu > div a {
  text-decoration: none;
}
section.Events > menu > div > h2 {
  text-align: center;
  margin: 0 auto 20px;
  font-weight: bold;
  font-size: 22px;
}
section.Events > menu > div > img {
  width: 260px;
  border-radius: 50%;
  margin-bottom: 20px;
}
section.Events > menu > div > h2 ~ * {
  margin: 10px 0;
}
section.Events > menu > div > div > span:nth-of-type(odd) {
  float: left;
  display: block;
}
section.Events > menu > div > div > span:nth-of-type(even) {
  font-size: 17px;
  font-weight: bold;
  display: block;
  margin-left: 80px;
}
section.Events > menu > div > a {
  color: #ffcc00;
  font-weight: bold;
  padding-top: 2px;
}
section.Events > menu > div > div.Sign {
  margin-top: 20px;
}

@media only all and (max-width: 1010px) {
  section.Events {
    padding-bottom: 1px;
  }
  section.Events > menu {
    display: block;
  }
  section.Events > menu > div {
    background: white;
    padding: 15px;
    width: 640px;
    margin: 0 auto 40px;
  }
  section.Events > menu > div > h2 {
    text-align: left;
    margin: 40px auto 20px;
    font-size: 22px;
  }
  section.Events > menu > div > img {
    margin-bottom: 35px;
    float: right;
  }
  section.Events > menu > div > img ~ * {
    margin-left: 40px;
  }
  section.Events > menu > div > div > span:nth-of-type(odd) {
    float: left;
    display: block;
  }
  section.Events > menu > div > div > span:nth-of-type(even) {
    font-size: 17px;
    font-weight: bold;
    display: block;
    margin-left: 80px;
  }
  section.Events > menu > div > div.Sign {
    clear: both;
    margin-top: 30px;
  }
}
@media only all and (max-width: 800px) {
  section.Banner, section.Banner.active {
    display: none;
  }
  section.Banner:first-of-type {
    display: block;
  }
  section.Banner:first-of-type > div.Rounds, section.Banner:first-of-type > div.Main > div.Pointer {
    display: none;
  }
  section.Offer > div.Start {
    border-radius: 8px;
    background: #e8e8e8;
    padding: 25px 15px 20px;
    margin-top: 15px;
  }
  section.Offer > div.Start h2 {
    padding: 0 0 5px;
  }
  section.Offer > div.Photos:nth-of-type(2),
  section.Offer > div.Photos:nth-of-type(3) {
    display: block;
    padding-top: 0;
  }
  section.Offer > div.Photos:nth-of-type(2) > div,
  section.Offer > div.Photos:nth-of-type(3) > div {
    display: block;
    padding: 25px 15px 20px;
    border-radius: 8px;
    background: #e8e8e8;
  }
  section.Offer > div.Photos:nth-of-type(2) > div > h1,
  section.Offer > div.Photos:nth-of-type(3) > div > h1 {
    font-weight: bold;
    font-size: 28px;
    padding: 0 0 20px;
  }
  section.Offer > div.Photos:nth-of-type(2) > div > div.Sign,
  section.Offer > div.Photos:nth-of-type(3) > div > div.Sign {
    margin-top: 20px;
  }
  section.Offer > div.Photos:nth-of-type(2) > figure,
  section.Offer > div.Photos:nth-of-type(3) > figure {
    box-sizing: border-box;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    border: none;
    padding: 25px 0 20px;
  }
  section.Offer div.Photos:nth-of-type(2) {
    padding-bottom: 0;
  }
  section.Offer div.Photos:nth-of-type(3) {
    padding-top: 0;
  }
  section.Offer div.Safety {
    border-radius: 8px;
    background: #e8e8e8;
  }
}
@media only all and (max-width: 630px) {
  section.Banner {
    height: 425px;
  }
  section.Events > menu > div {
    width: 100%;
  }
  section.Events > menu > div > img {
    margin: auto;
    width: 350px;
  }
}
@media only all and (max-width: 560px) {
  section.Banner:first-of-type div.Main div.Info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  section.Banner:first-of-type div.Main div.Info h2 {
    font-size: 26px;
  }
  section.Banner:first-of-type div.Main div.Info h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  section.Banner:first-of-type div.Main div.Info p {
    font-size: 15px;
  }
  section.Banner:first-of-type div.Main div.Info div.Sign {
    padding: 10px;
    margin: 15px auto 0;
  }
}
@media only all and (max-width: 450px) {
  section.Events > menu > div > img {
    width: 100%;
  }
}