/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.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
   ========================================================================== */

html {
    color: #48453e;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * 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
   ========================================================================== */
p,h1,h2,h3,h4,span,div,img,a,body{
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  font-weight:normal;
	text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  image-rendering:-moz-crisp-edges;
  image-rendering:-o-crisp-edges;
  image-rendering:-webkit-optimize-contrast;
}

body{
  background-color: #ffffff;
  font-family: 'source_serif_proregular',serif;
  color: #48453e;
  border: 17px solid #efeff0;
}

a{
  text-decoration: none;
  color: #d1a502; /*color: #bc7e45;*/  /*color: #d1a502;*/

}

a:hover, a:focus{
  color:#ffffff;
  background-color: #d1a502;
  text-decoration: none;
}



#container{
  width: 90%;
  margin: 0 auto;
}

header a{
  text-transform: uppercase;
  border-bottom: none;
}

img#smallLogo{
  position: relative;
  display: block;
  width: 90px;
  margin: 0 auto;
  border: none;
  margin-top: 30px;
}

h1{
  font-family: 'henriette-black';
  margin-top: 25px;
  font-size: 3.1em;
  margin-bottom: 8px;
}

h1#listen{
  text-transform: uppercase;
}

main#radioplayer{
  margin-top: 25px;
}

h1 a{color: #c62100;}

h1 a:hover, h1 a:focus{
  border: none;
  color: #d38532;
  background-color: #ffffff;
}

div#titleBloc{
  text-align: center;
  margin-top: 25px;
}

div#titleBlocTop, div#titleBlocBottom{
  height: 9px;
  width: 100%;
  background-image:url("../img/titleBorder.png");
  background-position: top;
  background-repeat: repeat-x;
}

p#tagline{
  font-family: 'visionregular',sans-serif;
  text-transform:uppercase;
  font-size: 1.1em;
  margin-bottom: 20px;
}




p#tagline::before{content:"• ";}
p#tagline::after{content:" •";}

h2.title, h2.item{
  font-family: 'henriette-black';
  font-size: 2.9em;
  line-height: 1.15;
  display: block;
  width: 100%;
  padding-bottom: 15px;
  margin-bottom: 35px;
  margin-top: 45px;
  text-align: center;
}

h2.item{
  border-bottom: 1px solid #c62100;
  font-size: 2.5em;
}

p.text{
  font-size: 2.3em;
  margin-top: 50px;
  font-family: 'visionblack',sans-serif;
}

p.goBack, ul{
  font-size: 2.3em;
  font-family: 'visionblack',sans-serif;
  margin-top: 30px;
  margin-bottom: 100px;

}

h2.bottom{
  margin-top: 100px;
}

.centered{
  text-align: center;
}




p#fundingLink{
  font-family: 'visionblack', sans serif;
  font-size: 1.1em;
  text-transform:uppercase;
  text-align: center;
  display: block;
}


.contentBloc{
  width: 100%;
  background-color: #efefef;
  margin-top: 36px;
  border: 4px solid #d1a502;
  bottom: -4px;
  right: -4px;
  left: -4px;
  top: -4px;
  position: relative;
  display: block;
  height: 400px;
}

#mainButton{
  height: 200px;
  margin-top: 50px;
}

.contentBloc:hover{
  border-color: #c42521;
}

a.contentBloc p{
  display: block;
  border: 1px solid #48453e;
  margin:36px 36px 36px 36px;
  height: 324px;
  vertical-align: middle;
}

span.image{
  display: block;
  float: left;
  height: 100%;
  vertical-align: middle;
  line-height:324px;
  width: 30%;
  text-align: center;
}

span.mainTitle{
  display: block;
  font-family: 'henriette-black';
  font-size: 2.8em;
  width: 65%;
  float: left;
  margin-top: 90px;
  text-transform: uppercase;
}

span.tagline{
  display: block;
  font-family: 'visionblack';
  text-transform: uppercase;
  font-size: 1.5em;
  width: 65%;
  float: left;
  line-height: 1.1;
  margin-top: 15px;
  color: #48453e;
}

span.tagline:hover{
  color: white;
}


div.infoBloc{
  background-color: #48453e;
  text-align: center;
  height: 62px;
  overflow: hidden;
}

div.infoBlocTop{
  height: 6px;
  width: 100%;
  background-position: top;
  background-repeat: repeat-x;
}

div.infoBlocTop{background-image:url("../img/infoBorderTop.png");}

div.infoBloc h3{
  font-family: 'henriette-black';
  color: #ffffff;
  font-size: 1.5em;
  margin-top: 11px;
  margin-bottom: 17px;
}


footer{
  margin-top:45px;
}

div#funding{
  margin-top: 25px;
}

div.logoFunding{
  display: block;
  float: left;
  text-align: center;
  width: 25%;
  line-height: 133px;
  vertical-align: middle;
  margin-top: 20px;
}

div.logoFunding p{
  display: block;
  text-align: center;
  line-height: 1.4;
  font-family: 'visionregular',sans-serif;
  font-size: 1.15em;
  width: 100%;
}

div.logoFunding a:hover{background-color: #ffffff;}

div.logoFunding img{width: 70%; height: auto;}
div.logoFunding img.bigLogo{width: 85%; height: auto;}

p#fundingLink{
  margin-top: 40px;
}

nav#bottomMenu{
  border-top: 1px solid #48453e;
  margin-top: 30px;
  padding-top: 15px;
}

nav#bottomMenu a, p#fundingLink a{
  text-transform: uppercase;
  border-bottom: none;
}

p#copyright{
  text-align: center;
   font-size: 1.1em;
   margin-top: 70px;
   margin-bottom: 100px;
   line-height: 1.6;
}


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

.clearedFloat{
  clear: both;
}

.clearedFloatMobile{
  clear: none;
}

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * 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;
    white-space: inherit;
}

/*
 * 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 screen and (max-width: 1350px){
     span.mainTitle{font-size: 2.6em; line-height: 1.2; margin-top: 90px;}
     img#thelmaTapes{width: 200px;}
   }


  @media screen and (max-width: 1150px){

    span.mainTitle{font-size: 2.3em; line-height: 1.2; margin-top: 90px;}
    /*span.tagline{font-size: 1.8em;}*/

    div.logoFunding{width: 50%; }
    div.logoFunding img{width: 60%; height: auto;}
    div.logoFunding img.bigLogo{width: 70%; height: auto;}
  }


@media screen and (max-width: 950px){
  .clearedFloatMobile{clear: both; display: block;}
  h1{font-size: 2.1em; margin-left:20px; margin-right: 20px;}
  span.image{width: 100%; height: 40%; vertical-align: top; margin-top: 30px;line-height: 40%;}
  span.image img{height:142px;}
  img#thelmaTapes{width: auto;}
  span.mainTitle, span.tagline{
    float:none;
    width: 90%;
    margin:0 auto;
    margin-top: 15px;}
  span.mainTitle{font-size: 2.3em; line-height: 1;}
  span.tagline{margin-bottom: 25px;}
  .contentBloc{height:auto;}
  a.contentBloc p{margin:32px 32px 32px 32px; padding-bottom: 15px; height: auto; text-align: center;}
}


@media screen and (max-width: 650px){
  div.logoFunding img{width: 85%; height: auto;}
  div.logoFunding img.bigLogo{width: 65%; height: auto;}
}

@media screen and (max-width: 600px){
  body{border:0px;}
  span.mainTitle{font-size: 2em; line-height: 1.2;}
  span.tagline{display: none;}
  a.contentBloc p{margin:15px 15px 15px 15px; padding-bottom: 25px;}
  div#fundingInfoBloc{height: 95px;}
  div.logoFunding, div.row, div.two-rows {width: 100%; float: none;}
  div.logoFunding img{width: 90%; height: auto; }
  div.logoFunding img.bigLogo{width: auto; height: auto; margin-bottom: 15px;}
}



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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

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

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