/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #998899 url(../img/site/hex-bg.jpg) repeat fixed;
	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #666;
}
a {
	color: #026acb;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 980px;
	margin: 0 auto;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 150px;
	z-index: 0;
}

/* site logo */
#site-logo {
	position: absolute;
	top: 10px;
	width: 300px;
}
#site-logo a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}

/* site description */
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #fff;
	position: absolute;
	top: 55px;
}

/* searchform */
#searchform {
	position: absolute;
	right: 10px;
	bottom: 6px;
	z-index: 100;
	width: 160px;
}
#searchform #filter {
	width: 140px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	/* gradient */
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
	background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #fff;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content {
	background: #fff;
	margin: 30px 0 30px;
	padding: 20px 35px;
	width: calc(70% - 70px);
	max-height: calc(100vh - 254px);
	/* height: calc(100vh - 260px); */
	margin: 10px 0 10px;
	overflow-y: scroll;
	float: left;
	/* rounded corner
	min-height: 400px; */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 18px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

/* post image */
.post-image {
	margin: 0 0 15px;
	width: 150px;
}

/* CREST IMAGE */
.crest {
	margin: 0 0 5px;
	width: 150px;
}

/* WARPONY IMAGE */
.warpony {
	margin: 0 0 5px;
	width: 500%;
}

/* WARPONY IMAGE */
.darkhorse {
	margin: 0 0 5px;
	width: 500%;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
	width: calc(35% - 35px);
	float: right;
	margin: 10px 0 30px;
}
.widget {
	background: #fff;
	margin: 0 0 30px;
	padding: 10px 20px;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitle {
	margin: 0 0 5px;
	padding: 0;	
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #eee;
}

/* flickr widget */
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
	width: 48px;
	height: 48px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #ccc;
	font-size: 85%;
}
#footer a {
	color: #fff;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

/************************************************************************************
PIC BORDER
*************************************************************************************/

#picborder {
	background: #fff;
	margin: 0 0 0px;
	padding: 0px 0px;
	height: 100%;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/************************************************************************************
CLOCK CONTAINER
*************************************************************************************/

#clockContainer {
	position: relative;
	margin: auto;
	height: 30vw;
	/*to make the height and width responsive*/
	width: 30vw;
	background: url(../img/art/clock.png) no-repeat;
	/*setting our background image*/
	background-size: 100%;
}
 
#hour,
#minute,
#second {
	position: absolute;
	background: black;
	border-radius: 10px;
	transform-origin: bottom;
}
 
#hour {
	width: 1.8%;
	height: 25%;
	top: 25%;
	left: 48.85%;
	opacity: 0.8;
}
 
#minute {
	width: 1.6%;
	height: 30%;
	top: 19%;
	left: 48.9%;
	opacity: 0.8;
}
 
#second {
	width: 1%;
	height: 40%;
	top: 9%;
	left: 49.25%;
	opacity: 0.8;
}

/************************************************************************************
TABLE STRUCTURE
*************************************************************************************/
table { font-size: 85%; table-layout: auto; width: 100%; }
table { border-radius: 0.25em; border-collapse: separate; border-spacing: 2px; }
thead { background: #99CCFF; position: sticky; top: 0; z-index: 10; font-weight: bold;}
table, th, td { border-width: 0px; padding: 0.5em; position: relative; text-align: left; }
th, td { border-style: none; }
/* th { border-radius: 0.25em; background: #EEE; border-color: #BBB; } */
td { border-color: #DDD; }

td.butt {border-width: 0px;text-align: center;}

td img {width:18px;}
th.title , td.title {max-width:100%;}
th.remove, td.remove {width:20px; border-width: 0px; background: #FFFFFF;}

tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #D2F8DD;}

.glowBox { outline: none; border-color: #9ecaed; box-shadow: 0 0 10px #9ecaed; }
.glowBox:hover { outline: none; border-color: #9ecaed; box-shadow: 0 0 10px #9ecaed; background: #eeeeee;}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }

/************************************************************************************
FAC APP
*************************************************************************************/

#app-frame {
	z-index:  -1;
	margin-right: auto;
	margin-left: auto;
	width: 384px;
	height: 770px;
}

#app {
	position:relative;
	z-index:  0;
	left: 35px;
	top: -668px;
}

/************************************************************************************
UTILITIES
*************************************************************************************/

.inset {
	width:250px;
	height:150px;
	line-height:30px;
	text-align:center;
	color: #F07B20;
	box-shadow:inset 5px 5px 5px 0px rgba(0, 0, 0, 0.4), 5px 5px 5px 0px rgba(255, 255, 255, 0.8);
	border-radius:10px;
	background:rgba(0, 0, 0, 0.1);
	float: right;
	margin: 10px;
}

/************************************************************************************
PEOPLE CONTAINER
*************************************************************************************/

#people_container {
	width:170px;
	height:250px;
	box-shadow:5px 5px 5px 0px rgba(0, 0, 0, 0.4), 5px 5px 5px 0px rgba(255, 255, 255, 0.8);
	border-radius:10px;
	background:rgba(0, 0, 0, 0.05);
	float: left;
	margin: 10px;
}

#people_header{
	background: #D4ECFF;
	color: #FFFFFF;
	font: 1.25em/150% Arial, Helvetica, sans-serif;
	width:100%;
	padding: 0px 0px;
	margin: 0 0 0px;
	line-height:40px;
	text-align:center;
	height:40px;
	border-radius:10px 10px 0px 0px;
	margin: 0px;
	vertical-align: bottom;
}

#people_image{
	width:100%;
	height: 160px;
	padding: 5px 0px;
	margin: 0 0 0px;
	vertical-align: center;
	text-align:center;
}

#people_footer{
	width:100%;
	padding: 0px 0px;
	margin: 0 0 0px;
	text-align:center;
	color: #000099;
	background: #FFF3E6;
	font: 1.25em/150% Arial, Helvetica, sans-serif;
	height:40px;
	border-radius:0px 0px 10px 10px;
	margin: 0px;
}
