/* Disable on iOS devices */
@supports (-webkit-touch-callout: none) {
  .parallax {
    background-attachment: scroll !important;
  }
}
@media (min-width: 1200px) {
  body.boxed .site-header {
    width: 1200px;
    left: 50%;
    margin-left: -600px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .site-header .container, .main-navigation .container, .quote-teaser .container, .topbar .container {
    width: 100%;
  }
  .dd-menu > li {
    margin-right: 25px;
  }
  .site-header-right .dd-menu > li {
    margin-left: 20px;
  }
  .feature-text a {
    font-size: inherit;
  }
  .feature-block h5 {
    font-size: 16px;
  }
}
@media (min-width: 993px) and (max-width: 1101px) {
  .site-logo {
    width: 180px;
  }
  .site-logo img {
    margin-top: 15px;
  }
  .site-header-right .dd-menu > li {
    margin-left: 15px;
  }
}
@media only screen and (max-width: 992px) {
  .site-header .container, .main-navigation .container, .topbar .container {
    width: 100%;
  }
  #contact-info {
    float: right;
    display: inline-block;
    font-size: 24px;
    line-height: 24px;
    margin-top: 7px;
    border: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #menu-toggle, .book-toggle {
    display: inline-block;
    float: right;
    margin-top: 31px;
    margin-right: 5px;
  }
  .site-header-right {
    float: left;
    width: 100%;
    display: none;
  }
  .header-info-cols {
    float: none;
    text-align: center;
  }
  .header-info-cols li {
    padding-bottom: 15px;
    text-align: left;
    float: none;
    display: inline-block;
    margin: 0 10px;
  }
  .header-style2 .header-info-cols li {
    padding-bottom: 0;
  }
  .header-style2 .site-header-right {
    display: block;
    position: relative;
  }
  .header-style2 .site-header > .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    position: static;
  }
  .main-navigation .container {
    position: static;
  }
  .dd-menu {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    margin: 0;
  }
  .dd-menu > li {
    width: 100%;
    float: none;
    display: block;
  }
  .dd-menu > li > a {
    color: #fff;
    line-height: 20px;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .dd-menu > li.megamenu {
    position: static !important;
  }
  .dd-menu > li ul, .dd-menu > li > ul li ul {
    position: static;
  }
  .dd-menu > li ul {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  .dd-menu .megamenu-container .megamenu-sub-title {
    margin-top: 30px;
  }
  .site-header-right .dd-menu > li {
    margin-left: 0;
  }
  .site-header-right .dd-menu > li > a {
    line-height: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .footer_widget {
    margin-bottom: 40px;
  }
  .site-footer {
    padding-bottom: 20px;
  }
  .page-header {
    padding: 30px 0;
  }
  .feature-text {
    margin-bottom: 20px;
  }
  .text_banner {
    margin-top: -40px;
  }
  .cta h2 {
    margin: 0 0 30px 0;
  }
  .cta i {
    text-align: center;
  }
  .cta p {
    text-align: center;
  }
  .hidden-sm {
    display: none !important;
  }
}
@media only screen and (max-width: 991px) {
  .cta h2 {
    text-align: center;
  }
  .feature-block h5 {
    font-size: 18px;
  }
}
@media only screen and (max-width: 767px) {
  .site-logo {
    width: 270px;
    padding: 5px;
  }
  .site-logo:after {
    border-bottom-width: 94px;
  }
  .site-header {
    min-height: 0;
  }
  #contact-info {
    font-size: 24px;
    line-height: 24px;
    margin-top: 10px;
    border: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #contact-info:active {
    background: none;
    color: #3a3a3a;
  }
  .header-style2 #contact-info:hover {
    color: #fff;
  }
  .topbar .header-info-cols {
    width: 100%;
    display: block;
  }
  .topbar {
    text-align: center;
    padding: 5px 0;
  }
  .topbar .topbar-text {
    line-height: 22px;
    padding-bottom: 10px;
  }
  .social-icons {
    margin: 0;
  }
  .feature-block {
    margin-top: 30px;
  }
  .parallax br {
    content: " ";
    display: none;
  }
  .parallax {
    padding-left: 20px;
    padding-right: 20px;
  }
  .owl-carousel .blog-list-item .row {
    margin-left: 0;
    margin-right: 0;
  }
  .owl-carousel .blog-list-item {
    padding: 0;
    padding-bottom: 20px;
    padding-top: 15px;
  }
  .owl-carousel .blog-list-item .blog-item-info {
    padding-left: 0;
  }
  .owl-carousel .blog-list-item {
    margin-bottom: 0;
  }
  .footer_widget img {
    margin: 0 auto !important;
  }
  h4.h1, .site-footer, .copyrights-col-left, .copyrights-col-right {
    text-align: center;
  }
  .copyrights-col-left {
    margin-bottom: 20px;
  }
  .copyrights-col-right .social-icons-rounded {
    float: none !important;
  }
  .project-list-item .media-box, .blog-list-item .media-box {
    margin-bottom: 20px;
  }
  .flex-caption-text h2 {
    font-size: 24px;
    line-height: normal;
  }
  .page-header {
    padding: 20px 0;
  }
  .page-header h1 {
    font-size: 20px;
    text-align: center;
    float: none;
  }
  .page-header .breadcrumb {
    font-size: 14px;
    padding: 10px 0 0;
    float: none;
    text-align: center;
  }
  .breadcrumb > li + li:before {
    padding: 0 1px;
  }
  .align-left {
    float: none;
    margin: 0 auto !important;
  }
}
@media only screen and (max-width: 480px) {
  .site-logo {
    width: 225px;
  }
  .site-logo::after {
    border-bottom-width: 60px;
  }
  .header-style2 #contact-info {
    margin-top: 7px;
  }
  .header-style2 #menu-toggle, .book-toggle {
    margin-top: 25px;
  }
  .social-icons-rounded, .social-icons {
    text-align: center;
  }
	.home-banner-img .stacked-title {
  font-size: 42px;
  line-height: .9em;
}
}
@media only screen and (max-width: 391px) {
  .site-logo {
    width: 100%;
  }
  .site-logo img {
    width: 225px;
  }
  .is-sticky .site-header .site-logo {
    display: none;
  }
  .header-style2 #menu-toggle, .book-toggle {
    margin: 5px;
  }
  .book-toggle {
    width: 74%;
  }
}
/* =========================================================
   MOBILE / TABLET MEGA MENU
   CONDITIONS STAYS CLOSED UNTIL CLICKED
========================================================= */

@media only screen and (max-width: 992px) {

  /* Parent menu item */
  .dd-menu > li.has-mega-menu {
    position: relative !important;
  }


  /* =====================================================
     WHITE MEGA MENU
     HIDDEN BY DEFAULT
  ===================================================== */

  .dd-menu > li.has-mega-menu > .mega-menu {
    position: static !important;

    display: none !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 20px !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    background: #fff !important;

    border: 0 !important;
    box-shadow: none !important;

    z-index: auto !important;
  }


  /* =====================================================
     ONLY SHOW AFTER CONDITIONS IS CLICKED
  ===================================================== */

  .dd-menu > li.has-mega-menu.mega-open > .mega-menu {
    display: block !important;
  }


  /* =====================================================
     REMOVE DESKTOP HOVER BEHAVIOR ON MOBILE
  ===================================================== */

  .dd-menu > li.has-mega-menu:hover > .mega-menu,
  .dd-menu > li.has-mega-menu:focus-within > .mega-menu {
    display: none !important;
  }

  .dd-menu > li.has-mega-menu.mega-open:hover > .mega-menu,
  .dd-menu > li.has-mega-menu.mega-open:focus-within > .mega-menu {
    display: block !important;
  }


  /* =====================================================
     MEGA MENU ROW
     1 COLUMN ON MOBILE
  ===================================================== */

  .dd-menu > li.has-mega-menu
    > .mega-menu
    > ul.mega-menu-row {

    position: static !important;

    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
  }


  /* =====================================================
     EACH SECTION
  ===================================================== */

  .dd-menu > li.has-mega-menu
    > .mega-menu
    > ul.mega-menu-row
    > li.mega-menu-col {

    position: static !important;

    display: block !important;
    float: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 15px 0 !important;

    border-right: 0 !important;
    border-bottom: 1px solid #ddd !important;
  }


  .dd-menu > li.has-mega-menu
    > .mega-menu
    > ul.mega-menu-row
    > li.mega-menu-col:last-child {

    border-bottom: 0 !important;
  }


  /* =====================================================
     RESET INNER UL
  ===================================================== */

  .dd-menu > li.has-mega-menu .mega-menu ul {
    position: static !important;

    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;
  }


  /* =====================================================
     TITLES
  ===================================================== */

  .dd-menu .mega-menu-title {
    margin: 0 0 10px !important;
  }

  .dd-menu .mega-menu-title > a {
    display: block !important;

    padding: 0 0 10px !important;

    color: #222 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid #ddd !important;
  }


  /* =====================================================
     CONDITION LINKS
  ===================================================== */

  .dd-menu .mega-menu-col
    > ul
    > li:not(.mega-menu-title)
    > a {

    display: block !important;

    width: 100% !important;

    padding: 9px 0 !important;

    color: #222 !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid #eee !important;

    white-space: normal !important;
  }


  /* =====================================================
     CONDITIONS ROW
  ===================================================== */

  .dd-menu > li.has-mega-menu > a {
    position: relative !important;

    padding-right: 50px !important;
  }


  /* Existing Font Awesome arrow */
  .dd-menu > li.has-mega-menu > a > i.fa-angle-down {
    position: absolute;

    top: 50%;
    right: 25px;

    margin: 0 !important;

    transform: translateY(-50%);

    transition: transform 0.2s ease;
  }


  /* Rotate arrow when open */
  .dd-menu > li.has-mega-menu.mega-open
    > a
    > i.fa-angle-down {

    transform:
      translateY(-50%)
      rotate(180deg);
  }

}
