
.h-section-boxed-container {
    max-width:100%;
}

form {
    position: relative;
    border-radius: .7rem;
  }
  input, button {
    border: 0;
    color: #2f2f2f;
    font-size: 1.8rem;
  }
  
  button {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 7rem;
    font-weight: bold;
    background: #264B88;
    color:#fff;
    font-size:1.2rem;
    border-radius: 0 .7rem .7rem 0;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }

 @media screen and (min-width: 1201px) {
      #gallery-images {
          grid-template-columns: 300px 300px 300px 300px;
      }
    
    html:not([data-scroll='0']) #gallery{
        margin-top:110px;
    }

      html:not([data-scroll='0']) #header {
        top:72px;
        margin-top:-30px;
    }
 }
  @media screen and (max-width: 1200px) {
      #gallery-images {
          grid-template-columns: 300px 300px 300px;
      }
    
    html:not([data-scroll='0']) #gallery{
        margin-top:110px;
    }

      html:not([data-scroll='0']) #header {
        top:72px;
        margin-top:-30px;
    }
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
      #gallery-images {
          grid-template-columns: 300px 300px;
      }


    html:not([data-scroll='0']) #gallery{
        margin-top:110px;
    }

    html:not([data-scroll='0']) #header {
        top:72px;
        margin-top:-30px;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
      #gallery-images {
          grid-template-columns: 1fr;
      }

      #gallery-images img {
          width: 100% !important;
      }

    html:not([data-scroll='0']) #gallery{
        margin-top:110px;
    }

    html:not([data-scroll='0']) #header {
        top: 104px;
        margin-top:-30px;
    }
  }

 #header, #gallery {
    color: #333;
  }

  html:not([data-scroll='0']) #gallery{
      margin-top:110px;
  }

  #gallery{
    display:flex;
    flex-direction:column;
  }

  #gallery-filters{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    margin-top: 10px;
  }

  .filter {
    display: flex;
    width: 100%;
  }

  .filter-token {
    display:flex;
    flex-direction:row-reverse;
    border: 1px solid black;
    margin-right: 10px;
    font-size: 13px;
    padding: 1px 5px;
    color: white;
    opacity: .7;
  }

  .filter-token .close {
    height: 10px;
    width: 10px;
    margin-left: 5px;
    margin-right:2px;
    align-self: center;
  }

  .filter-token .close:hover{
    cursor:pointer;
  }

  .filter-token:hover{
    cursor:default;
  }

  .filter-token.project {
    background-color: #2C6948;
  }

  .filter-token.category {
    background-color: #264B88;
  }

  #gallery-chosen-filters{
    display:flex;
    flex-direction:row;
    margin-top:10px;
    height: 24px;
  }

  #gallery-chosen-filters span {
    font-style: italic;
    font-size: 13px;
    align-self: center;
  }

  #chosen-filters {
      display:flex;
      font-size:11px;
      font-style:italic;
      margin-top:5px;
  }

  #show-personalized{
      height: 1.8rem;
  }

  #gallery-chosen-filters > label {
      align-self:center;
      font-size:13px;
      margin-right:5px;
  }


  html:not([data-scroll='0']) #header {
      position:fixed;
  }

  html:not([data-scroll='0']) #header .description{
      display:none;
  }

  #header {
    font-size: 15px;
    padding: 10px 20px;
    left: 0;
    right: 0;
    position: relative;
    background-color: #efefef;
    border-bottom: 1px solid #333;
    z-index:10;

  }

  #header .disclaimer {
    font-size:12px;
  }

  .filter select {
    width: 100%;
    height: 25px;
  }

  .filter label {
    font-size:14px;
  }

  .filter label span {
    font-weight: bolder;
    text-transform: uppercase;
  }

  .filter.projects {
     margin-right: 10px;
  }

  .filter.projects label span {
    color: #2C6948;
  }

  .filter.categories label span {
    color: #264B88;
  }

#gallery-images {
  padding: 10px;
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(auto, 235px));
  grid-gap: .5rem;
  justify-content: center;
  margin: 0;
}

#gallery-images img {
  object-fit: cover;
  height:235px;
  width:293px;
}


/* The Images */
.gallery-img-container {
  transition: opacity 0.25s ease-in-out;
  position:relative;
}

.gallery-img-container::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

.gallery-img-container:hover::before {
  background-color: rgba(255,255,255,0.6);
  cursor:pointer;
}

.loader {
  display: flex;
  height: 100%;
  width:100%;
  justify-content: center;
}

.loader span {
  border: 5px solid #fafafa;
  border-top: 5px solid #264B88;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  display: flex;
  align-self: center;
}

.su-lightbox-content .content .disclaimer {
  padding-bottom: 10px;
  padding-top: 10px;
  font-style: italic;
  font-size: 13px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #264B88;
  opacity:.9;
  color: white;
  height:50px;
}

.su-lightbox-content .content {
  display:flex;
  flex-direction: column;
  margin-bottom:50px;
  background-color: rgba(0,0,0,.6);
}

.su-lightbox-content.img-viewer{
    max-width:50% !important;
}

.su-lightbox-content img{
  object-fit: cover;
}

#gallery-loading {
  min-height: 300px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.su-lightbox-content button.mfp-close {
  color:#fff;
  opacity:.8;
   text-shadow: 1px 1px;
}

.su-lightbox-content .nav {
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 50px;
    padding-bottom: 50px;
    justify-content: center;
    opacity:.7;
}

.su-lightbox-content .nav i {
    font-size:50px;
    color:#fff;
}

.su-lightbox-content .nav:hover{
    background-color:rgba(0, 0, 0, .4);
    opacity:1;
    cursor:pointer;
}

.su-lightbox-content .left-nav {
    left: 0;
}

.su-lightbox-content .right-nav {
    right: 0;
}

.img-id {
  font-weight: bold;
  color: black;
  position: absolute;
  background-color: white;
  padding: 3px;
  opacity: .7;
}


button.party-visible {
    position: relative;
    font-size: 11px;
    height: 30px;
    width: 50px;
    margin-top: 3px;
    border-radius: 8px;
    opacity: 1;
}

button.party-visible:hover {
    cursor: pointer;
    opacity: 1;
}

.choose {
    position: absolute;
    right: 11px;
}

#confirm .content {
    display: flex;
    flex-direction: column;
    background-color: #eee;
    margin-bottom:0px;
}

#confirm .content img {
    margin-top: 40px;
    border-top: 2px solid gray;
    border-bottom: 2px solid gray;
}

#confirm .content .confirm-message {
    padding-left: 10px;
    position: absolute;
    height: 40px;
    padding-top: 8px;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

#confirm .content .actions {
position: relative;
    display: flex;
    height: 50px;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

#confirm .content .actions button {
  display: block;
    position: relative;
    height: 30px;
    font-size: 13px;
    width: 110px;
    border-radius: 10px;
    margin-right: 10px;
}

#confirm .content .actions button.cancel {
    background-color: transparent;
    color: #777;
}

#confirm .content .actions button.cancel:hover {
    background-color: #ddd;
}

#confirm .content .actions button:hover {
    opacity:.9;
    cursor:pointer;
}

@media screen and (max-width: 500px) {
    #confirm {
        width:100%!important;
        max-width:100%!important;
    }
}
