/* @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,700,800|Roboto+Slab:400,100,300,700); */



/**  Basic Page CSS **/
body{
    /* font-family: Arial, sans-serif; */
    position: relative;
	overflow-x: hidden;
}

.abs{
    position: absolute;
    bottom: 0;
    width: 100%;
}

img {
    height: auto;
}

img, object, embed {
    max-width: 100%;
}



.arrowNav{
	/*
	border-radius: 50%;
	background: rgba(255,255,255,0.85);
	border: solid 1px #AAA;
	color: #555;
	*/
	position: fixed;
	bottom: 20px;
	
	cursor: pointer;
	z-index: 9999;
}
.arrowNav img{
	width: 64px;
	height: 64px;
	opacity: 0.8;
}
.arrowNav img:hover{
	/*background: rgba(255,255,255, 1);*/
	width: 68px;
	height: 68px;
	transition: all .25s ease-out;
}


@media (max-width: 576px){
	.arrowNav img{
		width: 32px;
		height: 32px;
	}
	.arrowNav img:hover{
		width: 36px;
		height: 36px;
	}
}
	
/*
#leftArrow span, #rightArrow span{
	font-size: 50px;
	display: block;
	margin-top: -14px;
	margin-left: -2px;
}
#goToTopBTN span{
	margin-top: -8px;
	font-size: 40px;
	display: block;
}
*/

/* --- PREVIEW POPUP ------- */
.ui-dialog .ui-dialog-title {
	font-size: 12pt;
}
.ui-button-text-only .ui-button-text {
    font-size: 11pt;
}



/* ############################################## Header #########################################  */


.navbar-center, .navbar-center > li {
    float: none;
}
@media (min-width: 768px){
	.navbar-center, .navbar-center > li {
		display: inline-block;
	}
}
/*
@media (max-width: 768px){
	.navbar{
		background: rgba(255,255,255,0) !important;
	}
}
*/


/* BUG FIX FOR 2nd LINE OF NAV */
@media (min-width: 768px){
  .navbar-nav > li {
    float: none !important;
  }
}


h1, h2, h3, h4, h5, h6 {
    /*
	font-family: "Open Sans", sans-serif;
    font-weight: 100;
	*/
    margin: 0;
}
/*
header .navbar {
    padding: 18px 0 0 0;
}
*/


/* ---- PREVENT INDIVIDUAL NAV ITEMS FROM WRAPPING --- */

.nav-link {
    display: inline-block;
    white-space: nowrap;
}
/* ---- FORCE NAV ITEMS TO WRAP TO NEW ROW --- */
.navbar-nav{
    flex-wrap: wrap !important;
}


header .navbar, .navbar-collapse, #horNavDiv li{
    transition: all .8s ease-out;
}
 /*
header .navbar-default, .navbar-collapse, #horNavDiv li{
    background-color: transparent; 
    border: none;
}*/

header .navbar-default .navbar-nav a {
    padding: 5px 8px;
}/*
header .navbar-default .navbar-nav a:hover {
    color: #EEC856;
}
 */
header .navbar-default .navbar-nav .active a {
    /* font-weight: 700;
    color: #EEC856;
    background: transparent; 
    border-bottom: 4px solid #EEC856;
	*/
    text-shadow: none;
}

header .navbar-default .navbar-nav .active a:hover {
    /* color: #E15D5F;
    background: transparent; */
    text-shadow: none;
}

/**  Navbar Brand **/
/*
header .navbar-brand {
    background-repeat: no-repeat;
    background-position: 10px 0;
	background-size: 80px;
	min-height: 50px;
}
*/
.inbody #brandLogo{
	max-height: 80px !important;
	transition: max-height .8s ease-out;
}
#brandLogo{
	max-width: 200px; 
	max-height: 120px;
	transition: max-height .8s ease-out;
	/*
	margin-top: -5px;
	margin-left: 15px;
	margin-bottom: 10px;
	*/
}
@media (max-width: 768px){
	#brandLogo{
		max-width: 100px !important;
		max-height: 60px !important;
	}
}


header .navbar-brand h1 {
    color: white;
    margin: 0;
    font-size: 1.8em;
    font-weight: 400;
    padding-left: 105px;
}

header .navbar-brand span.subhead {
    display: block;
    /* font-family: "Roboto Slab", serif;*/
    font-size: .6em;
    font-weight: 100; 
}

/**  Navbar Toggle (HAMBURGER) **/
header .navbar-toggle {
    background-color: #AAA;
	box-shadow: #AAA 3px 3px 3px;
	margin-right: 24px !important;
	padding: 12px 8px !important;
}

header .navbar-default .navbar-toggle .icon-bar {
     background-color: white; 
}

/* HAMBURGER LIST
@media only screen
and (max-width: 768px) {
    header .navbar-collapse.in {
        background-color: rgba(0,0,0, .5);
    }
}*/

/**  nav inbody **/
header .navbar.inbody {
    padding-top: 0;
    padding-bottom: 0;
}
@media (min-width: 768px){
	header .navbar.inbody .navbar-nav {
		padding-top: 10px;
	}
}
/*
header .navbar-brand{
	margin-top: -17px;
}*/
header .inbody .navbar-brand {
    background-size: 43px;
    background-position: top left;
    margin-top: 2px;
    padding-bottom: 0;
    margin-left: 10px;
}

header .inbody .navbar-brand h1 {
    font-size: 1.1em;
    padding-left: 38px;
}

header .inbody .navbar-brand span.subhead {
    display: none;
}

/* HOVER OVER DROPDOWN TO EXPAND IT */
.dropdown:hover>.dropdown-menu {
  display: block;
}

/* REMOVED GAP BETWEEN PARENT AND SUBDIV */
.dropdown-menu{
	margin: 0 !important;
	border-radius: 0 0 0.25rem 0.25rem;
}

.subDiv{
    position: fixed;
    /* 
	min-width: 120px;
    padding: 8px 13px;
	margin-top: 8px; */
	z-index: 900;
}
@media (max-width: 750px){
	.subDiv{
		display: inline-block !important;
		width: 98%;
		margin-left: 11px !important;
	}
	.nav-link {
		width: 90%;
	}
}
.subNav{
	cursor: pointer;
	padding: 10px 14px;
	list-style-type: none !important;
	text-decoration: none;
}

/*
@media (max-width: 768px){
	#topBar{
		display: none;
	}
}
*/











#pwdDiv{
	padding: 15px;	
    text-align: center;
    display: block;
    width: 468px;	
    margin: auto;
    margin-top: 80px;
	background: #FAFAFA;
}
#archivedDiv{
	display: inline-block; 
	margin: 30px;
	background: #FFF;
}	
#archivedDiv, #pwdDiv{
	border: solid 1px #888; 
	border-radius: 6px; 
	box-shadow: #AAA 5px 8px 10px
}



/*---------- START OF SOCIAL MEDIA STYLES --------------- */
#socialDiv{
	position: absolute; 
	right: 10px;
	top: 14px;
}
#fbShareDiv, #twitterShareDiv {
    display: inline-block;
}
#twitterShareDiv{
	margin-left: 10px;
}
#fbShareBTN, #twitterShareBTN{
	margin-top: -3px;
	cursor: pointer;
	height: 0;
}
/*
#fbShareText, #twitterShareText{
	color: #EEE;
	transition: all .2s;
	cursor: pointer;
}
#fbShareText:hover, #twitterShareText:hover{
	color: #222;
	text-shadow: none;
}
*/


#centerBox{
	text-align: center;
}
/*---------- END OF SOCIAL MEDIA STYLES --------------- */




/* ############################################## CAROUSEL #########################################  */


/**  NEW Carousel Fade **/
/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb 
*/
/*
#carouselHolder{
    margin-top: -30px;
    margin-bottom: -30px;
}
*/

.carousel{
  overflow: hidden;
}

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}
.carousel-caption{
	padding-left: 8px;
	padding-right: 8px;
}

.carousel-indicator-holder{
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 15;
  width: 60%;
  padding-left: 0;
  margin-left: -30%;
  text-align: center;
}

.carousel-indicators li{
	border-bottom: solid 1px #333 !important;
}

#playPauseCarouselBTN{
	font-size: 16pt;
    color: rgba(255,255,255,0.8);
    text-shadow: #333 1px 2px 3px;
    margin-right: 10px;
	cursor: pointer; 
}



.carousel_iFrame{
	height: 110% !important;
}



@media screen and (max-width: 768px){
	.carousel-caption, .carousel-caption span, .carousel-caption p, .carousel-caption h1, .carousel-caption h2, .carousel-caption h3, .carousel-caption h4{
		font-size: 14pt !important;
	}
}

/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}












/**  OLD Carousel Fade **/
.carousel.fade {
    opacity: 1;
}

.carousel.fade .item {
    transition: opacity ease-out .7s;
    left: 0;
    opacity: 0;
    top: 0;
    position: absolute;
    width: 100%;
    display: block;
}

.carousel.fade .item:first-child {
    top: auto;
    opacity: 0;
    position: relative;
}

.carousel.fade .item.active {
    opacity: 1;
}

/*
.carousel-caption{
	background: rgba(220,220,220,0.7);
}

@media screen and (max-width: 768px) {
	.carousel-caption {
		font-size: 2vw;
	}
}

.carousel-control {
    opacity: 0;
}
*/
.carousel-control:hover {
    background: rgba(255,255,255,0.2);
}

.carousel-control.right,
.carousel-control.left {
    background-image: none;
}

#topCarousel .item {
    /*
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
	*/
    width: 100%;
    height: 100%;
}
#topCarousel img{
	margin: auto;
}



/* ##############################################  FX  #########################################  */

.slideLeftFX{
  transform: translateX(-275px);
  animation: slideLeftFX 1s ease forwards;
}
@keyframes slideLeftFX{
  to { transform: translateX(0); }
}

.slideRightFX{
  transform: translateX(275px);
  animation: slideRightFX 1s ease forwards;
}
 @keyframes slideRightFX {
  to { transform: translateX(0); }
}

.slideUpFX{
  transform: translateY(325px);
  animation: slideUpFX 1.5s ease forwards;
}
@keyframes slideUpFX {
  to { transform: translateY(0); }
}

.already-visible{
	transform: translate(0,0);		/* translate x and y to 0 */
    animation: none;
}


.fadeInFX{
	opacity: 1 !important;
    transition: opacity .8s ease-in;
}



/* ##############################################  MAIN  #########################################  */
main{
	display:block;
}

@media only screen and (min-width: 780px) {
	.page:not(footer){
		padding: 30px 0; 
	}
}

/* Fixes line-height issue 
.page span {
    display: inline-block;
}
*/

/*
main .row{
    padding: 10px;
	border: solid 1px #AAA;
	border-radius: 4px;
}
*/


/* NEW CLASS TO ALLOW CONTENT TO BE WIDER  */
@media (min-width: 1900px){
   .container.wideContent{
	  max-width: 1600px;
   }
}
.sectionContent{
	display: inline-block;
	width: 100%;
}

.gridCell{
	padding: 15px;		/* default padding... can be overridden by user */
}



.noTopPad{
	padding-top: 0px !important;	
}

main .article img{
	max-width: 100%;
}
@media only screen and (min-width: 450px) and (max-width: 768px) {
    main .row {
        padding: 10px 5px;
    }
}
/* .subSection .container {
    width: 80%;
} */


/* FIRST SECTION - gradient*/
/*
#section1 {
    background-color: #E4D29D;
    background-image: linear-gradient(to bottom, #EEF08A, #819A2D);
    border-top: 20px solid rgba(238, 200, 86, .5);
}

#section2 {
    background-color: #E4D29D;
    background-image: linear-gradient(to bottom, #E4D29D, #CDAE50);
}
*/






/* FOR MAKING EMBEDDED CONTENT SCALE*/	
.video-container, .youtube-container{
    position: relative;
	height: 0; 
	overflow: hidden;
}
.video-container{
	padding-bottom: 68%;  
}
.youtube-container{
	padding-bottom: 56.25%;  
	/* padding-top: 30px; */
}
.youtube-container iframe, .video-container iframe, .youtube-container object, .video-container object, .youtube-container embed, .video-container embed, .video-container video, .youtube-container video {    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
	
	
	

/* FOR MAKING EMBEDDED CONTENT SCALE*/	
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}	
	


/* ############################################## GALLERIES #########################################  */
/*
#photoGallery, #videoGallery, #audioGallery, #attachmentGallery{
	text-align: center;
}
*/
/* .vidDiv, .photoDiv, .audDiv, .attDiv{ */
.galleryDiv{
	margin: 0 auto;
	text-align: center;
	padding: 20px 0; 
	/* 
	width: 100%;
	*/
}
.galleryControls{
	background-color: #DDD;
	color: #222;
	padding: 8px;
	/* border-radius: 4px; */
	font-weight: bold;
}
#pauseGalleryBTN, #playGalleryBTN, #prevPhotoBTN, #nextPhotoBTN, #prevVideoBTN, #nextVideoBTN, #prevAudioBTN, #nextAudioBTN{
	cursor: pointer;
	vertical-align: bottom;
}
#imgGalleryInstructions{
	font-weight: bold;
}

#photoCap{
	font-weight: normal !important;
	font-style: italic;
	margin-bottom: 15px;
}

.gridImg{
	display: inline-block;
	margin: 14px;
	width: 250px;
	height: 175px;
	vertical-align: middle;
	text-align: center;
}
.gridImg img{
	width: auto;
	height: auto;
	margin: auto;
	max-width: 255px;
	max-height: 175px;
	cursor: pointer;
}
#galleryGridBTN{
	float: left;
	cursor: pointer;
	margin-left: 15px;
	width: 26px;
}

#vidNav, #photoNav, #audNav {
	width: 100%;
	text-align: center;
}

#photoNum{
  float: right;
  margin: 6px 15px 0 -100px;
}
#photoBar{
  width: 98%;
  height: 3px;
}

#vidNum, #audNum{
	margin: 5px 12px;
}
#audHolder {
	margin: 20px auto;
}
#audDetailsTable, #attDetailsTable{
	width: 90%;
	margin: 20px auto 10px auto;
	/*border: solid 1px;*/
	text-align: left;
	padding: 15px 0 10px 10px;
}

#attDetailsTable td{
	height: 36px;
}

.playButton{
	cursor: pointer;
}
.downloadButton, .videoDownloadButton{
	cursor: pointer;
	height: 26px;
	font-size: 14pt;
	margin-right: 2px;
}
#downloadPhotoDiv, #downloadVideoDiv{
	margin-bottom: 10px;
}

/*
#vidDiv .downloadButton, #photoDiv .downloadButton{
	margin-bottom: -6px;
}
*/
#vidPlayer, #audPlayer{
	max-width:500px;
	margin: 5px auto 15px auto;
	padding: 25px;
}

#currentVidPopup{
	max-height: 90%;
	max-width: 100%;
}

#downloadBTN, #downloadWebBTN{
	cursor: pointer;
	font-weight: bold;
	text-decoration: none !important;
	margin: 5px 20px 15px 20px;
	display: inline-block;
}


#slideShowBTN{
	float: right;
	font-weight: bold;
	cursor: pointer;
}
/*---------- END OF GALLERY STYLES --------------- */














/* ############################################## FOOTER #########################################  */
footer {
	padding: 20px;
}

/*
footer {
    background: #586D74;
    color: white;
    font-size: .8em;
    padding: 20px 0 40px 0;
}

footer a {
    color: #E0E6AE;
}

footer a:hover {
    color: #EEC856 !important;
}

footer .phone {
    font-size: 1.4em;
    font-weight: 700;
    color: #E0E6AE;
}
*/

footer .navbar {
    margin-bottom: 0;
    min-height: 0;
}

footer .navbar-default {
    background-color: transparent;
    border: none;
    margin-right: 40px;
}

footer .navbar-nav>li a {
    padding-top: 0;
    padding-bottom: 0;
    text-decoration: underline;
    /* color: #EEC856 !important; */
}

/* INITIALLY SET TO "1px" SO THAT IT DOESN'T START TOO TALL... GETS OVERRIDDEN IN STYLES.PHP */
#bottomBar{
	height: 1px;
}

/*-------------- EMBEDDED CONNECT-WITH-US (CWU) FORM  --------------------- */

.wsForm{
	width: 100%;
	/*max-width: 800px;*/
	vertical-align: top;
}
.wsForm div{
	display: inline-block;
	min-width: 106px;
	width: 100%;
}

.wsForm input[type=text], .wsForm input[type=password], .wsForm textarea{
	width: 100%;
    border-radius: 4px;
    border: solid 1px #AAA;
	margin-bottom: 8px;
}
.wsForm input[type=text], .wsForm input[type=password]{
	max-width: 200px;
}
.wsForm textarea{
	max-width: 350px;
	height: 150px;
}
.wsForm input[type=text]:hover, .wsForm input[type=password]:hover, .wsForm textarea:hover{
	border-color: #222;
}

.wsFormSubmitBTN{
	color: inherit;
	padding: 4px 6px;
	border-radius: 5px;
}


.wsFormFeedback{
    background: rgb(172, 255, 122);  /*#62b546;   palegreen; */
    color: #222;
	font-size: 12pt;
    font-weight: bold;
    width: 259px;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
}
.warningMsg{
	background: rgb(247, 155, 160) !important; /* rgb(240, 128, 128);   rgb(255, 182, 193) */	
}

/* FIX CLOSE BUTTON OUTLINE ISSUE IN JQUERY UI POPUPS */
.ui-dialog-titlebar span.ui-button-text {
    display: none !important;
}



/* ################################################## OTHER STUFF ##############################  */

.handIcon{
	cursor: pointer;
}

.previewBar{	
	background-color: rgba(255, 22, 22, 0.44);
	border: solid 1px #000;
	color: #000;
	text-align: center;
	padding: 15px;
	font-size: 16pt;
	font-weight: bold;
	font-family: Droid sans;
}


/*---------- START OF POPUP STYLES --------------- */
.mask {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 5002;
	background-color: rgba(0,0,0,0.75);
}
#cssPop {
	z-index: 5555;
	overflow-y: auto;
	padding: 8px;
	background: #e9e9e9; 
	border-radius: 8px;
	color: #000;
	position: fixed;
  
	min-width: 350px;
	max-width: 1000px;
}
#closeIMGButton{
	float: right;
	margin-left: 96%;
	margin-bottom: 6px;
}
/*---------- END OF POPUP STYLES --------------- */


.noSelect{
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
}	