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

@font-face {
    font-family: 'copseregular';
    src: url('../fonts/Copse/CopseRegular/copse-regular-webfont.eot');
    src: url('../fonts/Copse/CopseRegular/copse-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Copse/CopseRegular/copse-regular-webfont.woff') format('woff'),
        url('../fonts/Copse/CopseRegular/copse-regular-webfont.ttf') format('truetype'),
        url('../fonts/Copse/CopseRegular/copse-regular-webfont.svg#copseregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face{
    font-family: 'OpenSansLight';
    src: url('../fonts/Open_Sans/Open_Sans_Light/OpenSans-Light.eot');
    src: url('../fonts/Open_Sans/Open_Sans_Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Open_Sans/Open_Sans_Light/OpenSans-Light.svg') format('svg'),
        url('../fonts/Open_Sans/Open_Sans_Light/OpenSans-Light.woff') format('woff'),
        url('../fonts/Open_Sans/Open_Sans_Light/OpenSans-Light.ttf') format('truetype');       
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'OpenSansRegular';
    src: url('../fonts/Open_Sans/Open_Sans_Regular/OpenSans-Regular.eot');
    src: url('../fonts/Open_Sans/Open_Sans_Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Open_Sans/Open_Sans_Regular/OpenSans-Regular.svg') format('svg'),
        url('../fonts/Open_Sans/Open_Sans_Regular/OpenSans-Regular.woff') format('woff'),
        url('../fonts/Open_Sans/Open_Sans_Regular/OpenSans-Regular.ttf') format('truetype');       
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'OpenSansBold';
    src: url('../fonts/Open_Sans/Open_Sans_Bold/OpenSans-Bold.eot');
    src: url('../fonts/Open_Sans/Open_Sans_Bold/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Open_Sans/Open_Sans_Bold/OpenSans-Bold.svg') format('svg'),
        url('../fonts/Open_Sans/Open_Sans_Bold/OpenSans-Bold.woff') format('woff'),
        url('../fonts/Open_Sans/Open_Sans_Bold/OpenSans-Bold.ttf') format('truetype');       
    font-weight: normal;
    font-style: normal;
}

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

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

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

.menuh {
    border-radius: 0;
    border: none;
    box-shadow: 0px 1px 3px #ededed;
    margin-bottom: 0;
    background-color: #FFF;
}
img.logo-menuh-tlc {
    margin-top: 1em;
}
.menuh .navbar-nav {
    margin-top: 1.15em;
}
.menuh .navbar-nav li {
    margin-left: 2.5em !important;
}
.menuh .navbar-nav li a {
    font-family: "OpenSansLight", Arial, "Helvetica Neue", Helvetica, sans-serif;
    text-transform: uppercase;
}

/* Estilo dos links do menu */
.menuh .active-link {
    color: #f32531 !important;
    padding-bottom: 0.5em !important;
    border-bottom: 2px solid #f32531;
}

.menuh .feature-link {
    color: #FFF !important;
    padding-right: 2.5em;
    padding-left: 2.5em;
    background-color: #f32531 !important;
}

.menuh-fixed {
    position: fixed !important;
    width: 100%;
    z-index: 99999;

}


/* ==========================================================================
   Introdução "Acredita que a TLC idiomas é para você?"
   ========================================================================== */
.intro {
    background-color: #f0f0f0;
}

.intro .checked {
    height: 2em;
    background: url(../../public/images/icons/checkbox-intro.png) no-repeat;
    background-position: center right;
}

.intro .title-intro {
    font-family: "copseregular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    color: #463a38;
}

.intro .item .title {
    font-family: "copseregular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.75em;
    color: #372925;
}
.intro .item .description {
    font-family: "OpenSansRegular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-style: italic;
    margin-top: 2em;
}

.horizontal-key-background {
    height: 10em;
    margin-top: 3em;
    margin-bottom: 3em;
    background: url(../../public/images/chave-intro.png) no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.btn-cta-intro {
    font-family: "copseregular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.5em;
    border-bottom: 2px solid #86131a;
    padding: 0.5em 2em 0.5em 2em;
    margin-bottom: 5em;
    border-radius: 10px;
    background-color: #f32531;
}


/* ==========================================================================
   Etapas do processo para adquirir uma franquia
   ========================================================================== */
.process-steps {
    margin-bottom: 2.5em;
}
.process-steps .title-process {
    font-family: "copseregular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 2.5em;
    color: #4f4744;
    margin-top: 2em;
    margin-bottom: 1em;
}

.process-steps .step {
    display: none;
    height: 15em;
    transition: all 1s linear;
}

.process-steps .step-active {
    display: block !important;
    transition: all 1s linear;
}

.process-steps .step .infos .title {
    font-family: "OpenSansLight", Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #d92c2e;
    font-style: italic;
}

.process-steps .step .description {
    font-family: "OpenSansLight", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.15em;
    line-height: 1.75em;
}
.process-steps .step .description ul {
    padding-left: 2em;
}

.featured-image img {
    float: left;
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Links com páginação das etapas para adquirir uma nova franquia */
.link-steps {
    margin-bottom: 5em;
}
.link-steps .item {
    text-align: center;
    padding-top: 2em;
    padding-bottom: 2em;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    transition: all 0.25s linear;
}

.link-steps .item.active {
    margin-top: -10px;
    box-shadow: 3px 3px 5px #333;
    transition: all 0.25s linear;
}

.link-steps .item .content {
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg);
}

.link-steps {
    margin-top: 2em;
    margin-bottom: 2em;
}
.link-steps .item {
    float: left;
    width: 19%;
    font-family: "OpenSansRegular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.5em;
    color: #FFF;
    margin-right: 1%;
}
.link-steps .item:hover {
    cursor: pointer;
}

.link-steps .item-1 {
    background-color: #d92c2e;
}
.link-steps .item-2 {
    background-color: #c32427;
}
.link-steps .item-3 {
    background-color: #ad1b1f;
}
.link-steps .item-4 {
    background-color: #991218;
}
.link-steps .item-5 {
    background-color: #8c0e14;
}

/* ==========================================================================
   Rodapé com CTA
   ========================================================================== */
.footer {
    background-color: #f0f0f0;
}
.cta-footer {
    font-family: "copseregular", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.5em;
    border-bottom: 2px solid #86131a;
    padding: 0.5em 2em 0.5em 2em;
    margin-top: 4em;
    margin-bottom: 4em;
    border-radius: 10px;
    background-color: #f32531;
}



/* ==========================================================================
   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 ( max-width: 480px ) {

    .intro .item .checked {
        background-position: center center;
    }

    .process-steps .title-process {
        text-align: center;
    }

    .link-steps .item {
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);
    }
    .link-steps .item .content {
        font-size: 1em;
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);
    }

}

@media ( max-width: 768px ) {

    .intro .item .checked {
        background-position: center center;
    }

    .process-steps .title-process {
        text-align: center;
    }

    .process-steps .step .featured-image {
        margin-top: 2em;
    }

    .link-steps .item {
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);
    }
    .link-steps .item .content {
        font-size: 1em;
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);
    }

}

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