/* =============================================================

    Tabby 3.1
    Simple, mobile-first toggle tabs by Chris Ferdinandi.
    http://gomakethings.com

    Free to use under the MIT License.
    http://gomakethings.com/mit/
    
 * ============================================================= */

/*  Hide tab navigation by default */
.tabs {
    display: none;
    visibility: hidden;
}

/*  Display tab navigation if javascript enabled.
 *  This requires on the included js-accessibility.js script. */
.js .tabs {
    display: block;
    visibility: visible;
}

/*  Force browser to show a pointer on tab navigation. */
.tabs a, .tabs button {
    cursor: pointer;
}

/*  Hide tab content if javascript is enabled. */
.js .tabs-pane {
    display: none;
    visibility: hidden;
}

/*  Show tab content when active class is added.
 *  This class is added via javascript. */
.tabs-pane.active {
    display: block;
    visibility: visible;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/*  Fancy list styling for tab navigation.
 *  Adjust to fit your design. */
.tabs-horizontal,
.tabs-stacked {
    list-style: none;
    margin-left: 0;
}

/*  Display tab navigation as inline list. */
.tabs-horizontal > li,
.tabs-stacked > li {
    display: inline-block;
    float: none;
    padding: .5em 1em;
}

/*  Set tab navigation link color.
 *  Adjust to fit your design. */
.tabs-horizontal a,
.tabs-stacked a {
    text-decoration: none;
}

/*  When active, change tab navigation background color. */
.tabs-horizontal > .active,
.tabs-stacked > .active {
    background-color: #ffffff;
}

/*  On hover and when active, change tab navigation color */
.tabs-horizontal a:hover,
.tabs-stacked a:hover,
.tabs-horizontal > .active > a,
.tabs-stacked > .active > a {
    color: #272727;
    text-decoration: none;
}

/*  For bigger screens.
 *  (Tabby is mobile-first.) */
@media (min-width: 40em) {

    /*  Turn stacked nav into vertical list. */
    .tabs-stacked {
        border: none;
        margin-left: 0;
        padding-left: 0;
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .tabs-stacked > li,
    .tabs-stacked > li > a {
        display: block;
    }
}


/* Clearfix */
.tabs:before, .tabs:after { 
    display: table; 
    content: ""; 
    zoom: 1; 
}

.tabs:after { 
    clear: both; 
}

.tabby {
    margin-left:-10px;
    color:#838486;
}

.tabby .span7 {
    margin-left:0px !important;
    width: 59.4%;
}

.tabby .span5 {
    padding-bottom:15px;
    width:40% !important;
}

.tabby .active {
    background-color:#e2e2e2;
    padding: 20px;
}

.tabby ul {
    -webkit-margin-before: 0px !important;
    margin:0px;
    padding:0px;
}

.tabby li {
    padding-left:20px;
}

.tabby .tabs li {
    list-style:none;
    padding-top:20px;
    padding-bottom:20px;
}

    .tabby li a {
        color:#d4d2d2;
        font-size:1.5em;
        font-weight:700;
        line-height:1.2em;
    }
    
    .tabby li a:hover {
        text-decoration:none;
        color:#9d9c9c;
    }

.tabby li.active {
    margin-left:-30px;
    padding-left:50px;
    border-bottom:5px solid #d8d8d8;
    position:relative;
    padding-right: 0px;
}
    
    .tabby li.active a {
        color:#47b5dd;
    }

.tabby .tabs-pane li {
    margin-bottom:10px;
    font-size:1.2em;
    list-style-image: url(../images/bullet.gif);
    margin-left:30px;
    padding-left:0px;
}

.tabby .tabs-pane#cons li {
    list-style-image: url(../images/red-bullet.gif);
}

@media (min-width:768px) {
    .tabby li.active:before {
        content: " ";
        position: absolute;
        top: 100%;
        left: 0px;
        height: 0px;
        width: 0px;
        border-top: 20px solid #9d9c9c;
        border-left: 20px solid transparent;
        margin-top: 5px;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    .tabby .span5 {
        width: 40% !important;
    }
}

@media (min-width: 1200px) {
    .tabby .span5 {
        width:40% !important;
    }
}

@media (max-width:767px) {
    .tabby li.active {
        margin-left: 0px !important;
        padding-left: 20px !important;
        padding-bottom:0px !important;
        border-bottom: none !important;
        position: initial !important;
        background-color: #fff !important;
    }
    .tabby .active {
        background-color:#fff !important;
    }
    .tabby .span5
    {
        width:100% !important;
        padding-bottom:0px !important;
    }
}
