/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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.
 */

@import url("https://code.cdn.mozilla.net/fonts/fira.css");
 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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,
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
   ========================================================================== */

/* color palette
#EFF4F8 lightest
#E9F0F5
#C6D8E4
#8DB2CB
#548BB0
#1A6495
#16557F
#144B70
#0D324B
#071925
#030A0F darkest
*/

html 	{ 
  background-color : #E9F0F5;
}

body { 
  /* font             : 100% Calibri, "Lucida Grande", Verdana, Arial, sans-serif; */
  font             : 100% "Fira Sans", Calibri, "Lucida Grande", Verdana, Arial, sans-serif;
  padding          : 1em;
}

div#page h2 {
  border-top       : 1px solid #548BB0;
  text-align       : center;
}

div#page {
  margin           : 0 auto;
  background       : transparent url(../img/wcg.png) no-repeat top right;  
  background-color : #EFF4F8; 
  max-width        : 50em;  /* 800px / 16px = 50em */
}

div#banner {
  padding          : 0.5em;
  font-family      : "Fira Sans", Georgia, Times, "Times New Roman", serif; 
  /* border           : 1px solid green; */
}

div#banner h1 {
  margin           : 0;
  padding          : 0;
  font-weight      : normal;
  text-align       : center;
  /* border           : 1px solid red;  */
}

div#banner p {
  margin           : 0;
  padding          : 0;
  text-align       : center;
 /* border           : 1px solid blue;  */
}

div#banner a {
  color            : #071925;
  /* border           : 1px solid blue;  */
}

#nav ul
{
  margin           : 0;
  padding          : 0.5em;
  list-style-type  : none;
  text-align       : center;
  font-family      : "Fira Sans", Georgia, Times, "Times New Roman", serif; 
  /* border           : 1px solid blue; */
}

#nav li { display: inline; font-size: 1.2em; margin-top: 0.25em; margin-bottom: 0.25em; text-transform: lowercase; /* border: 1px solid green; */ }
#nav li a { display: inline-block; padding: 0.5em; text-decoration: none; margin: 0.25em; color: #071925; 
   -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; text-align: center;  border: 1px solid #E9F0F5;  }
#nav li a:hover { background-color: #E9F0F5; color: #071925; }
#nav li.selected a { background-color: #548BB0; color: #EFF4F8; }

/* =============================================================== +/
|  Layout styles                                                   |
/+ --------------------------------------------------------------- */

div.float_container {
  overflow         : hidden;
  width            : 100%;
  height           : auto;
}

section {
  padding          : 0.5em;
  clear            : both;
  /* border           : 1px solid blue; */
}

#bg-mail {
  background-image    : url(../img/bg-mail-48x48.png); 
  background-repeat   : no-repeat;
  background-position : 95% center;
}

#bg-location {
  background-image    : url(../img/bg-location-48x48.png); 
  background-repeat   : no-repeat;
  background-position : 95% center;
}

#bg-settings {
  background-image    : url(../img/bg-settings-48x48.png); 
  background-repeat   : no-repeat;
  background-position : 95% center;
}

#bg-menu {
  background-image    : url(../img/bg-menu-48x48.png); 
  background-repeat   : no-repeat;
  background-position : 95% center;
}

div.left {
  float            : none;
  clear            : none;
  width            : auto;
  padding          : 0.5em;
  overflow         : hidden;
  /* border           : 1px solid green; */
}

div.lt-a {
  padding          : 0; 
  text-align       : center;
}

div.lt-b {
  overflow         : hidden; 
  display          : inline-block;
}

div.lt {
  float            : left;
  padding          : 0.5em;
  width            : 150px;
}

div.lt img {
  width            : 100%;
}

div.gallery {
  overflow         : hidden; 
}

/* for screens less than 28.75em */
div.gallery-item {
  float            : left;
  padding          : 1%;
  width            : 48%;
}

/* for screens wider than 28.75em */
@media screen and (min-width: 28.75em) {
  div.gallery-item {
    float            : left;
    padding          : 1%;
    width            : 23%;
  }
}

div.gallery-item img {
  width            : 100%;
}

div#footer {
  clear            : both; 
  padding          : 1em;
  /* border           : 1px solid green; */
}

p.footer {
  border-top       : 1px solid #548BB0;
}

/* =============================================================== +/
|  Sidebar                                                         |
/+ --------------------------------------------------------------- */

/* for screens less than 28.75em wide */
@media screen and (max-width: 28.75em) {
  div.sidebar {
    margin           : 0 auto;
    text-align       : center;
    padding          : 0.5em;
    /* border           : 1px solid yellow; */
  }
}

/* for screens wider that 28.75em */
@media screen and (min-width: 28.75em) {
  div.sidebar {
    float            : right;
    clear            : none;
    width            : 168px;
    /* text-align       : center; */
    padding          : 0.5em;
    /* border           : 1px solid yellow; */
  }

  /* scale the image in the sidebar */
  div.sidebar img {
    width            : 100%;
  }
}

/* =============================================================== +/
|  List Styles                                                     |
/+ --------------------------------------------------------------- */

ul.contact {
  margin-bottom    : 1em;
  padding          : 0;
  text-align       : left;
  list-style-type  : none;
}

ul.contact li {
  font-size        : 1em; 
  margin-top       : 0.25em;
  margin-bottom    : 0.25em;
  width            : 100%;
  text-align       : left;
  text-decoration  : none;
  /* border           : 1px solid yellow; */
}

ul.contact li.name {
  margin-top       : 0.25em;
  border-top       : 1px dotted #548BB0;
  font-weight      : bold;
}

ul.contact li.email {
}

ul.contact li.address {
  padding-left     : 0.5em;
  padding-top      : 0;
  padding-bottom   : 0;
  margin           : 0;
  font-style       : italic;
}

ul.contact li.phone {
}

ul.contact li.url {
}

ul.inline  {
  list-style-type  : none;
}

ul.inline li {
  display          : inline;
  padding          : 0;
  margin           : 0;
  background       : none;
  text-decoration  : none;
}

ul.block {
  padding            : 0.5em;
  border-style       : solid;
  border-width       : 0; 
  border-left-width  : 0.5em; 
  border-color       : #548BB0;
  background-color   : #E9F0F5;
  list-style-type  : none;
  /* border           : 1px solid green;  */
}

ul.block li {
  padding-left     : 0.5em;
  padding-top      : 0.1em;
  padding-bottom   : 0.1em;
  margin           : 0;
  /* background-color : #E9F0F5; */
  background       : none;
  text-decoration  : none;
  color            : #071925;
}

ul.block li a {
  color            : #071925;
}

/*
ul.block li:hover {
  background-color : #C6D8E4;
}
*/

/* =============================================================== +/
|  Links                                                           |
/+ --------------------------------------------------------------- */

/*
a[href$='.pdf'] { 
  padding-right    : 20px; 
  background       : transparent url(../img/pdf.png) no-repeat center right; 
}
*/


a.ext[href^='http://'] { 
  padding-right    : 15px; 
  background       : transparent url(../img/external.png) no-repeat center right; 
}

a[href^='mailto:'] { 
  padding-right    : 15px; 
  background       : transparent url(../img/mail.png) no-repeat center right; 
}

a[href^='tel:'] { 
  padding-right    : 15px; 
  background       : transparent url(../img/phone.png) no-repeat center right; 
}

a:link, a:visited {
  color            : #423732;
  text-decoration  : none;
}

a:hover {
  border-bottom    : 1px solid #423732;
}

/* =============================================================== +/
|  Audio styles                                                    |
/+ --------------------------------------------------------------- */

/* for screens less than 28.75em */
div.audio {
  margin              : 1%;
  padding             : 0;
  width               : 98%;
  height              : 7em;
  float               : left;
}

/* for screens wider than 28.75em */
@media screen and (min-width: 28.75em) {
  div.audio {
    margin              : 1%;
    padding             : 0;
    width               : 48%;
    height              : 7em;
    float               : left;
  }
}

/* for screens wider than 42em */
@media screen and (min-width: 42em) {
  div.audio {
    margin              : 1%;
    padding             : 0;
    width               : 31.3%;
    height              : 7em;
    float               : left;
  }
}
/* for screens less than 28.75em */
div.videotape {
  margin              : 1%;
  padding             : 0;
  width               : 98%;
  height              : 42em;
  float               : left;
}

/* for screens wider than 28.75em */
@media screen and (min-width: 28.75em) {
  div.videotape {
    margin              : 1%;
    padding             : 0;
    width               : 48%;
    height              : 42m;
    float               : left;
  }
}

/* for screens wider than 42em */
@media screen and (min-width: 42em) {
  div.videotape {
    margin              : 1%;
    padding             : 0;
    width               : 31.3%;
    height              : 42em;
    float               : left;
  }
}

ul.audio {
  list-style-type     : none;
  height              : 7em; 
  text-align          : center;
  background-color    : #E9F0F5;
  margin              : 0; 
  padding             : 0; 
  border-style        : solid;
  border-left-width   : 0.5em; 
  border-right-width  : 1px;
  border-bottom-width : 1px;
  border-top-width    : 1px;
  border-color        : #548BB0;
}

ul.videotape {
/*  font-style          : normal; */
/*  font-size           : 0.8em; */
/*  font-weight         : bold; */
  list-style-type     : none;
  height              : em; 
  text-align          : center;
  background-color    : #E9F0F5;
  margin              : 0; 
  padding             : 0; 
  border-style        : solid;
  border-left-width   : 0.5em; 
  border-right-width  : 1px;
  border-bottom-width : 1px;
  border-top-width    : 1px;
  border-color        : #548BB0;
}

ul.audio li {
  padding          : 0.2em;
  margin           : 0;
  background-color : #E9F0F5;
  text-decoration  : none;
  color            : #071925;
}

ul.audio li.date {

}

ul.audio li.speaker {
  font-style       : italic;
  font-size        : 0.8em;
  font-weight      : bold;
  color            : #292E37;
  border-top       : 1px dotted #555566;
  padding-top      : 0.5em;
}

ul.audio li.title {
  font-style       : italic;
}

ul.audio li.tape {
/*  font-style       : normal; */
/*  font-size        : 0.8em; */
  font-weight      : bold;
}

ul.audio li.video {
  font-style       : italic;
  font-size        : 0.8em;
}

ul.audio li a {
  color            : #071925;
}


a[href$='.mp3'] { 
  padding-right    : 45px; 
  background       : transparent url(../img/mp3.png) no-repeat center right; 
}

a[href$='.mp4'] { 
  padding-right    : 45px; 
  background       : transparent url(../img/mp4.png) no-repeat center right; 
}

a[href^='download.php'] { 
  padding-right    : 30px; 
  background       : transparent url(../img/download.png) no-repeat center center; 
}

a[href^='playgciyoutubeurl.php'] { 
  padding-right    : 45px;
  background       : transparent url(../img/youtubeplay.png) no-repeat center center; 
}


 /* Style the video: 480 pixels width and 640 pixels height to display video window */
#myVideo {
  position: fixed; 
  right: 0;
  bottom: 0;
  width: 480;
  height: 640;
}

/* Add some content at the bottom of the video/page */
.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

/* Style the button used to pause/play the video */
#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
} 



/* =============================================================== +/
|  Article styles                                                  |
/+ --------------------------------------------------------------- */

/* for screens less than 28.75em */
div.article {
  margin              : 1%;
  padding             : 0;
  width               : 98%;
  height              : 8em;
  float               : left;
}

/* for screens wider than 28.75em */
@media screen and (min-width: 28.75em) {
  div.article {
    margin              : 1%;
    padding             : 0;
    width               : 48%;
    height              : 8em;
    float               : left;
  }
}

/* for screens wider than 42em */
@media screen and (min-width: 42em) {
  div.article {
    margin              : 1%;
    padding             : 0;
    width               : 31.3%;
    height              : 8em;
    float               : left;
  }
}


ul.article {
  list-style-type     : none;
  height              : 8em; 
  text-align          : center;
  background-color    : #E9F0F5;
  margin              : 0; 
  padding             : 0; 
  border-style        : solid;
  border-left-width   : 0.5em; 
  border-right-width  : 1px;
  border-bottom-width : 1px;
  border-top-width    : 1px;
  border-color        : #548BB0;
}

ul.article li {
  padding          : 0.2em;
  margin           : 0;
  background-color : #E9F0F5;
  text-decoration  : none;
  color            : #071925;
  /* border-top       : 1px dotted #548BB0; */
  font-size        : 0.8em;
}

ul.article li.title {
  font-style       : italic;
  font-weight      : bold;
  color            : #292E37;
  padding-top      : 0.5em;
  border           : none;
  font-size        : 1em;
}

/* =============================================================== +/
|                                                                  |
/+ --------------------------------------------------------------- */

div.panel {
  float            : left;
  text-align       : center;
  padding          : 0;
  margin-right     : 2%;
  margin-top       : 2%;
}


#map_canvas {
    width: 100%;
    height: 300px;
    background-color: #CCC;
}

/* =============================================================== +/
|  Upload Forms                                                    |
/+ --------------------------------------------------------------- */
#uploadform label {
  font-size:1em;
  line-height:1.5em;
  font-weight:bold;
}

#uploadform label .small{
  color: #8DB2CB;
  font-size:0.8em;
  font-weight:normal;
}

#uploadform input {
  width:300px;
  margin-bottom:5px;
  line-height:1.5em;
  padding:2px 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border:1px solid #CCC;
}

#uploadform #progress div.bar {
  width: 0px;
  margin-bottom:5px;
  line-height: 1em;
  margin-top: 10px;
  padding:2px 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border:1px solid #CCC;
  background-color: #E9F0F5;
}

/* ==========================================================================
   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 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;
}

/*
 * For IE 6/7 only
 * Include 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 (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 images, 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;
    }
}
