/* TAGLINES */

body .taglineoverlay .fixed{
  padding: 0 70px;
  font-size: calc(var(--fs1) + 15px);
  font-family: var(--font-cursive);
  line-height: 1em;
}

/* WELCOME AND EVENTS */

.wrapperouter{
  max-width: 2200px;
  margin: 0 auto;
  transform: translateY(-40px);
  margin-bottom: 10px;
  height: 270px;
  display: flex;
  .wrapperleft{
    flex: 0 0 50%;
    width: 50%;
    padding-left: 70px;
    section{
      margin: 0;
      div.Magazine .Item{
        .ItemBefore{
          display: none;
        }
        .ItemInner{
          padding: 40px 60px;
          background-color: rgb(var(--color1));
          height: 270px;
          .Title{
            color: white;
            font-size: var(--fs4);
            margin-bottom: 20px;
          }
          .ItemContent{
            color: white;
            margin: 0;
            .paracontent{
              margin: 0;
              overflow: hidden;
              height: 4.5em;
              display: block;
              font-size: calc(var(--fs6) + 1px);
              line-height: 1.5em;
              p{
                margin: 0;
                font-size: calc(var(--fs6) + 1px);
                line-height: 1.5em;
              }
              a.buttonstyle{
                position: absolute;
                bottom: 60px;
                left: 60px;
                color: white;
                background-color: rgb(var(--color1));
                margin: 0;
                min-width: 120px;
                &:hover{
                  background-color: rgb(var(--color3));
                }
              }
            }
          }
          i{
            display: none;
          }
        }
      }
    }
  }
  .wrapperright{
    flex: 0 0 50%;
    width: 50%;
    padding-right: 30px;
    section.CalendarBloq{
      margin: 0;
      padding-left: 200px;
      height: 270px;
      overflow: hidden;
      .bloqTitle{
        position: absolute;
        margin: 0;
        font-weight: 900;
        top: 80px;
        left: 60px;
        width: 10ch;
      }
      .filterSourceSideBySideButtons{
        margin: 0;
        position: absolute;
        bottom: 40px;
        left: 60px;
        .sourceButtonWrapper{
          margin: 0;
          a.buttonstyle{
            margin: 0;
            min-width: 120px;
          }
        }
      }
      div.Grid ul{
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        li .Item{
          height: 270px;
          .ItemBefore{
            display: none;
          }
          .ItemInner{
            background-color: transparent !important;
            justify-content: space-between;
            padding: 0 0 25px;
            .Title{
              display: block;
              margin: 0 10px;
              color: rgb(var(--color6));
              font-weight: 100;
              text-transform: none;
              font-size: calc((var(--fs5) + var(--fs6))/2);
              height: calc(6em + 11px);
              padding-top: 10px;
              overflow: hidden;
              line-height: 1.5em;
            }
            .ItemDate{
              display: grid;
              place-items: center;
              color: white;
              background-color: rgb(var(--color2));
              height: 80px;
              width: 80px;
              padding: 12px 0;
              *{
                display: none;
                line-height: 0.5em;
              }
              d:first-child{
                display: block;
                font-size: 30px;
                font-weight: 900;
              }
              d:nth-child(2){
                display: block;
                font-size: 13px;
                text-transform: uppercase;
                font-weight: 900;
              }
            }
            .ItemContent{
              .tags, .location{
                display: none;
              }
              .paracontent .buttonstyle{
                display: flex;
                border: 0px solid white;
                color: rgb(var(--color2));
                font-weight: 800;
                background-color: transparent;
                &::before{
                  content: '\f055';
                  font-style: normal;
                  font-variant: normal;
                  text-rendering: auto;
                  -webkit-font-smoothing: antialiased;
                  font-family: "Font Awesome 6 Free";
                  font-weight: 900;
                  font-size: var(--fs5);
                  margin-right: 5px;
                }
                &:hover{
                  color: rgb(var(--color3));
                }
              }
            }
          }
          &:hover{
            .ItemInner .ItemDate{
              background-color: rgb(var(--color3));
            }
          }
        }
      }
    }
  }
}

@media (max-width: 800px) {
  body .taglineoverlay .fixed{
    padding: 0 30px;
    font-size: var(--fs1);
  }
  .wrapperouter{
    height: auto;
    flex-direction: column;
    .wrapperleft{
      width: 100%;
      padding-left: 30px;
    }
    .wrapperright{
      width: 100%;
      padding: 0 30px;
      section.CalendarBloq {
        height: auto;
        padding-left: 0px;
        .bloqTitle {
          position: static;
          top: 0px;
          left: 0px;
          width: 100%;
          padding: 20px 0 10px;
        }
        .filterSourceSideBySideButtons {
          margin: 0;
          position: static;
          bottom: 0px;
          left: 0px;
          padding-bottom: 30px;
        }
        div.Grid{
          height: 270px;
          overflow: hidden;
        }
      }
    }
  }
}

@media (max-width: 649px) {
  .wrapperouter{
    .wrapperright{
      section.CalendarBloq {
        .bloqTitle {
          text-align: center;
        }
        .filterSourceSideBySideButtons {
          justify-content: center;
        }
      }
    }
  }
}

