div.referenceBanner {
    width: 100%;
    height: 215px;
    margin-bottom: 24px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width: 650px) {
    div.referenceBanner {
        height: 300px;
    }
}


@media screen and (min-width: 830px) {
    div.referenceBanner {
        height: 400px;
    }
}

@media screen and (min-width: 1320px) {
    div.referenceBanner {
        height: 560px;
    }
}

@media screen and (min-width: 2200px) {
    div.referenceBanner {
        height: 720px;
    }
}

div.referenceBanner button {
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    position: relative;
    top: 44%;
}

div.referenceBanner button:active img{
    opacity: 1;
}

div.referenceBanner button img {
    opacity: 0.85;
    width: 50px;
    height: 50px;
}

div.referenceBanner button#slideButtonLeft img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    
}

div.referenceBanner button#slideButtonRight {
    float: right;
    margin-right: 7px;
}

div.referenceBanner button#slideButtonLeft {
    margin-left: 7px;
}

@media screen and (min-width: 830px) {
    div.referenceBanner button#slideButtonRight {
        margin-right: 15px;
    }
    
    div.referenceBanner button#slideButtonLeft {
        margin-left: 15px;
    }
}

@media screen and (min-width: 1320px) {
    div.referenceBanner button#slideButtonRight {
        margin-right: 25px;
    }
    
    div.referenceBanner button#slideButtonLeft {
        margin-left: 25px;
    }
}

h3 {
    display: block;
    text-decoration: none;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
    font-size: 18pt;
    margin-bottom: 20px;
    margin-top: 20px;
}

@media (min-width: 650px) {
    h3 {
        font-size: 22pt;
        margin-bottom: 25px;
        margin-top: 25px;
    }
}

@media screen and (min-width: 830px) {
    h3 {
        font-size: 24pt;
        margin-bottom: 30px;
        margin-top: 30px;
    }
}

div.referenceSlide h3 span {
    color: rgb(119, 119, 119);
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    display: block;
}

@media (min-width: 530px) {
    div.referenceSlide h3 span {
        display: inline-block;
    }
}

div.referenceSlide p {
    margin-bottom: 20px;
}
div.referenceSlide p span {
    font-weight: bold;
}

div.referenceImages {
    font-size: 0px;
}
div.referenceImages img {
    margin-top: 8px;
}

div.referenceImages div {
    font-size: 0;
}

div.referenceImages div.imageGrid3 img{
    display: inline-block;
    width: calc(33.3% - 5.3px);
    margin-right: 8px;
}

div.referenceImages div.imageGrid3 img:nth-of-type(3n) {
    margin-right: 0;
}

@media screen and (min-width: 830px) {
    div.referenceImages div.imageGrid3 img {
      width: calc(16.66% - 6.66px);
    }
  
    div.referenceImages div.imageGrid3 img:nth-of-type(3n) {
      margin-right: 8px;
    }
  
    div.referenceImages div.imageGrid3 img:nth-of-type(6n) {
      margin-right: 0;
    }
}

div.referenceImages div.imageGrid2 img{
    display: inline-block;
    width: calc(50% - 4px);
    margin-right: 8px;
}

div.referenceImages div.imageGrid1 img{
    display: inline-block;
    width: calc(100%);
    margin-right: 0px;
}

@media screen and (min-width: 650px) {
    div.referenceImages div.imageGrid1 img {
        width: calc(50% - 4px);
        margin-right: 8px;
    }
  
    div.referenceImages div.imageGrid1 img:nth-of-type(2n) {
      margin-right: 0px;
    }
}

div.referenceImages div.imageGrid2 img:nth-of-type(2n) {
    margin-right: 0;
}

div.referenceImages div.imageGrid4 img{
    display: inline-block;
    width: calc(50% - 4px);
    margin-right: 8px;
}

div.referenceImages div.imageGrid4 img:nth-of-type(2n) {
    margin-right: 0;
}

@media screen and (min-width: 650px) {
    div.referenceImages div.imageGrid4 img {
        width: calc(25% - 6px);
        margin-right: 8px;
    }
  
    div.referenceImages div.imageGrid4 img:nth-of-type(2n) {
      margin-right: 8px;
    }

    div.referenceImages div.imageGrid4 img:nth-of-type(4n) {
        margin-right: 0px;
      }
}

div.ref1 {
    background-image: url(../resources/reference1_banner.jpg);
}

div.ref2 {
    background-image: url(../resources/reference2_banner.jpg);
}

div.ref3 {
    background-image: url(../resources/reference3_banner.jpg);
}

div.ref4 {
    background-image: url(../resources/reference4_banner.jpg);
}

div.ref5 {
    background-image: url(../resources/reference5_banner.jpg);
}

div.ref6 {
    background-image: url(../resources/reference6_banner.jpg);
}

div.ref7 {
    background-image: url(../resources/reference7_banner.jpg);
}

div.ref8 {
    background-image: url(../resources/reference8_banner.jpg);
}

div.ref9 {
    background-image: url(../resources/reference9_banner.jpg);
}

div.ref10 {
    background-image: url(../resources/reference10_banner.jpg);
}

div.ref11 {
    background-image: url(../resources/reference11_banner.jpg);
}

img.maximized {
    position: fixed;
    display: block;
    width: 85vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

a.referenceLinkBottom {
    margin-top: 12px;
}

a.referenceLinkBottom:hover {
    cursor: pointer;
}