/*
Theme Name: total-rehab-physiotherapy
Theme URI: http://www.velocityconsultancy.com
Author: the Velocity consultancy team
Author URI: http://velocityconsultancy.com/
Description: total-rehab-physiotherapy.
Requires at least: WordPress 4.9.6
Version: 1.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: total-rehab-physiotherapy
*/


@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700');
@font-face {
	font-family: 'gillsansmt-bold';
	src: local('https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/gillsansmtbold.ttf'), url('https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/gillsansmtbold.ttf') format('truetype');
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, and, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, textarea, select {
	background: transparent;
	border: 0;font-size:100%;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
	font-family: 'Roboto', sans-serif;
}
blockquote, q {
	quotes: none
}
blockquote:before, blockquote:after, q:before, q:after {
	content: none
}
del {
	text-decoration: line-through
}
hr {
	background: transparent;
	border: 0;
	clear: both;
	color: transparent;
	height: 1px;
	margin: 0;
	padding: 0
}
mark {
	background-color: #ffffb3;
	font-style: italic
}
input, select {
	vertical-align: middle
}
ins {
	background-color: red;
	color: white;
	text-decoration: none
}
ol, ul {
	list-style: none
}/*table{border-collapse:collapse;border-spacing:0}*/
/* Clearfix */

.clear {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
}
.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
}
* html .clearfix, :first-child+html .clearfix {
	zoom: 1
}
a {
	text-decoration: none;
	color: #000;
}
a:hover {
	text-decoration: none;
}

.align-left {
	float: left;
}
.align-right {
	float: right;
}
img {
	height: auto;
	max-width:100%;
}
.align-center {  text-align: center;}
img{ max-width:100%;  height:auto;}
html {scroll-behavior: smooth;}


body { font-family: 'Roboto Slab', serif; font-weight:300; font-size:19px; line-height:24px; color:#5d5d5d; /*letter-spacing:-1px;*/}
.main-heading, .error-404 .page-title { color:#37b549; font-family: 'Roboto', sans-serif; font-weight:300; font-size:35px; line-height:46px; letter-spacing:-1px;}
.inner-heading, .search .page-title { color:#37b549; font-family: 'Roboto', sans-serif; font-weight:400; font-size:32px; line-height:42px; margin-bottom:40px;}
.light-heading { font-weight:300 !important;}
.row-heading, .pagination .screen-reader-text {font-size: 17px; line-height: 27px; color: #5d5d5d; font-family: 'Roboto', sans-serif; letter-spacing: 1px; font-weight: 400;}
.read-btn a , .feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-readmore a, .contact-form input[type="Submit"], .search-submit{ color: #fff; font-size: 17px; font-family: 'Roboto', sans-serif; font-weight: 500; max-width: 210px; height: 40px; line-height: 40px; display: inline-block; text-transform: uppercase; letter-spacing: 1px; background: #00b034; text-align: center; width:210px; cursor:pointer;}
.read-btn a:hover, .feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-readmore a:hover, .contact-form input[type="Submit"]:hover, .search-submit:hover, .top-slider .slider-buttons a:hover { background: #2c864d !important;}
.serv-heading { color: #fff; font-size: 25px; font-family: 'Roboto', sans-serif; font-weight: 500; letter-spacing:-0.5px;}
.sec-row { max-width:1200px; width:89%; margin: 0 auto; }
.sm-heading { font-family: 'Roboto Slab', serif; font-size: 14px; color: #e2eb00; font-weight: 500; letter-spacing: 1px;}
.yellow-text { color:#e2eb00;}
.back-line {  position: relative;}
.big-text { color: #00b034; font-size: 54px; font-weight: bold; font-family: 'Roboto', sans-serif;}
.back-line::after {
    content: '';
    width: 25%;
    height: 3px;
    position: absolute; top: 48%;
    left: 10%;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(229, 229, 229) 34%, rgb(229, 229, 229) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(34%, rgba(229,229,229,1)), color-stop(100%, rgba(229,229,229,1)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 34%, rgba(229,229,229,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 34%, rgba(229,229,229,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 34%, rgba(229,229,229,1) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(229, 229, 229) 34%, rgb(229, 229, 229) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=1 );    
}
.back-line::before {
    content: '';
    width: 25%;
    height: 3px;
    position: absolute;
    top: 48%; right: 10%;
    background: rgba(229,229,229,1);
    background: -moz-linear-gradient(left, rgba(229,229,229,1) 0%, rgba(229,229,229,1) 76%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(229,229,229,1)), color-stop(76%, rgba(229,229,229,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(229,229,229,1) 0%, rgba(229,229,229,1) 76%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(229,229,229,1) 0%, rgba(229,229,229,1) 76%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(229,229,229,1) 0%, rgba(229,229,229,1) 76%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(229,229,229,1) 0%, rgba(229,229,229,1) 76%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff', GradientType=1 );    
}
.mobile-section { display: none !important;}
.desktop-section { display: block !important;}
.text-wrapper, .text-wrapper p { font-size:17px; margin-bottom:10px;}
.dark-text { color: #838385;}
.green-text {color:#37b549;}
.text-center { text-align:center;}
.section-margin { margin-top:4%; margin-bottom: 4%;}
.section-padding { padding-bottom: 4%; padding-top:4%;}
.genn-text {  color: #37b549;}

.side-seciton { font-size: 17px;padding-bottom: 20px; margin-bottom: 20px; position: relative; max-width: 300px; margin-right: 0;}
.side-seciton p { font-size: 15px;}
.side-seciton .text-sec { margin-bottom: 20px;}
.text-sec { letter-spacing: -0.5px;}

.left-wrapper ul li, #trthleft-sidebar .widget ul li  { padding-bottom: 20px; position: relative; margin-bottom: 20px;}
.left-wrapper ul li, .left-wrapper ul li a, #trthleft-sidebar .widget ul li a { font-size: 16px; font-family: 'Roboto', sans-serif; font-weight: 400; color: #5d5d5d !important; line-height: 26px;}
.left-wrapper ul li::after, #trthleft-sidebar .widget ul li:after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;    
	background: rgba(255,255,255,1);
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(201,226,171,1) 46%, rgba(112,194,111,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(46%, rgba(201,226,171,1)), color-stop(100%, rgba(112,194,111,1)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(201,226,171,1) 46%, rgba(112,194,111,1) 100%);
	background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(201,226,171,1) 46%, rgba(112,194,111,1) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(201,226,171,1) 46%, rgba(112,194,111,1) 100%);
	background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(201,226,171,1) 46%, rgba(112,194,111,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#70c26f', GradientType=1 );

}
.sidebar-heading { color: #37b549; font-family: 'Roboto', sans-serif; font-weight: 300; font-size: 19px; line-height: 28px; margin-top: 80px; margin-bottom:20px;}


/*Header*/
.home .top-banner { display: none;}
.skip-link.screen-reader-text { display: none;}
.site-branding-container { max-width: 1200px; margin: 0 auto; position: relative; width:89%;}
.site-header { margin: 0; padding: 0; background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/masthead-strap.jpg); height: 112px; background-size: cover; background-position: center; background-repeat: no-repeat;}
.site-title { display: none;}
.main-menu button {display: none;}
#header { max-width: 1100px; width: 100%; clear:both; margin-left:50px;}
.logo-section { position: absolute; width: 100%; z-index: 1;}
.top-icons { padding-top: 16px; z-index: 3; float: right; position: relative; max-width: 600px; width: 100%;}
.top-icons ul { display: flex; width: 100%; height: auto; justify-content: flex-end; align-items: center;}
.top-icons ul li { margin-left: 10px;}
#site-navigation { width: 66%; display: inline-block; float: right; position: relative;z-index: 3;}
.main-menu li .sub-menu { display: flex; justify-content: flex-end; align-items: flex-end; position:relative;}
.main-menu li a { font-weight: 300; color: #fff; margin-left: 30px; font-family: 'Roboto', sans-serif; font-size: 16px; line-height:20px; text-transform: uppercase; padding-bottom:25px;}

.main-menu li.current_page_item a, .main-menu li a:hover { color: #2c864d;}

.main-menu li .sub-menu .sub-menu { position: absolute; width:250px; top: 48px; display: none; 
    background: rgb(42, 180, 49);
    background: -moz-linear-gradient(top, rgb(42, 180, 49) 0%, rgb(119, 195, 92) 60%, rgb(119, 195, 92) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(42,180,49,1)), color-stop(60%, rgba(119,195,92,1)), color-stop(100%, rgba(119,195,92,1)));
    background: -webkit-linear-gradient(top, rgba(42,180,49,1) 0%, rgba(119,195,92,1) 60%, rgba(119,195,92,1) 100%);
    background: -o-linear-gradient(top, rgba(42,180,49,1) 0%, rgba(119,195,92,1) 60%, rgba(119,195,92,1) 100%);
    background: -ms-linear-gradient(top, rgba(42,180,49,1) 0%, rgba(119,195,92,1) 60%, rgba(119,195,92,1) 100%);
    background: linear-gradient(to bottom, rgb(42, 180, 49) 0%, rgb(119, 195, 92) 60%, rgb(119, 195, 92) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ab431', endColorstr='#77c35c', GradientType=0 );
}
.main-menu li .sub-menu .sub-menu li a { font-size: 12px; color: #fff; margin-bottom: 10px; display: block; text-transform: none; letter-spacing: 0px; position:relative; margin-left: 0; padding: 0 30px 10px;}
.main-menu li .sub-menu .sub-menu li:nth-child(2) a { padding-top: 10px; margin-top: 10px;}
.main-menu li .sub-menu .sub-menu li a:after{ content: ''; width: 100%; height: 1px; position: absolute; left: 0; bottom: 0;    
background: rgba(255,255,255,1);
background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 69%, rgba(0,176,56,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(69%, rgba(255,255,255,1)), color-stop(100%, rgba(0,176,56,1)));
background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 69%, rgba(0,176,56,1) 100%);
background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 69%, rgba(0,176,56,1) 100%);
background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 69%, rgba(0,176,56,1) 100%);
background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 69%, rgba(0,176,56,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00b038', GradientType=1 );
}


.main-menu li .sub-menu .sub-menu .sub-menu {  top: 0 !important; left: 100%; height: 100%; box-shadow: inset 7px 7px 21px #005716;  background: #009b3c;}
.main-menu li .sub-menu .sub-menu .sub-menu li a:after {content: ''; width: 100%; height: 1px; position: absolute; left: 0; bottom: 0; 
background: rgba(0,128,51,1);
background: -moz-linear-gradient(left, rgba(0,128,51,1) 0%, rgba(0,128,51,1) 30%, rgba(203,227,161,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,128,51,1)), color-stop(30%, rgba(0,128,51,1)), color-stop(100%, rgba(203,227,161,1)));
background: -webkit-linear-gradient(left, rgba(0,128,51,1) 0%, rgba(0,128,51,1) 30%, rgba(203,227,161,1) 100%);
background: -o-linear-gradient(left, rgba(0,128,51,1) 0%, rgba(0,128,51,1) 30%, rgba(203,227,161,1) 100%);
background: -ms-linear-gradient(left, rgba(0,128,51,1) 0%, rgba(0,128,51,1) 30%, rgba(203,227,161,1) 100%);
background: linear-gradient(to right, rgba(0,128,51,1) 0%, rgba(0,128,51,1) 30%, rgba(203,227,161,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008033', endColorstr='#cbe3a1', GradientType=1 );
}
.main-menu li .sub-menu .sub-menu li .submenu-expand {
    display: block;
    background: transparent;
    border: 0;
    position: relative;
    bottom: 54px;
    left: 86%;
    transform: rotate(270deg);
    color: #2c864d;
}
.main-menu ul.sub-menu li:hover > ul.sub-menu { display:block; position: absolute; width:250px; top: 48px;}
.main-menu ul.sub-menu li ul.sub-menu li:hover .sub-menu { display:block;  top: 0 !important; left: 100%; height: 100%;}
.main-menu li .sub-menu .sub-menu li:hover, .main-menu li .sub-menu .sub-menu li a:hover { display: block;}


/*Home page content*/
#content {  display: block; position: relative; clear: both;}

.home .entry-header { display: none;}
/*slider*/
.mobile-image { display:none;}
.mobile-image { display: none !important;}
.slider-content { display:block; position:relative; }
.slide-heading { margin-bottom: 30px !important; display:inline-block; }
.slide-heading > div { color:#24235f !important; font-size:65px !important; line-height:53px !important; font-family: 'gillsansmt-bold' !important; }
.slide-btn a { color:#fff !important; font-size:36px !important; max-height:65px !important; line-height:40px !important; text-align:center !important; max-width:476px !important; background:#4fb94a !important; padding: 10px 70px !important;}
.slide-btn a:hover { background: #2c864d !important;}
.text-wrap { color:#444 !important;}
.intro-section { margin-bottom: 100px;}
.clicker {cursor:pointer; margin-top:20px;}
.hiddendiv{display:none; margin-top:20px;} 
.clicker:focus { display:none;}
.clicker:focus + .hiddendiv{display:block;}
.text-img{ margin-top:20px;}
.owl-carousel .owl-item:nth-child(1) .item .slider-meta-outer-wrap.has-caption h3 {width: 480px;}

.page-id-323 .content-section .content-wrapper {
    max-width: 100% !important; margin:0;
    width: 100%;
}
.page-id-323 .content-section section#primary {
    width: 100%;}
.page-id-323 .content-section section.widget_text {
    width: 0;}	
.page-id-323 .entry-header {
    display: none;
}

.top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4 {
    color: #24235f !important;
    font-size: 55px !important;
    line-height: 50px !important;
    font-family: 'gillsansmt-bold' !important;
    text-transform: uppercase;
    background: transparent;
    width: 56%;
    margin: 0; padding:0;
}
.top-slider .slider-buttons a {
    color: #fff !important;
    font-size: 26px !important;
    max-height: 50px !important;
    line-height: 36px !important;
    text-align: center !important;
    max-width: 350px !important;
    background: #4fb94a !important;
    padding: 10px 40px !important;
    font-family: 'Roboto','Arial';
    text-shadow: none;
    text-decoration: none;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    font-weight: 400;
}
.top-slider .slide-layer, .top-slider .slider-buttons { position: relative; left: 39%;}
.top-slider .slider-buttons { margin-top:35px !important;}

.section-step {  display: flex; justify-content: flex-start; flex-direction: row;}
.step-secwrap { padding: 20px 0 70px;}
.sm-column { max-width: 1066px; width:100%; }
.step-wrapper { width: 340px; height: 388px; margin-left: 15px; position:relative;}
.front-step { background: #00622e; z-index:1;position: absolute;top: 0; cursor:pointer;}
.step-wrapper:hover .front-step {  display: none;}
.top-bar {height: 126px; display: flex; justify-content: flex-end; align-items: center; position:relative;}
.fstep-one .top-bar::before { content: ''; background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/tri1.png); position: absolute; top: -30px; left: -5px; width: 173px; height: 195px;}
.fstep-two .top-bar::before { content: ''; background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/tri2.png); position: absolute; top: -30px; left: -5px; width: 173px; height: 195px;}
.fstep-three .top-bar::before { content: ''; background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/tri3.png); position: absolute; top: -30px; left: -5px; width: 173px; height: 195px;}

.step-inner .top-bar .serv-heading { width: 135px; padding-right: 20px;}
.bottom-sec { width: 340px; height: 262px; display: flex;justify-content: center; align-items: flex-end;}
.bottom-sec .read-btn { margin-bottom: 26px;}

.fstep-one .bottom-sec { background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/remove-pin.jpg); background-repeat: no-repeat; background-position: center; background-size: cover;}
.fstep-two .bottom-sec { background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/restore-moment.jpg); background-repeat: no-repeat; background-position: center; background-size: cover;}
.fstep-three .bottom-sec { background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/improve-your-movement.jpg); background-repeat: no-repeat; background-position: center; background-size: cover;}

.back-step { background: #00b034; width:100%; height:100%; position:relative; top:0; z-index:0;}
.back-step .step-inner { position: relative; width: 88%; height: 92%; padding: 4.5% 6%;}
.top-sec { width: 100%; overflow: hidden; display: flex; justify-content: flex-start; align-items: center; border-bottom: 1px solid #e2eb00; margin-bottom: 10px; padding-bottom: 10px;}
.step-no { font-size: 100px; line-height: 100px; color: #e2eb00; font-weight: bold; margin-right: 8px; width: 70px;}
.step-list ul li { list-style: disc inside; color: #fff; font-size: 14px;}
.serv-subheading { color: #fff; font-size: 14px;}
.back-btn { position: absolute; right: 20px; bottom: 12px;}

.benifit-sec { position: relative;}
.benifit-list { float:right; margin-top: 40px; margin-bottom: 30px; width:80%;}
.benifit-img { position: absolute; top: -44px; width: 260px; left: -66px;}
.benifit-list ul li { color: #5d5d5d; font-size: 15px; font-family: 'Roboto', sans-serif;margin-bottom: 5px; position: relative; padding-left: 16px; }
.benifit-list ul li::before { content: ''; position: absolute; left: 0; border: 4px solid #00b034; border-radius: 50%;top: 8px;}

.feature-section { margin-bottom: 60px;}
.article-wrap { display: flex; justify-content: center; align-items: center; max-width: 456px; width: 100%; height: 100%;}
.article-img { width: 175px; height: 175px; flex: 1 0 38.4%; margin-right: 10%;}
.article-img img { -webkit-filter: grayscale(100%);filter: grayscale(100%); opacity: 0.6;}
.article-info { max-width: 220px; width: 100%;}
.article-info .read-btn { margin-top: 20px;}
.feature-section .rpscw-sidebar .rpscw-recentpostwrap { border: 0px solid #ccc; border-radius: 0px; padding: 0px; margin-bottom: 0px; width:100%;}
.feature-section .rpscw-sidebar .rpscw-col { width: 25%; position: relative; margin-bottom: 40px;}
.feature-section .rpscw-sidebar .rpscw-col:after { content: ''; width: 3px; height: 100%; position: absolute; right: 30px; top: 0; background: rgb(255, 255, 255);
    background: -moz-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(229, 229, 229) 30%, rgb(229, 229, 229) 70%, rgb(255, 255, 255) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(30%, rgba(229,229,229,1)), color-stop(70%, rgba(229,229,229,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 30%, rgba(229,229,229,1) 70%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 30%, rgba(229,229,229,1) 70%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 30%, rgba(229,229,229,1) 70%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(229, 229, 229) 30%, rgb(229, 229, 229) 70%, rgb(255, 255, 255) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );
}
.side-seciton::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(left,  rgb(229, 229, 229) 30%, rgb(229, 229, 229) 70%, rgb(255, 255, 255) 100%);
    background: -webkit-gradient(left top, right top, color-stop(30%, rgba(229,229,229,1)), color-stop(70%, rgba(229,229,229,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(229,229,229,1) 30%, rgba(229,229,229,1) 70%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(229,229,229,1) 30%, rgba(229,229,229,1) 70%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(229,229,229,1) 30%, rgba(229,229,229,1) 70%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgb(229, 229, 229) 70%, rgb(255, 255, 255) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );

}

.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp { width: 200px; margin-top: 0px; height: 150px; clear:none;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp img { height: 100%; width: 100%;  max-height: 100%; -webkit-filter: grayscale(100%); filter: grayscale(100%);}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp:hover img { -webkit-filter: grayscale(0%); filter: grayscale(0%);}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-excerptsc {display:none;}
.feature-section .rpscw-sidebar .rpscw-infoblock {display:none;}
.feature-section .rpscw-sidept { max-width: 197px;}
.feature-section .rpscw-sidebar .rpscw-sidept a { margin-bottom: 8px; margin-top: 10px; font-family: 'Roboto Slab', serif; font-weight: 300; font-size: 19px; line-height: 24px; color: #5d5d5d; letter-spacing: -1px !important; text-transform: none; text-align: left;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-postmeta { position: relative; float: right; width: 220px; margin-top:10px; display:none;}
.feature-section .rpscw-sidebar .rpscw-recentposts { border-radius: 0; border-bottom: 0px solid #ccc; max-width: 456px; width: 100%; height: 100%; margin-bottom:0; min-height: 100px;display: flex; flex-direction: column-reverse;}
.home #comments, .home .entry-footer {  display: none;}

/*footer*/
footer.site-footer { background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/04/footer-strap.jpg); background-repeat: no-repeat; background-position: center; background-size: cover;max-width: 100%; width: 100%; margin: 0 !important; clear:both;}
footer .site-info { max-width: 1200px; width: 89%; margin: 0 auto; padding-top: 26px;}
footer .footer-navigation .footer-menu {display: flex; width: 100% !important; margin: 0 !important; justify-content: center; align-items: center;}
footer .footer-navigation .footer-menu li { display: inline-block;}
footer .footer-navigation .footer-menu li a { color:#fff; font-size:17px; line-height:28px; font-weight:300; font-family: 'Roboto', sans-serif; padding: 0 10px; text-transform: uppercase;}
footer .footer-menu li.current-menu-item a, footer .footer-navigation .footer-menu li a:hover { color: #2c864d;}
.copyright { padding: 10px 0 15px;}
.copyright-text { font-size: 11px;  color: #00622e; font-family: 'Roboto', sans-serif; text-align: center;}

/*fixed media*/
.side-icon {  display: inline-block; margin-top: -4px;}
.social-sec {
    width: auto;
    float: left;
    position: fixed;
    right: -308px;
    top: 0px;
    transition: right 0.4s ease-in-out;
    -o-transition: right 0.4s ease-in-out;
    -ms-transition: right 0.4s ease-in-out;
    -moz-transition: right 0.4s ease-in-out;
    -webkit-transition: right 0.4s ease-in-out;
    display: flex;
    justify-content: center;
	overflow:hidden;
}
.social-sec.facebook-sec { top: 200px; }
.social-sec.insta-sec { top: 320px;}
.social-sec.facebook-sec:hover { right: 0px; z-index:1;}
.social-sec.insta-sec:hover { right: 0px;}
.social-sec.facebook-sec .media-sec { overflowX: scroll; } 
.media-sec {
    width: 288px !important;
    height: 350px !important;
    background: #fff;
    padding: 10px;
    font-size: 14px;
    overflow-y: scroll; overflow-x: hidden;
}
.fts-powered-by-text-popup a.fts-powered-by-text { display: none !important;}
.social-img { width: 52px;}

/*******************Full page***********************/
.content-section .content-wrapper { max-width: 1200px; width: 89%; margin: 40px auto; overflow:hidden; height: 100%; display:flex; position:relative;}
.home .content-section .content-wrapper, .page-id-25 .content-section .content-wrapper { padding: 0px 0; width: 100%; overflow: visible; margin: 0; width: 100%; max-width: 100%;}
.home .content-section section#primary, .page-id-25 .content-section section#primary { width: 100%; border: 0px solid #c5c5c5;}
.page-id-25 .entry-header { display: none;}
.home .content-section section.widget_text, .home #trthleft-sidebar, .page-id-25 .content-section section.widget_text, .page-id-25 #trthleft-sidebar, .page-id-25 #trthright-sidebar, .home #trthright-sidebar { display: none !important;}

.top-banner img { width: 100%;}

/******************Inner Page*************************/
.content-section section#primary { width: 53%; border-right: 1px solid #c5c5c5;}
.content-section section.widget_text { padding-left: 30px;}
#trthleft-sidebar { width: 22%;}
#trthright-sidebar { width: 24%;}
#trthleft-sidebar aside { padding-right: 30px;}
.page #recent-posts-2 { display: none;}

/*Contact Page*/
.contact-section { border-left: 1px solid #b2b1b3;  margin-left: 19%; padding-left: 4%;}
.add-text {  margin-bottom: 200px;}
.contact-form { margin-top: 40px; max-width: 550px;}
.contact-form p { width: 100%; margin-bottom: 10px; height:40px;}
.contact-form p input[type="text"], .contact-form p input[type="tel"], .contact-form p input[type="email"], .contact-form p textarea { width: 96%; border: 1px solid #bebebe; padding: 1.7%; font-size: 15px; font-family: 'Roboto Slab', serif; color: #7d7d7d !important; font-weight: 300;}
.contact-form p:nth-child(5) { margin-bottom: 20px;}
.contact-form p:nth-child(6) { font-size: 0px; display: inline-block; width: 49%;}
.contact-form p:nth-child(6) span { font-size: 15px !important;}
.contact-form p:nth-child(6) input { width: 30px; margin: 0 1%;}
.contact-form p:nth-child(7) { width: 211px; display: inline-block; text-align:right; float:right;}

.contact-form p textarea { height:20px;}
span.wpcf7-not-valid-tip { font-size: 13px;line-height: 23px;}
div.wpcf7-response-output { margin: 10px 0; padding: 0 5px; font-size: 17px;}

/*About Page*/
.page-id-27 .content-section .content-wrapper { max-width: 100%; width: 100%; overflow:hidden; margin-top:0;}
.page-id-27 #trthleft-sidebar, .page-id-27 #trthright-sidebar, .page-id-27 .entry-header { display: none;}
.page-id-27 .content-section section#primary { width: 100%; border-right: 0px solid #c5c5c5;}
.page-id-27 .content-section section.widget_text .textwidget.custom-html-widget { max-width: 270px; width: 100%;}
.page-middle-sec { border-right: 1px solid #c5c5c5;}
.side-seciton .row-heading {  letter-spacing: 2px;  margin-bottom: 15px;}
.team-wrapper { max-width: 870px; width: 100%; margin-left: auto;}
.team-wrap { display: flex; flex-direction: row;}
.team-img { flex: 1 0 24%; -webkit-flex: 1 0 24%; -ms-flex: 1 0 24%;}
.team-info { flex: 1 0 68%; -webkit-flex: 1 0 68%; -ms-flex: 1 0 68%; padding: 0 4%; }
.team-info p {  font-size: 15px; margin-bottom:15px;}
.team-info ul li { font-size: 15px; line-height:25px; margin-bottom:5px; list-style-type:disc; margin-left:15px;}
.dark-section { padding: 40px 0; margin: 40px 0 10px; position:relative;}
.dark-section:before, .darkgred:before, .blog article:nth-of-type(2n):before, .search article:nth-of-type(2n):before { content: ''; position: absolute; top: 0; right: 350px; border-top: 20px solid #fff; border-left: 20px solid transparent; border-right: 20px solid transparent;}
.dark-section:after, .darkgred:after, .blog article:nth-of-type(2n):after, .search article:nth-of-type(2n):after { content: ''; position: absolute; bottom: -20px; right: 350px; border-top: 20px solid #f4f4f6; border-left: 20px solid transparent;  border-right: 20px solid transparent;}
.name-wrap { text-align: center; color: #646464; font-weight: 400; font-family: 'Roboto', sans-serif; font-size: 17px;  letter-spacing: 0px;}

/*Service page*/
.page-id-29 .entry-header { display: none;}
.top-logo {display:flex; justify-content: center; align-items: center;}
.logo-img:nth-child(2) { padding: 0 15px; margin: 0 15px; border-left:1px solid #CCC; border-right:1px solid #ccc;}
.darkgred, .blog article:nth-of-type(2n), .search article:nth-of-type(2n) {
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 57%, rgb(237, 237, 237) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(57%, rgba(242,242,242,1)), color-stop(100%, rgba(237,237,237,1)));
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 57%, rgba(237,237,237,1) 100%);
    background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 57%, rgba(237,237,237,1) 100%);
    background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 57%, rgba(237,237,237,1) 100%);
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 57%, rgb(237, 237, 237) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1 );
    padding: 40px 20px 40px 0;
    margin: 40px 0; position:relative;
}
.bottom-logos {display:flex; justify-content: center; align-items: center;}
.page-id-29 .content-section section#primary article .panel-grid:nth-child(1), .page-id-299 .content-section section#primary article .panel-grid:nth-child(1) { position: absolute; left: 0; width: 100%; top:0;}
.page-id-29 #trthleft-sidebar, .page-id-29 .content-section section#primary, .page-id-29 #trthright-sidebar, 
.page-id-299 #trthleft-sidebar, .page-id-299 .content-section section#primary, .page-id-299 #trthright-sidebar { margin-top:10%;}
.page .fuct-left-sidebar  { display:none;}
.page.page-id-299 .service-left-sidebar { display:none;}
.page.page-id-299 .fuct-left-sidebar  { display:block;}
.service-video { padding-right: 4%;}
/*Blog*/
.bleg article, .single article , .search article { padding-right: 20px;}
.blog #trthleft-sidebar .widget_text, .single #trthleft-sidebar .widget_text { display: none;}
.widget .widget-title {  display: none;}
.blog article .entry-footer, .single article .entry-footer, .single #comments { display: none;}
.blog .entry-title a, .single .entry-title, .psttitlehd h1, .search .entry-header .entry-title a {
    color: #7d7d7d;
    font-size: 30px;
    line-height: 37px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    position: relative;
}
.blog .entry-title a:before, .single .entry-title:before, .psttitlehd h1:before, .search .entry-header .entry-title a:before  {
    content: '';
    background: green;
    position: relative;
    display: inline-block;
    width: 10px;
    height: 30px;
    top: 4px;
    margin-right: 10px;
}
.blog .entry-title, .single .entry-title { margin-bottom: 20px;}
.blog .entry-content, .single .entry-content { margin-top:20px;} 
.blog .entry-content p, .single .entry-content p, .search .entry-content p, .blog article ol, .single article ol, .search article ol, .blog article ul, .single article ul, .search article ul { font-size: 15px; line-height: 24px; margin-bottom: 25px;}
.blog article ul li, .blog article ol li, .single article ul li, .single article ol li { font-size: 15px; line-height: 24px; margin-bottom: 5px;}
.navigation.post-navigation { display: none;}
.blog article ol li, .single article ol li, .search article ol li { list-style: decimal; margin-left: 15px;}
.blog article ul li, .single article ul li, .search article ul li { list-style: disc; margin-left: 15px;}
.single .entry-meta { display: none;}
.blog-heading {
    font-size: 24px;
    line-height: 35px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #7d7d7d; margin-bottom: 10px;
}
.quote-heading {

    position: relative;
    display: inline-block;

}
.quote-heading:before {
    content: '';
    background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/05/quote-left.png);
    width: 25px;
    height: 22px;
    position: relative;
    display: inline-block;
    margin-right: 5px; background-position:center; background-size:cover;
}
.quote-heading:after {
    content: '';
    background: url(https://www.totalrehabphysio.co.nz/wp-content/uploads/2019/05/quote-right.png);
    width: 26px;
    height: 22px;
    position: relative;
    display: inline-block;
    margin-left: 5px; background-position:center; background-size:cover;
}
.blog-text p { color: #acacac; font-size: 16px !important; font-weight: 400;}
.rdmoretag { display: block; background: green; margin-top: 10px; font-weight: 500; color: #fff; width: 120px;text-align: center; height: 30px; line-height: 30px;}
.blog article, .search article { padding-right:20px;}
.right-arrow::after { content: '>>'; position: relative; display: inline-block; font-weight: 500;}

/*Search*/
article .entry-footer { display: none;}
.search .entry-content { margin-top: 20px;}
.search .post-thumbnail { margin-top: 20px;}
.nav-links .page-numbers { color: #acacac;}
.page-numbers.current { background: green; border-radius: 50%; padding: 0 8px; font-size: 16px; font-weight: bold; color: #fff;}
/*404*/
.error404 .content-section section#primary { width: 100%; border-right: 0px solid #c5c5c5;}
.error-404 .page-content { margin: 30px auto;}
.error-404 .search-form { margin: 20px auto;}
.screen-reader-text { display: block; width: 100%; margin-bottom: 10px;}
.search-field { width: 250px; border: 1px solid #bebebe; padding: 10px; font-size: 15px; font-family: 'Roboto Slab', serif; color: #7d7d7d !important; font-weight: 300; margin-bottom: 15px;display: block;}
.error404 #trthleft-sidebar, .error404 #trthright-sidebar { display: none;}
/*Gallery*/
.page-id-448 .entry-header, .page-id-448 #trthleft-sidebar, .page-id-448  #trthright-sidebar { display: none;}
.page-id-448 .content-section section#primary { width: 100%; border:0;}
/*******************************************************/
            /*Media Query*/
			
/******************************************************/

@media only screen and (min-width: 3000px) {.top-slider, .top-slider .slide-img { height: 1722px !important;}
.top-slider .slider-meta-wrap { padding: 350px 30px 0;}.top-slider .slide-layer, .top-slider .slider-buttons {left: 44%;}}
@media only screen and (min-width: 2601px) and (max-width: 2999px){.top-slider, .top-slider .slide-img { height: 1033px !important;}.top-slider .slider-meta-wrap { padding: 80px 30px 0;}}

@media only screen and (min-width: 2601px) { 
.slider-content { left: 21%; max-width: 935px !important;}
.benifit-img {top: -50px;  width: 455px; left: -376px;}
.benifit-list { float: left; margin-left: 134px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 83px !important; line-height: 67px !important;}
/*Inner page*/
.team-wrapper { max-width: 1140px;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:700px !important; background-position:center;}
}

@media only screen and (min-width: 2001px) and (max-width: 2600px) {
.slider-content { left: 14%; max-width: 935px !important;}
.benifit-img {top: -50px;  width: 455px; left: -376px;}
.benifit-list { float: left; margin-left: 134px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 83px !important; line-height: 67px !important;}
.top-slider, .top-slider .slide-img { height: 776px !important;}
.top-slider .slider-meta-wrap { padding: 80px 30px 0;}
/*Inner page*/
.team-wrapper { max-width: 1010px;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:650px !important; background-position:center;}
}

@media only screen and (min-width: 1801px) and (max-width: 2000px){
.slider-content { left: 10%; max-width: 935px !important;}
.benifit-img {top: -66px;  width: 400px; left: -214px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 83px !important; line-height: 67px !important;}
.top-slider, .top-slider .slide-img { height: 766px !important;}
.top-slider .slider-meta-wrap { padding: 70px 30px 0;}
/*Inner page*/
.team-wrapper { max-width: 1010px;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:610px !important; background-position:center;}
}
@media only screen and (min-width: 1641px) and (max-width: 1800px){
.slider-content { left: 8%;}
.benifit-img {top: -66px;  width: 400px; left: -214px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 73px !important; line-height: 57px !important;}
.top-slider, .top-slider .slide-img { height: 646px !important;}
.top-slider .slider-meta-wrap { padding: 60px 30px 0;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:550px !important; background-position:center;}
}

@media only screen and (min-width: 1440px) and (max-width: 1640px) {
.slider-content { left: 5%;}
.benifit-img { width: 300px; left: -110px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 73px !important; line-height: 57px !important;}
.top-slider, .top-slider .slide-img { height: 577px !important;}
.top-slider .slider-meta-wrap { padding: 50px 30px 0;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:470px !important; background-position:center;}
}

@media only screen and (min-width: 1440px){
#header {margin-left:0px;}
.feature-section .rpscw-sidebar .rpscw-sidept a { font-size: 20px; line-height: 27px;}
.slider-wrapper .n2-ss-section-main-content {  justify-content: flex-start !important; margin-top: 50px;}
}
@media only screen and (min-width: 1331px) and (max-width: 1440px){.main-menu ul.sub-menu li:hover > ul.sub-menu { left: 42%;}}

@media only screen and (min-width: 1201px) and (max-width: 1335px){
.main-menu li .sub-menu .sub-menu { left:20%;}	

.main-menu li a { font-size: 15px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 50px !important; line-height: 50px !important;}
.top-slider .slide-layer, .top-slider .slider-buttons { left: 42%;}
.top-slider .slide-img, .top-slider, .top-slider .item {/* min-height: 498px !important; max-height: 509px !important;*/ height: 498px !important;}
.slide-btn a,.top-slider .slider-buttons a { font-size: 24px !important; line-height: 30px !important; padding: 10px 30px !important;}
.owl-carousel .owl-item:nth-child(1) .item .slider-meta-outer-wrap.has-caption h3 {width: 450px;}
.benifit-img { width: 236px; left: -40px;}
.top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4 { width:58%;}
/*Inner Page*/
.team-wrapper { max-width: 87%;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:370px !important; background-position:center;}
/*service page*/
.inner-heading, .search .page-title { font-size:30px; line-height:40px;}
}
@media only screen and (min-width: 960px) and (max-width: 1200px){
#header { margin-left: 0px;}	
.main-menu li a { margin-left: 12px; font-size: 15px; line-height: 20px; letter-spacing: 0px;}
.main-menu li .sub-menu .sub-menu { left:34%;}
.main-menu ul.sub-menu li:hover > ul.sub-menu { width: 211px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 40px !important; line-height: 40px !important;}
.slide-btn a,.top-slider .slider-buttons a { font-size: 23px !important; line-height: 25px !important; padding: 10px 30px !important;}
.top-slider .slide-layer, .top-slider .slider-buttons { left: 42%;}
.top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4 { width:58%;}
.top-slider .slide-img, .top-slider, .top-slider .item  { height: 462px !important;}
.owl-carousel .owl-item:nth-child(1) .item .slider-meta-outer-wrap.has-caption h3 {width: 350px;}

.main-heading, .error-404 .page-title { font-size: 32px; line-height: 42px;}
.step-heading .inner-heading { margin-bottom: 10px;}
.benifit-img {top: -44px; width: 240px; left: -46px;}
.benifit-list { float: right; margin-top: 0px; margin-bottom: 0px; width: 75%;}
.feature-section .rpscw-sidebar .rpscw-recentposts { max-width: 410px;}
.feature-section .rpscw-sidept { max-width: 200px; margin: 0 auto;}

.step-wrapper { width: 274px; height: 362px; margin-left: 10px;}
.back-step .step-inner { width: 92%; height: 92%; padding: 4.5% 4%;}
.read-btn a, .feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-readmore a { width: 160px;}
.fstep-one .top-bar:before, .fstep-two .top-bar:before, .fstep-three .top-bar:before { top: -10px; left: -5px; width: 110px; height:123px; background-size: cover;  background-position: initial; background-repeat: no-repeat;}
.bottom-sec { width: 274px; height: 262px;}
.serv-subheading {line-height: 17px;}
.top-bar { height: 100px;}
.step-inner .top-bar .serv-heading { width: 120px; padding-right: 12px;}
.step-no { font-size: 75px; line-height: 60px; margin-right: 8px; width: 40px;}
.top-sec { height: 95px;}
.fstep-one .bottom-sec, .fstep-two .bottom-sec, .fstep-two .bottom-three {background-position:left center;}
.serv-heading { font-size: 22px;}

/*Content Page*/
.contact-form p:nth-child(6) { width: 43%; }
.feature-section .rpscw-sidebar .rpscw-col::after { right: 0px;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp { margin: 0px auto;float: none;}
.text-wrapper, .text-wrapper p { font-size: 16px;}
/*Inner page*/
.team-wrapper { max-width: 92%;}
.dark-section:before, .dark-section:after, .darkgred:before, .darkgred:after { right: 44%;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:370px !important; background-position:center;}
/*About Page*/
.page-side-right { padding-right: 4% !important;}
/*service page*/
.inner-heading, .search .page-title { font-size:24px; line-height:34px;}
}
@media only screen and (min-width: 960px) and (max-width: 1060px){.main-menu li .sub-menu .sub-menu {left: 24%;}}


@media only screen and (max-width: 959px){
body { font-size:16px; line-height:24px; }	
.top-icons { padding-top: 56px; max-width: 324px; width: 100%;}	
#site-navigation { display: none;}
#header { margin-left: 0px;}
button#responsive-menu-button { border: 2px solid #016839 !important; border-radius: 5px;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 30px !important; line-height: 28px !important;}
.slide-btn a, .top-slider .slider-buttons a { font-size: 20px !important; line-height: 25px !important; padding: 10px 25px !important;}
.owl-carousel .owl-item:nth-child(1) .item .slider-meta-outer-wrap.has-caption h3 {width: 265px;}
.main-heading, .error-404 .page-title { font-size: 26px; line-height: 30px;}
.intro-section { margin-bottom: 35px;}
.step-heading .inner-heading { margin-bottom: 0px;}
.inner-heading, .search .page-title { font-size: 25px;  line-height: 35px;}
.step-wrapper { width: 220px; height: 342px; margin-left: 7px;}
.back-step .step-inner { width: 92%; height: 92%; padding: 4.5% 4%;}
.read-btn a, .feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-readmore a { width: 160px;}
.benifit-sec {  position: relative; display: flex;}
.fstep-one .top-bar:before, .fstep-two .top-bar:before, .fstep-three .top-bar:before { top: -5px; left: -5px; width: 80px; height: 90px; background-size: cover;  background-position: initial; background-repeat: no-repeat;}
.bottom-sec { width: 220px; height: 262px;}
.serv-subheading {font-size: 13px; line-height: 17px;}
.top-bar { height: 80px;}
.step-inner .top-bar .serv-heading { width: 120px; padding-right: 12px;}
.step-no { font-size: 75px; line-height: 60px; margin-right: 8px; width: 40px;}
.top-sec { height: 95px;}
.step-list ul li { font-size: 13px; line-height: 18px;}
.fstep-one .bottom-sec, .fstep-two .bottom-sec, .fstep-two .bottom-three {background-position:left center;}
.serv-heading { font-size: 20px;}
.benifit-img { position: relative;  top: 0; width: 200px; left: 0; flex: 1 0 28%; margin-right: 2%;}
.feature-section .rpscw-sidebar .rpscw-recentposts { max-width: 456px; width: 100%; height: 100%; margin-bottom: 0; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column;}
.feature-section .rpscw-sidept { float: left; max-width: 220px; order: 2;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp { order: 1; margin-top: 10px;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-postmeta { order: 3;}
.back-line:before{ right:0; width:30%;}
.back-line:after { left:0; width:30%;}
/*contact page*/
.text-wrapper, .text-wrapper p { font-size: 16px;}
.break-sec { display: block;}
}
@media only screen and (min-width: 768px) and (max-width: 959px){
.info-inner-row { -webkit-flex-direction: row !important; -ms-flex-direction: row !important; flex-direction: row !important;}
.info-inner-row.panel-row-style > .panel-grid-cell:nth-child(1), .info-inner-row.panel-row-style > .panel-grid-cell:nth-child(2) { flex: 1 0 40%; margin-right: 3% !important;}
.info-inner-row.panel-row-style > .panel-grid-cell:nth-child(3) { flex: 1 0 14%;}
.top-slider .slide-layer, .top-slider .slider-buttons { left: 43%;}
.top-slider .slide-img, .top-slider, .top-slider .item  { height: 434px !important;}
/*Content Page*/
.contact-section { margin-left: 0%; padding-left: 3%;}
.contact-form p:nth-child(6), .contact-form p:nth-child(7) { width: 100%; text-align: left;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp { width: 100%;}
.feature-section .rpscw-sidebar .rpscw-col { width: 23%; margin-right: 2%;}
.feature-section .rpscw-sidebar .rpscw-col:after { right: -8px;}
/*Inner Pages*/
.team-wrapper { width: 89%; margin: 0 auto;}
.content-section .content-wrapper { flex-direction: column; }
.content-section section#primary { width: 100%; border-right: 0px solid #c5c5c5; border-bottom: 1px solid #c5c5c5; padding-bottom: 30px; margin-bottom: 30px;}
.dark-section:before, .dark-section:after, .darkgred:before, .darkgred:after  { right: 44%;}
.team-img { margin-bottom: 20px;}
.content-section section.widget_text { width: 100%;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:300px !important; background-position:center;}
/*About Page*/
.page-side-right { padding-right: 4% !important;}
/*Service page*/
.page-id-29 .content-section section#primary article .panel-grid:nth-child(1), .page-id-299 .content-section section#primary article .panel-grid:nth-child(1) { width: 100%; flex-direction: row;}
.content-section .content-wrapper { display: block;}
#trthleft-sidebar { width: 25%; float: left;}
.content-section section#primary { width: 75%; float: left;}
#trthright-sidebar { width: 100%; margin-top: 0; clear: both;}
/*Footer*/
footer .footer-navigation .footer-menu li a { font-size: 14px; padding: 0 8px;}
}
@media only screen and (max-width: 767px){
.top-icons ul li:nth-child(1), .top-icons ul li:nth-child(2) {display: none;}
.top-icons { width: 44%; padding-top:10px; display:none;}
.top-icons ul { justify-content: flex-start;}
.site-header { height:66px;}
.mobile-section { display: block !important;}
.desktop-section { display: none !important;}
.side-icon {  margin-top: -5px;}
.main-heading, .error-404 .page-title { color: #37b549; font-size: 27px;  line-height: 33px;}

.desktop-slider { display: none !important;}
.mobile-image .so-widget-image { display: block !important;}
.mobile-image { display: block !important; height: auto; background-position: center; background-size: cover;}
.slider-content { left: 13%; margin-top:0;}
.slide-heading > div, .top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4  { font-size: 22px !important; line-height: 22px !important; padding-right:0px;}
.slide-btn { left: 20%; display:none;}
.slide-btn a, .top-slider .slider-buttons a {font-size: 16px !important; line-height: 16px !important; padding: 10px 10px !important;}
.slide-heading {margin-bottom: 15px !important;}
.slider-content > div {  padding-bottom: 34% !important;}
.slider-row .n2-ss-layer-row .n2-ss-layer-row-inner > div:nth-child(1) { display: none;}
.slider-row .n2-ss-layer-row {  padding-top: 0 !important;}
.slide-heading { width: 300px !important;  left: 20%; margin-top: 30px !important;}
.top-slider .slider-buttons { display:none;}
.top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4 { width:100%;}

.home .panel-grid { margin-bottom: 0 !important;}
.sec-wrap a { font-size: 20px; text-transform: uppercase; padding: 15px !important; display: inline-block; letter-spacing: 1px; font-family: 'Roboto', sans-serif; font-weight: 400; margin: 20px 0 0;}
.call-sec.sec-wrap a, .book-sec.sec-wrap a:hover { color: #fff; background: #016839;}
.call-sec.sec-wrap a:hover, .book-sec.sec-wrap a { color: #016839; background: #fff;}
.section-step { flex-direction: column; }
.step-wrapper { width: 282px; margin: 0px auto 0px;}
.bottom-sec { width: 284px; height: 262px;}
.top-bar:before { top: -11px !important; left: -5px !important; width: 130px !important;  height: 145px !important; background-size: cover !important; background-repeat: no-repeat !important;}
.step-inner .top-bar .serv-heading { width: 128px !important;}
.section-step { flex-direction: column; }
.recovery-steps { margin-bottom: 40px;}
.inner-wrap { width: 100%; height: 100%;  display: flex; flex-direction: row; justify-content: center; align-content: center;}
.section-heading.step-heading .inner-heading { color: #fff; font-family: 'Roboto Slab', serif; font-weight: 300; padding-bottom: 16px; position:relative;}
.section-heading.step-heading .inner-heading:after { content: ''; position: absolute; bottom: -15px; left: 48%; border-top: 15px solid #38b34b; border-bottom: 0px solid transparent; border-left: 15px solid transparent; border-right: 15px solid transparent;}
.step-secwrap { padding: 50px 0 0; margin-bottom:30px;}
.benifit-sec {  flex-direction: column;}
.benifit-img { position: relative; top: 0; width: 100%; left: 0; max-width: 240px; margin:0 auto;}
.benifit-list { width: 100%;}
.mobile-section.intro-section { margin-bottom: 40px;}
.back-line:before, .back-line:after { width:0; height:0;}
.inner-heading, .search .page-title { font-size: 24px; line-height: 34px;}
.read-btn a, .feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-readmore a { width: 160px;}
.feature-section .rpscw-sidebar .rpscw-recentposts { max-width: 456px; width: 100%; height: 100%; margin-bottom: 0; display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column;}
.feature-section .rpscw-sidept { float: left; max-width: 220px; order: 2;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp { order: 1; margin-top: 10px;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-postmeta { order: 3;}

footer .widget-area { width: 30px; top: 20%;}
.footer-navigation { display: none;}
.side-media { display: none !important;}
.copyright-text { font-size: 12px; text-align: left; letter-spacing: 0px;}
/*Inner Pages*/
.content-section .content-wrapper { flex-direction: column;}
.content-section section#primary { width: 100%; border-right: 0px solid #c5c5c5; border-bottom: 1px solid #c5c5c5; padding-bottom: 30px; margin-bottom: 30px;}
.team-wrap { flex-direction: column; width: 92%; margin: 0 auto;}
.dark-section:before, .dark-section:after, .darkgred:before, .darkgred:after  { right: 44%;}
.team-img { margin-bottom: 20px; max-width:230px; overflow:hidden;}
.team-info { padding: 0;}
.content-section section.widget_text { width: 100%;}
/*Service page*/
.inner-heading, .search .page-title { margin-bottom:0px;}
.page-id-29 .content-section section#primary, #trthright-sidebar, .page-id-299 .content-section section#primary, #trthright-sidebar { margin-top:0;}
.page-id-29 .content-section section#primary article .panel-grid:nth-child(1), .page-id-299 .content-section section#primary article .panel-grid:nth-child(1) { width: 100%;}
#trthleft-sidebar, #trthright-sidebar { width:100%;}
#trthleft-sidebar aside, .content-section section.widget_text { padding-left: 0px;}
.top-logo { justify-content: flex-start;}
#trthleft-sidebar { margin-top: 160px !important;}
.blog article, .single article , .search article { padding-right: 0px;}
.blog #trthleft-sidebar, .single #trthleft-sidebar, .searfch #trthleft-sidebar { margin-top: 0px !important;}

}
@media only screen and (min-width: 480px) and (max-width: 767px){
.feature-section .rpscw-sidebar .rpscw-sidept a { font-size: 16px;  line-height: 24px; padding-right: 20px; min-height: 75px;}
.top-slider .slide-layer, .top-slider .slider-buttons { left: 40%;}
.top-slider .slide-img, .top-slider, .top-slider .item  { /*min-height: 279px !important; max-height: 376px !important;*/ height:279px !important;}
.logo-img img {  max-height: 80px;}
.feature-section .rpscw-sidebar .rpscw-col { width: 50%;}
.feature-section .rpscw-sidebar .rpscw-col::after { right: 6px;}
.page-slider, .page-slider .slide-img, .page-slider .item  { height:220px !important; background-position:center;}

}
@media only screen and (max-width: 780px) {.page-side-right { padding: 0 4% !important;}}
@media only screen and (min-width: 400px) and (max-width: 479px){
.slide-heading { left: 65px; }
}
@media only screen and (max-width: 479px){
.site-header { height:56px;}
.top-icons ul li { width: 28px;}	
button#responsive-menu-button { width: 29px !important;  height: 22px !important; top: 12px !important; }
.responsive-menu-box { width: 18px !important;  height: 16px !important; bottom: 5px !important;left: 0px !important;}
.responsive-menu-inner, .responsive-menu-inner::before, .responsive-menu-inner::after { width: 18px !important; height: 2px;}
.responsive-menu-inner:before { top: -5px !important;}
.responsive-menu-inner:after { bottom: -5px !important;}
button.is-active .responsive-menu-inner::after { bottom: 0 !important;}
.slide-heading { max-width: 230px !important; width: 100% !important;float: right !important; left:0 !important;}
.top-slider .slide-layer, .top-slider .slider-buttons { left: 0;}
.top-slider .slide-img { background-position: -100px top;}
.top-slider .slide-img, .top-slider, .top-slider .item {  /*min-height: 246px !important; max-height:300px !important; */height:220px !important;}
.slider-meta-wrap {float: right;} 	
.top-slider .has-caption .slider-meta-wrap h3, .top-slider .slider-meta-wrap h4 { text-align: left;}
.owl-carousel .owl-item:nth-child(1) .slider-meta-outer-wrap{ top:83px !important; left:18px !important;}

.owl-carousel .owl-item.zoomed .slide-img {
    -webkit-transform: scale(1.1) translate(5px) !important;
    -moz-transform: scale(1.1) translate(5px) !important;
    -o-transform: scale(1.1) translate(5px) !important;
    transform: scale(1.1) translate(5px) !important;
    opacity: 1;
}
.mobile-image .so-widget-image { display: none !important;}
.mobile-image { display: block !important; height: 450px; background-position: center; background-size: cover;}
.inner-heading, .search .page-title { font-size: 21px; line-height: 31px;}
.feature-section .rpscw-sidebar .rpscw-col { width: 100%; margin-bottom: 10px;}
.feature-section .rpscw-sidept { max-width: 100% !important; margin: 0 auto 30px;}

/*Content Page*/
.content-section .content-wrapper { width: 94%;}
.home .content-section .content-wrapper { width: 100%;}
.contact-section { margin-left: 0%; padding-left: 3%;}
.contact-form p:nth-child(6), .contact-form p:nth-child(7) { width: 100%; text-align: left;}
.feature-section .rpscw-sidebar .rpscw-col::after { width: 100%; height: 3PX; position: absolute; right: 0px; top: -10px;}
.feature-section .rpscw-sidebar .rpscw-recentposts .rpscw-widgetp { width: 100%; margin-top: 0px; height: auto; float: none;text-align: center;}
/*Inner Page*/
.page-slider, .page-slider .slide-img, .page-slider .item { height:160px !important; background-position:center;}
/*fixed side*/
.social-img { width: 40px;}
.social-sec.insta-sec { top: 241px;}
.social-sec.facebook-sec { top: 148px;}
.media-sec { width: 256px !important; height: 330px !important;}
.social-sec { right: -276px;}
}