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

/* ============================

    Escalation AOE
    Trust me Fuck Me Blue: #13B5EA

=============================*/

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

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,800);
@import 'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700';
@import url(https://fonts.googleapis.com/css?family=Lato);

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

html {
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.5em;
    font-family: "open sans", arial, sans-serif;
    font-weight: 400;
    border-top: 62px solid transparent;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 400;
    font-family: "roboto", arial, sans-serif;
    margin:0;
    padding: 0;
}

h1, h2, h3 { margin-top:0; margin-bottom:0; }
h1 { font-size:2em; padding:20px 0; }
h2 { font-size:1.75em; padding:20px 0; }
h3 { font-size:1.5em; padding:20px 0; }

a {
    color: #ccc;
    font-family: 'Montserrat', arial, sans-serif;
    text-decoration: none;
}

a:hover {
    color: #ccc;
    text-decoration: none;
}

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

/* Layout Styles
-------------------------------------------------------------------------------*/

body {
    overflow-x: hidden;
}

.section {
    padding: 0;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.section.tall {
    padding-top: 80px;
    padding-bottom: 80px;
}

.flex {
    width: 100%;
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
    position: relative;
}

.padded {
    padding-top: 60px;
    padding-bottom: 60px;
}


.box-centered {
    margin-right: auto;
    margin-left: auto;
}

hr.clear-pretty {
    width: 25%;
    height: 5px;
    border: none;
    padding: 0;
    margin: 40px auto;
    background: #fff;
}

.text-center {
    text-align: center;
}

hr.test-clear {
    margin: 20px auto;
    height: 1px;
    background: #b1b1b1;
    display: block;
    width: 40%;
    clear: both;
    padding: 0;
    border: none;

}

/* Typography Styles
---------------------------------------*/

h2.section-title {
    font-weight: 300;
    color: #555;
    letter-spacing: .04em;
    line-height: 1.4em;
    padding-top: 0;
    padding-bottom: 30px;
}

h3.small-title {
    color: #13B5EA;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-bottom: 10px;
}

p.note {
    font-style: italic;
    color: #b1b1b1;
    margin-top: 0;
}

/* Header Styles
---------------------------------------*/

#header {
    width: 100%;
    position: fixed;
    top: 0;
    height: 62px;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

    #header #logo {
        float: left;
        width: 210px;
        height: 62px;
        background: url(../img/logo.png) left center no-repeat;
        margin:0 20px 0 0;
        background-size: 210px auto;
        text-indent: -99999em;
    }

    #header #main-nav {
        float: left;
    }

        #header #main-nav ul {
            padding-left: 0;
            height: 62px;
            margin: 0;
            list-style-type: none;
        }

            #header #main-nav ul li {
                padding: 0;
                margin: 0;;
                display: inline-block;
            }

                #header #main-nav ul li > a {
                    padding: 21px 10px;
                    font-size: 12px;
                    line-height: 62px;
                    font-weight: 600;
                    letter-spacing: 1px;
                    text-transform: uppercase;
                    color: rgba(0, 0, 0, 0.54);
                    font-family: "Helvetica", sans-serif;
                    -webkit-transition: all .2s ease-in-out;
                    -moz-transition: all .2s ease-in-out;
                    -o-transition: all .2s ease-in-out;
                    transition: all .2s ease-in-out;
                }

    #header .right-info {
        float: right;
        padding-top: 17px;
    }

        #header .right-info span.phone-number {
            padding:  0 21px;
            line-height: 62px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: rgba(0, 0, 0, 0.54);
            font-family: "Lato", "Helvetica", sans-serif;
            -webkit-transition: all .2s ease-in-out;
            -moz-transition: all .2s ease-in-out;
            -o-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
            display: inline-block;
        }



/* Hero Styles
---------------------------------------*/

#hero {
    width: 100%;
    position: relative;
    height: 90vh;
    transform: scale(1,1);
    background-image: url(../img/hero-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    #hero #logo {
        text-indent: -99999em;
        padding: 0;
    }

	#hero .hero-logo {
		width: 80%;
		float: none;
	}
	
div#pattern-overlay {
    width: 100%;
    opacity: .5;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: 2;
    background: url(../img/pattern.png);
    position: absolute;
    top: 0;
    left: 0;
}

#hero .down-arrow {
    background: rgba(0, 0, 0, 0);
    width: 80px;
    height: 58px;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -40px;
    background-image: url(../img/down-arrow.png);
    background-position: 23px 21px;
    background-repeat: no-repeat;
    -webkit-background-size: 34px 15px;
    -moz-background-size: 34px 15px;
    -o-background-size: 34px 15px;
    background-size: 34px 15px;
    -webkit-animation: arrow-bounce 3s infinite;
    -moz-animation: arrow-bounce 3s infinite;
    -o-animation: arrow-bounce 3s infinite;
    animation: arrow-bounce 3s infinite;
}


#hero .hero-content {
    padding-top: 5%;
    padding-left: 40px;
    padding-right: 40px;
}

    #hero .hero-content h2 {
        font-size: 2.8rem;
        font-weight: 400;
        color: #fff;
        letter-spacing: 1px;
        line-height: 1.3em;
        text-transform: uppercase;
        padding-bottom: 30px;
        padding-top: 5px;
    }

    #hero .hero-content .button {
        text-align: center;
        display: inline-block;
        width: 45%;
        margin-right: 5%;
        font-size: .875rem;
        font-weight: 600;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #hero .hero-content .button.white-button {
        background: #fefefe;
        color: #666;
    }

    #hero .hero-content .already-member {
        font-size: .8em;
        color: #fff;
        padding-top: 10px;
        font-style: italic;
        width: 80%;
        display: block;
        text-align: center;
    }

/* Soft Sell
------------------------------------------*/
#soft-sell {

}

    #soft-sell img {
        width: 100%;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #soft-sell h2.section-title {
        padding-bottom: 15px;
    }

    #soft-sell p.large {
        line-height: 1.5em;
        color: #777;
        font-size: .975rem;
        margin-top: 0;
        width: 85%;
        margin-right: auto;
        margin-left: auto;

    }

/* Home Features
------------------------------------------*/

#home-features {
    background: #fcfcfc;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #eee;
}

    .feature-container {
        padding: 30px 40px;
        text-align: center;
    }

        .feature-container i {
            font-weight: 300;
            font-size: 120px;
            display: block;
            padding-bottom: 15px;
            color: #ccc;
        }

        .feature-container h2 {
            padding: 0;
            font-size: 1.2rem;
            color: #555;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .feature-container p {
            margin-top: 10px;
            font-size: .875rem;
        }


        #home-features #report-download .button {
            text-align: center;
            display: inline-block;
            width: 48%;
            margin-top: 20px;
            margin-right: 1%;
            font-size: .775rem;
            font-weight: 600;
            padding-top: 8px;
            padding-bottom: 8px;
        }

/* Testimonials Styles
---------------------------------------*/

#testimonials {
    position: relative;
    transform: scale(1,1);
    background-image: url(../img/testimonials-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    background: #fff;
    padding-top: 40px;
}

#testimonials h2.section-title {
    padding-bottom: 40px;
}


    #testimonials-wrapper {
        transform: scale(1,1);
        background-image: url(../img/testimonials-bg.jpg);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        overflow: hidden;
        padding-top: 80px;
        padding-bottom: 60px;
    }

   #testimonials .testimonial-container {
        position: relative;
        padding: 40px;
        border-radius: 4px;
        background: #fcfcfc;
        width: 28.333%;
        margin-right: 2%;
        margin-left: 2%;
        z-index: 1000;
       text-align: center;
       min-height: 340px;
    }

        .testimonial-container .client-pic {
            -webkit-border-radius: 50%;
            border-radius: 50%;
            overflow: hidden;
            padding: 0;
            margin: 0;
            width: 97px;
            height: 97px;
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateY(-47px) translateX(-50%);
            z-index: 10000;
            box-shadow: 0 1px 1px rgba(0,0,0,.18);
        }

            .testimonial-container .client-pic img {
                width: 100%;
            }

        .testimonial-container h3.client-title {
            font-size: 1.3rem;
            padding-bottom: 0px;
        }


        .testimonial-container p {
            font-size: .875rem;
            margin-top: 0;
            font-style: italic;
            font-weight: 400;
            color: #888;
        }

        .testimonial-container p.large {
            font-size: 1.5rem;
            line-height: 1.5em;
        }

/* Testimonials Styles
---------------------------------------*/

#resources {
    background: #fcfcfc;
}

    .resource-container {
        position: relative;
        padding-right: 20px;
        padding-left: 20px;
        text-align: center;
    }

        .resource-container img {
            width: 100%;
            display: block;
            text-align: center;
            margin: 0 auto 20px;
        }

        .resource-container h3  {
            padding-top: 0;
            text-transform: uppercase;
            padding-bottom: 0px;
            color: #333;
        }

        .resource-container p {
            font-size: .975rem;
            color: #b1b1b1;
            margin-top: 0;
            width: 80%;
            margin-right: auto;
            margin-left: auto;
        }


        .resource-container hr.test-clear {
            margin: 10px auto;
            height: 1px;
            background: #b1b1b1;
            display: block;
            width: 40%;
            clear: both;
            padding: 0;
            border: none;
        }

        .resource-container .button {
            width: 40%;
            max-width: 100%;
            display: inline-block;
        }

/* Bottom Callout
---------------------------------------*/

#bottom-callout {
    text-align: center;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}

    #bottom-callout h2.section-title {
        padding-bottom: 20px;
        font-size: 2rem;
        text-transform: uppercase;
    }

    #bottom-callout h3 {
        width: 60%;
        padding-top: 0;
        margin-right: auto;
        margin-left: auto;
        font-size: 1.1rem;
        line-height: 1.5em;
        margin-bottom: 10px;
    }

    #bottom-callout a.request-demo {
        width: 100%;
        display: block;
        margin-right: auto;
        margin-left: auto;
        max-width: 340px;
        font-size: .9rem;
        font-weight: 500;
    }

/* About Us Page
---------------------------------------*/

#about-hero {
    width: 100%;
    position: relative;
    min-height: 60vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
    transform: scale(1,1);
    background-image: url(../img/about-header.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
}

    #about-hero h2 {
        font-weight: 300;
        font-size: 2.5rem;
        color: #fff;
    }

    #about-hero p {
        font-size: 1rem;
        color: #fff;
        line-height: 1.5em;
        font-weight: 400;
    }

#team-bios {
    padding-top: 60px;
    text-align: center;
}

#team-bios .bio {
    width: 33.333%;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
}
#team-bios .about-header {
    margin-bottom: 60px;
}

#team-bios .bio-pic {
    max-width: 386px;
    margin: 30px auto 0;
    border: 1px solid transparent;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-repeat-x: no-repeat;
    background-repeat-y: no-repeat;
    position: relative;
}

#team-bios .leader-basicInfo {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 5px 20px;
    text-align: left;
    color: #fff;
    z-index: 10;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#team-bios .bio:hover .leader-basicInfo {
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#team-bios .leader-bio {
    color: #fff;
    padding: 20px 40px;
    font-size: .875rem;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    z-index: 100000;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#team-bios .bio:hover .leader-bio {
    opacity: 1;
    cursor: pointer;
}




/* FAQ
---------------------------------------*/


#faq-hero {
    width: 100%;
    position: relative;
    height: 30vh;
    padding-top: 10vh;
    transform: scale(1,1);
    background-image: url(../img/hero-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
}

#faq-section {
    padding-top: 20px;
    min-height: 200px;
}


.faq-header {
    margin-bottom: 40px;
}

    #faq-section .faq-answer-box h3.small-title {
        font-size: 1.3rem;
        padding-top: 80px;
        padding-bottom: 30px;
        font-weight: 500;
        text-align: center;
    }


    #faq-section .faq-answer-box h3.small-title.first {
        padding-top: 30px;
    }

    #faq-hero h2 {
        font-weight: 300;
        font-size: 2.5rem;
        color: #fff;
    }

    .faq-container.first {
        border-top: 1px solid #ccc;
    }

    .faq-container {
        padding: 30px 20px 30px 0;
        border-bottom: 1px solid #ccc;
    }

        .faq-container h2 {
            padding: 0;
            font-size: 1.4rem;
            position: relative;
            padding-left: 20px;
            line-height: 1.2em;
        }

        .faq-container h2:before {
            -webkit-transition: all 0.15s ease-in-out;
            -moz-transition: all 0.15s ease-in-out;
            -o-transition: all 0.15s ease-in-out;
            -ms-transition: all 0.15s ease-in-out;
            transition: all 0.15s ease-in-out;
            content: '';
            display: block;
            position: absolute;
            left: 0px;
            top: calc(50% - 4px);
            background: url(../img/faq-down-arrow.png) no-repeat center center;
            background-size: 9px 6px;
            width: 9px;
            height: 6px;
        }

        .faq-container:hover {
            cursor: pointer;
        }

        .faq-container .faq-answer {
            padding-left: 20px;
            padding-right: 20px;
            height: auto;
            max-height: 0;
            overflow: hidden;
            -webkit-transition: all 0.15s ease-in-out;
            -moz-transition: all 0.15s ease-in-out;
            -o-transition: all 0.15s ease-in-out;
            -ms-transition: all 0.15s ease-in-out;
            transition: all 0.15s ease-in-out;
        }

        .faq-container.expanded .faq-answer {
            height: auto;
            max-height: 900px;
        }



/* Contact Us
---------------------------------------*/

#contact-section {
    background: #f7f7f7;
}

#contact-hero {
    width: 100%;
    position: relative;
    height: 30vh;
    padding-top: 10vh;
    transform: scale(1,1);
    background-image: url(../img/hero-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
}

#contact-section {
    padding-top: 20px;
}

    #contact-hero h2 {
        font-weight: 300;
        font-size: 2.5rem;
        color: #fff;
    }

    #contact-form {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 2px rgba(0,0,0,.18);
        padding: 40px 40px;
    }

    #contact-section h2 {
        text-align: center;
    }


    #contact-section p {
        text-align: center;
    }


/* Demo Popup
---------------------------------------*/

#demo-popup {
    display: none;
    background: #fff;
    z-index: 1000000;
    widht: 100%;
    max-width: 600px;
    text-align: center;
    padding: 40px;
}

    #demo-popup span.close-pop {
        color: #fff;
        display: block;
        height: 40px;
        background: rgba(15,145,186,.7);
        position: absolute;
        top: 0;
        right: 0;
        font-size: 25px;
        font-weight: 300;
        line-height: 40px;
        text-align: center;
        width: 40px;
        z-index: 1000000;
    }

    #demo-popup span.close-pop:hover {
        cursor: pointer;
    }

    .contact-form input,
    .contact-form input,
    .contact-form select {
        padding: 5px 8px;
        border-radius: 3px;
        border: 1px solid #eee;
        margin: 0 auto 15px;
    }

    .contact-form select {
        color: #999;
    }

    .contact-form input.one-half {
        width: 49%;
    }

    .contact-form input.one-half.left {
        margin-right: .5%;
    }

    .contact-form input.one-half.right {
        margin-left: .5%;
    }

    .contact-form input.full-width,
    .contact-form select {
        width: 100%;
    }

    .contact-form textarea {
        width: 100%;
        height: 200px;
    }

    .contact-form input.submit.button {
        width: 310px;
        border: none;
        border-radius: 3px;
        line-height: 30px;
        margin-right: auto;
        margin-left: auto;
        display: block;
    }

/* Bottom Callout
---------------------------------------*/

#footer {
    background: #f9f9f9;
    border-top: 1px solid #f1f1f1;
    padding: 60px 0 40px;
}

    #footer .flex {
        padding-left: 5%;
        padding-right: 5%;
    }

    #footer h3 {
        color: #333;
        text-transform: uppercase;
        font-size: 1rem;
        padding-bottom: 20px;
    }

    #footer ul {
        list-style-type: none;
        padding-left: 0;
        margin-top: 0;
    }


    #footer ul li a {
        font-size: .875rem;
        padding-bottom: 1.5em;
        font-weight: 300;
    }

    #footer #comp-foot {
        border-left: 1px solid #ccc;
        padding: 0 40px;
        color: #333;
    }


    #footer #comp-foot p {
        margin: 0;
        font-size: .875rem;
        color: #555;
        padding-bottom: 15px;
    }

    #footer #comp-foot img.book {
        margin-right: 15px;
        width: 33%;
    }

    #footer #comp-foot h3 {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0px;
    }






    .sub-footer {
        height: 20px;
        background: #eee;
        padding-left: 20px;
        padding-right: 20px;
    }

    .sub-footer p {
        font-size: .775rem;
        line-height: 20px;
        float: left;
        color: #777;
        padding: 0;
        margin: 0;
    }

    .sub-footer p.copy-right {
        text-align: left;
    }

    .sub-footer p.contact  {
        text-align: right;
        float: right;
    }

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

.left {
    float: left;
}

.right {
    float: right;
}

.one-fourth {
    width: 25%;
}

.three-fourths {
    width: 75%;
}

.one-third {
    width: 33.333%;
}

.two-thirds {
    width: 66.66%;
}

.one-half {
    width: 50%;
}

.button {
    min-width: 80px;
    max-width: 210px;
    padding: .8em 1.35em;
    margin-right: 8px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    letter-spacing: .04em;
    background-color: #0F91BA;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-transform: uppercase;
    -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,.18);
    box-shadow: 0 0 2px 0 rgba(0,0,0,.18);
}

.button:hover {
    color: #333;
    background: #ddd;
}

.button.grey-button {
    color: #656565;
    background-color: #d9d9d9;
}

.inline-block {
	display: inline-block;
}

/* Contact Form
------------------------------------------*/

#contact-form input,
#contact-form textarea {
    padding: 5px 8px;
    border-radius: 3px;
    border: 1px solid #eee;
    margin: 0 auto 15px;
}

#contact-form input.one-half {
    width: 49%;
}

#contact-form input.one-half.left {
    margin-right: .5%;
}

#contact-form input.one-half.right {
    margin-left: .5%;
}

#contact-form input.full-width {
    width: 100%;
}

#contact-form textarea {
    width: 100%;
    height: 140px;
}

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

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