/************* General Styling ***********/
html { 
	height: 100%;
}

body { 
	height: 100%; 
	margin: 0; 
	padding: 0;
}

a:link {
	color:#000; 
	text-decoration:underline;
}
a:visited {
	color:#000; 
	text-decoration:underline;
}
a:hover {
	color:#00f; 
	text-decoration:none;
}

#map_canvas {
	height: 100%; 
	width: 100%; 
	position: absolute
}

#credits {
	position:absolute; 
	bottom:20px; 
	right:0px; 
	color:#000; 
	background-color:#e8e8e8; 
	opacity:.75; 
	text-align: center; 
	font-size:11px; 
	line-height:19px; 
	padding:2px 5px;
}

#tooSmall {
        color: #fff;
        font-family: Arial,Helvetica,sans-serif;
        background-color: #b90404;
        position: relative;
        top: 3px;
        right: 3px;
        padding: 3px 5px;
        float: right;
        display: none;
}

#mainMenu h4 {
	text-align: center;
        cursor: pointer;
}

#mapMenu h4 span, 
#mainMenu h4 span {
	display: inline-block;
	font-weight: bold;
}

/************* jQury UI Dialog Styling ***********/
.ui-dialog {
	font: 14px/16px sans-serif !important;
}

.ui-dialog-content {
	margin: 10px;
	border: 0px !important;
}

.ui-dialog-content span {
	margin-bottom: 8px;
}

.ui-dialog-content input{
	margin-bottom: 8px;
}

.ui-dialog-buttonpane {
	text-align: center;
	padding: 5px;
	border: 0px !important;
}

.ui-dialog-buttonset .ui-button{
	margin-right: 8px;
}

/*Makes the shaking effect stay on one line */
.ui-effects-wrapper {
	display: inline;
}

/************* Main Menu Styling ***********/
#mainMenu {
        width: 42px;
        height: 42px;
	color: #555;
        max-height: 738px;
	padding: 6px 8px;
	font: 14px/16px sans-serif;
        background-color: #fff;
	box-shadow: 0 0 15px #333;         
}

#hambergerIcon {
    display: block;
    width: 22px;
    -webkit-box-shadow: 2px 0 2px 2px #69737D, 2px 8px 2px 2px #69737D, 2px 16px 2px 2px #69737D;
    box-shadow: 0 0 0 2px #69737D,0 8px 0 2px #69737D,0 16px 0 2px #69737D;
}

#mainMenuToggleBtn{
        margin: 0;
        float: right;
        border-radius: 4px;
        -webkit-transition: all .5s;
        transition: all .5s;
        padding: 12px 10px;
        height: 16px;
}

#mainMenuToggleBtn:hover {
        box-shadow: 0 0 10px #555;
        border: 1px solid #999;
        cursor: pointer;
}

#mainMenuToggleBtn:active {
        box-shadow: none;
        background: -webkit-linear-gradient(#ccc, #aba4a4);
        background: -moz-linear-gradient(#ccc, #aba4a4);
        background: linear-gradient(#ccc, #aba4a4);
}

#contentWrapper {
        display: none;
}

.menuContent {
	border: 0px;
}

h4[aria-selected="false"] {
        background: -webkit-linear-gradient(rgb(195, 198, 204),white,rgb(155, 157, 160)) !important;
        background: -moz-linear-gradient(rgb(195, 198, 204),white,rgb(155, 157, 160)) !important;
        background: linear-gradient(rgb(195, 198, 204),white,rgb(155, 157, 160)) !important;
        color: rgb(65, 63, 63);
        -webkit-transition: all .5s;
        transition: all .5s;
}

h4[aria-selected="false"]:hover {
        color: #fff !important; 
        background: rgb(102, 99, 99) !important;
        -webkit-transition: all .5s;
        transition: all .5s;
}

h4[aria-selected="true"] {
        color: #fff !important; 
        background: rgb(102, 99, 99) !important;
        -webkit-transition: all .5s;
        transition: all .5s;
}

#langSelect {
	background: transparent;
	font-size: 14px;
	line-height: 1.5;
	height: 25px;
	color: #000;
        width:70%;
        padding: 0;
        border: 1px solid rgb(169, 169, 169);
        margin-bottom: 7px;
}

#contentLangBtns {
	margin: 10px 0;
}

#contentLangBtns label {
        width: 35%;
}

#contentLangBtns .ui-button-text{
	height: 21px;
	vertical-align: middle;
}

label[aria-pressed="true"], 
.ui-button-text:hover,
.ui-button-text:active{
        color: #fff;
        font-weight: bold;
}

.ui-state-active {
        color: #fff !important;
        font-weight: bold;
        background: rgb(102, 99, 99) !important;
}

#currentViewLabel {
        display: inline-block;
        font-weight: bold;
        margin-right: 5px;
}

#crumbs {
        padding: 6px 10px;
	font: 14px/16px sans-serif;
	color: #555;
	box-shadow: 0px 0px 10px rgba(54, 52, 50, 0.41) inset;
	line-height: 2em;
}

#crumbs a {
        word-wrap: break-word;
}

#iWHW {
	padding: 0 10px;
        line-height: 1.7em;
	color: #000;
        padding: 10px;        
}

#iWHW h4{
	color: #555;
}

#opacitySlider {
	width: 175px;
	margin: 15px auto;
}

#mapMenu {
        width: 280px;
	color: #555;
}

#mapMenu h4 {
	text-align: left;
        margin: 5px 0px;
	color: #555;
        line-height: 35px;
}

#mapLegend {
	line-height: 18px;
	color: #000;
        padding: 10px;
}

#mapLegend i {
	width: 18px;
	height: 18px;
	float: left;
	margin-right: 8px;
	opacity: 0.7;
}

#countryStats {
	color: #000;
        padding: 10px;
}

/********* Christian Presense popup styling ********/
.closePopup {
        display: inline-block;
        background: rgba(255, 0, 0, 0.48);
        color: #fff;
        padding: 5px 10px;
        margin-right: 10px;
        cursor: pointer;    
}

.closePopup:hover {
        background: rgba(255, 0, 0, 0.89);   
        transition: all .5s;
}

/*Hide leaflet close button*/
a.leaflet-popup-close-button {
        display: none;
}

/*********** Responsive Styling ********/
@media screen and (min-width: 1000px){
        #mainMenu {
            width: 280px;
            height: 100%;
            display: block;
        }
        
        #contentWrapper {
            display: block;
        }
}

@media screen and (max-height: 600px){
        #mainMenu {
            max-height: 470px;
        } 
        
        #iWHW, #opacityH4, #opacitySlider {
            display: none;
        }
}

@media screen and (max-height: 230px){
        #mainMenu {
            display: none;
        } 
        
        #tooSmall {
            display: block;
        }
}