@import url('reset.css');
@import url('typography.css');

body { background: url(../images/bg.jpg) #444; }

a { -webkit-transition-property: opacity,color,background-color; -webkit-transition-duration: 0.2s; -webkit-transition-timing-function: ease-in; }
a:active { outline: none; }
a:focus { -moz-outline-style: none; }

#header { background: #272727; height: 51px; overflow: hidden; position: relative; -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5); -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5); box-shadow: 0px 1px 2px rgba(0, 0, 0, .5); }
  #header-inner { width: 940px; position: absolute; left: 50%; margin-left: -470px; }
    #logo { width: 199px; height: 32px; text-indent: -9999px; position: relative; top: 12px; overflow: hidden; }
      #logo a { display: block; width: 199px; height: 32px; position: absolute; top: 0; left: 0; background: url(../images/logo.gif); opacity: 0.999; }
      #logo a:hover { opacity: 0.6; }
      
    #navigation { list-style: none; position: absolute; top: 15px; left: 220px; }
      #navigation li { float: left; display: inline; margin-right: 15px;}
      #navigation a { font-size: 12px; float: left; display: inline; color: #fff; text-decoration: none; background: #000; padding: 0 1em 0 .95em; height: 22px; line-height: 22px; }
      #navigation a:hover { background: #333;}
      #navigation a { border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
      
      #navigation .active a { color: #000; background: url(../images/menu.gif) bottom left; text-shadow: rgba(181, 230, 62, 1) 0px 1px 1px; }
      #navigation .active a:hover { background-position: top left; text-shadow: rgba(206, 242, 118, 1) 0px 1px 1px; }
      #navigation .active a {-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .5); -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .5); box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);}
      
    #sub-navigation { list-style: none; position: absolute; top: 15px; margin-left: 0; padding: 0; font-size: 0.9167em;}
      #sub-navigation li { float: left; display: inline; margin-right: 0;}
      #sub-navigation a { float: left; display: inline; text-decoration: none; padding: 0 1em 0 .95em; height: 22px; line-height: 22px; }
      #sub-navigation a:hover { color: #000;}
      #sub-navigation a { border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; }

      #sub-navigation .active a { color: #fff; background: #444; text-shadow: rgba(0, 0, 0, .4) 0px -1px 1px; }
      #sub-navigation .active a:hover { background: #222; text-shadow: rgba(0, 0, 0, .4) 0px 1px 1px; }
      #sub-navigation .active a {-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .2); -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .5); box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);}
      
    #login-button { position: absolute; right: 0; top: 15px; font-size: 0.9167em; }
      #login-button a { background: url(../images/login-bg.gif) bottom left; text-shadow: rgba(154, 218, 245, 1) 0px 1px 1px; height: 20px; line-height: 20px;}
      #login-button a:hover { background: url(../images/login-bg.gif) top left; text-shadow: rgba(209, 239, 252, 1) 0px 1px 1px; }
      

#content { width: 940px; padding: 0 10px; background: #fff; margin: 0 auto; overflow: hidden; }
  #content-top { position: relative; height: 54px; position: relative; }
    #top-search { position: absolute; right: 0; top: 15px;}
    * html #top-search { left: 630px; }
    #top-search legend,
    #top-search label { display: none; }
    
    #top-search input,
    #top-search button { vertical-align: bottom; }
    
    #top-search button { width: 60px; }
    #top-search input { width: 214px; }
    
    input[type=text],
    input.text { bzackground: url(../images/input-white.gif) no-repeat; border: 0px; border-top: 1px solid #ccc; border-left: 1px solid #ccc; height: 14px; padding-top: 7px; padding-bottom: 5px; padding-left: 5px; margin: 0; outline: 0; }
    button { background: url(../images/button.gif) bottom left; border: 0; height: 26px; line-height: 26px; color: #fff; font-weight: bold; font-size: 1.05em; text-shadow: ; padding: 0 15px; margin: 0; outline: 0; cursor: pointer; width: auto; overflow: visible; }
    button { text-shadow: rgba(75, 142, 12, 1) 0px 1px 1px; }
    button:hover { background-position: top left;}

#english { position: absolute; right: 0; top: 15px; }
  #english img { position: relative; top: 2px; margin-right: 1px; }  
  #english a { color: #ddd; text-decoration: none; font-size: 12px; }
  #english a:hover { color: #000; }


#footer { background: #121212 url(../images/footer-bg.gif) repeat-x; height: 200px; position: relative; overflow: hidden; }
  #footer-content { width: 940px; position: absolute; left: 50%; margin-left: -470px; }
  #footer a:hover { color: #fff; }
  
  #footer p,
  #footer h3,
  #footer h4,
  #footer address { color: #8d8d8d; }
  
  #footer p,
  #footer address,
  #footer li { font-size: 0.8334em; line-height: 1.4;}
  
  #footer h3 { border-bottom: 1px solid #202020; margin-bottom: 0.5em; padding-bottom: 0.5em; text-transform: none; margin-top: 1em; font-size: 1em;}
  #footer h4 { font-size: 0.8334em; line-height: 1.4; margin: 0;}
  
  #footer-contact { width: 300px; float: left; display: inline; margin-right: 20px; }
    #footer-contact h3 { border: 0; padding-bottom: 0; margin-bottom: 0; }
    #footer-contact .column { width: 140px; border-top: 1px solid #202020; padding-top: .7em; margin-top: .7em;}
    #footer-contact .column-1 { margin-right: 20px; }
  #footer-sponsors { width: 220px; float: left; display: inline; margin-right: 20px; }
  
  
  #footer-sitemap { width: 380px; float: left; display: inline; }
    #footer-sitemap ul { overflow: hidden; margin-left: 0; padding-left: 0; }
    #footer-sitemap li { wizdth: 60px; float: left; display: inline; margin-right: 18px; }
    #footer-sitemap li ul li { float: none; display: block; margin-right: 0; margin-left: 20px; }

.block { background: url(../images/heading-bakground.gif) no-repeat; min-height: 80px; margin-bottom: 1.5em; overflow: hidden; }
/*.block p:hover { color: #000; }*/
.traning { background-position: 100% 0; }
.community { background-position: 50% 0; }
.block h2 { color: #fff; height: 35px; line-height: 35px; margin: 0; padding-left: 10px; text-transform: uppercase; font-family: EraserDustRegular, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: normal; }
  .block .inner { width: 260px; padding: 1.5em 10px; margin-left: 20px; overflow: hidden; }
  
    .narrow .block .inner { width: 180px; }
    
    .narrow .traning { background-position: -600px 0; }
    .narrow .community { background-position: -300px 0; }

div.block.studenthalsan { font-size: 12px; }
div.block.studenthalsan img { background: #efefef; border: 1px solid #b6c9eb; padding: 8px; margin: 0 8px 5px 0; float: left; }
    div.block.studenthalsan span { fzloat: left; background: red; }
  
.traning .inner { background: #eefeec; }
.community .inner { background: #feecfb; }
.inner { background: #ecf9fe; }

.traning .hr { height: 2px; background: url(../images/green-separator.gif); }
.block .hr { height: 2px; background: url(../images/blue-separator.gif); margin: 1.5em 0; overflow: hidden; line-height: 0; }
.community .hr { height: 2px; background: url(../images/red-separator.gif); }
.community a { color: #d02180; }
.community a:hover { color: #000; }

.news-with-image { position: relative; margin-left: -10px; margin-right: -10px; width: 280px;}
.news-with-image img { display: block; float: none; }
  .news-with-image h3,
  .news-with-image p { color: #fff; text-transform: normal; }
  .news-with-image h3 { margin: 0; }
  .news-with-image p { font-style: italic; margin: 0;}
  .news-with-image .info { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; background: rgba(0, 0, 0, 0.75); }
  
  .news-with-image .round-button { position: absolute; right: 10px; bottom: 10px; }

#location-form label,
#location-form legend,
#newsletter-form label,
#newsletter-form legend { display: none; }

#newsletter-form input,
#newsletter-form button,
#location-form input,
#location-form button { vertical-align: bottom; }

#location-form input { width: 185px;}
#newsletter-form input { width: 161px; }
  
#pass-listing .inner { background: url(../images/block-bg.gif) top left; }
.aside .block { margin-bottom: 0; }

.tabs { overflow: hidden; padding: 0; margin: 0;}
  .tabs li, .tabs a { float: left; display: inline; }

.column { display: inline; float: left; }
.main { width: 620px; margin-right: 20px; padding-bottom: 30px; }
    .main.no_submenu { margin-top: -30px; }

.aside { width: 300px; margin-bottom: 1.5em; }
.columns { overflow: hidden; }
.columns-2 { overflow: hidden; }
.columns-3 { clear: left; overflow: hidden; margin-bottom: 1.5em; }
  .columns-3 .column { width: 300px; }
  .columns-3 .column-2 { margin: 0 20px; }

.main.full { width: 100%; }
.main.wide { width: 700px; }
  .narrow.aside { width: 220px; }

.focus { margin-bottom: 1.5em; position: relative; }
  .focus .content { position: absolute; width: 300px; top: 20px; right: 10px; bottom: 10px; padding-top: 3em; }
  .focus h1 { color: #fff; }
  .focus p { color: #505050; }
  .focus .buttons { position: absolute; bottom: 0px; margin: 0; padding: 0; right: 0; list-style: none; }
  * html .focus .buttons { top: 190px;}
  .buttons li { margin-bottom: 5px; }
  .buttons .button { width: 115px; }

.columns-2 .column-1 { margin-right: 20px; }
.columns-2 .column { width: 300px; }

a.round-button { color: #000; background: url(../images/menu.gif) bottom left; padding: 0 .75em 0 .65em; height: 18px; font-size: 12px; display: inline-block; line-height: 18px; text-shadow: rgba(181, 230, 62, 1) 0px 1px 1px; text-decoration:none; }
a.round-button { border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
a:hover.round-button { background-position: top left; }

a.button { background: url(../images/button.gif) bottom left; border: 0; height: 26px; line-height: 26px; color: #fff; font-weight: bold; font-size: 1.05em; text-shadow: ; padding: 0 1em; margin: 0; outline: 0; cursor: pointer; display: inline-block; }
a.button { text-shadow: rgba(75, 142, 12, 1) 0px 1px 1px; }
a:hover.button { background-position: top left;}

a.inactive { background: #ccc; background: rgba(0, 0, 0, .15); color: #fff; text-shadow: rgba(0, 0, 0, .3) 0px 1px 1px; }
a:hover.inactive { background: rgba(0, 0, 0, .25); }

.list-controls { list-style: none; padding: 0; margin-left: 0; overflow: hidden; }
* html .list-controls { float: left; width: 100%; }
  .list-controls li { float: left; display: inline; margin-right: 3px;}
  .list-controls a { float: left; display: inline; }

.read-more { text-align: right; margin-bottom: 0;}

p.intro { font-size: 1.134em; color: #000; margin-bottom: 1.286em; line-height: 1.286em; }

.pass-list { list-style: none; margin-left: 0; padding: 0; }
  .pass-list li { display: block; border-bottom: 1px solid #e5e5e5; }
  .pass-list a { text-decoration: none; color: #b4b3b3; line-height: 2em;}
  .pass-list .time { color: #6a6a6a; }
  .pass-list .pass-type { color: #8ab61f; }
  .pass-list .inactive,
  .pass-list .inactive * { color: #b9b9b9; }
  
  
  .pass-list li.canceled { text-decoration: line-through; }
    .pass-list li.canceled .pass-type,
    .pass-list li.canceled .time { color: #b9b9b9; }
  
.distance-map { height: 300px; border: 1px solid #ccc; background: #fff; border-radius: 5px; }

#price-tables td { /*cursor: help;*/ }
    #price-tables span { cursor: default; }

#tool-tip { position: absolute; background: #fff; border: 1px solid #ccc; padding: 3em; -webkit-border-radius: 3px; }
#tool-tip { -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5); -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);}
#arrow { background: #f00; border-top: 10px solid #fff; border-bottom: 10px solid #fff; border-right: 20px solid #f00; position: absolute; left: -5px; height: 20px; width: 5px;}

/* CMS */
img.cms-top-image { margin-bottom: 20px; }
div.cms-content { padding: 0 20px; line-height: 1.35em; color: #333; }

/* Instructors */
ul.instructor-list { }
    ul.instructor-list li { float: left; width: 110px; height: 150px; margin-right: 15px; list-style-type: none; }
    ul.instructor-list strong { display: block; font-weight: normal; }

/* News */
div#news-archive p.sub { margin-bottom: 0; }
div#news-archive p.date { color: #999; margin-bottom: 0; }

div#news-item { padding: 0 20px; }
    div#news-item img.news-picture { float: right; margin: 0 0 20px 20px; }
    div#news-item p.date { color: #999; margin-bottom: 0; }
    div#news-item h2 { margin-bottom: 10px; }
    div#news-item h3 { color: #333; text-transform: none; margin: 0 0 10px; }
    
p.home-more-news { border-top: 1px dashed #999; margin-left: 20px; padding: 5px; text-align: right; }

/* Schedule */
h2.schedule { padding: 14px 0 0 10px; }
    h2.schedule img { vertical-align: baseline; margin: 0 2px 0 0; }
        h2.schedule img.next { margin: 0 0 0 2px; }

    /* Tooltip */
    div.tooltip_inner { width: 140px; text-align:left; font-size: 11px; line-height: 1.30em; }
        div.tooltip_inner p { margin-bottom: 0; }
            div.tooltip_inner p.description { margin: 0 0 5px; font-style: italic; color: #ccc; }
    
        div.tooltip_inner dl { padding: 5px 0; margin: 0; }
            div.tooltip_inner dt { float: left; }
            div.tooltip_inner dd { margin-left: 63px; }
    
    h3.tooltip_header { margin: 0; text-align: left; color: #fff; }

    form#schedule-filter { padding: 10px 10px 0px; margin-top: 2px; border-top: 1px solid #eee; }
        form#schedule-filter label { color: #999; display: inline-block; margin-right: 10px; font-size: 12px; }
        form#schedule-filter span { display: block; width: 100px; text-align: left; }
        form#schedule-filter select { display: block; width: 100px; }

    /* explanation */
    /* README: The colors are defined in States, line ~264 */
    div.schedule-explanation { position: absolute; right: 0; top: 0; width: 440px; }
        div.schedule-explanation h3 { font-size: 12px; font-weight: normal; color: #999; padding-left: 15px; text-transform: none; }
        div.schedule-explanation ul { width: 500px; margin: 4px 0 0; padding: 0; }
            div.schedule-explanation ul li { float: left; list-style-type: none; padding-left: 15px; font-size: 11px; color: #777; }
            div.schedule-explanation ul span { padding: 1px 4px; -webkit-border-radius: 2px; -moz-border-radius: 2px; font-weight: bold; fontz-size: 12px; color: #333;
                                               border: 1px solid #000; text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
                                               font-family: arial, sans-serif; margin-right: 2px; }

    /* schedule */
    div#weekly { font-family: sans-serif; font-size: 11px; position: relative; margin: 0 0 30px;
    	 		 border: 1px solid #ddd; border-right: 0; zwidth: 694px; }

    div#weekly div.labels { position: absolute; width: 50px; padding-top: 43px;
    						background: #fff; border-right: 1px solid #ddd; color: #333; }
    	div#weekly div.labels span { display: block; height: 60px; text-align: center; line-height: 10px; }

    div#weekly div.days-wrap { zwidth: 644px; padding-left: 50px;
    	 					   background: url(/static/images/calendar/weekly/row-line.gif) 0 48px; height: 1068px; }
    	div#weekly div.day { float: left; width: 126px; border-right: 1px solid #ddd; height: 1068px; }
    	    div#weekly div.day.today { background: url(/static/images/calendar/weekly/row-line-today.gif) 0 48px; }
    		div#weekly div.day h3 { font-size: 12px; margin: 0; height: 30px; padding: 10px 0 8px; text-align: center; background: #fff; }
    			div#weekly div.day h3 span { font-weight: normal; display: block; margin: 0 auto; color: #999; }
		
    		div#weekly div.day ul { margin: 0; padding: 0; position: relative; }
    			div#weekly div.day li { position: absolute; list-style-type: none; padding: 1px 0 0; margin: 0;
    				 					left: 0; right: 0; }
				
    					/* Style this */
    					div#weekly div.day div { position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden;
    											 border: 1px solid #000; padding: 2px 5px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
					    
    					    /* States */
     						div#weekly div.day li.unchanged div,
     						div.schedule-explanation li span.unchanged { background: #e2efd9; border-color: #b2cf9d; }
    						div#weekly div.day li.changed div,
     						div.schedule-explanation li span.changed { background: #ede89b; border-color: #d3cd67; }
     						div#weekly div.day li.canceled div,
     						div.schedule-explanation li span.canceled { text-decoration: line-through; background: #edc5c5; border-color: #d59797; }
     						
     						div#weekly div.day li.has_started div { background: #eee; border-color: #ccc; }
							    div#weekly div.day li.has_started h4 { color: #999; }
											 
    						div#weekly div.day p { padding: 0; margin: 0 0 1px; font-size: 10px; color: rgba(0,0,0,0.5); }
    						div#weekly div.day h4 { padding: 0; margin: 0; }
				
            		div#weekly div.day li.hour6 { top: 0; }
    				div#weekly div.day li.hour7 { top: 60px; }
    				div#weekly div.day li.hour8 { top: 120px; }
    				div#weekly div.day li.hour9 { top: 180px; }
    				div#weekly div.day li.hour10 { top: 240px; }
    				div#weekly div.day li.hour11 { top: 300px; }
    				div#weekly div.day li.hour12 { top: 360px; }
    				div#weekly div.day li.hour13 { top: 420px; }
    				div#weekly div.day li.hour14 { top: 480px; }
    				div#weekly div.day li.hour15 { top: 540px; }
    				div#weekly div.day li.hour16 { top: 600px; }
    				div#weekly div.day li.hour17 { top: 660px; }
    				div#weekly div.day li.hour18 { top: 720px; }
    				div#weekly div.day li.hour19 { top: 780px; }
    				div#weekly div.day li.hour20 { top: 840px; }
    				div#weekly div.day li.hour21 { top: 900px; }
    				div#weekly div.day li.hour22 { top: 960px; }
				
    				div#weekly div.day li.minute15 { margin-top: 15px; }
    				div#weekly div.day li.minute30 { margin-top: 30px; }
    				div#weekly div.day li.minute45 { margin-top: 45px; }

/* Clearfix */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}