html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 90px;
    /* margin bottom by footer height */
    margin-bottom: 30px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;
    background-color: #f5f5f5;
    text-align: right;
}

.footer > p {
    margin-top: 5px;
    margin-right: 20px; 
    margin-bottom: 0px;
    color: #777;
    text-transform: uppercase;
}

p {
    display: inline-block;
}

.col-centered{
        float: none;
        margin: 0 auto;
}

.gallery figure {

}

.gallery figcaption {
    display: none;
}

.img-detail {
    border-radius: 4px; 
}

.img-about {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about-title {
    color: #333;
}

.about-text {
    color: #777;
}

.main-title {
    text-transform: uppercase;
    font-size: 20px;
}

.main-menu, .sub-menu {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about {
    /* border-style: solid;
    border-radius: 4px;
    border-width: 1px 1px 1px;
    border-color: #E7E7E7; */
    padding: 20px;
    padding-top: 30px;
}


.divlink {
    position:absolute; 
    width:100%;
    height:100%;
    top:0;
    left: 0;

    /* edit: added z-index */
    z-index: 1;
  
    /* edit: fixes overlap error in IE7/8, 
       make sure you have an empty gif */
    background-image: url('empty.gif');
}   

.detail-container {
    diplay: table;
    width: 100%;
}

.detail-row {
    diplay: table-row;
    border-style: solid;
    border-radius: 4px;
    border-width: 1px 1px 1px;
    border-color: #E7E7E7; 
    padding: 0px;
}

.detail-row > .left {
    display: table-cell;
    margin: 0px;
    font-size: 18px;
    background-color: #ffffff;
}

.detail-row > .right {
    display: table-cell;
    vertical-align: top;
    font-size: 18px;
    background-color: #ffffff;
    padding-top: 50px;
    padding-left: 50px;
}

.thumb {
    margin: 20px;
    margin-top: 20px;
    margin-right-value: 20px;
    margin-bottom: 20px;
    margin-left-value: 20px;
    margin-left-ltr-source: physical;
    margin-left-rtl-source: physical;
    margin-right-ltr-source: physical;
    margin-right-rtl-source: physical;
}

.thumbtag {
    cursor: zoom-in;
}

.thumbimg { 
    border-radius: 4px; 
    cursor: zoom-in;
}

.thumbimg:hover, .thumbnail-tag:hover { 
    -moz-box-shadow: 1px 1px 5px #999; 
    -webkit-box-shadow: 1px 1px 5px #999; 
    box-shadow: 1px 1px 5px #999;
    transition: opacity 0.04s linear;
}

.thumbnail-tag {
    border-radius: 4px;
    width: 1%; 
    display: table; 
    positiion: relative;
    float: left; 
}

.thumbnail-tag-img {
    border-radius: 4px;
}

.tagcell { 
    height: auto; 
    overflow: hidden; 
}


@media screen and (min-width: 1225px) {
    .thumb-S-P { height: 350px; }
    .thumb-S-L { width: 350px; }
    .thumb-M-P { height: 450px; }
    .thumb-M-L { width: 450px; }
    .thumb-L-P { height: 550px; }
    .thumb-L-L { width: 550px; }
    .thumb-tag-M-L { z-index: -1; position: relative; display: block; width: 450px; }
    .thumb-tag-M-P { z-index: -1; position: relative; display: block; height: 450px; }
    .thumb-detail-P { height: 800px; }
    .thumb-detail-L { width: 800px; }
}
 
@media screen and (max-width: 1224px) {
    .thumb-S-P { height: 283px; }
    .thumb-S-L { width: 283px; }
    .thumb-M-P { height: 365px; }
    .thumb-M-L { width: 365px; }
    .thumb-L-P { height: 450px; }
    .thumb-L-L { width: 450px; }
    .thumb-tag-M-L { z-index: -1; position: relative; display: block; width: 365px; }
    .thumb-tag-M-P { z-index: -1; position: relative; display: block; height: 365px; }
    .thumb-detail-P { height: 600px; }
    .thumb-detail-L { width: 600px; }
    h2 { font-size: 24px; }
    h3 { font-size: 18px; }
}
 
@media screen and (max-width: 720px) {
    .thumb-S-P { height: 243px; }
    .thumb-S-L { width: 243px; }
    .thumb-M-P { height: 300px; }
    .thumb-M-L { width: 300px; }
    .thumb-L-P { height: 370px; }
    .thumb-L-L { width: 370px; }
    .thumb-tag-M-L { z-index: -1; position: relative; display: block; width: 300px; }
    .thumb-tag-M-P { z-index: -1; position: relative; display: block; height: 300px; }
    .thumb-detail-P { height: 350px; }
    .thumb-detail-L { width: 350px; }
    .img-about { width: 100% }
    .detail-row > .left, .detail-row > .right {
        display: block;
        padding-top: 5px;
        padding-left: 5px;
    }
    .detail-row {
        display: table-cell;
        width: 50%;
    }
    h2 { font-size: 18px; }
    h3 { font-size: 14px; }
}
 
@media screen and (max-width: 480px) {
    .thumb { margin-left: 15px; }
    .thumb-S-P { width: 350px; height: auto; max-width: 100%; }
    .thumb-S-L { width: 350px; max-width: 100%; }
    .thumb-M-P { width: 350px; height: auto; max-width: 100%; }
    .thumb-M-L { width: 350px; max-width: 100%; }
    .thumb-L-P { width: 350px; height: auto; max-width: 100%; }
    .thumb-L-L { width: 350px; max-width: 100%; }
    .thumb-tag-M-L { z-index: -1; position: relative; display: block; width: 300px; }
    .thumb-tag-M-P { z-index: -1; position: relative; display: block; width: 300px; height: auto; }
    .thumb-detail-P { height: 300; }
    .thumb-detail-L { width: 300px; }
    h3 { font-size: 14px; }
}

.jumbotron {
    font-size: 18px;
    background-color: #ffffff;
    border-style: solid;
    border-width: 1px 1px 1px;
    border-color: #E7E7E7;
}

.jumbotron > h2 {
    font-size: 25px;
}

.jumbotron > h3 {
    font-size: 22px;
}

.caption-tag {
    text-transform: uppercase;
    margin: 3px;
}

.caption-tag-title {
    margin-top: 10px;
    margin-left: 10px;
    text-align: left;
    color: #333;
}

.caption-tag-description {
    margin-top: 10px;
    margin-left: 10px;
    text-align: left;
    color: #777;
}

.navbar-fixed-top {
    background: rgba(248,248,248,0.9);
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover{
    background-color: transparent;
    font-weight: bold;
    color: #555;
}

.subnav > li > a {
    font-size: 11px;
    padding-top: 0px;
    padding-bottom: 5px;
}

.subnav > li > a.active {
    background-color: transparent;
    font-weight: bold;
    color: #555;
}

.navbar > .container-fluid > .row {
    margin-right: 5px;
    margin-left: 5px;
}

.col-masonry {
    margin-right: -15px;
    margin-left: -15px;
}


@media (max-width: 767px) {
    .subnav > li > a {
    padding-top: 5px;
    padding-bottom: 5px;}
}
