/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

textarea {
	width: 400px;
}

.adminmenu {
	width: 300px;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background-color: #f2d9bb;
}

/*
 * 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 img and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 1px solid Black;
    margin: 10px;
    padding: 10px;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
   
.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
	height: 100%;
	width: 100%;
	background-color: #f2d9bb;
}

body {
	min-height: 100%;
	position: relative;
	padding: auto;
	margin: auto;
	min-width: 1100px;
	max-width: 80%;
}

header {
	width: 100%;
}

header img {
	width: 100%;
}


nav {
	display: block;
	overflow: hidden;
	background-color: #f2d9bb;
	text-align: center;
	z-index: 100;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
	border: 2px solid;
}
      

nav > ul > li > a {
    color: black;
    display: block;
    line-height: 56px;
    padding: 0 24px;
    text-decoration: none;
}


nav > ul > li:hover {
	background-color: #ceb08d;
	color: white;
}

nav > ul > li:hover > a {
	background-color: #ceb08d;
	color: black;
}
      
nav > ul > li > div,
nav > ul > li > div ul > li > div {
    background-color: rgb( 40, 44, 47 );
    border-top: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
    display: none;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 200px;
    visibility: hidden;
}
	  
#submenu1{
	background-color: #f2d9bb;
	color: black;
	border-radius: 0 4px 4px 4px;
	box-shadow: inset 2px 0 5px rgba(0,0,0,.15);
	margin-top: -46px;
	right: -200px;
}

#submenu2{
	background-color: #f2d9bb;
	color: black;
	border-radius: 0 4px 4px 4px;
	box-shadow: inset 2px 0 5px rgba(0,0,0,.15);
	margin-top: -69px;
	right: -200px;
}


nav > ul > li:hover > div,
nav > ul > li > div ul > li:hover > div {
    display: block;
    opacity: 1;
    visibility: visible;
}

nav > ul > li > div ul > li,
nav > ul > li > div ul > li > div ul > li {
    display: block;
	position: relative;
	z-index: 40;
}

nav > ul > li > div ul > li > a,
nav > ul > li > div ul > li > div ul > li > a {
    color: black;
	background-color: #f2d9bb;
    display: block;
    padding: 12px 24px;
    text-decoration: none;
}

nav > ul > li > div ul > li:hover > a {
	background-color: #ceb08d;
	color: black;
}
	
.arrow-down {
	vertical-align: middle;
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;	
	border-top: 5px solid black;
	display: inline-block;
}

.arrow-right {
	vertical-align: middle;
	width: 0; 
	height: 0; 
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid black;
	display: inline-block;
}

main {
	padding-bottom: 50px;
	background-color: #f2d9bb;
}

h1 {
	font-size: 16pt;
	padding: 5px;
	margin: 5px;
	text-align: center;
}

h2 {
	font-size: 14pt;
	padding: 5px;
	margin: 5px;
	text-align: center;
}

.heading {
	text-align: center;
}

#announcements {
	padding: 20px;
	margin: 10px;
}

#slideshow #slideshowWindow {
	float: right;
	width:500px;
	margin:0;
	padding:0;
	position:relative;
	overflow:hidden;
	z-index: 1;
}

#slideshow #slideshowWindow .slide {
	margin:0;
	padding:0;
	width:500px; 
	position:relative;
}

#slideshow2 #slideshowWindow2 {
	float: right;
	width:500px;
	margin:0;
	padding:0;
	position:relative;
	overflow:hidden;
	z-index: 1;
}

#slideshow2 #slideshowWindow2 .slide2 {
	margin:0;
	padding:0;
	width:500px; 
	position:relative;
}


figcaption {
	text-align: center;
}

#about {
	margin-right: 20px;
	margin-left: 20px;
}

.error {
	display: none;
	color: red;
	font-weight: bold;
	text-align: center;
}

#forms {
	text-align: center;
}

#operations {
	position: relative;
	width: 60%;
	float: right;
	padding: 10px;
	margin-bottom: 20px;
}

#operations, td {
	border-collapse: collapse;
	background-color: #ffffcc;
	border: 1px solid black;
}

p {
	margin: 10px;
}

.wrapped {
	margin: 20px;
	padding: 20px;
	text-align: left;
	border-style: inset;
	border-width: 3px;
	border-color: #f2d9bb;
	border-radius: 20px;
}

#car1 {
	float: right;
	padding-right: 80px;
}

#english, #spanish {
	padding: 10px;
	margin: 10px;
}

footer {
	text-align: center;
	background-color: #f2d9bb;
}

menu {
	padding: 0;
	margin: 0;
}

#annualreportpanel {
	float: left;
	width: 48%;
}

#activityreportpanel {
	float: right;
	width: 48%
}

#overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

#modal {
    position:absolute;
	top:0;
    background:url(tint20.png) 0 0 repeat;
    background:rgba(0,0,0,0.2);
    border-radius:14px;
    padding:8px;
}

#content {
    border-radius:8px;
    background:#fff;
    padding:20px;
}

#close {
    position:absolute;
    background:url('/img/close.png') 0 0 no-repeat;
    width:24px;
    height:27px;
    display:block;
    text-indent:-9999px;
    top:-7px;
    right:-7px;
}

.response {
	color: green;
	text-align: center;
}

#recaptcha {
	color: red;
	text-align: center;
	font-weight: bolder;
}

#social {
	position: fixed;
	top: 5%;
	float: right;
	left: .01%;
	text-align: center;
}

#social img {
	padding-top: 10px;
	padding-bottom: 10px;
}

table.calendar    { border-left:1px solid #999; }
tr.calendar-row  {  }
td.calendar-day  { min-height:80px; font-size:11px; position:relative; } * html div.calendar-day { height:80px; }
td.calendar-day:hover  { background:#eceff5; }
td.a:hover { background:#1a82f7;}
td.calendar-day-np  { background:#eee; min-height:80px; } * html div.calendar-day-np { height:80px; }
td.calendar-day-head { background:#ccc; font-weight:bold; text-align:center; width:120px; padding:5px; border-bottom:1px solid #999; border-top:1px solid #999; border-right:1px solid #999; }
div.day-number    { background:#999; padding:5px; color:#fff; font-weight:bold; float:right; margin:-5px -5px 0 0; width:20px; text-align:center; }
/* shared */
td.calendar-day, td.calendar-day-np { width:120px; padding:5px; border-bottom:1px solid #999; border-right:1px solid #999; } 

div.day-number   { 
  background:#999;
  position:absolute; 
//  z-index:2; 
  top:-5px; 
  right:-25px; 
  padding:5px; 
  color:#fff; 
  font-weight:bold; 
  width:20px; 
  text-align:center; 
}
td.calendar-day, td.calendar-day-np { 
  width:120px; 
  padding:5px 25px 5px 5px; 
  border-bottom:1px solid #999; 
  border-right:1px solid #999; 
}

.weekday {
	width: 100px;
}

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: 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 screenreaders, 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 incd 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;
}

/*
 * For IE 6/7 only
 * inc this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 1300px) {
    #social {
		display: none;
	}
}
@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 required HTTP connection: 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 for img, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]: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;
    }

    @page {
        margin: 0.5cm;
    }

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

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