@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400);

body {
    font-family: 'Open Sans', sans-serif;
    color: white;
}

div.text-left h1 {
    margin-top: 0px;
}

div.text-left {
    padding-left: 3em;
}

div.thumbnail-container {
    padding-bottom: 30px;    
}

div.header div.page-header {
    padding-top: 20px;
    margin: 0px 0 20px;
}

div.thumbnail-container a img.borderless-override {
    border: 0;
    border-radius: 0px;
}
/* this should be in a separate file, it only applies to image.html*/
#image {
    margin-top: -14px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

footer.page-footer {
    min-height: 20px;
    padding: 10px 0;
    margin-bottom: 40px;
}

div.text-left h1, div.text-left h3 {
    line-height: 0px;
}


table {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    div.image-container-padding {
        padding: 0 16.6667%;
    }
    .page-header.margin-override {
        margin-top: 0px;
    }
    h3.margin-override-top {
        margin-top: 5px;
    }

    h1.margin-override-bottom {
        margin-bottom: 0px;
    }
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

}

.page-header.border-override {
    border: 0;
    padding-bottom: 2px;
}

a:hover {
    color: #a9a9a9;
}

a {
    color: white;
}


/*  fallback rainbow image */
body {
    /*mozilla rainbow gradient*/
    background-image: -moz-linear-gradient(left top, right bottom,
    color-stop(0.00, #FBB040),
    color-stop(7%, #FBD335),
    color-stop(3%, #FBD335),
    color-stop(18%, #00A651),
    color-stop(31%, #213F7D),
    color-stop(44%, rgba(75, 0, 130, .93)),
    color-stop(56%, #662D91),
    color-stop(74%, #CC406C),
    color-stop(81%, #D71920),
    color-stop(93%, #EE6532),
    color-stop(1.00,  #FBB040)
    );

    /*webkit rainbow gradient*/
    background-image: -webkit-gradient(linear, left top, left bottom,
    color-stop(0.00, #FBB040),
    color-stop(7%, #FBD335),
    color-stop(3%, #FBD335),
    color-stop(18%, #00A651),
    color-stop(31%, #213F7D),
    color-stop(44%, rgba(75, 0, 130, .93)),
    color-stop(56%, #662D91),
    color-stop(74%, #CC406C),
    color-stop(81%, #D71920),
    color-stop(93%, #EE6532),
    color-stop(1.00,  #FBB040)
    );

    background-image: -webkit-gradient(linear, left top, left bottom,
    color-stop(0.00,#213F7D),
    color-stop(10%, rgba(75, 0, 130, .93) ),
    color-stop(13%, #662D91 ),
    color-stop(18%, #CC406C ),
    color-stop(31%, #D71920 ),
    color-stop(44%,  #EE6532 ),
    color-stop(56%,  #FBB040 ),
    color-stop(74%,  #FBB040             ),
    color-stop(81%, #FBD335  ),
    color-stop(93%, #FBD335 ),
    color-stop(1.00,  #00A651 )
    );


    background-size: 100% 32768px;
}

footer a,#blurb a {
    text-decoration: underline;
}

#title-row {
    margin-bottom: 15px;
}

.header {
    background-color: white;
    width: 100%;
    color: #213F7D;
    padding-bottom: 1em;
}

.header a:hover {
    color: #a9a9a9;
}

.header a {
    color: #213F7D;
    text-decoration: underline;
}

#gallery .header .top-buffer {
    margin-left: 30px;
    margin-right: 30px;
}

#gallery .header .top-buffer h1 {
    font-weight:bold;
    font-size: 48px;
}

.galleryContainer {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 30px;
}

#gallery .header .about p {
    font-size: 18px;
}

#gallery .header .about .readMore {
    margin-top: .75rem;
    display: inline-block;
}

/* Loading indicator styles */
#loading-indicator {
    color: white;
    font-size: 16px;
    padding: 20px;
}

#loading-indicator p:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#load-error {
    color: white;
    padding: 20px;
}

#load-error a {
    color: white;
    text-decoration: underline;
}

#end-of-gallery {
    color: rgba(255,255,255,0.7);
    font-style: italic;
    padding: 20px;
}
