/******************************************************************
Theme Name: Eric Leclerc
Theme URI: http://www.ericleclerc.com
Description: This site was built using the Bones Development Theme. For more information about Bones or to view documentation, you can visit the <a href="https://github.com/eddiemachado/bones/issues" title="Bones Issues">Bones Issues</a> page on Github. You'll want to customize this for your clients with your own information.
Author: Cinnamon Toast
Author URI: http://www.cinnamontoast.ca
Version: 1
*******************************************************************/

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

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    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,
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;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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





/* BASE STYLES */

*, *:before, *:after {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
html, body { height:100%;font-size:20px; }
body { font-family: 'Lato', sans-serif; font-weight:400; -webkit-font-smoothing: antialiased; margin: 0;  }
strong { font-family: 'Lato', sans-serif; font-weight:700; }
button { border:none; }
blockquote { margin:0; }
article {  }
h1, h2, h3, h4 {  }
h1 {
  font-family: 'Playfair Display', serif;text-align:center;
  font-size:2.4em;text-transform:uppercase;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size:2em;text-transform:uppercase;
}
form {  }
img { max-width:100%; }
hr {  }
a:hover { text-decoration:underline; }




/* RESPONSIVE GRID */

[class*='col-'] { float: left; padding-right: 20px; }
[class*='col-']:last-of-type { padding-right: 0px; }
.grid { width: 100%; max-width: 1190px; margin: 0 auto; }
.grid:after { content: ""; display: table; clear: both; }
.grid-pad { padding: 0 20px; }
.grid-pad > [class*='col-']:last-of-type { padding-right: 20px; }
.grid-large { width: 100%; max-width: 1400px; margin: 0 auto; }
.grid-large:after { content: ""; display: table; clear: both; }
.grid-small { width: 100%; max-width: 980px; margin: 0 auto; }
.grid-small:after { content: ""; display: table; clear: both; }
.push-left { float: left; }
.push-right { float: right; }
.push-center { text-align:center; }

@media handheld, only screen and (max-width: 767px) {
  .grid {
      width: 100%; margin-left: 0px; margin-right: 0px; min-width: 0;
      padding-left: 0px; padding-right: 0px;
  }
  .grid-pad { padding: 0 20px; }
  .grid-pad-mobile { width: 94%; margin-left: 3%; margin-right: 3%; }
  [class*='col-'] {
      width: auto; float: none;
      margin-left: 0px; margin-right: 0px; margin-top: 10px; margin-bottom: 10px;
      padding-left: 20px; padding-right: 20px;
  }
}




/* HEADER */

.site-wrap {  }
.site-header { background:#000;color:#fff;padding:20px 0; }
.site-header div { position:relative; }
.header-top {  }
.site-logo-link { float:left; }
.site-logo {  }
.menu-toggle {
    float:right;width:45px;height:35px;margin-top:10px;
    background:url('/el_files/images/icon-menu-sprite.png') no-repeat left center; 
    background-size:200px 35px;background-position:0px 0px;
    transition:all 0.2s;
}
.menu-toggle:hover { background-position:-80px 0px; }
.menu-toggle.open { background-position:-160px 0px; }
.site-navigation { 
    display:none;position:absolute;right:0;top:50px;padding:10px 30px 30px;
    background-color:rgba(0,0,0,0.6); z-index: 20;
}
.active.site-navigation { display:block; }
.site-navigation ul { list-style:none;padding:0;border-top:solid 2px #fff; }
.site-navigation li { border-bottom:solid 2px #fff; }
.site-navigation a {
    display:block;color:#fff;text-transform: uppercase;padding:20px 0 20px 20px;
    text-align:right;text-decoration:none;font-size:1.4em;transition:all 0.3s;
}
.site-navigation a:hover { color:#6f9098; }

@media handheld, only screen and (max-width: 767px) {

  .menu-toggle { 
      width:33.75px;height:27.25px;background-size:150px 26.25px; 
      margin-top:0px;
  }
  .menu-toggle:hover { background-position:-60px 0px; }
  .menu-toggle.open { background-position:-120px 0px; }
  .site-logo-link { width:180px; }
  .site-navigation { padding:10px;width: 100%; }

}



/* BANNER - MAGIC */

.section-banner-magic {
    min-height:770px;/*padding:140px 0 0 160px;*/
    background:url('images/banner-magic.jpg') no-repeat top center fixed; 
    background-size: cover;
}
.touch .section-banner-magic { background-attachment: scroll; }
.section-banner-magic > div { position:relative;height: 740px; }
.section-banner-magic img { float:left;margin-left:160px;margin-top:120px; }
.img-scroll-wrap { 
    float:none;position:absolute;bottom:20px;left:0;width:100%; text-align:center;
}
.section-banner-magic .img-scroll { float:none;margin:0 auto; }

@media handheld, only screen and (max-width: 767px) {
    .section-banner-magic { padding:140px 0 0 0px; text-align:center; }
    .section-banner-magic img { margin:0 auto;float:none; }
    .img-scroll-wrap { display:none; }
    .section-banner-magic > div { position:relative;height: auto; }
}



/* SECTION - BIO */

.section-bio { padding:45px 0; }
.bio-left { float:left;width:40%;text-align:center; }
.bio-left img { max-width:100%;margin:0 auto; }
.bio-right { float:right;width:60%;padding-left:40px;padding-top:40px; }
.bio-right h2 { font-size:1.3em;color:#3f4e51;margin-top:15px; }
.bio-subheader {  }
.bio-subheader span {  }
.img-octagon { transition:all 1s; }
.img-octagon.spin { 
  transform:rotate(360deg);-ms-transform:rotate(360deg);-webkit-transform:rotate(360deg); 
}

@media handheld, only screen and (max-width: 767px) {
    .bio-left { float:left;width:100%;margin-bottom:50px; }
    .bio-right { float:right;width:100%;padding-left:0px;padding-top:40px; }
}




/* BANNER - SHIVERS */

.section-banner-shivers {
    min-height:770px;padding:240px 0 0;
    background:url('images/banner-shivers.jpg') no-repeat top center fixed; 
    background-size:cover;
}
.touch .section-banner-shivers { background-attachment: scroll; }
.section-banner-shivers img { float:right; }

@media handheld, only screen and (max-width: 767px) {
    .section-banner-shivers { text-align:center; }
    .section-banner-shivers img { margin:0 auto;float:none; }
}




/* SECTION - APPEARED ON */

.section-appearedon { padding:80px 0; }
.appearedon-list { list-style:none;padding:0;width:100%;margin-top:80px;text-align:center; }
.appearedon-list li { 
  display:inline-block;margin:0 1% 20px;
  height: 160px;width: 160px;border-radius: 80px;
  background: no-repeat center center;background-size: initial;
  box-shadow: inset 3px 3px 5px rgba(0,0,0,0.3);
}
.appearedon-list li img { width:100%; }

@media handheld, only screen and (max-width: 1140px) {
    /*.appearedon-list li { height: 100px;width: 100px;border-radius: 50px; }*/
}
@media handheld, only screen and (max-width: 767px) {
    .appearedon-list li { width:46%;margin:0 1% 20px; }
}




/* BANNER - LAUGHTER */

.section-banner-laughter {
    min-height:770px;padding:240px 0 0;
    background:url('images/banner-laughter.jpg') no-repeat top center fixed; 
    background-size:cover;
}
.touch .section-banner-laughter { background-attachment: scroll; }

@media handheld, only screen and (max-width: 767px) {
    .section-banner-laughter { text-align:center; }
    .section-banner-laughter img { margin:0 auto;float:none; }
}




/* SECTION - TESTIMONIALS */

.section-testimonials {  }
.testimonial-list { list-style:none;padding:0;margin:0; }
.testimonial-list li { display:inline-block;padding:40px 20px;width:32%; }
.testimonial-list li.blackbg { background-color:#000; }
.testimonial-list img { width:100%;max-width:100%; }
.testimonials-left { float:left;width:15%;margin-top:40px; }
.testimonials-left img {  }
.testimonials-right { float:right;width:85%; }

@media handheld, only screen and (max-width: 1030px) {
    .testimonials-left img { width:40px; }
}

@media handheld, only screen and (max-width: 950px) {
    .testimonials-left { margin-top:5px; }
}

@media handheld, only screen and (max-width: 767px) {
    .testimonials-left { display:none; }
    .testimonials-right { float:left;width:100%; }
    .testimonial-list li { width: 49%;padding:10px; }
    .section-testimonials .grid-pad { padding:0; }
}




/* BANNER - SORCERY */

.section-banner-sorcery {
    min-height:770px;padding:240px 0 0;
    background:url('images/banner-sorcery.jpg') no-repeat top center fixed; 
    background-size:cover;
}
.touch .section-banner-sorcery { background-attachment: scroll; }
.section-banner-sorcery img { float:right; }

@media handheld, only screen and (max-width: 767px) {
    .section-banner-sorcery { text-align:center; }
    .section-banner-sorcery img { margin:0 auto;float:none; }
}




/* SECTION - VIDEOS */

.section-videos { padding:40px 0; }
.videos-left { float:left;width:40%; }
.videos-right { float:left;width:60%; }
.video-embed {
    position: relative;height: auto;
    padding-bottom: 56.25%;padding-top: 0px; margin: 0 0 20px 0px;
    background-color:#fff;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.video-embed:before, .video-embed:after {
  position: absolute;
  width: 40%;
  height: 10px;
  content: ' ';
  left: 12px;
  bottom: 8px;
  background: transparent;
  -webkit-transform: skew(-5deg) rotate(-5deg);
  -moz-transform: skew(-5deg) rotate(-5deg);
  -ms-transform: skew(-5deg) rotate(-5deg);
  -o-transform: skew(-5deg) rotate(-5deg);
  transform: skew(-5deg) rotate(-5deg);
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  z-index: -1;
}
.video-embed:after {
  left: auto;
  right: 12px;
  -webkit-transform: skew(5deg) rotate(5deg);
  -moz-transform: skew(5deg) rotate(5deg);
  -ms-transform: skew(5deg) rotate(5deg);
  -o-transform: skew(5deg) rotate(5deg);
  transform: skew(5deg) rotate(5deg);
}
.video-embed iframe {
    position: absolute;top: 0;left: 0;
    width: 100%;height: 100%;padding:5px;
}

@media handheld, only screen and (max-width: 767px) {
    .videos-left { width:100%; }
    .videos-right { width:100%; }
}




/* BANNER - ILLUSTATIONS */

.section-banner-illusions {
    min-height:770px;padding:280px 0 0;
    background:url('images/banner-illusions.jpg') no-repeat top center fixed; 
    background-size:cover;
}
.touch .section-banner-illusions { background-attachment: scroll; }
.section-banner-illusions img { float:right; }

@media handheld, only screen and (max-width: 767px) {
    .section-banner-illusions { text-align:center; }
    .section-banner-illusions img { margin:0 auto;float:none; }
}




/* SECTION - THE SHOW */

.section-theshow { padding:160px 0; }
.theshow-left { float:left;width:45%; }
.theshow-right { padding-left:40px;border-left:solid 8px #000;float:right;width:55%; }
.theshow-left h1 { font-size:4em;text-align:left; }
.theshow-right p { font-size:1.1em;margin:0; }

@media handheld, only screen and (max-width: 767px) {
    .theshow-left { width:100%; }
    .theshow-right { 
      padding-left:0px;border-left:none;float:none;width:100%;
      padding-bottom:40px;
    }
    .theshow-left h1 { font-size:3em; }
}




/* BANNER - HUMOUR */

.section-banner-humour {
    min-height:770px;padding:240px 0 0;
    background:url('images/banner-humour.jpg') no-repeat top center fixed; 
    background-size:cover;
}
.touch .section-banner-humour { background-attachment: scroll; }

@media handheld, only screen and (max-width: 767px) {
    .section-banner-humour { text-align:center; }
    .section-banner-humour img { margin:0 auto;float:none; }
}




/* SECTION - GALLERY */

.section-gallery { padding:40px 0;position:relative; }
.section-gallery .grid { position:relative; }
.slider-gallery ul { list-style:none;padding:0;text-align: center; }
.slider-gallery li img { margin:10px; }
.flex-direction-nav .flex-prev { background:url('images/arrow-left.png') no-repeat center center; }
.flex-direction-nav .flex-next { background:url('images/arrow-right.png') no-repeat center center; }
.gallery-img-wrap { 
    float:left;width:31%;margin:1% 1%;height:330px;background-size:cover;
}

@media handheld, only screen and (max-width: 767px) {  }

@media handheld, only screen and (max-width: 590px) {
    .gallery-img-wrap { 
        float:left;width:48%;margin:1% 1%; 
        height:330px;background-size:cover;background-position:top center;
    }
}

@media handheld, only screen and (max-width: 590px) {
    .gallery-img-wrap { 
        float:left;width:100%;margin:3% 0%; 
        height:400px;background-size:cover;background-position:top center;
    }
}




/* SECTION - CONTACT */

.section-contact { background-color:#000;color:#fff;padding:60px 0; }
.section-contact a { color:#fff;text-decoration:none; }
.section-contact a:hover { text-decoration:underline; }
.contact-left { float:left;width:30%; }
.contact-right { float:right;width:70%;padding-left:40px; }
.contact-right p { margin-top:0;margin-bottom:10px; }
.section-contact .grid { max-width:970px; }

@media handheld, only screen and (max-width: 767px) {
    .contact-left { float:left;width:100%;margin-bottom:40px; }
    .contact-right { float:right;width:100%;padding-left:0px; }
}




/* SECTION - FOOTER */

.site-footer { padding:60px 0;text-align:center;overflow: hidden; }
.social-list { list-style:none;padding:0 20px;background-color:#fff; }
.social-list li { display:inline;padding: 0 20px;margin: 0 0 0 -4px;background-color: #fff; }
.social-list li a img {
    -webkit-transform: rotate(0deg);
    -webkit-transition: -webkit-transform 0.25s ease-in-out;
}
.social-list li a img:hover {    
    -webkit-transform: rotate(360deg);
    -webkit-transition: -webkit-transform 0.25s ease-in-out;
}
.hr-social { border-width:4px;width:200%;border-color:#000;margin-top:-40px;margin-left:-50%; }
.copy { margin-top:50px; }

@media handheld, only screen and (max-width: 767px) {
    .hr-social { display:none; }
}




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

/*
 * Hide visually and from screen readers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screen readers: 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 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 (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) {

}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request: 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 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;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

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

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