/* Copyright (C) Sourcemap 2011
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU Affero General Public License as published by the Free Software Foundation,
 * either version 3 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 Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License along with this
 * program. If not, see <http://www.gnu.org/licenses/>.*/

/* EMBED STYLES  -------------------------------------------------------------- */ 
@import "sourcemap";

html { overflow:hidden } /* Ideal embed width/height right now is no less than 640 by 480 */

body#embedded-supplychain {
    width: 100%; height:100%;
    margin: 0; padding: 0;
    background:#fff;

    #sourcemap-map-embed {        
        position:absolute;
        bottom:0; left:0; right:0;
	    width:1px; height:1px;
        background: #fff;
        margin: 0 auto; padding: 0;
		&.google-earth {
			top:40px;
			width:100%;
			height:100%;
			background:#000;
		}
    }
}

#banner {
	cursor:pointer;
    #banner-content {
		width:100%;
        #banner-favorite, #banner-share { display:none; }
    }
}
body.zoom {
	#banner { zoom: .8; -moz-transform: scale(.8); }
	#dialog {
	    top:45px;
	    width:360px;
	    #dialog-content {
	        h2.title { font-size: 14px; }
	        h3.placename { font-size:12px; }
	        div.description { font-size:12px; }
	        .url { font-size:12px; }
	        #dialog-media {
				background:#000;
	            padding:40px 0 0 0;
				margin-bottom:-18px;
	        }
			#dialog-media-navigation {
				zoom: .8; -moz-transform: scale(.8);    	
			}
	        #dialog-footprint {
	            zoom: .8; -moz-transform: scale(.8);    
	            overflow:hidden !important;
	        }
			.dot {
				zoom: .8; -moz-transform: scale(.8);    
			}
	    }    
	}
	#sourcemap-dock { zoom: .8; -moz-transform: scale(.8);}
}

.static-embed {
	margin:auto;
	display:block;
	text-align:center;
}
.earth-banner {
	padding:10px;
	height:20px;
	text-align:center;
	.gradient(#111111,#333333);
    a { color:#999; }
}