/* @override
	http://phase2.usgbc.josiah.mododev.com/themes/usgbc/lib/css/jq-gallery.css */

#gallery ul,
#gallery li {
    list-style-type: none;
}
/* @group Gallery Page overwrites */
#gallery-page {
	background: black;
	background: rgba(0,0,0,.9);
}

#gallery-page #gallery {
  display: block;
  left: auto;
  top: auto;
  position: relative;
  background: none;
}
#gallery-page #gallery .container {
  display: block;
}

	#gallery-page #gallery .media {
		position: relative;
		width: 800px;
		margin: 0 auto;
		left: auto;
		top: auto;
		text-align: center;
		margin-top: 100px;
	}
		#gallery-page #gallery .copyright {
			text-align: center;
		}
#gallery-page .gallery-logo {
		display: block;
        clear: both;
        height: 100px;
        width: 100px;
        background: url(../img/logo-on-black.gif) no-repeat left;
        position: absolute;
        left: 2%;
    }

#gallery-page #gallery .menu {
  position: relative;
}

#gallery-page ul.thumbs {
	width: 735px;
	margin: 0 auto;
	margin-top: 20px;
}
	#gallery-page ul.thumbs li {
		float: left;
		width: 100px;
		width: 100px;
		margin: 16px 8px 0;
		display: block;
		border: 3px solid #333;

		-webkit-box-shadow: 0px 1px 3px #000;
		-moz-box-shadow: 0px 1px 3px #000;
		box-shadow: 0px 1px 3px #000;
	}
	#gallery-page ul.thumbs li a,
	#gallery-page ul.thumbs li img {
		display: block;
    width: 100%;
    height: auto;
	}

  #gallery-page ul.thumbs li.active {
    border: 2px solid white;
  }

  #gallery-page ul.thumbs li:not('.active'):hover {
    margin-bottom: 3px;
  }

  #gallery-page ul.thumbs li img {
    display: block;
  }

  #gallery-page ul.thumbs li.active img {
    padding-bottom: 5px;
    margin-bottom: -5px;
  }

  #gallery-page ul.thumbs li:not(.active) a:hover img {
    border: 2px solid white;
    margin: -2px -2px 0 -2px;
  }

/* @end */


/* @group Gallery Modal Loading */

#gallery #loading-container{
  position: relative;
  width: 100%;
  height: 100%;
}
#gallery #loading-container .loading {
  display: inline;
}

/* @end */


/* @group Gallery Layout */
#gallery {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1001;
    width: 100%;
    height: 100%;
    display: none;
    background: black;
    background: rgba(0,0,0,.9);
    font-family:  'ProximaNova', 'Gotham', 'Helvetica Neue', Helvetica;
}

#gallery .container{
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

#gallery .loading {
    width: 100px;
    height: 100px;
    background: url(../img/spinner-gallery.gif) no-repeat;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    z-index: 3;
    display: none;
}
/* @end */

/* @group Header */
#gallery .header {
    position: relative;
    width: 100%;
}

    /* @group Thumbnail Drawer */
    #gallery .drawer {
        overflow: hidden;
        position: absolute;
        padding: 0 20px;
        height: 90px;
        left: 0;
        top: 0;
        z-index: 1;

        background-color: #292929; /* fallback color */
        background-image: -moz-linear-gradient(100% 100% 90deg, #222222, #2d2d2d);
        background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2d2d2d), to(#222222));
        -pie-background: linear-gradient(#2d2d2d, #222222 100%);
    }

    #gallery .drawer ul {
        list-style-type: none;
        margin: 5px 0 5px -10px;
        height: 75px;
    }

    #gallery .drawer li {
        position: absolute;
        bottom: 0;
      margin: 0 0 0 10px;

        width: 100px;

        -webkit-box-shadow: 0 0 4px #000;
        box-shadow: 0 0 4px #000;
    }

    #gallery .drawer .active {
        margin: 0 0 0 10px;
        border: 2px solid white;
    }

    #gallery .drawer li:not(.active):hover {
        margin-bottom: -2px;
    }

    #gallery .drawer img {
        display: block;
    }

    #gallery .drawer .active img {
        padding-bottom: 5px;
        margin-bottom: -5px;
        background: url(../img/jq-gallery/active-thumb.gif) no-repeat bottom;
    }

    #gallery .drawer li:not(.active) a:hover img {
        border: 2px solid white;
        margin: -2px -2px 0 -2px;
    }

        /* @group Scroll Bar */
        #scroll { width: 100%; }

        #scroll .viewport {
            width: 100%;
            height: 80px;
            overflow: hidden;
            position: relative;
        }

        #scroll .overview {
            list-style: none;
            padding: 0;
            margin: 0;
            position: absolute;
            left: 0;
            bottom: 0;
        }

        #scroll .overview img { float: left; }

        #scroll .scrollbar {
            position: relative;
            margin: 6px 0 0 0;
            clear: both;
            height: 15px;
        }

        #scroll .track {            /* BACK FULL BAR */
            width: 100%;
            height:10px;
            position: relative;
            padding: 0 1px 0 0;
            background: black;
            border-radius:10px;


            -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.1);
            box-shadow: 0 1px 0 rgba(255,255,255,.1);
        }

        #scroll .thumb {        /* WHATS BEING COVERED */
            height: 8px;
            cursor: pointer;
            overflow: hidden;
            position: absolute;
            left: 1px;
            top: 1px;
            border-radius: 8px;

            background-color: #414141; /* fallback color */
            background-image: -moz-linear-gradient(100% 100% 90deg, #333, #494949);
            background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#494949), to(#333));
            -pie-background: linear-gradient(#494949, #333 100%);
        }

        #scroll .thumb .end {
            overflow: hidden;
            height: 13px;
            width: 5px;
        }

        #scroll .disable { display: none; }
        /* @end */
    /* @end */

    /* @group Menu Bar */
    #gallery .menu {
        background: #333 url(../img/jq-gallery/menubar.gif) repeat-x top;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        width: 100%;
        height: 51px;

        -webkit-box-shadow: 0 0 3px #000, 0 0 2px rgba(255,255,255,.2) inset;
        box-shadow: 0 0 3px #000, 0 0 2px rgba(255,255,255,.2) inset;
    }

    #gallery .title {
        float: left;
        font-size: 24px;
        font-weight: 400;
        margin-right: 300px;
        color: white;
        margin: 10px 0;
        margin-left: 20px;
        text-shadow: 0 -1px #000;
    }

    #gallery .controls {
        float: right;
        list-style-type: none;
        margin: 10px 0;
        margin-right: 20px;
        min-width: 265px;
    }

    #gallery .controls li {
        float: left;
        margin-left: 28px;
    }

    #gallery .controls a {
        position: relative;
    }

    #gallery .nav {
        margin-top: 7px;
        margin-left: 0;
    }

    #gallery .nav a {
        display: block;
        width: 14px;
        height: 19px;
        text-indent: -9999px;
        background-repeat: no-repeat;
        background-position: center;
        float: left;
    }

    #gallery .nav a:active,
    #gallery .exit a:active {
        margin-top: 1px;
    }

    #gallery .prev { background-image: url(../img/jq-gallery/prev.png); }
    #gallery .next { background-image: url(../img/jq-gallery/next.png); }

    #gallery .nav .disabled {
        opacity: .1;
        cursor: default;
    }

    #gallery .current {
        float: left;
        width: 110px;
        text-align: center;
        font-size: 12px;
        font-weight: 400;
        color: white;
        text-shadow: 0 -1px #000;
        line-height: 19px;
    }

    #gallery .drawer-trigger a {
        display: block;
        height: 31px;
        width: 22px;
        padding: 0 13px;
        text-indent: -9999px;
        background: url(../img/jq-gallery/thumbnails.png) no-repeat top;
    }

    #gallery .drawer-trigger a.active {
        background-position: bottom;
        background-color: #232323;
        border-radius: 8px;

        -webkit-box-shadow: 0 0 4px rgba(0,0,0,.75) inset, 0 0 1px rgba(255,255,255,.25);
        box-shadow: 0 0 4px rgba(0,0,0,.75) inset, 0 0 1px rgba(255,255,255,.25);
    }

    #gallery .exit {
        width: 25px;
        margin-top: 6px;
    }

    #gallery .exit a {
        display: block;
        text-indent: -9999px;
        height: 24px;
        background: url(../img/jq-gallery/exit.png) no-repeat center;
    }

        /* @group Bubble Tips */
        #gallery a .bubble {
            position: absolute;
            display: none;
            width: 150px;
            left: 50%;
            bottom: -26px;
            margin-left: -75px;
            z-index: 4;
            text-align: center;
            text-indent: 0 !important;
        }

        #gallery a .bubble .tip {
            font-size: 11px;
            font-weight: bold;
            color: white;
            background: black;
            border: 2px solid white;
            padding: 4px 10px;
            position: relative;
            z-index: 4;
            border-radius: 20px;
            display: inline;
            line-height: 12px;
            opacity: 1;
            right: 0;
            top: 0;
            position: static !important;
            width: auto;

        }

        #gallery a .bubble img {
            position: absolute;
            left: 50%;
            top: -11px;
            display: block;
            z-index: 15;
            margin-left: -7px;
            display: none;
        }
        /* @end */
    /* @end */
/* @end */

/* @group Body */
#gallery .media {
    position: absolute;
    left: 50%;
    top: 186px;
    margin-left: -50%;
    padding-top: 30px;
    width: 100%;
}
#gallery .media img,
#video-embed object {
	background: #000;
    border: 5px solid #424242;
    display: block;
    margin: 0 auto 0;
    -webkit-box-shadow: 0 0 6px #000;
    -moz-box-shadow: 0 0 6px #000;
    box-shadow: 0 0 6px #000;
}

#gallery .media p {
    text-align: center;
    text-shadow: 0 -1px #000;
}

#gallery .caption {
    font-size: 16px;
    color: white;
    font-weight: 200;
    margin-bottom: 4px;
	margin-left:70px;
	margin-right:70px;
}
#gallery .media .copyright {
	margin-bottom: 25px;
	text-align: center;
	font-size: 12px;
	color:#f7f7f7;
}

#gallery .meta {
    font-size: 12px;
    font-weight: 300;
    color: #676767;
}

#gallery .meta span {
    padding-right: 9px;
    margin-right: 4px;
    background: url(../img/jq-gallery/bullet.gif) no-repeat right;
}

#gallery .meta span:empty { display: none; }

#gallery .meta span.date {
    padding-right: 0;
    margin-right: 0;
    background: none;
}
/* @end */

/* @group IE6 Fixes */
* html #gallery { position:absolute; height:1000px; }
* html #gallery a .bubble img { display: none !important; }
/* @end */

/* @group Video Styles */
#video-embed {
	max-width: 900px;
	width: 95%;
	margin: 0 auto;
}
#video-embed .video-container {
	width: 100%;
	position: relative;
	height: 0;
}
	#video-embed .video-container object{
		position: absolute;
		top: 0;
		left: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

#video-embed iframe {
	width: 853px;
	height: 479px;
	display: block;
    margin: 0 auto 0;
	border: 5px solid #424242;

	-moz-box-shadow: 0 0 6px #000;
	-webkit-box-shadow: 0 0 6px #000;
	box-shadow: 0 0 6px #000;
}
/* @end */
