/*
 * webtrees googlemap V3 css
 *
 * webtrees: Web based Family History software
 * Copyright (C) 2014 webtrees development team.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

div.infowindow {
	max-height: 240px;
	overflow-x: hidden;
}

#iwhead {
	background: #ffffff;
	border-bottom: 1px solid #bbbbbb;
	border-left: 0 solid #bbbbbb;
	border-right: 0 solid #bbbbbb;
	border-top: 1px solid #bbbbbb;
	font-size: 10px;
	margin-left: -2px;
	margin-right: 0;
	margin-top: -1px;
	padding-bottom: .3em;
	padding-left: .2em;
	padding-right: .2em;
	padding-top: .3em;
	text-align: center;
	white-space: normal;
	width: 300px;
}

#iwhead a:hover {
	color: #f00;
}

#iwcontent {
	border: 1px solid #bbbbbb;
	margin-right: 0;
}

#iwcontent a {
	color: #000;
}

#iwhead a {
	color: #0000cc;
}

#iwcontent a:hover {
	color: #f00;
}

#gmtabs {
	background-color: #eeeeee;
}

#gmtabs ul {
	border: 0;
}

h4 {
	margin-bottom: -0.1em;
}

#txt {
	width: 300px;
 	background: #ffffcc;
 	margin-left: -8px;
 	margin-top: -8px;
 	text-align: center;
}

#pano {
	width: 297px;
 	border-top: 1px solid #aaaaaa;
 	height: 216px;
 	margin-left: 0;
 	margin-top: 0;
}

.highlt_img {
	background-color: #eeeeee;
 	text-align: center;
}

.highlt_img img {
 	border: none;
	float: none;
}

/* root element for tabs */
ul.tabs {
	margin: 0 !important;
 	background: #ddeeff;
 	border: 1px solid #666;
 	height: 20px;
 	padding: 0;
}

/* single tab */
ul.tabs li {
	float: left;
 	list-style-type: none;
 	margin: 0;
 	padding: 0;
}

/* link inside the tab. uses a background image */
ul.tabs a {
	background-color: #efefef;
	border-radius: 4px 4px 0 0;
	border: 1px solid #666;
	color: #777;
	float: left;
	height: 18px;
	margin-right: 2px;
	outline: 0;
	position: relative;
	text-decoration: none;
	top: 1px;
 	display: block;
 	font-size: 13px;
 	padding: 0 10px;
}

ul.tabs a:hover {
	background-color: #ffffff;
 	color: #333;
} 

/* selected tab */
ul.tabs a.current {
	background-color: #fff;
 	border-bottom: 1px solid #ddd;
 	color: #000;
 	cursor: default;
}

/* tabs */
#EV {
	background: #ffffff;
 	padding-bottom: 1px;
}

#SV {
	background: #cccccc;
 	padding-bottom: 0;
}

/* tab panes */
#pane1 {
	display: block;
}

#pane2 {
	display: none;
}

/* view_type */
#view_type {
	display: block;
 	margin-top: -12px;
}

#view_type td {
	width: 360px;
}

#view_type form {
 	text-align: center;
	width: 360px;
}

/* places_edit */
#gname {
	vertical-align: middle;
 	height: 60px;
 	margin-top: 0;
 	white-space: pre-wrap;
 	width: 200px;
}

#namelink {
	padding-bottom: 5px;
}

#iwcontent_edit {
	background-color: #eeeeee;
 	border: 1px solid #bbbbbb;
 	height: 60px;
 	margin-right: 0;
}

#iwcontent_edit a {
	color: #000;
}

#iwcontent_edit a:hover {
	color: #f00;
}

.optionbox #gname {
	white-space: normal;
}

.iwstyle {
	width: 360px;
}

#side_bar .gallery img,
.iwstyle .gallery img,
.highlt_img .gallery img {
	float: left;
	height: 50px;
	margin: 0 4px 0 0;
	max-width: 50px;
	width: auto;
}

[dir=rtl] #side_bar .gallery img,
[dir=rtl] .iwstyle .gallery img,
[dir=rtl] .highlt_img .gallery img {
	float: right;
	margin: 0 0 0 4px;
}

#side_bar .icon-silhouette-M,
#side_bar .icon-silhouette-F,
#side_bar .icon-silhouette-U,
.iwstyle .icon-silhouette-M,
.iwstyle .icon-silhouette-F,
.iwstyle .icon-silhouette-U {
	float: left;
}

[dir=rtl] #side_bar .icon-silhouette-M,
[dir=rtl] #side_bar .icon-silhouette-F,
[dir=rtl] #side_bar .icon-silhouette-U,
[dir=rtl] .iwstyle .icon-silhouette-M,
[dir=rtl] .iwstyle .icon-silhouette-F,
[dir=rtl] .iwstyle .icon-silhouette-U {
	float: right;
}

#pedigreemap_chart {
	margin: 20px;
}
#side_bar .NAME {padding-left:5px;}
#side_bar img {padding-right:5px;}
[dir=rtl] #side_bar .NAME {padding-right:5px;}
[dir=rtl] #side_bar img {padding-left:5px;}
