* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#wrap {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
#container {
  overflow: hidden;
}
.main-content {
  overflow: auto;
}
/* 5 columns by default */

.grid-sizer {
  width: 100px;
}
.item {
  float: left;
  /* margin: 5px; */
  margin: 0;
  padding: 0;
  position: relative;
  border: 5px solid #e5e6e9;
}
.item span.overlay {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.item .titles {
  color: white;
  position: absolute;
  z-index: 100;
  bottom: 0;
  padding: 1.5em;
  max-width: 400px;
}
.item .titles .icon {
  max-width: 30%;
  float: right;
}
.item .titles h1,
.item .titles h2 {
  letter-spacing: initial;
}
.item .titles h1,
.item .titles h3 {
  font-size: 0.9em;
  text-transform: uppercase;
  color: white;
  z-index: 100;
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}
.item .titles h2,
.item .titles h4 {
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: initial;
  line-height: 1.2;
}
.item .titles > *:last-child,
.item .titles > *:first-child {
  margin: 0;
}
.case-study-item {
  float: left;
  /* margin: 5px; */
  margin: 0;
  padding: 0;
}
.case-study-item.w1 {
  width: 25%;
}
.case-study-item.w2 {
  width: 50%;
}
.item.w1 {
  width: 200px;
  height: 200px;
  /*  background: green;*/

}
.item.w2 {
  width: 400px;
  height: 400px;
  /*  background: orange;*/

}
.item.w3 {
  width: 400px;
  height: 200px;
  /*  background: aqua;*/

}
.item.w4 {
  width: 200px;
  height: 400px;
  /*  background: blue;*/

}
@media screen and (min-width: 1024px) {
  /* 5 columns for larger screens */
  
  .grid-sizer {
    width: 20%;
  }
  .item.w1 {
    width: 20%;
  }
  .item.w2 {
    width: 40%;
  }
  .item.w3 {
    width: 40%;
  }
  .item.w4 {
    width: 20%;
  }
  .item.w5 {
    width: 100%;
  }
}
@media screen and (max-width: 1023px) {
  #wrap {
    max-width: 800px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 800px) {
  .case-study-item.w1 {
    width: 50%;
  }
  .case-study-item.w2 {
    width: 100%;
  }
  #wrap {
    max-width: 600px;
    margin: 0 auto;
  }
  body.home {
    background: #e5e6e9;
  }
}
@media screen and (max-width: 600px) {
  #wrap {
    max-width: 401px;
    margin: 0 auto;
  }
  .announcement-survey .clickme-button a {
    display: block;
  }
}
@media screen and (max-width: 400px) {
  /* 5 columns for larger screens */
  
  .w1,
  .w2,
  .w3,
  .w4,
  .w5 {
    overflow: hidden;
  }
  .w1 img,
  .w2 img,
  .w3 img,
  .w4 img,
  .w5 img {
    width: 100%;
  }
  .grid-sizer {
    width: 20%;
  }
  .item.w1 {
    width: 100%;
  }
  .item.w2 {
    width: 100%;
  }
  .item.w3 {
    width: 100%;
  }
  .item.w4 {
    width: 100%;
  }
  .item.w5 {
    width: 100%;
  }
  .case-study-item.w1,
  .case-study-item.w2 {
    width: 100%;
  }
}
