/*! HTML5 Boilerplate v5.0.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.
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic,800,800italic');
/*@import url('https://fonts.googleapis.com/css?family=Permanent+Marker|Kalam:400,700');*/
@import url('https://fonts.googleapis.com/css?family=Pragati+Narrow:400,700|Source+Sans+Pro:400,700');
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
*/

audio,
canvas,
iframe,
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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
html,body{
  font-family: 'Open Sans', sans-serif;
  color: #000;
  font-size: 0.95em;
  line-height: 1.6em;
  min-height: 100%;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  margin: 0 0 100px;
}
.wrapper{
  width: 90%;
  margin: 0 auto;
}
a{
  color: #BF3324;
  text-decoration: none;
}
#microphone{
  background: none;
}
h1{
  color: #000;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 2em;
  /*  border-bottom: solid 5px #BF3324;
    display: inline-block;
    padding: 0 0 5px 0;
    margin: 5px 0;*/
}
h3{
  color: #CCC;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 2em;
  text-transform: uppercase;
  line-height: 1.2em;
  margin: 0 0 10px 0;
}

label{
  padding: 5px 0;
  font-weight: 700;
  display: block;
}
select, textarea, input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"]{
  font-size: 16px;
  display: block;
  height: 45px;
  margin: 0;
  width: 100%;
  font-family: sans-serif;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  padding: 5px 10px;
  border: solid 1px #ccc;
  transition: box-shadow 0.3s, border 0.3s;
}
textarea{
  min-height: 150px;
}
select:focus, textarea:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus{
  outline: none;
  border: solid 1px #9c9c9c;
  box-shadow: 0 0 5px 1px #b5b5b5;
}
/*input:focus:required:invalid, select:invalid {
  border: 1px solid red;
  box-shadow: 0 0 5px 1px #febbbb;
  outline: none;
}*/
input[type='submit'], .linkBtn{
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  background: #BF3324;
  border: none;
  padding: 0.2em 1.5em;
  margin: 0.5em 0;
  font: bold 1em/2em Arial, Helvetica;
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 1px 0 rgba(0,0,0,.8);
  /*box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);*/
}

input[type='submit']:hover {
  /*    background-color: #ddd;        
      background-image: linear-gradient(top, #fafafa, #ddd);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');*/
  background: #A02218;
}
input[type='submit']:active {
  box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
  position: relative;
  top: 1px;
}

input[type='submit']:focus {
  outline: 0;
}    

input[type='submit']:before {
  background: #ccc;
  background: rgba(0,0,0,.1);
  float: left;        
  width: 1em;
  text-align: center;
  font-size: 1.5em;
  margin: 0 1em 0 -1em;
  padding: 0 .2em;
  box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
  border-radius: .15em 0 0 .15em;
  pointer-events: none;        
}
header{
  position: relative;
  text-align: center;
  padding: 20px 0 0 0;
}
header h2{
  /*font-family: 'Permanent Marker', cursive;*/
  /*font-family: 'Pragati Narrow', sans-serif;*/
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  font-size: 2.8em;  
  margin: 15px auto 10px auto;
  text-align: center;
  border: solid 7px #000;
  display: inline-block;
  padding:15px;
  line-height: 1em;
}
header h2 a{
  color: #000;
}
nav{
  width: 100%;
  font-size: 0.9em;
}
nav ul ul{
  display: none;
  width: auto;
}
nav ul li:hover > ul{
  display: block;
}
nav ul{
  list-style: none;
  position: relative;
  z-index: 20;
  font-size: 1em;
  /*display: inline-table;*/
  margin: 0;
  text-align: center;
}
nav ul:after {
  content: ""; 
  clear: both; 
  display: block;
}
nav ul li{
  display:inline;
  margin: 0;
}
nav ul li a{
  text-shadow: 0px 1px 1px #CCC;
  text-decoration: none;
  display: inline-block;
  color: #333;
  padding: 15px 30px;
  font-variant: small-caps;
}
nav ul li:hover > a{
  text-shadow: none;
  color: #00B4D8;
  text-decoration: none;
  /*background: #E0E0E0;*/
}
nav ul ul{
  position: absolute; 
  padding: 0;
  top: 100%;
}
nav ul ul li{
  float: none;
  position: relative;
  background: #e6ecf3;
}
nav ul ul li:first-child{
  -webkit-box-shadow: inset 0 6px 6px -6px #333;
  -moz-box-shadow: inset 0 6px 6px -6px #333;
  box-shadow: inset 0 6px 6px -6px #333;
}
nav ul ul li a{
  padding: 10px 15px;
  margin: 0;
  /*border-bottom: solid thin #5b6b88;*/
}
nav ul ul li:hover > a{
  background: #4e4e50;
}
nav ul ul ul {
  position: absolute; 
  background: url('../images/design/empty.png') repeat;
  left: 100%; 
  top:0;
  white-space: nowrap;
  width: auto;
}
nav ul ul ul li{
  background: #9e2f23;
}
nav ul ul ul li a:hover{
  background: #e13a27;
}
nav ul ul ul li:first-child{
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#content-main{
  padding: 10px 0;
  /*background: #FFF;*/
}
#content-main img{
  max-width: 100%;
  position:relative;       
  box-shadow:0 1px 4px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.2) inset;
}
#content-main img:before,#content-main img:after{
  content:"";
  position:absolute; 
  z-index:-1;
  box-shadow:0 0 20px rgba(0,0,0,0.8);
  top:50%;
  bottom:0;
  left:10px;
  right:10px;
  border-radius:100px / 10px;
}
footer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100px;
  width: 100%;
  text-align: center;
  font-size: 0.7em;
  color: #666;
}



.floatRight{
  float:right;
}
.floatLeft{
  float:left;
}
.alertError, .alertSuccess, .alertWarning{
  padding: 10px;
}
.alertSuccess{
  color: #69B92F; 
  border: solid thin #69B92F;
  background: #E1FCCF;
}
.alertError{
  color: #CC0000;
  border: solid thin #CC0000;
  background: #f2dede;
}
.alertWarning{
  color: #F47D0E;
  border: solid thin #F47D0E;
  background: #FFD8C1;
}
.txtAlignC{
  text-align: center;
}








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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
*/

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*/

.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:
 * https://www.drupal.org/node/897638
*/

.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 (max-width: 45em) {
  #content-main img{
    float: none !important;
  }
}

@media only screen and (min-width: 45em) {
  /* Style adjustments for viewports that meet the condition */
  .wrapper{
    width: 960px;
    /*max-width: 1330px;*/
  }
  #microphone{
    background-image: url("../img/outline-radio-microphone-on-the-air.png");
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position: right bottom;
  }
  header{
    min-height:100px;
  }
  h3{
    color: #CCC;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 4em;
    text-transform: uppercase;
    line-height: 1em;
    margin: 60px 0 20px 0;
    text-align: center;
  }
  nav{
    margin: 10px 0 20px 0;
  }
  #formContact{
    width: 70%;
    margin: 0 auto;
  }
}

@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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                               http://www.sanbeiji.com/archives/953 */
    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;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
  */

  thead {
    display: table-header-group;
  }

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

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

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

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