/*!
 * IE10 viewport hack for Surface/desktop Windows 8 bug
 * Copyright 2014-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*
 * See the Getting Started docs for more information:
 * http://getbootstrap.com/getting-started/#support-ie10-width
 */
@-ms-viewport     { width: device-width; }
@-o-viewport      { width: device-width; }
@viewport         { width: device-width; }

/* Post CSS */
.home-jt .item { background-position: 50% 20% !important; }

#logo-bar { min-height: 80px !important; }
.top-contact { float: right; position: relative; top: 20px; font-size: 16px; color: #fff; line-height: 0.8; left: -17px; }
.top-contact a { color: #fff; transition: 0.3s; }
.top-contact a:hover { color: #e9872c; transition: 0.3s; }
.top-contact i { font-size: 13px; padding-left: 4px;}
.content { min-height: calc(100vh - 335px); }
.navbar-nav { float: left !important; margin: initial !important; display: initial !important; }
.header-search { right: 0 !important; }
/* Homepage */
.homepage-content .badge { margin-top: 30px; }
.search-category { margin: 10px 0; font-family: "Avenir LT W01_65 Medium1475532"; font-size: 20px !important; color: #8e9193 !important; }
.subpage h1 { margin: 5px 0 !important; }
.search-results h2 { font-size: 18px !important; margin: 10px 0 !important; }
/* Attorney Profiles */
.mobile-profile-img { display: none; }
.panel-tabs { margin-top: 40px !important; }
.panel-tabs li a { line-height: 1.2 !important; font-size: 14px !important; height: 70px !important; border-top: 5px solid #FFF; }
/* Scroll to top function */
.scrollToTop { width: 50px; height: 50px; font-size: 45px; font-weight: bold; color: #fff; background: #003a60; text-align: center; position: fixed; bottom: 80px; right: 20px; z-index: 9999; cursor: pointer; border-radius: 4px; display: none; box-shadow: 0 3px 12px 0 rgba(112, 112, 112 .25); border: 1px solid #e9872c; transition: 0.3s; }
.scrollToTop:hover { background: #e9872c; transition: 0.3s; }
.scrollToTop .fa { position: relative; left: 0; right: 0; top: -15px; font-size: 35px; }
.sidenav-header a {
   color: #fff;
   transition: 0.3s;
}
.sidenav-header a:hover {
   opacity: 0.8;
   text-decoration: none;
   transition: 0.3s;
}
/* Subpage Sidebar */
.side-contact-form .dform_container em { font-size: 13px !important; }

/* Blog */
h1.post-title {
  margin: 20px 0 !important;
}
.faq-block {
    margin: 20px 0 !important;
}
.blog-content > p > a {
    color: blue !important;
    /* font-weight: bold; */
}



/* Layout */
.subpage-content,
.attorney-subpage .attorneys-display { margin-left: 80px !important; }
.ftr-logo { margin-bottom: 20px !important; }
.ftr-office {
  font-size: 12px !important;
  margin-bottom: 15px;  
}
.ftr-office p {
  line-height: 1.0;
}
.ftr-office .loc-title {
  color: #e9872c;
}
.author-name {
  text-decoration: underline;
}
.overlay {
  height: 35% !important;
}
.home-jt .item {
  min-height: 600px !important;
  background-position: 50% 65% !important;
}
.learn-more-btn[href=""] {
  display: none;
}
/* Post Mobile CSS */

@media screen and (max-width:1200px) {
  .navbar-nav li a { font-size: 12px; padding: 10px 11px !important; }
  .dropdown-menu li a { font-size: 12px !important; padding: 10px 20px !important; }
  .header-search { display: none; }
  /* Subpage Main Content */
  .faq-block .faq { padding-right: 30px; }
  /* Attorney Profiles */
  .attorney-info { position: relative; }   
  .n-t-l span h1 { font-size: 24px !important; }
  .e-img-block img { width: 100%; }
  .info-block { margin-left: 0; }
  .n-t-l i { font-size: 18px !important; }
  .info-block span p { font-size: 10px; }
  .panel-tabs { margin-top: 45px; }
  .panel-tabs > li > a { font-size: 14px; width: 157px; line-height: 1.5; min-height: 60px; }
  /* Blog */
  .news-content .post-title { margin: 20px 0 !important; }
}

@media screen and (max-width:991px) {
  .top-contact { display: none; }
  .content { min-height: calc(100vh - 430px) !important; }
  .owl-item .item .overlay { background: none !important; height: 100%; }
  .owl-item .item .inner-text { text-align: center; }
  .owl-item .item .overlay a.learn-more-btn { margin: 0 auto; width: 50%; }
  /* Subpage Main Content */
  .subpage h1 { margin: 5px 15px !important; }
  .subpage-bg-header { min-height: 125px; }
  .subpage .col-md-9 { min-height: initial !important; }
  .subpage-content .col-sm-4 img { margin: 10px 0; }
  /* Attorney Profiles */
  .e-img-block { display: none; }
  .mobile-profile-img { display: block; position: absolute; width: 115px; right: 0; top: 10px; }
  .info-block { width: 100% !important; }
  .attorney-info { padding: 10px 0; margin-right: 15px; }
  .attorney-info .col-sm-4, .emp-desc { padding: 0 !important; font-size: 16px !important; }
  .panel-tabs > li > a:last-child() { border-right: none; }
  .prac-areas { padding-left: 0 !important; padding: 0 15px !important }
  .prac-areas h3 { margin-left: 0 !important; }
  .prac-areas ul li:before { position: initial !important; padding-right: 5px !important; }
  .badges { position: initial !important; padding: 10px 0; }
}

@media screen and (max-width:767px) {
  .homepage-content { margin-top: 25px !important; }
  .navbar-nav { float: initial !important; }
  .dropdown-menu li a { padding: 10px 25px !important; transition: 0.3s; }
  .dropdown-menu li a:hover { color: #fff !important; background: #003a60 !important; transition: 0.3s; }
  .header-search { display: block; }
  .content { min-height: calc(100vh - 235px); } 
  .owl-item .item .inner-text, .homepage-content { font-size: 16px;  }
  .homepage-content { margin-top: 0; padding: 0 15px; }
  .owl-item .item .overlay a.learn-more-btn { width: 70%; }
  /* Subpages */
  .subpage-bg-header h1 { font-size: 18px !important; }
  /* faq blocks */
  .faq-block { padding: 5px 10px !important; }
  /* Attorney Profiles */
  .mobile-profile-img { width: 70px; }
  .attorney-profile-view { padding-top: 5px !important; }
  .e-info-bar, .n-t-l { margin-top: 0 !important; }
  .info-block { padding-right: 0 !important; }
  .n-t-l span h1 { font-size: 18px !important; }
  .n-t-l i { font-size: 16px !important; }
  .panel-tabs { height: 70px; padding: 0 10px; }
  .panel-tabs > li { margin: 2px 0; }
  .panel-tabs > li > a { font-size: 12px;}
  .panel-body { padding: 15px !important; }
  /* Footer */
  .ftr-logo { max-width: 80%; padding: 10px 0; }
  /* Search Results */
  .search-results-subpage .attorney-search img { width: 50%; }
  .search-results-subpage .attorney-search .col-sm-2,
  .search-results-subpage .attorney-search .col-sm-10 { padding: 0; }
  /* Blog */
  .news-content .col-sm-4 { padding-left: 0; }
  .news-content .col-sm-4 img { margin: 20px 0 !important; }
  .dropdown-menu li ul li { background-color: #003a60 !important; }
  .dropdown-menu li ul li a { color: #fff !important; }
  .overlay {
    height: 100% !important;
  }
  .home-jt .item {
    min-height: 250px !important;
    background-position: 50% 65% !important;
   }
   .view-all-posts .col-sm-2 img {
       display: none;
   }
}
.owl-caraousel { 
  animation-duration: 9000ms !important;
}
/* Used for the blog when removing original h1 to use an alternative */
.none {
  display: none;
}
.subpage ul li p {
  margin-bottom: 0;
}
.cat-search-list a:last-child span {
  display: none;
}
.home-header .inner-text a {
  color: #fff;
}

/* Side nav address styles */
.side-nav-locations {
    position: relative;
    top: -115px;
    background: #003a60;
}

/* Payment Portal Button Styles (Header and Footer buttons) */

.payment-header {
    position: absolute;
    right: 36%;
    top: 50px;                        
}               
.payment-header a,
.payment-footer a {
    background: #e9872c;
    color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
    text-decoration: none;
}
.payment-footer a:hover {
    color: #fff;
}
@media (max-width:991px) {
    .payment-header {
        right: 25%;
    }
    .payment-footer {
        top: -15px;
        position: relative;
    }
}
@media (max-width:730px) {
    .payment-header {
          right: 15px;
          top: 50px;
      }
}
