/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  @keyframes floatAnimation {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-2rem);
    }
    100% {
      transform: translateY(0);
    }
  }
  @keyframes floatAnimation2 {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-3rem);
    }
    100% {
      transform: translateY(0);
    }
  }
  #RTsbs-1365,
  #RTsbsr-1365,
  #RTsbst-1365 {
    padding: var(--sectionPadding);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  #RTsbs-1365 .cs-container,
  #RTsbsr-1365 .cs-container,
  #RTsbst-1365 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #RTsbs-1365 .cs-content,
  #RTsbsr-1365 .cs-content,
  #RTsbst-1365 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #RTsbs-1365 .cs-topper,
  #RTsbsr-1365 .cs-topper,
  #RTsbs-1365 .cs-title,
  #RTsbsr-1365 .cs-title,
  #RTsbs-1365 .cs-text,
  #RTsbsr-1365 .cs-text,
  #RTsbs-1365 .cs-topper,
  #RTsbsr-1365 .cs-topper,
  #RTsbs-1365 .cs-title,
  #RTsbsr-1365 .cs-title,
  #RTsbs-1365 .cs-text,
  #RTsbsr-1365 .cs-text,
  #RTsbs-1365 .cs-text:last-of-type,
  #RTsbsr-1365 .cs-text:last-of-type,
  #RTsbst-1365 .cs-text:last-of-type {
    margin-bottom: 1.5rem;
  }
  #RTsbs-1365 .cs-card-group,
  #RTsbsr-1365 .cs-card-group,
  #RTsbst-1365 .cs-card-group {
    width: 100%;
    max-width: 39.375rem;
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    align-items: center;
    gap: clamp(1rem, 2vw, 1.25rem);
  }
  #RTsbs-1365 .cs-item,
  #RTsbsr-1365 .cs-item,
  #RTsbst-1365 .cs-item {
    list-style: none;
    /* 16px - 24px */
    padding: clamp(1rem, 3vw, 1.5rem);
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    background-color: #f7f7f7;
    border-radius: 1rem;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #RTsbs-1365 .cs-h3,
  #RTsbsr-1365 .cs-h3,
  #RTsbst-1365 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #RTsbs-1365 .cs-h3-icon,
  #RTsbsr-1365 .cs-h3-icon,
  #RTsbst-1365 .cs-h3-icon {
    width: 2rem;
    height: auto;
    display: block;
  }
  #RTsbs-1365 .cs-item-text,
  #RTsbsr-1365 .cs-item-text,
  #RTsbst-1365 .cs-item-text {
    font-size: 0.875rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #RTsbs-1365 .cs-ul,
  #RTsbsr-1365 .cs-ul,
  #RTsbst-1365 .cs-ul {
    width: 100%;
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #RTsbs-1365 .cs-li,
  #RTsbsr-1365 .cs-li,
  #RTsbst-1365 .cs-li {
    font-size: var(--bodyFontSize);
    list-style: none;
    line-height: 1.5em;
    width: 100%;
    color: var(--bodyTextColor);
    display: flex;
    justify-content: flex-start;
    /* push icon top the top so if the list item goes to two lines the icon stays at the top */
    align-items: flex-start;
    gap: 0.5rem;
  }
  #RTsbs-1365 .cs-icon,
  #RTsbsr-1365 .cs-icon,
  #RTsbst-1365 .cs-icon {
    width: 1.5rem;
    height: auto;
    /* adds extra space between the icon and top of parent so it's more centered */
    margin-top: 1px;
    display: block;
  }
  #RTsbs-1365 .cs-button-solid,
  #RTsbsr-1365 .cs-button-solid,
  #RTsbst-1365 .cs-button-solid {
    font-size: 1rem;
    line-height: 3.5rem;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    border-radius: 1.875rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #RTsbs-1365 .cs-button-solid:before,
  #RTsbsr-1365 .cs-button-solid:before,
  #RTsbst-1365 .cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #1a1a1a;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #RTsbs-1365 .cs-button-solid:hover,
  #RTsbsr-1365 .cs-button-solid:hover,
  #RTsbst-1365 .cs-button-solid:hover {
    color: var(--primary);
  }
  #RTsbs-1365 .cs-button-solid:hover:before,
  #RTsbsr-1365 .cs-button-solid:hover:before,
  #RTsbst-1365 .cs-button-solid:hover:before {
    width: 100%;
  }
  #RTsbs-1365 .cs-image-group,
  #RTsbsr-1365 .cs-image-group,
  #RTsbst-1365 .cs-image-group {
    width: 100%;
    max-width: 36.625rem;
    /* Changes to auto at desktop */
    height: 32.5rem;
    /* 32px - 48px */
    border-radius: clamp(2rem, 4vw, 3rem);
    /* clips the corners of the children around the border radius */
    overflow: hidden;
    position: relative;
  }
  #RTsbs-1365 .cs-background,
  #RTsbsr-1365 .cs-background,
  #RTsbst-1365 .cs-background {
    width: 100%;
    height: 100%;
    /* makes it cover the parent dimensions */
    object-fit: cover;
    display: block;
  }
  #RTsbs-1365 .cs-background img,
  #RTsbsr-1365 .cs-background img,
  #RTsbst-1365 .cs-background img {
    width: 100%;
    height: 100%;
    /* makes it cover the parent like a backgorund image */
    object-fit: cover;
    display: block;
  }
  #RTsbs-1365 .cs-box,
  #RTsbsr-1365 .cs-box,
  #RTsbst-1365 .cs-box {
    text-align: left;
    width: 100%;
    max-width: 19rem;
    padding: 2rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    background-color: rgba(42, 143, 206, 0.7);
    /* 48px - 80px */
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    position: absolute;
    /* 12px - 20px */
    right: clamp(0.75rem, 1.9vw, 1.5rem);
    /* 12px - 20px */
    bottom: clamp(0.75rem, 1.9vw, 1.5rem);
  }
  #RTsbs-1365 .cs-box-icon,
  #RTsbsr-1365 .cs-box-icon,
  #RTsbst-1365 .cs-box-icon {
    width: 3.75rem;
    height: auto;
    display: block;
  }
  #RTsbs-1365 .cs-desc,
  #RTsbsr-1365 .cs-desc,
  #RTsbst-1365 .cs-desc {
    font-size: 1.25rem;
    line-height: 1.2em;
    text-align: inherit;
    font-weight: 700;
    width: 100%;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }
  #RTsbs-1365 .cs-bubbles,
  #RTsbsr-1365 .cs-bubbles,
  #RTsbst-1365 .cs-bubbles {
    font-size: min(2.5vw, 0.7em);
    width: 26.1875em;
    height: 26.6875em;
    position: absolute;
    /* changes to 160px at larger desktop */
    right: -16.25em;
    /* changes to 30px at large desktop */
    bottom: -3.125em;
    z-index: -1;
  }
  #RTsbs-1365 .cs-bubbles:before,
  #RTsbsr-1365 .cs-bubbles:before,
  #RTsbst-1365 .cs-bubbles:before {
    /* white border bubble */
    content: "";
    width: 20.625em;
    height: 20.625em;
    background: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    animation-name: floatAnimation;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
  }
  #RTsbs-1365 .cs-bubbles:after,
  #RTsbsr-1365 .cs-bubbles:after,
  #RTsbst-1365 .cs-bubbles:after {
    /* orange bubble */
    content: "";
    width: 16.25em;
    height: 16.25em;
    background: var(--primary);
    opacity: 0.15;
    border-radius: 50%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    animation-name: floatAnimation2;
    animation-duration: 14s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RTsbs-1365 .cs-container,
  #RTsbsr-1365 .cs-container,
  #RTsbst-1365 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #RTsbs-1365 .cs-content,
  #RTsbsr-1365 .cs-content,
  #RTsbst-1365 .cs-content {
    align-self: center;
  }
  #RTsbs-1365 .cs-image-group,
  #RTsbsr-1365 .cs-image-group,
  #RTsbst-1365 .cs-image-group {
    min-height: 37.5rem;
    height: auto;
  }
  #RTsbs-1365 .cs-bubbles,
  #RTsbsr-1365 .cs-bubbles,
  #RTsbst-1365 .cs-bubbles {
    font-size: min(2.5vw, 1em);
  }
}
/* Large Desktop 1600px */
@media only screen and (min-width: 100rem) {
  #RTsbs-1365 .cs-bubbles,
  #RTsbsr-1365 .cs-bubbles,
  #RTsbst-1365 .cs-bubbles {
    margin-left: 40.625rem;
    right: auto;
    left: 50%;
    bottom: 1.875rem;
  }
}

/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RTsbsr-1365 {
    background-color: #f7f7f7;
  }
  #RTsbsr-1365 .cs-item {
    background-color: #fff;
  }
  #RTsbsr-1365 .cs-image-group {
    /* sends it to the right in the 2nd position */
    order: 2;
  }
}
/* Large Desktop 1600px */
@media only screen and (min-width: 100rem) {
  #RTsbsr-1365 .cs-box {
    /* 12px - 20px */
    left: clamp(0.75rem, 1.9vw, 1.5rem);
    right: auto;
  }
  #RTsbsr-1365 .cs-bubbles {
    margin-right: 46.875rem;
    left: auto;
    right: 50%;
    bottom: 1.875rem;
  }
}

/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #edukacija {
    position: relative;
  }
  #edukacija .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #edukacija .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 32.625rem;
    /* moved section padding to cs-content so the cs-background can be full width */
    padding: var(--sectionPadding);
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }

  #edukacija .cs-text {
    margin-bottom: 1rem;
  }
  #edukacija .cs-text:last-of-type {
    margin-bottom: 2rem;
  }

  #edukacija .cs-background {
    display: block;
    position: relative;
    width: 100%;
    height: 16rem;
    z-index: 1;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #edukacija {
    /* 90px - 150px */
    /* returned section padding to the section container, this Stitch has 1.5X padding top and bottom than the normal Stitch */
    padding: clamp(5.625rem, 9vw, 9.375rem) 1rem;
  }
  #edukacija .cs-container {
    flex-direction: row;
    justify-content: flex-start;
  }
  #edukacija .cs-background {
    width: 50%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
  }
  #edukacija .cs-content {
    width: 45%;
    padding: 0;
  }
}

/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-434 {
    background-color: #f7f7f7;
    padding: var(--sectionPadding);
  }
  #gallery-434 .cs-container {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-434 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }

  #gallery-434 .cs-grid {
    display: grid;
    /* 12 so we can have rows of 3 and rows with 2 50/50 images */
    grid-template-columns: repeat(12, 1fr);
    /* 12px - 30px */
    grid-gap: clamp(0.75rem, 1.5vw, 1.875rem);
    grid-template-rows: repeat(6, 0.34fr);
  }
  #gallery-434 .cs-picture {
    border-radius: 0.5rem;
    /* clips corners of img tags */
    overflow: hidden;
    position: relative;
    display: block;
  }
  #gallery-434 .cs-picture img {
    width: 100%;
    height: 100%;
    /* makes image behave like a background image */
    object-fit: cover;
  }
  #gallery-434 .cs-picture1 {
    display: none;
  }
  #gallery-434 .cs-picture2 {
    grid-column: 1 / 9;
    grid-row: 1 / 3;
  }
  #gallery-434 .cs-picture3 {
    grid-column: 9 / 13;
    grid-row: 1 / 1;
  }
  #gallery-434 .cs-picture4 {
    grid-column: 1 / 7;
    grid-row: 4 / 5;
  }
  #gallery-434 .cs-picture5 {
    grid-column: 7 / 13;
    grid-row: 4 / 6;
  }
  #gallery-434 .cs-picture6 {
    display: none;
  }
  #gallery-434 .cs-picture7 {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
  }
  #gallery-434 .cs-picture8 {
    grid-column: 5 / 9;
    grid-row: 3 / 4;
  }
  #gallery-434 .cs-picture9 {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
  }
  #gallery-434 .cs-picture10 {
    grid-column: 1 / 7;
    grid-row: 5 / 7;
  }
  #gallery-434 .cs-picture11 {
    grid-column: 7 / 13;
    grid-row: 6 / 7;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-434 {
    padding-left: 0;
    padding-right: 0;
  }
  #gallery-434 .cs-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 0.45fr);
  }
  #gallery-434 .cs-picture1 {
    border-radius: 0 0.5rem 0.5rem 0;
    display: block;
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  #gallery-434 .cs-picture2 {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
  }
  #gallery-434 .cs-picture3 {
    grid-column: 5 / 6;
    grid-row: 1 / 1;
  }
  #gallery-434 .cs-picture4 {
    border-radius: 0.5rem 0 0 0.5rem;
    grid-column: 6 / 7;
    grid-row: 1 / 1;
  }
  #gallery-434 .cs-picture5 {
    display: none;
  }
  #gallery-434 .cs-picture6 {
    border-radius: 0 0.5rem 0.5rem 0;
    display: block;
    grid-column: 1 / 3;
    grid-row: 2 / 4;
  }
  #gallery-434 .cs-picture7 {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
  }
  #gallery-434 .cs-picture8 {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
  }
  #gallery-434 .cs-picture9 {
    grid-column: 5 / 6;
    grid-row: 2 / 4;
  }
  #gallery-434 .cs-picture10 {
    border-radius: 0.5rem 0 0 0.5rem;
    grid-column: 6 / 7;
    grid-row: 2 / 4;
  }
  #gallery-434 .cs-picture11 {
    display: none;
  }
}
/* Large Desktop 1600px */
@media only screen and (min-width: 100rem) {
  #gallery-434 .cs-grid {
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(3, 0.4fr);
  }
  #gallery-434 .cs-picture4 {
    border-radius: 0.5rem;
  }
  #gallery-434 .cs-picture5 {
    border-radius: 0.5rem 0 0 0.5rem;
    display: block;
    grid-column: 7 / 8;
    grid-row: 1 / 3;
  }
  #gallery-434 .cs-picture10 {
    border-radius: 0.5rem;
  }
  #gallery-434 .cs-picture11 {
    border-radius: 0.5rem 0 0 0.5rem;
    display: block;
    grid-column: 7 / 8;
    grid-row: 3 / 4;
  }
}
