/*
Theme Name:         Physio Room
Theme URI:          http://travisneel.com/
Description:        Physio Room is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
Version:            3.0.0
Author:             Travis Neel
Author URI:         http://travisneel.com/

License:            MIT License
License URI:        http://www.opensource.org/licenses/mit-license.php
*/

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Customized Adjustments of Foundation for WordPress
:: Styling Basic WordPress Outputs
:: Customize Foundation Style Pagination for WP-Pagenavi
:: Customize for BuddyPress
:: Your Customized Style
*/

/* ---------------------------------------------------
   Customized Adjustments of Foundation for WordPress
--------------------------------------------------- */
 
	/* Foundation-specific presentation CSS by ZURB */
	div.reverie-header { margin: 0 0 20px 0; padding: 20px 0 0 0; }
	div.reverie-header h1 { font-weight: 500; margin-bottom: 0; padding: 0; }
	div.reverie-header h1 a { color: #181818; }
	div.reverie-header h1 a:hover { color: #181818; }
	
	@media handheld, only screen and (max-width: 767px) {
	header { position: relative; }
	header .subheader { margin-bottom: 0; }
	header .menu-action { float: left; position: relative; top: 1px; margin-top: -12px; }
	header .menu-action .button.small { padding: 8px; }
	header .menu-action .button.small svg { opacity: 0.5; }
	header h1 { font-size: 27px; font-size: 2.7rem; margin-bottom: 18px; }
	header h4 { font-size: 17px; font-size: 1.7rem; }
	footer #text-2 .footer-logo, footer #text-2 .footer-contact {
		text-align: left;
	}
	ul.gallery {
		text-align: center;
		margin: 0 auto;
		margin-top: 15px;
		padding-left: 15px;
	}
	#content .image_box, #content .details_box {
		width: 90%;
		margin-left: 15px;
	}
	
	body #content p, body #content h3 {
		padding: 0 10px 0 10px;
	}
	
	}

/* -----------------------------------------
   Styling Basic WordPress Outputs
----------------------------------------- */
	
	/* Global */
	h1, h2, h3, h4, h5 { font-family: 'Roboto Condensed', "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif; font-weight: 300; text-transform: uppercase; }
	
	/* Add Divider for Listed Posts */
	.divider { margin:20px 0 27px; }	
	
	/* Add Class for Images */
	img.alignright { float: right; margin: 0 0 18px 18px; }
	img.alignleft { float: left; margin: 0 18px 18px 0; }
	img.aligncenter { display: block; margin: 18px auto; }
	
	/* Add HTML5 Class for Images */
	figure img {
	height: auto;
	border: 1px solid #DDD;
	margin: 0 auto;
	display: block;
	box-shadow: 0px 2px 10px #ddd;
	-moz-box-shadow: 0px 2px 10px #ddd;
	-webkit-box-shadow: 0px 2px 10px #ddd;
	border-image: initial;
	}
	
	/* Add HTML5 Caption Class for Images */
	figure.figure {	margin: 0 auto;	-webkit-border-radius: 3px;	-moz-border-radius: 3px; display: inline-block; }
	figure.figure figcaption { padding: 8px 10px; font-size: 13px; font-size: 1.3rem; line-height: 18px; color: #555; }
	figure.alignright.figure { float: right; margin: 0 0 18px 18px; }
	figure.alignleft.figure { float: left; margin: 0 18px 18px 0; }
	
	/* Sidebar Adjustment */
	.sidebar-section { padding-bottom: 10px; padding-top: 20px;	font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	
	/* Footer Nav */
	.footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	.footer-nav li { display: block; padding-left: 3%; margin-bottom: 0; }
	
	/* Breadcrumb Adjustment */
	ul.breadcrumbs li span { padding-left: 3px; }
	ul.breadcrumbs li a { padding-left: 0; }
	
	/* Comment Textarea Adjustment */
	#respond textarea { height: 100px; }	

/*  -------------------------------------------------------
    Adjust Foundation 3 Pagination Style for WordPress
    ---------------------------------------------------- */ 
    
    ul.page-numbers { display: block; height: 24px; margin-left: -5px; }
    ul.page-numbers li {float: left; display: block; height: 24px; color: #999; font-size: 14px; margin-left: 5px; }
    ul.page-numbers li a { display: block; padding: 1px 7px 1px; color: #555; }
    ul.page-numbers li:hover a, ul.page-numbers li a:focus { background: #e6e6e6; }
    ul.page-numbers li.unavailable a { cursor: default; color: #999; }
    ul.page-numbers li.unavailable:hover a,ul.page-numbers li.unavailable a:focus { background: transparent; }
    ul.page-numbers li span.current { background: #2ba6cb; color: #fff; font-weight: bold; cursor: default; display: block; padding: 1px 7px 1px; }    
    
/*  ---------------------------
    :: Customize for BuddyPress
    --------------------------- */

	.padder label + textarea { margin-top: 0; }
	.padder #item-body #message-threads .thread-avatar img { max-width: 50px; }
	ul.item-list.activity-list li.new_blog_post { padding-bottom: 15px; }
    .padder select { display: inline-block; }
    .padder div.item-list-tabs { margin: 25px 0; }
    .padder form#whats-new-form textarea { height: 30px; }
    .padder .button { display: inline; }
    
	
/*  --------------------------
    Your Customized Style
    ----------------------- */

header {
	margin-bottom: 10px;
}

#outermain {
	margin: 0 15px;
}

.clearfix:after
{
    font-size: 0px;
    content: ".";
    display: block;
    height: 0px;
    visibility: hidden;
    clear: both;
}

.site-logo img {
	width: 280px;
	height: 100px;
}

    figure {
        margin: 0;
    }

    .page-id-8 p {
        line-height: 1.3;
    }

    .row {
        position: relative;
    }
    
    body {
        font-family: Lato;
    }
    
    body a {
        color: #da511f;    
    }
    
    body a:hover {
        color: #1f1f1f;
    }
    
    footer a:hover {
        color: #da511f;
    }
    
    h2 {
        font-size: 22px;
    }

    
    h3 {
        font-size: 17px;
        font-weight: 700;
    }
    
    .html_carousel.responsive {
	    width: auto;
    }
    
	.home div.service {
		width: 225px;
		float: left;
		display: block;
		padding-right: 15px;
	}
	
	.home div.service h3 {
		height: 40px;
		text-align: center;
	}
    
    .direction-nav a {
		background: url(images/bg_direction_nav.png) no-repeat 0 0;
	}
	
	.direction-nav .prev {
		left: -20px;
	}
	
	.direction-nav .next {
		background-position: 100% 0;
		right: -20px;
	}
	
	.direction-nav a {
		width: 30px;
		height: 30px;
		margin: -100px 0 0;
		display: block;
		background: url(images/bg_direction_nav.png) no-repeat 0 0;
		position: absolute;
		top: 50%;
		z-index: 10;
		cursor: pointer;
		text-indent: -9999px;
		opacity: 1;
		-webkit-transition: all .3s ease;
	}
    
    div#lower-main {
	    padding: 0 15px;
    }
    
    div#lower-main li {
	    text-align: center;
    }
    
    div#lower-main li a.open_details {
	    color: #000;
    }
    
    div#lower-main li a:hover {
	    color: #da511f;
    }
    
    input.button {
	    background: #da511f;
	    border: 1px solid #1f1f1f;
    }
    
    .page-id-6 #content, .page-id-8 #content, .page-id-267 #content, .page-id-7 #content, .page-id-10 #content, .page-id-11 #content {
	    padding: 0px !important;
    }
    
    /* Georgia Straight BOV */
    
    .gs-bov {
        position: absolute;
        right: 0;
        z-index: 100;
    }
    
    /* Book Online Image */
    
    .book-online {
        margin: 0 auto;
        padding-bottom: 20px;
        padding-top: 10px;
        text-align: center;
    }
    
    /* Slider */
    
    .slide-data {
        display: none;
    }
    
    #main .flexslider {
	    border: none;
    }
    
    #main .flexslider-hg {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -o-box-shadow: none;
    }
    
    #main .flexslider-hg .flex-control-paging li a {
        width: 8px;
        height: 8px;
    }
    
    #main .flexslider-hg .flex-control-nav li {
        margin: 0 3px;
    }
    
    /* Home Gallery */
    
    #content #gallery-1 img {
        border: none;
    }
    
    #content .gallery-item {
        padding: 0 5px;
    }
    
    #content .fancy_title {
        display: none;
    }
    
    /* Home Page  */
    
    .home div.middle {
        background: #1f1f1f;
        color: #fff;
        margin: 0 -15px;
    }
    
    #content .columns:first-child {
        /* padding: 0; */
    }
    
    /* Logo */
    
    header .site-logo {
        padding: 0 15px 0 0;
    }
    
    /*  Top Nav-bar */
    
    header .nav-bar > li {
        border: none;
        text-transform: uppercase;
        font-family: "Roboto Condensed";
        font-weight: 700;
        padding: 0 10px;
    }
    
    header .nav-bar > li a {
        line-height: 20px;
    }
    
    header .nav-bar > li.active {
        background: transparent;
        border-color: transparent;
        /* border-bottom: 3px solid #414042; */
    }
    
    header .nav-bar > li:hover {
        background: transparent;
        /* border-bottom: 3px solid #414042; */
    }
    
    header nav .nav-bar > li > a:hover {
        border-bottom: 3px solid #da511f;
    }
    
    header .nav-bar > li.active:hover {
    	background: transparent;
        /* background: #231f20; */
    }
    
    header .nav-bar > li > a:first-child {
        color: #414042;
        padding: 0;
    }
    
    header .nav-bar > li:last-child {
        border: none;
    }
    
    header .nav-bar > li.active > a {
        color: #414042;
        border-bottom: 3px solid #da511f;
    }
    
    header .nav-bar {
        background: transparent;
        margin-top: 13px;
    }
   
   nav .nav-bar > li > a:first-child {
	   font-size: 13px;
	   
   }
   
   #container nav {
	   padding: 0;
   }
   
    /* Services isotope */
    
    #isocontainer{position:relative; width:100%; overflow:hidden; clear: both;}
    
    .page-template-page-services-php h3 {
        float: left;
    }
        
    #filters {
        float: left;
        list-style-type: none;    
        padding: 12px 0 0 5px;
    }
    
    #filters li {
        float: left;
        padding: 0 5px;
        text-transform: uppercase;
        font-family: "Roboto Condensed";
        font-weight: 700;
    }
    
    .page-template-page-services-php .hentry {
        list-style-type: none;
        width: 240px;
        height: 215px;
        padding: 0;
        margin: 0 0 10px 0;
    }
    
    .page-template-page-services-php .hentry:nth-of-type(odd){
      background:#e7e7e8;
    }

    .page-template-page-services-php .hentry:nth-of-type(even){
      background:#eceded;
    }
    
    .page-template-page-services-php #main .columns {
        padding: 0;
     }
     
     .page-template-page-services-php #outermain {
        margin-bottom: 20px;
     }
        
    .page-template-page-services-php .service h2 a {
        position: absolute;
        bottom: 0;
        text-transform: lowercase;
        display: block;
        color: #fff;
        background: #da511f;
        width: 100%;
        height: 48px;
        padding: 14px 0 0 10px;
    }
    

    
    .isotope,
    .isotope .isotope-item {
      /* change duration value to whatever you like */
      -webkit-transition-duration: 0.8s;
         -moz-transition-duration: 0.8s;
          -ms-transition-duration: 0.8s;
           -o-transition-duration: 0.8s;
              transition-duration: 0.8s;
    }
    
    .isotope {
      -webkit-transition-property: height, width;
         -moz-transition-property: height, width;
          -ms-transition-property: height, width;
           -o-transition-property: height, width;
              transition-property: height, width;
    }
    
    .isotope .isotope-item {
      -webkit-transition-property: -webkit-transform, opacity;
         -moz-transition-property:    -moz-transform, opacity;
          -ms-transition-property:     -ms-transform, opacity;
           -o-transition-property:      -o-transform, opacity;
              transition-property:         transform, opacity;
    }
    
    /**** disabling Isotope CSS3 transitions ****/
    
    .isotope.no-transition,
    .isotope.no-transition .isotope-item,
    .isotope .isotope-item.no-transition {
      -webkit-transition-duration: 0s;
         -moz-transition-duration: 0s;
          -ms-transition-duration: 0s;
           -o-transition-duration: 0s;
              transition-duration: 0s;
    }
    
    
    /* Footer */

    footer {
        color: #fff;
    }
    
    footer .footer-logo {
        display: block;
        text-align: right;
        margin-bottom: 0;
    }
    
    footer .footer-logo img {
        margin: 0;
        padding-bottom: 10px;
    }

    footer .footer-contact {
        text-align: right;
    }

    footer .widget ul {
        list-style-position: inside;
    } 
 
    footer .widget_recent_entries ul {
        list-style-type: none;
    }
 
    footer .credits {
        text-align: center;
    }
    
    
    footer ul.footer-nav {
	  display: inline-block;
	  padding: 0px;
	  list-style:none;
	  overflow: hidden;
    }
    
    footer .row ul.footer-nav li {
    	display: inline-table;
    }
    
    footer ul.footer-nav a {
		display: block;
		text-decoration:none;
		padding:5px 0;
		text-align:center;
		text-transform: uppercase;
		font-size: 12px;
		font-family: "Roboto Condensed";
    }
 
    footer {
        background: #1f1f1f;
    }   
    
    
    footer h6 {
        color: #fff;
        font-family: "Roboto Condensed";
        font-size: 17px;
        line-height: 42px;
        text-transform: uppercase;
        border-bottom: 2px solid #fff;  
    }
    
    footer a {
        color: #fff;
    }
    
    footer .footer-nav li {
        padding: 0 10px;
    }
    
    footer .credits p {
        font-size: 11px;
    }
    
    footer #recent-posts-3 a {
        float: left;
        font-family: "Roboto Condensed";
        font-size: 13px;
        text-transform: uppercase;
    }
    
    footer #recent-posts-3 .post-date {
        clear: both;
        color: #77787b;
        font-size: 11px;
        float: left;
    }
    
    footer .fb {
        display: inline-block;
        text-indent: -9999px;
        overflow: hidden;
        background: url('images/social-media-sprite.png') no-repeat 0 0;
        width: 45px;
        height: 45px;
        padding-top: 10px;
    }
    
    footer a.fb:hover {
        background-position: -44px 0;
    }
    
    footer .tw {
        display: inline-block;
        text-indent: -9999px;
        overflow: hidden;
        background: url('images/social-media-sprite.png') no-repeat 0 -43px;
        width: 45px;
        height: 45px;
        padding-top: 10px;
    }
    
    footer a.tw:hover {
        background-position: -44px -43px;
    }
    
    footer .pt {
        display: inline-block;
        text-indent: -9999px;
        overflow: hidden;
        background: url('images/social-media-sprite.png') no-repeat 0 -88px;
        width: 45px;
        height: 45px;
        padding-top: 10px;
    }
    
    footer a.pt:hover {
        background-position: -44px -88px;
    }
    
    footer .smcount {
        padding: 10px 0 20px 3px;
        position: absolute;
    }
    
    /* Gallery */
    
    /* --- isotope gallery --- */
.isotope-item 
{
	z-index: 2;
}
.isotope-hidden.isotope-item 
{
	pointer-events: none;
	z-index: 1;
}
.isotope,
.isotope .isotope-item 
{
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	-ms-transition-duration: 0.8s;
	-o-transition-duration: 0.8s;
	transition-duration: 0.8s;
}

.isotope 
{
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	-ms-transition-property: height, width;
	-o-transition-property: height, width;
	transition-property: height, width;
}

.isotope .isotope-item 
{
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property:    -moz-transform, opacity;
	-ms-transition-property:     -ms-transform, opacity;
	-o-transition-property:         top, left, opacity;
	transition-property:         transform, opacity;
}
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition 
{
	-webkit-transition-duration: 0s;
	-moz-transition-duration: 0s;
	-ms-transition-duration: 0s;
	-o-transition-duration: 0s;
	transition-duration: 0s;
}

.page-template-page-full-php h3.featured {
    float: left;
}

.gallery
{
	margin: 0 auto;
	list-style: none;
	padding: 0;
	clear: both;
}
.gallery li
{
    	cursor: pointer;
        width: 240px;
        height: 215px;
        padding: 0;

}

.page-id-8 .gallery li
{
    	cursor: pointer;
        width: 240px;
        height: 115px;
        padding: 0;

}

    .gallery li:nth-of-type(odd){
      background:#e7e7e8;
    }

    .gallery li:nth-of-type(even){
      background:#eceded;
    }
    
    .gallery li {
        margin: 0 0 10px 0;
    }

        
    .gallery .description h3 {
        position: absolute;
        bottom: -13px;
        text-transform: lowercase;
        display: block;
        color: #fff;
        width: 100%;
        height: 48px;
        /* padding: 14px 0 0 10px; */
        background: #da511f url('images/trans_arrow.png') no-repeat 210px 12px;
    }
    
    .gallery li:hover h3 {
        background: #1f1f1f url('images/trans_arrow.png') no-repeat 210px 12px;
    }

.gallery_box img
{
	display: block;
	width: 240px;
	height: 180px;

}
.gallery_box .description
{

	background-color: #da511f;

}
.gallery_box .description a, .gallery_box .description a:hover {
    color: #fff;
}

.gallery_box h3 a {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 14px 0 0 10px;
}

.gallery_box h4 a {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 10px 0 5px 10px;
}

.gallery_box h5 a {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 0 0 10px 10px;
}

.gallery_box .description h5
{
	margin-top: 5px;
	color: #000;

}
.gallery_box:hover .description
{
	background-color: #FFF;
	
}

.gallery_box .controls
{
	display: none;
	top: 90px;
	left: 69px;
	background: transparent;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3F000000,endColorstr=#3F000000)";/* IE8 */    
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3F000000,endColorstr=#3F000000);/* IE6 & 7 */ 
	background: rgba(0, 0, 0, 0.25);
	zoom: 1;
}
.gallery_box:hover .controls
{
	display: block;
}

.gallery_item_details {
   /* height: 400px; */
}

.gallery_item_details_list
{
	height: 0;
	overflow: hidden;
	display: none;
	list-style: none;
	padding: 0;
	margin-bottom: 0;
	clear: both;
}
.gallery_item_details_list .gallery_item_details
{
	display: none;
	position: relative;
}
.gallery_item_details_list .image_box
{
	position: relative;
    text-align: center;
	float: left;
	width: 45%;
	margin-right: 30px;
}
.gallery_item_details_list .details_box
{
	float: left;
	width: 45%;
	padding-top: 5px;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}
.gallery_item_details_list .image_box img
{
	height: auto;
	/* padding-top: 50px; */

}
.gallery_item_details_list .controls
{
	bottom: 30px;
	right: 0;
	position: absolute;
}

.page-id-8 .gallery_item_details_list .controls
{	bottom: 0;
}

.gallery_item_details_list .controls li {
    float: left;
    list-style-type: none;
    margin: 2px;
}

.gallery_item_details_list .controls li a {
    display: block;
    height: 25px;
    width: 25px;
    background: #000;
}

.gallery_item_details_list .controls a.prev {
    background: url('images/gallery_nav_sprite.png') no-repeat 0 0;
}

.gallery_item_details_list .controls a.next {
    background: url('images/gallery_nav_sprite.png') no-repeat -26px 0;
}

.gallery_item_details_list .controls a.close {
    background: url('images/gallery_nav_sprite.png') no-repeat -51px 0;
}
.gallery_item_details_list .details_box h2
{
	text-transform: lowercase;
	font-size: 24px;
	margin: 5px 0;
}
.gallery_item_details_list .details_box p
{
	clear: both;
	line-height: 150%;
	padding: 10px 0;
}
.gallery_item_details_list .details_box .columns
{
	clear: both;
}
.gallery_item_details_list .details_box .column_left,
.gallery_item_details_list .details_box .column_right
{
	width: 210px;
}
.gallery_item_details_list .details_box .list
{
	line-height: 150%;
}

.team_gallery a, .team_gallery a:hover {
    color: #000;
}

.team_gallery .description h3 {
    text-transform: capitalize;
}

.team_gallery h4 {
    font-size: 20px;
    /* margin-bottom: 5px;
    padding-left: 10px; */
   	margin: 0;
    text-transform: capitalize;
}

.team_gallery h5 {
    font-size: 12px;
    margin: 0;
    /* padding-left: 10px; */
    text-transform: none;
}

.team_gallery h5 a, .team_gallery h5 a:hover {
    color: gray;
}

.team_gallery_details .details_box {
	padding: 0 0 30px 0;
    width: 100%;
}

.page-id-8 .team_gallery_details .details_box p {
    padding: 0;
    margin-bottom: 8px;
}

.wwd {
	margin-top: 7%;
	font-size: 22px;
}