.p1 {
    font-size: 17px !important;
}

.navbar.navbar-custom.navbar-fixed-top.top-nav-collapse {
    z-index: 3;
}

.figures {
    margin-top: 60px;
    margin-bottom: 30px;
}

figcaption {
    margin-top: 5px;
}

.big_figure {
    width: 45% !important;
    text-align: center !important;
}

#gallery.twofig {
    margin-left: 15%;
    margin-right: 15%;
}

.intro-data {
    display: table;
    width: 100%;
    height: auto;
    padding: 100px 0;
    text-align: center;
    color: white;
    background: url(../img/data-bg.jpg) no-repeat bottom center scroll;
    background-color: black;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    .intro-body {
        display: table-cell;
        vertical-align: middle;
        .brand-heading {
            font-size: 40px;
        }
        .intro-text {
            font-size: 18px;
        }
    }
    @media(min-width:768px) {
        height: 100%;
        padding: 0;
        .intro-body {
            .brand-heading {
                font-size: 100px;
            }
            .intro-text {
                font-size: 26px;
            }
        }
    }
}

.download-data-section {
    width: 100%;
    padding: 50px 0;
    color: #fff;
 background-color: rgb(98, 137, 208);
 -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}








section#gallery figure {
    float:left;
    display:inline;
    width:21%;
    margin:2%; /*2% + 21% + 2% = 25% */
}

section#gallery a {
    display:block;
    width:100%;
    border:1px solid #000000;
    background:#42403f;
    /*opacity:0.6;*/
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; /* IE 8 hack */
    filter: alpha(opacity = 60); /* IE 5-7 hack */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-box-shadow: 0 0 5px #42403f;
    -moz-box-shadow: 0 0 5px #42403f;
    box-shadow: 0 0 5px #42403f;
}

section#gallery a:hover {
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE 8 hack */
    filter: alpha(opacity = 100); /* IE 5-7 hack */
}

section#gallery img {
    width:100%;
    display:block;
    border:none;
    -ms-interpolation-mode:bicubic; /* IE 7+ hack */
}
