/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body {
    color: #2B6C84;
    font-size: 1em;
    line-height: 1.4;
    font-family: verdana;
    height: 100%;
    min-height: 100%;
}

a {color: #2B6C84;}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

div#content {
	min-height: 100%;
	position: relative;
}

.banner {
	position: relative;
	top: 0;
	left: 0;
	background-color: #DEECE3;
	width: 100%;
	font-size: 150%;
	text-align: center;
	vertical-align: text-bottom;
	color: #4D8EA6;
	bottom: 0;
}

div#mainbody {
	padding-bottom: 80px;
	min-height: 100%;	
	width: 960px; 
	margin: 0 auto;
}

div#footer-wrapper {
	height: 80px;
	position: absolute;
	bottom: 0;	
	left: 50%;
	text-align: center;
	color: #4D8EA6;	
}

div#footer {
	position: relative;
	left: -50%;
	border-top: 1px solid #4D8EA6;
}

#map_canvas {
    width: 500px;
    height: 400px;
}

h3 {
	font-size: 110%;
	color: #4D8EA6;
	margin-bottom: -4px;
}

.sidebar {
	padding: 0;
	top: 0;
	left: 0;
	background-color: #DEECE3;
	height: 100vh;
	display: inline-block;
	color: #4D8EA6;	
	z-index: 999999;
}

ul {
	list-style-type: circle;
	margin-top: 3px; 	
}

ul li {
	color: #2B6C84;
}

ul#minitabs {
list-style: none;
margin: 0;
padding: 7px 0;
border-bottom: 1px solid #4D8EA6;
font-weight: bold;
text-align: center;
/* white-space: nowrap */
}

ul#minitabs li {
display: inline;
margin: 0 3px;
}

ul#minitabs a {
text-decoration: none;
padding: 0 0 3px;
border-bottom: 4px solid #FFF;
color: #999
  }
  
ul#minitabs a#current {
border-color: #4D8EA6;
color:#666
}

ul#minitabs a:hover {
border-color: #F60;
color: #666
}

div.leftrect {
	/* display: inline-block; */
	width: 475px;
}

div.leftrect img {
	max-width: 100%;
	margin: 5px auto 5px;
	/* display: block;	 */
}

div.rightfirst {
	/* display: inline-block; */
	width: 475px;
    height: 50%;
    color: crimson;
	/* vertical-align: top; */
}

div.center {
	text-align: center; 
}

.middlebox {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
