/* CSS Document */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,600,800);


html, body {
	width: 100%;
	height: 100%;	
	padding: 0;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
}

#pgwrap {
	position:relative;
	display: block;
	width:100%;
	height: 100%;	
	overflow: hidden;
}

#map-canvas {
	display: block;
	width:100%;
	height: 100%;	
}

.stretch {
	position: absolute;
	top: 0;
	right: 0;
	bottom:0;
	left: 0;
}

#info {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #ffffff;
    border-radius: 4px;
    bottom: 20px;
    display: block;
    position: absolute;
    right: -222px;
    width: 200px;
	/*overflow:hidden;*/
	padding: 10px;
	margin: 0;
	transition: right 1s;
}


#info.show {
	right: 10px; 
}

.glass {
	background-color: rgba(255, 255, 255, .85);  
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.menuIcon {
	display: block;
	cursor: pointer;
	width: 15px;
	height: 15px;
	padding: 10px 15px 15px 10px;
	position: absolute;
	left: -51px;
	bottom: 15px;
	border-radius: 2px;
	background-image: url('/css/penguin-btn.png');
	background-color: white;
	background-repeat: no-repeat;
	background-position: 0px 0px; 
}

#info.show .menuIcon {
	background-position: 0px -40px; 
}

.menuIcon input {
	display: none;
}


#info div.yearselect {
	border-bottom: 1px solid #fff;
    box-shadow: 1px -2px 2px #999 inset;
    height: 28px;
    margin-bottom: 0;
    padding: 0;
}

#info div.yearselect a {
	background: #eaeaea;
	color: #999;
    border-left: 1px solid #ffffff;
    border-radius: 3px 3px 0 0;
    border-right: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    box-shadow: 0 -1px 2px #999 inset;
    color: #333;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    padding: 5px 10px;
    text-decoration: none;
	transition: background-color .5s ease;
}

#info div.yearselect a:hover {
	background: #ffffff;
	color: #333;
}

#info div.yearselect a.active {
	background: #ffffff;
	box-shadow: 0 0 1px #ccc inset;
	text-shadow: 1px 1px #ddd;
}

#info div.indwrp {
	display: block;
	overflow: hidden;
	padding: 0;
	margin:0;	
	width: 200px;
	transition: height .5s ease-out;
}

#info div.indcont {
 	display: block;
    left: 0px;
    margin: 0;
    padding: 0;
    position: relative;
    width: 600px;
	transition: left .5s ease-out;
}

#info ul.individuals {
	float: left;
	margin: 0;
    padding: 0;
	width: 200px;
	max-height: 40vh;
	overflow-x: hidden;
    overflow-y: auto;
}

#info li {
	list-style:none;
}

#info li.cold {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    font-size: 10px;
    font-style: italic;
    padding: 1px 5px;
    text-align: center;
}

#info li.header {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    font-size: 14px;
    font-style: italic;
	font-weight: bold;
    padding: 2px 5px 2px 15px;
}

#info li.active {
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
}

#info li .details {
	display: block;	
	max-height: 0px;
	overflow:hidden;
	transition: 0.5s ease-out;
}

#info li.active .details {
	overflow:visible;
	max-height: 600px;
}

#info h1 {
    background-color: #ffffff;
	transition: background-color .5s ease;
    display: block;
    font-size: 0.8rem;
    margin: 0;
    padding: 5px 10px 5px 15px;
    position: relative;
	cursor: pointer;
}

#info h1 span.colcode {
    background-color: red;
    display: block;
    height: 27px;
    left: 0;
    position: absolute;
    top: 0;
    width: 5px;
	border-right: 1px solid #f7f7f7;
}

#info h1 span.sex {
background-image: url("/css/gender-icons.png");
    background-position: 2px 0;
    background-repeat: no-repeat;
    float: right;
    height: 15px;
    margin-top: 2px;
    opacity: 1;
    width: 13px;
}

#info h1.m span.sex {
	background-position: -10px 0px;	
}

.main-portrait {
	margin: 0;	
	display: block;
	width: 100%;
	height: 100px;
	overflow: hidden;
}

.main-portrait img {
	width: 100%;
}

#info table {
	padding: 0;
	margin: 0;
	background-color: #ffffff;
	font-size: .7rem;
	border-collapse: collapse;	
	width: 100%;
}

#info table th {
    background-color: rgba(247, 247, 247, 0.9);
    border-top: 1px solid #e4e4e4;
    font-weight: normal;
    padding: 2px 5px;
    text-align: left;
}

#info table td {
	 font-weight: bold;
	 border-top: 1px solid #e4e4e4;
	 padding: 2px 5px;
     text-align: right;
	 background-color: rgba(255, 255, 255, 0.9);
}

#disclaimer {
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 2px 2px 0 0;
    bottom: 0;
    color: #333;
    display: block;
    font-size: 10px;
    margin-right: -210px;
    overflow: hidden;
    padding: 1px 5px;
    position: absolute;
    right: 50%;
    text-align: center;
    transition: opacity 1s ease 0s;
    width: 420px;
}

.action-button {
	 font-family:'Lato', 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Sans-Serif;
	 -webkit-transition:color 300ms ease, background-color 300ms ease, opacity 300ms ease;
	 transition:color 300ms ease, background-color 300ms ease, opacity 300ms ease;
	 background-color:#fff;
	 display:inline-block;
	 z-index:100;
	 color:#000;
	 text-decoration:none;
	 font-size:0.8rem;
	 font-size:10px;
	 line-height:12px;
	 padding:5px 7px;
	 margin:4px 0px;
	 border-radius:3px;
	 border: 0px;
}

#oceanbuttons {
	display: block;
	width: 200px;
	text-align: right;
}

#oceanbuttons .action-button:first-child {
    border-radius: 3px 0 0 3px;
}

#oceanbuttons .action-button:last-child {
    border-radius: 0 3px 3px 0;
}


.action-button.active {
    background: #cccccc;
    color: #000000;
    box-shadow: inset 0px 3px #dddddd;
}

