@import url("../twentytwelve/style.css");

/*
Theme Name:     Next Generation Fitness 
Theme URI:      http://wemeltyou.com
Description:    Custom Theme... by Tribeswell... for NextGen
Author:         Tribeswell LLC
Author URI:     http://tribeswell.com
Template:       twentytwelve                    
Version:        1.0
*/

*, *:before, *:after {
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
	box-sizing: border-box;
}
 .clearfix {
    zoom: 1;
}
.clearfix:before, .clearfix:after {
    content:"";
    display: table;
}
.clearfix:after {
    clear: both;
}
.cta {
    display: block;
    width: 90%;
    max-width: 720px;
    padding: .75em 0;
    margin: 1em auto;
    background: #f58220;
    color: #f5f2f0;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-family:'Istok Web', sans-serif;
}
.cta:hover {
    background: #303030;
    color: #f5f2f0;
}
.easing {
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}
.sans {
    font-family:'Istok Web', sans-serif;
}
.serif {
    font-family:'Roboto Slab', serif;
}
.cornerround {
    border-radius: 5px;
}
.boxshadow {
    -webkit-box-shadow: 0px 0px 15px 0px #333333;
    box-shadow: 0px 0px 15px 0px #333333;
}
body {
    font-size: 16px;
    background: #f5f2f0;
    color: #303030;
    font-family:'Istok Web', sans-serif;
}
p {
    line-height: 1.6em;
    margin: 1em 0 0 0;
}
a {
    color: #006794;
}
a:hover {
    color: #f58220;
}
h1, h2, h3, h4, h5, h6 {
    font-family:'Roboto Slab', serif;
}
h1 {
    font-weight: 200;
    font-size: 2.2em;
}
h2 {
    font-weight: 200;
    font-size: 2em;
}
h3 {
    font-weight: 200;
    font-size: 1.75em;
}
h4 {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: .5em;
}
.contain {
    max-width: 1024px;
    display: block;
    margin: 0 auto;
    overflow-x: hidden;
    margin-bottom: -3em;
}
.innertext {
    width: 90%;
    display: block;
    margin: 0 auto;
    padding: 1em 0;
}
#topheader {
    background: #303030;
    max-width: 1024px;
    display: block;
    margin: 0 auto;
    overflow: auto;
    zoom: 1;
}
img.sitelogo {
    width: 320px;
    padding: .5em 0 .5em 1em;
    float: left;
}
@media (max-width: 990px) {
    img.sitelogo {
        width: 250px;
        padding: 2em 0 .5em 1em;
    }
}
@media (max-width: 884px) {
    img.sitelogo {
        width: 184px;
        padding: 2em 0 .5em 1em;
    }
}
.menu-main-menu-container {
    left: 42%;
    top: 28px;
    position: absolute;
}
@media (max-width: 990px) {
    .menu-main-menu-container {
        left: 35%;
    }
}
@media (max-width: 884px) {
    .menu-main-menu-container {
        left: 26%;
    }
}
.menu-main-menu-container ul {
    padding: 0 1em;
    list-style: none;
    position: relative;
    display: inline-table;
    font-family:'Istok Web', sans-serif;
    margin-left: .5em;
    white-space: nowrap;
}
.menu-main-menu-container ul:after {
    content:"";
    clear: both;
    display: block;
}
.menu-main-menu-container ul li {
    float: left;
}
.menu-main-menu-container ul li a {
    text-decoration: none;
    display: block;
    padding: 1em 1.5em;
    color: #f5f2f0;
}
.menu-main-menu-container ul ul {
    padding: 0;
    position: absolute;
    top: 100%;
    display: none;
}
.menu-main-menu-container ul li:hover > ul {
    display: block;
}
.menu-main-menu-container ul ul li {
    float: none;
    position: relative;
    display: block;
    text-align: center;
    background: #f58220;
    border-bottom: 2px solid #f5f2f0;
}
.menu-main-menu-container ul ul li a {
    padding: 1em 1.5em;
    color: #f5f2f0;
}
.menu-main-menu-container ul li a:hover {
    color: #f58220;
}
.menu-main-menu-container ul ul li a:hover {
    background: #006794;
    color: #f5f2f0;
}
.bgimgwrap {
    border-bottom: 4px solid #006794;
}
.clear {
    clear: both;
}
@media (max-width: 877px) {
    div.features div.feature {
        width: 75%;
        display: block;
        margin: 0 auto 80px auto;
    }
    div.features div.feature:last-child {
        margin-right: auto;
    }
    div.feattext {
        float: left;
        margin-top: 0;
        max-width: 100%;
    }
    div.feattext > h2 {
        margin-top: 2rem;
    }
    div.results-repeater {
        display: none;
    }
}
div.blog--home.contain {
    padding: 0 1em;
    max-width: 700px;
}

div.blog--home.contain > h2 {
    text-align: center;
    color: #006794;
    font-weight: normal;
    margin: 2em 0 1em;
}
div.blog--home.contain .entry-content {
    margin-bottom: 0;
}
.feattext {
    max-width: 760px;
    min-height: 300px;
    background: #f58220;
    border-left: 4px solid #006794;
    color: #f5f2f0;
    padding: 0 2em;
    margin-top: 2em;
    position: relative;
}
.feattext h1 {
    font-size: 1.8em;
}

.feattext h2 {
	padding-top: 1rem;
}

.smallcontain {
    max-width: 720px;
    display: block;
    margin: 0 auto;
    overflow: auto;
    padding: 8em 1em 4em;
    text-align: center;
}
.smallcontain h2 {
    color: #006794;
    font-weight: 300;
    font-size: 3em;
    margin-bottom: 0.5em;
}
.smallcontain p {
    margin: 1em 1em 0;
}
.features {
    text-align: center;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto 4em;
}
.features .feature {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 31%;
    margin-right: 2em;
    margin-bottom: 1em;
}
.features .feature:last-child {
    margin-right: 0;
}
.features .feature i {
    display: block;
    font-size: 2.5em;
    color: #303030;
    margin-bottom: .5em;
}
.features .feature .feature__link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.features .feature:hover a + i {
    color: #f58220;
}
.cta--home {
    background: #303030;
    margin-bottom: 4em;
}
.cta--home:hover {
    background: #f58220;
}
.content-area {
    width: 73%;
    float: left;
    overflow: auto;
}
.content-area .innertext {
    padding: 3em 0;
}
.entry-header .entry-title {
    font-size: 2.25em;
    color: #006794;
}
.entry-content h3 {
    font-size: 1.5em;
    font-weight: 400;
    color: #f58220;
}
.archive-title p {
    font-size: 3em;
    text-align: center;
    background: #f58220;
    color: #f5f2f0;
    font-weight: 300;
    display: inline-block;
    padding: 0 1em;
    border-left: 4px solid #006794;
    margin: 0;
    font-family:'Roboto Slab', serif;
}
.category .innertext {
    padding-top: 0;
}
.comments-link a {
    display: none;
}
footer.entry-meta {
    display: none;
}
.entry-content {
    margin-bottom: 4em;
    padding-bottom: 2em;
}
.category .entry-content {
    border-bottom: 1px solid #006794;
}
.result {
    background: #303030;
    color: #f5f2f0;
    padding: 1em;
    text-align: center;
}
.result h3 {
    font-size: 2.5em;
    color: #f58220;
    font-weight: 400;
    margin-bottom: .25em;
}
.result img {
    width: 100%;
}
.teal {
    color: #89c9eb;
}
.teammember {
    background: #fafcfc;
    padding: 2em;
    border-top: 4px solid #006794;
    margin-bottom: 2em;
}
.teammember p {
    font-size: .9em;
    line-height: 1.7em;
    clear: both;
}
.teammember img {
    float: left;
    margin: 0 3em 1em 0;
}
.teammember ul {
    list-style: disc;
}
.teammember ul li {
    line-height: 1.5em;
}
span.blue {
    color: #006794;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .8em;
}
.teammember h3 {
    text-align: center;
    font-weight: 400;
    font-size: 2em;
    margin-bottom: .5em;
}
.teammember h4 {
    font-size: 1.5em;
    display: block;
    text-align: center;
    margin-bottom: 1.5em;
    color: #006794;
}
.widget-area {
    width: 241px;
    float: right;
    background: #303030;
    color: #f5f2f0;
    margin: 0;
    padding-top: 1em;
    clear: right;
}
.widget-area .widget h3 {
    font-size: 1.25em;
    color: #f58220;
    margin: 0;
    font-weight: 200;
    text-transform: none;
    text-align: center;
}
.widget_search label {
    display: none;
}
.widget-area .widget {
    margin: 0 0 1em;
}
input[type="submit"] {
    background: #006794;
    color: #f5f2f0;
    border: none;
    font-size: .9em;
}
input[type="submit"]:hover {
    color: #f5f2f0;
    background: #f58220;
}
.widget-area #s {
    width: 59%;
}
.widget-area .widget a {
    color: #f5f2f0;
    text-decoration: none;
}
.widget-area .widget a:hover {
    color: #f58220;
}
.widget-area .widget ul {
    list-style: disc;
    margin-left: 1em;
}
.widget-area .widget ul li {
    padding: .3em 0;
    border-bottom: 1px dotted #006794;
}
#secondarymenu {
    float: right;
    overflow: auto;
    width: 241px;
    background: #006794;
}
ul#menu-feature-menu li {
    text-align: center;
    display: block;
    padding: 1em 0;
    border-top: 2px solid #f58220;
}
ul#menu-feature-menu li:hover {
    background: #f58220;
}
ul#menu-feature-menu li a {
    color: #f5f2f0;
    text-decoration: none;
    font-family:'Istok Web', sans-serif;
}
@media (max-width: 800px) {
    img.footerlogo {
        display: none;
    }
    div.feattext, div.cbp-qtrotator {
        min-height: 400px;
    }
}
img.footerlogo {
    background: #303030;
    float: left;
    width: 24%;
}
.footercontent {
    width: 70%;
    display: inline-block;
}
.footercontent .innertext {
    width: 76%;
    border-left: 2px solid #f58220;
    padding: 1em;
    margin: 1em 0 0 2em;
}
.footercontent .innertext.credits {
    border-left: none;
}
.footercleft {
    float: left;
    width: 50%;
    background: #303030;
    color: #f5f2f0;
    min-height: 12em;
}
.footercright {
    float: left;
    width: 50%;
    background: #303030;
    color: #f5f2f0;
    min-height: 12em;
}
.footer {
    background: #303030;
    margin-top: 3em;
    padding-bottom: 1em;
}
.innertext.credits {
    color: #f5f2f0;
    margin-top: 3em;
    text-align: center;
}
.innertext.credits a {
    text-decoration: none;
    color: #f58220;
}
div.featured {
    width: 100%;
    clear: both;
    display: block;
    height: 500px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}
div.notfeatured {
    width: 50%;
    float: left;
    height: 500px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}
@media (max-width: 600px) {
    div.notfeatured, div.featured {
        width: 100%;
    }
    div.text {
        height: 168px;
        top: 300px;
    }
}
@media (max-width: 480px) {
    div.text, div.featured div.text {
        top: 250px;
        height: 218px;
    }
}
p.blurb {
    color: #fff;
    line-height: 1.4em;
}
.text {
    background: rgba(0, 0, 0, 0.5);
    padding: 1em;
    position: relative;
    top: 250px;
    height: 218px;
    margin-bottom: 0;
}
div.text h1 {
    font-weight: normal !important;
}
.featured div.text {
    top: 350px;
    height: 118px;
}
div.text a, p.blurb a {
    text-decoration: none;
    color: #fff;
}
div.text a :hover, p.blurb a :hover {
    text-decoration: underline;
}
div.featured:hover, div.notfeatured:hover {
    opacity: .8;
}
body.page-template-page-templatesprograms-services-php div.innertext, body.page-template-page-templatesprograms-services-php div.entry-content, body.page-template-page-templatesindiv-package-php div.entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
a.social {
    text-decoration: none;
    margin-right: 20px;
}
iframe {
    margin-bottom: 50px;
}
.map {
    position: absolute;
    top: 0;
    width: 100%;
    height: 550px;
    z-index: -1;
}
.map ~ .contain .content-area {
    margin-top: 450px;
}
.map ~ .contain .directions {
    display: block;
    width: 100%;
    padding: 1em 0;
    background: #ffffff;
    font-size: 1.15em;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}
.map ~ .contain .directions:hover {
    background: #006794;
    color: #f5f2f0;
}
.schedule .dayWrapper >h2 {
    margin: 1.5em 0 .5em;
}
.schedule .class-box {
    background: white;
    padding: 1em;
    margin-bottom: 1em;
    -webkit-box-shadow: 0 0 2px rgba(204, 188, 178, 0.8);
    box-shadow: 0 0 2px rgba(204, 188, 178, 0.8);
    overflow: hidden;
    cursor: pointer;
}
.schedule .class-box .class__heading p {
    margin: 0;
}
.schedule .class-box .class__heading .class__name {
    margin-left: 2em;
    font-weight: 600;
    font-family:'Roboto Slab', serif;
}
.schedule .class-box .class__content {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
.schedule .class-box .class__content .class__instructor {
    border-top: 1px solid #eee;
    padding-top: 1em;
}
.schedule .class-box .class__content .class__description {
    margin-top: 1em;
    font-size: .9em;
    line-height: 1.4em;
    color: #555;
}
.schedule .class-box.open .class__content {
    max-height: 600px;
}
@media only screen and (max-width: 800px) {
    #menu-main-menu {
        display: none;
    }
    .content-area {
        width: 100%;
    }
    #topheader {
        padding-top: 1em;
    }
    #topheader img.sitelogo {
        width: 65%;
        max-width: 320px;
    }
    #topheader .menu-toggle {
        float: left;
        font-size: 1.5em;
        margin-top: .7em;
        margin-left: 1em;
        clear: right;
    }
    .menu-mobile-container {
        height: 0;
        overflow: hidden;
        float: none;
        clear: both;
        -webkit-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }
    .menu-mobile-container ul {
        clear: both;
        margin-top: 1em;
        padding: 0;
        margin: 0;
    }
    .menu-mobile-container ul li {
        display: block;
    }
    .menu-mobile-container ul li a {
        display: block;
        padding: 1rem 0;
        text-align: center;
        font-size: 1.25em;
        color: white;
        text-decoration: none;
    }
    .menu-mobile-container.active {
        height: 350px;
    }
    .footerlogo {
        margin-top: 2em;
    }
    .footercontent > div, .footercontent .credits {
        width: 100%;
        float: none;
        min-height: 0;
    }
}
@media only screen and (max-width: 908px) {
    #secondarymenu, div#secondary {
        display: none;
    }
    body.home #secondarymenu {
        display: block;
    }
}
@media only screen and (max-width: 568px) {
    body.home #secondarymenu {
        display: none;
    }
    div.feattext {
        border-left: none;
    }
}
.archive-header {
    border: 0;
    padding-bottom: 0;
}
.archive-header h1, body.post-type-archive-4week div.innertext h1, body.post-type-archive-8week div.innertext h1, body.post-type-archive-endofyear div.innertext h1, body.post-type-archive-othercontest div.innertext h1, body.post-type-archive-twoteams div.innertext h1 {
    font-size: 3em;
    font-weight: bold;
    color: #f58220;
    font-family:'Roboto Slab', serif;
    text-transform: uppercase;
    margin: 1em 0 0;
}
div.blog--home.contain > h2 {
    font-size: 3em;
    font-weight: bold;
}
div.blog--home.contain > h2 a {
    text-decoration: none;
}
a.post-link h3 {
    font-size: 2rem;
    font-weight: bolder;
}
a.post-link {
    text-decoration: none;
}
.gform_wrapper span.gfield_required {
    color: #006794;
}
.footer div.gform_body, .footer div.gform_footer.top_label {
    display: inline-block;
}
.footer .gform_wrapper {
    margin: 0;
}
.footer .gform_wrapper .top_label input.large {
    width: 89%;
}
.widget-area #s {
    width: 58%;
}
/* Contests */
 body.post-type-archive-contestant article.type-contestant, body.post-type-archive-4week article.type-4week, body.post-type-archive-8week article.type-8week, body.post-type-archive-endofyear article.type-endofyear, body.post-type-archive-othercontest article.type-othercontest, body.post-type-archive-twoteams article.type-twoteams {
    display: none;
}
div.contest-wrap {
    width: 100%;
    text-align: center;
}
@media only screen and (max-width: 520px) {
    div.contest-wrap h1, h1.archive-title {
        font-size: 1.8em !important;
    }
}
div.contest {
    margin-top: 0;
    padding-top: 0;
    text-align: center;
    margin-bottom: 2em;
    display: inline-block;
}
.post-type-archive-twoteams div.contest {
    margin-bottom: 0;
    display: block;
    height: 400px;
}
div.contestant p, div.contestant h3 {
    margin: 0 auto;
    max-width: 300px;
}
div.contestant h3 {
    margin-top: 0.4em;
    color: #006794;
    font-weight: bolder;
}
img.contestant_img {
    max-width: 90%;
    max-height: 600px;
}
.teamb, .teama {
    font-weight: bold;
}
.teamb {
    color: green;
}
.teama {
    color: red;
}
.contest.sixcol {
    width: 48.618784527%;
    position: relative;
    float: left;
    margin-left: 2.762430939%;
}
.contest.first {
  margin-left: 0;
}

.contest.last {
  float: right;
}
body.post-type-archive-contestant div.entry-content {
    padding-bottom: 0;
}
div.contest_sharing a, div.contest_sharing a:hover {
    text-decoration: none;
}
aside.thumbnail {
    width: 150px;
    height: 150px;
    margin-right: 3em;
}
i.icon-play-circle {
    position: relative;
    top: 116px;
    left: 42px;
    z-index: 9999;
    color: #fff;
    opacity: 0.7;
    font-size: 5em;
}
aside.thumbnail img {
    width: 100%;
    height: 100%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

li.cat-item-1, li.cat-item-4 {
    display: none;
}

.isCanceled {
    text-decoration: line-through;
    color: red !important;
}
.canceledMessage {
    color: red;
}


/* QUOTES ROTATOR */
.feattext > h2 {
    color: #f5f2f0;
    font-weight: 300;
    font-size: 2.25em;
    margin-bottom: 0.5em;
    text-align: center;
}


.cbp-qtrotator {
    position: relative;
    width: 100%;
    min-height: 230px;
    overflow: hidden;
}
 
.cbp-qtrotator .cbp-qtcontent {
    position: absolute;
    min-height: 200px;
    border-top: 1px solid #f5f2f0;
    padding: 2rem 1rem;
    top: 0;
    z-index: 0;
    opacity: 0;
    width: 100%;
}

.cbp-qtrotator .cbp-qtcontent h4 {
    font-size: 2rem;
    font-weight: bolder;
}

.cbp-qtrotator .cbp-qtcontent .feature__link {
    color: #006794;
}

.cbp-qtrotator .cbp-qtcontent .feature__link:hover {
    color: #f5f2f0;
}
 
.no-js .cbp-qtrotator .cbp-qtcontent {
    border-bottom: none;
}
 
/* Currently visible */
.cbp-qtrotator .cbp-qtcontent.cbp-qtcurrent,
.no-js .cbp-qtrotator .cbp-qtcontent {
    position: relative; 
    z-index: 100;
    pointer-events: auto;
    opacity: 1;
}
 
.cbp-qtrotator .cbp-qtcontent:before,
.cbp-qtrotator .cbp-qtcontent:after {
    content: " ";
    display: table;
}
 
.cbp-qtrotator .cbp-qtcontent:after {
    clear: both;
}
 
.cbp-qtprogress {
    position: absolute;
    background: #006794;
    height: 1px;
    width: 0%;
    top: 0;
    z-index: 1000;
}
 
.cbp-qtrotator blockquote {
    margin: 0;
    padding: 0;
}
 

.cbp-qtrotator blockquote p {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0.4em 0 1em;
    line-height: 2.3rem;
}
 
.cbp-qtrotator blockquote footer {
    font-size: 1.2em;
}
 
.cbp-qtrotator .cbp-qtcontent img {
    float: right;
    margin-left: 3em;
}
 
/* Example for media query */
@media screen and (max-width: 30.6em) { 
 
    .cbp-qtrotator {
        font-size: 70%;
        min-height: 700px;
    }

    .feattext {
        min-height: 700px;
    }
 
    .cbp-qtrotator img {
        width: 80px;
    }
 
}



/* HOMEPAGE REPEATER UPDATES */

div.results-repeater {
top: 0rem;
padding-left: 7rem;
position: relative;
height: 539px;
max-width:1024px;
margin-right:240px;
background: rgba(0,0,0,.5);
}

div.results-pic {
	width: 108px;
	height: 400px;
	margin-right: 1rem;
	float: left;
	margin-top: 1rem;
	margin-bottom: 1rem;
	}

#secondarymenu {
	z-index: 10000;
}

.resultsfeattext {
max-width:1024px;
margin-right:100px;
text-align:center;
}

.resultsfeattext p {
	font-size: 1.2rem;
	font-weight: 300;
	margin: 0 auto;
	display:inline;
	line-height: 2.3rem;
	color:white;
}

.menu-main-menu-container ul ul {
z-index: 1;
}