/*

Theme Name: First-Rehab
Theme URI: https://www.radialcreations.com/services/website-development/wordpresscms-websites/
Author: Heshy Friedman @ Azurite Marketing
Author URI: https://www.azuritemg.com
Description: The First-Rehab is a custom WordPress theme developed by Heshy Friedman of Azurite Marketing Group.
Version: 1.5
License: Protected by Copyright. Cannot be copied.
License URI: https://www.azuritemg.com/
Text Domain: first-rehab.com
Tags: custom-theme
NyOrtho WordPress theme.


*/

body {
    font-size: 1.1rem;
  
    line-height: 1.5rem;
  
   /* font-family: "Raleway", sans-serif;*/
    font-family: 'Palanquin', sans-serif;
  
    font-weight: 400;
  
    color: #666;
  }
  
  .text-white {
    color: #fff !important
  }
  
  .container {
    max-width: 1199px;
  }
  
  .goTop {
      right: 2%;
      
      bottom: 9%;
      
      z-index: 999;
      
      border-radius: 30px;
      
      background-color: #11539d;
      
      color: white;
      
      font-size: 33px;
  
      position: fixed;
  
      cursor: pointer;
  
      transition-duration: 0.3s;
  
      display: none;
  }
  
  .goTop:hover {
    opacity: 0.8;
  }
  
  .content {
    width: 100%;
  
    float: left;
  
    clear: both;
  }
  
  .header {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    padding: 15px 0;
  
    background: #0c3a6e;
    /* Old browsers */
  
    background: -moz-linear-gradient(top,
        #0c3a6e 0%,
        #115199 100%);
    /* FF3.6-15 */
  
    background: -webkit-linear-gradient(top,
        #0c3a6e 0%,
        #115199 100%);
    /* Chrome10-25,Safari5.1-6 */
  
    background: linear-gradient(to bottom,
        #0c3a6e 0%,
        #115199 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0c3a6e', endColorstr='#115199', GradientType=0);
    /* IE6-9 */
  }
  
  .header-bg{
    background-image: url('images/Header-bg.JPG');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  
  @media screen and (max-width:991.98px) {
    .header-bg{
      background-size: cover;
    }
  }
  
  
  .new-header  a{
    color: #fff;
    
  }
  
  .br-1{
    position: relative;
  }
  
  .br-1::after{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 80%;
    width: 1px;
    background-color: #fff;
  }
  
  .new-header .top-icon{
    opacity: 0.80;
    font-size: 0.7rem;  
  }
  
  .new-header  a:hover{
    color: #fff;
    
  }
  
  .new-header  a .ico{
    height: 38px;
    
  }
  /* 
  .new-header .img2-text a{
    color: #cf2b96;
  }
  
  .new-header .img3-text a{
    color: #0c695c;
  }
  
  .new-header .img4-text a{
    color: #b46f30;
  } */
  
  .new-header .phone-img{
    height: 20px;
    width: 20px;
  }
  
  .FRlogo{
      position: absolute;
      left: -70px;
      top: -14px;
      width: 80px;
      display: none;
  }
  
  @media screen and (max-width:1356px) {
    .FRlogo{
      display: none !important;
  }
  }
  
  .h-phone{
    background-color: #14549b;
    display: block;
    text-align: center;
    font-size: 1.3rem;
  }
  
  @media screen and (max-width:1200px) {
    .h-phone{
    font-size: 1rem;
  }
  }
  
    @media screen and (max-width:1010px) {
      .h-phone{
      font-size: 0.9rem;
    }
  }
  
  
  
  @media screen and (max-width:888px) {
    .h-phone{
    font-size: 0.8rem;
    display: block;
    text-align: center;
  }
  }
  
  
  .logo a {
    float: left;
  
    display: inline-block;
  
    z-index: 99;
  }
  
  .therapies {
    display: inline-block;
  }
  
  .therapies ul {
    padding-left: 0;
  
    margin-bottom: 0;
  
    list-style: none;
  }
  
  .therapies ul li {
    display: block;
  
    font-size: 1rem;
  
    margin-top: 4px;
  
    margin-left: 20px;
  
    margin-bottom: 4px;
  
    padding-left: 15px;
  
    border-left: 1px #fff solid;
  
  
  }
  
  .btn-trans {
    background-color: #fff;
  
    border: 1px solid #999 !important;
  }
  
  .btn-trans:hover {
    color: #0c785c !important;
  }
  
  .color-a {
    color: #fdce9b;
  }
  
  .color-b {
    color: #fdacd6;
  }
  
  .color-c {
    color: #b5feb5;
  }
  
  .color-d {
    color: #fdb596;
  }
  
  .color-white {
    color: #fff;
  }
  
  .color-grey {
    color: #333;
  }
  
  .color-brown {
    color: #8a5647;
  }
  
  .color-green {
    color: #0c785c;
  }
  
  .color-maroon {
    color: #901247;
  }
  
  .color-yellow {
    color: #dc7f23;
  }
  
  .bg-brown {
    background: #8a5647;
  }
  
  .bg-green {
    background: #0c785c;
  }
  
  .bg-maroon {
    background: #901247;
  }
  
  .bg-yellow {
    background: #dc7f23;
  }
  
  .border-brown {
    border-color: #8a5647;
  }
  
  .border-green {
    border-color: #0c785c;
  }
  
  .border-maroon {
    border-color: #901247;
  }
  
  .border-yellow {
    border-color: #dc7f23;
  }
  
  a {
    color: #11539d;
  }
  
  a:hover {
    color: #000;
  }
  
  .phone p {
    float: right;
  
    color: #dae4e6;
  
    padding-left: 25px;
  
    background: url(images/phone.png) no-repeat;
  
    background-position: left center;
  
    background-size: 18px 18px;
  }
  
  .nav li {
    margin: 0;
  
    padding: 0 25px;
  }
  
  @media screen and (max-width:1199.98px) {
    .nav li {
      padding: 0 20px;
    }
  }
  
  
  .navi {
    position: relative;
  
    width: 100%;
  
    float: left;
  
    padding: 20px 0;
  
    border-bottom: 1px #999 solid;
  
    background: #fff;
  }
  
  .navi .navbar-text {
    float: right;
  
    padding-top: 5px;
  }
  
  .navi .navbar {
    width: 100%;
  }
  
  .navi .nav {}
  
  .navi .nav .nav-link {
    padding: 0px;
  
    color: #11539d;
  
    font-size: 16px;
  
    font-weight: 400;
  
    background: none;
  
    border-radius: 0px;
  
    border-color: transparent;
  
    text-transform: uppercase;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .navi .nav .nav-item.active .nav-link,
  .nav .nav-link:hover,
  .nav .show>.nav-link {
    color: #000;
  
    background: none;
  }
  
  .banner {
    height: 70vh;
  
    display: flex;
  
    align-items: flex-end;
  
    width: 100%;
  
    text-align: center;
  
    position: relative;
  }
  
  .banner .video-div{
   
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
  
  }
  
  .banner .video-div video {
  
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
  
  }
  
  .banner .container{
    z-index: 1;
  }
  
  @media screen and (max-width: 568px) {
  .banner p.h1{
   
    font-size: 1.5rem;
      
    }
  }
  
  @media screen and (max-width: 350px) {
    .banner p.h1{
     
      font-size: 1rem;
        
      }
    }
  
  .banner h2 {
    color: #fff;
  
    font-size: 70px;
  
    text-transform: uppercase;
  
    text-shadow: 1px 1px 20px #000;
  
    /*padding: 50px 0 20px 150px;
  
    background: url(images/boxes.png) no-repeat left;*/
  
    background-size: 126px 128px;
  
    display: inline-block;
  }
  
  .banner p {
    color: #fff;
    text-shadow: 1px 1px 20px #000
  }
  
  .desc {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    padding: 50px 0;
  
    text-align: center;
  }
  
  .desc h2 {
    color: #0b3476;
  
    line-height: 3rem;
  
    margin-bottom: 40px;
  }
  
  .desc p {
    color: #373838;
  
    font-size: 1.1rem;
  
    line-height: 1.5rem;
  
    margin-bottom: 40px;
  }
  
  .btn-blue {
    color: #fff;
  
    background: #11539d;
  }
  
  .btn-lg-custom {
    padding: 15px 35px;
    font-size: 1.3rem;
  }
  
  .btn-blue:hover {
    color: #fff;
  
    background: #1860b1;
  }
  
  .services {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    background: url(images/services-bg.jpg) no-repeat fixed;
  
    background-size: cover;
  }
  
  .services h3 {
    color: #fff;
  
    padding: 20px 0;
  
    font-weight: 500;
  
    font-size: 2.5rem;
  
    text-align: center;
  
    margin-bottom: 120px;
  
    text-transform: uppercase;
  
    background: url(images/trp.png) repeat;
  }
  
  .serv-box {}
  

  .services2 {
    width: 100%;
  
    float: left;
  
    clear: both;
  }
  
  .services2 h4 {
    color: #000;
  
    margin: 30px 0;
  
    font-weight: 500;
  
    font-size: 1.8rem;
  
    text-align: center;
  
    text-transform: uppercase;
  }
  
  .services2 img {
    width: 100%;
  }
  
  .locations {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    padding: 40px 0;
  
    text-align: center;
  
    background: #4f80b6 url(images/location.png) no-repeat;
  
    background-position: left top;
  }
  
  .locations h5 {
    color: #fff;
  
    font-weight: 500;
  
    font-size: 1.8rem;
  
    margin-bottom: 30px;
  
    text-transform: uppercase;
  }
  
  .locations p {
    color: #fff;
  
    margin-top: 20px;
  
    font-size: 1.2rem;
  
    line-height: 1.7rem;
  }
  
  .locations img {
    border: 1px solid #fff;
  }
  
  .testms {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    padding: 50px 0;
  
    text-align: center;
  }
  
  .testms h6 {
    margin: 40px 0;
  
    font-weight: 500;
  
    font-size: 1.8rem;
  
    text-transform: uppercase;
  
    text-align: center;
  }
  
  .testms p {
    max-width: 880px;
  
    font-size: 1.3rem;
  
    line-height: 1.6rem;
  
    display: block;
  
    text-align: center;
  
    margin: auto;
  }
  
  #carouselTestimonial .carousel-inner {
    display: flex;
  
    align-content: center;
  }
  
  #carouselTestimonial .carousel-control-next-icon,
  #carouselTestimonial .carousel-control-prev-icon {
    color: #ccc;
  }
  
  .fas.fa-angle-left.color-grey,
  .fas.fa-angle-right.color-grey{
  font-size: 2rem;
  }
  
  .footer {
    width: 100%;
  
    float: left;
  
    clear: both;
  }
  
  .fta {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    padding: 30px 0;
  
    background: #11539d;
  }
  
  .fta ul,
  .fta ul li {
    list-style: none;
  
    margin: 0;
  
    padding: 0;
  }
  
  .fta ul li a {
    color: #fff;
  
    font-weight: 300;
  
    font-size: 0.74rem;
  
    text-transform: uppercase;
  }
  
  .fta ul li a:hover {
    text-decoration: underline;
  }
  
  .fta .bgr {
    margin-bottom: 7px;
  }
  
  .fta .bgr a {
    color: #fff;
  
    font-weight: 700;
  
    font-size: 0.79rem;
  
    text-transform: uppercase;
  }
  
  .fta p {
    color: #fff;
  }
  
  .social li {
    padding: 0 4px;
  
    display: inline-block;
  }
  
  .social a:hover {
    opacity: 0.9;
  }
  
  .ftb {
    width: 100%;
  
    float: left;
  
    clear: both;
  
    padding: 15px 0;
  
    text-align: center;
  
    background: #627081;
  }
  
  .ftb p {
    margin: 0;
  
    padding: 0;
  
    color: #cdd1dc;
  
    font-size: 14px;
  }
  
  .ftb a {
    color: inherit;
  }
  
  .ftb a:hover {
    color: inherit;
  
    text-decoration: underline;
  }
  
  .nav-justified .nav-item ul.dropdown-menu li {
    text-align: left;
  }
  
  #breadcrumbs {
    font-size: 70%;
  
    margin: 25px 0 15px;
  
    text-transform: uppercase;
  
    letter-spacing: 1px;
  }
  
  #breadcrumbs a {
    color: inherit;
  }
  
  .widget-area .widget-container {
    padding: 25px;
  
    margin-bottom: 25px;
  
    background: #f2f2f2;
  
    border: 1px solid rgb(0, 0, 0, 0.1);
  }
  
  .widget-area .widget-container .menu-services-container ul {
    list-style: none;
  
    padding: 0;
  
    margin: 0;
  }
  
  .widget-area .widget-container .menu-services-container ul li {
    padding: 5px 0;
  
    border-bottom: 1px solid rgb(0, 0, 0, 0.1);
  
    margin: 0;
  }
  
  .widget-area .widget-container .menu-services-container ul li:last-child {
    border-bottom: 0px solid rgb(0, 0, 0, 0.1);
  }
  
  .widget-area .widget-container .menu-services-container ul li a {
    display: block;
  
    text-transform: uppercase;
  
    font-size: 1rem;
  
    color: #11539d;
  }
  
  .widget-area .widget-container .menu-services-container ul li a:hover,
  .widget-area .widget-container .menu-services-container ul li.current_page_item a {
    color: #000;
  
    text-decoration: none;
  }
  
  .widget-area .widget-container .widget-title {
    display: block;
  
    text-transform: uppercase;
  
    font-size: 1.5rem;
  
    color: #000;
  }
  
  .textwidget {
    font-size: 90%;
  }
  
  .banner-inner {
    height: 40vh;
  
    display: flex;
  
    align-items: flex-end;
  
    margin-bottom: 30px;
  }
  
  .banner-inner.no-image {
    height: 20vh;
  
    background: #7db6d3 !important;
  
    border-bottom: 1px solid #999;
  }
  
  .banner-inner .main-heading {
    color: #fff;
  
    font-size: 60px;
  
    text-transform: uppercase;
  
    text-shadow: 1px 1px 2px #555;
  
  }
  
  .inner-pages {
    line-height: 1.7rem;
  
    margin-bottom: 25px;
  }
  
  .inner-pages img.float-left {
    margin-right: 30px;
    margin-bottom: 0;
  }
  
  .inner-pages img.float-right {
    margin-left: 30px;
    margin-bottom: 0;
  }
  
  .img-border {
    box-shadow: 0 0.1rem 1rem 0 rgba(0, 0, 0, 0.1);
  
    border: 1px solid rgba(0, 0, 0, 0.2);
  }
  
  .staff h3 {
    margin-bottom: 65px;
  
    padding: 25px 0;
  
    border: 1px solid rgba(0, 0, 0, 0.2);
  
    border-right: 0px;
  
    border-left: 0px;
  
    text-align: center;
  
    color: #dc7f23;
  }
  
  .staff h4 {
    margin: 0;
  
    padding: 0;
  
    color: #0c785c;
  }
  
  .staff h5 {
    margin: 0 0 15px 0;
  
    padding: 0;
  
    color: #999;
  
    font-size: 1.1rem;
  
    font-weight: 500;
  }
  
  .staff img{
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
  }
  
  .testimonials-each {
    text-align: center;
    display: block;
    padding: 30px 0;
    border-bottom: 1px solid #f2f2f2;
  }
  
  .testimonials-each hr {
    max-width: 200px;
  }
  
  .navbar-mobile {
    display: none;
  }
  
  ol li,
  ul li {
    margin-top: 0;
  
    margin-bottom: 0.5rem;
  }
  
  .navbar-expand-md .navbar-nav .dropdown-menu {
    margin-top: 0px;
  
    position: absolute;
  
    padding: 0;
  
    border-radius: 0;
  }
  
  .navbar-expand-md .navbar-nav .dropdown-menu li {
    padding: 0;
  }
  
  [data-id="group-career"] {
    width: 100%;
  }
  
  @media (max-width: 1199px) {
    .navi .nav .nav-link {
      font-size: 14px;
    }
  
    .banner {
      height: 50vh;
    }
  
    .banner h2 {
      color: #fff;
  
      font-size: 60px;
  
      text-transform: uppercase;
  
      text-shadow: 1px 1px 2px #555;
  
    
    }
  }
  
  @media (max-width: 992px) {
    .nav li {
      margin: 0;
      padding: 0 20px;
    }
  
    .dropdown-menu {
      margin-top: 15px;
  
      border: 1px #999 solid;
  
      border-radius: 0;
    }
  
    .dropdown-item.active,
    .dropdown-item:active {
      background-color: #999;
    }
  
    .dropdown-menu * {
      border-radius: 0;
    }
  
    .logo img {}
  
    .navi .nav .nav-link,
    .dropdown-menu li a {
      font-size: 14px;
    }
  
    /* .nav li:first-child {
      display: none;
    } */
  
    .menu-top {
      padding: 0;
    }
  
    .menu-top button {
      float: right;
    }
  
    .fta .container>div ul {
      padding: 0;
    }
  
    .fta .container>div {
      text-align: center;
  
      margin-bottom: 15px;
  
      padding-bottom: 15px;
  
      border-bottom: 1px #165dac solid;
    }
  
    .inner-pages img.float-left {
      margin-right: 15px;
  
      max-width: 175px;
    }
  
    .inner-pages img.float-right {
      margin-left: 15px;
      max-width: 175px;
    }
  
    .banner-inner {
      height: 20vh;
    }
  
    .banner-inner .main-heading {
      color: #fff;
  
      font-size: 40px;
  
      text-transform: uppercase;
  
      text-shadow: 1px 1px 2px #555;
  
    
    }
  }
  
  @media screen and (max-width: 991.98px) {
    .logo img {
      max-width: 100px;
    }
  
    .logo {
      float: none;
  
      display: block;
  
      z-index: 99;
    }
  
    .header .align-items-end {
      -ms-flex-align: end !important;
  
      align-items: flex-start !important;
    }
  
    .navbar-mobile {
      display: block;
  
      float: right;
  
      margin-top: -40px;
  
      width: 100%;
  
      z-index: 1;
  
      padding: 0;
    }
  
    .phone p {
      float: right;
  
      color: #dae4e6;
  
      padding-left: 25px;
  
      background: url(images/phone.png) no-repeat;
  
      background-position: left center;
  
      background-size: 18px 18px;
  
      font-size: 80%;
    }
  
    .navbar-toggler {
      text-align: right;
  
      width: 100%;
    }
  
    .navbar-toggler:focus {
      outline: none;
    }
  
    .navi {
      display: none;
  
      visibility: hidden;
    }
  
    .navbar-mobile .navi .nav .nav-link {
      font-size: 18px;
    }
  
    .nav {
      display: block;
  
      width: 100%;
  
      margin-top: 10px;
    }
  
    .nav-justified>li {
      display: block;
  
      width: 100%;
  
      text-align: left;
  
      border-bottom: 1px solid #ddd !important;
  
      border-radius: 4px 4px 0 0 !important;
  
      margin-bottom: 0 !important;
    }
  
    .nav-justified>li>a {
      color: #fff;
    }
  
    .navi .nav .nav-item.active .nav-link,
    .nav .nav-link:hover,
    .nav .show>.nav-link {
      color: #7db6d3;
    }
  
    .nav-justified .nav-item {
      text-align: left;
  
      padding: 5px;
    }
  
    .therapies {
      display: none;
    }
  
    .banner {
      height: 30vh;
    }
  
    .banner h2 {
      font-size: 30px;
    }
  
    .banner-inner .main-heading {
      font-size: 30px;
    }
  
    .banner-inner {
      margin-bottom: 15px;
    }
  
    .desc h2 {
      font-size: 1.5rem;
  
      line-height: 2.3rem;
    }
  
    .desc h2 br {
      display: none;
    }
  
    .desc {
      padding: 30px 0;
    }
  

    .testms h6 {
      font-size: 1.4rem;
    }
  
    .testms p {
      font-size: 1rem;
    }
  
    .entry-title {
      font-size: 1.7rem;
    }
    
    .phone {
      display: block;
      position: absolute;
      top: 15px;
      right: 15px;
    }
  }
  
  
  @media (max-width: 520px) {
    .inner-pages img.float-left {
      max-width: 100%;
      margin-bottom: 15px;
    }
  
    .inner-pages img.float-right {
      margin-left: 0;
      max-width: 100%;
      margin-bottom: 15px;
    }
  }
  
  
  
  
  
  
  @media (max-width: 376px) {
    .phone {
      display: block;
      position: absolute;
      top: 15px;
      right: 15px;
    }
  
    .logo img {
      max-width: 100px;
    }
  
    .navbar-mobile {
      margin-top: -40px;
  
      padding: 0;
    }
  
    .entry-title {
      font-size: 1.5rem;
    }
  }
  
  @media (min-width: 1399px) {
    body {
      font-size: 1.25rem;
    }
  
    .inner-pages {
      line-height: 1.9rem;
    }
  }
  
  .text-primary{
  color: #11539d !important;
  }

.conditions-we-treat{
margin-top: 9rem;
}

  .conditions-we-treat .box{
    position: relative;
    padding-top: 9rem;
  }
  .conditions-we-treat img{
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  
.conditions-we-treat ul{
    list-style-type: disc;
    margin: 0;
  }
  
  .conditions-we-treat .col-md-6 {
    margin-bottom: 9rem;
  }
  
  @media screen and (max-width:767.98px){
  .conditions-we-treat{
      margin-top: 2rem;
  }

  .conditions-we-treat .box{
      padding-top: 15rem;
  }

  .conditions-we-treat img{
      top: 30px;
  }

  .conditions-we-treat .col-md-6 {
      margin-bottom: 4rem;
  }
}

.services .box h3 {
  background: none;
}

.services .box img {
  display: block;
  margin: auto;
  padding: 10px;
}

.services .box h3 {
  font-size: unset;
}