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

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

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

body {
    font-size: 12px;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.webcamImage {
    position: relative;
}

.webcamImage img {
    max-width: 100%;
    height: auto;
    width: auto;
    position: absolute;
}

#datepicker {
    float: right;
    /*margin: 12px;*/
    /*position: absolute;*/
/*    right: 12px;
    top: 12px;
*/    font-size: 0.8em
}
.controls {
    padding: 12px;
    padding-bottom:7px;
    background-color: #eee;
    position: relative;
    /*padding-right: 250px;*/
    /*height: 181px;*/
}

.controls-main {
    position: absolute;
    right: 260px;
    left: 12px;
}

#slider {
    margin: 2px;
}

.controls select {
    margin: 6px 0;  
}

#icons {
    font-size: 10px;
    display: block;  
    margin: 0;
    padding: 0;
    padding: 4px;
    display: block;
}
    
#buttonHighres {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 0.8em;
}

#spinner {
    display: inline-block;
}


.poweredby {
  position: absolute;
  bottom: 40px;
  left:15px;
  font-family: Verdana;
  color: silver
}
.poweredby a, .poweredby a:visited , .poweredby a:active, .poweredby a:hover {
  color:gray;
  text-decoration: none;
  
}


body.embed .container {
  max-width: auto;

}




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


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

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

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

.invisible {
    visibility: hidden;
}


.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;
}

