html 
{ 
    color: #222;
    font-family: "Segoe UI",Arial,sans-serif;
    font-size: 1em;
    line-height: 1.4;
}

body
{
    background-color: #004d6e;
}

a
{
  text-decoration: none; /* no underline */
}

article, header, footer, .imageloop
{
    max-width: 900px;
}

header > img, footer > img
{
    max-width: 100%;
}



span
{
    display: inline-flex
}

.block {
    display: inline-block;
}

.italics {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.pr20 {
    padding-right: 20px;
}

.h75 {
    height: 75px;
    line-height: 75px;
}

.tar {
    text-align: right;
}

.p10 {
    padding: 10px;
}

footer img {
    position: relative;
    left: calc( 100% - 270px );
}

.table {
    display: table;
}

.trow {
    display: table-row;
}

.tcell {
    display: table-cell;
    padding: 10px;
}

.full-width {
    width: 100%;
}

.trow-head {
    display: table-header-group;
    font-weight: bold;
    background-color: lightgrey;
}

.trow-foot {
    display: table-footer-group;
    font-weight: bold;
    background-color: lightgrey;
}

.trow:nth-child(odd) {
    background-color: #e8e8e8;
}


.trow:nth-child(even) {
    background-color: #f2f2f2;
}

.imageloop .img{
    width: 50%;
    padding: 0;
    margin: 0;
    display: inline-block;
    padding: 5px;
    box-sizing: border-box;
    position: relative;
}
.imageloop div img{
    width:100%;
}
.imageloop{
    font-size: 0;
}

.imageloop div:nth-last-child(1):nth-child(odd)
{
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.imageloop div:nth-child(odd)
{
    padding-left: 0;
}
.imageloop div:nth-child(even)
{
    padding-right: 0;
}

.box-sizing{
    box-sizing: border-box;
}

.wrapper{
    margin: 0 auto;
    max-width: 900px;
    background-color: #fff;
    padding: 10px;
    padding-bottom: 5px;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: rgba(0,0,0,.4) 3px 3px 6px;
    border: #333 solid 1px;
}

@media only screen and (max-width: 900px) {
    .imageloop img{
        width: 100%;  
        padding-left: 0;
        padding-right: 0;  
    }
    .wrapper {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    header, footer{
        text-align: center;
    }
    
    footer > img {
        left: auto;
    }
    
    .h75 {
        line-height:inherit;
        height: auto;
        padding: 10px 0;
     }
    
.icd {
    height:70px;
    float:left;
}

} 

@media print {
    .wrapper, header, article, footer .imageloop{ 
            width: 100%;
            max-width: 100%;
            box-shadow: none;
            border: none;
            padding: 0;
            margin: 0;
    }
        footer img{
            position: fixed;
            left: auto;
            bottom: 0;
            right: 0;
            width: 150px;
            padding-right: 10px;
        }


    body {
        background-color:#fff;
    }
    .imageoverlay {
        display: none;
    }
}
.imageoverlay {
    font-size: 22px;
   position: absolute;
    bottom:0;
    right: 0;
    padding: 0 10px 10px 0;
    z-index: 1000;
}

.fullscreenbutton {
    min-width: 35px;
    min-height: 35px;
    max-width: 100%;
    max-height: 100%;
    background-image: url(fullscreen.png);
    display: inline-block;
    cursor: pointer;
}

.cardboardbutton {
    min-width: 35px;
    min-height: 35px;
    max-width: 100%;
    max-height: 100%;
    background-image: url(cardboard.png);
    display: inline-block;
    margin-right: 10px;
    display: none;
}

.img:-moz-full-screen {
  margin: 0 auto;
  background-color: #222;
height: 100%;
    vertical-align: middle;
    position: relative;
}

.img:-moz-full-screen > img{
    max-height: 100%;  
    max-width: 100%; 
    width: auto;
    height: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}
.tac {
    text-align: center;
}

.inline {
    display:inline-block
}

.maxwidth {
    max-width: 100%;
}

.apartmentLogo {
    max-width: 100%;
}

.icd {
    height:70px;
    float:right
}

.thumbnail {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}



.extlink {
    width: 16px;
    height: 16px;
    background-image: url(external-link-16.png);
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    cursor: pointer;
}
