/*
Theme Name: JM Physical Therapy
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jm-physical-therapy
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

JM Physical Therapy is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/* ---------------------------------------------------------------------- */
/*	01 Import styles
/* ---------------------------------------------------------------------- */

/* bootstrap.css*/
@import url("css/bootstrap.min.css");
/* normalize.css*/
@import url("css/normalize.css");
/* font-awesome.css*/
@import url("css/font-awesome.css");
/* superfish.css*/
@import url("css/superfish/superfish.css");
/* lato font*/
@import url("https://fonts.googleapis.com/css?family=Lato:400,100,300,700,900' rel='stylesheet' type='text/css");
/* owl carousel*/
@import url("css/owl-carousel/owl.carousel.css");
/* owl carousel theme*/
@import url("css/owl-carousel/owl.theme.css");
/* maps.css*/
@import url('css/maps.css');

body {
	font-family: 'Lato', sans-serif;
	color: #666666;
	font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
	color: #404041;
	font-weight: 700;
}

h1 {
    border-bottom: 1px solid #7a7a7a;
    padding-bottom: 2.5rem;
}

#sticky-wrapper, .is-sticky {
	transition: all ease-in-out 0.2s;
}

img.logo-header {
    margin: 30px 0px;
	width: 100%;
	height: auto;
	transition: all ease-in-out 0.2s;
}

.is-sticky img.logo-header {
	width: 60%;
	height: auto;
}

/* -------------NAVIGATION------------------------*/

nav.white-navbar {
    background-color: rgba(255,255,255,1);
    margin: 0px;
	z-index: 500;
	transition: all ease-in-out 0.2s;
	border-bottom: solid 1px #d8d8d8;
}

.is-sticky nav.white-navbar {
    background-color: rgba(255,255,255,1);
}

.navbar-brand {
    height: 100%;
	padding: 0px;
}

.main-menu {
    margin-top: 3.8rem;
}

@media screen and (max-width:768px) {
    .main-menu {
     margin-top: 0rem;
    }
    
    .main-menu.pull-right {
        float: none !important;
    }
}

.is-sticky .main-menu {
	margin-top: 2.5rem;	
}

.sf-menu a {
    font-weight: 300;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
}

/* -------------PRe-header------------------------*/

.pre-header {
    background-color: #EDECED;
    padding: 10px 0px;
}

.social-media-icons a {
	display: inline-block;
	color: #666666;
	transition: all ease-in 0.2s;
}

a.twitter-link:hover, a.twitter-link:focus {
	color: #00aced;	
}

a.facebook-link:hover, a.facebook-link:focus {
	color: #3b5998;	
}

span.header-contact {
    margin-right: 5px;
    color: #515252;
    padding: 12px 7px 12px 0px;
}

.top-contacts {
    padding: 12px 0px 5px 0px;
}

/* -------------BUTTONS------------------------*/

a.btn-action {
    font-weight: 700;
    text-transform: uppercase;
}

a.btn-top {
    border-radius: 2rem;
    padding: 3px 15px 4px;
    border: solid 3px #65C307;
    background-color: #65C307;
    color: #fff;
    transition: all 0.2s ease-in 0s;
}

a.btn-top:hover, a.btn-top:focus {
    background-color: #79d80b;
	color: #fff;
	border: solid 3px #79d80b;
}

a.btn-feature {
    border: none;
    border-radius: 3rem;
    padding: 10px 28px;
    background-color: #FFF;
    color: #65C307;
    font-size: 1.7rem;
}

@media screen and (max-width:360px) {
a.btn-feature {
    margin-top: 18px;
}

}

a.slider-button {
	font-weight: 700;
	color: #fff;
	border: solid 3px #65c307 !important;
	padding: 10px 20px !important;
	border-radius: 3rem;
	font-size: 2rem;
	transition: all ease-in-out 0.2s;
	background-color: rgba(101,195,7,1)!important;
}

a.slider-button:hover {
	background-color: rgba(101,195,7,0.5)!important;
}


/* -------------NAVIGATION QUERIES (TINY NAV)------------------------*/

/* styles for desktop */
.tinynav { display: none }

/* styles for mobile */
@media screen and (max-width: 768px) {
.tinynav {
    display: block;
    margin-bottom: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
	
    #nav { display: none; }
}

section.main-slider {
	height: 500px;
	background-color: #fff;
	position: relative;

}

@media screen and (max-width: 768px) {
    section.main-slider {
        height: 110px;
    }
}

.main-slider-container {
	width: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
		
}

.navbar-default {
    border-color: none;
	border: none;
}


/* -------------TREATMENTS SLIDER------------------------*/

    #owl-demo .item{
      margin: 3px;
    }
    #owl-demo .item img{
      display: block;
      width: 100%;
      height: auto;
    }
	
	.treatment-carousel-item {
		height: 300px;
		background-size: auto 100%;	
		position: relative;
		border-bottom: solid 5px #65C307;
	}
	
.treatment-carousel-text {
    position: absolute;
    background-color: #65C307;
	background-color: rgba(101,195,7,0.8);
    width: 100%;
    bottom: 0px;
    left: 0px;
    padding: 0px 15px 30px 15px;
}

.treatment-overlay h3 {
	color: #fff;
	font-weight: 900;
}

.treatment-overlay h4 {
	color: #edeced;
	font-weight: 300;
}

a.treatment-slider-link {
	position: relative;
}

.treatment-overlay {
	position: absolute;
	width: 100%;
	height: 50%;
	left: 0px;
	bottom: 0px;
    background-color: #65C307;
	background-color: rgba(0,0,0,0.5);
	transition: all ease-in-out 0.2s;
    padding: 0px 15px 30px 15px;
}

.treatment-overlay p.read-more {
	color: #fff;
	opacity: 0;	
	transition: all ease-in 0.2s;
	transition-delay: 0.3s;
}

a.treatment-slider-link:hover .treatment-overlay {
	background-color: rgba(101,195,7,0.9);
	height: 90%;
}

a.treatment-slider-link:hover .treatment-overlay p.read-more {
	opacity: 1;
}

.owl-theme .owl-controls {
    margin-top: 10px;
    text-align: center;
    position: absolute;
    top: -5.7rem;
    right: 0%;
}

@media screen and (max-width: 360px) {

.owl-theme .owl-controls {
	visibility: hidden;
}

}

.owl-theme .owl-controls .owl-buttons div {
    color: #65C307;
    display: inline-block;
    margin: 0px;
    padding: 3px 10px 5px;
    font-size: 12px;
    border-radius: 15px;
    border: 1px solid #65C307;
    background: #FFF none repeat scroll 0% 0%;
    opacity: 1;
}

.owl-theme .owl-controls.clickable .owl-buttons div:hover {
    opacity: 1;
    text-decoration: none;
	border: 1px solid #79d80b;
	color: #79d80b;
	transition: all ease-in-out 0.2s;
}

.owl-theme .owl-controls .owl-buttons .owl-prev {
	margin-right: 5px;
}

/* -------------MAIN SLIDER STYLES------------------------*/

.crellyslider > .cs-controls > .cs-previous, .crellyslider > .cs-controls > .cs-next {
    display: block;
    width: 36px;
    height: 36px;
    position: absolute;
    cursor: pointer;
    background-image: url(img/slider-buttons.png);
	background-size: auto 100%;
	opacity: 0.2;
	transition: all ease-in-out 0.3s;
}

.crellyslider > .cs-controls > .cs-next {
    background-position: 36px 0px;
    right: 30px;
}

.crellyslider > .cs-controls > .cs-previous {
    background-position: 0px 0px;
    left: 30px;
}

.crellyslider > .cs-controls > .cs-previous:hover, .crellyslider > .cs-controls > .cs-previous:focus, .crellyslider > .cs-controls > .cs-next:hover, .crellyslider > .cs-controls > .cs-next:focus {
    opacity: 0.5;
}

.crellyslider > .cs-navigation > .cs-slide-link {
    display: inline-block;
    width: 10px;
    height: 10px;
	border-radius: 5px;
	border: solid 1px #000;
	background-color: rgba(0,0,0,0.5);
    margin: 5px;
    cursor: pointer;
    background-image: none;
    background-position: 0px 0px;
}

.crellyslider > .cs-navigation > .cs-slide-link.cs-active {
    background-color: #65c307;
	border: solid 1px #fff;
}

/* -------------SECTION STYLES------------------------*/


/*generic*/

.section-white {
	padding: 100px 0px;
}

.section-white h2, .section-grey h2, .content-section h2{
	font-size: 2rem;
	text-transform: uppercase;
	border-bottom: solid 1px #edeced;
	padding-bottom: 1rem;
}

.section-white h2 span, .content-section h2 span  {
	font-weight: 100;
	color: #666666;
}

.section-grey h2 span  {
	font-weight: 100;
	color: #fff;
}

.section-white h2 span::before, .section-grey h2 span::before {
	margin-left: 2px;
	content: ' // ';
}


/*testimonials*/

section#homepage-feature-testimonials {
	background-image: url(img/testimonials-background.jpg);
	padding: 100px 0px;
	color: #fff;
}

section.section-parallax {
	background-attachment: fixed;
	background-position: 0% 0px;
	background-size: 100% auto;
	background-repeat: no-repeat;
	position: relative;
}

@media screen and (max-width:360px) {
	section.section-parallax {
	background-attachment: fixed;
	background-position: 0% 0px;
	background-size: 500% auto;
	background-repeat: no-repeat;
	position: relative;
}
	
	
	
}
	

section#homepage-feature-testimonials p {
	font-size: 2.5rem;
}

section#homepage-feature-testimonials p.testimonial-name {
	font-size: 2rem;
	font-weight: 700;
}

.testimonials-quote {
    position: absolute;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.5);
    bottom: 19%;
}

section#homepage-feature-testimonials .owl-theme .owl-controls .owl-page span {
    background: #fff none repeat scroll 0% 0%;
}

#owl-testimonials {
	margin-top: 10px;
}

/* call to action bar */

.call-to-action-image {
	position: relative;
}

img.img-feature {
    position: absolute;
	bottom: 0px;
	width: 21rem;
	height: auto;
}

section#feature-heading {
    background-color: #65C307;
    padding: 25px 0px;
    position: relative;
}

section#feature-heading h3 {
    color: #FFF;
    font-size: 3.5rem;
    margin: 0px;
    padding: 0px;
}

section#feature-heading h3 span {
    font-weight: 100;
}

/*----healthcare----logos----*/

section#healthcare-banner {
    background-color: #EDECED;
    padding: 30px 0px 20px;
}

img.logo-healthcare {
    width: 15%;
    margin-right: 30px;
	filter: grayscale(1)
}

/*----footer----*/

footer {
	padding: 50px 0px 0px 0px;
}

footer a {
	color: #666666;
}

ul.contacts-footer li {
	margin-bottom: 15px;
}

footer h4 {
	text-transform: uppercase;
	border-bottom: solid 1px #edeced;
	padding-bottom: 1rem;
}

.sub-footer .container {
	border-top: solid 1px #edeced;
	padding: 15px 0px;
	margin-top: 20px;
	
}

/*---------contact-form-----------*/

form.wpcf7-form input {
    width: 100%;
    margin: 0px 5px 5px 0px;
    border-radius: 24px;
    padding: 10px;
    border: solid 1px #eaeaea;
	transition: all ease-in-out 0.2s;
}

form.wpcf7-form input:focus, form.wpcf7-form textarea:focus {
    border: 1px solid #65c307;
    background-color: #fefefe;
}

form.wpcf7-form textarea {
    width: 96%;
    margin: 0px 5px 5px 0px;
    border-radius: 24px;
    padding: 10px;
    border: solid 1px #eaeaea;
}

ul.contacts-list li {
    margin-bottom: 20px;
}

ul.contacts-list li span.contact-title {
	font-weight: 700;
}

h2.jm-sidebar-title {
	font-size: 2rem;
	text-transform: uppercase;
	border-bottom: solid 1px #edeced;
	padding-bottom: 1rem;
}

section.content-section {
	padding: 50px 0px 100px 0px;
}

img.img-posts {
    width: 40%;
    height: auto;
    margin: 0px 20px 20px 0px;
}

.treatments-page-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.treatment-info {
	padding-bottom: 100px;
}

div.wpcf7-mail-sent-ok {
    border: none;
    color: #65c307;
    font-weight: 700;
    font-size: 2.5rem;
}

footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 10px;
    right: 20px;
    overflow: hidden;
    width: 51px;
    height: 51px;
    border: medium none;
    text-indent: 100%;
    background: transparent url("img/ui.totop.png") no-repeat scroll left top;
}

#toTopHover {
    background: transparent url("img/ui.totop.png") no-repeat scroll left -51px;
    width: 51px;
    height: 51px;
    display: block;
    overflow: hidden;
    float: left;
    opacity: 0;
}

#toTop {
    text-indent: 100%;
}

/* secondary widget area */

#secondary {
	padding-left: 20px;	
	border-left: solid 1px #edeced;
	
}

#secondary ul {
	list-style: none;
	padding: 0;
	margin: 0;	
}

#secondary ul a {
	color: #666;
}

@media screen and (max-width: 360px) {

span.header-contact {
    margin-right: 0px;
    padding: 0px;
}	

a.btn-top {
    margin: 10px auto;
    width: 100%;
}

img.logo-header {
    margin: 20px auto 0px;
    width: 100%;
}

.tinynav {
    display: block;
    margin: 0px auto 10px;
    width: 90%;
}

a.btn-feature {
    font-size: 1.4rem;
    width: 100%;
}
	
}

@media screen and (max-width: 767px) {
	.pre-header.header-info-wrapper {
	    position: fixed;
	    bottom: 0px;
	    left: 0px;
	    width: 100%;
	    z-index: 10;
	    padding: 10px;
	}

	a.btn-top {
    	width: 100%;
    	margin: 11px 0px;
	}
}