/* WELCOME */

body section.mod_rounded_welcome{
  padding-bottom: 205px !important;
  div.Welcome > div.WelcomeFlex .ItemImage .ItemBefore{
    border-radius: var(--general-border-radius);
  }
  div.Welcome>div.WelcomeFlex{
    --welcome-max-width: 860px;
    label{
      flex: 0 0 fit-content;
      border-bottom: 0px solid transparent;
      background-color: transparent;
      opacity: 0.5;
      color: rgba(var(--color3),0.5) !important;
      font-weight: 900;
      &:hover{
        background-color: transparent;
        color: rgba(var(--color3),0.8) !important;
      }
    }
    input:checked + label{
      background-color: transparent;
      color: rgba(var(--color3),1) !important;
    }
    label:nth-child(2){
      margin-left: 30px;
      position: relative;
      &::before{
        content: '';
        height: 20px;
        width: 1px;
        background-color: rgb(var(--color3));
        position: absolute;
        right: 0;
        top: calc(50% - 10px);
      }
    }
  }
  &::before, &::after{
    content: '';
    position: absolute;
    bottom: 0;
    width: 26vw;
    height: 26vw;
    background-size: contain;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-image: var(--white-watermark);
    left: 1vw;
    opacity: 0.25;
  }
  &::after{
    left: auto;
    right: 1vw;
    visibility: visible;
  }
}

/* WRAPPER */

:root{
  --events-newsletters-bg-image: var(--events-newsletters-bg-secondary);
}
body.logo-Primary div.wrapper{
  --events-newsletters-bg-image: var(--events-newsletters-bg-primary);
}

body div.wrapper{
  --custom-bg-gradient: linear-gradient(rgba(var(--color1),0.8), rgba(var(--color1),0.8));
  background-image: var(--custom-bg-gradient), var(--events-newsletters-bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment:  scroll, fixed;
  padding: 0px 20px 80px 20px;
  .wrapperlinks{
    margin-bottom: -70px;
  }
  .wrapperinner{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    .wrapperleft{
      display: inline-block;
      max-width: 57%;
      width: 798px;
      flex: 2 2 57%;
    }
    .wrapperright{
      display: inline-block;
      max-width: 38%;
      width: 532px;
      flex: 1 1 38%;
    }
    .bloqTitle{
      text-align: center;
      padding-bottom: 20px;
      span{
        color: white !important;
      }
    }
    section{
      padding-bottom: 70px;
      div.Slider{
        padding: 0;
        --SliderItemMinWidth: 220px;
        --SliderRowHeight: 250px;
        .nav{
          top: auto;
          bottom: -67px;
          background-color: transparent;
          border-color: white;
          &:hover{
            background-color: rgb(var(--color3));
            border-color: rgb(var(--color3));
            color: white;
          }
          &.last{
            left: calc(50% - 110px);
          }
          &.next{
            right: calc(50% - 110px);
          }
        }
      }
      .filterSourceSideBySideButtons{
        position: absolute;
        bottom: 0;
        left: 0;
        justify-content: center;
        .sourceButtonWrapper{
          margin: 0 !important;
          .buttonstyle{
            margin: 0 !important;
            min-width: max-content !important;
            padding: var(--button-padding);
            &:hover{
              background-color: white;
              color: rgb(var(--color3));
            }
            &::after{
              content: 'VIEW ALL';
              min-width: max-content !important;
            }
            &.newsletters{
              &::before{
                display: none;
              }
            }
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 700px) {
  body div.wrapper{
    .wrapperinner{
      flex-wrap: wrap;
      .wrapperleft,  .wrapperright{
        max-width: 100%;
        width: 100%;
        flex: 1 1 100%;
      }
      .wrapperright{
        padding-top: 50px;
      }
    }
  }
}

/* QUICKLINKS */

body section.mod_circles_concertina{
  padding-block: 0px !important;
  margin-top: 0;
  position: relative;
  top: -125px;
  margin-bottom: -45px;
  div.Concertina>ul{
    gap: 0px;
    >li .Item .ItemInner{
      border: 3px solid white;
      outline: 0px solid transparent;
      .ItemContent::before{
        content: 'Find out more';
        background-color: rgb(var(--color1));
      }
    }
    >li:hover .Item .ItemInner::before{
      background-color: rgb(var(--color2));
    }
  }
}


/* SLIDERS ITEMS */

section.CalendarBloq.mod_none div.Slider .SliderInner>ul>li .Item{
  .ItemInner{
    height: 100%;
    background-color: rgb(var(--color2));
    color: white;
    justify-content: flex-start;
    h3.Title{
      color: white;
      font-weight: 400;
      padding-top: 16px;
      margin-bottom: 0;
    }
    .paracontent{
      .location, .tags{
        display: none;
      }
      .cardBottomLinks{
        border-top: 0px solid transparent;
        justify-content: center;
        a{
          display: none;
          &.downloadics{
            display: inline-grid;
            background-color: rgb(var(--color1));
            color: white;
            font-weight: 900;
            border-radius: 22px;
            height: 44px;
            padding: 0 30px;
            place-items: center;
            max-width: fit-content;
            margin-bottom: 14px;
            font-size: 12px;
            &:hover{
              background-color: white;
              color: rgb(var(--color3));
            }
          }
        }
      }
    }
    .ItemDate{
      padding-top: 50px;
      transition: 0.2s;
      d:nth-child(3)::after{
        content: "\A";
        white-space: pre;
      }
      d{
        font-size: 24px;
         letter-spacing: 0.04em;
      }
      i{

      }
      i ~ d{
        font-size: 18px;
      }
      i ~ d{
        font-weight: 400;
      }
    }
  }
  &:hover{
    .ItemInner .ItemDate{
      padding-top: 10px;
    }
  }
}

section.DataBloq.mod_none div.Slider .SliderInner>ul>li .Item{
  &.default .ItemBefore{
    background-color: white;
    background-image: none;
    &::before{
      content: '';
      background-image: var(--color-logo-watermark) !important;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: 50% 50%;
      position: absolute;
      inset: 20px;
    }
    img{
      display: none;
    }
  } 
  .ItemBefore{
    height: 190px;
  }
  .ItemInner{
    height: 60px;
    background-color: transparent;
    background: linear-gradient(#ffffff 0%,  #ffffff 150px, #ffffff 100%);
    transition: 0.2s;
    .ItemDate{
      display: none;
    }
    h3.Title{
      margin-bottom: 0;
      color: rgb(var(--color1));
      transition: 0.2s;
    }
    .ItemContent{
      display: block;
      position: absolute;
      bottom: 19px;
      left: 0;
      right: 0;
      .paracontent{
        display: inline-grid;
        place-items: center;
        color: white;
        height: 44px;
        background-color: rgb(var(--color1));
        border-radius: 22px;
        padding: 0 30px;
        font-weight: 900;
        font-size: 12px;
        &::before{
          content: 'VIEW';
        }
        &:hover{
          background-color: rgb(var(--color3));
        }
      }
    }
  }
  &:hover{
    .ItemBefore{
      height: 220px;
    }
    .ItemInner{
      height: 250px;
      padding-bottom: 50px;
      background: linear-gradient(rgba(255,255,255,0) 0%, #ffffff 150px, #ffffff 100%);
      h3.Title{
        padding-top: 100px;
      }
    }
  }
}
