/* Cross-device layout for the public site */
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  height: auto !important;
  min-height: 100%;
  max-width: 100%;
}
body {
  overflow-x: hidden;
}
img,
video,
embed,
object,
iframe {
  max-width: 100%;
}
img {
  height: auto;
}

.site-header-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
}
.site-header-bar .logo {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  padding: 8px 12px 8px 0;
  text-align: left;
}
.site-header-bar .logo img {
  max-height: 70px;
  width: auto;
  display: block;
}
.site-header-bar .menu {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
}
.mnmenu-sec {
  position: relative;
  z-index: 1000;
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 992px) {
  .site-header-bar .menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  #main-menu {
    display: inline-block;
    max-width: 100%;
  }
  #main-menu > ul {
    float: none !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: auto !important;
    margin: 0;
  }
  #main-menu ul > li {
    float: none;
    display: block;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }
  #main-menu ul > li > a {
    padding: 24px 10px;
    font-size: 13px;
    white-space: nowrap;
    line-height: 1.2;
  }
  #main-menu ul ul {
    top: 100%;
  }
}
@media (min-width: 1200px) {
  .site-header-bar .logo img {
    max-height: 80px;
  }
  #main-menu ul > li > a {
    padding: 30px 14px;
    font-size: 14px;
  }
}

.mnmenu-sec .mean-container {
  position: static;
  width: auto !important;
  float: none;
  margin-left: auto;
}
.mnmenu-sec .mean-bar {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: auto !important;
  min-height: 0 !important;
  -webkit-transform: none !important;
  transform: none !important;
  background: transparent;
  float: none !important;
  overflow: visible !important;
  padding: 0;
  pointer-events: none;
}
.mnmenu-sec a.meanmenu-reveal {
  pointer-events: auto;
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  left: auto !important;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: #005fae;
  color: #fff;
  padding: 11px;
  width: 22px;
  height: 22px;
  z-index: 30;
}
.mnmenu-sec .mean-nav {
  pointer-events: auto;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  width: 100% !important;
  margin-top: 0;
  z-index: 9999;
}
.mnmenu-sec .mean-nav ul {
  float: none !important;
  width: 100% !important;
}
.mnmenu-sec .mean-nav ul li {
  float: none !important;
  width: 100% !important;
}
.mnmenu-sec .mean-nav ul li a {
  float: none !important;
  width: auto !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  padding: 14px 48px 14px 20px !important;
}
.mnmenu-sec .mean-nav ul li a.mean-expand {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  line-height: 44px;
  text-align: center;
}

.hd-lft ul,
.hd-rgt ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hd-lft a,
.hd-rgt a {
  color: #fff;
}
@media (max-width: 991px) {
  .site-header-bar {
    min-height: 64px;
    padding: 8px 56px 8px 15px;
  }
  .site-header-bar .logo {
    padding: 4px 0;
  }
  .site-header-bar .logo img {
    max-height: 52px;
  }
  .hd-sec {
    display: block !important;
    padding: 8px 0;
    width: 100%;
  }
  .hd-sec .container,
  .hd-sec .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
  .hd-sec [class*="col-"] {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    float: none;
  }
  .mnmenu-sec a.meanmenu-reveal {
    width: 22px;
    height: 22px;
    padding: 11px;
  }
  .hd-lft li {
    padding: 2px 8px;
    font-size: 12px;
  }
  .sec-title {
    margin: 0 0 28px !important;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .pagehding-sec {
    padding: 28px 0;
    background-size: cover;
  }
}

@media (max-width: 767px) {
  .hd-lft li:first-child {
    display: none;
  }
  .service .media {
    display: block;
  }
  .service .media-left {
    display: block;
    padding: 0 0 10px;
    text-align: left;
  }
  .service .media-body {
    display: block;
    width: 100%;
    overflow: visible;
  }
  .team-member {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }
  .about .btn-read-more {
    display: inline-block;
    margin-top: 8px;
  }
  .about p {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .hd-lft,
  .hd-rgt {
    float: none;
    width: 100%;
    text-align: center;
    margin: 0;
  }
  .hd-lft li {
    width: auto;
    padding: 0 8px;
  }
  .hd-lft li::before {
    display: none;
  }
  .about-photo,
  .about img {
    margin-top: 0 !important;
    width: 100%;
    height: auto;
    display: block;
  }
  .slider-text {
    padding: 0 16px !important;
    top: auto;
    transform: none;
  }
  .slider-text p {
    padding: 0 !important;
  }
  .all-slide .owl-controls .owl-prev,
  .all-slide .owl-controls .owl-next {
    top: 50%;
  }
  .footer-sec .col-md-3,
  .footer-sec .col-sm-6 {
    width: 100%;
    margin-bottom: 24px;
  }
  .footer-bottom-sec .text-left,
  .footer-bottom-sec .text-right,
  .footer-bottom-sec [class*="col-"] {
    text-align: center !important;
    float: none;
  }
  .contact-field .col-md-4,
  .contact-field .col-md-12,
  .contact-person {
    width: 100%;
    padding: 0;
  }
  .single-input-field input,
  .single-input-field textarea,
  .contact-field input,
  .contact-field textarea {
    width: 100%;
    max-width: 100%;
  }
}

.slider,
.all-slide,
.all-slide .owl-wrapper-outer {
  width: 100%;
  overflow: hidden;
}
.all-slide,
.all-slide .owl-item,
.all-slide .single-slide,
.all-slide .slider-content-area {
  height: auto !important;
}
.all-slide .slider-content-area img,
.all-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 991px) {
  .all-slide .slider-content-area img,
  .all-slide img {
    max-height: 240px;
  }
  .all-slide .owl-controls {
    top: 50%;
    transform: translateY(-50%);
  }
}

.service .media {
  margin-bottom: 20px;
}
.service .media-left {
  padding-right: 12px;
}
.team-member {
  max-width: 100%;
}

.footer-sec iframe,
.map-sec iframe,
.footer-wedget-two iframe,
.contact-form-sec iframe {
  width: 100% !important;
  max-width: 100%;
  height: 220px !important;
}

.show-page img,
.abt-img img,
.abt-lft img,
.topic-img img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 480px) {
  .page-heading h1,
  .sec-title h1,
  .sec-title h2 {
    font-size: 22px;
  }
  #main-menu ul > li > a {
    padding: 16px 12px;
  }
}
