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

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: "futura-pt", sans-serif;
}

a {
	color: #4f4f4f;
	text-decoration: none;
	transition:all .07s ease-in;
	-webkit-transition: all .07s ease-in;
	-moz-transition: all .07s ease-in;
}

a:hover {
	color: #FFF;
}

.pullquote {
	color: rgba(246,144,30,1);
	font-size: 1.6em;
	padding: 0.1em 2em;
	background-color: rgba(255, 211, 161, 0.25);
	border-radius: .4em;
	text-shadow: 2px 2px 2px #fff;
	overflow: auto;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	text-decoration: none;
}   

.left {
	float: left;
}

.right {
	float: right;
}

.tk-prestige-elite-std {
	font-family: "prestige-elite-std-1","prestige-elite-std-2", serif;
}

.tk-futura-pt {
	font-family: "futura-pt", sans-serif;
}

h1.tk-futura-pt p {
    margin: 0;
}

.lighttext {
	font-family: "futura-pt", sans-serif;
	font-weight: 200;
}
     
.flexslider {
	height: auto;
}

.slider {
	background-color: rgba(246,144,30,1);
}

.slider h1 {
	font-size: 3.1em;
	width: 90%;
	margin: 0 auto;
	line-height: 1.1em;
	color: #333;
}

.container {
	max-width: 1600px;
	width: 100%;
	margin: 0 auto;
}

header {
	margin: 0 auto;
	position: absolute;
	top: 5em;
	background-color: rgba(255,255,255,0.8);
	background-color: rgb(255,255,255)\9;
	width: 100%;
}

nav, .maincontent, .footerwrapper {
	width: 90%;
	margin: 0 auto;
}

nav {
	width: 90%;
}

nav ul {
	padding: 2.1em 0em 1em 0em;
	text-align: right;
}

nav li {
	display: inline;
	line-height: 2em;
}

nav ul li a {
	padding: .3em 1em;
	padding: auto 0;
	color:#4f4f4f;
	text-decoration: none;
	border-radius: .2em;
	-webkit-transition: all .2s	ease;
}

nav ul li a:hover {
	background-color: rgba(246,144,30,0.8);
	color: #FFF;
}

nav img {
	float:left;
	padding: 0em 1.2em 1.5em 0em;
	height: 100%;
	width: 25%;
}

#map {
	position:absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	}
	
.placemap {
	position: relative;
	box-shadow: 3px 3px 7px rgba(172, 172, 172, 0.25);
	height: 22em;
	width: 80%;
	margin:2em auto 0 auto;
	border: 6px solid rgba(246,144,30,1);
}

.clearfix {
	overflow: auto;
}

.mainpullsection {
	width: 100%;
}

.mainpull {
	width: 19em;
	float: left;
	margin: 0em 1em;
}

.leadership, .training, .programs {
	width: 30%;
}

.mainpull a {
	padding: 0;
	margin: 0;
	text-decoration: none;
}

.mainpull h2 {
	background-color: #6e6e6e;
	color: #FFF;
	padding: .2em .5em;
	border-radius: .2em;
	-webkit-transition: all .2s	ease;
	text-align: center;
}

.mainpull h2:hover {
	background-color: #9f9f9f;
}

.mainpull h2 a {
    color: inherit;
    text-decoration: none;
    border-bottom: none;
}

.mainpull h2 a:hover {
    color: inherit;
}


.maincontent a {
	border-bottom: 1px solid rgba(246,144,30,1);
}

.maincontent a:hover {
	color: rgba(246,144,30,1);
	border-bottom: none;
}

.table {
	border: 1px solid #000;
	width: 100%;
	margin: 2em 0em;
}

td, tr {
	border: 1px solid #000;
}

td {
	padding: .3em .5em;
}

ul#grouptrain {
	padding: 0;
}

#grouptrain li {
	background-color: rgba(246,144,30,.15);
	padding: .3em .8em;
	color: rgba(246,144,30,1);
	font-weight: 600;
	letter-spacing: .07em;
	margin: 0.5em 0em;
}
.weekdays {
	font-size: 1.2em;
	color: rgba(246,144,30,1);
	text-align: center;
	font-weight: 600;
}

.classes {
	font-size: .8em;
	height: 3em;
}


footer {
	background-color: #6e6e6e;
	clear: both;
	overflow: hidden;
	color: #FFF;
    position: relative;
}

footer a {
	color: rgba(246,144,30,1);
}

footer img {
	width: 100%;
	height: 100%;
}

footer .zone-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px;
}

.col1, .col2, .col3 {
	position: relative;
	float: left;
}

.col1, .col3 {
	width: 25%;
}

.col1 {
	padding: 1em 5em 1em 0em;
	font-family: "futura-pt", sans-serif;
}

.col1 h2 {
	font-size: 1.6em;
	text-align: center;
	border-bottom: 2px solid #FFF;
	border-top: 2px solid #FFF;
}

.col1 p {
	font-size: 1.2em;
}

.col2 {
	width: 40%;
	padding: 1em 0em;
}

.col3 {
	float: right;
}

.col3 a {
	font-size: 2em;
	background-color: #ffffff;
	padding: .3em .3em 0em .3em;
	border-radius: .4em;
	line-height: 1em;
}

.col3 a:hover {
	color: #6e6e6e;
}

.col3 h2 {
	font-size: 1.3em;
	font-weight: 400;
	margin-bottom: 2em;
}

.facebook {
	margin-right: 1em;
}

.aboutmain {
	margin: 0 auto;
	width: 90%;
}
.aboutheadline img {
	float: left;
	padding-right: 1em;
	width: 43%;
}

.aboutmain ul {
	list-style-type: none;
	padding: 0em;
	float: left;
}

.staff {
	list-style-type: none;
	padding: 0;
}

.staffpost {
	width: 50%;
	border-radius: .3em;
	padding: .6em;
	margin: .6em 0em;
	font-size: .8em;
}

.staffpost img {
	box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.5);
	border-radius: 1em;
	max-width: 10em;
	float: left;
	margin: 0em 1.5em .5em 0em;
}

.staffpost h3 {
	margin: 0em;
	font-size: 2.3em;
	color: rgba(246,144,30,1);
}

.staffpost p {
	margin: .3em 0em 0em 0em;
	font-size: 1.2em;
	color:rgb(124, 120, 114);
	overflow: auto;
}

.store h3, .store>.header, .store fieldset legend {
	color: rgba(246,144,30,1);
	font-size: 1.6em;
	padding: 0.1em 2em;
	background-color: rgba(255, 211, 161, 0.25);
	border-radius: .4em;
	text-shadow: 2px 2px 2px #fff;
    font-weight: bold;
    margin: 1em 0em;
}
.store fieldset {
    width: inherit;
    border: solid 2px rgba(246, 144, 30, 1);
}
fieldset legend{
    width: inherit
}
.store span.price {
    float: right;
    clear: both;
	color: #333333;
}
.store button {
    background-color: #ffffff;
    color: rgba(246,144,30,1);
    font-weight: bold;
    border: solid 2px;
    margin: 0px 10px;
    padding: 0px 15px;
    font-size: .9em;
}

.store select {
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    border: solid 2px rgba(246,144,30,1);
    margin: 0px 10px;
    font-size: .9em;
}

.store h4 {
	color: #333333;
	font-size: 1.3em;
	padding: 0.1em 2.5em;
	border-radius: .4em;
	text-shadow: 2px 2px 2px #fff;
    font-weight: bold;
    margin: 0;
}

.store p .price {
    color: #333333;
	font-size: 1.3em;
	padding: 0.1em 2em;
	border-radius: .4em;
	text-shadow: 2px 2px 2px #fff;
    font-weight: bold;
    margin: 0;
}
.store p, .store ul {
    margin: 0em .7em 0em 5em;
}


/* ==========================================================================
   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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 1150px) {

	nav li {
		font-size: 1.1em;
	}
	
	footer{
		font-size: .9em;
	}
}



@media only screen and (max-width: 1080px) {
    /* Style adjustments for viewports that meet the condition */
    nav {
	    font-size: .8em;
    	padding:0em;

    }
    .leadership, .training, .programs {
	width: 29%;
	font-size: .8em;
}
	footer {
		font-size: .8em;
	}


}

@media only screen and (max-width: 920px) {
	.slider h1 {
		font-size: 2.1em;
	}
}

@media only screen and (max-width: 750px) {
	.leadership, .training, .programs {
		width: 100%;
		font-size: 1.2em;
		margin: 0;
	}
	
	.col1, .col2, .col3 {
		width: 100%;
		margin: 0 auto;
		padding: 1em 0em 0em 0em;
	}
	
	footer img {
		width: 40%;
		margin: 0 auto;
		display: block;
	}
	
	.col1 {
		margin-top: 1em;
	}
	
	.col1 p {
		text-align: center;
	}
	
	.col2 {
		padding: 0em;
	}
	
	.col3 {
		text-align: center;
		margin-bottom: 3em;
		padding: 0em;
	}
	
	
}

@media only screen and (max-width: 610px) {
	nav img {
		display: block;
		margin: 0 auto;
		width: 50%;
		float: none;
		padding: 0;
	}
	
	nav ul {
		text-align: center;
		padding: 0;
	}
	
	
	.slider h1 {
		font-size: 1.1em;
		margin-top: 4em;
	}
}


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