/* Responsive styles
================================================== */

/* Large Devices, Wide Screens */

@media (min-width: 1200px) {
   /* Header */
   .navbar-nav li:hover .dropdown-menu {
      display: block;
   }
   .navbar-collapse {
      padding-right: 0;
   }
   .nav-style-boxed .navbar-collapse {
      padding-left: 15px;
   }
   .header.header-menu .mega-menu-content {
      min-width: 1095px;
      margin-left: -27px;
   }
}

/* Medium Devices, Desktops */

@media (min-width: 992px) and (max-width:1199px) {
   /* Header */
   .navbar-nav li:hover .dropdown-menu {
      display: block;
   }
   ul.navbar-nav>li {
      padding: 0 6px;
   }
   ul.navbar-nav>li>a {
      padding: 0px;
   }
   ul.navbar-nav>li>a,
   .dropdown-menu li a {
      font-size: 12px;
   }
   .header.header-menu .mega-menu-content {
      min-width: 1095px;
      margin-left: -11px;
   }
   /* Projects */
   .project-item-title {
      font-size: 18px;
   }
   /* Clients */
   .clients-logo {
      margin-bottom: 20px;
   }
   /* Subscribe */
   .newsletter-form input {
      min-width: 340px;
   }
   /* Action box */
   .action-box-text {
      font-size: 13px;
   }
   /* Footer */
   .footer-social ul li {
      margin: 0 3px 0 0;
   }
   .footer-menu {
      float: none;
   }
   #back-to-top.affix {
      bottom: 35px;
   }
   #back-to-top {
      right: 15px;
   }
   .mega-menu-content {
      max-width: 930px;
   }
}

/* Small Devices, Tablets */

@media (min-width: 768px) and (max-width: 991px) {
   /* top info */
   ul.top-info li {
      padding-right: 12px;
   }
   /* Header */
   .navbar-fixed {
      position: relative;
      animation: none;
      box-shadow: none;
   }
   .logo {
      padding: 13px 0 26px;
   }
   .logo img {
      height: 40px;
   }
   /* Navigation breakpoint */
   .navbar-toggler {
      margin-left: 10px;
   }
   .navbar-collapse.collapse.show {
      display: block;
   }
   ul.navbar-nav {
      /* float: none !important; */
      margin-top: 7.5px;
   }
   ul.navbar-nav>li {
      float: none;
      display: block;
   }
   .collapse.in {
      display: block !important;
   }
   .navbar-collapse.in {
      overflow-y: auto;
   }
   ul.nav li.dropdown:hover ul.dropdown-menu {
      display: none;
   }
   ul.nav li.dropdown.open ul.dropdown-menu {
      display: block;
   }
   .navbar-nav .open .dropdown-menu {
      position: static;
      float: none;
      width: auto;
      margin-top: 0;
      background-color: transparent;
      border: 0;
      -webkit-box-shadow: none;
      box-shadow: none;
   }
   /* Navigation */
   .navbar-collapse {
      background: none;
      width: 100%;
   }
   ul.navbar-nav>li:hover>a:after,
   ul.navbar-nav>li.active>a:after {
      content: '';
   }
   ul.navbar-nav>li>a:before {
      border-bottom: 0;
   }
   .navbar-nav .open .dropdown-menu>li {
      padding-left: 0;
   }
   .navbar-nav .open .dropdown-menu>li>a,
   .navbar-nav .open .dropdown-menu .dropdown-header {
      padding: 5px 15px 10px 10px;
   }
   ul.navbar-nav>li,
   .nav-style-boxed ul.navbar-nav>li {
      display: block;
   }
   .navbar-nav .open .dropdown-menu>li>a {
      line-height: 30px;
   }
   ul.navbar-nav>li.nav-search,
   ul.navbar-nav>li.header-get-a-quote {
      display: none;
   }
   ul.navbar-nav {
      padding: 0 0 10px;
   }
   ul.navbar-nav li {
      float: none;
   }
   ul.navbar-nav li a {
      line-height: normal !important;
      color: #fff;
      padding: 10px 0;
      display: block;
      min-width: 350px;
   }
   ul.navbar-nav>.nav-item>.nav-link {
      border-bottom: 1px solid #333 !important;
      padding: 10px 10px;
   }
   ul.navbar-nav .dropdown-menu {
      float: none;
      position: relative;
      border: 0;
      margin: 0;
      padding: 0;
   }
   ul.navbar-nav .dropdown-menu li a {
      padding-left: 20px !important;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu {
      left: 0;
      position: relative;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu a {
      padding-left: 50px;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu a i {
      margin-top: -22px;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu li a {
      padding-left: 35px !important;
   }
   ul.navbar-nav .dropdown-menu {
      box-shadow: none;
      border-top: 0;
      background: none;
   }
   ul.navbar-nav li a i,
   .dropdown-submenu>a:after {
      background: #f5f5f5;
      float: right;
      width: 36px;
      height: 28px;
      line-height: 28px;
      margin-top: -5px;
      text-align: center;
      color: #000;
   }
   .dropdown-submenu>a:after {
      margin-right: 0;
   }
   .navbar-nav>li>.dropdown-menu.mega-menu-content {
      display: none !important;
   }
   .nav-search {
      top: 15px;
   }
   /* Featured area */
   .featured-post-area .pad-r {
      padding-right: 15px;
   }
   .featured-post-area .pad-l {
      padding-left: 15px;
   }
   /* Trending News */
   .post-overaly-style.text-center .post-content {
      transform: translateX(-50%);
      left: 50%;
      padding-left: 0;
      padding-right: 0;
   }
   /* Sidebar */
   .sidebar-right {
      margin-top: 50px;
   }
   .sidebar-right .widget {
      margin-left: 0;
   }
   .block.color-aqua,
   .block.color-violet {
      margin-top: 40px;
   }
   /* Footer */
   .footer-widget {
      display: inline-block;
      margin-bottom: 30px;
   }
   .newsletter-form input {
      width: 90%;
   }
   .footer-info-content {
      margin-bottom: 20px;
   }
   #back-to-top.affix {
      bottom: 78px;
   }
   /* Copyright */
   .copyright {
      text-align: center;
   }
   .copyright .footer-menu {
      float: none;
      text-align: center;
   }
   .copyright .nav {
      display: inline-block
   }
   /* Home 2 */
   .main-nav.nav-border ul.navbar-nav li a {
      color: #333;
   }

   /* Boxed Layout */
   .boxed-layout .body-inner {
      margin: 0 auto;
   }
}

/* Small Devices Potrait */

@media (max-width: 767px) {
   .boxed-layout .body-inner {
      margin: 0 auto;
   }
   /* Top bar */
   .ts-date {
      padding: 0;
      border-right: 0;
      display: block;
   }
   .top-nav {
      display: block;
      margin: 10px 0;
   }
   .top-bar {
      text-align: center;
   }
   .top-social {
      float: none;
      text-align: center;
      display: inline-block;
   }
   .topbar-info {
      text-align: center;
   }
   /* Header */
   .navbar-fixed {
      position: relative;
      animation: none;
      box-shadow: none;
   }
   .logo {
      padding: 13px 0 25px;
      text-align: center;
   }
   .logo img {
      height: 40px;
   }
   /* Navigation breakpoint */
   .navbar-toggler {
      margin-left: 15px;
   }
   .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
   }
   .navbar-collapse.collapse.show {
      display: block;
   }
   .navbar-collapse.collapse:after {
      display: block;
      content: "";
      clear: both;
   }
   .navbar-collapse,
   .site-nav-inner {
      background: none;
      width: 100%;
   }
   ul.navbar-nav>li:hover>a:after,
   ul.navbar-nav>li.active>a:after {
      content: '';
   }
   ul.navbar-nav>li>a:before {
      border-bottom: 0;
   }
   .navbar-nav .open .dropdown-menu>li>a,
   .navbar-nav .open .dropdown-menu .dropdown-header {
      padding: 10px 15px 10px 10px;
   }
   ul.navbar-nav>li {
      display: block;
   }
   .navbar-nav .open .dropdown-menu>li>a {
      line-height: 30px;
   }
   ul.navbar-nav>li.nav-search,
   ul.navbar-nav>li.header-get-a-quote {
      display: none;
   }
   ul.navbar-nav {
      width: 100%;
      padding: 0 0 10px;
   }
   ul.navbar-nav>li {
      float: none;
   }
   ul.navbar-nav li a {
      line-height: normal !important;
      color: #fff;
      border-bottom: 1px solid #333 !important;
      padding: 10px 0;
      display: block;
   }
   ul.navbar-nav .dropdown-menu>li>a {
      padding-left: 15px;
   }
   ul.navbar-nav .dropdown-menu {
      float: none;
      position: relative;
      border: 0;
      margin: 0;
      padding: 0;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu {
      left: 0;
      position: relative;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu a i {
      margin-top: -22px;
   }
   ul.navbar-nav li.dropdown ul.dropdown-menu li.dropdown-submenu .dropdown-menu li a {
      padding-left: 20px
   }
   ul.navbar-nav .dropdown-menu {
      box-shadow: none;
      border-top: 0;
      background: none;
      padding-left: 15px;
      padding-right: 15px;
   }
   ul.navbar-nav li a i,
   .dropdown-submenu>a:after {
      background: #f5f5f5;
      color: #333;
      float: right;
      width: 36px;
      height: 28px;
      line-height: 28px;
      margin-top: -5px;
      text-align: center;
   }
   .dropdown-submenu>a:after {
      margin-right: 0;
   }
   .navbar-nav>li>.dropdown-menu.mega-menu-content {
      display: none !important;
   }
   ul.navbar-nav>.nav-item>.nav-link {
      display: block;
      padding: 16px 12px;
      color: #fff;
   }
   /* Dart bg */
   .main-nav.dark-bg {
      margin-bottom: 20px;
   }
   .main-nav.dark-bg>.container>.row {
      padding: 0 20px;
   }
   .main-nav.dark-bg ul.navbar-nav>li.active,
   .main-nav.dark-bg ul.navbar-nav>li:hover {
      background: none;
   }
   .main-nav.dark-bg ul.navbar-nav li a {
      color: #fff;
   }
   /* Search */
   .nav-search {
      position: absolute;
      top: 15px;
      right: 20px;
   }
   .search-block {
      width: 220px;
   }
   .header.header-menu {
      position: relative;
      margin-bottom: 20px;
   }
   .search-area {
      position: absolute;
      right: 0;
      top: 50px;
   }
   /* Featured area */
   .featured-post-area .pad-r,
   .pad-r-small {
      padding-right: 15px;
      padding-right: 15px;
   }
   .featured-post-area .pad-l,
   .pad-l-small {
      padding-left: 15px;
   }
   .post-title {
      font-size: 18px;
      line-height: 26px;
   }
   /* Block */
   .block.color-orange .post-overaly-style.last {
      margin-top: 40px;
   }
   .video-tab .nav-tabs>li>a .post-thumb {
      float: none;
   }
   /* Sidebar */
   .sidebar-right {
      margin-top: 50px;
   }
   .sidebar-right .widget {
      margin-left: 0;
   }
   .block.color-aqua,
   .block.color-violet {
      margin-top: 40px;
   }
   .social-icon li a i {
      margin-bottom: 10px;
   }
   .post-block-style.post-float-half .post-thumb img {
      max-width: 100%;
      min-height: 100%;
      margin-bottom: 20px;
   }
   /* Footer */
   .footer-widget {
      display: inline-block;
      margin-bottom: 30px;
   }
   .newsletter-form input {
      width: 90%;
   }
   .footer-info-content {
      padding: 50px 20px 0;
   }
   .footer-social li a i {
      margin-bottom: 10px;
   }
   #back-to-top.affix {
      bottom: 78px;
   }
   /* Copyright */
   .copyright-info {
      text-align: center;
   }
   .footer-menu {
      float: none;
      text-align: center;
   }
   .footer-menu .nav {
      display: inline-block;
   }
   #back-to-top {
      bottom: 0;
      right: 20px;
   }
   /* Block title */
   .block-title {
      font-size: 11px;
   }
   .block-title>span {
      padding: 9px 10px;
   }
   .featured-tab .nav-tabs>li>a {
      font-size: 12px;
   }
   /* Category style */
   .category-style2 .post-thumb {
      margin-bottom: 20px;
   }
}

/* Extra Small Devices, Phones */

@media (max-width: 479px) {}

/* Custom, iPhone Retina */

@media (max-width: 320px) and (max-width: 478px) {}