/* override main.css */
.icon_save {
	background-image: url(/icons/icon_download_blue_filled.png) !important;
	background-size: 18px;
}

.x-body {
	font-size: 0.95em;
}

.query_results {
	height: 150px;
	overflow: auto;
	width: 330px;
}

.help h2 {
	padding-top: 1.5em;	
}


#div_matchup {
	font-size: small;
}

.thumb-wrap {
	float: left;
	margin: 4px 0px 0px 4px;
	padding: 5px;
	/* Added for new interface */
	font-family: verdana;
	font-size:small;
}
.thumb-wrap-list {
	margin: 0px 0px 0px 2px!important;
	padding: 4px!important;
}

.thumbnail {
	background: #DDDDDD none repeat scroll 0 0;
	padding: 3px;
	text-align: center;
}

.x-item-over .thumbnail {
	background: #AFD2FF none repeat scroll 0 0;
}

.x-item-selected .thumbnail {
	background: none repeat scroll 0 0 #8DB2E3;
}

div.small_thumbnail, div.small_thumbnail_happywhale {
	min-width: 150px;
}

.small_thumbnail img, .small_thumbnail_happywhale img {
	border: 1px solid white;
	height: 60px;
	width: auto;
}

.large_thumbnail img, .large_thumbnail_happywhale img {
	border: 1px solid white;
	height: 120px;
	/*width: 160px;*/
	width: auto;
}
.larger_thumbnail img, .larger_thumbnail_happywhale img {
	border: 1px solid white;
	/*height: auto;*/
	/*width: 400px;*/
	height: 240px;
	width: auto;
}

.happywhale-confirmed {
	color: green;
	justify-content: center;
}

a.happywhale-link {
	color: #2d7986;
	text-decoration: none;
}
a.happywhale-link:hover {
	color: #EB9900;
}
div.thumb_list {
	float: left;
	position: relative;
}

.thumb_list img {
	border: 1px solid white;
	width: 120px;
	height: auto;
}

.match_frame {
	padding: 3px;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
}
.match_frame_small {
	padding: 3px;
	cursor: pointer;
}
.x-item-over .match-summary {
	background: #EDF2F9 none repeat scroll 0 0;
}

.x-item-selected .match-summary { 
	border: 2px solid #8DB2E3;
	background: #EDF2F9 none repeat scroll 0 0;
}

.action_buttons {
	width: 100%;
	text-align: center;
	padding: 15px 0 10px 0px;
}

.action_button {
	border: 1px solid #CCCCCC;
	padding: 5px 10px;
	border-radius: 6px;
	width: 7em;
	display: inline-block;
}

input.action_button {
	background-color: #FFFFFF;
	color: #436976;
	cursor: pointer;
}
input.action_button:hover {
	color: #EF9900;
}

.div-history-frame {
	display: inline-block; 
	overflow: hidden; 
	border-radius: 6px; 
	border: 1px solid rgb(153, 188, 232); 
	vertical-align: top;
}

.div-history {
	max-height: 150px; 
	overflow: auto; 
	/*width: 105%;*/ 
	/*margin-top: 10px;*/ 
	margin-bottom: 5px;
	/*margin-left: 30px;*/
}

.div-history th {
	background: #dee7ec none repeat scroll 0 center;
	padding: 2px 10px;
}
.div-history td {
	padding: 2px 10px;
}

.icon_zoomin {
	background-image: url(/icons/icon_zoomin.png) !important;
}
.icon_zoomout {
	background-image: url(/icons/icon_zoomout.png) !important;
}
.icon_flip {
	background-image: url(/icons/icon_tool_flip.png) !important;
}
.icon_matchup {
	/*background-image: url(/icons/points.png) !important;*/
	background-image: url(/icons/icon_new_match.png) !important;
	background-size: 18px !important;
}
.icon_matches {
	/*background-image: url(/icons/icon_legend.png) !important;*/
	background-image: url(/icons/icon_matches.png) !important; /* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_match {
	background-image: url(/icons/icon_match.png) !important; /* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_matched {
	background-image: url(/icons/icon_match_verified.png) !important; /* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_match_rejected {
	background-image: url(/icons/icon_match_rejected.png) !important; /* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_search {
	background-image: url(/icons/icon_search.png) !important;
}
.icon_info {
	background-image: url(/icons/icon_info.png) !important;
}
.icon_pinit {
	background-image: url(/icons/icon_pinit.gif) !important;
}
.icon_sightings {
	/*background-image: url(/icons/ptphoto_red.png) !important;*/
	background-image: url(/icons/icon_legend.png) !important;
}
.icon_map {
	background-image: url(/icons/icon_map.png) !important;
	background-size: 18px !important;
}
.icon_happywhale {
	background-image: url(/images/providers/happywhale-logo-shaded.png) !important;
	background-size: 18px !important;
}
.icon_new_match {
	background-image: url(/icons/icon_new_match.png) !important;	/* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}

.icon_help {
	/*background-image: url(/icons/help.gif) !important;*/
	background-image: url(/icons/icon_help.png) !important;	/* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_question {
	background-image: url(/icons/icon_question.png) !important;	/* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_info_v3 {
	background-image: url(/icons/icon_info_v3.png) !important;	/* https://www.iconfinder.com/search/?q=new+link&price=free */
	background-size: 18px !important;
}
.icon_undo {
	background-image: url(/icons/icon_undo.png) !important;	/* https://www.iconfinder.com/search/?q=new+link&price=free */
}

.grid_photos {
	font-size: x-small;
}


.info-window, .editorToolBar {
	font-size: 0.95em;
}

.info-window select {
	color: #666666;
	font-family: verdana;
	font-size: 11px;	
}

.editorToolBar td {
	padding: 0 5px;
	font-weight: bold;
}

.editorToolBar a {
	text-decoration: none;
	color: inherit;
}

.editorToolBar a:hover {
	color: #EB9900;
}

.editorToolBar .slider-label {
	padding-right:0;
}
.editorToolBar .slider-td {
	padding-left:0;
}

table.dolphin_info {
	width: 100%;
	font-size: small;
}
table.dolphin_info td {
	padding: 1px 3px 1px 3px;
}

/* originally in photoid_v3.php; may not need this */
.dolphin_info a:hover {
	color: #F08800;
}

.table_filtering, .happywhale_filtering {
	font-size: 14px;
}

.table_filtering td, .happywhale_filtering td {
	padding-top:5px;
	padding-right: 5px;
	/*font-size: 0.9em;*/
	font-size: 13px;
}

.div_feature_codes {
	margin: 10px 0px;
	border-top: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	padding: 5px 0;
}

#dataset_info {
	margin-top: 40px;
	width: 300px;
	margin-left: 20px;
}

/* .help */
.help_tab {
	padding: 1px 20px;
	max-width: 900px;
}
.help_tab p {
	padding-left: 2.5em;
}
.help_tab h2 {
	padding-top: 0.5em;
}
.help_tab h3 {
	font-size:90%;
	padding-top: 0.5em;
	padding-left: 2.5em;
}
.help_tab ol {
	list-style-type: decimal;
	margin-left: 4.0em;
	padding-top: 0.5em;
	padding-bottom: 0.8em;
}	

.help_tab ul {
	list-style-type: square;
	margin-left: 4.0em;
	padding-top: 0.5em;
	padding-bottom: 0.8em;
}	

.table_match td {
	padding-right: 10px;
	padding-top: 1px;
}

.table_match th {
	/*background: none repeat scroll 0 50% #DEE7EC;*/
	padding-left: 8px;
	padding-right: 8px;
	font-weight: bold;
}
.table_match img {
	max-width: 120px;
	max-height: 80px;
}

div.match_label {
	margin-left: 10px;
	font-weight: bold;
}
.hr_match {
	background-color: #8CACBB;
	color: #8CACBB;
	height: 1px;
	border: 0 none;
}

div.div_matchup {
	border: 1px solid #8CACBB;
	margin: 10px 50px 10px 30px;
	padding: 8px 15px;
}

#match_view #NEW .match_label {
	display:none;
}

.table-notification {
	margin-left: 10px;
	width: 95%;
}

span.contact-info {
	cursor: default;
}
span.contact-info:hover {
	color: #EB9900;
}

.table-notification td {
	padding: 3px 5px;
}

.cell-notification-site2 {
	padding-left: 10px !important;
}

.animal_info td {
	padding: 1px 8px 1px 2px;
}

/* Added for EXIF */
table.table-exif {
	font-size: small;
	width:100%;
}

table.table-exif td {
	padding-left: 10px;
}

/* For new interface */
#editorToolBar img {
	vertical-align: middle;
}

#display_coords, #radios_color_by {
	font-size: small;
}

div.match-summary {
	border: 1px solid rgb(153, 188, 232); 
	border-radius: 6px; 
	padding: 5px 0; 
	min-width: 260px;
	max-width: 280px;
}

div.match-summary-small {
	max-width: unset!important;
	width: auto!important;
}
div.match-summary-list {
	min-width: unset!important;
	max-width: unset!important;
	width: auto!important;
	float:none;
}
.table_match {
	table-layout: fixed;
}

.table-match-list th, .table-match-list td {
	padding-left: 6px!important;
	padding-right: 6px!important;
	width: auto!important;
}
.table-match-small td {
	text-align: center!important;
	padding-top: 2px;
}

.table-match-list img {
	max-width: 100px!important;
}
.match-summary td, .match-summary th {
	font-size: 0.9em;
}

td.match-images-dots {
	text-align:center;
	padding-right: 0;
	font-size: 1.2em;	
	width: 130px!important;
}
td.match-images-dots-list {
	text-align: left;
	padding-right: 0;
	font-size: 1.0em;	
	width: 50px!important;
}

div.match-summary-small {
	border: 1px solid rgb(153, 188, 232); 
	border-radius: 6px; 
	padding: 5px 0; 
	width: 220px;
}

div.match-animal-info {
	flex: 1 0 auto; 
	padding: 6px 0;
}

.match-animal-info th {
	width: 8em;
}
.match-animal-info td {
	width: 10em;
}

.match-animal-info .td-image {
	width:130px; 
	padding: 0px; 
	text-align: center;
	background-color: #eeeeee;
} 
.match-animal-info .td-image-small {
	width:auto; 
	padding: 0px; 
	text-align: left;
} 

.table_match-small td {
	padding-left:8px;
}

#combo_sites1 label, #combo_sites2 label {
	font-size: 0.95em;
	color: #333333;
}
.thumbnail-toolbar-button, .thumbnail-toolbar-button span {
	color: #333333 !important;
	font-family: verdana !important;
	font-size: 1em !important;
}

.site-info-frame {
	display:inline-block; 
	width:50%;
	vertical-align:top;
}

.action-panel-title, .site-info-title {
	background-color: #F5F5F5;
	border-bottom: 1px solid #dddddd;
	border-top: 1px solid #dddddd;
	font-size: 1.0em;
	margin-top: 5px;
	padding: 3px 5px 3px 10px;
	border-radius: 6px;
	margin-bottom: 10px;
}

.site-info-label {
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 5px;
}

.site-info table {
	margin-left:10px;
	margin-top:10px;
}

.site-info td, .site-info th {
	padding: 1px 6px;
}

.site-info td.number {
	text-align: center;
	border-right: 1px solid #cccccc;
}
.site-info th.month {
	text-align:center;
	width:2.5em;
	border-right: 1px solid #cccccc;
}
.site-info th.header {
	text-align:center;
	/*background-color:#dee7ec;*/
	background-color:#e6e6e6;
}
.site-info th.odd, .site-info td.odd {
	background-color:#f5f5f5;
}

.fit-thumbnail-info {
	display:inline-block; 
	vertical-align:top; 
	width:190px;
	border: 1px solid #99bce8;
	border-radius: 6px;
	margin-right: 3px;
	margin-top: 1px;
	padding: 5px;
	font-size: 0.9em;
}
/* added for MAHWC */
.filtering-label {
	border-bottom: 1px solid #8cacbb;
	font-weight: bold;
	margin: 5px 0;
	padding: 3px 3px 5px 0;
}

.small_thumbnail-MAHWC img {
	height: 60px;
	/*max-height: 60px;
	max-width:500px;
	height:auto;*/
}

div.small_thumbnail-MAHWC {
	min-width: 150px;
}

div.mahwc-feature-flag-label {
	flex: 0 0 100%;
	text-align: center; 
	margin-top:5px; 
	background-color: #e9f0f8;
	padding: 2px;
	color: rgb(80, 80, 80);
}
div.mahwc-feature-type-label {
	font-size: 13px; 
	font-weight: bold; 
	padding-left: 10px; 
	padding-top: 2px;
}
td.mahwc-feature-category {
	text-decoration: underline;
	font-weight: bold;
}

/* Override EXTJS css */
.x-btn-default-toolbar-medium .x-btn-inner, .x-btn-default-toolbar-small .x-btn-inner {
	color: #666666;
}


#divFeatureTip {
	position: absolute;
	background-color: #f8f8f8;
	z-index: 20000;
	padding: 5px;
	border: 1px solid #8cacbb;
	border-radius: 4px;
	font-size: small;
	width: 260px;
}
#divFeatureTip table td {
	padding: 3px;
}
#divFeatureTip table th {
	padding: 3px;
	font-weight:bold;
}
#divFeatureTip img {
	max-width:240px;
}

a.href-feature-label {
	color: #333;
	text-decoration: none;
}
a.href-feature-label:hover {
	color: #EB9900;
}

.site-contacts {
	flex-basis: 50%;	
}

.match-panel-input {
	color:#666;
	padding: 2px 4px;
	border-radius: 4px;
	border: 1px solid #aaa;
}

#InfoWindow1-content, #InfoWindow2-content {
	display: flex;
}

#InfoWindow1-content.horizontal, #InfoWindow2-content.horizontal {
	flex-direction: row;
	padding: 5px 4px 5px 4px;
}
#InfoWindow1-content.vertical, #InfoWindow2-content.vertical {
	flex-direction: column;
	padding: 22px 4px 5px 2px;
}

#InfoWindow2-content.horizontal .happywhale-confirmed {
	flex-direction: column;
}
#InfoWindow2-content.vertical .happywhale-confirmed {
	flex-direction: row;
	justify-content: center;
}
#InfoWindow1-content .section, #InfoWindow2-content .section {
	width:auto; 
	margin-right:2px;
	padding-left: 4px;
}	
.feature-list, .feature-list {
	border: 1px solid #aaa; 
	border-radius: 4px;
	padding: 2px 8px 2px 4px;
}	

#InfoWindow1-content.horizontal .section-2, #InfoWindow2-content.horizontal .section-2 {
	border-left: 1px dotted #ccc;
	border-right: 1px dotted #ccc;
}
#InfoWindow1-content.vertical .section-2, #InfoWindow2-content.vertical .section-2 {
	border-top: 1px dotted #ccc;
	margin-top: 6px;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 4px;
	padding-bottom: 4px;
	padding-top: 2px;
}

.section-3-1 {
	display: flex;
}
#InfoWindow1-content.horizontal .section-3-1, #InfoWindow2-content.horizontal .section-3-1 {
	flex-direction: row;
}
#InfoWindow1-content.vertical .section-3-1, #InfoWindow2-content.vertical .section-3-1 {
	flex-direction: column;
}

.feature-list-category {
	font-style:italic;
}
.feature-list-feature {
	margin-left: 1.5em;
	list-style: circle outside;
}

/* Online help page */
.match_examples td.choice {
	text-align: center;
}

/* Copied from content_v4_1.css for Help pane and adjusted a little */
.side-bar-frame {
	width: 40%;
	margin-left: 20px;
	margin-top: 1em;
}

.side-bar {
	border: 1px solid #F7CFAF;
	padding: 0 10px 20px;
	border-radius: 4px;
	margin-bottom: 10px;
	background-color: #f6f6f2;
}

#happywhaleSpinner {
	position: fixed;
	z-index: 500;
}

.lds-spinner {
	color: official;
	display: inline-block;
	position: relative;
	width: 64px;
	height: 64px;
}

.matched-with_happywhale {
	background-color: #e3ead7;
}

/* Thumbnail blink 
	This CSS makes an item (image) in the thumbnail blinks for 3 seconds.
	This animaion is applied to the site 1 animal that is matched with the Happywhale animal that is mouseovered.
*/
@keyframes itemBlink {    
    from, to {    
        background-color: transparent    
    }    
    50% {    
        background-color: #cae4ca; /* Greenish */    
    }    
}   

.item-blink {    
    animation: itemBlink 1s step-end 5;    
}

.show-only-on-photoid-app {
	display:block!important;
}

.screenshot {
	display: none!important;
}