/* --------| SETUP |----------------- */

* {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
body {
	position: relative;
	background-color: #000;
	color:#A86;
	font: 16px Georgia,"Palatino Linotype","Times New Roman",Times,serif;
	font-size: 100%;
	width:auto;
	margin:0px;
	border:0px;
	padding:0px;
	background-image:url("images/Ocean.jpg");
}
h1 {
    font-size: 2.5em;
}
h2 {
    font-size: 1.875em;
}
p {
    font-size: 0.875em;
}

/* ----| BANNER |----------------------- */

#banner{
  position:relative; top:0px;
  height:100px;
  width:100%;
  margin:0px;
  padding:0px;
  background:url("images/Tukat_Banner.jpg");
  background-repeat:no-repeat;
  background-size:100% 100%; 
  }
#subbanner {
	position:absolute;
	top:10px;
	height:80px;
	width:80px;
	right:0px;
	margin:0px;
	padding: 0px;	
	background-image:url("images/Sails.png");
	background-repeat:no-repeat;
}
#subbanner p {
	font-size:small;
	text-indent: 10px;
	}
.IpBox {
	position: absolute;
	height:2em;
	width:8em;
	color: #975;
	font-size:2em;
	text-align:right;
	right: 20px;
	top: -100px; /* hides IpBox above banner */
}
#subbanner:hover .IpBox {
top:80px; /* shows IpBox below subbanner */
}

/* -------------| ROW WRAP |------------------ */

/* On the flex container */
#galleryList {
   display: -webkit-flex;
   display: flex;
   -webkit-align-items: center;
   align-items: center;
   -webkit-justify-content: center;
   justify-content: center;
   /* You can set flex-wrap and flex-direction individually */
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-flex-wrap: wrap;
   flex-wrap: wrap;
   /* Or do it all in one line with flex flow */
   -webkit-flex-flow: row wrap;
   flex-flow: row wrap;
   /* tweak where items line up on the row */
   /* valid values are: flex-start, flex-end, space-between, space-around, stretch */
   -webkit-align-content: flex-end;
   align-content:  flex-end;
}

/* -------------| TITLE BOX |--------------------- */
	
.cboxElement title {
	/*position: absolute;*/
	bottom: 0;
	left: 0;
	right: 0;
	margin-bottom: -80px; /* hides titleBox outside boxInner */
	background: rgba(0, 0, 0, 0.5);
	color: #FFF;
	padding: 10px;
	text-align: center;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.cboxElement:hover .titleBox {
	margin-bottom: 0; /* shows titleBox inside boxInner */
}

/* -------------------------------------------------------------------------- */
/* -----| GALLERY LIST |----------------------------------------------------- */
/* -------------------------------------------------------------------------- */

.center {
	padding-top:30px;
    margin: auto;
    max-width: 95%;
 /*   border: 3px solid #73AD21;
    padding: 0px 0px 0px 0px; */
}

#galleryList {
    margin: 0px;
    padding-left: 15px;
}

#galleryList li {
    display: inline-block;
    float: left;
    list-style: none;
    padding: 10px;
    margin:12px;
}

#galleryList li a {
	 text-decoration:none !important; /* remove link underline */
	 background:rgba(255,0,0,0.3) url('images/notavail.png') 246px 246px;
    border: 3px solid #653;
    display: block;
    padding: 0px;
	border-radius: 25px;
	 -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
	 overflow: hidden;
	 outline: transparent;
}

#galleryList li a:hover {
    border-color: #A86;
}

#galleryList li img {
	 width: 231px;
	 height: 231px;
    border: none;
}

/* --------------| COPYRIGHT |---------------------- */

footer {
	display: block;
	position:relative;
	left: 0px;
	width:100%;
	text-align:left;
	color:#653;
	font-size:2em;
   padding:0.5em;
	font-style:italic;
	margin:0px auto;
}

/* -------------------------------------------------------------------------- */
/* -----| GALLERY FOOTER |--------------------------------------------------- */
/* -------------------------------------------------------------------------- */

#galleryFooter {
    border-top: 1px solid #975;
    margin-top: 10px;
    padding: 0px;
}

#credit {
   visibility: hidden;
	width: 0px;
	height: 0px;
 /*   float: right;
    font-size: 0.9em;
    margin: 4px 0; */
}

#galleryFooter #credit a {	
    color: #369;
}


/* ---------------------------------------- */
/* ----|  PAGINATION  |-------------------- */
/* ---------------------------------------- */

#galleryPagination {
    color: #975;
    float: left;
    font-size: 4em;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

#galleryPagination li {
    border: 0px solid transparent;
    border-radius: 3px;
    display: block;
    float: left;
    list-style: none;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
 
#galleryPagination li:hover {
    background-color: #0F0F0F;
    border: 1px solid #CC0;
}

#galleryPagination li.title {
	 visibility: hidden;
	 height: 0px;
	 width: 0px;
/*    border: 1px solid transparent;
    font-weight: normal;
    padding: 3px 6px 3px 3px; */
}

#galleryPagination li a, #galleryPagination li a:visited {
    color: #975;
    display: block;
    padding: 3px 15px;
    text-decoration: none;
}

#galleryPagination li.current {
    background-color: transparent;
    border: 1px solid transparent;
    color: #431;
    font-weight: bold;
    padding: 3px 15px;
}

#galleryPagination li.inactive {
    background-color: transparent;
    color: #431;
    border: 1px solid transparent;
    display: block;
    padding: 3px 15px;
}


/* ---------------------------------------- */
/* ----|  MISCELLANEOUS  |----------------- */
/* ---------------------------------------- */

/* --- CLEAR FIX --- */

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1; /* IE6 */
}

*:first-child+html .clearfix {
    zoom: 1; /* IE7 */
}

/**
 * UberGallery.css created and implimented by,
 * Chris Kankiewicz -- http://www.ChrisKankiewicz.com
 */