/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
  --xs: 10px;
  --sm: 20px;
  --md: 40px;
  --lg: 60px;
  --spacer: 100px;
  --accent: #E3328B;
  --accentDark: #BE1E6F;
  --primaryText: #212121;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: var(--accentDark);
  color: #fff;
}

header {
  margin-top: var(--sm);
  padding-top: var(--xs);
  margin-bottom: var(--lg);

  margin-bottom: 0;
}

header h1 {
  margin: var(--md) auto;
}

#intro {
  margin-bottom: var(--lg);
  font-size: 1.2rem;
}

#intro img {
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width:1200px) {
  #intro img {
    width: 64px;
    height: 64px;
  }
}

#h-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

header button {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.boxed-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

a,
button {
  -webkit-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out
}

.ghost-button {
  color: var(--accent);
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  border: none;
  background: transparent;
}

.ghost-button:hover {
  color: var(--accentDark);
}


.btn.btn-download {
  background-color: #fff;
  border-radius: 0.625rem;
  color: var(--primaryText);
  padding: 10px 20px;
}

.btn.btn-download i,
.btn.btn-download svg {
  margin-right: 5px;
}

.card-image {
  position: relative;
  width: 100%;
  min-height: 252px;
  background-color: gray;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.card-image .grayscale,
.card-image::after,
.card-image .grayscale:before {
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
}

.card-image::after {
  width: 100%;
  left: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(55, 55, 55, 0)), color-stop(50%, rgba(55, 55, 55, 0.20)), to(rgba(55, 55, 55, 0.60)));
  background: -o-linear-gradient(top, rgba(55, 55, 55, 0) 0%, rgba(55, 55, 55, 0.20) 50%, rgba(55, 55, 55, 0.60) 100%);
  background: linear-gradient(180deg, rgba(55, 55, 55, 0) 0%, rgba(55, 55, 55, 0.20) 50%, rgba(55, 55, 55, 0.60) 100%);
}

.card-image .grayscale {
  width: 100%;
  /* left: 100%; */
  /* clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%); */
  /* transition: left .5s ease-in-out 1s, clip-path .25s ease-in-out 1.5s; */
  background-position: center;
  background-size: cover;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);

  -webkit-transition: -webkit-clip-path .8s ease-in-out 3s;

  transition: -webkit-clip-path .8s ease-in-out 3s;

  -o-transition: clip-path .8s ease-in-out 3s;

  transition: clip-path .8s ease-in-out 3s;

  transition: clip-path .8s ease-in-out 3s, -webkit-clip-path .8s ease-in-out 3s;
  -webkit-clip-path: polygon(100% 0, 100% 0%, 100% 100%, 100% 100%);
  clip-path: polygon(100% 0, 100% 0%, 100% 100%, 100% 100%);
}

/* .card-image .grayscale:before {
  filter: grayscale(0);
  background-color: rgba(227, 50, 139, 1);
  width: 100%;
} */

.js-show .card-image .grayscale {
  -webkit-clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  left: 0;
}

.js-show .card-image .grayscale:before {
  left: -50%;
}


.js-current .card-image {
  min-height: 486px;
  height: 100%;
}

.card-image .month,
.card-image .btn-download {
  position: absolute;
  z-index: 500;
}

.card-image .month {
  top: 10px;
  left: 10px;
  background: rgba(33, 33, 33, 0.90);
  color: #fff;
  text-transform: uppercase;
  padding: 0.375rem 0.625rem;
}

.card-image .btn-download {
  bottom: 10px;
  right: 10px;
  font-weight: bold;
}




@media screen and (min-width:1200px) {
  .container-fluid {
    max-width: 100%;
    max-width: calc(100% - 140px);
  }
}


#jan .card-image {
  background-image: url('../images/jan.jpg');
}

#feb .card-image {
  background-image: url('../images/feb.jpg');
}

#mar .card-image {
  background-image: url('../images/mar.jpg');
}

#apr .card-image {
  background-image: url('../images/apr.jpg');
}

#may .card-image {
  background-image: url('../images/may.jpg');
}

#jun .card-image {
  background-image: url('../images/jun.jpg');
}

#jul .card-image {
  background-image: url('../images/jul.jpg');
}

#aug .card-image {
  background-image: url('../images/aug.jpg');
}

#sep .card-image {
  background-image: url('../images/sep.jpg');
}

#oct .card-image {
  background-image: url('../images/oct.jpg');
}

#nov .card-image {
  background-image: url('../images/nov.jpg');
}

#dec .card-image {
  background-image: url('../images/dec.jpg');
}

#cover .card-image {
  background-image: url('../images/cover.jpg');
}


#downloadModal .modal-header {
  border: none;
}

.modal-dialog {
  position: fixed;
  top: auto;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.modal {
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.modal-dialog {
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  /* Position the modal initially off the screen */
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  /* Reveal the modal by sliding it from bottom to top */
}

.ctas-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  margin-top: var(--md);
}

.ctas-wrapper a {
  margin-bottom: 20px;
  width: auto;
}


#img-2 img {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

#images-wrapper {
  margin-bottom: var(--spacer);
}

footer {
  padding-bottom: var(--xs);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  color: var(--accentDark);
}



/* Modal desktop */
@media screen and (min-width:1200px) {
  .modal-dialog {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  .modal.show .modal-dialog {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    bottom: auto;
  }
}


#nov+#cover,
#dec.current+#cover {
  display: none;
}
